Implementation Guide
ePA Medication Service
Version 1.3.3 - release

## : ExpEPAOpUnlinkEMPEntryOutputParameters - 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:Parameters ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example-epa-op-unlink-emp-entry-output-parameters-1"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-link-emp-entry-output-parameters|1.3.0"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-link-emp-entry-output-parameters?version=1.3.0>     ] )
      ] ; #
      fhir:parameter ( [
    fhir:name [ fhir:v "medicationStatement" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:MedicationStatement ;
    fhir:id [ fhir:v "3afe43bc-8b57-417f-9e84-a70ea5062a6c" ] ;
    fhir:meta [
    fhir:versionId [ fhir:v "3" ] ;
    fhir:lastUpdated [ fhir:v "2026-11-25T14:00:00.000Z"^^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/context-extension"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension>         ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "MANUAL"         ]       ] [
    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/b43cb3c2-552a-4da1-9eaa-605ac532a83d ;
    fhir:reference [ fhir:v "Medication/b43cb3c2-552a-4da1-9eaa-605ac532a83d" ]       ] ;
    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 "2026-11-01"^^xsd:date ]       ] ;
    fhir:dateAsserted [ fhir:v "2026-11-01"^^xsd:date ] ;
          ( 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" ]           ]         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "empEntry" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:MedicationRequest ;
    fhir:id [ fhir:v "266620a9-2c26-41c1-b0cb-a10947b867f5" ] ;
    fhir:meta [
    fhir:versionId [ fhir:v "3" ] ;
    fhir:lastUpdated [ fhir:v "2026-11-25T14:00:00.000Z"^^xsd:dateTime ] ;
            ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request|1.3.1"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request?version=1.3.1>         ] )       ] ;
          ( 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 "Kopfschmerzen"         ]       ] [
    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 "Alkohol: das Risiko für Magen-Darm-Geschwüre und -Blutungen ist erhöht." ]         ]       ] [
    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-11-02"^^xsd:date ]         ]       ] [
    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-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: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 "266620a9-2c26-41c1-b0cb-a10947b867f5" ]       ] ) ;
    fhir:status [ fhir:v "active" ] ;
    fhir:intent [ fhir:v "plan" ] ;
    fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/d6508f13-9314-4e54-a0c3-3eafe1f356ff ;
    fhir:reference [ fhir:v "Medication/d6508f13-9314-4e54-a0c3-3eafe1f356ff" ]       ] ;
    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-11-01"^^xsd:date ] ;
          ( fhir:note [
    fhir:text [ fhir:v "Hinweis für den LE" ]       ] ) ;
          ( fhir:dosageInstruction [
    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" ]           ]         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "relatedActivity" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:Provenance ;
    fhir:id [ fhir:v "6fbf6cb7-6425-49c5-a005-50aac83fd8cd" ] ;
    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:MedicationStatement/3afe43bc-8b57-417f-9e84-a70ea5062a6c/_history/3 ;
    fhir:reference [ fhir:v "MedicationStatement/3afe43bc-8b57-417f-9e84-a70ea5062a6c/_history/3" ]       ] [
    fhir:l fhir:MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5/_history/3 ;
    fhir:reference [ fhir:v "MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5/_history/3" ]       ] ) ;
    fhir:recorded [ fhir:v "2026-11-25T14:00:00.000Z"^^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" ]         ]       ] )     ] )
      ] [
    fhir:name [ fhir:v "relatedChronology" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:Provenance ;
    fhir:id [ fhir:v "005c1662-8f1c-49cb-a08c-dfdf08080032" ] ;
    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/266620a9-2c26-41c1-b0cb-a10947b867f5/_history/3 ;
    fhir:reference [ fhir:v "MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5/_history/3" ]       ] ) ;
    fhir:occurred [
    a fhir:DateTime ;
    fhir:v "2026-11-25T14:00:00.000Z"^^xsd:dateTime       ] ;
    fhir:recorded [ fhir:v "2026-11-25T14:00:00.000Z"^^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" ]         ]       ] )     ] )
      ] ) . #