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)

Columns of the clinical_notes table
ColumnTypeConstraintsDescription
iduuidprimary key
encounter_iduuidnot null, references encounters.id
author_staff_iduuidnot null, references staff.id
note_typenote_typenot null
bodytextnot null
signed_attimestamptz
created_attimestamptznot null

Indexes (1)

  • (encounter_id, created_at)

Relationships