Hi Everyone,
I am extracting relevant information from a radiology dictation database and have been trying to extract the DOB of individuals. This is what I am currently trying:
gen age = regexs(0) if (regexm(ImpressionLow, "[0-00][\-][year][\-][old]")
As you can see I am looking for ages listed as "12-year-old" etc. Can anyone help me out!? Also, this forum is unbelievably helpful. Thank you all for taking the time to help us beginners out!
I am extracting relevant information from a radiology dictation database and have been trying to extract the DOB of individuals. This is what I am currently trying:
gen age = regexs(0) if (regexm(ImpressionLow, "[0-00][\-][year][\-][old]")
As you can see I am looking for ages listed as "12-year-old" etc. Can anyone help me out!? Also, this forum is unbelievably helpful. Thank you all for taking the time to help us beginners out!
Comment