Flag Profile¶
| Canonical | ../StructureDefinition/nexus-emr-core-flag |
|---|---|
| Status | draft · 1.26.0 |
| Base | Flag (constraint) |
| Source | FSH · JSON |
Nexus EMR profile for Flag, carrying a singleton administrative free-text field about a patient (booking alert or patient note). The patient-flag-type coding discriminates the field; the free text rides on Flag.code.text. Backs the Patient Profile Notes section.
Elements / Differential
What this profile constrains beyond Flag. Anything not listed is unchanged from the base; muted type/cardinality values are the base's, shown for context.
| Element | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
| Flag | Nexus EMR Flag Core Invariants: nexus-flag-admin-is-a-field |
|||
| meta | 0..1 | Meta | ||
| source | S | 0..1 | uri | Identifies EMR instance & pipeline version the resource came from i |
| text | S | 0..1 | Narrative | Narrative i |
| status | S | 1..1 | code | i |
| category | S | 1..* | CodeableConcept | What kind of flag this is: clinical, safety, behavioral, contact or admin i Binding: flag-category ( extensible) |
| code | S | 1..1 | CodeableConcept | What the flag says: a coding, its text, or both i |
| coding | S | 0..* | Coding | A coding for the flag, where one exists. For an admin flag this is the patient-flag type i |
| text | S | 0..1 | string | The flag in words. Required on an admin flag, where it carries the field's value i |
| subject | S | 1..1 | Reference(Patient) | The patient the flag is about |