Implementation Guide
ePA Basisfunktionalitäten
Version 1.3.2 - release

: Example Patient History Bundle - 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/Bundle/example-patient-history-bundle> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-patient-history-bundle"] ;
  fhir:Bundle.type [ fhir:value "history"] ;
  fhir:Bundle.total [ fhir:value "2"^^xsd:nonNegativeInteger] ;
  fhir:Bundle.link [
     fhir:index 0 ;
     fhir:Bundle.link.relation [ fhir:value "self" ] ;
     fhir:Bundle.link.url [ fhir:value "/epa/patient/api/v1/fhir/Patient/_history" ]
  ] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/patient/api/v1/fhir/Patient/e6442a99-521b-482c-b62b-b0f809d4e951" ] ;
     fhir:Bundle.entry.resource <http://epa4all/epa/patient/api/v1/fhir/Patient/e6442a99-521b-482c-b62b-b0f809d4e951> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "Patient/e6442a99-521b-482c-b62b-b0f809d4e951" ]
     ] ;
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "200 OK" ] ;
       fhir:Bundle.entry.response.location [ fhir:value "Patient/e6442a99-521b-482c-b62b-b0f809d4e951/_history/2" ] ;
       fhir:Bundle.entry.response.lastModified [ fhir:value "2025-10-10T15:00:00.000Z"^^xsd:dateTime ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/patient/api/v1/fhir/Patient/e6442a99-521b-482c-b62b-b0f809d4e951" ] ;
     fhir:Bundle.entry.resource <http://epa4all/epa/patient/api/v1/fhir/Patient/e6442a99-521b-482c-b62b-b0f809d4e951> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "Patient" ]
     ] ;
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "201 Created" ] ;
       fhir:Bundle.entry.response.location [ fhir:value "Patient/e6442a99-521b-482c-b62b-b0f809d4e951/_history/1" ] ;
       fhir:Bundle.entry.response.lastModified [ fhir:value "2025-08-22T14:43:33.244Z"^^xsd:dateTime ]
     ]
  ] .

<http://epa4all/epa/patient/api/v1/fhir/Patient/e6442a99-521b-482c-b62b-b0f809d4e951> a fhir:Patient, fhir:Patient ;
  fhir:Resource.id [ fhir:value "e6442a99-521b-482c-b62b-b0f809d4e951"], [ fhir:value "e6442a99-521b-482c-b62b-b0f809d4e951"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2026-01-19T14:37:12+01:00"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/epa/StructureDefinition/epa-patient|1.3.0" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-patient|1.3.0>
     ]
  ], [
     fhir:Meta.versionId [ fhir:value "1" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2025-12-06T10:00:14+01:00"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/epa/StructureDefinition/epa-patient|1.3.0" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-patient|1.3.0>
     ]
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
     fhir:Identifier.value [ fhir:value "G995030566" ]
  ], [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
     fhir:Identifier.value [ fhir:value "G995030566" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.family [ fhir:value "Mustermann" ] ;
     fhir:HumanName.given [
       fhir:value "Erika" ;
       fhir:index 0
     ]
  ], [
     fhir:index 1 ;
     fhir:HumanName.use [ fhir:value "maiden" ] ;
     fhir:HumanName.family [
       fhir:value "Gabler" ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/humanname-own-name" ] ;
         fhir:Extension.valueString [ fhir:value "Gabler" ]
       ]
     ]
  ], [
     fhir:index 0 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.family [ fhir:value "Gabler" ] ;
     fhir:HumanName.given [
       fhir:value "Erika" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"], [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1964-08-12"^^xsd:date], [ fhir:value "1964-08-12"^^xsd:date] .

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

<http://hl7.org/fhir/Bundle/example-patient-history-bundle.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Bundle/example-patient-history-bundle.ttl> .