Skip to content

Conversation

@ajb5d
Copy link
Contributor

@ajb5d ajb5d commented Apr 20, 2022

Create a new view with code status orders for MIMIC-IV data:

  • Started with mimic-iii/concepts/code_status.sql
  • Changed icustay_id references to stay_id
  • Removed carevue specific itemid and logic (DNCPR)

@alistairewj alistairewj merged commit 87f3a02 into MIT-LCP:main Mar 24, 2023
@alistairewj
Copy link
Member

Thanks - I changed it from first/last/max to just time/code status, which is more consistent with the MIMIC-IV style of views. Very easy for everyone to grab the first/last row per patient this way.

I also added in code status from the poe table, which is a new addition in MIMIC-IV. These are hospital wide orders, so code status changes from outside the ICU should now be incorporated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants