Implementation Guide
ePA MHD Service
Version 1.0.0 - release

: Example Fulltext Search Match - XML Representation

Raw xml | Download


<Bundle xmlns="http://hl7.org/fhir">
  <id value="example-fulltext-search-match"/>
  <meta>
    <profile
             value="https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-document-search-result-bundle"/>
  </meta>
  <type value="searchset"/>
  <total value="1"/>
  <link>
    <relation value="self"/>
    <url
         value="/epa/mhd/api/v1/fhir/DocumentReference?_offset=0&amp;_count=25&amp;_content=Test"/>
  </link>
  <entry>
    <fullUrl
             value="http://epa4all/epa/mhd/api/v1/fhir/DocumentReference/b2d5f8db-48ca-43c4-a540-6c8f2e853913"/>
    <resource>
      <DocumentReference>
        <id value="b2d5f8db-48ca-43c4-a540-6c8f2e853913"/>
        <meta>
          <profile
                   value="https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-mhd-document-reference"/>
        </meta>
        <masterIdentifier>
          <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>
        <status value="current"/>
        <type>
          <coding>
            <system
                    value="http://www.ihe-d.de/fhir/CodeSystem/Dokumententypen"/>
            <code value="ADCH"/>
            <display value="Administrative Checklisten"/>
          </coding>
        </type>
        <category>
          <coding>
            <system
                    value="http://www.ihe-d.de/fhir/CodeSystem/Dokumentenklassen"/>
            <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="X110411319"/>
          </identifier>
        </subject>
        <author>
          <type value="Organization"/>
          <identifier>
            <system value="https://gematik.de/fhir/sid/telematik-id"/>
            <value value="1-2c47sd-e518"/>
          </identifier>
        </author>
        <description value="Beispieldokument"/>
        <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>
    </resource>
    <search>
      <extension
                 url="https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-snippet">
        <extension url="snippet">
          <valueString value="Das ist ein &lt;match&gt;Test&lt;/match&gt;."/>
        </extension>
        <extension url="pageNumber">
          <valueString value="1"/>
        </extension>
      </extension>
      <extension
                 url="https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-snippet">
        <extension url="snippet">
          <valueString
                       value="Das ist ein anderer &lt;match&gt;Test&lt;/match&gt;."/>
        </extension>
        <extension url="pageNumber">
          <valueString value="23"/>
        </extension>
      </extension>
      <extension
                 url="https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-total-hits">
        <valueInteger value="2"/>
      </extension>
      <mode value="match"/>
      <score value="0.9"/>
    </search>
  </entry>
</Bundle>