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

## : EPA Medication Service OperationOutcome Code System - XML Representation

Draft as of 2025-09-02

Raw xml | Download

    <CodeSystem xmlns="http://hl7.org/fhir">
      <id value="epa-ms-operation-outcome-details"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem epa-ms-operation-outcome-details</b></p><a name="epa-ms-operation-outcome-details"> </a><a name="hcepa-ms-operation-outcome-details"> </a><p>This case-sensitive code system <code>https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details</code> defines the following codes:</p><table class="codes"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td></tr><tr><td style="white-space:nowrap">MEDICATIONSVC_NO_VALID_STRUCTURE<a name="epa-ms-operation-outcome-details-MEDICATIONSVC_NO_VALID_STRUCTURE"> </a></td><td>Invalid Data Structure in Medication Service</td></tr><tr><td style="white-space:nowrap">MEDICATIONSVC_PRESCRIPTION_NO_EXIST<a name="epa-ms-operation-outcome-details-MEDICATIONSVC_PRESCRIPTION_NO_EXIST"> </a></td><td>Prescription Not Found in Medication Service</td></tr><tr><td style="white-space:nowrap">MEDICATIONSVC_PRESCRIPTION_DUPLICATE<a name="epa-ms-operation-outcome-details-MEDICATIONSVC_PRESCRIPTION_DUPLICATE"> </a></td><td>Duplicate Prescription Detected in Medication Service</td></tr><tr><td style="white-space:nowrap">MEDICATIONSVC_PRESCRIPTION_STATUS<a name="epa-ms-operation-outcome-details-MEDICATIONSVC_PRESCRIPTION_STATUS"> </a></td><td>Operation Not Permitted on Current Prescription Status</td></tr><tr><td style="white-space:nowrap">MEDICATIONSVC_DISPENSATION_NO_EXIST<a name="epa-ms-operation-outcome-details-MEDICATIONSVC_DISPENSATION_NO_EXIST"> </a></td><td>Dispensation Not Found in Medication Service</td></tr><tr><td style="white-space:nowrap">MEDICATIONSVC_DISPENSATION_STATUS<a name="epa-ms-operation-outcome-details-MEDICATIONSVC_DISPENSATION_STATUS"> </a></td><td>Operation Not Permitted on Current Dispensation Status</td></tr><tr><td style="white-space:nowrap">MEDICATIONSVC_OPERATION_SUCCESS<a name="epa-ms-operation-outcome-details-MEDICATIONSVC_OPERATION_SUCCESS"> </a></td><td>Operation Successfully Completed in Medication Service</td></tr><tr><td style="white-space:nowrap">MEDICATIONSVC_PARAMETERS_REFERENCE_NO_EXIST<a name="epa-ms-operation-outcome-details-MEDICATIONSVC_PARAMETERS_REFERENCE_NO_EXIST"> </a></td><td>Unresolved Reference in Parameters</td></tr><tr><td style="white-space:nowrap">MEDSVC_STATUS_INVALID<a name="epa-ms-operation-outcome-details-MEDSVC_STATUS_INVALID"> </a></td><td>Invalid Status in Parameters</td></tr><tr><td style="white-space:nowrap">MEDSVC_STATEMENT_NO_EXIST<a name="epa-ms-operation-outcome-details-MEDSVC_STATEMENT_NO_EXIST"> </a></td><td>MedicationStatement Not Found</td></tr><tr><td style="white-space:nowrap">MEDSVC_PARAMETERS_INVALID_CONTENT<a name="epa-ms-operation-outcome-details-MEDSVC_PARAMETERS_INVALID_CONTENT"> </a></td><td>Provided content not allowed</td></tr><tr><td style="white-space:nowrap">MEDSVC_DOSAGE_INVALID<a name="epa-ms-operation-outcome-details-MEDSVC_DOSAGE_INVALID"> </a></td><td>Invalid dosage structure or content</td></tr><tr><td style="white-space:nowrap">MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH<a name="epa-ms-operation-outcome-details-MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH"> </a></td><td>Mismatch between acknowledged and current eMP chronology ID</td></tr><tr><td style="white-space:nowrap">MEDSVC_OPERATION_OUTSIDE_BATCH<a name="epa-ms-operation-outcome-details-MEDSVC_OPERATION_OUTSIDE_BATCH"> </a></td><td>The operation can only be executed within a batch context</td></tr></table></div>
      </text>
      <url
           value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details"/>
      <version value="1.2.0-ballot.2"/>
      <name value="EPAMSOperationOutcomeDetailsCS"/>
      <title value="EPA Medication Service OperationOutcome Code System"/>
      <status value="draft"/>
      <experimental value="false"/>
      <date value="2025-09-02"/>
      <publisher value="gematik GmbH"/>
      <contact>
        <telecom>
          <system value="url"/>
          <value value="https://www.gematik.de"/>
        </telecom>
      </contact>
      <description value="EPA Medication Service Operation Outcome Code System"/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="DE"/>
        </coding>
      </jurisdiction>
      <caseSensitive value="true"/>
      <content value="complete"/>
      <count value="14"/>
      <concept>
        <code value="MEDICATIONSVC_NO_VALID_STRUCTURE"/>
        <display value="Invalid Data Structure in Medication Service"/>
      </concept>
      <concept>
        <code value="MEDICATIONSVC_PRESCRIPTION_NO_EXIST"/>
        <display value="Prescription Not Found in Medication Service"/>
      </concept>
      <concept>
        <code value="MEDICATIONSVC_PRESCRIPTION_DUPLICATE"/>
        <display value="Duplicate Prescription Detected in Medication Service"/>
      </concept>
      <concept>
        <code value="MEDICATIONSVC_PRESCRIPTION_STATUS"/>
        <display value="Operation Not Permitted on Current Prescription Status"/>
      </concept>
      <concept>
        <code value="MEDICATIONSVC_DISPENSATION_NO_EXIST"/>
        <display value="Dispensation Not Found in Medication Service"/>
      </concept>
      <concept>
        <code value="MEDICATIONSVC_DISPENSATION_STATUS"/>
        <display value="Operation Not Permitted on Current Dispensation Status"/>
      </concept>
      <concept>
        <code value="MEDICATIONSVC_OPERATION_SUCCESS"/>
        <display value="Operation Successfully Completed in Medication Service"/>
      </concept>
      <concept>
        <code value="MEDICATIONSVC_PARAMETERS_REFERENCE_NO_EXIST"/>
        <display value="Unresolved Reference in Parameters"/>
      </concept>
      <concept>
        <code value="MEDSVC_STATUS_INVALID"/>
        <display value="Invalid Status in Parameters"/>
      </concept>
      <concept>
        <code value="MEDSVC_STATEMENT_NO_EXIST"/>
        <display value="MedicationStatement Not Found"/>
      </concept>
      <concept>
        <code value="MEDSVC_PARAMETERS_INVALID_CONTENT"/>
        <display value="Provided content not allowed"/>
      </concept>
      <concept>
        <code value="MEDSVC_DOSAGE_INVALID"/>
        <display value="Invalid dosage structure or content"/>
      </concept>
      <concept>
        <code value="MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH"/>
        <display
                 value="Mismatch between acknowledged and current eMP chronology ID"/>
      </concept>
      <concept>
        <code value="MEDSVC_OPERATION_OUTSIDE_BATCH"/>
        <display
                 value="The operation can only be executed within a batch context"/>
      </concept>
    </CodeSystem>