HL7 Europe Base and Core FHIR IG, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 0.2.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/base/ and changes regularly. See the Directory of published versions
The content of this page is automatically generated and doesn't document the actual mapping.
Please don't use this material for implementation purposes !
      This page describes the element-by-element mapping from the EHDSAlert logical model to the
      FHIR Flag (or equivalent alert/clinical warning profile) used in this Implementation Guide.
      Alerts convey critical safety or clinical information that should be surfaced whenever the patient record is accessed.
    
| EHDSAlert (Logical Model) | Relationship | Flag (Alert) | |||
|---|---|---|---|---|---|
| Element | Description | Relation | Element | Description | Notes | 
| header | Common header for all patient-related data. | relatedto | Flag | General metadata. | Dataset-level; not usually carried in Flag as-is. | 
| header.subject | Patient/subject this alert is about. | equal | subject | Who/what the flag is about. | Reference to Patient (or other subject). | 
| header.identifier | Business identifier for the alert object. | equal | identifier | Business identifier for the flag. | Copy over all identifiers if multiple. | 
| header.authorship | Resource authoring details | relatedto | author | Creator of the flag. | Can reference Practitioner, PractitionerRole, or Organization. | 
| header.authorship.author[x] | Who created/issued the alert. | equal | author | Creator of the flag. | Can reference Device, Organization, Patient, Practitioner, or PractitionerRole. | 
| header.authorship.datetime | Date/time the resource was issued. | XXXXXXXX | XXXXXXXX | XXXXXXXX | XXXXXXXX | 
| header.lastUpdate | Last technical correction/update. | XXXXXXXX | XXXXXXXX | XXXXXXXX | XXXXXXXX | 
| header.status | Status of the dataset/resource. | XXXX | XXXX | Flag status is mapped from EHDSAlert.status (see below). | Header status ≠ clinical alert status. Clarify the difference | 
| header.statusReason[x] | Reason for current dataset status. | XXXXXXXX | XXXXXXXX | XXXXXXXX | XXXXXXXX | 
| header.language | Language of the resource (IETF tag). | equivalent → | language | Language used in the flag text. | |
| text | Free text explanation of the alert. | equal | code.text or text | Human-readable meaning. | Prefer putting the core meaning in Flag.code; extra narrative in Flag.note. | 
| priority | Priority of the alert. | equal | extension:flagPriorityExt | A code that identifies the priority of the alert | |
| status | Status of the alert (active, inactive, entered-in-error…). | equal | status | Indicates if the flag is active, inactive, etc. | Use the EHDS → HL7 Flag-status value set mapping. | 
| code | Coded alert/issue being highlighted. | equal | code | Issue being highlighted. | Often SNOMED CT or local code. Should have display. | 
| period | Time period when the alert is relevant. | equal | period | Time period when the flag is active. | Map start/end 1:1. | 
Return to overview: EHDS Logical Models → FHIR Profiles