Implementation Guide
ePA Medication Service
Version 1.2.0-ballot.2 - draft

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

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

     a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example-get-medication-plan-bundle-1"] ; #
      fhir:identifier [
    fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "urn:uuid:6da4d89d-09f9-4c9a-9117-10c7e7948566" ]
      ] ; #
      fhir:type [ fhir:v "collection"] ; #
      fhir:timestamp [ fhir:v "2027-01-10T10:10:00Z"^^xsd:dateTime] ; #
      fhir:entry ( [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Provenanc/63e6938b-18a3-4b0f-9423-084d53edba7b"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Provenanc/63e6938b-18a3-4b0f-9423-084d53edba7b> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Provenance/8faa45dd-b2dc-4a80-8956-94aeab1db04b"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/8faa45dd-b2dc-4a80-8956-94aeab1db04b> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Medication/87f08ba2-da7e-467e-86aa-404d9035297c"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Medication/87f08ba2-da7e-467e-86aa-404d9035297c> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Provenance/9090b28c-e165-4823-b82b-15bb63012123"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/9090b28c-e165-4823-b82b-15bb63012123> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/b9eb9668-b61e-43b5-b3ea-485234836d59"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/b9eb9668-b61e-43b5-b3ea-485234836d59> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Organization/450a9511-53e5-4af7-be36-a18444bb8dd2"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Organization/450a9511-53e5-4af7-be36-a18444bb8dd2> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c> )
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8> )
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087> a fhir:Patient ;
      fhir:id [ fhir:v "641f4cf5-e54b-406c-b8a8-1d3292fd5087"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-patient"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-patient>     ] )
      ] ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "X110411319" ]
      ] ) ; #
      fhir:active [ fhir:v true] ; #
      fhir:name ( [
    fhir:use [ fhir:v "official" ] ;
    fhir:family [ fhir:v "Mustermann" ] ;
        ( fhir:given [ fhir:v "Max" ] )
      ] ) ; #
      fhir:gender [ fhir:v "male"] ; #
      fhir:birthDate [ fhir:v "1976-02-01"^^xsd:date] . #

    <http://epa4all/epa/medication/api/v1/fhir/Provenanc/63e6938b-18a3-4b0f-9423-084d53edba7b> a fhir:Provenance ;
      fhir:id [ fhir:v "63e6938b-18a3-4b0f-9423-084d53edba7b"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true     ]
      ] ) ; #
      fhir:target ( [
    fhir:reference [ fhir:v "MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5/_history/2" ]
      ] [
    fhir:reference [ fhir:v "MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb/_history/1" ]
      ] ) ; #
      fhir:occurred [
    a fhir:dateTime ;
    fhir:v "2026-11-01T15:43:33.244Z"^^xsd:dateTime
      ] ; #
      fhir:recorded [ fhir:v "2026-11-01T15:43:33.244Z"^^xsd:dateTime] ; #
      fhir:activity [
        ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "UPDATE" ]     ] )
      ] ; #
      fhir:agent ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "author" ]       ] )     ] ;
    fhir:who [
    fhir:reference [ fhir:v "Organization/450a9511-53e5-4af7-be36-a18444bb8dd2" ] ;
    fhir:identifier [
    fhir:type [
              ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PRN" ]           ] )         ] ;
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "9-2.58.00000089" ]       ] ;
    fhir:display [ fhir:v "Die Hausarztpraxis" ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb> a fhir:MedicationRequest ;
      fhir:id [ fhir:v "71b66f1b-8032-4886-b7bf-e775daee22fb"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-12-01T14:00:00.400Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "EMP"     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Bluthochdruck"     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Annotation ;
    fhir:text [ fhir:v "Benazepril kann anfangs Schwindel verursachen - daher zuerst in Ruhe einnehmen und Autofahren vermeiden." ]     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Period ;
    fhir:start [ fhir:v "2026-12-01"^^xsd:date ]     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/emp-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "71b66f1b-8032-4886-b7bf-e775daee22fb" ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:intent [ fhir:v "plan"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:reference [ fhir:v "Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f" ]
      ] ; #
      fhir:subject [
    fhir:identifier [
    fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:authoredOn [ fhir:v "2026-12-01"^^xsd:date] ; #
      fhir:note ( [
    fhir:text [ fhir:v "Hinweis für den LE" ]
      ] ) ; #
      fhir:dosageInstruction ( [
        ( fhir:extension [
          ( fhir:extension [
    fhir:url [ fhir:v "algorithm"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "1.0.0" ] ;
    fhir:code [ fhir:v "GematikDosageTextGenerator" ]         ]       ] [
    fhir:url [ fhir:v "algorithmVersion"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "1.0.0"         ]       ] [
    fhir:url [ fhir:v "language"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "de-DE"         ]       ] [
    fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "2 x täglich: morgens und abends — je 1 Stück"         ]       ] ) ;
    fhir:url [ fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions"^^xsd:anyURI ]     ] ) ;
    fhir:timing [
    fhir:repeat [
    fhir:frequency [ fhir:v "2"^^xsd:positiveInteger ] ;
    fhir:period [ fhir:v "1"^^xsd:decimal ] ;
    fhir:periodUnit [ fhir:v "d" ] ;
            ( fhir:when [ fhir:v "MORN" ] [ fhir:v "EVE" ] )       ]     ] ;
        ( fhir:doseAndRate [
    fhir:dose [
    a fhir:Quantity ;
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Stück" ] ;
    fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "1" ]       ]     ] )
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f> a fhir:Medication ;
      fhir:id [ fhir:v "13c66845-d0ce-43e1-9b0b-884cbbe8df7f"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-12-01T14:00:00.200Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "EMP"     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding, sct:763158003 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "763158003" ] ;
    fhir:display [ fhir:v "Medicinal product (product)" ]     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "00" ]     ]
      ] [
    fhir:url [ fhir:v "http://fhir.de/StructureDefinition/normgroesse"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "N3"     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v false     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "D15E4956F59A13CD3BB365799857D6FA9757C62D36DBDB9578D018CA4B6D969F" ]
      ] ) ; #
      fhir:code [
        ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "04351736" ] ;
    fhir:display [ fhir:v "Benazepril AL 20mg 98 Filmtabletten N3" ]     ] ) ;
    fhir:text [ fhir:v "Benazepril AL 20mg 98 Filmtabletten N3" ]
      ] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:form [
        ( fhir:coding [
    fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "FTA" ]     ] )
      ] ; #
      fhir:amount [
    fhir:numerator [
          ( fhir:extension [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "98"         ]       ] ) ;
    fhir:unit [ fhir:v "Stück" ]     ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ]     ]
      ] ; #
      fhir:ingredient ( [
    fhir:item [
    a fhir:CodeableConcept ;
          ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ask"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "23413" ]       ] ) ;
    fhir:text [ fhir:v "Benazepril hydrochlorid" ]     ] ;
    fhir:strength [
    fhir:numerator [
    fhir:value [ fhir:v "20"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "mg" ]       ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Filmtbl." ]       ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/8faa45dd-b2dc-4a80-8956-94aeab1db04b> a fhir:Provenance ;
      fhir:id [ fhir:v "8faa45dd-b2dc-4a80-8956-94aeab1db04b"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance>     ] )
      ] ; #
      fhir:target ( [
    fhir:reference [ fhir:v "MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb/_history/1" ]
      ] ) ; #
      fhir:recorded [ fhir:v "2026-12-01T14:00:00.600Z"^^xsd:dateTime] ; #
      fhir:activity [
        ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "CREATE" ]     ] )
      ] ; #
      fhir:agent ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "author" ]       ] )     ] ;
    fhir:who [
    fhir:reference [ fhir:v "Organization/450a9511-53e5-4af7-be36-a18444bb8dd2" ] ;
    fhir:identifier [
    fhir:type [
              ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PRN" ]           ] )         ] ;
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "9-2.58.00000089" ]       ] ;
    fhir:display [ fhir:v "Die Hausarztpraxis" ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5> a fhir:MedicationRequest ;
      fhir:id [ fhir:v "266620a9-2c26-41c1-b0cb-a10947b867f5"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2026-11-01T15:43:33.244Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "EMP"     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "akuten Behandlung von Migräneanfällen mit und ohne Aura"     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Annotation ;
    fhir:text [ fhir:v "Bitte schützen Sie das Arzneimittel vor hohen Temperaturen und direkter Sonneneinstrahlung." ]     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Period ;
    fhir:start [ fhir:v "2027-02-01"^^xsd:date ]     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:reference [ fhir:v "MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c" ]     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/emp-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "266620a9-2c26-41c1-b0cb-a10947b867f5" ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:intent [ fhir:v "plan"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:reference [ fhir:v "Medication/87f08ba2-da7e-467e-86aa-404d9035297c" ]
      ] ; #
      fhir:subject [
    fhir:identifier [
    fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:authoredOn [ fhir:v "2026-11-01"^^xsd:date] ; #
      fhir:note ( [
    fhir:text [ fhir:v "Hinweis für den LE" ]
      ] ) ; #
      fhir:dosageInstruction ( [
        ( fhir:extension [
          ( fhir:extension [
    fhir:url [ fhir:v "algorithm"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "1.0.0" ] ;
    fhir:code [ fhir:v "GematikDosageTextGenerator" ]         ]       ] [
    fhir:url [ fhir:v "algorithmVersion"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "1.0.0"         ]       ] [
    fhir:url [ fhir:v "language"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "de-DE"         ]       ] [
    fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "täglich: morgens — je 1 Stück"         ]       ] ) ;
    fhir:url [ fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions"^^xsd:anyURI ]     ] ) ;
    fhir:timing [
    fhir:repeat [
    fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:period [ fhir:v "1"^^xsd:decimal ] ;
    fhir:periodUnit [ fhir:v "d" ] ;
            ( fhir:when [ fhir:v "MORN" ] )       ]     ] ;
        ( fhir:doseAndRate [
    fhir:dose [
    a fhir:Quantity ;
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Stück" ] ;
    fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "1" ]       ]     ] )
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Medication/87f08ba2-da7e-467e-86aa-404d9035297c> a fhir:Medication ;
      fhir:id [ fhir:v "87f08ba2-da7e-467e-86aa-404d9035297c"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-11-01T14:00:00.200Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "EMP"     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding, sct:781405001 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "781405001" ] ;
    fhir:display [ fhir:v "Medicinal product package (product)" ]     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "00" ]     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v false     ]
      ] [
    fhir:url [ fhir:v "http://fhir.de/StructureDefinition/normgroesse"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "N1"     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "5CA9B89A31D81FFF6869E6A93B192C03C7F715FC4A568FB060630DD639F94EF1" ]
      ] ) ; #
      fhir:code [
        ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "06313728" ]     ] ) ;
    fhir:text [ fhir:v "Sumatriptan-1a Pharma 100 mg Tabletten" ]
      ] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:form [
        ( fhir:coding [
    fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "TAB" ] ;
    fhir:display [ fhir:v "Tabletten" ]     ] )
      ] ; #
      fhir:amount [
    fhir:numerator [
          ( fhir:extension [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "20 St."         ]       ] ) ;
    fhir:value [ fhir:v "20"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "St" ]     ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ]     ]
      ] . #

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/9090b28c-e165-4823-b82b-15bb63012123> a fhir:Provenance ;
      fhir:id [ fhir:v "9090b28c-e165-4823-b82b-15bb63012123"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance>     ] )
      ] ; #
      fhir:target ( [
    fhir:reference [ fhir:v "MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5/_history/1" ]
      ] ) ; #
      fhir:recorded [ fhir:v "2026-11-01T15:43:33.244Z"^^xsd:dateTime] ; #
      fhir:activity [
        ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "UPDATE" ]     ] )
      ] ; #
      fhir:agent ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "author" ]       ] )     ] ;
    fhir:who [
    fhir:reference [ fhir:v "Organization/450a9511-53e5-4af7-be36-a18444bb8dd2" ] ;
    fhir:identifier [
    fhir:type [
              ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PRN" ]           ] )         ] ;
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "9-2.58.00000089" ]       ] ;
    fhir:display [ fhir:v "Die Hausarztpraxis" ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c> a fhir:MedicationStatement ;
      fhir:id [ fhir:v "f29f1d0c-be05-4b0d-a335-3e508da39c0c"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2026-11-01T15:43:33.244Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "160.100.000.000.007.24_20261101" ]     ]
      ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "PRESCRIPTION"     ]
      ] ) ; #
      fhir:basedOn ( [
        ( fhir:extension [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true       ]     ] ) ;
    fhir:reference [ fhir:v "MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5" ]
      ] ) ; #
      fhir:status [ fhir:v "unknown"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:reference [ fhir:v "Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e" ]
      ] ; #
      fhir:subject [
    fhir:identifier [
    fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:effective [
    a fhir:Period ;
    fhir:start [ fhir:v "2025-11-01"^^xsd:date ]
      ] ; #
      fhir:dateAsserted [ fhir:v "2026-11-01"^^xsd:date] ; #
      fhir:derivedFrom ( [
    fhir:reference [ fhir:v "MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8" ]
      ] [
    fhir:reference [ fhir:v "MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c" ]
      ] ) ; #
      fhir:dosage ( [
        ( fhir:extension [
          ( fhir:extension [
    fhir:url [ fhir:v "algorithm"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "1.0.0" ] ;
    fhir:code [ fhir:v "GematikDosageTextGenerator" ]         ]       ] [
    fhir:url [ fhir:v "algorithmVersion"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "1.0.0"         ]       ] [
    fhir:url [ fhir:v "language"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "de-DE"         ]       ] [
    fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "täglich: morgens — je 1 Stück"         ]       ] ) ;
    fhir:url [ fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions"^^xsd:anyURI ]     ] ) ;
    fhir:timing [
    fhir:repeat [
    fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:period [ fhir:v "1"^^xsd:decimal ] ;
    fhir:periodUnit [ fhir:v "d" ] ;
            ( fhir:when [ fhir:v "MORN" ] )       ]     ] ;
        ( fhir:doseAndRate [
    fhir:dose [
    a fhir:Quantity ;
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Stück" ] ;
    fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "1" ]       ]     ] )
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed> a fhir:Provenance ;
      fhir:id [ fhir:v "176eec9c-8d5a-46a7-96e3-7af3f68c49ed"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance>     ] )
      ] ; #
      fhir:target ( [
    fhir:reference [ fhir:v "MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c/_history/2" ]
      ] ) ; #
      fhir:recorded [ fhir:v "2026-11-01T15:43:33.244Z"^^xsd:dateTime] ; #
      fhir:activity [
        ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "UPDATE" ]     ] )
      ] ; #
      fhir:agent ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "author" ]       ] )     ] ;
    fhir:who [
    fhir:display [ fhir:v "MEDSVC" ]     ]
      ] ) . #

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

    <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8> a fhir:MedicationRequest ;
      fhir:id [ fhir:v "4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2026-11-01T14:43:33.244Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request>     ] )
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [ fhir:v "indicator"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v false       ]     ] ) ;
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "160.100.000.000.007.24_20250425" ]
      ] [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "5f4bc41c-480e-4ee4-b58e-a99268c1a1d0_160.100.000.000.007.24" ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:intent [ fhir:v "filler-order"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:reference [ fhir:v "Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e" ]
      ] ; #
      fhir:subject [
    fhir:identifier [
    fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:authoredOn [ fhir:v "2026-11-01"^^xsd:date] ; #
      fhir:requester [
    fhir:reference [ fhir:v "PractitionerRole/b9eb9668-b61e-43b5-b3ea-485234836d59" ]
      ] ; #
      fhir:basedOn ( [
    fhir:identifier [
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/emp-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8" ]     ]
      ] ) ; #
      fhir:dosageInstruction ( [
        ( fhir:extension [
          ( fhir:extension [
    fhir:url [ fhir:v "algorithm"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "1.0.0" ] ;
    fhir:code [ fhir:v "GematikDosageTextGenerator" ]         ]       ] [
    fhir:url [ fhir:v "algorithmVersion"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "1.0.0"         ]       ] [
    fhir:url [ fhir:v "language"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "de-DE"         ]       ] [
    fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "täglich: morgens — je 1 Stück"         ]       ] ) ;
    fhir:url [ fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions"^^xsd:anyURI ]     ] ) ;
    fhir:timing [
    fhir:repeat [
    fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:period [ fhir:v "1"^^xsd:decimal ] ;
    fhir:periodUnit [ fhir:v "d" ] ;
            ( fhir:when [ fhir:v "MORN" ] )       ]     ] ;
        ( fhir:doseAndRate [
    fhir:dose [
    a fhir:Quantity ;
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Stück" ] ;
    fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "1" ]       ]     ] )
      ] ) ; #
      fhir:dispenseRequest [
    fhir:quantity [
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "{Package}" ]     ]
      ] ; #
      fhir:substitution [
    fhir:allowed [
    a fhir:boolean ;
    fhir:v true     ]
      ] . #

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

    <http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/b9eb9668-b61e-43b5-b3ea-485234836d59> a fhir:PractitionerRole ;
      fhir:id [ fhir:v "b9eb9668-b61e-43b5-b3ea-485234836d59"] ; #
      fhir:practitioner [
    fhir:reference [ fhir:v "Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c" ] ;
    fhir:identifier [
    fhir:type [
            ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "2.9.0" ] ;
    fhir:code [ fhir:v "PRN" ] ;
    fhir:display [ fhir:v "Provider number" ]         ] )       ] ;
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "1-1.58.00000056" ]     ] ;
    fhir:display [ fhir:v "Dr. Max Manfred Mustermann" ]
      ] ; #
      fhir:organization [
    fhir:reference [ fhir:v "Organization/450a9511-53e5-4af7-be36-a18444bb8dd2" ] ;
    fhir:identifier [
    fhir:type [
            ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "2.9.0" ] ;
    fhir:code [ fhir:v "PRN" ] ;
    fhir:display [ fhir:v "Provider number" ]         ] )       ] ;
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "9-2.58.00000089" ]     ] ;
    fhir:display [ fhir:v "Die Hausarztpraxis" ]
      ] . #

    <http://epa4all/epa/medication/api/v1/fhir/Organization/450a9511-53e5-4af7-be36-a18444bb8dd2> a fhir:Organization ;
      fhir:id [ fhir:v "450a9511-53e5-4af7-be36-a18444bb8dd2"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/ti/StructureDefinition/ti-organization"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-organization>     ] )
      ] ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "9-2.58.00000089" ]
      ] [
    fhir:system [ fhir:v "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "721111100" ]
      ] ) ; #
      fhir:active [ fhir:v true] ; #
      fhir:type ( [
        ( fhir:coding [
    fhir:system [ fhir:v "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "1.2.276.0.76.4.50" ] ;
    fhir:display [ fhir:v "Betriebsstätte Arzt" ]     ] )
      ] ) ; #
      fhir:name [ fhir:v "Die Hausarztpraxis"] ; #
      fhir:address ( [
    fhir:text [ fhir:v "Friedrichstr. 136,\n10117 Berlin" ] ;
        ( fhir:line [ fhir:v "Friedrichstr. 136" ] ) ;
    fhir:city [ fhir:v "Berlin" ] ;
    fhir:district [ fhir:v "Mitte" ] ;
    fhir:state [ fhir:v "Berlin" ] ;
    fhir:postalCode [ fhir:v "10117" ] ;
    fhir:country [ fhir:v "DE" ]
      ] ) ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "phone" ] ;
    fhir:value [ fhir:v "0301234567" ]     ] [
    fhir:system [ fhir:v "fax" ] ;
    fhir:value [ fhir:v "030123456789" ]     ] [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "hausarztpraxis@example.com" ]     ] )
      ] ) . #

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

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