+++
date = "2015-09-01T19:34:46-04:00"
title = "Overview of the MIMIC-III data"
linktitle = "Tables"
weight = 20
toc = "true"
+++
MIMIC is a relational database containing tables of data relating to patients who stayed within the intensive care units at Beth Israel Deaconess Medical Center. A table is a data storage structure which is similar to a spreadsheet: each column contains consistent information (e.g., patient identifiers), and each row contains an instantiation of that information (e.g. a row could contain the integer 340 in the patient identifier column which would imply that the row's patient identifier is 340).
The tables are linked by identifiers which usually have the suffix "ID". For example HADM_ID
refers to a unique hospital admission and SUBJECT_ID
refers to a unique patient. One exception is ROW_ID
, which is simply a row identifier unique to that table.
Tables pre-fixed with "D_" are dictionaries and provide definitions for identifiers. For example, every row of OUTPUTEVENTS is associated with a single ITEMID
which represents the concept measured, but it does not contain the actual name of the drug. By joining OUTPUTEVENTS and D_ITEMS on ITEMID
, it is possible to identify what concept a given ITEMID
represents.
The following tables are used to define and track patient stays:
HADM_ID
)ICUSTAY_ID
)SUBJECT_ID
)Each ICUSTAY_ID
corresponds to a single HADM_ID
and a single SUBJECT_ID
. Each HADM_ID
corresponds to a single SUBJECT_ID
. A single SUBJECT_ID
can correspond to multiple HADM_ID
(multiple hospitalizations of the same patient), and multiple ICUSTAY_ID
(multiple ICU stays either within the same hospitalization, or across multiple hospitalizations, or both).
The following tables contain data collected in the critical care unit:
CGID
)The following tables contain data collected in the hospital record system:
The following tables are dictionaries:
ITEMID
s appearing in the MIMIC database, except those that relate to laboratory testsITEMID
s in the laboratory database that relate to laboratory testsThe MIMIC-II database contained a variety of derived tables which simplified use of the database. For example, a commonly used table was the ICUSTAY_DETAIL table, which provided additional information summarizing a patient's ICU stay. The database also contained derived parameters commonly required by studies, such as severity scores. In MIMIC-III, we have made a conscious decision to not include any derived tables or calculated parameters as far as is possible. Instead, we encourage the community to produce and share scripts which can be run to create these tables or parameters. This has many advantages: it keeps the distinction between raw data and calculated data, it encourages users to validate the scripts which derive the data, and allows for as many scripts as is conceivable without cluttering the database for all users. We have provided a set of scripts at the mimic-code repository, which can be found here:
http://github.com/MIT-lcp/mimic-code
We will continue to update this repository both with code which we produce as well as with code produced by the community. We encourage users to make pull requests (a feature of git which allows us to integrate community created code) or raise issues regarding code found in the repository. The creation of an active international community building openly available code for capturing a variety of concepts will increase the speed of research on MIMIC-III exponentially - we hope you take the time to investigate the mimic-code repository for anything which may be of use to you, and further contribute any work of your own!