<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="tiflow-chargeitem-operation-outcome-details-vs"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet tiflow-chargeitem-operation-outcome-details-vs</b></p><a name="tiflow-chargeitem-operation-outcome-details-vs"> </a><a name="hctiflow-chargeitem-operation-outcome-details-vs"> </a><p>This value set includes codes based on the following rules:</p><ul><li>Include all codes defined in <a href="CodeSystem-tiflow-chargeitem-operation-outcome-details-cs.html"><code>https://gematik.de/fhir/tiflow-chargeitem/CodeSystem/tiflow-chargeitem-operation-outcome-details-cs</code></a><span title="Version is not explicitly stated, which means it is fixed to the version provided in this specification"> version &#x1F4E6;2.0.0-ballot.1</span></li><li>Include these codes as defined in <a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html"><code>https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs</code></a><span title="Version is not explicitly stated, which means it is fixed to 2.0.0-ballot.1, the version found through the package references"> version &#x1F4E6;2.0.0-ballot.1</span><table class="none"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_AUTH_ROLE_NOT_ALLOWED">TIFLOW_AUTH_ROLE_NOT_ALLOWED</a></td><td>Access role not allowed</td><td>The authenticated actor role is not permitted to execute this operation</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_CONSENT_ALREADY_EXISTS">TIFLOW_CONSENT_ALREADY_EXISTS</a></td><td>Consent already exists</td><td>A consent for the same scope already exists and cannot be created again</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_CONSENT_CATEGORY_REQUIRED">TIFLOW_CONSENT_CATEGORY_REQUIRED</a></td><td>Consent category required</td><td>The consent category is mandatory and was not provided</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_CONSENT_CATEGORY_INVALID">TIFLOW_CONSENT_CATEGORY_INVALID</a></td><td>Consent category invalid</td><td>The provided consent category is unknown or not allowed</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_ACCESSCODE_MISMATCH">TIFLOW_ACCESSCODE_MISMATCH</a></td><td>Access code mismatch</td><td>The provided access code does not match the access code assigned to the task</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_TASK_REQUIRED">TIFLOW_TASK_REQUIRED</a></td><td>Task required</td><td>A task reference is required for this operation but was not provided</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_TASK_NOT_FOUND">TIFLOW_TASK_NOT_FOUND</a></td><td>Task not found</td><td>The referenced task does not exist</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_SECRET_MISMATCH">TIFLOW_SECRET_MISMATCH</a></td><td>Task secret mismatch</td><td>The provided task secret does not match the secret stored for the task</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_CONSENT_REQUIRED">TIFLOW_CONSENT_REQUIRED</a></td><td>Consent required</td><td>A valid consent is required to execute this operation</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_OCSP_BACKEND_ERROR">TIFLOW_OCSP_BACKEND_ERROR</a></td><td>Invalid OCSP response</td><td>Failed to retrieve the OCSP response for the certificate of the signature</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_MESSAGE_TO_SELF">TIFLOW_MESSAGE_TO_SELF</a></td><td>Message to self not allowed</td><td>A communication message addressed to the sender itself is not permitted</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_COMMUNICATION_PAYLOAD_INVALID">TIFLOW_COMMUNICATION_PAYLOAD_INVALID</a></td><td>Communication payload invalid</td><td>The communication payload is syntactically or semantically invalid</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_INSURANT_NOT_ELIGIBLE">TIFLOW_INSURANT_NOT_ELIGIBLE</a></td><td>Insurant not eligible</td><td>The insurant does not meet the eligibility constraints for this communication flow</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_RECIPIENT_INVALID">TIFLOW_RECIPIENT_INVALID</a></td><td>Recipient invalid</td><td>The specified recipient is invalid for the requested communication</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_TASK_STATUS_MISMATCH">TIFLOW_TASK_STATUS_MISMATCH</a></td><td>Task status mismatch</td><td>The task is in a status that does not allow execution of this operation</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_TASK_EXPIRED">TIFLOW_TASK_EXPIRED</a></td><td>Task expired</td><td>The task cannot be processed because its redemption period has expired</td></tr><tr><td><a href="https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-tiflow-operation-outcome-details-cs.html#tiflow-operation-outcome-details-cs-TIFLOW_MVO_NOT_VALID_YET">TIFLOW_MVO_NOT_VALID_YET</a></td><td>MVO not valid yet</td><td>The multi-prescription is not yet valid at the current point in time</td></tr></table></li><li>Include these codes as defined in <a href="https://simplifier.net/resolve?scope=de.gematik.tiflow@2.0.0-ballot.1&amp;canonical=https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes"><code>https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes</code></a><span title="Version is explicitly stated to be 1.3.0"> version &#x1F4CD;1.3.0</span><table class="none"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td></tr><tr><td><a href="https://simplifier.net/resolve?scope=de.gematik.tiflow@2.0.0-ballot.1&amp;canonical=https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes#operation-outcome-details-codes-SVC_IDENTITY_MISMATCH">SVC_IDENTITY_MISMATCH</a></td><td>Identity mismatch: Access token or x-insurantid header does not match FHIR data (Telematik-ID / KVNR)</td></tr><tr><td><a href="https://simplifier.net/resolve?scope=de.gematik.tiflow@2.0.0-ballot.1&amp;canonical=https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes#operation-outcome-details-codes-SVC_VALIDATION_FAILED">SVC_VALIDATION_FAILED</a></td><td>FHIR Profile Validation Failed</td></tr></table></li></ul></div>
  </text>
  <url value="https://gematik.de/fhir/tiflow-chargeitem/ValueSet/tiflow-chargeitem-operation-outcome-details-vs"/>
  <version value="2.0.0-ballot.1"/>
  <name value="TIFLOWChargeItemOperationOutcomeDetailsVS"/>
  <title value="TIFLOW ChargeItem Operation Outcome Details VS"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2028-04-01"/>
  <publisher value="gematik GmbH"/>
  <contact>
    <name value="gematik GmbH"/>
    <telecom>
      <system value="url"/>
      <value value="https://gematik.de"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="erp-umsetzung@gematik.de"/>
    </telecom>
  </contact>
  <description value="Abrechnungsinformationen-spezifische Codes, die im Rahmen des TIFlow in den OperationOutcomes.details angegeben werden können"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="DE"/>
      <display value="Germany"/>
    </coding>
  </jurisdiction>
  <immutable value="false"/>
  <copyright value="gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0."/>
  <compose>
    <include>
      <system value="https://gematik.de/fhir/tiflow-chargeitem/CodeSystem/tiflow-chargeitem-operation-outcome-details-cs"/>
    </include>
    <include>
      <system value="https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs"/>
      <concept>
        <code value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
        <display value="Access role not allowed"/>
      </concept>
      <concept>
        <code value="TIFLOW_CONSENT_ALREADY_EXISTS"/>
        <display value="Consent already exists"/>
      </concept>
      <concept>
        <code value="TIFLOW_CONSENT_CATEGORY_REQUIRED"/>
        <display value="Consent category required"/>
      </concept>
      <concept>
        <code value="TIFLOW_CONSENT_CATEGORY_INVALID"/>
        <display value="Consent category invalid"/>
      </concept>
      <concept>
        <code value="TIFLOW_ACCESSCODE_MISMATCH"/>
        <display value="Access code mismatch"/>
      </concept>
      <concept>
        <code value="TIFLOW_TASK_REQUIRED"/>
        <display value="Task required"/>
      </concept>
      <concept>
        <code value="TIFLOW_TASK_NOT_FOUND"/>
        <display value="Task not found"/>
      </concept>
      <concept>
        <code value="TIFLOW_SECRET_MISMATCH"/>
        <display value="Task secret mismatch"/>
      </concept>
      <concept>
        <code value="TIFLOW_CONSENT_REQUIRED"/>
        <display value="Consent required"/>
      </concept>
      <concept>
        <code value="TIFLOW_OCSP_BACKEND_ERROR"/>
        <display value="Invalid OCSP response"/>
      </concept>
      <concept>
        <code value="TIFLOW_MESSAGE_TO_SELF"/>
        <display value="Message to self not allowed"/>
      </concept>
      <concept>
        <code value="TIFLOW_COMMUNICATION_PAYLOAD_INVALID"/>
        <display value="Communication payload invalid"/>
      </concept>
      <concept>
        <code value="TIFLOW_INSURANT_NOT_ELIGIBLE"/>
        <display value="Insurant not eligible"/>
      </concept>
      <concept>
        <code value="TIFLOW_RECIPIENT_INVALID"/>
        <display value="Recipient invalid"/>
      </concept>
      <concept>
        <code value="TIFLOW_TASK_STATUS_MISMATCH"/>
        <display value="Task status mismatch"/>
      </concept>
      <concept>
        <code value="TIFLOW_TASK_EXPIRED"/>
        <display value="Task expired"/>
      </concept>
      <concept>
        <code value="TIFLOW_MVO_NOT_VALID_YET"/>
        <display value="MVO not valid yet"/>
      </concept>
    </include>
    <include>
      <system value="https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes"/>
      <version value="1.3.0"/>
      <concept>
        <code value="SVC_IDENTITY_MISMATCH"/>
        <display value="Identity mismatch: Access token or x-insurantid header does not match FHIR data (Telematik-ID / KVNR)"/>
      </concept>
      <concept>
        <code value="SVC_VALIDATION_FAILED"/>
        <display value="FHIR Profile Validation Failed"/>
      </concept>
    </include>
  </compose>
</ValueSet>