Implementation Guide
ePA Medication Service
Version 1.3.2 - release

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

    <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|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa/StructureDefinition/epa-patient?version=1.3.0>     ] )
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ;
    fhir:l <http://fhir.de/sid/gkv/kvid-10>     ] ;
    fhir:value [ fhir:v "X110411319" ]
      ] ) ; #
      fhir: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/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7> a fhir:MedicationStatement ;
      fhir:id [ fhir:v "f3988023-2313-4645-bd6b-f9e37cfb6fc7"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2025-05-22T14:43:34.244Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension>     ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier>       ] ;
    fhir:value [ fhir:v "160.100.000.000.006.24_20250520" ]     ]
      ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "PRESCRIPTION"     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction>     ] ;
    fhir:value [
    a fhir:Markdown ;
    fhir:v "1-0-1-0 Stück"     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "algorithmVersion"^^xsd:anyURI ;
    fhir:l fhir:algorithmVersion       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "1.0.1"       ]     ] [
    fhir:url [
    fhir:v "language"^^xsd:anyURI ;
    fhir:l fhir:language       ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "de-DE"       ]     ] ) ;
    fhir:url [
    fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"^^xsd:anyURI ;
    fhir:l <http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta>     ]
      ] ) ; #
      fhir:status [ fhir:v "unknown"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd ;
    fhir:reference [ fhir:v "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd" ]
      ] ; #
      fhir:subject [
    fhir:identifier [
    fhir:system [
    fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ;
    fhir:l <http://fhir.de/sid/gkv/kvid-10>       ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:effective [
    a fhir:Period ;
    fhir:start [ fhir:v "2025-05-22"^^xsd:date ]
      ] ; #
      fhir:dateAsserted [ fhir:v "2025-05-22"^^xsd:date] ; #
      fhir:derivedFrom ( [
    fhir:l fhir:MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72 ;
    fhir:reference [ fhir:v "MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72" ]
      ] [
    fhir:l fhir:MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43 ;
    fhir:reference [ fhir:v "MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43" ]
      ] ) ; #
      fhir:dosage ( [
    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:l <https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT>         ] ;
    fhir:code [ fhir:v "1" ]       ]     ] )
      ] ) . #

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

    <http://epa4all/epa/medication/api/v1/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> a fhir:Medication ;
      fhir:id [ fhir:v "bb91cde8-0426-4f4b-a766-5d818d0605bd"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2025-05-22T14:43:33.244Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension>     ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier>       ] ;
    fhir:value [ fhir:v "160.100.000.000.006.24_20250520" ]     ]
      ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension>     ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs>       ] ;
    fhir:code [ fhir:v "00" ]     ]
      ] [
    fhir:url [
    fhir:v "http://fhir.de/StructureDefinition/normgroesse"^^xsd:anyURI ;
    fhir:l <http://fhir.de/StructureDefinition/normgroesse>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "N1"     ]
      ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension>     ] ;
    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:l <https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier>     ] ;
    fhir:value [ fhir:v "936396A4B0EAD8DE8ACD0F32BBC410523150A2F943908D3C9600AF253BE4B93A" ]
      ] [
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier>     ] ;
    fhir:value [ fhir:v "ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24" ]
      ] ) ; #
      fhir:code [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ;
    fhir:l <http://fhir.de/CodeSystem/ifa/pzn>       ] ;
    fhir:code [ fhir:v "00814665" ]     ] ) ;
    fhir:text [ fhir:v "Januvia® 50 mg 28 Filmtabletten N1" ]
      ] ; #
      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:l <https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM>       ] ;
    fhir:code [ fhir:v "FTA" ] ;
    fhir:display [ fhir:v "Tabletten" ]     ] )
      ] . #

    <http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72> a fhir:MedicationRequest ;
      fhir:id [ fhir:v "3191d752-3adf-4c7f-848d-8d43766fed72"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2025-05-22T14:43:33.244Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [
    fhir:v "indicator"^^xsd:anyURI ;
    fhir:l fhir:indicator       ] ;
    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:l <https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension>     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction>     ] ;
    fhir:value [
    a fhir:Markdown ;
    fhir:v "1-0-1-0 Stück"     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "algorithmVersion"^^xsd:anyURI ;
    fhir:l fhir:algorithmVersion       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "1.0.1"       ]     ] [
    fhir:url [
    fhir:v "language"^^xsd:anyURI ;
    fhir:l fhir:language       ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "de-DE"       ]     ] ) ;
    fhir:url [
    fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"^^xsd:anyURI ;
    fhir:l <http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta>     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier>     ] ;
    fhir:value [ fhir:v "160.100.000.000.006.24_20250520" ]
      ] [
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier>     ] ;
    fhir:value [ fhir:v "ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24" ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:intent [ fhir:v "filler-order"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd ;
    fhir:reference [ fhir:v "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd" ]
      ] ; #
      fhir:subject [
    fhir:identifier [
    fhir:system [
    fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ;
    fhir:l <http://fhir.de/sid/gkv/kvid-10>       ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:authoredOn [ fhir:v "2025-05-20"^^xsd:date] ; #
      fhir:requester [
    fhir:l fhir:PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa ;
    fhir:reference [ fhir:v "PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa" ] ;
    fhir:display [ fhir:v "Dr. Max Manfred Mustermann / Praxis Dr. med. Max Mustermann" ]
      ] ; #
      fhir:dosageInstruction ( [
    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:l <https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT>         ] ;
    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:l <http://unitsofmeasure.org>       ] ;
    fhir:code [ fhir:v "{Package}" ]     ]
      ] ; #
      fhir:substitution [
    fhir:allowed [
    a fhir:Boolean ;
    fhir:v true     ]
      ] . #

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

    <http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa> a fhir:PractitionerRole ;
      fhir:id [ fhir:v "73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"] ; #
      fhir:practitioner [
    fhir:l fhir:Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c ;
    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:l <http://terminology.hl7.org/CodeSystem/v2-0203>           ] ;
    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:l <https://gematik.de/fhir/sid/telematik-id>       ] ;
    fhir:value [ fhir:v "1-1.58.00000056" ]     ] ;
    fhir:display [ fhir:v "Dr. Max Manfred Mustermann" ]
      ] ; #
      fhir:organization [
    fhir:l fhir:Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596 ;
    fhir:reference [ fhir:v "Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596" ] ;
    fhir:identifier [
    fhir:type [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>           ] ;
    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:l <https://gematik.de/fhir/sid/telematik-id>       ] ;
    fhir:value [ fhir:v "9-2.58.00000045" ]     ] ;
    fhir:display [ fhir:v "Praxis Dr. med. Max Mustermann" ]
      ] . #

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

    <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|1.0.1"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory?version=1.0.1>     ] ) ;
        ( fhir:tag [
    fhir:system [
    fhir:v "https://gematik.de/fhir/directory/CodeSystem/Origin"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/directory/CodeSystem/Origin>       ] ;
    fhir:code [ fhir:v "ldap" ]     ] )
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/sid/telematik-id>     ] ;
    fhir:value [ fhir:v "1-1.58.00000056" ]
      ] [
    fhir:system [
    fhir:v "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"^^xsd:anyURI ;
    fhir:l <https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR>     ] ;
    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|1.0.1"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory?version=1.0.1>     ] ) ;
        ( fhir:tag [
    fhir:system [
    fhir:v "https://gematik.de/fhir/directory/CodeSystem/Origin"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/directory/CodeSystem/Origin>       ] ;
    fhir:code [ fhir:v "ldap" ]     ] )
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/sid/telematik-id>     ] ;
    fhir:value [ fhir:v "9-2.58.00000023" ]
      ] ) ; #
      fhir:active [ fhir:v true] ; #
      fhir:type ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID>       ] ;
    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:l <http://terminology.hl7.org/CodeSystem/contactentity-type>         ] ;
    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" ]     ] )
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784> a fhir:MedicationStatement ;
      fhir:id [ fhir:v "1cb0f018-178d-4488-a6b4-2be32dbda784"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-08-18T14:43:33.244Z"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "MANUAL"     ]
      ] ) ; #
      fhir:status [ fhir:v "unknown"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d ;
    fhir:reference [ fhir:v "Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d" ]
      ] ; #
      fhir:subject [
    fhir:identifier [
    fhir:system [
    fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ;
    fhir:l <http://fhir.de/sid/gkv/kvid-10>       ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:effective [
    a fhir:Period ;
    fhir:start [ fhir:v "2026-08-18"^^xsd:date ]
      ] ; #
      fhir:dateAsserted [ fhir:v "2026-08-18"^^xsd:date] . #

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

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

    <http://epa4all/epa/medication/api/v1/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5> a fhir:Organization ;
      fhir:id [ fhir:v "8B421590-9F7F-46BE-BD1E-C987063AC4F5"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/ti/StructureDefinition/ti-organization|1.1.1"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/ti/StructureDefinition/ti-organization?version=1.1.1>     ] )
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/sid/telematik-id>     ] ;
    fhir:value [ fhir:v "9-2.58.00000060" ]
      ] ) ; #
      fhir:active [ fhir:v true] ; #
      fhir:type ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID>       ] ;
    fhir:code [ fhir:v "1.2.276.0.76.4.54" ] ;
    fhir:display [ fhir:v "Öffentliche Apotheke" ]     ] )
      ] ) ; #
      fhir:name [ fhir:v "Die Apotheke"] ; #
      fhir:alias ( [ fhir:v "Apotheke"] ) ; #
      fhir:address ( [
    fhir:text [ fhir:v "Die 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:l <http://terminology.hl7.org/CodeSystem/contactentity-type>         ] ;
    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" ]     ] )
      ] ) . #

    <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|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension>     ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier>       ] ;
    fhir:value [ fhir:v "160.100.000.000.007.24_20261101" ]     ]
      ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "PRESCRIPTION"     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction>     ] ;
    fhir:value [
    a fhir:Markdown ;
    fhir:v "1-0-0-0 Stück"     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "algorithmVersion"^^xsd:anyURI ;
    fhir:l fhir:algorithmVersion       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "1.0.1"       ]     ] [
    fhir:url [
    fhir:v "language"^^xsd:anyURI ;
    fhir:l fhir:language       ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "de-DE"       ]     ] ) ;
    fhir:url [
    fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"^^xsd:anyURI ;
    fhir:l <http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta>     ]
      ] ) ; #
      fhir:basedOn ( [
    fhir:l fhir:MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5 ;
        ( fhir:extension [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension>       ] ;
    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:l fhir:Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e ;
    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:l <http://fhir.de/sid/gkv/kvid-10>       ] ;
    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:l fhir:MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8 ;
    fhir:reference [ fhir:v "MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8" ]
      ] [
    fhir:l fhir:MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c ;
    fhir:reference [ fhir:v "MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c" ]
      ] ) ; #
      fhir:dosage ( [
    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:l <https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT>         ] ;
    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|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance?version=1.3.0>     ] )
      ] ; #
      fhir:target ( [
    fhir:l fhir:MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c/_history/2 ;
    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:l <http://terminology.hl7.org/CodeSystem/v3-DataOperation>       ] ;
    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:l <http://terminology.hl7.org/CodeSystem/provenance-participant-type>         ] ;
    fhir:code [ fhir:v "author" ]       ] )     ] ;
    fhir:who [
    fhir:identifier [
    fhir:system [
    fhir:v "https://gematik.de/fhir/sid/epa-fhir-data-service"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/sid/epa-fhir-data-service>         ] ;
    fhir:value [ fhir:v "MEDICATIONSVC" ]       ] ;
    fhir:display [ fhir:v "ePA Medication Service" ]     ]
      ] ) . #

    <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|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension>     ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier>       ] ;
    fhir:value [ fhir:v "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:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension>     ] ;
    fhir:value [
    a fhir:Coding, sct:781405001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>       ] ;
    fhir:code [ fhir:v "781405001" ]     ]
      ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension>     ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs>       ] ;
    fhir:code [ fhir:v "00" ]     ]
      ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension>     ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v false     ]
      ] [
    fhir:url [
    fhir:v "http://fhir.de/StructureDefinition/normgroesse"^^xsd:anyURI ;
    fhir:l <http://fhir.de/StructureDefinition/normgroesse>     ] ;
    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:l <https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier>     ] ;
    fhir:value [ fhir:v "5CA9B89A31D81FFF6869E6A93B192C03C7F715FC4A568FB060630DD639F94EF1" ]
      ] [
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier>     ] ;
    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:l <http://fhir.de/CodeSystem/ifa/pzn>       ] ;
    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:l <https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM>       ] ;
    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:l <https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension>         ] ;
    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|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [
    fhir:v "indicator"^^xsd:anyURI ;
    fhir:l fhir:indicator       ] ;
    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:l <https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension>     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction>     ] ;
    fhir:value [
    a fhir:Markdown ;
    fhir:v "1-0-0-0 Stück"     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "algorithmVersion"^^xsd:anyURI ;
    fhir:l fhir:algorithmVersion       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "1.0.1"       ]     ] [
    fhir:url [
    fhir:v "language"^^xsd:anyURI ;
    fhir:l fhir:language       ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "de-DE"       ]     ] ) ;
    fhir:url [
    fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"^^xsd:anyURI ;
    fhir:l <http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta>     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier>     ] ;
    fhir:value [ fhir:v "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:l <https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier>     ] ;
    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:l fhir:Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e ;
    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:l <http://fhir.de/sid/gkv/kvid-10>       ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:authoredOn [ fhir:v "2026-11-01"^^xsd:date] ; #
      fhir:requester [
    fhir:l fhir:PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa ;
    fhir:reference [ fhir:v "PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa" ] ;
    fhir:display [ fhir:v "Dr. Max Manfred Mustermann / Praxis Dr. med. Max Mustermann" ]
      ] ; #
      fhir:basedOn ( [
    fhir:identifier [
    fhir:system [
    fhir:v "https://gematik.de/fhir/sid/emp-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/sid/emp-identifier>       ] ;
    fhir:value [ fhir:v "4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8" ]     ]
      ] ) ; #
      fhir:dosageInstruction ( [
    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:l <https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT>         ] ;
    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:l <http://unitsofmeasure.org>       ] ;
    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|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense?version=1.3.0>     ] )
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension>     ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [
    fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier>       ] ;
    fhir:value [ fhir:v "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:l <https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier>     ] ;
    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:l fhir:Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e ;
    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:l <http://fhir.de/sid/gkv/kvid-10>       ] ;
    fhir:value [ fhir:v "X110411319" ]     ]
      ] ; #
      fhir:performer ( [
    fhir:actor [
    fhir:l fhir:Organization/151f1697-7512-4e21-9466-1b75207475d8 ;
    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:l <http://terminology.hl7.org/CodeSystem/v2-0203>             ] ;
    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:l <https://gematik.de/fhir/sid/telematik-id>         ] ;
    fhir:value [ fhir:v "9-2.58.00000023" ]       ] ;
    fhir:display [ fhir:v "gematik Apotheke" ]     ]
      ] ) ; #
      fhir:authorizingPrescription ( [
    fhir:l fhir:MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8 ;
    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 ]
      ] . #