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

## : eHN HDR header metadata to this guide Map - XML Representation

Draft as of 2025-10-10

Raw xml | Download

    <ConceptMap xmlns="http://hl7.org/fhir">
      <id value="ConceptMap-HeaderMeta2FHIR-eu-xpandh"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap ConceptMap-HeaderMeta2FHIR-eu-xpandh</b></p><a name="ConceptMap-HeaderMeta2FHIR-eu-xpandh"> </a><a name="hcConceptMap-HeaderMeta2FHIR-eu-xpandh"> </a><p>Mapping from <a href="StructureDefinition-HospitalDischargeReport.html">A - Hospital Discharge Report (eHN)</a> to http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Composition-eu-xpandh</p><br/><p><b>Group 1 </b>Mapping from <a href="StructureDefinition-HospitalDischargeReport.html">A - Hospital Discharge Report (eHN)</a> to <code>http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Composition-eu-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>HospitalDischargeReport.header.documentMetadata (A.1.8 - Document metadata [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Composition</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.identifier (A.1.8.1 - Document ID [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#inexact" title="inexact">maps loosely to</a></td><td>Composition.identifier</td><td>if it is the identifer of the document (indipendently by its versions) and not of this particular document instance</td></tr><tr><td>HospitalDischargeReport.header.documentMetadata.type (A.1.8.2 - Document type [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Composition.type</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.status (A.1.8.3 - Document status [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Composition.status</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.dateTime (A.1.8.4 - Report date and time [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#inexact" title="inexact">maps loosely to</a></td><td>Composition.date</td><td>dateTime is used for tracking, organizing versions and searching. Note that this is the time of authoring. When packaged in a document, Bundle.timestamp is the date of packaging.</td></tr><tr><td>HospitalDischargeReport.header.documentMetadata.title (A.1.8.5 - Document title [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Composition.title</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.custodian (A.1.8.6 - Report custodian [Optional])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Composition.custodian</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.confidentiality (A.1.8.7 - Confidentiality [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Composition.confidentiality</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.language (A.1.8.8 - Language [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Composition.language�</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.version (A.1.8.9 - Version [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Composition.extension:versionNumber.valueString</td><td>As business version, not as resource version</td></tr><tr><td>HospitalDischargeReport.header.digitalSignature (A.1.9 - Digital signatures [Required])</td><td colspan="3" style="background-color: #efefef">(not mapped)</td></tr><tr><td>HospitalDischargeReport.header.digitalSignature.signature (A.1.9.1 - Digital signature [Required])</td><td colspan="3" style="background-color: #efefef">(not mapped)</td></tr><tr><td>HospitalDischargeReport.header.digitalSignature.timeStamp (A.1.9.2 - Time stamp [Required])</td><td colspan="3" style="background-color: #efefef">(not mapped)</td></tr></table><hr/><p><b>Group 2 </b>Mapping from <a href="StructureDefinition-HospitalDischargeReport.html">A - Hospital Discharge Report (eHN)</a> to <code>http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Bundle-eu-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>HospitalDischargeReport.header.documentMetadata (A.1.8 - Document metadata [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Bundle</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.identifier (A.1.8.1 - Document ID [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.identifier</td><td>As idenrtifier of this particular instance</td></tr><tr><td>HospitalDischargeReport.header.documentMetadata.type (A.1.8.2 - Document type [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.entry:composition.resource.type</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.status (A.1.8.3 - Document status [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.entry:composition.resource.status</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.dateTime (A.1.8.4 - Report date and time [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.timeStamp</td><td>Date time of this specific document Bundle</td></tr><tr><td>HospitalDischargeReport.header.documentMetadata.title (A.1.8.5 - Document title [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.entry:composition.resource.title</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.custodian (A.1.8.6 - Report custodian [Optional])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.entry:composition.resource.custodian</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.confidentiality (A.1.8.7 - Confidentiality [Mandatory])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.entry:composition.resource.confidentiality</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.language (A.1.8.8 - Language [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Bundle.entry:composition.resource.language�</td><td/></tr><tr><td>HospitalDischargeReport.header.documentMetadata.version (A.1.8.9 - Version [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.entry:composition.resource.extension:versionNumber.valueString</td><td>As business version, not as resource version</td></tr><tr><td>HospitalDischargeReport.header.digitalSignature (A.1.9 - Digital signatures [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Bundle.signature</td><td>the Signature datatype requires to record Who signed and and the type of signature</td></tr><tr><td>HospitalDischargeReport.header.digitalSignature.signature (A.1.9.1 - Digital signature [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto" title="relatedto">is related to</a></td><td>Bundle.signature.data</td><td/></tr><tr><td>HospitalDischargeReport.header.digitalSignature.timeStamp (A.1.9.2 - Time stamp [Required])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Bundle.signature.when</td><td/></tr></table></div>
      </text>
      <url
           value="http://hl7.eu/fhir/ig/xpandh/hdr/ConceptMap/ConceptMap-HeaderMeta2FHIR-eu-xpandh"/>
      <version value="0.1.0"/>
      <name value="HeaderMeta2FHIR"/>
      <title value="eHN HDR header metadata 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 eHN HDR header metadata 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/HospitalDischargeReport"/>
      <targetUri
                 value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Composition-eu-xpandh"/>
      <group>
        <source
                value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/HospitalDischargeReport"/>
        <target
                value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Composition-eu-xpandh"/>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata"/>
          <display value="A.1.8 - Document metadata [Mandatory]"/>
          <target>
            <code value="Composition"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.documentMetadata.identifier"/>
          <display value="A.1.8.1 - Document ID [Mandatory]"/>
          <target>
            <code value="Composition.identifier"/>
            <equivalence value="inexact"/>
            <comment
                     value="if it is the identifer of the document (indipendently by its versions) and not of this particular document instance"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.type"/>
          <display value="A.1.8.2 - Document type [Mandatory]"/>
          <target>
            <code value="Composition.type"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.status"/>
          <display value="A.1.8.3 - Document status [Mandatory]"/>
          <target>
            <code value="Composition.status"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.dateTime"/>
          <display value="A.1.8.4 - Report date and time [Mandatory]"/>
          <target>
            <code value="Composition.date"/>
            <equivalence value="inexact"/>
            <comment
                     value="dateTime is used for tracking, organizing versions and searching. Note that this is the time of authoring. When packaged in a document, Bundle.timestamp is the date of packaging."/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.title"/>
          <display value="A.1.8.5 - Document title [Mandatory]"/>
          <target>
            <code value="Composition.title"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.documentMetadata.custodian"/>
          <display value="A.1.8.6 - Report custodian [Optional]"/>
          <target>
            <code value="Composition.custodian"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.documentMetadata.confidentiality"/>
          <display value="A.1.8.7 - Confidentiality [Mandatory]"/>
          <target>
            <code value="Composition.confidentiality"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.language"/>
          <display value="A.1.8.8 - Language [Required]"/>
          <target>
            <code value="Composition.language�"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.version"/>
          <display value="A.1.8.9 - Version [Required]"/>
          <target>
            <code value="Composition.extension:versionNumber.valueString"/>
            <equivalence value="equivalent"/>
            <comment value="As business version, not as resource version"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.digitalSignature"/>
          <display value="A.1.9 - Digital signatures [Required]"/>
          <target>
            <equivalence value="unmatched"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.digitalSignature.signature"/>
          <display value="A.1.9.1 - Digital signature [Required]"/>
          <target>
            <equivalence value="unmatched"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.digitalSignature.timeStamp"/>
          <display value="A.1.9.2 - Time stamp [Required]"/>
          <target>
            <equivalence value="unmatched"/>
          </target>
        </element>
      </group>
      <group>
        <source
                value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/HospitalDischargeReport"/>
        <target
                value="http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/Bundle-eu-xpandh"/>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata"/>
          <display value="A.1.8 - Document metadata [Mandatory]"/>
          <target>
            <code value="Bundle"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.documentMetadata.identifier"/>
          <display value="A.1.8.1 - Document ID [Mandatory]"/>
          <target>
            <code value="Bundle.identifier"/>
            <equivalence value="equivalent"/>
            <comment value="As idenrtifier of this particular instance"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.type"/>
          <display value="A.1.8.2 - Document type [Mandatory]"/>
          <target>
            <code value="Bundle.entry:composition.resource.type"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.status"/>
          <display value="A.1.8.3 - Document status [Mandatory]"/>
          <target>
            <code value="Bundle.entry:composition.resource.status"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.dateTime"/>
          <display value="A.1.8.4 - Report date and time [Mandatory]"/>
          <target>
            <code value="Bundle.timeStamp"/>
            <equivalence value="equivalent"/>
            <comment value="Date time of this specific document Bundle"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.title"/>
          <display value="A.1.8.5 - Document title [Mandatory]"/>
          <target>
            <code value="Bundle.entry:composition.resource.title"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.documentMetadata.custodian"/>
          <display value="A.1.8.6 - Report custodian [Optional]"/>
          <target>
            <code value="Bundle.entry:composition.resource.custodian"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.documentMetadata.confidentiality"/>
          <display value="A.1.8.7 - Confidentiality [Mandatory]"/>
          <target>
            <code value="Bundle.entry:composition.resource.confidentiality"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.language"/>
          <display value="A.1.8.8 - Language [Required]"/>
          <target>
            <code value="Bundle.entry:composition.resource.language�"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.documentMetadata.version"/>
          <display value="A.1.8.9 - Version [Required]"/>
          <target>
            <code
                  value="Bundle.entry:composition.resource.extension:versionNumber.valueString"/>
            <equivalence value="equivalent"/>
            <comment value="As business version, not as resource version"/>
          </target>
        </element>
        <element>
          <code value="HospitalDischargeReport.header.digitalSignature"/>
          <display value="A.1.9 - Digital signatures [Required]"/>
          <target>
            <code value="Bundle.signature"/>
            <equivalence value="relatedto"/>
            <comment
                     value="the Signature datatype requires to record Who signed and and the type of signature"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.digitalSignature.signature"/>
          <display value="A.1.9.1 - Digital signature [Required]"/>
          <target>
            <code value="Bundle.signature.data"/>
            <equivalence value="relatedto"/>
          </target>
        </element>
        <element>
          <code
                value="HospitalDischargeReport.header.digitalSignature.timeStamp"/>
          <display value="A.1.9.2 - Time stamp [Required]"/>
          <target>
            <code value="Bundle.signature.when"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
      </group>
    </ConceptMap>