Implementation Guide
Telematikinfrastruktur (TI) Common
Version 1.2.0 - release

## : Example History Bundle - 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-history-bundle"] ; #
      fhir:type [ fhir:v "history"] ; #
      fhir:total [ fhir:v "2"^^xsd:nonNegativeInteger] ; #
      fhir:link ( [
    fhir:relation [ fhir:v "self" ] ;
    fhir:url [
    fhir:v "/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43/_history"^^xsd:anyURI ;
    fhir:l fhir:/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43/_history     ]
      ] ) ; #
      fhir:entry ( [
    fhir:fullUrl [
    fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43>     ] ;
    fhir:request [
    fhir:method [ fhir:v "DELETE" ] ;
    fhir:url [
    fhir:v "MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"^^xsd:anyURI ;
    fhir:l fhir:MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43       ]     ] ;
    fhir:response [
    fhir:status [ fhir:v "200 OK" ] ;
    fhir:lastModified [ fhir:v "2025-08-22T15:00:00.000Z"^^xsd:dateTime ]     ]
      ] [
    fhir:fullUrl [
    fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43>     ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43> ) ;
    fhir:request [
    fhir:method [ fhir:v "POST" ] ;
    fhir:url [
    fhir:v "MedicationDispense"^^xsd:anyURI ;
    fhir:l fhir:MedicationDispense       ]     ] ;
    fhir:response [
    fhir:status [ fhir:v "201 Created" ] ;
    fhir:location [
    fhir:v "MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43/_history/1"^^xsd:anyURI ;
    fhir:l fhir:MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43/_history/1       ] ;
    fhir:lastModified [ fhir:v "2025-08-22T14:43:33.244Z"^^xsd:dateTime ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43> a fhir:MedicationDispense ;
      fhir:id [ fhir:v "4e6e1623-778e-44a3-b208-8479f5339e43"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2025-08-22T14:43:33.244Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension>     ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier>       ] ;
    fhir:value [ fhir:v "162.153.303.257.459_20250301" ]     ]
      ] ) ; #
      fhir:status [ fhir:v "completed"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/16e5611a-911c-4c0e-a705-43b0e4e79cf6 ;
    fhir:reference [ fhir:v "Medication/16e5611a-911c-4c0e-a705-43b0e4e79cf6" ]
      ] ; #
      fhir:subject [
    fhir:identifier [
    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 "X110411319" ]     ]
      ] ; #
      fhir:performer ( [
    fhir:actor [
    fhir:l fhir:Organization/a2ce62fc-1f29-4759-863e-1a1ca7f9669e ;
    fhir:reference [ fhir:v "Organization/a2ce62fc-1f29-4759-863e-1a1ca7f9669e" ]     ]
      ] ) ; #
      fhir:authorizingPrescription ( [
    fhir:l fhir:MedicationRequest/f434862b-9bf8-414d-8b94-5eaa0b4bbf01 ;
    fhir:reference [ fhir:v "MedicationRequest/f434862b-9bf8-414d-8b94-5eaa0b4bbf01" ]
      ] ) ; #
      fhir:whenHandedOver [ fhir:v "2025-08-22"^^xsd:date] ; #
      fhir:dosageInstruction ( [
    fhir:text [ fhir:v "1-0-0-0" ]
      ] ) ; #
      fhir:substitution [
    fhir:wasSubstituted [ fhir:v false ]
      ] . #