admissions table

The admissions table in the Hospital Management System Database Schema schema has 8 columns, keyed by id, with 3 foreign keys to encounters, patients and staff. 2 columns in bed_assignments and medication_administrations reference it.

Only inpatient encounters get an admission row, which is why this is a one-to-one against encounters.

Columns (8)

Columns of the admissions table
ColumnTypeConstraintsDescription
iduuidprimary key
encounter_iduuidunique, not null, references encounters.id
patient_iduuidnot null, references patients.id
admitting_staff_iduuidnot null, references staff.id
statusadmission_statusnot null
admitted_attimestamptznot null
discharged_attimestamptz
discharge_dispositionvarchar(120)

Indexes (2)

  • (patient_id, admitted_at)
  • (status)

Relationships