Skip to content

Question about how a blood gas sample is defined as arterial #1161

@snowgato

Description

@snowgato

Prerequisites

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions