eicu-code icon indicating copy to clipboard operation
eicu-code copied to clipboard

Finding Pregnant Women in the dataset

Open isaacopix opened this issue 2 years ago • 2 comments

Hello,

How can I find pregnant women in the dataset? Which table and variable can I use to get this group?

isaacopix avatar Nov 22 '22 07:11 isaacopix

I don't think there is a specific table or variable. Context will be important, as there are like post-labour patients in here that you may or may not want.

I found some in the diagnosis table:

select diagnosisstring, count(diagnosisstring) as count  from diagnosis where diagnosisstring ilike '%preg%' group by diagnosisstring ORDER by c DESC;
diagnosisstring count
surgery|obstetrics|pregnancy 243
surgery|obstetrics|pre-eclampsia/ eclampsia|pregnancy induced hypertension 42
surgery|obstetrics|vaginal hemorrhage|not pregnancy related 32
surgery|obstetrics|ectopic pregnancy|with rupture 24
gastrointestinal|hepatic disease|hepatic dysfunction|pregnancy related 17
cardiovascular|ventricular disorders|cardiomyopathy|peri-partum|during pregnancy 14
hematology|bleeding and red blood cell disorders|anemia|relative anemia, including anemia of pregnancy 10

....and more

I would also look in the pasthistory table.

jraffa avatar Nov 23 '22 17:11 jraffa

Thanks this might work!

Initially, I was thinking of using the icd9code in the diagnosis table to identify pregnant women but could not get the pregnancy codes associated with pregnancy such as Z33, O009-09A in the demo database.

isaacopix avatar Dec 01 '22 15:12 isaacopix