@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-xborder/ValueSet/tiflow-xborder-operation-outcome-details-vs> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "tiflow-xborder-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-xborder-operation-outcome-details-vs</b></p><a name=\"tiflow-xborder-operation-outcome-details-vs\"> </a><a name=\"hctiflow-xborder-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-xborder-operation-outcome-details-cs.html\"><code>https://gematik.de/fhir/erp-eu/CodeSystem/tiflow-xborder-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_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_ACCESS_PERMISSION_INVALID\">TIFLOW_ACCESS_PERMISSION_INVALID</a></td><td>Access permission invalid</td><td>The requested access permission is invalid or not sufficient</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_NOT_OWNER\">TIFLOW_AUTH_NOT_OWNER</a></td><td>Authenticated actor is not owner</td><td>The authenticated actor is not the owner of the addressed 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_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_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_ID_REQUIRED\">TIFLOW_TASK_ID_REQUIRED</a></td><td>Task id required</td><td>The operation requires a task id in the request</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_KVNR_MISMATCH\">TIFLOW_KVNR_MISMATCH</a></td><td>KVNR mismatch</td><td>The KVNR in the request does not match the KVNR assigned to the task context</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_MISSING\">TIFLOW_CONSENT_MISSING</a></td><td>Consent missing</td><td>No required consent was found for 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_ACCESS_CODE_INVALID\">TIFLOW_ACCESS_CODE_INVALID</a></td><td>Access code invalid</td><td>The provided access code is syntactically invalid</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_VALIDATION_FAILED\">SVC_VALIDATION_FAILED</a></td><td>FHIR Profile Validation Failed</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_TELEMATIKID_TEMPORARILY_BLOCKED\">SVC_TELEMATIKID_TEMPORARILY_BLOCKED</a></td><td>The specified Telematik-ID is temporarily blocked</td></tr></table></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "https://gematik.de/fhir/erp-eu/ValueSet/tiflow-xborder-operation-outcome-details-vs"^^xsd:anyURI ;
     fhir:l <https://gematik.de/fhir/erp-eu/ValueSet/tiflow-xborder-operation-outcome-details-vs>
  ] ; # 
  fhir:version [ fhir:v "2.0.0-ballot.1"] ; # 
  fhir:name [ fhir:v "TIFLOWXBORDEROperationOutcomeDetailsVS"] ; # 
  fhir:title [ fhir:v "TIFLOW XBORDER Operation Outcome Details VS"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2026-05-26"^^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 "Fehlercodes für cross-border Szenarien, 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:compose [
     fhir:include ( [
       fhir:system [
         fhir:v "https://gematik.de/fhir/erp-eu/CodeSystem/tiflow-xborder-operation-outcome-details-cs"^^xsd:anyURI ;
         fhir:l <https://gematik.de/fhir/erp-eu/CodeSystem/tiflow-xborder-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_REQUIRED" ] ;
         fhir:display [ fhir:v "Consent required" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_ACCESS_PERMISSION_INVALID" ] ;
         fhir:display [ fhir:v "Access permission invalid" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_AUTH_NOT_OWNER" ] ;
         fhir:display [ fhir:v "Authenticated actor is not owner" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_ACCESSCODE_MISMATCH" ] ;
         fhir:display [ fhir:v "Access code mismatch" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_TASK_STATUS_MISMATCH" ] ;
         fhir:display [ fhir:v "Task status mismatch" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_TASK_ID_REQUIRED" ] ;
         fhir:display [ fhir:v "Task id required" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_KVNR_MISMATCH" ] ;
         fhir:display [ fhir:v "KVNR mismatch" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_CONSENT_MISSING" ] ;
         fhir:display [ fhir:v "Consent missing" ]
       ] [
         fhir:code [ fhir:v "TIFLOW_ACCESS_CODE_INVALID" ] ;
         fhir:display [ fhir:v "Access code invalid" ]
       ] )
     ] [
       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_VALIDATION_FAILED" ] ;
         fhir:display [ fhir:v "FHIR Profile Validation Failed" ]
       ] [
         fhir:code [ fhir:v "SVC_TELEMATIKID_TEMPORARILY_BLOCKED" ] ;
         fhir:display [ fhir:v "The specified Telematik-ID is temporarily blocked" ]
       ] )
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

