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
ICU stays seem to include other ward transfers #978
Comments
I guess here's an example of what puzzles me. I was looking at |
Hi everyone! I stumbled upon the same issue. Since I want to predict ICU readmissions for patients that were discharged to a lower level of care or home, this is critical for me. Just to add another (simplified) example for subject_id = 10002428
Expected entries in icustays:
Given entries in icustays:
Just as @JHLiu7 mentioned the transfer to the medical ward between two ICU stays is included, but the stay at the end is not. I found another artifact, where no entry is created in icustays at all. Consider the transfers for hadm_id=20009330. After the ED the patient is first admitted to Neuro SICU for only a couple of minutes, which might be the reason for ignoring it. However, the subsequent stay at MICU lasts for days and there is no corresponding entry in icustays. Is the code for generating icustays from the transfers table available somewhere? |
Thank you for raising this issue @JHLiu7 and sorry I didn't respond in a timely manner. Thanks also @stefanhgm for the clear follow up. As mentioned in MIT-LCP/mimic-iv#11, there was a change between MIMIC-III and MIMIC-IV in the definition of an |
Thanks for the quick follow-up and the detailed explanation.
|
Yes! Same issue.
Not publicly but I'll describe the rough process in the new release.
Just being reviewed at PhysioNet - so pretty soon (within the month). Trying to clean up a few of the other issues around transfers/admissions/icustays being a little bit inconsistent. |
This is now fixed in MIMIC-IV v1.0: https://mimic-iv.mit.edu/docs/overview/changelog/#mimic-iv-v10 For example the select * from mimic_core.transfers where hadm_id = 28662225 order by intime
... is now properly associated with two ICU stays: select * from mimic_icu.icustays where hadm_id = 28662225 order by intime
Note the |
Hi there! I have another question regarding the
icustays
table in MIMIC-IV in the context of ICU readmission.When looking at hospital admissions with multiple ICU stays (ordered by
intime
), I noticed that theintime
of everystay_id
(starting from the second) is equal to theouttime
of its priorstay_id
within the samehadm_id
group. This feels like it means a direct transfer from one ICU to another ICU. But when checking out the similar scenario in MIMIC-III, none of the >3k admissions that I found with multiple ICU stays has them concatenated with each other.I wonder if that implies a different derivation strategy or definition for
stay_id
based ontransfers
in MIMIC-IV compared to MIMIC-III (icustay_id
), or if it's just the difference in data. Thank you so much!The text was updated successfully, but these errors were encountered: