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

## : 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"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-link-emp-entry-output-parameters>     ] )
      ] ; #
      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"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement>         ] )       ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MANUAL"         ]       ] ) ;
    fhir:status [ fhir:v "unknown" ] ;
    fhir:medication [
    a fhir:Reference ;
    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: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: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 "täglich: morgens — 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 "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: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"^^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 "Kopfschmerzen"         ]       ] [
    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 "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:value [
    a fhir:Period ;
    fhir:start [ fhir:v "2026-11-02"^^xsd:date ]         ]       ] ) ;
          ( fhir:identifier [
    fhir:system [ fhir:v "https://gematik.de/fhir/sid/emp-identifier"^^xsd:anyURI ] ;
    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: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: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: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 "täglich: morgens — 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 "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: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"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance>         ] )       ] ;
          ( fhir:target [
    fhir:reference [ fhir:v "MedicationStatement/3afe43bc-8b57-417f-9e84-a70ea5062a6c/_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: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" ]         ]       ] )     ] )
      ] [
    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"^^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/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: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" ]         ]       ] )     ] )
      ] ) . #