ERD
erDiagram
MedicationStatement {
id id PK
Reference subject FK
Reference context FK
}
Encounter {
id id PK
}
Patient {
id id PK
}
MedicationStatement }o--|| Patient : "subject"
MedicationStatement }o--o| Encounter : "context"