lab_order_items table

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

One panel order can cover several tests, each of which resolves separately.

Columns (3)

Columns of the lab_order_items table
ColumnTypeConstraintsDescription
iduuidprimary key
lab_order_iduuidnot null, references lab_orders.id
lab_test_iduuidnot null, references lab_tests.id

Indexes (1)

  • (lab_order_id, lab_test_id) unique

Relationships