Implementation Guide
ePA Medication Service
Version 1.3.2 - release

## : MedicationPlanChronologyLogBundle - 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 "medication-plan-chronology-log-bundle"] ; #
      fhir:identifier [
    fhir:system [
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
    fhir:l <urn:ietf:rfc:3986>     ] ;
    fhir:value [ fhir:v "urn:uuid:e83d33d2-5dfe-4e23-a9fc-557c10a02f5e" ]
      ] ; #
      fhir:type [ fhir:v "searchset"] ; #
      fhir:timestamp [ fhir:v "2026-08-03T14:10:00+01:00"^^xsd:dateTime] ; #
      fhir:total [ fhir:v "3"^^xsd:nonNegativeInteger] ; #
      fhir:link ( [
    fhir:relation [ fhir:v "self" ] ;
    fhir:url [
    fhir:v "http://epa4all/epa/medication/api/v1/fhir/$medication-plan-log&_count=10&_offset=0"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/$medication-plan-log&_count=10&_offset=0>     ]
      ] ) ; #
      fhir:entry ( [
    fhir:fullUrl [
    fhir:v "http://epa4all/epa/medication/api/v1/fhir/Provenance/283ea1a2-abbe-4404-b412-d27d45e8a845"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/Provenance/283ea1a2-abbe-4404-b412-d27d45e8a845>     ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/283ea1a2-abbe-4404-b412-d27d45e8a845> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] [
    fhir:fullUrl [
    fhir:v "http://epa4all/epa/medication/api/v1/fhir/Provenance/75f7a1f9-5bc8-4ff8-884e-120caf30dde5"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/Provenance/75f7a1f9-5bc8-4ff8-884e-120caf30dde5>     ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/75f7a1f9-5bc8-4ff8-884e-120caf30dde5> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] [
    fhir:fullUrl [
    fhir:v "http://epa4all/epa/medication/api/v1/fhir/Provenance/afacd2a0-f3e8-4cc1-ac47-be7a44fe01a3"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/Provenance/afacd2a0-f3e8-4cc1-ac47-be7a44fe01a3>     ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/afacd2a0-f3e8-4cc1-ac47-be7a44fe01a3> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/283ea1a2-abbe-4404-b412-d27d45e8a845> a fhir:Provenance ;
      fhir:id [ fhir:v "283ea1a2-abbe-4404-b412-d27d45e8a845"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-08-03T14:00:00+01:00"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension>     ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true     ]
      ] ) ; #
      fhir:target ( [
    fhir:l fhir:MedicationRequest/29d46448-b585-4501-9660-a1236436560f/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/29d46448-b585-4501-9660-a1236436560f/_history/1" ]
      ] [
    fhir:l fhir:MedicationRequest/9f5200a9-deaf-4c11-ab68-fc4d1c9db92b/_history/2 ;
    fhir:reference [ fhir:v "MedicationRequest/9f5200a9-deaf-4c11-ab68-fc4d1c9db92b/_history/2" ]
      ] [
    fhir:l fhir:MedicationRequest/f9a249c2-8304-45d9-8b8f-b2865351b17b/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/f9a249c2-8304-45d9-8b8f-b2865351b17b/_history/1" ]
      ] [
    fhir:l fhir:MedicationRequest/da4009cc-ee0d-40a4-92fc-402fd6b0c129/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/da4009cc-ee0d-40a4-92fc-402fd6b0c129/_history/1" ]
      ] ) ; #
      fhir:occurred [
    a fhir:DateTime ;
    fhir:v "2026-08-03T14:00:00+01:00"^^xsd:dateTime
      ] ; #
      fhir:recorded [ fhir:v "2026-08-03T14:00:00+01:00"^^xsd:dateTime] ; #
      fhir:activity [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-DataOperation>       ] ;
    fhir:code [ fhir:v "UPDATE" ] ;
    fhir:display [ fhir:v "revise" ]     ] )
      ] ; #
      fhir:agent ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/provenance-participant-type>         ] ;
    fhir:code [ fhir:v "author" ]       ] )     ] ;
    fhir:who [
    fhir:l fhir:Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5 ;
    fhir:reference [ fhir:v "Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5" ] ;
    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 "9-2.58.00000040" ]       ] ;
    fhir:display [ fhir:v "gematik Apotheke" ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/75f7a1f9-5bc8-4ff8-884e-120caf30dde5> a fhir:Provenance ;
      fhir:id [ fhir:v "75f7a1f9-5bc8-4ff8-884e-120caf30dde5"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-07-11T14:20:00+01:00"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension>     ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true     ]
      ] ) ; #
      fhir:target ( [
    fhir:l fhir:MedicationRequest/29d46448-b585-4501-9660-a1236436560f/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/29d46448-b585-4501-9660-a1236436560f/_history/1" ]
      ] [
    fhir:l fhir:MedicationRequest/9f5200a9-deaf-4c11-ab68-fc4d1c9db92b/_history/2 ;
    fhir:reference [ fhir:v "MedicationRequest/9f5200a9-deaf-4c11-ab68-fc4d1c9db92b/_history/2" ]
      ] [
    fhir:l fhir:MedicationRequest/f9a249c2-8304-45d9-8b8f-b2865351b17b/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/f9a249c2-8304-45d9-8b8f-b2865351b17b/_history/1" ]
      ] ) ; #
      fhir:occurred [
    a fhir:DateTime ;
    fhir:v "2026-07-11T14:20:00+01:00"^^xsd:dateTime
      ] ; #
      fhir:recorded [ fhir:v "2026-07-11T14:20:00+01:00"^^xsd:dateTime] ; #
      fhir:activity [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-DataOperation>       ] ;
    fhir:code [ fhir:v "UPDATE" ] ;
    fhir:display [ fhir:v "revise" ]     ] )
      ] ; #
      fhir:agent ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/provenance-participant-type>         ] ;
    fhir:code [ fhir:v "author" ]       ] )     ] ;
    fhir:who [
    fhir:l fhir:Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5 ;
    fhir:reference [ fhir:v "Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5" ] ;
    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 "9-2.58.00000040" ]       ] ;
    fhir:display [ fhir:v "gematik Apotheke" ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/afacd2a0-f3e8-4cc1-ac47-be7a44fe01a3> a fhir:Provenance ;
      fhir:id [ fhir:v "afacd2a0-f3e8-4cc1-ac47-be7a44fe01a3"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-07-11T11:15:00+01:00"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension>     ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true     ]
      ] ) ; #
      fhir:target ( [
    fhir:l fhir:MedicationRequest/29d46448-b585-4501-9660-a1236436560f/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/29d46448-b585-4501-9660-a1236436560f/_history/1" ]
      ] [
    fhir:l fhir:MedicationRequest/9f5200a9-deaf-4c11-ab68-fc4d1c9db92b/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/9f5200a9-deaf-4c11-ab68-fc4d1c9db92b/_history/1" ]
      ] [
    fhir:l fhir:MedicationRequest/f9a249c2-8304-45d9-8b8f-b2865351b17b/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/f9a249c2-8304-45d9-8b8f-b2865351b17b/_history/1" ]
      ] ) ; #
      fhir:occurred [
    a fhir:DateTime ;
    fhir:v "2026-07-11T11:15:00+01:00"^^xsd:dateTime
      ] ; #
      fhir:recorded [ fhir:v "2026-07-11T11:15:00+01:00"^^xsd:dateTime] ; #
      fhir:activity [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-DataOperation>       ] ;
    fhir:code [ fhir:v "UPDATE" ] ;
    fhir:display [ fhir:v "revise" ]     ] )
      ] ; #
      fhir:agent ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/provenance-participant-type>         ] ;
    fhir:code [ fhir:v "author" ]       ] )     ] ;
    fhir:who [
    fhir:l fhir:Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5 ;
    fhir:reference [ fhir:v "Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5" ] ;
    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 "9-2.58.00000040" ]       ] ;
    fhir:display [ fhir:v "gematik Apotheke" ]     ]
      ] ) . #