Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dod field in patient table are all blank? #975

Closed
jinjinzhou opened this issue Dec 2, 2020 · 8 comments
Closed

dod field in patient table are all blank? #975

jinjinzhou opened this issue Dec 2, 2020 · 8 comments

Comments

@jinjinzhou
Copy link

Is it intended to be missing?

@alistairewj
Copy link
Member

Certainly not!

@jinjinzhou
Copy link
Author

But when I queried in GCP BigQuery (see below) it shows "This query returned no results." And when I open patients table in core folder, dod field are all blank.

SELECT *
FROM physionet-data.mimic_core.patients
where dod IS NOT NULL;

@alistairewj
Copy link
Member

Yes sorry I went off to investigate after seeing this :) You are right about it being all blank and this is a bug.

We've dropped our old source of date of death (the social security death master file), and it looks like I haven't updated the code to reflect this. For now, you can use the earliest deathtime in the admissions table. The patient's dod will be derived from this in the next version.

@jinjinzhou
Copy link
Author

I see. Thanks.

@hidoyebi
Copy link

Hello. Can I ask you a question here?

For now, you can use the earliest deathtime in the admissions table.

What is the meaning of the earliest deathtime? Could you tell me more detail about deathtime?

@alistairewj
Copy link
Member

Sometimes there are organ donor accounts (very rare as we try to remove them) - but in those cases there may be two hadm_id for the same subject and the earlier one was their date of death.

Info on deathtime is on the docs: https://mimic-iv.mit.edu/docs/datasets/core/admissions/

@hidoyebi
Copy link

Thank you so much :)

@alistairewj
Copy link
Member

In MIMIC-IV v1.0, dod is now populated using deathtime from the admissions table. https://mimic-iv.mit.edu/docs/overview/changelog/#mimic-iv-v10

@briangow briangow transferred this issue from MIT-LCP/mimic-iv May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants