Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions content/en/docs/IV/modules/ed/diagnosis.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
diagnosis table
---

# The *diagnosis* table
## The *diagnosis* table

The *diagnosis* table provides billed diagnoses for patients. Diagnoses are determined after discharge from the emergency department.

Expand All @@ -16,11 +16,11 @@ The *diagnosis* table provides billed diagnoses for patients. Diagnoses are dete

**Number of rows:** 899,050

**Links to:**
## Links to

* *edstays* on `stay_id`

# Table columns
## Table columns

Name | Postgres data type
---- | ----
Expand All @@ -31,26 +31,28 @@ Name | Postgres data type
`icd_version` | INTEGER NOT NULL
`icd_title` | TEXT NOT NULL

## `subject_id`
## Detailed Description

### `subject_id`

`subject_id` is a unique identifier which specifies an individual patient. Any rows associated with a single `subject_id` pertain to the same individual.

## `stay_id`
### `stay_id`

An identifier which uniquely identifies a single emergency department stay for a single patient.

## `seq_num`
### `seq_num`

A pseudo-priority for the diagnosis. A `seq_num` of 1 usually indicates a "primary" diagnosis, but accurately assessing the priority for patients with multiple diagnoses is challenging.

## `icd_code`
### `icd_code`

A coded diagnosis using the International Classification of Diseases (ICD) ontology.

## `icd_version`
### `icd_version`

The version of the ICD system used; either 9 indicating ICD-9 or 10 indicating ICD-10. The ontologies for these two systems differ, and therefore the meaning of the `icd_code` will depend on the `icd_version`.

## `icd_title`
### `icd_title`

The textual description of the diagnosis.
25 changes: 13 additions & 12 deletions content/en/docs/IV/modules/ed/edstays.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
edstays table
---

# The *edstays* table
## The *edstays* table

The *edstays* table is the primary tracking table for emergency department visits.
It provides the time the patient entered the emergency department and the time they left the emergency department.
Expand All @@ -17,11 +17,11 @@ It provides the time the patient entered the emergency department and the time t

**Number of rows:** 425,087

**Links to:**
## Links to

<!-- # Important considerations -->

# Table columns
## Table columns

Name | Postgres data type
---- | ----
Expand All @@ -35,35 +35,36 @@ Name | Postgres data type
`arrival_transport` | VARCHAR(50) NOT NULL
`disposition` | VARCHAR(255)

## Detailed Description

## `subject_id`
### `subject_id`

`subject_id` is a unique identifier which specifies an individual patient. Any rows associated with a single `subject_id` pertain to the same individual.

## `hadm_id`
### `hadm_id`

If the patient was admitted to the hospital after their ED stay, `hadm_id` will contain the hospital identifier (ranges from 2000000 - 2999999). The `hadm_id` may be used to link the ED stay with the hospitalization in MIMIC-IV.

If `hadm_id` is `NULL`, the patient was not admitted to the hospital after their ED stay.

## `stay_id`
### `stay_id`

An identifier which uniquely identifies a single emergency department stay for a single patient.

## `intime`, `outtime`
### `intime`, `outtime`

The admission datetime (`intime`) and discharge datetime (`outtime`) of the given emergency department stay.

## `gender`
### `gender`

The patient's administrative gender as documented in the hospital system.

## `race`
### `race`

The patient's self-reported race. Race is aggregated into higher level categories for very small groups.
As of MIMIC-IV-ED v2.1, there were 33 unique categories for race.

## `arrival_transport`
### `arrival_transport`

The method through which the individual arrived at the ED. A count of the possible entries is provided below.

Expand All @@ -75,7 +76,7 @@ UNKNOWN | 15352
OTHER | 1266
HELICOPTER | 868

## `disposition`
### `disposition`

The method through which the individual left the ED. Of the non-null methods, the possibilities include:

Expand All @@ -88,4 +89,4 @@ LEFT WITHOUT BEING SEEN | 6155
OTHER | 4297
LEFT AGAINST MEDICAL ADVICE | 1881
ELOPED | 5710
EXPIRED | 377
EXPIRED | 377
22 changes: 11 additions & 11 deletions content/en/docs/IV/modules/ed/medrecon.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
medrecon table
---

# The *medrecon* table
## The *medrecon* table

On admission to the emergency departments, staff will ask the patient what current medications they are taking. This process is called medicine reconciliation, and the *medrecon* table stores the findings of the care providers.

Expand All @@ -16,13 +16,13 @@ On admission to the emergency departments, staff will ask the patient what curre

**Number of rows:** 2,987,342

**Links to:**
## Links to

* *edstays* on `stay_id`

<!-- # Important considerations -->

# Table columns
## Table columns

Name | Postgres data type
---- | ----
Expand All @@ -36,30 +36,30 @@ Name | Postgres data type
`etccode` | VARCHAR(8)
`etcdescription` | VARCHAR(255)

## `subject_id`
### `subject_id`

`subject_id` is a unique identifier which specifies an individual patient. Any rows associated with a single `subject_id` pertain to the same individual.

## `stay_id`
### `stay_id`

An identifier which uniquely identifies a single emergency department stay for a single patient.

## `charttime`
### `charttime`

