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

Generated by
SchemaSpy
Legend: SourceForge.net
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 0 rows at dim. sept. 10 22:12 CEST 2017

Indexes:
Column(s) Type Sort Constraint Name
row_id Primary key Asc drg_rowid_pk

Close relationships  within of separation: