clinical_notes table
The clinical_notes table in the Hospital Management System Database Schema schema has 7 columns, keyed by id, with 2 foreign keys to encounters and staff.
An unsigned note is a draft. Amendments are new rows referencing the same encounter, never edits.
Columns (7)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| encounter_id | uuid | not null, references encounters.id | |
| author_staff_id | uuid | not null, references staff.id | |
| note_type | note_type | not null | |
| body | text | not null | |
| signed_at | timestamptz | ||
| created_at | timestamptz | not null |
Indexes (1)
(encounter_id, created_at)
Relationships
clinical_notes.encounter_idreferencesencounters.idclinical_notes.author_staff_idreferencesstaff.id