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

## : 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"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-emp-entry-output-parameters>     ] )
      ] ; #
      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"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request>         ] )       ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
    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:value [
    a fhir:string ;
    fhir:v "Bluthochdruck"         ]       ] [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension"^^xsd:anyURI ] ;
    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:value [
    a fhir:Period ;
    fhir:start [ fhir:v "2026-12-01"^^xsd:date ]         ]       ] ) ;
          ( fhir:identifier [
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/emp-identifier"^^xsd:anyURI ] ;
    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: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: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:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "algorithm"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "1.0.0" ] ;
    fhir:code [ fhir:v "GematikDosageTextGenerator" ]             ]           ] [
    fhir:url [ fhir:v "algorithmVersion"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "1.0.0"             ]           ] [
    fhir:url [ fhir:v "language"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "de-DE"             ]           ] [
    fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "2 x täglich: morgens und abends — je 1 Stück"             ]           ] ) ;
    fhir:url [ fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions"^^xsd:anyURI ]         ] ) ;
    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: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"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication>         ] )       ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
    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: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 "D15E4956F59A13CD3BB365799857D6FA9757C62D36DBDB9578D018CA4B6D969F" ]       ] ) ;
    fhir:code [
            ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ] ;
    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: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: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: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"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance>         ] )       ] ;
          ( fhir:target [
    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: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:code [ fhir:v "author" ]           ] )         ] ;
    fhir:who [
    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:code [ fhir:v "PRN" ]               ] )             ] ;
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
    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"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance>         ] )       ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-chronology-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true         ]       ] ) ;
          ( fhir:target [
    fhir:reference [ fhir:v "MedicationRequest/173439a1-40ee-4b61-bb8c-aab3f5a1af10/_history/2" ]       ] [
    fhir:reference [ fhir:v "MedicationRequest/e2da4372-accc-4a76-81da-83e43ef9b15a/_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: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:code [ fhir:v "author" ]           ] )         ] ;
    fhir:who [
    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:code [ fhir:v "PRN" ]               ] )             ] ;
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "9-2.58.00000089" ]           ] ;
    fhir:display [ fhir:v "Die Hausarztpraxis" ]         ]       ] )     ] )
      ] ) . #