app.medical_encounters_masked
View
Medical encounters with the Restricted, encrypted treatment notes decrypted only for holders of data.restricted.read.medical; masked (NULL, is_masked true) for everyone else.
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | Yes | Encounter. |
| org_id | uuid | Yes | Org. |
| incident_id | uuid | Yes | Incident. |
| patient_description | text | Yes | Who was treated. |
| disposition | text | Yes | Outcome. |
| treatment_notes | text | Yes | Treatment given, decrypted, or NULL when masked or unrecorded. |
| is_masked | boolean | Yes | True when the notes are withheld from the caller. |