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

## : Example error response for Rx operations - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

    <http://hl7.org/fhir/OperationOutcome/ExampleRxOperationOutcomeError> a fhir:OperationOutcome ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "ExampleRxOperationOutcomeError"] ;
      fhir:OperationOutcome.issue [
         fhir:index 0 ;
         fhir:OperationOutcome.issue.severity [ fhir:value "error" ] ;
         fhir:OperationOutcome.issue.code [ fhir:value "conflict" ] ;
         fhir:OperationOutcome.issue.details [
           fhir:CodeableConcept.text [ fhir:value "Task has invalid status draft" ]
         ] ;
         fhir:OperationOutcome.issue.diagnostics [ fhir:value "Operation requires Task status ready or in-progress" ]
      ] .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/OperationOutcome/ExampleRxOperationOutcomeError.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/OperationOutcome/ExampleRxOperationOutcomeError.ttl> .