EHDS Logical Information Models
0.1.0 - ci-build

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Xt-EHR/xt-ehr-common/tree/stakeholder-consultation-D6-1 and changes regularly. See the Directory of published versions

## Logical Model: EHDSAlert - JSON Profile

Draft as of 2025-07-08

JSON representation of the EHDSAlert logical model.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "EHDSAlert",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EHDSAlert</b></p><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSAlert-definitions.html#EHDSAlert\" title=\"Alert flag\">EHDSAlert</a><a name=\"EHDSAlert\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-EHDSDataSet.html\">EHDSDataSet</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-EHDSDataSet.html\" title=\"Common header for all patient-related data\">header</a>, <a href=\"StructureDefinition-EHDSDataSet.html\" title=\"A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document\">presentedForm</a><br/>Alert flag model<br/><span style=\"font-weight:bold\">Instances of this logical model can be the target of a Reference</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSAlert-definitions.html#EHDSAlert.text\" title=\"A human-readable narrative that contains a summary of the flag and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \\&quot;clinically safe\\&quot; for a human to just read the narrative.\nExample 1: intolerance to aspirin due to gastrointestinal bleeding.\nExample 2: intolerance to captopril because of cough (the patient is not allergic but can't tolerate it because of persistent cough)\nExample 3: the patient has a rare disease that requires special treatment\nExample 4: Airway Alert / Difficult Intubation\nExample 5: Diagnoses such as malignant hyperthermia, porphyria, and bleeding disorders; special treatments like anticoagulants or immunosuppressants; implanted devices.\nExample 6: transplanted organs illustrate other information that has to be taken into account in a healthcare contact.\nExample 7: participation in a clinical trial that has to be taken into account in a healthcare contact.\">text</a><a name=\"EHDSAlert.text\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Text</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSAlert-definitions.html#EHDSAlert.priority\" title=\"A code that identifies the priority of the alert.\">priority</a><a name=\"EHDSAlert.priority\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Priority<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding Description: </span><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\" class=\"binding\">preferred</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">hl7:Flag-priority-code</span><br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSAlert-definitions.html#EHDSAlert.status\" title=\"Current status of the flag, Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error.\">status</a><a name=\"EHDSAlert.status\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Status<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding Description: </span><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\" class=\"binding\">preferred</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">hl7:Flag-status</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSAlert-definitions.html#EHDSAlert.code\" title=\"A coded or textual representation of the flag.\">code</a><a name=\"EHDSAlert.code\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding Description: </span><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\" class=\"binding\">preferred</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">SNOMED CT</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSAlert-definitions.html#EHDSAlert.period\" title=\"Time period when flag is active. The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.\">period</a><a name=\"EHDSAlert.period\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Period</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
          "valueCode" : "can-be-target"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
          "valueCode" : "can-be-target"
        }
      ],
      "url" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAlert",
      "version" : "0.1.0",
      "name" : "EHDSAlert",
      "title" : "Alert flag model",
      "status" : "draft",
      "date" : "2025-07-08T13:43:56+00:00",
      "publisher" : "Xt-EHR",
      "contact" : [
        {
          "name" : "Xt-EHR",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://Xt-EHR.eu"
            }
          ]
        }
      ],
      "description" : "Alert flag",
      "fhirVersion" : "5.0.0",
      "mapping" : [
        {
          "identity" : "rim",
          "uri" : "http://hl7.org/v3",
          "name" : "RIM Mapping"
        }
      ],
      "kind" : "logical",
      "abstract" : false,
      "type" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAlert",
      "baseDefinition" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet",
      "derivation" : "specialization",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "0.1.0"
          }
        ],
        "element" : [
          {
            "id" : "EHDSAlert",
            "path" : "EHDSAlert",
            "short" : "Alert flag model",
            "definition" : "Alert flag",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header",
            "path" : "EHDSAlert.header",
            "short" : "Common header for all patient-related data",
            "definition" : "Common header for all patient-related data",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.subject",
            "path" : "EHDSAlert.header.subject",
            "short" : "Subject",
            "definition" : "Patient/subject information",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.subject",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.identifier",
            "path" : "EHDSAlert.header.identifier",
            "short" : "Business identifier for the object",
            "definition" : "Business identifier for the object",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSDataSet.header.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.authorship",
            "path" : "EHDSAlert.header.authorship",
            "short" : "Authorship",
            "definition" : "Resource authoring details",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "EHDSDataSet.header.authorship",
              "min" : 1,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.authorship.author[x]",
            "path" : "EHDSAlert.header.authorship.author[x]",
            "short" : "Author",
            "definition" : "Author(s) by whom the resource was/were authored. Multiple authors could be provided.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.authorship.author[x]",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
              },
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
              },
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.authorship.datetime",
            "path" : "EHDSAlert.header.authorship.datetime",
            "short" : "Date and time of authoring/issuing",
            "definition" : "Date and time of the issuing the document/resource by its author.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.authorship.datetime",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.lastUpdate",
            "path" : "EHDSAlert.header.lastUpdate",
            "short" : "Date and time of the last update to the resource",
            "definition" : "Date and time of the last update to the document/information",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.lastUpdate",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.status",
            "path" : "EHDSAlert.header.status",
            "short" : "Status of the resource",
            "definition" : "Status of the resource",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.status",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.statusReason[x]",
            "path" : "EHDSAlert.header.statusReason[x]",
            "short" : "Reason for the current status of the resource.",
            "definition" : "Reason for the current status of the resource.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.statusReason[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              },
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSAlert.header.language",
            "path" : "EHDSAlert.header.language",
            "short" : "Language",
            "definition" : "Language in which the resource is written. Language is expressed by the IETF language tag.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.language",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "BCP 47"
            }
          },
          {
            "id" : "EHDSAlert.header.version",
            "path" : "EHDSAlert.header.version",
            "short" : "Version",
            "definition" : "Business version of the resource.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.version",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSAlert.presentedForm",
            "path" : "EHDSAlert.presentedForm",
            "short" : "A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document",
            "definition" : "A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSDataSet.presentedForm",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment"
              }
            ]
          },
          {
            "id" : "EHDSAlert.text",
            "path" : "EHDSAlert.text",
            "short" : "Text",
            "definition" : "A human-readable narrative that contains a summary of the flag and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \\\"clinically safe\\\" for a human to just read the narrative.\nExample 1: intolerance to aspirin due to gastrointestinal bleeding.\nExample 2: intolerance to captopril because of cough (the patient is not allergic but can't tolerate it because of persistent cough)\nExample 3: the patient has a rare disease that requires special treatment\nExample 4: Airway Alert / Difficult Intubation\nExample 5: Diagnoses such as malignant hyperthermia, porphyria, and bleeding disorders; special treatments like anticoagulants or immunosuppressants; implanted devices.\nExample 6: transplanted organs illustrate other information that has to be taken into account in a healthcare contact.\nExample 7: participation in a clinical trial that has to be taken into account in a healthcare contact.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSAlert.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSAlert.priority",
            "path" : "EHDSAlert.priority",
            "short" : "Priority",
            "definition" : "A code that identifies the priority of the alert.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSAlert.priority",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7:Flag-priority-code"
            }
          },
          {
            "id" : "EHDSAlert.status",
            "path" : "EHDSAlert.status",
            "short" : "Status",
            "definition" : "Current status of the flag, Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSAlert.status",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7:Flag-status"
            }
          },
          {
            "id" : "EHDSAlert.code",
            "path" : "EHDSAlert.code",
            "short" : "Code",
            "definition" : "A coded or textual representation of the flag.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSAlert.code",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "SNOMED CT"
            }
          },
          {
            "id" : "EHDSAlert.period",
            "path" : "EHDSAlert.period",
            "short" : "Period",
            "definition" : "Time period when flag is active. The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSAlert.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "EHDSAlert",
            "path" : "EHDSAlert",
            "short" : "Alert flag model",
            "definition" : "Alert flag"
          },
          {
            "id" : "EHDSAlert.text",
            "path" : "EHDSAlert.text",
            "short" : "Text",
            "definition" : "A human-readable narrative that contains a summary of the flag and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \\\"clinically safe\\\" for a human to just read the narrative.\nExample 1: intolerance to aspirin due to gastrointestinal bleeding.\nExample 2: intolerance to captopril because of cough (the patient is not allergic but can't tolerate it because of persistent cough)\nExample 3: the patient has a rare disease that requires special treatment\nExample 4: Airway Alert / Difficult Intubation\nExample 5: Diagnoses such as malignant hyperthermia, porphyria, and bleeding disorders; special treatments like anticoagulants or immunosuppressants; implanted devices.\nExample 6: transplanted organs illustrate other information that has to be taken into account in a healthcare contact.\nExample 7: participation in a clinical trial that has to be taken into account in a healthcare contact.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSAlert.priority",
            "path" : "EHDSAlert.priority",
            "short" : "Priority",
            "definition" : "A code that identifies the priority of the alert.",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7:Flag-priority-code"
            }
          },
          {
            "id" : "EHDSAlert.status",
            "path" : "EHDSAlert.status",
            "short" : "Status",
            "definition" : "Current status of the flag, Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7:Flag-status"
            }
          },
          {
            "id" : "EHDSAlert.code",
            "path" : "EHDSAlert.code",
            "short" : "Code",
            "definition" : "A coded or textual representation of the flag.",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "SNOMED CT"
            }
          },
          {
            "id" : "EHDSAlert.period",
            "path" : "EHDSAlert.period",
            "short" : "Period",
            "definition" : "Time period when flag is active. The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Period"
              }
            ]
          }
        ]
      }
    }