Implementation Guide
ePA MHD Service
Version 1.1.0 - release

## : Example Fulltext Search Match - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example-fulltext-search-match"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-document-search-result-bundle"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-document-search-result-bundle>     ] )
      ] ; #
      fhir:type [ fhir:v "searchset"] ; #
      fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; #
      fhir:link ( [
    fhir:relation [ fhir:v "self" ] ;
    fhir:url [
    fhir:v "/epa/mhd/api/v1/fhir/DocumentReference?_offset=0&_count=25&_content=Test"^^xsd:anyURI ;
    fhir:l fhir:/epa/mhd/api/v1/fhir/DocumentReference?_offset=0&_count=25&_content=Test     ]
      ] ) ; #
      fhir:entry ( [
    fhir:fullUrl [
    fhir:v "http://epa4all/epa/mhd/api/v1/fhir/DocumentReference/b2d5f8db-48ca-43c4-a540-6c8f2e853913"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/mhd/api/v1/fhir/DocumentReference/b2d5f8db-48ca-43c4-a540-6c8f2e853913>     ] ;
        ( fhir:resource <http://epa4all/epa/mhd/api/v1/fhir/DocumentReference/b2d5f8db-48ca-43c4-a540-6c8f2e853913> ) ;
    fhir:search [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "snippet"^^xsd:anyURI ;
    fhir:l fhir:snippet           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Das ist ein <match>Test</match>."           ]         ] [
    fhir:url [
    fhir:v "pageNumber"^^xsd:anyURI ;
    fhir:l fhir:pageNumber           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "1"           ]         ] ) ;
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-snippet"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-snippet>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "snippet"^^xsd:anyURI ;
    fhir:l fhir:snippet           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Das ist ein anderer <match>Test</match>."           ]         ] [
    fhir:url [
    fhir:v "pageNumber"^^xsd:anyURI ;
    fhir:l fhir:pageNumber           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "23"           ]         ] ) ;
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-snippet"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-snippet>         ]       ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-total-hits"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-match-total-hits>         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 2         ]       ] ) ;
    fhir:mode [ fhir:v "match" ] ;
    fhir:score [ fhir:v 0.9 ]     ]
      ] ) . #

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