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

## : ExampleSearchsetBundleEPAMedication - 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-searchset-medication"] ; #
      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/Medication?_offset=20&_count=10"^^xsd:anyURI ]
      ] [
    fhir:relation [ fhir:v "previous" ] ;
    fhir:url [ fhir:v "/epa/medication/api/v1/fhir/Medication?_offset=10&_count=10"^^xsd:anyURI ]
      ] [
    fhir:relation [ fhir:v "next" ] ;
    fhir:url [ fhir:v "/epa/medication/api/v1/fhir/Medication?_offset=30&_count=10"^^xsd:anyURI ]
      ] ) ; #
      fhir:entry ( [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] [
    fhir:fullUrl [ fhir:v "http://epa4all/epa/medication/api/v1/fhir/Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b"^^xsd:anyURI ] ;
        ( fhir:resource <http://epa4all/epa/medication/api/v1/fhir/Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031> a fhir:Medication ;
      fhir:id [ fhir:v "56ca34f1-a3f3-42f7-95a2-f5a6423c2031"] ; #
      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"^^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.001.39_20250227" ]     ]
      ] [
    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 "A88662F2325484C7FF91398CACF90D38D688248B97B3624DADCD474CA3F3BBC1" ]
      ] [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "33f1aed7-ecf2-4bb4-be3a-5ec375b656b8_160.100.000.000.001.39" ]
      ] ) ; #
      fhir:code [
        ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "05392039" ]     ] ) ;
    fhir:text [ fhir:v "Venlafaxin - 1 A Pharma® 75mg 100 Tabl. 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 "TAB" ]     ] )
      ] ; #
      fhir:ingredient ( [
    fhir:item [
    a fhir:CodeableConcept ;
          ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ask"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "24421" ]       ] ) ;
    fhir:text [ fhir:v "Venlafaxin" ]     ] ;
    fhir:strength [
    fhir:numerator [
    fhir:value [ fhir:v "75"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "mg" ]       ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Tbl." ]       ]     ]
      ] ) . #

    <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"^^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.006.24_20250520" ]     ]
      ] [
    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 "N1"     ]
      ] [
    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 "936396A4B0EAD8DE8ACD0F32BBC410523150A2F943908D3C9600AF253BE4B93A" ]
      ] [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ] ;
    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: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:code [ fhir:v "FTA" ] ;
    fhir:display [ fhir:v "Tabletten" ]     ] )
      ] . #

    <http://epa4all/epa/medication/api/v1/fhir/Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e> a fhir:Medication ;
      fhir:id [ fhir:v "ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2025-11-27T14:43:40.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.002.36_20251127" ]     ]
      ] [
    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 "N1"     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "1AAF4C0C8407A152A3C41728DB3DE4BBC363CD4CE6B8A2537E1CEF61DA4065ED" ]
      ] [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "4ef3e77d-fcaf-483e-8c65-c09372bb60fe_160.100.000.000.002.36" ]
      ] ) ; #
      fhir:code [
        ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "08585997" ]     ] ) ;
    fhir:text [ fhir:v "Prospan® Hustensaft 100ml 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:code [ fhir:v "FLE" ]     ] )
      ] ; #
      fhir:ingredient ( [
    fhir:item [
    a fhir:CodeableConcept ;
          ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ask"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "50912" ]       ] ) ;
    fhir:text [ fhir:v "Efeublätter-Trockenextrakt (5-7,5:1); Auszugsmittel: Ethanol 30% (m/m)" ]     ] ;
    fhir:strength [
    fhir:numerator [
    fhir:value [ fhir:v "35"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "mg" ]       ] ;
    fhir:denominator [
    fhir:value [ fhir:v "5"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "ml" ]       ]     ]
      ] ) . #

    <http://epa4all/epa/medication/api/v1/fhir/Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b> a fhir:Medication ;
      fhir:id [ fhir:v "3f0b0cb0-e8cf-4aaf-bad8-01a51619417b"] ; #
      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"^^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.019.82_20251202" ]     ]
      ] [
    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 "6E36794F8327D7B96B74DC7E29FFCB49CC2CD859EBB58251DC1FB4456BEF92A9" ]
      ] [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "48de03e7-84f3-4724-830e-5aabca10dfa8_160.100.000.000.019.82" ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:form [
    fhir:text [ 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 "100"         ]       ] ) ;
    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 "22686" ]       ] ) ;
    fhir:text [ fhir:v "Ramipril" ]     ] ;
    fhir:strength [
    fhir:numerator [
    fhir:value [ fhir:v "5"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "mg" ]       ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Tbl." ]       ]     ]
      ] ) . #