Implementation Guide
ePA Medication Service
Version 1.3.0 - release

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

Active as of 2025-12-15

Raw json | Download

    {
      "resourceType" : "CodeSystem",
      "id" : "epa-ms-operation-outcome-details",
      "text" : {
        "status" : "generated",
        "div" : "<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\">MEDSVC_NO_VALID_STRUCTURE<a name=\"epa-ms-operation-outcome-details-MEDSVC_NO_VALID_STRUCTURE\"> </a></td><td>Invalid Data Structure in Medication Service</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_PRESCRIPTION_NO_EXIST<a name=\"epa-ms-operation-outcome-details-MEDSVC_PRESCRIPTION_NO_EXIST\"> </a></td><td>Prescription Not Found in Medication Service</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_PRESCRIPTION_DUPLICATE<a name=\"epa-ms-operation-outcome-details-MEDSVC_PRESCRIPTION_DUPLICATE\"> </a></td><td>Duplicate Prescription Detected in Medication Service</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_PRESCRIPTION_STATUS<a name=\"epa-ms-operation-outcome-details-MEDSVC_PRESCRIPTION_STATUS\"> </a></td><td>Operation Not Permitted on Current Prescription Status</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_DISPENSATION_NO_EXIST<a name=\"epa-ms-operation-outcome-details-MEDSVC_DISPENSATION_NO_EXIST\"> </a></td><td>Dispensation Not Found in Medication Service</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_DISPENSATION_STATUS<a name=\"epa-ms-operation-outcome-details-MEDSVC_DISPENSATION_STATUS\"> </a></td><td>Operation Not Permitted on Current Dispensation Status</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_OPERATION_SUCCESS<a name=\"epa-ms-operation-outcome-details-MEDSVC_OPERATION_SUCCESS\"> </a></td><td>Operation Successfully Completed in Medication Service</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_PARAMETERS_REFERENCE_NO_EXIST<a name=\"epa-ms-operation-outcome-details-MEDSVC_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><tr><td style=\"white-space:nowrap\">MEDSVC_ALREADY_LINKED<a name=\"epa-ms-operation-outcome-details-MEDSVC_ALREADY_LINKED\"> </a></td><td>Already linked to another instance</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_EMP_ENTRY_ALREADY_EXISTS<a name=\"epa-ms-operation-outcome-details-MEDSVC_EMP_ENTRY_ALREADY_EXISTS\"> </a></td><td>eMP entry already exists</td></tr><tr><td style=\"white-space:nowrap\">MEDSVC_EMP_NO_EXIST<a name=\"epa-ms-operation-outcome-details-MEDSVC_EMP_NO_EXIST\"> </a></td><td>eMP does not exist</td></tr></table></div>"
      },
      "url" : "https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details",
      "version" : "1.3.0",
      "name" : "EPAMSOperationOutcomeDetailsCS",
      "title" : "EPA Medication Service OperationOutcome Code System",
      "status" : "active",
      "experimental" : false,
      "date" : "2025-12-15",
      "publisher" : "gematik GmbH",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://www.gematik.de"
            }
          ]
        }
      ],
      "description" : "EPA Medication Service Operation Outcome Code System",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "DE"
            }
          ]
        }
      ],
      "copyright" : "gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0.",
      "caseSensitive" : true,
      "content" : "complete",
      "count" : 17,
      "concept" : [
        {
          "code" : "MEDSVC_NO_VALID_STRUCTURE",
          "display" : "Invalid Data Structure in Medication Service"
        },
        {
          "code" : "MEDSVC_PRESCRIPTION_NO_EXIST",
          "display" : "Prescription Not Found in Medication Service"
        },
        {
          "code" : "MEDSVC_PRESCRIPTION_DUPLICATE",
          "display" : "Duplicate Prescription Detected in Medication Service"
        },
        {
          "code" : "MEDSVC_PRESCRIPTION_STATUS",
          "display" : "Operation Not Permitted on Current Prescription Status"
        },
        {
          "code" : "MEDSVC_DISPENSATION_NO_EXIST",
          "display" : "Dispensation Not Found in Medication Service"
        },
        {
          "code" : "MEDSVC_DISPENSATION_STATUS",
          "display" : "Operation Not Permitted on Current Dispensation Status"
        },
        {
          "code" : "MEDSVC_OPERATION_SUCCESS",
          "display" : "Operation Successfully Completed in Medication Service"
        },
        {
          "code" : "MEDSVC_PARAMETERS_REFERENCE_NO_EXIST",
          "display" : "Unresolved Reference in Parameters"
        },
        {
          "code" : "MEDSVC_STATUS_INVALID",
          "display" : "Invalid Status in Parameters"
        },
        {
          "code" : "MEDSVC_STATEMENT_NO_EXIST",
          "display" : "MedicationStatement Not Found"
        },
        {
          "code" : "MEDSVC_PARAMETERS_INVALID_CONTENT",
          "display" : "Provided content not allowed"
        },
        {
          "code" : "MEDSVC_DOSAGE_INVALID",
          "display" : "Invalid dosage structure or content"
        },
        {
          "code" : "MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH",
          "display" : "Mismatch between acknowledged and current eMP chronology ID"
        },
        {
          "code" : "MEDSVC_OPERATION_OUTSIDE_BATCH",
          "display" : "The operation can only be executed within a batch context"
        },
        {
          "code" : "MEDSVC_ALREADY_LINKED",
          "display" : "Already linked to another instance"
        },
        {
          "code" : "MEDSVC_EMP_ENTRY_ALREADY_EXISTS",
          "display" : "eMP entry already exists"
        },
        {
          "code" : "MEDSVC_EMP_NO_EXIST",
          "display" : "eMP does not exist"
        }
      ]
    }