allergens table
The allergens table in the Hospital Management System Database Schema schema has 3 columns, keyed by id. 1 column in patient_allergies references it.
A shared catalog so that penicillin means the same thing on every chart.
Columns (3)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| name | varchar(160) | unique, not null | |
| category | allergen_category | not null |
Relationships
patient_allergies.allergen_idreferencesallergens