Implementation Guide
ePA MHD Service
Version 1.1.1 - release

## : Example EPA MHD DocumentReference - XML Representation

Raw xml | Download

    <DocumentReference xmlns="http://hl7.org/fhir">
      <id value="b2d5f8db-48ca-43c4-a540-6c8f2e853913"/>
      <meta>
        <profile
                 value="https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-mhd-document-reference"/>
      </meta>
      <masterIdentifier>
        <use value="usual"/>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:oid:2.25.104666037230925920288492414767863731214"/>
      </masterIdentifier>
      <identifier>
        <use value="official"/>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:b2d5f8db-48ca-43c4-a540-6c8f2e853913"/>
      </identifier>
      <identifier>
        <use value="usual"/>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:oid:2.25.104666037230925920288492414767863731214"/>
      </identifier>
      <status value="current"/>
      <type>
        <coding>
          <system value="urn:oid:1.3.6.1.4.1.19376.3.276.1.5.9"/>
          <code value="ADCH"/>
          <display value="Administrative Checklisten"/>
        </coding>
      </type>
      <category>
        <coding>
          <system value="urn:oid:1.3.6.1.4.1.19376.3.276.1.5.8"/>
          <code value="BEF"/>
          <display value="Befundbericht"/>
        </coding>
      </category>
      <subject>
        <type value="Patient"/>
        <identifier>
          <type>
            <coding>
              <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/>
              <code value="KVZ10"/>
              <display value="Krankenversichertennummer"/>
            </coding>
          </type>
          <system value="http://fhir.de/sid/gkv/kvid-10"/>
          <value value="G995030566"/>
        </identifier>
        <display value="Gundlach, Monika"/>
      </subject>
      <author>
        <type value="Organization"/>
        <identifier>
          <system value="https://gematik.de/fhir/sid/telematik-id"/>
          <value value="1-2c47sd-e518"/>
        </identifier>
        <display value="Arztpraxis Dr. Thilo Weber"/>
      </author>
      <description value="Beispieldokument"/>
      <securityLabel>
        <coding>
          <system value="urn:oid:2.16.840.1.113883.5.25"/>
          <code value="N"/>
          <display value="normal"/>
        </coding>
      </securityLabel>
      <securityLabel>
        <coding>
          <system value="urn:oid:1.2.276.0.76.5.511"/>
          <code value="reports"/>
          <display value="Befunde/Diagnosen/Berichte"/>
        </coding>
      </securityLabel>
      <content>
        <attachment>
          <contentType value="application/pdf"/>
          <language value="de-DE"/>
          <url
               value="http://epa4all/epa/mhd/retrieve/v1/content/b2d5f8db-48ca-43c4-a540-6c8f2e853913.pdf"/>
          <size value="3654"/>
          <hash value="yPnibUHWIkRejf1euZCDWQ=="/>
          <title value="Neurologischer_Untersuchungsbefund.pdf"/>
          <creation value="2025-12-01T09:03:24Z"/>
        </attachment>
        <format>
          <system value="urn:oid:1.3.6.1.4.1.19376.3.276.1.5.6"/>
          <code value="urn:ihe-d:spec:PDF_A1:2005"/>
          <display value="PDF/A-1"/>
        </format>
      </content>
      <context>
        <event>
          <coding>
            <system value="urn:oid:1.3.6.1.4.1.19376.3.276.1.5.16"/>
            <code value="E200"/>
            <display value="stationärer Aufenthalt"/>
          </coding>
        </event>
        <period>
          <start value="2025-11-28"/>
        </period>
        <facilityType>
          <coding>
            <system value="urn:oid:1.3.6.1.4.1.19376.3.276.1.5.2"/>
            <code value="KHS"/>
            <display value="Krankenhaus"/>
          </coding>
        </facilityType>
        <practiceSetting>
          <coding>
            <system value="urn:oid:1.3.6.1.4.1.19376.3.276.1.5.4"/>
            <code value="NEUR"/>
            <display value="Neurologie"/>
          </coding>
        </practiceSetting>
        <related>
          <identifier>
            <system value="urn:gematik:iti:xds:2023:rootDocumentUniqueId"/>
          </identifier>
        </related>
        <related>
          <identifier>
            <value
                   value="http://epa4all/epa/mhd/retrieve/v1/content/2.25.31457958586625016607071363908764203414.pdf"/>
          </identifier>
        </related>
      </context>
    </DocumentReference>