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

## ValueSet: EPA Medication Service Operation Outcome ValueSet

Official URL: https://gematik.de/fhir/epa-medication/ValueSet/epa-ms-operation-outcome-details | Version: 1.2.0-ballot.2
Draft as of 2025-09-02 | Computable Name: EPAMSOperationOutcomeDetailsVS

Enthält alle Codes für das Operation Outcome des Medication Service.

References

- EPA Medication Service Operation Outcome

### Logical Definition (CLD)

This value set includes codes based on the following rules:

- Import all the codes that are contained in EPA Operation Outcome ValueSet
- Include all codes defined in `https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details`
- Include all codes defined in `https://gematik.de/fhir/epa-medication/CodeSystem/epa-medicationstatement-processing-event-code`

### Expansion

This value set expansion contains 67 concepts.

Code | System | Display | Definition
DELETE_MULTIPLE_MATCHES | http://terminology.hl7.org/CodeSystem/operation-outcome | Error: Multiple matches exist for the conditional delete |
MSG_AUTH_REQUIRED | http://terminology.hl7.org/CodeSystem/operation-outcome | You must authenticate before you can use this service |
MSG_BAD_FORMAT | http://terminology.hl7.org/CodeSystem/operation-outcome | Bad Syntax: "%s" must be a %s' |
MSG_BAD_SYNTAX | http://terminology.hl7.org/CodeSystem/operation-outcome | Bad Syntax |
MSG_CANT_PARSE_CONTENT | http://terminology.hl7.org/CodeSystem/operation-outcome | Unable to parse feed (entry content type = "%s") |
MSG_CANT_PARSE_ROOT | http://terminology.hl7.org/CodeSystem/operation-outcome | Unable to parse feed (root element name = "%s") |
MSG_CREATED | http://terminology.hl7.org/CodeSystem/operation-outcome | New resource created |
MSG_DATE_FORMAT | http://terminology.hl7.org/CodeSystem/operation-outcome | The Date value %s is not in the correct format (Xml Date Format required) |
MSG_DELETED | http://terminology.hl7.org/CodeSystem/operation-outcome | This resource has been deleted |
MSG_DELETED_DONE | http://terminology.hl7.org/CodeSystem/operation-outcome | Resource deleted |
MSG_DELETED_ID | http://terminology.hl7.org/CodeSystem/operation-outcome | The resource "%s" has been deleted |
MSG_DUPLICATE_ID | http://terminology.hl7.org/CodeSystem/operation-outcome | Duplicate Id %s for resource type %s |
MSG_ERROR_PARSING | http://terminology.hl7.org/CodeSystem/operation-outcome | Error parsing resource Xml (%s) |
MSG_ID_INVALID | http://terminology.hl7.org/CodeSystem/operation-outcome | Id "%s" has an invalid character "%s" |
MSG_ID_TOO_LONG | http://terminology.hl7.org/CodeSystem/operation-outcome | Id "%s" too long (length limit 36) |
MSG_INVALID_ID | http://terminology.hl7.org/CodeSystem/operation-outcome | Id not accepted |
MSG_JSON_OBJECT | http://terminology.hl7.org/CodeSystem/operation-outcome | Json Source for a resource should start with an object |
MSG_LOCAL_FAIL | http://terminology.hl7.org/CodeSystem/operation-outcome | Unable to resolve local reference to resource %s |
MSG_NO_EXIST | http://terminology.hl7.org/CodeSystem/operation-outcome | Resource Id "%s" does not exist |
MSG_NO_MATCH | http://terminology.hl7.org/CodeSystem/operation-outcome | No Resource found matching the query "%s" |
MSG_NO_MODULE | http://terminology.hl7.org/CodeSystem/operation-outcome | No module could be found to handle the request "%s" |
MSG_NO_SUMMARY | http://terminology.hl7.org/CodeSystem/operation-outcome | No Summary for this resource |
MSG_OP_NOT_ALLOWED | http://terminology.hl7.org/CodeSystem/operation-outcome | Operation %s not allowed for resource %s (due to local configuration) |
MSG_PARAM_CHAINED | http://terminology.hl7.org/CodeSystem/operation-outcome | Unknown chained parameter name "%s" |
MSG_PARAM_INVALID | http://terminology.hl7.org/CodeSystem/operation-outcome | Parameter "%s" content is invalid |
MSG_PARAM_MODIFIER_INVALID | http://terminology.hl7.org/CodeSystem/operation-outcome | Parameter "%s" modifier is invalid |
MSG_PARAM_NO_REPEAT | http://terminology.hl7.org/CodeSystem/operation-outcome | Parameter "%s" is not allowed to repeat |
MSG_PARAM_UNKNOWN | http://terminology.hl7.org/CodeSystem/operation-outcome | Parameter "%s" not understood |
MSG_RESOURCE_EXAMPLE_PROTECTED | http://terminology.hl7.org/CodeSystem/operation-outcome | Resources with identity "example" cannot be deleted (for testing/training purposes) |
MSG_RESOURCE_ID_FAIL | http://terminology.hl7.org/CodeSystem/operation-outcome | unable to allocate resource id |
MSG_RESOURCE_ID_MISMATCH | http://terminology.hl7.org/CodeSystem/operation-outcome | Resource Id Mismatch |
MSG_RESOURCE_ID_MISSING | http://terminology.hl7.org/CodeSystem/operation-outcome | Resource Id Missing |
MSG_RESOURCE_NOT_ALLOWED | http://terminology.hl7.org/CodeSystem/operation-outcome | Not allowed to submit a resource for this operation |
MSG_RESOURCE_REQUIRED | http://terminology.hl7.org/CodeSystem/operation-outcome | A resource is required |
MSG_RESOURCE_TYPE_MISMATCH | http://terminology.hl7.org/CodeSystem/operation-outcome | Resource Type Mismatch |
MSG_SORT_UNKNOWN | http://terminology.hl7.org/CodeSystem/operation-outcome | Unknown sort parameter name "%s" |
MSG_TRANSACTION_DUPLICATE_ID | http://terminology.hl7.org/CodeSystem/operation-outcome | Duplicate Identifier in transaction: %s |
MSG_TRANSACTION_MISSING_ID | http://terminology.hl7.org/CodeSystem/operation-outcome | Missing Identifier in transaction - an entry.id must be provided |
MSG_UNHANDLED_NODE_TYPE | http://terminology.hl7.org/CodeSystem/operation-outcome | Unhandled xml node type "%s" |
MSG_UNKNOWN_CONTENT | http://terminology.hl7.org/CodeSystem/operation-outcome | Unknown Content (%s) at %s |
MSG_UNKNOWN_OPERATION | http://terminology.hl7.org/CodeSystem/operation-outcome | unknown FHIR http operation |
MSG_UNKNOWN_TYPE | http://terminology.hl7.org/CodeSystem/operation-outcome | Resource Type "%s" not recognised |
MSG_UPDATED | http://terminology.hl7.org/CodeSystem/operation-outcome | existing resource updated |
MSG_VERSION_AWARE | http://terminology.hl7.org/CodeSystem/operation-outcome | Version aware updates are required for this resource |
MSG_VERSION_AWARE_CONFLICT | http://terminology.hl7.org/CodeSystem/operation-outcome | Update Conflict (server current version = "%s", client version referenced = "%s") |
MSG_VERSION_AWARE_URL | http://terminology.hl7.org/CodeSystem/operation-outcome | Version specific URL not recognised |
MSG_WRONG_NS | http://terminology.hl7.org/CodeSystem/operation-outcome | This does not appear to be a FHIR element or resource (wrong namespace "%s") |
SEARCH_MULTIPLE | http://terminology.hl7.org/CodeSystem/operation-outcome | Error: Multiple matches exist for %s search parameters "%s" |
SEARCH_NONE | http://terminology.hl7.org/CodeSystem/operation-outcome | Error: no processable search found for %s search parameters "%s" |
UPDATE_MULTIPLE_MATCHES | http://terminology.hl7.org/CodeSystem/operation-outcome | Error: Multiple matches exist for the conditional update |
OPERATION_SUCCESS | https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes | Operation Successfully Completed |
SVC_IDENTITY_MISMATCH | https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes | Telematik-ID inside ID-Token or KVNR in x-insurantid HTTP header does not match FHIR data |
SVC_ORG_HEADER_PROFILE_MISMATCH | https://gematik.de/fhir/epa/CodeSystem/epa-operation-outcome-details-codes | Profile mismatch in header Organization |
MEDICATIONSVC_NO_VALID_STRUCTURE | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Invalid Data Structure in Medication Service |
MEDICATIONSVC_PRESCRIPTION_NO_EXIST | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Prescription Not Found in Medication Service |
MEDICATIONSVC_PRESCRIPTION_DUPLICATE | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Duplicate Prescription Detected in Medication Service |
MEDICATIONSVC_PRESCRIPTION_STATUS | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Operation Not Permitted on Current Prescription Status |
MEDICATIONSVC_DISPENSATION_NO_EXIST | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Dispensation Not Found in Medication Service |
MEDICATIONSVC_DISPENSATION_STATUS | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Operation Not Permitted on Current Dispensation Status |
MEDICATIONSVC_OPERATION_SUCCESS | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Operation Successfully Completed in Medication Service |
MEDICATIONSVC_PARAMETERS_REFERENCE_NO_EXIST | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Unresolved Reference in Parameters |
MEDSVC_STATUS_INVALID | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Invalid Status in Parameters |
MEDSVC_DOSAGE_INVALID | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Invalid dosage structure or content |
MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | Mismatch between acknowledged and current eMP chronology ID |
MEDSVC_OPERATION_OUTSIDE_BATCH | https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details | The operation can only be executed within a batch context |
LINKING_NOT_SUCCESSFUL | https://gematik.de/fhir/epa-medication/CodeSystem/epa-medicationstatement-processing-event-code | eMP linking not successful | MedicationStatement could not be linked to an eMP-Entry successfully
UNLINKING_NOT_SUCCESSFUL | https://gematik.de/fhir/epa-medication/CodeSystem/epa-medicationstatement-processing-event-code | eMP unlinking not successful | MedicationStatement could not be unlinked from an eMP-Entry successfully

Explanation of the columns that may appear on this page:

Level | A few code lists that FHIR defines are hierarchical - each code is assigned a level. In this scheme, some codes are under other codes, and imply that the code they are under also applies
System | The source of the definition of the code (when the value set draws in codes defined elsewhere)
Code | The code (used as the code in the resource instance)
Display | The display (used in the display element of a Coding). If there is no display, implementers should not simply display the code, but map the concept into their application
Definition | An explanation of the meaning of the concept
Comments | Additional notes about how to use the code