prescription_items table
The prescription_items table in the Hospital Management System Database Schema schema has 10 columns, keyed by id, with 2 foreign keys to prescriptions and medications. 1 column in medication_administrations references it.
Columns (10)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| prescription_id | uuid | not null, references prescriptions.id | |
| medication_id | uuid | not null, references medications.id | |
| dose | varchar(60) | not null | |
| route | medication_route | not null | |
| frequency | varchar(60) | not null | |
| duration_days | smallint | ||
| quantity | integer | ||
| refills_allowed | smallint | not null | |
| instructions | varchar(500) |
Indexes (1)
(prescription_id)
Relationships
prescription_items.prescription_idreferencesprescriptions.idprescription_items.medication_idreferencesmedications.idmedication_administrations.prescription_item_idreferencesprescription_items