Implementation Guide
ePA Medication Service
Version 1.3.3 - release

## : Cancel Dispensation eRP - XML Representation

Active as of 2026-03-20

Raw xml | Download

    <OperationDefinition xmlns="http://hl7.org/fhir">
      <id value="cancel-dispensation-erp-OP"/>
      <meta>
        <profile
                 value="https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition"/>
      </meta>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition cancel-dispensation-erp-OP</b></p><a name="cancel-dispensation-erp-OP"> </a><a name="hccancel-dispensation-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://simplifier.net/resolve?scope=de.gematik.ti@1.3.1&amp;canonical=https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition">OperationDefinition Profil für TI FHIR Data Service</a></p></div><p>URL: [base]/$cancel-dispensation-erp</p><p>Input parameters Profile:<a href="StructureDefinition-epa-op-cancel-dispensation-erp-input-parameters.html">EPA Operation CancelDispensation ERP Input-Parameters</a></p><p>Output parameters Profile:<a href="StructureDefinition-epa-op-rx-dispensation-erp-output-parameters.html">EPA Operation RxDispensation 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>
      </text>
      <extension
                 url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-method">
        <valueCode value="POST"/>
      </extension>
      <url
           value="https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-dispensation-erp-OP"/>
      <version value="1.3.2"/>
      <name value="cancelDispensation_MedicationSvc"/>
      <title value="Cancel Dispensation eRP"/>
      <status value="active"/>
      <kind value="operation"/>
      <date value="2026-03-20"/>
      <publisher value="gematik GmbH"/>
      <contact>
        <name value="gematik GmbH"/>
        <telecom>
          <system value="url"/>
          <value value="https://www.gematik.de"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="patientteam [ at ] gematik.de"/>
        </telecom>
      </contact>
      <description
                   value="The Cancel Dispensation eRP operation, used by the E-Rezept-Fachdienst, in the context of the ePA Medication Service, is applied to cancel or reverse information regarding the dispensation of a medication. This operation is necessary when a medication dispensation is cancelled by a pharmacist or when there is a return of the medication by the insurant. After the E-Rezept-Fachdienst performs this operation, the corresponding dispensation entry for the medication in the patient's ePA is marked as cancelled, which the goal in ensuring an accurate and up-to-date record of the patient's medication data."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="DE"/>
        </coding>
      </jurisdiction>
      <affectsState value="true"/>
      <code value="cancel-dispensation-erp"/>
      <system value="true"/>
      <type value="false"/>
      <instance value="false"/>
      <inputProfile
                    value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-cancel-dispensation-erp-input-parameters"/>
      <outputProfile
                     value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-dispensation-erp-output-parameters"/>
    </OperationDefinition>