encounter_procedures table

The encounter_procedures table in the Hospital Management System Database Schema schema has 6 columns, keyed by id, with 3 foreign keys to encounters, procedure_codes and staff. 1 column in invoice_lines references it.

What was actually done. This is what billing turns into invoice lines.

Columns (6)

Columns of the encounter_procedures table
ColumnTypeConstraintsDescription
iduuidprimary key
encounter_iduuidnot null, references encounters.id
procedure_code_iduuidnot null, references procedure_codes.id
performed_by_staff_iduuidreferences staff.id
performed_attimestamptznot null
notesvarchar(500)

Indexes (1)

  • (encounter_id, performed_at)

Relationships