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

## : Cancel Prescription eRP - TTL Representation

Draft as of 2025-09-02

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:OperationDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "cancel-prescription-erp-OP"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition cancel-prescription-erp-OP</b></p><a name=\"cancel-prescription-erp-OP\"> </a><a name=\"hccancel-prescription-erp-OP\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://gematik.de/fhir/ti/1.1.1-ballot.1/StructureDefinition-ti-operationdefinition.html\">OperationDefinition Profil für TI FHIR Data Service</a></p></div><p>URL: [base]/$$cancel-prescription-erp</p><p>Input parameters Profile:<a href=\"StructureDefinition-epa-op-cancel-prescription-erp-input-parameters.html\">EPA Operation CancelPrescription ERP Input-Parameters</a></p><p>Output parameters Profile:<a href=\"StructureDefinition-epa-op-rx-prescription-erp-output-parameters.html\">EPA Operation RxPrescription ERP Output-Parameters</a></p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://gematik.de/fhir/ti/StructureDefinition/extension-http-method"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "POST"     ]
      ] ) ; #
      fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-prescription-erp-OP"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.2.0-ballot.2"] ; #
      fhir:name [ fhir:v "cancelPrescription_MedicationSvc"] ; #
      fhir:title [ fhir:v "Cancel Prescription eRP"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:kind [ fhir:v "operation"] ; #
      fhir:date [ fhir:v "2025-09-02"^^xsd:date] ; #
      fhir:publisher [ fhir:v "gematik GmbH"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "gematik GmbH" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.gematik.de" ]     ] [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "patientteam [ at ] gematik.de" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "The $cancel-prescription-erp operation is used by the E-Rezept-Fachdienst to cancel an already issued electronic prescription. This function is applied when a prescription is no longer needed for various reasons, such as changes in medication or errors in the initial issuance. After cancellation by the E-Rezept-Fachdienst, this information is transmitted to the ePA Medication Service, where the prescription is calculations. It can then no longer be used for dispensing medication. This process ensures accuracy and safety in the management of medications."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "DE" ]     ] )
      ] ) ; #
      fhir:affectsState [ fhir:v true] ; #
      fhir:code [ fhir:v "cancel-prescription-erp"] ; #
      fhir:system [ fhir:v true] ; #
      fhir:type [ fhir:v false] ; #
      fhir:instance [ fhir:v false] ; #
      fhir:inputProfile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-cancel-prescription-erp-input-parameters"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-cancel-prescription-erp-input-parameters>
      ] ; #
      fhir:outputProfile [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-prescription-erp-output-parameters"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-prescription-erp-output-parameters>
      ] . #