Open theonesp opened 2 years ago
broken link
bolusdrugs -> inputevents_or
infusiondrugs -> d_items _Each unique label and dose has its own itemid
infusiondrugs -> inputevents_or
combo -> caregivers
On mimic_or_phi.caregivers
caregivers.cgid Auto Increment id Associated with each provider.
caregivers.description EMPTY
From combo to caregivers
text."Label" = 'Medical Record #' THEN text."Text" -> caregivers.mrn
deidentified(text."Label" = 'Medical Record #' THEN text."Text") -> caregivers.subject_id
combo."Case_Name" -> caregivers.orstay_id
combo."Time" -> when the provider info was stored, is this relevant?
combo."ItemID" NOT USED
combo."Label" = 'Attending Anesthesiologist.' -> caregivers.description
combo."Label" = 'Surgeon' -> caregivers.description
combo."Label" = 'Resident/CRNA' -> caregivers.description
combo."ItemText" = After Last Name and coma -> caregivers.label
combo."C_Type" NOT USED
combo."C_Type_Label" NOT USED
combo."C_Item" PROVIDER INFO
combo."C_Association" NOT USED
combo."ComboText" NOT USED
combo."ESIG" PROVIDER INFO
combo."ESIGNAMETEXT" PROVIDER INFO
combo."ESIGDATEANDTIME" NOT USED
events -> chartevents
events -> d_items
vitalsigns -> chartevents
vitalsigns -> d_items
text -> orstays
based on https://github.com/theonesp/or_data/tree/master/reshaping