Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

## ValueSet: TIFLOW EREZEPT Operation Outcome Details VS

Official URL: https://gematik.de/fhir/tiflow-erezept/ValueSet/tiflow-erezept-operation-outcome-details-vs | Version: 2.0.0-ballot.2
Active as of 2026-06-30 | Computable Name: TIFLOWEREZEPTOperationOutcomeDetailsVS
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

E-Rezept-spezifische Codes, die im Rahmen des TIFlow in den OperationOutcomes.details angegeben werden können

References

This value set is not used here; it may be used elsewhere (e.g. specifications and/or implementations that use this content)

### Logical Definition (CLD)

This value set includes codes based on the following rules:

- Include all codes defined in `https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` version 📦2.0.0-ballot.2
- Include these codes as defined in `https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` version 📦2.0.0-ballot.2

  Code | Display | Definition
  TIFLOW_AUTH_ROLE_NOT_ALLOWED | Access role not allowed | The authenticated actor role is not permitted to execute this operation
  TIFLOW_SECRET_MISMATCH | Task secret mismatch | The provided task secret does not match the secret stored for the task
  TIFLOW_TASK_STATUS_MISMATCH | Task status mismatch | The task is in a status that does not allow execution of this operation
  TIFLOW_MEDICATION_DISPENSE_INVALID | MedicationDispense invalid | The provided MedicationDispense resource is invalid for this operation
  TIFLOW_MEDICATION_DISPENSE_MISSING | MedicationDispense missing | A required MedicationDispense resource is missing for this operation
  TIFLOW_SIGNATURE_NO_OCSP_RESPONSE | No OCSP response for signature | Certificate revocation status could not be determined because no OCSP response was available
  TIFLOW_AUTH_NOT_OWNER | Authenticated actor is not owner | The authenticated actor is not the owner of the addressed task
  TIFLOW_ACCESSCODE_MISMATCH | Access code mismatch | The provided access code does not match the access code assigned to the task
  TIFLOW_TASK_ID_REQUIRED | Task id required | The operation requires a task id in the request
  TIFLOW_SIGNATURE_INVALID_ISSUING_ROLE | Signature issuing role invalid | The signature was created by an actor role that is not allowed for the signed artifact
  TIFLOW_FLOWTYPE_MISMATCH | Flow type mismatch | The task flow type does not match the expected flow for this operation
  TIFLOW_COVERAGE_TYPE_MISMATCH | Coverage type mismatch | The coverage type does not match the expected coverage context
  TIFLOW_CERTIFICATE_INVALID | Certificate invalid | The certificate used for authentication or signature validation is invalid
  TIFLOW_OCSP_BACKEND_ERROR | Invalid OCSP response | Failed to retrieve the OCSP response for the certificate of the signature
  TIFLOW_SIGNATURE_INVALID | Signature invalid | The digital signature is invalid or cannot be verified
  TIFLOW_KVNR_INVALID | KVNR invalid | The provided KVNR is invalid or does not conform to the expected format
  TIFLOW_SIGNATURE_AUTHOREDON_MISMATCH | Signature authoredOn mismatch | The authoredOn timestamp does not match the signed content
  TIFLOW_IKNR_INVALID | IKNR invalid | The provided IKNR is invalid or not accepted in this context
  TIFLOW_LANR_ZANR_INVALID | LANR or ZANR invalid | The provided LANR or ZANR is invalid or not accepted for this operation
  TIFLOW_TASK_DELETED | Task deleted | The task was already cancelled or deleted and can no longer be processed
  TIFLOW_TASK_EXPIRED | Task expired | The task cannot be processed because its redemption period has expired
  TIFLOW_MESSAGE_TO_SELF | Message to self not allowed | A communication message addressed to the sender itself is not permitted
  TIFLOW_COMMUNICATION_PAYLOAD_INVALID | Communication payload invalid | The communication payload is syntactically or semantically invalid
  TIFLOW_INSURANT_NOT_ELIGIBLE | Insurant not eligible | The insurant does not meet the eligibility constraints for this communication flow
  TIFLOW_RECIPIENT_INVALID | Recipient invalid | The specified recipient is invalid for the requested communication
  TIFLOW_TASK_NOT_FOUND | Task not found | The referenced task does not exist
  TIFLOW_MVO_NOT_VALID_YET | MVO not valid yet | The multi-prescription is not yet valid at the current point in time

- Include these codes as defined in `https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes` version 📦1.3.0

  Code | Display
  SVC_VALIDATION_FAILED | FHIR Profile Validation Failed
  SVC_IDENTITY_MISMATCH | Identity mismatch: Access token or x-insurantid header does not match FHIR data (Telematik-ID / KVNR)
  SVC_TELEMATIKID_TEMPORARILY_BLOCKED | The specified Telematik-ID is temporarily blocked

### Expansion

Expansion performed internally based on:

- codesystem TI Operation Outcome Details CodeSystem v1.3.0 (CodeSystem)
- codesystem TIFLOW EREZEPT Operation Outcome Details CS v2.0.0-ballot.2 (CodeSystem)
- codesystem TIFLOW Operation Outcome Details CS v2.0.0-ballot.2 (CodeSystem)

This value set contains 38 concepts

