Implementation Guide
ePA MHD Service
Version 1.1.3 - release

: Example EPA MHD DocumentReference - TTL Representation

Raw ttl | Download


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

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

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

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/DocumentReference/b2d5f8db-48ca-43c4-a540-6c8f2e853913.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/DocumentReference/b2d5f8db-48ca-43c4-a540-6c8f2e853913.ttl> .