MIMIC III Heparin continuous infusion start and endtime #1610
Answered
by
alistairewj
heisenbug-1
asked this question in
MIMIC-III
Replies: 1 comment 2 replies
-
This was actually why we ended up with inputevents_cv and inputevents_mv in
MIMIC-III.
In CareVue, the data are documented usually hourly. Effectively the nurse
validates the amount received. Separately, the nurse can document the rate.
You run into a lot of situations where the documented rate doesn't match
the amount, and then you read the nursing note and determine it was because
the heparin was paused for an hour, but you assumed it kept going because
they only documented the rate every 2 hours. It made it impossible to
determine a start and end time without making some assumptions that would
alter the data, which is against our approach to releasing MIMIC (believe
me I did try to make the data more consistent).
Your best bet is to look at the series of vasopressor queries I wrote in
the MIMIC-III durations folder. The dose queries merge the dosing of
vasopressor across CareVue / MetaVision, which you could effectively adapt
to merge the doses across MIMIC-III / MIMIC-IV. The general pattern is that
they infer a start/stop time based on the rates documented in inputevents,
and accounting for some common quirks (e.g. nurses would set rates to 0 for
many hours if they wanted to stop the medication, but avoid having to
re-enter a lot of information when the medication was restarted). It should
be adaptable for heparin. If you get it to work you are welcome to put in a
PR!
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
heisenbug-1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I apologize in advance if this question has already been asked.
I extracted patient data from MIMIC-IV, and it was quite straightforward.
Now, I need to extract some data from MIMIC-III, and this is where i'm stuck.
I need all data regarding patients that received heparin some of which was administered intravenously, especially:
I'm working with the CareVue subset (that does not include records from MIMIC-IV)
I started with
There are also other items that refer to heparin, but let's limit my search to 30025 for now.
My question is, how do I extract start and end times for infusions? In the inputevents table in MIMIC-IV there were dedicated columns for start and end timestamps, but the MIMIC_III inputevents_cv table only contains the charttime. Also, is there a way to group the rows that refer to the same event together?
Beta Was this translation helpful? Give feedback.
All reactions