Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## : Cancel Prescription eRP - XML Representation

Active as of 2025-02-28

Raw xml | Download

    <OperationDefinition xmlns="http://hl7.org/fhir">
      <id value="cancel-prescription-erp-OP"/>
      <text>
        <status value="generated"/>
        <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><a name="cancel-prescription-erp-OP-de-DE"> </a><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><tr><td>IN</td><td>rxPrescription</td><td/><td>1..*</td><td></td><td/><td/></tr><tr><td>IN</td><td>rxPrescription.prescriptionId</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td/><td/></tr><tr><td>IN</td><td>rxPrescription.authoredOn</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td/><td/></tr><tr><td>OUT</td><td>rxPrescription</td><td/><td>1..*</td><td></td><td/><td/></tr><tr><td>OUT</td><td>rxPrescription.prescriptionId</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td/><td/></tr><tr><td>OUT</td><td>rxPrescription.authoredOn</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td/><td/></tr><tr><td>OUT</td><td>rxPrescription.operationOutcome</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/operationoutcome.html">OperationOutcome</a> (<a href="StructureDefinition-epa-ms-operation-outcome.html" title="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-ms-operation-outcome">EPA Medication Service Operation Outcome</a>)</td><td/><td/></tr></table></div>
      </text>
      <url
           value="https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-prescription-erp-OP"/>
      <version value="1.0.5-1"/>
      <name value="cancelPrescription_MedicationSvc"/>
      <title value="Cancel Prescription eRP"/>
      <status value="active"/>
      <kind value="operation"/>
      <date value="2025-02-28"/>
      <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-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."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="DE"/>
        </coding>
      </jurisdiction>
      <code value="cancel-prescription-erp"/>
      <system value="true"/>
      <type value="false"/>
      <instance value="false"/>
      <inputProfile
                    value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-cancel-prescription-erp-input-parameters"/>
      <outputProfile
                     value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-prescription-erp-output-parameters"/>
      <parameter>
        <name value="rxPrescription"/>
        <use value="in"/>
        <min value="1"/>
        <max value="*"/>
        <part>
          <name value="prescriptionId"/>
          <use value="in"/>
          <min value="1"/>
          <max value="1"/>
          <type value="Identifier"/>
        </part>
        <part>
          <name value="authoredOn"/>
          <use value="in"/>
          <min value="1"/>
          <max value="1"/>
          <type value="date"/>
        </part>
      </parameter>
      <parameter>
        <name value="rxPrescription"/>
        <use value="out"/>
        <min value="1"/>
        <max value="*"/>
        <part>
          <name value="prescriptionId"/>
          <use value="out"/>
          <min value="1"/>
          <max value="1"/>
          <type value="Identifier"/>
        </part>
        <part>
          <name value="authoredOn"/>
          <use value="out"/>
          <min value="1"/>
          <max value="1"/>
          <type value="date"/>
        </part>
        <part>
          <name value="operationOutcome"/>
          <use value="out"/>
          <min value="1"/>
          <max value="1"/>
          <type value="OperationOutcome"/>
          <targetProfile
                         value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-ms-operation-outcome"/>
        </part>
      </parameter>
    </OperationDefinition>