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

MIMIC-IV ED Patient Demographics

Open divyashan opened this issue 3 years ago • 3 comments

Prerequisites

* [X] Checked the online documentation: https://mimic.mit.edu/
* [X]  Checked that your issue isn't already addressed: https://github.com/MIT-LCP/mimic-code/issues?utf8=%E2%9C%93&q=

Description

I'm interested in finding the ethnicity variable for patients in the ED data and I'm not sure I'm doing this correctly.

I merged the admissions table (from MIMIC-IV) with the diagnoses table (from MIMIC-IV ED) on subject_id. I did this based on this line in the documentation: "Note that subject_id can be linked with MIMIC-IV to obtain patient demographics". I find that ~half the patients in the diagnoses table exist in the admissions table.

It seems natural that since not all patients in the ED are hospitalized, their demographic information may not be in the admissions table. Is there anywhere else I could find patient demographic info for patients who were not hospitalized?

divyashan avatar Jun 09 '21 17:06 divyashan

Hrm, didn't anticipate that. There's no other source of it. We'll probably need to add it to the ED database somewhere.

alistairewj avatar Jun 17 '21 18:06 alistairewj

Do you have a sense for when these variables would be available? Totally okay if not, was just curious.

divyashan avatar Jul 08 '21 17:07 divyashan

Not at the moment, sorry!

alistairewj avatar Jul 19 '21 14:07 alistairewj

(Closing this issue since the ED admission demographics are included in the edstays table in the new release of MIMIC-IV. Thanks @alistairewj!)

divyashan avatar Mar 04 '23 22:03 divyashan