Skip to content

Merging hosp/labevents with core/patients on subject_id  #1127

@tchang1997

Description

@tchang1997

Prerequisites

Description

Hi all,

I'm on MIMICIV-v1.0, trying to link demographic data to lab results.

I was attempting to link the labevents table with lab orders and results to patient demographic data, as stored in the core "patients" table, merging on the subject_id attribute. However, upon closer inspection, the subject_id values in the labevents table do not match up with the subject_id values in the core "patients" table.

I tried switching to hadm_id, but found that the values for that column in the labevents table were all NaNs.

Is there a better way to link demographic information to lab results? Maybe there's an issue with my downloaded version?

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