The time at which the medicine reconciliation was charted.

## `name`
### `name`

The name of the medication.

## `gsn`
### `gsn`

The Generic Sequence Number (GSN), an ontology for the medication.

## `ndc`
### `ndc`

The National Drug Code (ndc) for the medication.

## `etc_rn`, `etccode`, `etcdescription`
### `etc_rn`, `etccode`, `etcdescription`

Medications are grouped using a hierarchical ontology known as the Enhanced Therapeutic Class (ETC). As more than one group may be associated with the medication, a sequential integer (`etc_rn`) was generated to differentiate the groups. There is no meaning to the order of `etc_rn`. `etccode` provides the code and `etcdescription` provides the description of the group.
Medications are grouped using a hierarchical ontology known as the Enhanced Therapeutic Class (ETC). As more than one group may be associated with the medication, a sequential integer (`etc_rn`) was generated to differentiate the groups. There is no meaning to the order of `etc_rn`. `etccode` provides the code and `etcdescription` provides the description of the group.
24 changes: 13 additions & 11 deletions content/en/docs/IV/modules/ed/pyxis.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
pyxis table
---

# The *pyxis* table
## The *pyxis* table

The *pyxis* table provides information for medicine dispensations made via the Pyxis system.

Expand All @@ -18,13 +18,13 @@ Note that as the same medication may have multiple `gsn` values, each row does *

**Number of rows:** 1,586,053

**Links to:**
## Links to

* *edstays* on `stay_id`

<!-- # Important considerations -->

# Table columns
## Table columns

Name | Postgres data type
---- | ----
Expand All @@ -36,30 +36,32 @@ Name | Postgres data type
`gsn_rn` | SMALLINT NOT NULL
`gsn` | VARCHAR(10)

## `subject_id`
## Detailed Description

### `subject_id`

`subject_id` is a unique identifier which specifies an individual patient. Any rows associated with a single `subject_id` pertain to the same individual.

## `stay_id`
### `stay_id`

An identifier which uniquely identifies a single emergency department stay for a single patient.

## `charttime`
### `charttime`

The time at which the medication was charted, which is the closest approximation to the time the medication was administered.

## `med_rn`
### `med_rn`

A row number for the medicine used to group single dispensations.

## `name`
### `name`

The name of the medicine.

## `gsn`
### `gsn`

The Generic Sequence Number (GSN), an ontology which provides a code for each medicine.

## `gsn_rn`
### `gsn_rn`

As a medicine may be a member of multiple groups in the GSN ontology, this row number differentiates them. The order of `gsn_rn` has no meaning.
As a medicine may be a member of multiple groups in the GSN ontology, this row number differentiates them. The order of `gsn_rn` has no meaning.
33 changes: 18 additions & 15 deletions content/en/docs/IV/modules/ed/triage.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
triage table
---

# The *triage* table
## The *triage* table

The *triage* table contains information about the patient when they were first triaged in the emergency department.
Patients are assessed at triage by a single care provider and asked a series of questions to assess their current health status.
Expand All @@ -20,11 +20,11 @@ All fields in *triage* were originally free-text. For deidentification purposes,

**Number of rows:** 425,087

**Links to:**
## Links to

* *edstays* on `stay_id`

## Important considerations
### Important considerations

There is no time associated with triage observations. The closest approximation to triage time is the `intime` of the patient from the *edstays* table.

Expand Down Expand Up @@ -71,7 +71,8 @@ from ed_phi.triage tr
;

-->
# Table columns

## Table columns

Name | Postgres data type
---- | ----
Expand All @@ -87,39 +88,41 @@ Name | Postgres data type
`acuity` | NUMERIC(10, 4)
`chiefcomplaint` | VARCHAR(255)

## `subject_id`
## Detailed Description

### `subject_id`

`subject_id` is a unique identifier which specifies an individual patient. Any rows associated with a single `subject_id` pertain to the same individual.

## `stay_id`
### `stay_id`

An identifier which uniquely identifies a single emergency department stay for a single patient.

## `temperature`
### `temperature`

The patient's temperature in degrees Farenheit. Some temperatures may be incorrectly documented as Celsius.

## `heartrate`
### `heartrate`

The patient's heart rate in beats per minute.

## `resprate`
### `resprate`

The patient's respiratory rate in breaths per minute.

## `o2sat`
### `o2sat`

The patient's peripheral oxygen saturation as a percentage.

## `sbp`, `dbp`
### `sbp`, `dbp`

The patient's systolic and diastolic blood pressure, respectively, measured in millimitres of mercury (mmHg).

## `pain`
### `pain`

The level of pain self-reported by the patient, on a scale of 0-10.

## `acuity`
### `acuity`

An order of priority based upon acuity utilizing the Emergency Severity Index (ESI) Five Level triage system. This priority is assigned by a registered nurse. Level 1 is the highest priority, while level 5 is the lowest priority. The levels are:

Expand All @@ -136,6 +139,6 @@ An order of priority based upon acuity utilizing the Emergency Severity Index (E
* 5
* Patients not requiring any resources

# `chiefcomplaint`
## `chiefcomplaint`

A deidentified free-text description of the patient's chief complaint.
A deidentified free-text description of the patient's chief complaint.
Loading