XpanDH Hospital Discharge Report
0.1.0 - ci-build 150

XpanDH Hospital Discharge Report, published by XpanDH Project. 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/hl7-eu/xpandh-hdr/ and changes regularly. See the Directory of published versions

## : Encounter to this guide - XML Representation

Draft as of 2025-10-10

Raw xml | Download

    <ConceptMap xmlns="http://hl7.org/fhir">
      <id value="ConceptMap-hdrEncounter2FHIR-eu-xpandh"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap ConceptMap-hdrEncounter2FHIR-eu-xpandh</b></p><a name="ConceptMap-hdrEncounter2FHIR-eu-xpandh"> </a><a name="hcConceptMap-hdrEncounter2FHIR-eu-xpandh"> </a><p>Mapping from <a href="StructureDefinition-HDREncounter.html">A.2.3 - Encounter (eHN)</a> to http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Encounter-hdr-xpandh</p><br/><p><b>Group 1 </b>Mapping from <a href="StructureDefinition-HDREncounter.html">A.2.3 - Encounter (eHN)</a> to <code>http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Encounter-hdr-xpandh</code></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>HDREncounter.type (A.2.3.1 - Encounter type [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equal" title="equal">is equal to</a></td><td>Encounter.class</td><td/></tr><tr><td>HDREncounter.note (A.2.3.2 - Encounter note [Optional])</td><td colspan="3" style="background-color: #efefef">(not mapped)</td></tr><tr><td>HDREncounter.admission (A.2.3.3 - Admission [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.ofType(Organization)</td><td/></tr><tr><td>HDREncounter.admission.urgency (A.2.3.3.1 - Admission urgency [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.priority</td><td>to be checked</td></tr><tr><td>HDREncounter.admission.date (A.2.3.3.2 - Admission date [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.period.start</td><td>to be checked</td></tr><tr><td>HDREncounter.admission.admitter (- Admitting professional Id [])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.participant.individual</td><td>where participant.type is 'ADM'</td></tr><tr><td>HDREncounter.admission.admitter.identifier (A.2.3.3.3 - Admitting professional Id [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.participant.individual.identifier</td><td>where participant.type is 'ADM'</td></tr><tr><td>HDREncounter.admission.admitter.name (A.2.3.3.4 - Admitting professional name [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.participant.individual.name</td><td>where participant.type is 'ADM' and individual of type Practictioner</td></tr><tr><td>HDREncounter.admission.admitter.name (A.2.3.3.4 - Admitting professional name [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.participant.individual.practitioner.name</td><td>where participant.type is 'ADM' and individual of type PractictionerRole</td></tr><tr><td>HDREncounter.admission.source (A.2.3.3.5 - Admit Source [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.hospitalization.admitSource</td><td/></tr><tr><td>HDREncounter.admission.referringHP (- Referring professional Id [])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.participant.individual</td><td>where participant.type is 'REF'</td></tr><tr><td>HDREncounter.admission.referringHP.identifier (A.2.3.3.6 - Referring professional Id [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.participant.individual.identifier</td><td>where participant.type is 'REF'</td></tr><tr><td>HDREncounter.admission.referringHP.name (A.2.3.3.7 - Referring professional name [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.participant.individual.name</td><td>where participant.type is 'REF' and individual of type Practictioner</td></tr><tr><td>HDREncounter.admission.referringHP.organization (A.2.3.3.8 - Referring organization [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.participant.individual.practitioner.name</td><td>where participant.type is 'REF' and individual of type PractictionerRole</td></tr><tr><td>HDREncounter.reason (A.2.3.4 - Admission reason [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.</td><td/></tr><tr><td>HDREncounter.reason.code (A.2.3.4.1 - Admission reason [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equal" title="equal">is equal to</a></td><td>Encounter.reasonCode</td><td>if just a code</td></tr><tr><td>HDREncounter.reason.comment (A.2.3.4.2 - Admission reason comment [Optional])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.reasonCode.text</td><td>to be checked</td></tr><tr><td>HDREncounter.reason.legalStatus (A.2.3.4.3 - Admission legal status [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.</td><td>to be checked</td></tr><tr><td>HDREncounter.discharge (A.2.3.5 - Discharge [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.</td><td/></tr><tr><td>HDREncounter.discharge.dateTime (A.2.3.5.1 - Discharge date [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.period.end</td><td/></tr><tr><td>HDREncounter.discharge.destinationType (A.2.3.5.2 - Discharge destination type [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.hospitalization.dischargeDisposition</td><td/></tr><tr><td>HDREncounter.discharge.destinationLocation (A.2.3.5.3 - Destination location [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.destination</td><td>of type Location</td></tr><tr><td>HDREncounter.location (A.2.3.6 - Location - All locations/departments where the patient stayed within the hospital. [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.location</td><td/></tr><tr><td>HDREncounter.location.period (A.2.3.6.1 - Period [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.location.period</td><td/></tr><tr><td>HDREncounter.location.organization (- Organization Id [])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.location.location.managingOrganization</td><td/></tr><tr><td>HDREncounter.location.organization.identifier (A.2.3.6.2 - Organization Id [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.location.location.managingOrganization.identifier</td><td/></tr><tr><td>HDREncounter.location.organization.name (A.2.3.6.3 - Organization Part Name [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.location.location.managingOrganization.name</td><td/></tr><tr><td>HDREncounter.location.organization.details (A.2.3.6.4 - Organization Part Details [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Encounter.location.location.managingOrganization</td><td>to be checked</td></tr></table></div>
      </text>
      <url
           value="http://hl7.eu/fhir/ig/xpandh/hdr/ConceptMap/ConceptMap-hdrEncounter2FHIR-eu-xpandh"/>
      <version value="0.1.0"/>
      <name value="HdrEncounter2FHIR"/>
      <title value="eHN Recipient to this guide Map"/>
      <status value="draft"/>
      <experimental value="true"/>
      <date value="2025-10-10T16:32:47+00:00"/>
      <publisher value="XpanDH Project"/>
      <contact>
        <name value="XpanDH Project"/>
        <telecom>
          <system value="url"/>
          <value value="https://xpandh-project.iscte-iul.pt"/>
        </telecom>
      </contact>
      <description value="eHN HDR Encounter Model to this guide mapping"/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="150"/>
          <display value="Europe"/>
        </coding>
      </jurisdiction>
      <purpose
               value="Proposed relationship between the HDR Encounter data set defined by the EU eHN guidelines and this guide"/>
      <copyright
                 value="Used by permission of the XpanDH project, all rights reserved Creative Commons License"/>
      <sourceUri
                 value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/HDREncounter"/>
      <targetUri
                 value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Encounter-hdr-xpandh"/>
      <group>
        <source
                value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/HDREncounter"/>
        <target
                value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Encounter-hdr-xpandh"/>
        <element>
          <code value="HDREncounter.type"/>
          <display value="A.2.3.1 - Encounter type [Mandatory]"/>
          <target>
            <code value="Encounter.class"/>
            <equivalence value="equal"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.note"/>
          <display value="A.2.3.2 - Encounter note [Optional]"/>
          <target>
            <equivalence value="unmatched"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission"/>
          <display value="A.2.3.3 - Admission [Mandatory]"/>
          <target>
            <code value="Encounter.ofType(Organization)"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.urgency"/>
          <display value="A.2.3.3.1 - Admission urgency [Required]"/>
          <target>
            <code value="Encounter.priority"/>
            <equivalence value="relatedto"/>
            <comment value="to be checked"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.date"/>
          <display value="A.2.3.3.2 - Admission date [Mandatory]"/>
          <target>
            <code value="Encounter.period.start"/>
            <equivalence value="equivalent"/>
            <comment value="to be checked"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.admitter"/>
          <display value="- Admitting professional Id []"/>
          <target>
            <code value="Encounter.participant.individual"/>
            <equivalence value="equivalent"/>
            <comment value="where participant.type is 'ADM'"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.admitter.identifier"/>
          <display value="A.2.3.3.3 - Admitting professional Id [Required]"/>
          <target>
            <code value="Encounter.participant.individual.identifier"/>
            <equivalence value="equivalent"/>
            <comment value="where participant.type is 'ADM'"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.admitter.name"/>
          <display value="A.2.3.3.4 - Admitting professional name [Required]"/>
          <target>
            <code value="Encounter.participant.individual.name"/>
            <equivalence value="equivalent"/>
            <comment
                     value="where participant.type is 'ADM' and individual of type Practictioner"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.admitter.name"/>
          <display value="A.2.3.3.4 - Admitting professional name [Required]"/>
          <target>
            <code value="Encounter.participant.individual.practitioner.name"/>
            <equivalence value="equivalent"/>
            <comment
                     value="where participant.type is 'ADM' and individual of type PractictionerRole"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.source"/>
          <display value="A.2.3.3.5 - Admit Source [Required]"/>
          <target>
            <code value="Encounter.hospitalization.admitSource"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.referringHP"/>
          <display value="- Referring professional Id []"/>
          <target>
            <code value="Encounter.participant.individual"/>
            <equivalence value="equivalent"/>
            <comment value="where participant.type is 'REF'"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.referringHP.identifier"/>
          <display value="A.2.3.3.6 - Referring professional Id [Required]"/>
          <target>
            <code value="Encounter.participant.individual.identifier"/>
            <equivalence value="equivalent"/>
            <comment value="where participant.type is 'REF'"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.referringHP.name"/>
          <display value="A.2.3.3.7 - Referring professional name [Required]"/>
          <target>
            <code value="Encounter.participant.individual.name"/>
            <equivalence value="equivalent"/>
            <comment
                     value="where participant.type is 'REF' and individual of type Practictioner"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.admission.referringHP.organization"/>
          <display value="A.2.3.3.8 - Referring organization [Required]"/>
          <target>
            <code value="Encounter.participant.individual.practitioner.name"/>
            <equivalence value="equivalent"/>
            <comment
                     value="where participant.type is 'REF' and individual of type PractictionerRole"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.reason"/>
          <display value="A.2.3.4 - Admission reason [Mandatory]"/>
          <target>
            <code value="Encounter."/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.reason.code"/>
          <display value="A.2.3.4.1 - Admission reason [Required]"/>
          <target>
            <code value="Encounter.reasonCode"/>
            <equivalence value="equal"/>
            <comment value="if just a code"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.reason.comment"/>
          <display value="A.2.3.4.2 - Admission reason comment [Optional]"/>
          <target>
            <code value="Encounter.reasonCode.text"/>
            <equivalence value="equivalent"/>
            <comment value="to be checked"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.reason.legalStatus"/>
          <display value="A.2.3.4.3 - Admission legal status [Required]"/>
          <target>
            <code value="Encounter."/>
            <equivalence value="relatedto"/>
            <comment value="to be checked"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.discharge"/>
          <display value="A.2.3.5 - Discharge [Mandatory]"/>
          <target>
            <code value="Encounter."/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.discharge.dateTime"/>
          <display value="A.2.3.5.1 - Discharge date [Mandatory]"/>
          <target>
            <code value="Encounter.period.end"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.discharge.destinationType"/>
          <display value="A.2.3.5.2 - Discharge destination type [Required]"/>
          <target>
            <code value="Encounter.hospitalization.dischargeDisposition"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.discharge.destinationLocation"/>
          <display value="A.2.3.5.3 - Destination location [Required]"/>
          <target>
            <code value="Encounter.destination"/>
            <equivalence value="relatedto"/>
            <comment value="of type Location"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.location"/>
          <display
                   value="A.2.3.6 - Location - All locations/departments where the patient stayed within the hospital. [Required]"/>
          <target>
            <code value="Encounter.location"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.location.period"/>
          <display value="A.2.3.6.1 - Period [Mandatory]"/>
          <target>
            <code value="Encounter.location.period"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.location.organization"/>
          <display value="- Organization Id []"/>
          <target>
            <code value="Encounter.location.location.managingOrganization"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.location.organization.identifier"/>
          <display value="A.2.3.6.2 - Organization Id [Required]"/>
          <target>
            <code
                  value="Encounter.location.location.managingOrganization.identifier"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.location.organization.name"/>
          <display value="A.2.3.6.3 - Organization Part Name [Mandatory]"/>
          <target>
            <code value="Encounter.location.location.managingOrganization.name"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HDREncounter.location.organization.details"/>
          <display value="A.2.3.6.4 - Organization Part Details [Required]"/>
          <target>
            <code value="Encounter.location.location.managingOrganization"/>
            <equivalence value="relatedto"/>
            <comment value="to be checked"/>
          </target>
        </element>
      </group>
    </ConceptMap>