Implementation Guide
ePA Medication Service
Version 1.3.5 - release

## : ExampleEpaOpProvideDispensationERPInputParameters2 - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

    <http://hl7.org/fhir/Parameters/example-epa-op-provide-dispensation-erp-input-parameters-2> a fhir:Parameters ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "example-epa-op-provide-dispensation-erp-input-parameters-2"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.3.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.3.0>
         ]
      ] ;
      fhir:Parameters.parameter [
         fhir:index 0 ;
         fhir:Parameters.parameter.name [ fhir:value "rxDispensation" ] ;
         fhir:Parameters.parameter.part [
           fhir:index 0 ;
           fhir:Parameters.parameter.name [ fhir:value "prescriptionId" ] ;
           fhir:Parameters.parameter.valueIdentifier [
             fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" ] ;
             fhir:Identifier.value [ fhir:value "160.100.000.000.002.36" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:Parameters.parameter.name [ fhir:value "authoredOn" ] ;
           fhir:Parameters.parameter.valueDate [ fhir:value "2025-11-27"^^xsd:date ]
         ], [
           fhir:index 2 ;
           fhir:Parameters.parameter.name [ fhir:value "medicationDispense" ] ;
           fhir:Parameters.parameter.resource [
             a fhir:MedicationDispense ;
             fhir:Resource.id [ fhir:value "6c94dbcb-e8b0-41cc-b45e-cd00c3495cad" ] ;
             fhir:Resource.meta [
               fhir:Meta.profile [
                 fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0" ;
                 fhir:index 0 ;
                 fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0>
               ]
             ] ;
             fhir:MedicationDispense.status [ fhir:value "completed" ] ;
             fhir:MedicationDispense.medicationReference [
               fhir:link <http://hl7.org/fhir/Medication/4ef3e77d-fcaf-483e-8c65-c09372bb60fe> ;
               fhir:Reference.reference [ fhir:value "Medication/4ef3e77d-fcaf-483e-8c65-c09372bb60fe" ]
             ] ;
             fhir:MedicationDispense.subject [
               fhir:Reference.identifier [
                 fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
                 fhir:Identifier.value [ fhir:value "X110411319" ]
               ]
             ] ;
             fhir:MedicationDispense.performer [
               fhir:index 0 ;
               fhir:MedicationDispense.performer.actor [
                 fhir:link <http://hl7.org/fhir/Organization/ccc03731-4c38-4b48-bd41-583766b796c6> ;
                 fhir:Reference.reference [ fhir:value "Organization/ccc03731-4c38-4b48-bd41-583766b796c6" ] ;
                 fhir:Reference.identifier [
                   fhir:Identifier.type [
                     fhir:CodeableConcept.coding [
                       fhir:index 0 ;
                       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
                       fhir:Coding.code [ fhir:value "PRN" ] ;
                       fhir:Coding.display [ fhir:value "Provider number" ]
                     ]
                   ] ;
                   fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
                   fhir:Identifier.value [ fhir:value "9-2.58.00000023" ]
                 ] ;
                 fhir:Reference.display [ fhir:value "gematik Apotheke" ]
               ]
             ] ;
             fhir:MedicationDispense.whenHandedOver [ fhir:value "2025-11-27"^^xsd:date ] ;
             fhir:MedicationDispense.substitution [
               fhir:MedicationDispense.substitution.wasSubstituted [ fhir:value "false"^^xsd:boolean ]
             ]
           ]
         ], [
           fhir:index 3 ;
           fhir:Parameters.parameter.name [ fhir:value "medication" ] ;
           fhir:Parameters.parameter.resource [
             a fhir:Medication ;
             fhir:Resource.id [ fhir:value "4ef3e77d-fcaf-483e-8c65-c09372bb60fe" ] ;
             fhir:Resource.meta [
               fhir:Meta.profile [
                 fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0" ;
                 fhir:index 0 ;
                 fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0>
               ]
             ] ;
             fhir:DomainResource.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension" ] ;
               fhir:Extension.valueCoding [
                 a sct:763158003 ;
                 fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
                 fhir:Coding.code [ fhir:value "763158003" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension" ] ;
               fhir:Extension.valueCoding [
                 fhir:Coding.system [ fhir:value "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" ] ;
                 fhir:Coding.code [ fhir:value "00" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://fhir.de/StructureDefinition/normgroesse" ] ;
               fhir:Extension.valueCode [ fhir:value "N1" ]
             ] ;
             fhir:Medication.code [
               fhir:CodeableConcept.coding [
                 fhir:index 0 ;
                 fhir:Coding.system [ fhir:value "http://fhir.de/CodeSystem/ifa/pzn" ] ;
                 fhir:Coding.code [ fhir:value "08585997" ]
               ] ;
               fhir:CodeableConcept.text [ fhir:value "Prospan® Hustensaft 100ml N1" ]
             ] ;
             fhir:Medication.status [ fhir:value "active" ] ;
             fhir:Medication.form [
               fhir:CodeableConcept.coding [
                 fhir:index 0 ;
                 fhir:Coding.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" ] ;
                 fhir:Coding.code [ fhir:value "FLE" ]
               ]
             ] ;
             fhir:Medication.ingredient [
               fhir:index 0 ;
               fhir:Medication.ingredient.itemCodeableConcept [
                 fhir:CodeableConcept.coding [
                   fhir:index 0 ;
                   fhir:Coding.system [ fhir:value "http://fhir.de/CodeSystem/ask" ] ;
                   fhir:Coding.code [ fhir:value "50912" ]
                 ] ;
                 fhir:CodeableConcept.text [ fhir:value "Efeublätter-Trockenextrakt (5-7,5:1); Auszugsmittel: Ethanol 30% (m/m)" ]
               ] ;
               fhir:Medication.ingredient.strength [
                 fhir:Ratio.numerator [
                   fhir:Quantity.value [ fhir:value "35"^^xsd:decimal ] ;
                   fhir:Quantity.unit [ fhir:value "mg" ]
                 ] ;
                 fhir:Ratio.denominator [
                   fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ] ;
                   fhir:Quantity.unit [ fhir:value "ml" ]
                 ]
               ]
             ]
           ]
         ], [
           fhir:index 4 ;
           fhir:Parameters.parameter.name [ fhir:value "organization" ] ;
           fhir:Parameters.parameter.resource [
             a fhir:Organization ;
             fhir:Resource.id [ fhir:value "ccc03731-4c38-4b48-bd41-583766b796c6" ] ;
             fhir:Resource.meta [
               fhir:Meta.profile [
                 fhir:value "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.1" ;
                 fhir:index 0 ;
                 fhir:link <https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.1>
               ] ;
               fhir:Meta.tag [
                 fhir:index 0 ;
                 fhir:Coding.system [ fhir:value "https://gematik.de/fhir/directory/CodeSystem/Origin" ] ;
                 fhir:Coding.code [ fhir:value "ldap" ]
               ]
             ] ;
             fhir:Organization.identifier [
               fhir:index 0 ;
               fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/sid/telematik-id" ] ;
               fhir:Identifier.value [ fhir:value "9-2.58.00000023" ]
             ] ;
             fhir:Organization.active [ fhir:value "true"^^xsd:boolean ] ;
             fhir:Organization.type [
               fhir:index 0 ;
               fhir:CodeableConcept.coding [
                 fhir:index 0 ;
                 fhir:Coding.system [ fhir:value "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID" ] ;
                 fhir:Coding.code [ fhir:value "1.2.276.0.76.4.54" ] ;
                 fhir:Coding.display [ fhir:value "Öffentliche Apotheke" ]
               ]
             ] ;
             fhir:Organization.name [ fhir:value "gematik Apotheke" ] ;
             fhir:Organization.alias [
               fhir:value "Apotheke" ;
               fhir:index 0
             ] ;
             fhir:Organization.address [
               fhir:index 0 ;
               fhir:Address.text [ fhir:value "gematik Apotheke\nFriedrichstr. 136,\n10117 Berlin" ] ;
               fhir:Address.line [
                 fhir:value "Friedrichstr. 136" ;
                 fhir:index 0
               ] ;
               fhir:Address.city [ fhir:value "Berlin" ] ;
               fhir:Address.district [ fhir:value "Mitte" ] ;
               fhir:Address.state [ fhir:value "Berlin" ] ;
               fhir:Address.postalCode [ fhir:value "10117" ] ;
               fhir:Address.country [ fhir:value "DE" ]
             ] ;
             fhir:Organization.contact [
               fhir:index 0 ;
               fhir:Organization.contact.purpose [
                 fhir:CodeableConcept.coding [
                   fhir:index 0 ;
                   fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/contactentity-type" ] ;
                   fhir:Coding.code [ fhir:value "ADMIN" ]
                 ]
               ] ;
               fhir:Organization.contact.name [
                 fhir:HumanName.text [ fhir:value "gematik ITSM" ]
               ] ;
               fhir:Organization.contact.telecom [
                 fhir:index 0 ;
                 fhir:ContactPoint.system [ fhir:value "email" ] ;
                 fhir:ContactPoint.value [ fhir:value "betrieb@gematik.de" ]
               ]
             ]
           ]
         ]
      ] .

    <http://hl7.org/fhir/Medication/4ef3e77d-fcaf-483e-8c65-c09372bb60fe> a fhir:Medication .

    <http://hl7.org/fhir/Organization/ccc03731-4c38-4b48-bd41-583766b796c6> a fhir:Organization .

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

    <http://hl7.org/fhir/Parameters/example-epa-op-provide-dispensation-erp-input-parameters-2.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Parameters/example-epa-op-provide-dispensation-erp-input-parameters-2.ttl> .