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

## : ExpEPAOpEmlEntryCancelledOutputParameters - 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-eml-entry-cancelled-output-parameters-1"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-eml-entry-output-parameters"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-eml-entry-output-parameters>     ] )
      ] ; #
      fhir:parameter ( [
    fhir:name [ fhir:v "medicationStatement" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:MedicationStatement ;
    fhir:id [ fhir:v "6e340b90-35cd-4070-bad8-c26704d85d55" ] ;
    fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2026-02-23T15:00:00.444Z"^^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 "entered-in-error" ] ;
    fhir:medication [
    a fhir:Reference ;
    fhir:reference [ fhir:v "Medication/2571d29b-e213-40ec-b817-a1490718f491" ]       ] ;
    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-02-10"^^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 "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 "16920f85-569e-415b-8b01-476bb018c794" ] ;
    fhir:meta [
    fhir:versionId [ fhir:v "2" ] ;
    fhir:lastUpdated [ fhir:v "2026-02-23T15:00:00.500Z"^^xsd:dateTime ] ;
            ( fhir:profile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication>         ] )       ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding, sct:781405001 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "781405001" ] ;
    fhir:display [ fhir:v "Medicinal product package (product)" ]         ]       ] [
    fhir:url [ fhir:v "http://fhir.de/StructureDefinition/normgroesse"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "N1"         ]       ] ) ;
          ( fhir:identifier [
    fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "B849184C973EA5FA7D9751E6FAA6AFCFFD100183596239F84DD2C0FG4C751D67" ]       ] ) ;
    fhir:code [
            ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "14170042" ] ;
    fhir:display [ fhir:v "Diclo-ratiopharm® bei Schmerzen und Fieber 25 mg Filmtabletten" ]         ] ) ;
    fhir:text [ fhir:v "Diclo-ratiopharm® bei Schmerzen und Fieber 25 mg Filmtabletten" ]       ] ;
    fhir:status [ fhir:v "entered-in-error" ] ;
    fhir:form [
            ( fhir:coding [
    fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "TAB" ]         ] )       ] ;
    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 "20 St."             ]           ] ) ;
    fhir:value [ fhir:v "20"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "St" ]         ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ]         ]       ]     ] )
      ] [
    fhir:name [ fhir:v "relatedActivity" ] ;
        ( fhir:Parameters.parameter.resource [
    a fhir:Provenance ;
    fhir:id [ fhir:v "39475183-3444-4b63-bfed-ae0741f4496b" ] ;
    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/6e340b90-35cd-4070-bad8-c26704d85d55/_history/2" ]       ] ) ;
    fhir:recorded [ fhir:v "2026-02-23T15:00:00.550Z"^^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/8B421590-9F7F-46BE-BD1E-C987063AC4F5" ] ;
    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.00000060" ]           ] ;
    fhir:display [ fhir:v "Die Apotheke" ]         ]       ] )     ] )
      ] ) . #