Implementation Guide
ePA Medication Service
Version 1.3.0 - release

## : ExpEPAOpEMPEntryOutputParameters - 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:Parameters ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example-epa-op-emp-entry-output-parameters-1"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-emp-entry-output-parameters|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-emp-entry-output-parameters?version=1.3.0>     ] )
      ] ; #
      fhir:parameter ( [
    fhir:name [ fhir:v "empEntry" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:MedicationRequest ;
    fhir:id [ fhir:v "71b66f1b-8032-4886-b7bf-e775daee22fb" ] ;
    fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-12-01T14:00:00.400Z"^^xsd:dateTime ] ;
            ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request?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 "EMP"         ]       ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Bluthochdruck"         ]       ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension>         ] ;
    fhir:value [
    a fhir:Annotation ;
    fhir:text [ fhir:v "Benazepril kann anfangs Schwindel verursachen - daher zuerst in Ruhe einnehmen und Autofahren vermeiden." ]         ]       ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod>         ] ;
    fhir:value [
    a fhir:Period ;
    fhir:start [ fhir:v "2026-12-01"^^xsd:date ]         ]       ] [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension>         ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l fhir:Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f ;
    fhir:reference [ fhir:v "Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f" ]         ]       ] [
    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/sid/emp-identifier"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/sid/emp-identifier>         ] ;
    fhir:value [ fhir:v "71b66f1b-8032-4886-b7bf-e775daee22fb" ]       ] ) ;
    fhir:status [ fhir:v "active" ] ;
    fhir:intent [ fhir:v "plan" ] ;
    fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f ;
    fhir:reference [ fhir:v "Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f" ]       ] ;
    fhir:subject [
    fhir:identifier [
    fhir:system [
    fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ;
    fhir:l <http://fhir.de/sid/gkv/kvid-10>           ] ;
    fhir:value [ fhir:v "X110411319" ]         ]       ] ;
    fhir:authoredOn [ fhir:v "2026-12-01"^^xsd:date ] ;
          ( fhir:note [
    fhir:text [ fhir:v "Hinweis für den LE" ]       ] ) ;
          ( fhir:dosageInstruction [
    fhir: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:name [ fhir:v "medication" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:Medication ;
    fhir:id [ fhir:v "13c66845-d0ce-43e1-9b0b-884cbbe8df7f" ] ;
    fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2026-12-01T14:00:00.200Z"^^xsd:dateTime ] ;
            ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication?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 "EMP"         ]       ] [
    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:763158003 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    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: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 "N3"         ]       ] [
    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 "D15E4956F59A13CD3BB365799857D6FA9757C62D36DBDB9578D018CA4B6D969F" ]       ] ) ;
    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 "04351736" ] ;
    fhir:display [ fhir:v "Benazepril AL 20mg 98 Filmtabletten N3" ]         ] ) ;
    fhir:text [ fhir:v "Benazepril AL 20mg 98 Filmtabletten N3" ]       ] ;
    fhir:status [ fhir:v "active" ] ;
    fhir:form [
            ( fhir:coding [
    fhir:system [
    fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"^^xsd:anyURI ;
    fhir:l <https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM>           ] ;
    fhir:code [ fhir:v "FTA" ]         ] )       ] ;
    fhir:amount [
    fhir:numerator [
              ( fhir:extension [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension>             ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "98"             ]           ] ) ;
    fhir:unit [ fhir:v "Stück" ]         ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ]         ]       ] ;
          ( fhir:ingredient [
    fhir:item [
    a fhir:CodeableConcept ;
              ( fhir:coding [
    fhir:system [
    fhir:v "http://fhir.de/CodeSystem/ask"^^xsd:anyURI ;
    fhir:l <http://fhir.de/CodeSystem/ask>             ] ;
    fhir:code [ fhir:v "23413" ]           ] ) ;
    fhir:text [ fhir:v "Benazepril hydrochlorid" ]         ] ;
    fhir:strength [
    fhir:numerator [
    fhir:value [ fhir:v "20"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "mg" ]           ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Filmtbl." ]           ]         ]       ] )     ] )
      ] [
    fhir:name [ fhir:v "relatedActivity" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:Provenance ;
    fhir:id [ fhir:v "8faa45dd-b2dc-4a80-8956-94aeab1db04b" ] ;
    fhir:meta [
            ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|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:MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb/_history/1" ]       ] ) ;
    fhir:recorded [ fhir:v "2026-12-01T14:00:00.600Z"^^xsd:dateTime ] ;
    fhir:activity [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ;
    fhir: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/450a9511-53e5-4af7-be36-a18444bb8dd2 ;
    fhir:reference [ fhir:v "Organization/450a9511-53e5-4af7-be36-a18444bb8dd2" ] ;
    fhir:identifier [
    fhir:type [
                  ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
    fhir: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.00000089" ]           ] ;
    fhir:display [ fhir:v "Die Hausarztpraxis" ]         ]       ] )     ] )
      ] [
    fhir:name [ fhir:v "relatedChronology" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:Provenance ;
    fhir:id [ fhir:v "b467ce05-e0e5-4d71-9a0b-d824dbb492ef" ] ;
    fhir:meta [
            ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance?version=1.3.0>         ] )       ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension>         ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true         ]       ] ) ;
          ( fhir:target [
    fhir:l fhir:MedicationRequest/173439a1-40ee-4b61-bb8c-aab3f5a1af10/_history/2 ;
    fhir:reference [ fhir:v "MedicationRequest/173439a1-40ee-4b61-bb8c-aab3f5a1af10/_history/2" ]       ] [
    fhir:l fhir:MedicationRequest/e2da4372-accc-4a76-81da-83e43ef9b15a/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/e2da4372-accc-4a76-81da-83e43ef9b15a/_history/1" ]       ] [
    fhir:l fhir:MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb/_history/1 ;
    fhir:reference [ fhir:v "MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb/_history/1" ]       ] ) ;
    fhir:occurred [
    a fhir:DateTime ;
    fhir:v "2026-12-01T14:00:00.700Z"^^xsd:dateTime       ] ;
    fhir:recorded [ fhir:v "2026-12-01T14:00:00.700Z"^^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:l fhir:Organization/450a9511-53e5-4af7-be36-a18444bb8dd2 ;
    fhir:reference [ fhir:v "Organization/450a9511-53e5-4af7-be36-a18444bb8dd2" ] ;
    fhir:identifier [
    fhir:type [
                  ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
    fhir: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.00000089" ]           ] ;
    fhir:display [ fhir:v "Die Hausarztpraxis" ]         ]       ] )     ] )
      ] ) . #