-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Prerequisites
- [ X] Put an X between the brackets on this line if you have done all of the following:
- Checked the online documentation: https://mimic.mit.edu/
- Checked that your issue isn't already addressed: https://github.com/MIT-LCP/mimic-code/issues?utf8=%E2%9C%93&q=
Description
Hello,
I get confused about how a blood gas sample is classified as an arterial blood gas sample in mimic iv database.
In mimic_derived, there's a script, bg.sql, that defines mimic_derived.bg table containing specimen field supposed to designate the nature of the blood gas sample, wether it is arterial or not.
This field is actually always null in mimic_derived.bg table.
According to bg.sql, specimen field corresponds to labevents records with itemid equal to 52028.
But strangely, the label associated to itemid in d_labitems is Hematocrit, and actually there's not a single labevents record with itemid equal to 52028.
In bg.sql,
specimen_pred is set to specimen if not null,
else set to 'ART.' if specimen_prob>0,75
else it is null.
As specimen is always null,
finally specimen_pred is only set to 'ART.' if specimen_prob>0,75, else null.
Finally mimic_derived.first_day_bg_art is defined out of mimic_derived.bg table where specimen_pred is equal to 'ART.'
As a consequence, all recordings defined as arterial blood gas in first_day_bg_art actually rely on a probability computation specimen_prob and never on specimen tagged as 'ART.' before being sent to the laboratory for analysis.
If someone has an explanation about that, I'd greatly appreciate it.
Thanks