referrals table

The referrals table in the Hospital Management System Database Schema schema has 8 columns, keyed by id, with 4 foreign keys to encounters, staff and specialties.

referred_to_staff_id may be null when the referral names a specialty rather than a named clinician.

Columns (8)

Columns of the referrals table
ColumnTypeConstraintsDescription
iduuidprimary key
encounter_iduuidnot null, references encounters.id
referring_staff_iduuidnot null, references staff.id
referred_to_staff_iduuidreferences staff.id
specialty_iduuidreferences specialties.id
reasonvarchar(255)not null
statusreferral_statusnot null
created_attimestamptznot null

Relationships