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.D_PATIENTS

Description:

Patient table. Contains patient specific information such as DOB, DOD, and sex. Date of death is obtained by 2 methods: 1. If the patient died in the hospital, the died_in_hospital flag is 'Y' and the date of discharge is used as the date of death. 2. Patient social security numbers are matched to the US death records to obtain out of hospital date of death.

DDL script

Columns

NameTypeNullableDefault valueComment
SUBJECT_IDNUMBER(7)N Table record unique identifier, the subject id.
SEXVARCHAR2(1)Y The patient gender
DOBDATEN Date of birth for the patient
DODDATEY Date of death for the patient. Null if still alive as of March 2009
HOSPITAL_EXPIRE_FLGVARCHAR2(1)N'N' Whether or not the patient died in the hospital

Primary key:

Constraint NameColumns
MIMIC2V26.D_PATIENTS_PKSUBJECT_ID

Options:

OptionSettings
TablespaceMIMIC2_DAT
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
MIMIC2V26.D_PATIENTS_PKNORMALUNIQUESUBJECT_ID DDL script

Referenced by:

TableConstraint
MIMIC2V26.ADDITIVES MIMIC2V26.ADDITIVES_FK_D_PATIEN
MIMIC2V26.ADMISSIONS MIMIC2V26.ADMISSIONS_FK_D_PATI
MIMIC2V26.A_CHARTDURATIONS MIMIC2V26.A_CHARTD_FK_D_PATIEN
MIMIC2V26.A_IODURATIONS MIMIC2V26.A_IODURA_FK_D_PATIEN
MIMIC2V26.A_MEDDURATIONS MIMIC2V26.A_MEDDUR_FK_D_PATIEN
MIMIC2V26.CENSUSEVENTS MIMIC2V26.CENSUSEV_FK_D_PATIEN
MIMIC2V26.CHARTEVENTS MIMIC2V26.CHARTEVE_FK_D_PATIEN
MIMIC2V26.DELIVERIES MIMIC2V26.DELIVERI_FK_D_PATIEN
MIMIC2V26.DEMOGRAPHICEVENTS MIMIC2V26.DEMOGRAPHICEVENTS_FK_D_PATIEN
MIMIC2V26.DRGEVENTS MIMIC2V26.DRGEVENTS_FK_D_PATIEN
MIMIC2V26.ICD9 MIMIC2V26.ICD9_FK_D_PATIEN
MIMIC2V26.ICUSTAYEVENTS MIMIC2V26.ICUSTAYEV_FK_D_PAT
MIMIC2V26.IOEVENTS MIMIC2V26.IOEVENTS_FK_D_PATIEN
MIMIC2V26.LABEVENTS MIMIC2V26.LABEVENTS_FK_SUBJECT_ID
MIMIC2V26.MEDEVENTS MIMIC2V26.MEDEVENT_FK_D_PATIEN
MIMIC2V26.MICROBIOLOGYEVENTS MIMIC2V26.MICROBIOEV_FK_D_PATIENTS
MIMIC2V26.NOTEEVENTS MIMIC2V26.NOTEEVEN_FK_D_PATIEN
MIMIC2V26.POE_ORDER MIMIC2V26.POE_ORDER_FK_D_PATIEN
MIMIC2V26.PROCEDUREEVENTS MIMIC2V26.PROCEDUREEVENTS_FK_D_PATIEN
MIMIC2V26.TOTALBALEVENTS MIMIC2V26.TOTALBAL_FK_D_PATIEN
MIMIC2V26.WAVEFORM_METADATA MIMIC2V26.WAVEFORM_META_FK_D_PATIEN
MIMIC2V26.WAVEFORM_SEGMENTS MIMIC2V26.WAVEFORM_SEGMENTS_WAVEFOR_FK2
MIMIC2V26.WAVEFORM_SEG_SIG MIMIC2V26.WAVEFORM_SEG_SIG_WAVEFORM_FK2
MIMIC2V26.WAVEFORM_SIGNALS MIMIC2V26.WAVEFORM_SIGNALS_WAVEFORM_FK2
MIMIC2V26.WAVEFORM_TRENDS MIMIC2V26.WAVEFORM_TRENDS_FK1
MIMIC2V26.WAVEFORM_TREND_SIGNALS MIMIC2V26.WAVEFORM_TREND_SIG_FK2