Implementation Guide
ePA Medication Service
Version 1.3.5 - release

## : ExampleEpaGetMedicationListBundle - 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 sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

    <http://hl7.org/fhir/Bundle/example-get-medication-list-bundle1> a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "example-get-medication-list-bundle1"] ;
      fhir:Bundle.identifier [
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
         fhir:Identifier.value [ fhir:value "urn:uuid:9e1f5895-ab0b-4237-856d-fa1065631400" ]
      ] ;
      fhir:Bundle.type [ fhir:value "searchset"] ;
      fhir:Bundle.timestamp [ fhir:value "2025-01-01T00:00:00Z"^^xsd:dateTime] ;
      fhir:Bundle.total [ fhir:value "16"^^xsd:nonNegativeInteger] ;
      fhir:Bundle.link [
         fhir:index 0 ;
         fhir:Bundle.link.relation [ fhir:value "self" ] ;
         fhir:Bundle.link.url [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/$medication-list&date=le2025-12-24&date=ge2025-01-01&_count=10&_offset=0" ]
      ], [
         fhir:index 1 ;
         fhir:Bundle.link.relation [ fhir:value "first" ] ;
         fhir:Bundle.link.url [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/$medication-list&date=le2025-12-24&date=ge2025-01-01&_count=10&_offset=0" ]
      ], [
         fhir:index 2 ;
         fhir:Bundle.link.relation [ fhir:value "next" ] ;
         fhir:Bundle.link.url [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/$medication-list&date=le2025-12-24&date=ge2025-01-01&_count=10&_offset=10" ]
      ], [
         fhir:index 3 ;
         fhir:Bundle.link.relation [ fhir:value "last" ] ;
         fhir:Bundle.link.url [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/$medication-list&date=le2025-12-24&date=ge2025-01-01&_count=10&_offset=10" ]
      ] ;
      fhir:Bundle.entry [
         fhir:index 0 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]
         ]
      ], [
         fhir:index 2 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Provenance/de42aa65-f84e-4e96-acfb-b9fd5e104b2d" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/de42aa65-f84e-4e96-acfb-b9fd5e104b2d> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 3 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 4 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 5 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 6 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 7 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 8 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 9 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 10 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]
         ]
      ], [
         fhir:index 11 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Provenance/f35a13e2-d82c-4826-97d7-b7e32721c4af" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/f35a13e2-d82c-4826-97d7-b7e32721c4af> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 12 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 13 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 14 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]
         ]
      ], [
         fhir:index 15 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 16 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 17 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 18 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c" ] ;
         fhir:Bundle.entry.resource <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087> a fhir:Patient ;
      fhir:Resource.id [ fhir:value "641f4cf5-e54b-406c-b8a8-1d3292fd5087"] ;
      fhir:Resource.meta [
         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 "X110411319" ]
      ] ;
      fhir:Patient.name [
         fhir:index 0 ;
         fhir:HumanName.use [ fhir:value "official" ] ;
         fhir:HumanName.family [ fhir:value "Mustermann" ] ;
         fhir:HumanName.given [
           fhir:value "Max" ;
           fhir:index 0
         ]
      ] ;
      fhir:Patient.gender [ fhir:value "male"] ;
      fhir:Patient.birthDate [ fhir:value "1976-02-01"^^xsd:date] .

    <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7> a fhir:MedicationStatement ;
      fhir:Resource.id [ fhir:value "f3988023-2313-4645-bd6b-f9e37cfb6fc7"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "2" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2025-05-22T14:43:34.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
           fhir:Identifier.value [ fhir:value "160.100.000.000.006.24_20250520" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" ] ;
         fhir:Extension.valueCode [ fhir:value "PRESCRIPTION" ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction" ] ;
         fhir:Extension.valueMarkdown [ fhir:value "1-0-1-0 Stück" ]
      ], [
         fhir:index 3 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
           fhir:Extension.valueString [ fhir:value "1.0.1" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "language" ] ;
           fhir:Extension.valueCode [ fhir:value "de-DE" ]
         ] ;
         fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
      ] ;
      fhir:MedicationStatement.status [ fhir:value "unknown"] ;
      fhir:MedicationStatement.medicationReference [
         fhir:link <http://hl7.org/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> ;
         fhir:Reference.reference [ fhir:value "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd" ]
      ] ;
      fhir:MedicationStatement.subject [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
           fhir:Identifier.value [ fhir:value "X110411319" ]
         ]
      ] ;
      fhir:MedicationStatement.effectivePeriod [
         fhir:Period.start [ fhir:value "2025-05-22"^^xsd:date ]
      ] ;
      fhir:MedicationStatement.dateAsserted [ fhir:value "2025-05-22"^^xsd:date] ;
      fhir:MedicationStatement.derivedFrom [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72> ;
         fhir:Reference.reference [ fhir:value "MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72" ]
      ], [
         fhir:index 1 ;
         fhir:link <http://hl7.org/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43> ;
         fhir:Reference.reference [ fhir:value "MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43" ]
      ] ;
      fhir:MedicationStatement.dosage [
         fhir:index 0 ;
         fhir:Dosage.timing [
           fhir:Timing.repeat [
             fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ] ;
             fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
             fhir:Timing.repeat.when [
               fhir:value "MORN" ;
               fhir:index 0
             ], [
               fhir:value "EVE" ;
               fhir:index 1
             ]
           ]
         ] ;
         fhir:Dosage.doseAndRate [
           fhir:index 0 ;
           fhir:Dosage.doseAndRate.doseQuantity [
             fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Quantity.unit [ fhir:value "Stück" ] ;
             fhir:Quantity.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" ] ;
             fhir:Quantity.code [ fhir:value "1" ]
           ]
         ]
      ] .

    <http://hl7.org/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> a fhir:Medication .

    <http://hl7.org/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72> a fhir:MedicationRequest .

    <http://hl7.org/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43> a fhir:MedicationDispense .

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/de42aa65-f84e-4e96-acfb-b9fd5e104b2d> a fhir:Provenance ;
      fhir:Resource.id [ fhir:value "de42aa65-f84e-4e96-acfb-b9fd5e104b2d"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0>
         ]
      ] ;
      fhir:Provenance.target [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7/_history/2> ;
         fhir:Reference.reference [ fhir:value "MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7/_history/2" ]
      ] ;
      fhir:Provenance.recorded [ fhir:value "2025-05-22T14:43:34.244Z"^^xsd:dateTime] ;
      fhir:Provenance.activity [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-DataOperation" ] ;
           fhir:Coding.code [ fhir:value "UPDATE" ]
         ]
      ] ;
      fhir:Provenance.agent [
         fhir:index 0 ;
         fhir:Provenance.agent.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Provenance.agent.who [
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/epa-fhir-data-service" ] ;
             fhir:Identifier.value [ fhir:value "MEDICATIONSVC" ]
           ] ;
           fhir:Reference.display [ fhir:value "ePA Medication Service" ]
         ]
      ] .

    <http://hl7.org/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7/_history/2> a fhir:MedicationStatement .

    <http://epa4all/epa/medication/api/v1/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> a fhir:Medication ;
      fhir:Resource.id [ fhir:value "bb91cde8-0426-4f4b-a766-5d818d0605bd"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "2" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2025-05-22T14:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
           fhir:Identifier.value [ fhir:value "160.100.000.000.006.24_20250520" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension" ] ;
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" ] ;
           fhir:Coding.code [ fhir:value "00" ]
         ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "http://fhir.de/StructureDefinition/normgroesse" ] ;
         fhir:Extension.valueCode [ fhir:value "N1" ]
      ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension" ] ;
         fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
      ] ;
      fhir:Medication.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier" ] ;
         fhir:Identifier.value [ fhir:value "936396A4B0EAD8DE8ACD0F32BBC410523150A2F943908D3C9600AF253BE4B93A" ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier" ] ;
         fhir:Identifier.value [ fhir:value "ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24" ]
      ] ;
      fhir:Medication.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://fhir.de/CodeSystem/ifa/pzn" ] ;
           fhir:Coding.code [ fhir:value "00814665" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "Januvia® 50 mg 28 Filmtabletten N1" ]
      ] ;
      fhir:Medication.status [ fhir:value "active"] ;
      fhir:Medication.form [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" ] ;
           fhir:Coding.code [ fhir:value "FTA" ] ;
           fhir:Coding.display [ fhir:value "Tabletten" ]
         ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72> a fhir:MedicationRequest ;
      fhir:Resource.id [ fhir:value "3191d752-3adf-4c7f-848d-8d43766fed72"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "2" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2025-05-22T14:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "indicator" ] ;
           fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
         ] ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension" ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction" ] ;
         fhir:Extension.valueMarkdown [ fhir:value "1-0-1-0 Stück" ]
      ], [
         fhir:index 2 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
           fhir:Extension.valueString [ fhir:value "1.0.1" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "language" ] ;
           fhir:Extension.valueCode [ fhir:value "de-DE" ]
         ] ;
         fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
      ] ;
      fhir:MedicationRequest.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
         fhir:Identifier.value [ fhir:value "160.100.000.000.006.24_20250520" ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier" ] ;
         fhir:Identifier.value [ fhir:value "ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24" ]
      ] ;
      fhir:MedicationRequest.status [ fhir:value "active"] ;
      fhir:MedicationRequest.intent [ fhir:value "filler-order"] ;
      fhir:MedicationRequest.medicationReference [
         fhir:link <http://hl7.org/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> ;
         fhir:Reference.reference [ fhir:value "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd" ]
      ] ;
      fhir:MedicationRequest.subject [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
           fhir:Identifier.value [ fhir:value "X110411319" ]
         ]
      ] ;
      fhir:MedicationRequest.authoredOn [ fhir:value "2025-05-20"^^xsd:date] ;
      fhir:MedicationRequest.requester [
         fhir:link <http://hl7.org/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa> ;
         fhir:Reference.reference [ fhir:value "PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa" ] ;
         fhir:Reference.display [ fhir:value "Dr. Max Manfred Mustermann / Praxis Dr. med. Max Mustermann" ]
      ] ;
      fhir:MedicationRequest.dosageInstruction [
         fhir:index 0 ;
         fhir:Dosage.timing [
           fhir:Timing.repeat [
             fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ] ;
             fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
             fhir:Timing.repeat.when [
               fhir:value "MORN" ;
               fhir:index 0
             ], [
               fhir:value "EVE" ;
               fhir:index 1
             ]
           ]
         ] ;
         fhir:Dosage.doseAndRate [
           fhir:index 0 ;
           fhir:Dosage.doseAndRate.doseQuantity [
             fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Quantity.unit [ fhir:value "Stück" ] ;
             fhir:Quantity.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" ] ;
             fhir:Quantity.code [ fhir:value "1" ]
           ]
         ]
      ] ;
      fhir:MedicationRequest.dispenseRequest [
         fhir:MedicationRequest.dispenseRequest.quantity [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
           fhir:Quantity.code [ fhir:value "{Package}" ]
         ]
      ] ;
      fhir:MedicationRequest.substitution [
         fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "true"^^xsd:boolean ]
      ] .

    <http://hl7.org/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa> a fhir:PractitionerRole .

    <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43> a fhir:MedicationDispense ;
      fhir:Resource.id [ fhir:value "4e6e1623-778e-44a3-b208-8479f5339e43"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "1" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2025-05-22T14:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
           fhir:Identifier.value [ fhir:value "160.100.000.000.006.24_20250520" ]
         ]
      ] ;
      fhir:MedicationDispense.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier" ] ;
         fhir:Identifier.value [ fhir:value "5d8fbf7c-bdb0-44c2-95fe-423ae0404ccd_160.100.000.000.006.24" ]
      ] ;
      fhir:MedicationDispense.status [ fhir:value "completed"] ;
      fhir:MedicationDispense.medicationReference [
         fhir:link <http://hl7.org/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> ;
         fhir:Reference.reference [ fhir:value "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd" ]
      ] ;
      fhir:MedicationDispense.subject [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
           fhir:Identifier.value [ fhir:value "X110411319" ]
         ]
      ] ;
      fhir:MedicationDispense.performer [
         fhir:index 0 ;
         fhir:MedicationDispense.performer.actor [
           fhir:link <http://hl7.org/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8> ;
           fhir:Reference.reference [ fhir:value "Organization/151f1697-7512-4e21-9466-1b75207475d8" ] ;
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0 ;
                 fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
                 fhir:Coding.code [ fhir:value "PRN" ] ;
                 fhir:Coding.display [ fhir:value "Provider number" ]
               ]
             ] ;
             fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
             fhir:Identifier.value [ fhir:value "9-2.58.00000023" ]
           ] ;
           fhir:Reference.display [ fhir:value "gematik Apotheke" ]
         ]
      ] ;
      fhir:MedicationDispense.authorizingPrescription [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72> ;
         fhir:Reference.reference [ fhir:value "MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72" ]
      ] ;
      fhir:MedicationDispense.whenHandedOver [ fhir:value "2025-05-22"^^xsd:date] ;
      fhir:MedicationDispense.substitution [
         fhir:MedicationDispense.substitution.wasSubstituted [ fhir:value "false"^^xsd:boolean ]
      ] .

    <http://hl7.org/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8> a fhir:Organization .

    <http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa> a fhir:PractitionerRole ;
      fhir:Resource.id [ fhir:value "73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"] ;
      fhir:PractitionerRole.practitioner [
         fhir:link <http://hl7.org/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c> ;
         fhir:Reference.reference [ fhir:value "Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
               fhir:Coding.code [ fhir:value "PRN" ] ;
               fhir:Coding.display [ fhir:value "Provider number" ]
             ]
           ] ;
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
           fhir:Identifier.value [ fhir:value "1-1.58.00000056" ]
         ] ;
         fhir:Reference.display [ fhir:value "Dr. Max Manfred Mustermann" ]
      ] ;
      fhir:PractitionerRole.organization [
         fhir:link <http://hl7.org/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596> ;
         fhir:Reference.reference [ fhir:value "Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
               fhir:Coding.code [ fhir:value "PRN" ] ;
               fhir:Coding.display [ fhir:value "Provider number" ]
             ]
           ] ;
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
           fhir:Identifier.value [ fhir:value "9-2.58.00000045" ]
         ] ;
         fhir:Reference.display [ fhir:value "Praxis Dr. med. Max Mustermann" ]
      ] .

    <http://hl7.org/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c> a fhir:Practitioner .

    <http://hl7.org/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596> a fhir:Organization .

    <http://epa4all/epa/medication/api/v1/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596> a fhir:Organization ;
      fhir:Resource.id [ fhir:value "ad7dc0e7-cb44-4740-ba67-cb573e29d596"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.1" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.1>
         ] ;
         fhir:Meta.tag [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/directory/CodeSystem/Origin" ] ;
           fhir:Coding.code [ fhir:value "ldap" ]
         ]
      ] ;
      fhir:Organization.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
         fhir:Identifier.value [ fhir:value "9-2.58.00000045" ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.system [ fhir:value "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR" ] ;
         fhir:Identifier.value [ fhir:value "012300004" ]
      ] ;
      fhir:Organization.active [ fhir:value "true"^^xsd:boolean] ;
      fhir:Organization.type [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID" ] ;
           fhir:Coding.code [ fhir:value "1.2.276.0.76.4.50" ] ;
           fhir:Coding.display [ fhir:value "Betriebsstätte Arzt" ]
         ]
      ] ;
      fhir:Organization.name [ fhir:value "Praxis Dr. med. Max Mustermann"] ;
      fhir:Organization.address [
         fhir:index 0 ;
         fhir:Address.type [ fhir:value "both" ] ;
         fhir:Address.line [
           fhir:value "Musterstr. 1" ;
           fhir:index 0
         ], [
           fhir:value "Mitte" ;
           fhir:index 1
         ] ;
         fhir:Address.city [ fhir:value "Darmstadt" ] ;
         fhir:Address.postalCode [ fhir:value "64283" ] ;
         fhir:Address.country [ fhir:value "DE" ]
      ], [
         fhir:index 1 ;
         fhir:Address.type [ fhir:value "postal" ] ;
         fhir:Address.line [
           fhir:value "45678" ;
           fhir:index 0
         ] ;
         fhir:Address.city [ fhir:value "Darmstadt" ] ;
         fhir:Address.country [ fhir:value "DE" ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c> a fhir:Practitioner ;
      fhir:Resource.id [ fhir:value "498c345f-31f5-4da6-9f04-00fa2bc8af7c"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|1.0.1" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|1.0.1>
         ] ;
         fhir:Meta.tag [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/directory/CodeSystem/Origin" ] ;
           fhir:Coding.code [ fhir:value "ldap" ]
         ]
      ] ;
      fhir:Practitioner.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
         fhir:Identifier.value [ fhir:value "1-1.58.00000056" ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.system [ fhir:value "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR" ] ;
         fhir:Identifier.value [ fhir:value "123456789" ]
      ] ;
      fhir:Practitioner.active [ fhir:value "true"^^xsd:boolean] ;
      fhir:Practitioner.name [
         fhir:index 0 ;
         fhir:HumanName.text [ fhir:value "Dr. Max Manfred Mustermann" ] ;
         fhir:HumanName.family [ fhir:value "Musterman" ] ;
         fhir:HumanName.given [
           fhir:value "Max" ;
           fhir:index 0
         ], [
           fhir:value "Manfred" ;
           fhir:index 1
         ] ;
         fhir:HumanName.prefix [
           fhir:value "Dr." ;
           fhir:index 0
         ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8> a fhir:Organization ;
      fhir:Resource.id [ fhir:value "151f1697-7512-4e21-9466-1b75207475d8"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.1" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.1>
         ] ;
         fhir:Meta.tag [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/directory/CodeSystem/Origin" ] ;
           fhir:Coding.code [ fhir:value "ldap" ]
         ]
      ] ;
      fhir:Organization.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
         fhir:Identifier.value [ fhir:value "9-2.58.00000023" ]
      ] ;
      fhir:Organization.active [ fhir:value "true"^^xsd:boolean] ;
      fhir:Organization.type [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID" ] ;
           fhir:Coding.code [ fhir:value "1.2.276.0.76.4.54" ] ;
           fhir:Coding.display [ fhir:value "Öffentliche Apotheke" ]
         ]
      ] ;
      fhir:Organization.name [ fhir:value "gematik Apotheke"] ;
      fhir:Organization.alias [
         fhir:value "Apotheke" ;
         fhir:index 0
      ] ;
      fhir:Organization.address [
         fhir:index 0 ;
         fhir:Address.text [ fhir:value "gematik Apotheke\nFriedrichstr. 136,\n10117 Berlin" ] ;
         fhir:Address.line [
           fhir:value "Friedrichstr. 136" ;
           fhir:index 0
         ] ;
         fhir:Address.city [ fhir:value "Berlin" ] ;
         fhir:Address.district [ fhir:value "Mitte" ] ;
         fhir:Address.state [ fhir:value "Berlin" ] ;
         fhir:Address.postalCode [ fhir:value "10117" ] ;
         fhir:Address.country [ fhir:value "DE" ]
      ] ;
      fhir:Organization.contact [
         fhir:index 0 ;
         fhir:Organization.contact.purpose [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/contactentity-type" ] ;
             fhir:Coding.code [ fhir:value "ADMIN" ]
           ]
         ] ;
         fhir:Organization.contact.name [
           fhir:HumanName.text [ fhir:value "gematik ITSM" ]
         ] ;
         fhir:Organization.contact.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "email" ] ;
           fhir:ContactPoint.value [ fhir:value "betrieb@gematik.de" ]
         ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784> a fhir:MedicationStatement ;
      fhir:Resource.id [ fhir:value "1cb0f018-178d-4488-a6b4-2be32dbda784"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "1" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2026-08-18T14:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" ] ;
         fhir:Extension.valueCode [ fhir:value "MANUAL" ]
      ] ;
      fhir:MedicationStatement.status [ fhir:value "unknown"] ;
      fhir:MedicationStatement.medicationReference [
         fhir:link <http://hl7.org/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d> ;
         fhir:Reference.reference [ fhir:value "Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d" ]
      ] ;
      fhir:MedicationStatement.subject [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
           fhir:Identifier.value [ fhir:value "X110411319" ]
         ]
      ] ;
      fhir:MedicationStatement.effectivePeriod [
         fhir:Period.start [ fhir:value "2026-08-18"^^xsd:date ]
      ] ;
      fhir:MedicationStatement.dateAsserted [ fhir:value "2026-08-18"^^xsd:date] .

    <http://hl7.org/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d> a fhir:Medication .

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/f35a13e2-d82c-4826-97d7-b7e32721c4af> a fhir:Provenance ;
      fhir:Resource.id [ fhir:value "f35a13e2-d82c-4826-97d7-b7e32721c4af"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0>
         ]
      ] ;
      fhir:Provenance.target [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784/_history/1> ;
         fhir:Reference.reference [ fhir:value "MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784/_history/1" ]
      ] ;
      fhir:Provenance.recorded [ fhir:value "2026-08-18T14:43:33.344Z"^^xsd:dateTime] ;
      fhir:Provenance.activity [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-DataOperation" ] ;
           fhir:Coding.code [ fhir:value "CREATE" ]
         ]
      ] ;
      fhir:Provenance.agent [
         fhir:index 0 ;
         fhir:Provenance.agent.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Provenance.agent.who [
           fhir:link <http://hl7.org/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5> ;
           fhir:Reference.reference [ fhir:value "Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5" ] ;
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0 ;
                 fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
                 fhir:Coding.code [ fhir:value "PRN" ]
               ]
             ] ;
             fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
             fhir:Identifier.value [ fhir:value "9-2.58.00000060" ]
           ] ;
           fhir:Reference.display [ fhir:value "Die Apotheke" ]
         ]
      ] .

    <http://hl7.org/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784/_history/1> a fhir:MedicationStatement .

    <http://hl7.org/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5> a fhir:Organization .

    <http://epa4all/epa/medication/api/v1/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d> a fhir:Medication ;
      fhir:Resource.id [ fhir:value "ef5d5baf-0c42-4240-9604-7fba9cea926d"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "1" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2026-08-18T14:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0>
         ]
      ] ;
      fhir:Medication.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier" ] ;
         fhir:Identifier.value [ fhir:value "004C0F718C63EFADC20D838B772BD4DC4C4E6EB31293B6F689E624534A9C56CD" ]
      ] ;
      fhir:Medication.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://fhir.de/CodeSystem/ifa/pzn" ] ;
           fhir:Coding.code [ fhir:value "11722423" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "IBU-RATIOPHARM direkt 400 mg Pulver zum Einnehmen 20 St Pulver" ]
      ] ;
      fhir:Medication.form [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" ] ;
           fhir:Coding.code [ fhir:value "PUE" ] ;
           fhir:Coding.display [ fhir:value "Pulver zum Einnehmen" ]
         ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5> a fhir:Organization ;
      fhir:Resource.id [ fhir:value "8B421590-9F7F-46BE-BD1E-C987063AC4F5"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/ti/StructureDefinition/ti-organization|1.1.1" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-organization|1.1.1>
         ]
      ] ;
      fhir:Organization.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
         fhir:Identifier.value [ fhir:value "9-2.58.00000060" ]
      ] ;
      fhir:Organization.active [ fhir:value "true"^^xsd:boolean] ;
      fhir:Organization.type [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID" ] ;
           fhir:Coding.code [ fhir:value "1.2.276.0.76.4.54" ] ;
           fhir:Coding.display [ fhir:value "Öffentliche Apotheke" ]
         ]
      ] ;
      fhir:Organization.name [ fhir:value "Die Apotheke"] ;
      fhir:Organization.alias [
         fhir:value "Apotheke" ;
         fhir:index 0
      ] ;
      fhir:Organization.address [
         fhir:index 0 ;
         fhir:Address.text [ fhir:value "Die Apotheke\nFriedrichstr. 136,\n10117 Berlin" ] ;
         fhir:Address.line [
           fhir:value "Friedrichstr. 136" ;
           fhir:index 0
         ] ;
         fhir:Address.city [ fhir:value "Berlin" ] ;
         fhir:Address.district [ fhir:value "Mitte" ] ;
         fhir:Address.state [ fhir:value "Berlin" ] ;
         fhir:Address.postalCode [ fhir:value "10117" ] ;
         fhir:Address.country [ fhir:value "DE" ]
      ] ;
      fhir:Organization.contact [
         fhir:index 0 ;
         fhir:Organization.contact.purpose [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/contactentity-type" ] ;
             fhir:Coding.code [ fhir:value "ADMIN" ]
           ]
         ] ;
         fhir:Organization.contact.name [
           fhir:HumanName.text [ fhir:value "gematik ITSM" ]
         ] ;
         fhir:Organization.contact.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "email" ] ;
           fhir:ContactPoint.value [ fhir:value "betrieb@gematik.de" ]
         ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c> a fhir:MedicationStatement ;
      fhir:Resource.id [ fhir:value "f29f1d0c-be05-4b0d-a335-3e508da39c0c"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "2" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2026-11-01T15:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
           fhir:Identifier.value [ fhir:value "160.100.000.000.007.24_20261101" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" ] ;
         fhir:Extension.valueCode [ fhir:value "PRESCRIPTION" ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction" ] ;
         fhir:Extension.valueMarkdown [ fhir:value "1-0-0-0 Stück" ]
      ], [
         fhir:index 3 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
           fhir:Extension.valueString [ fhir:value "1.0.1" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "language" ] ;
           fhir:Extension.valueCode [ fhir:value "de-DE" ]
         ] ;
         fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
      ] ;
      fhir:MedicationStatement.basedOn [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5> ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension" ] ;
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
         ] ;
         fhir:Reference.reference [ fhir:value "MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5" ]
      ] ;
      fhir:MedicationStatement.status [ fhir:value "unknown"] ;
      fhir:MedicationStatement.medicationReference [
         fhir:link <http://hl7.org/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e> ;
         fhir:Reference.reference [ fhir:value "Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e" ]
      ] ;
      fhir:MedicationStatement.subject [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
           fhir:Identifier.value [ fhir:value "X110411319" ]
         ]
      ] ;
      fhir:MedicationStatement.effectivePeriod [
         fhir:Period.start [ fhir:value "2025-11-01"^^xsd:date ]
      ] ;
      fhir:MedicationStatement.dateAsserted [ fhir:value "2026-11-01"^^xsd:date] ;
      fhir:MedicationStatement.derivedFrom [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8> ;
         fhir:Reference.reference [ fhir:value "MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8" ]
      ], [
         fhir:index 1 ;
         fhir:link <http://hl7.org/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c> ;
         fhir:Reference.reference [ fhir:value "MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c" ]
      ] ;
      fhir:MedicationStatement.dosage [
         fhir:index 0 ;
         fhir:Dosage.timing [
           fhir:Timing.repeat [
             fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
             fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
             fhir:Timing.repeat.when [
               fhir:value "MORN" ;
               fhir:index 0
             ]
           ]
         ] ;
         fhir:Dosage.doseAndRate [
           fhir:index 0 ;
           fhir:Dosage.doseAndRate.doseQuantity [
             fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Quantity.unit [ fhir:value "Stück" ] ;
             fhir:Quantity.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" ] ;
             fhir:Quantity.code [ fhir:value "1" ]
           ]
         ]
      ] .

    <http://hl7.org/fhir/MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5> a fhir:MedicationRequest .

    <http://hl7.org/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e> a fhir:Medication .

    <http://hl7.org/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8> a fhir:MedicationRequest .

    <http://hl7.org/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c> a fhir:MedicationDispense .

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed> a fhir:Provenance ;
      fhir:Resource.id [ fhir:value "176eec9c-8d5a-46a7-96e3-7af3f68c49ed"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0>
         ]
      ] ;
      fhir:Provenance.target [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c/_history/2> ;
         fhir:Reference.reference [ fhir:value "MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c/_history/2" ]
      ] ;
      fhir:Provenance.recorded [ fhir:value "2026-11-01T15:43:33.244Z"^^xsd:dateTime] ;
      fhir:Provenance.activity [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-DataOperation" ] ;
           fhir:Coding.code [ fhir:value "UPDATE" ]
         ]
      ] ;
      fhir:Provenance.agent [
         fhir:index 0 ;
         fhir:Provenance.agent.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Provenance.agent.who [
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/epa-fhir-data-service" ] ;
             fhir:Identifier.value [ fhir:value "MEDICATIONSVC" ]
           ] ;
           fhir:Reference.display [ fhir:value "ePA Medication Service" ]
         ]
      ] .

    <http://hl7.org/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c/_history/2> a fhir:MedicationStatement .

    <http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e> a fhir:Medication ;
      fhir:Resource.id [ fhir:value "fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "2" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2026-11-01T14:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
           fhir:Identifier.value [ fhir:value "160.100.000.000.007.24_20261101" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension" ] ;
         fhir:Extension.valueCoding [
           a sct:781405001 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "781405001" ]
         ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension" ] ;
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" ] ;
           fhir:Coding.code [ fhir:value "00" ]
         ]
      ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension" ] ;
         fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
      ], [
         fhir:index 4 ;
         fhir:Extension.url [ fhir:value "http://fhir.de/StructureDefinition/normgroesse" ] ;
         fhir:Extension.valueCode [ fhir:value "N1" ]
      ] ;
      fhir:Medication.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier" ] ;
         fhir:Identifier.value [ fhir:value "5CA9B89A31D81FFF6869E6A93B192C03C7F715FC4A568FB060630DD639F94EF1" ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier" ] ;
         fhir:Identifier.value [ fhir:value "a3197c39-d03c-45fa-bcb7-b32578143c56_160.100.000.000.007.24" ]
      ] ;
      fhir:Medication.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://fhir.de/CodeSystem/ifa/pzn" ] ;
           fhir:Coding.code [ fhir:value "06313728" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "Sumatriptan-1a Pharma 100 mg Tabletten" ]
      ] ;
      fhir:Medication.status [ fhir:value "active"] ;
      fhir:Medication.form [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" ] ;
           fhir:Coding.code [ fhir:value "TAB" ] ;
           fhir:Coding.display [ fhir:value "Tabletten" ]
         ]
      ] ;
      fhir:Medication.amount [
         fhir:Ratio.numerator [
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension" ] ;
             fhir:Extension.valueString [ fhir:value "20 St." ]
           ] ;
           fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ] ;
           fhir:Quantity.unit [ fhir:value "St" ]
         ] ;
         fhir:Ratio.denominator [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ]
         ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8> a fhir:MedicationRequest ;
      fhir:Resource.id [ fhir:value "4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "2" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2026-11-01T14:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "indicator" ] ;
           fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
         ] ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension" ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction" ] ;
         fhir:Extension.valueMarkdown [ fhir:value "1-0-0-0 Stück" ]
      ], [
         fhir:index 2 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
           fhir:Extension.valueString [ fhir:value "1.0.1" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "language" ] ;
           fhir:Extension.valueCode [ fhir:value "de-DE" ]
         ] ;
         fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
      ] ;
      fhir:MedicationRequest.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
         fhir:Identifier.value [ fhir:value "160.100.000.000.007.24_20250425" ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier" ] ;
         fhir:Identifier.value [ fhir:value "5f4bc41c-480e-4ee4-b58e-a99268c1a1d0_160.100.000.000.007.24" ]
      ] ;
      fhir:MedicationRequest.status [ fhir:value "active"] ;
      fhir:MedicationRequest.intent [ fhir:value "filler-order"] ;
      fhir:MedicationRequest.medicationReference [
         fhir:link <http://hl7.org/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e> ;
         fhir:Reference.reference [ fhir:value "Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e" ]
      ] ;
      fhir:MedicationRequest.subject [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
           fhir:Identifier.value [ fhir:value "X110411319" ]
         ]
      ] ;
      fhir:MedicationRequest.authoredOn [ fhir:value "2026-11-01"^^xsd:date] ;
      fhir:MedicationRequest.requester [
         fhir:link <http://hl7.org/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa> ;
         fhir:Reference.reference [ fhir:value "PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa" ] ;
         fhir:Reference.display [ fhir:value "Dr. Max Manfred Mustermann / Praxis Dr. med. Max Mustermann" ]
      ] ;
      fhir:MedicationRequest.basedOn [
         fhir:index 0 ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/emp-identifier" ] ;
           fhir:Identifier.value [ fhir:value "4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8" ]
         ]
      ] ;
      fhir:MedicationRequest.dosageInstruction [
         fhir:index 0 ;
         fhir:Dosage.timing [
           fhir:Timing.repeat [
             fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
             fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
             fhir:Timing.repeat.when [
               fhir:value "MORN" ;
               fhir:index 0
             ]
           ]
         ] ;
         fhir:Dosage.doseAndRate [
           fhir:index 0 ;
           fhir:Dosage.doseAndRate.doseQuantity [
             fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Quantity.unit [ fhir:value "Stück" ] ;
             fhir:Quantity.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" ] ;
             fhir:Quantity.code [ fhir:value "1" ]
           ]
         ]
      ] ;
      fhir:MedicationRequest.dispenseRequest [
         fhir:MedicationRequest.dispenseRequest.quantity [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
           fhir:Quantity.code [ fhir:value "{Package}" ]
         ]
      ] ;
      fhir:MedicationRequest.substitution [
         fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "true"^^xsd:boolean ]
      ] .

    <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c> a fhir:MedicationDispense ;
      fhir:Resource.id [ fhir:value "fa0c29e1-c4e7-4f08-91ab-598a2233867c"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "1" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2026-11-01T15:43:33.244Z"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0>
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier" ] ;
           fhir:Identifier.value [ fhir:value "160.100.000.000.007.24_20261101" ]
         ]
      ] ;
      fhir:MedicationDispense.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier" ] ;
         fhir:Identifier.value [ fhir:value "1da91bd3-d5cb-459b-a270-32fad7d5d5d5_160.100.000.000.007.24" ]
      ] ;
      fhir:MedicationDispense.status [ fhir:value "completed"] ;
      fhir:MedicationDispense.medicationReference [
         fhir:link <http://hl7.org/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e> ;
         fhir:Reference.reference [ fhir:value "Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e" ]
      ] ;
      fhir:MedicationDispense.subject [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
           fhir:Identifier.value [ fhir:value "X110411319" ]
         ]
      ] ;
      fhir:MedicationDispense.performer [
         fhir:index 0 ;
         fhir:MedicationDispense.performer.actor [
           fhir:link <http://hl7.org/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8> ;
           fhir:Reference.reference [ fhir:value "Organization/151f1697-7512-4e21-9466-1b75207475d8" ] ;
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0 ;
                 fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
                 fhir:Coding.code [ fhir:value "PRN" ] ;
                 fhir:Coding.display [ fhir:value "Provider number" ]
               ]
             ] ;
             fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
             fhir:Identifier.value [ fhir:value "9-2.58.00000023" ]
           ] ;
           fhir:Reference.display [ fhir:value "gematik Apotheke" ]
         ]
      ] ;
      fhir:MedicationDispense.authorizingPrescription [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8> ;
         fhir:Reference.reference [ fhir:value "MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8" ]
      ] ;
      fhir:MedicationDispense.whenHandedOver [ fhir:value "2026-11-01"^^xsd:date] ;
      fhir:MedicationDispense.substitution [
         fhir:MedicationDispense.substitution.wasSubstituted [ fhir:value "false"^^xsd:boolean ]
      ] .

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

    <http://hl7.org/fhir/Bundle/example-get-medication-list-bundle1.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Bundle/example-get-medication-list-bundle1.ttl> .