vital_signs table
The vital_signs table in the Hospital Management System Database Schema schema has 12 columns, keyed by id, with 2 foreign keys to encounters and staff.
One row per observation event, so a chart can plot the trend across a stay.
Columns (12)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| encounter_id | uuid | not null, references encounters.id | |
| recorded_by_staff_id | uuid | references staff.id | |
| recorded_at | timestamptz | not null | |
| temperature_celsius | decimal(4,1) | ||
| heart_rate | smallint | ||
| systolic_mmhg | smallint | ||
| diastolic_mmhg | smallint | ||
| respiratory_rate | smallint | ||
| oxygen_saturation | smallint | ||
| weight_kg | decimal(5,2) | ||
| height_cm | decimal(5,1) |
Indexes (1)
(encounter_id, recorded_at)
Relationships
vital_signs.encounter_idreferencesencounters.idvital_signs.recorded_by_staff_idreferencesstaff.id