lab_orders table

The lab_orders table in the Hospital Management System Database Schema schema has 7 columns, keyed by id, with 2 foreign keys to encounters and staff. 1 column in lab_order_items references it.

Columns (7)

Columns of the lab_orders table
ColumnTypeConstraintsDescription
iduuidprimary key
encounter_iduuidnot null, references encounters.id
ordered_by_staff_iduuidnot null, references staff.id
statuslab_order_statusnot null
priorityorder_prioritynot null
ordered_attimestamptznot null
collected_attimestamptz

Indexes (2)

  • (encounter_id, ordered_at)
  • (status, priority)

Relationships