@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://gematik.de/fhir/tiflow-chargeitem/ValueSet/tiflow-chargeitem-operation-outcome-details-vs> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "tiflow-chargeitem-operation-outcome-details-vs"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<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 ?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 ?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 ?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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "https://gematik.de/fhir/tiflow-chargeitem/ValueSet/tiflow-chargeitem-operation-outcome-details-vs"^^xsd:anyURI ;
     fhir:l <https://gematik.de/fhir/tiflow-chargeitem/ValueSet/tiflow-chargeitem-operation-outcome-details-vs>
  ] ; # 
  fhir:version [ fhir:v "2.0.0-ballot.1"] ; # 
  fhir:name [ fhir:v "TIFLOWChargeItemOperationOutcomeDetailsVS"] ; # 
  fhir:title [ fhir:v "TIFLOW ChargeItem Operation Outcome Details VS"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2028-04-01"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "gematik GmbH"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "gematik GmbH" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://gematik.de" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "erp-umsetzung@gematik.de" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Abrechnungsinformationen-spezifische Codes, die im Rahmen des TIFlow in den OperationOutcomes.details angegeben werden können"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "DE" ] ;
       fhir:display [ fhir:v "Germany" ]
     ] )
  ] ) ; # 
  fhir:immutable [ fhir:v false] ; # 
  fhir:copyright [ fhir:v "gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0."] ; # 
  fhir:compose [
     fhir:include ( [
       fhir:system [
         fhir:v "https://gematik.de/fhir/tiflow-chargeitem/CodeSystem/tiflow-chargeitem-operation-outcome-details-cs"^^xsd:anyURI ;
         fhir:l <https://gematik.de/fhir/tiflow-chargeitem/CodeSystem/tiflow-chargeitem-operation-outcome-details-cs>
       ]
     ] [
       fhir:system [
         fhir:v "https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs"^^xsd:anyURI ;
         fhir:l <https://gematik.de/fhir/tiflow/CodeSystem/tiflow-operation-outcome-details-cs>
       ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "TIFLOW_AUTH_ROLE_NOT_ALLOWED" ] ;
         fhir:display [ fhir:v "Access role not allowed" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_CONSENT_ALREADY_EXISTS" ] ;
         fhir:display [ fhir:v "Consent already exists" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_CONSENT_CATEGORY_REQUIRED" ] ;
         fhir:display [ fhir:v "Consent category required" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_CONSENT_CATEGORY_INVALID" ] ;
         fhir:display [ fhir:v "Consent category invalid" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_ACCESSCODE_MISMATCH" ] ;
         fhir:display [ fhir:v "Access code mismatch" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_TASK_REQUIRED" ] ;
         fhir:display [ fhir:v "Task required" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_TASK_NOT_FOUND" ] ;
         fhir:display [ fhir:v "Task not found" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_SECRET_MISMATCH" ] ;
         fhir:display [ fhir:v "Task secret mismatch" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_CONSENT_REQUIRED" ] ;
         fhir:display [ fhir:v "Consent required" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_OCSP_BACKEND_ERROR" ] ;
         fhir:display [ fhir:v "Invalid OCSP response" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_MESSAGE_TO_SELF" ] ;
         fhir:display [ fhir:v "Message to self not allowed" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_COMMUNICATION_PAYLOAD_INVALID" ] ;
         fhir:display [ fhir:v "Communication payload invalid" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_INSURANT_NOT_ELIGIBLE" ] ;
         fhir:display [ fhir:v "Insurant not eligible" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_RECIPIENT_INVALID" ] ;
         fhir:display [ fhir:v "Recipient invalid" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_TASK_STATUS_MISMATCH" ] ;
         fhir:display [ fhir:v "Task status mismatch" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_TASK_EXPIRED" ] ;
         fhir:display [ fhir:v "Task expired" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_MVO_NOT_VALID_YET" ] ;
         fhir:display [ fhir:v "MVO not valid yet" ]
       ] )
     ] [
       fhir:system [
         fhir:v "https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes"^^xsd:anyURI ;
         fhir:l <https://gematik.de/fhir/ti/CodeSystem/operation-outcome-details-codes>
       ] ;
       fhir:version [ fhir:v "1.3.0" ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "SVC_IDENTITY_MISMATCH" ] ;
         fhir:display [ fhir:v "Identity mismatch: Access token or x-insurantid header does not match FHIR data (Telematik-ID / KVNR)" ]
       ] [
         fhir:code [ fhir:v "SVC_VALIDATION_FAILED" ] ;
         fhir:display [ fhir:v "FHIR Profile Validation Failed" ]
       ] )
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

