Implementation Guide
ePA Medication Service
Version 1.3.3 - release

## : ExampleSearchsetBundleEPAMedicationStatement - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example-searchset-medicationstatement"] ; #
      fhir:type [ fhir:v "searchset"] ; #
      fhir:total [ fhir:v "100"^^xsd:nonNegativeInteger] ; #
      fhir:link ( [
    fhir:relation [ fhir:v "self" ] ;
    fhir:url [
    fhir:v "/epa/medication/api/v1/fhir/MedicationStatement?_offset=20&_count=10"^^xsd:anyURI ;
    fhir:l fhir:/epa/medication/api/v1/fhir/MedicationStatement?_offset=20&_count=10     ]
      ] [
    fhir:relation [ fhir:v "previous" ] ;
    fhir:url [
    fhir:v "/epa/medication/api/v1/fhir/MedicationStatement?_offset=10&_count=10"^^xsd:anyURI ;
    fhir:l fhir:/epa/medication/api/v1/fhir/MedicationStatement?_offset=10&_count=10     ]
      ] [
    fhir:relation [ fhir:v "next" ] ;
    fhir:url [
    fhir:v "/epa/medication/api/v1/fhir/MedicationStatement?_offset=30&_count=10"^^xsd:anyURI ;
    fhir:l fhir:/epa/medication/api/v1/fhir/MedicationStatement?_offset=30&_count=10     ]
      ] ) ; #
      fhir:entry ( [
    fhir:fullUrl [
    fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e>     ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] [
    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/MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08>     ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] [
    fhir:fullUrl [
    fhir:v "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d"^^xsd:anyURI ;
    fhir:l <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d>     ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e> a fhir:MedicationStatement ;
      fhir:id [ fhir:v "b87b0908-7765-4ec0-8662-7d3daff08f6e"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2025-02-27T14: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.001.39_20250227" ]     ]
      ] [
    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:status [ fhir:v "unknown"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031 ;
    fhir:reference [ fhir:v "Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031" ]
      ] ; #
      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-02-27"^^xsd:date ]
      ] ; #
      fhir:dateAsserted [ fhir:v "2025-02-27"^^xsd:date] ; #
      fhir:derivedFrom ( [
    fhir:l fhir:MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa ;
    fhir:reference [ fhir:v "MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa" ]
      ] [
    fhir:l fhir:MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f ;
    fhir:reference [ fhir:v "MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f" ]
      ] ) . #

    <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/MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08> a fhir:MedicationStatement ;
      fhir:id [ fhir:v "1b88713c-64cc-40ad-9665-70ca5f7dfb08"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2025-11-27T14:43:42.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.002.36_20251127" ]     ]
      ] [
    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 "2mal tägl. 5ml"     ]
      ] [
        ( 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/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e ;
    fhir:reference [ fhir:v "Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e" ]
      ] ; #
      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-22"^^xsd:date ]
      ] ; #
      fhir:dateAsserted [ fhir:v "2025-11-27"^^xsd:date] ; #
      fhir:derivedFrom ( [
    fhir:l fhir:MedicationRequest/40df19aa-40e2-4ebc-a11d-9d232dcb0f67 ;
    fhir:reference [ fhir:v "MedicationRequest/40df19aa-40e2-4ebc-a11d-9d232dcb0f67" ]
      ] [
    fhir:l fhir:MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8 ;
    fhir:reference [ fhir:v "MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8" ]
      ] ) ; #
      fhir:dosage ( [
    fhir:text [ fhir:v "2mal tägl. 5ml" ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d> a fhir:MedicationStatement ;
      fhir:id [ fhir:v "0fc1f006-5793-4501-81b6-fe3918fcfa2d"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2025-12-03T14:00:00.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.019.82_20251202" ]     ]
      ] [
    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:status [ fhir:v "unknown"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b ;
    fhir:reference [ fhir:v "Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b" ]
      ] ; #
      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-12-03"^^xsd:date ]
      ] ; #
      fhir:dateAsserted [ fhir:v "2025-12-02"^^xsd:date] ; #
      fhir:derivedFrom ( [
    fhir:l fhir:MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd ;
    fhir:reference [ fhir:v "MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd" ]
      ] [
    fhir:l fhir:MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad ;
    fhir:reference [ fhir:v "MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad" ]
      ] ) ; #
      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" ]       ]     ] )
      ] ) . #