System | Code | Display (de) | Definition | JSON | XML
`https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` | TIFLOW_EREZEPT_PZN_INVALID | PZN ungültig | The provided PZN is invalid or not permitted in the current processing context |  |
`https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` | TIFLOW_EREZEPT_DRUG_CATEGORY_FORBIDDEN | Arzneimittelkategorie nicht zulässig | The prescription contains a forbidden medication category, for example BTM |  |
`https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` | TIFLOW_EREZEPT_MVO_FLOWTYPE_INVALID | MVO-Flowtyp ungültig | A multiple prescription is not allowed for the addressed flow type |  |
`https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` | TIFLOW_EREZEPT_MVO_INVALID | Mehrfachverordnung ungültig | The multiple prescription metadata is inconsistent or violates MVO constraints |  |
`https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` | TIFLOW_EREZEPT_MVO_STARTDATE_INVALID | MVO-Startdatum ungültig | The start date of the multiple prescription redemption period is missing or invalid |  |
`https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` | TIFLOW_EREZEPT_MVO_ENDDATE_INVALID | MVO-Enddatum ungültig | The end date of the multiple prescription redemption period is invalid |  |
`https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` | TIFLOW_EREZEPT_MVO_ID_INVALID | MVO-ID ungültig | The multiple prescription id does not match the required identifier schema |  |
`https://gematik.de/fhir/tiflow-erezept/CodeSystem/tiflow-erezept-operation-outcome-details-cs` | TIFLOW_EREZEPT_MVO_NOT_VALID | Teilverordnung noch nicht einlösbar | The multiple prescription part is not redeemable yet because its redemption period has not started |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_AUTH_ROLE_NOT_ALLOWED | Zugriffsrolle nicht zulässig | The authenticated actor role is not permitted to execute this operation |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_SECRET_MISMATCH | Task-Secret stimmt nicht überein | The provided task secret does not match the secret stored for the task |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_TASK_STATUS_MISMATCH | Task-Status passt nicht | The task is in a status that does not allow execution of this operation |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_MEDICATION_DISPENSE_INVALID | MedicationDispense ungültig | The provided MedicationDispense resource is invalid for this operation |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_MEDICATION_DISPENSE_MISSING | MedicationDispense fehlt | A required MedicationDispense resource is missing for this operation |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_SIGNATURE_NO_OCSP_RESPONSE | Keine OCSP-Antwort zur Signatur | Certificate revocation status could not be determined because no OCSP response was available |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_AUTH_NOT_OWNER | Authentifizierter Akteur ist nicht Eigentümer | The authenticated actor is not the owner of the addressed task |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_ACCESSCODE_MISMATCH | AccessCode stimmt nicht überein | The provided access code does not match the access code assigned to the task |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_TASK_ID_REQUIRED | Task-ID erforderlich | The operation requires a task id in the request |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_SIGNATURE_INVALID_ISSUING_ROLE | Signaturrolle ungültig | The signature was created by an actor role that is not allowed for the signed artifact |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_FLOWTYPE_MISMATCH | Flowtyp passt nicht | The task flow type does not match the expected flow for this operation |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_COVERAGE_TYPE_MISMATCH | Coverage-Typ passt nicht | The coverage type does not match the expected coverage context |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_CERTIFICATE_INVALID | Zertifikat ungültig | The certificate used for authentication or signature validation is invalid |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_OCSP_BACKEND_ERROR | OCSP Abfrage fehlgeschlagen | Failed to retrieve the OCSP response for the certificate of the signature |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_SIGNATURE_INVALID | Signatur ungültig | The digital signature is invalid or cannot be verified |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_KVNR_INVALID | KVNR ungültig | The provided KVNR is invalid or does not conform to the expected format |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_SIGNATURE_AUTHOREDON_MISMATCH | Signaturzeitpunkt passt nicht | The authoredOn timestamp does not match the signed content |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_IKNR_INVALID | IKNR ungültig | The provided IKNR is invalid or not accepted in this context |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_LANR_ZANR_INVALID | LANR oder ZANR ungültig | The provided LANR or ZANR is invalid or not accepted for this operation |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_TASK_DELETED | Task wurde gelöscht | The task was already cancelled or deleted and can no longer be processed |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_TASK_EXPIRED | Task ist abgelaufen | The task cannot be processed because its redemption period has expired |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_MESSAGE_TO_SELF | Nachricht an sich selbst nicht zulässig | A communication message addressed to the sender itself is not permitted |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_COMMUNICATION_PAYLOAD_INVALID | Kommunikationsinhalt ungültig | The communication payload is syntactically or semantically invalid |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_INSURANT_NOT_ELIGIBLE | Versicherter nicht berechtigt | The insurant does not meet the eligibility constraints for this communication flow |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_RECIPIENT_INVALID | Empfänger ungültig | The specified recipient is invalid for the requested communication |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_TASK_NOT_FOUND | Task nicht gefunden | The referenced task does not exist |  |
`https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs` | TIFLOW_MVO_NOT_VALID_YET | MVO noch nicht gültig | The multi-prescription is not yet valid at the current point in time |  |
`https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes` | SVC_VALIDATION_FAILED |  |  |  |
`https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes` | SVC_IDENTITY_MISMATCH |  |  |  |
`https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes` | SVC_TELEMATIKID_TEMPORARILY_BLOCKED |  |  |  |

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