Table mimic.mimiciii.drgcodes
Hospital stays classified using the Diagnosis-Related Group system.

Generated by
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
Column Type Size Nulls Auto Default Children Parents Comments
row_id int4 10 Unique row identifier.
subject_id int4 10
patients.subject_id drgcodes_fk_subject_id R
Foreign key. Identifies the patient.
hadm_id int4 10
admissions.hadm_id drgcodes_fk_hadm_id R
Foreign key. Identifies the hospital stay.
drg_type varchar 20 Type of Diagnosis-Related Group, for example APR is All Patient Refined
drg_code varchar 20 Diagnosis-Related Group code
description varchar 255  √  null Description of the Diagnosis-Related Group
drg_severity int2 5  √  null Relative severity, available for type APR only.
drg_mortality int2 5  √  null Relative mortality, available for type APR only.

Table contained 125,557 rows at Thu Oct 12 12:29 EDT 2017

Column(s) Type Sort Constraint Name
row_id Primary key Asc drg_rowid_pk
subject_id Performance Asc drgcodes_idx01
drg_code Performance Asc drgcodes_idx02
description Performance Asc drgcodes_idx03

Close relationships  within of separation: