Main Tables Materialized Views Indexes Constraints DDL scrips
Description Columns Primary key Check Constraints Foreign keys Unique Keys Options Indexes Referenced by Triggers Partitions

MIMIC2V26.ICUSTAY_DETAIL

DDL script

Columns

NameTypeNullableDefault valueComment
ICUSTAY_IDNUMBER(7)Y Unique ICU stay identifier
SUBJECT_IDNUMBER(7)Y Unique subject identifier
GENDERVARCHAR2(1)Y Subject's gender "M" or "F"
DOBDATEN Subject's date of birth
DODDATEY Subject's date of death
EXPIRE_FLGVARCHAR2(1)Y Subject is dead (including in hospital and after discharge). Valid for 1 year after date of discharge.
SUBJECT_ICUSTAY_TOTAL_NUMNUMBER(38)Y Subject's total ICU stays
SUBJECT_ICUSTAY_SEQNUMBER(38)Y Overall order of subject's ICU stays
HADM_IDNUMBER(7)Y Hospital admission ID
HOSPITAL_TOTAL_NUMNUMBER(38)Y Subject's number of hospital admissions
HOSPITAL_SEQNUMBER(38)Y Order of subject's hospital admissions
HOSPITAL_FIRST_FLGCHAR(1)Y Flag to indicate a subject's first hospital admission
HOSPITAL_LAST_FLGCHAR(1)Y Flag to indicate a subject's last hospital admission
HOSPITAL_ADMIT_DTDATEY Hopsital admission date
HOSPITAL_DISCH_DTDATEY Hopsital discharge date
HOSPITAL_LOSNUMBER(38)Y Hospital length of stay (minutes)
HOSPITAL_EXPIRE_FLGCHAR(1)Y Subject death during hospital admission
ICUSTAY_TOTAL_NUMNUMBER(38)Y Number of ICU stays during a subject's admission
ICUSTAY_SEQNUMBER(38)Y Order of subject's ICU stays within an admission
ICUSTAY_FIRST_FLGCHAR(1)Y Flag to indicate a subject's first ICU stay (within an admission)
ICUSTAY_LAST_FLGCHAR(1)Y Flag to indicate a subject's last ICU stay (within an admission)
ICUSTAY_INTIMETIMESTAMP(6) WITH TIME ZONEN Time that the subject was admitted to the ICU
ICUSTAY_OUTTIMETIMESTAMP(6) WITH TIME ZONEN Time that the subject was discharged from the ICU
ICUSTAY_ADMIT_AGENUMBER(38)Y Age of subject on admission to the ICU (Years, to 4 decimal places)
ICUSTAY_AGE_GROUPVARCHAR2(7)Y Age grouping: >=15 -> 'adult', <=1 -> 'neonate', else -> 'middle'
ICUSTAY_LOSNUMBER(38)N Length of ICU stay (minutes)
ICUSTAY_EXPIRE_FLGCHAR(1)Y Died in ICU (assumed from icustay_outtime > hospital discharge AND died in hospital)
ICUSTAY_FIRST_CAREUNITVARCHAR2(20)Y First careunit location
ICUSTAY_LAST_CAREUNITVARCHAR2(20)Y Last careunit location
ICUSTAY_FIRST_SERVICEVARCHAR2(110)Y First careunit location
ICUSTAY_LAST_SERVICEVARCHAR2(110)Y Last careunit location
HEIGHTNUMBER(38)Y The first entered height of the patient
WEIGHT_FIRSTNUMBER(38)Y The first entered weight of the patient
WEIGHT_MINNUMBER(38)Y The minimum entered weight of the patient
WEIGHT_MAXNUMBER(38)Y The maximum entered weight of the patient
SAPSI_FIRSTNUMBER(38)Y The first (available) SAPS-I score of the patient
SAPSI_MINNUMBER(38)Y The minimum (available) SAPS-I score of the patient
SAPSI_MAXNUMBER(38)Y The maximum (available) SAPS-I score of the patient
SOFA_FIRSTNUMBER(38)Y The first (available) SOFA score of the patient
SOFA_MINNUMBER(38)Y The minimum (available) SOFA score of the patient
SOFA_MAXNUMBER(38)Y The maximum (available) SOFA score of the patient
MATCHED_WAVEFORMS_NUMNUMBER(38)Y The number of waveforms matched to this subject

Options:

OptionSettings
TablespaceMIMIC2_DAT
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
MIMIC2V26.ICUSTAY_DETAIL_PKNORMALUNIQUEICUSTAY_ID DDL script
MIMIC2V26.ICUSTAY_DETAIL_U1NORMALUNIQUESUBJECT_ID , ICUSTAY_ID DDL script