Implementation Guide
TIFlow - Grenzüberschreitender Datenaustausch
Version 2.0.0-ballot.2 - ballot

## : Example error response for ERP-EU 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/ExampleERPEUOperationOutcomeError> a fhir:OperationOutcome ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "ExampleERPEUOperationOutcomeError"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationOutcome ExampleERPEUOperationOutcomeError</b></p><a name=\"ExampleERPEUOperationOutcomeError\"> </a><a name=\"hcExampleERPEUOperationOutcomeError\"> </a><h3>Issues</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Details</b></td><td><b>Diagnostics</b></td></tr><tr><td style=\"display: none\">*</td><td>Error</td><td>Invalid Content</td><td><span title=\"Codes:\">countryCode is not supported</span></td><td>Expected one of approved EU country codes in requestData.countryCode</td></tr></table></div>"
      ] ;
      fhir:OperationOutcome.issue [
         fhir:index 0 ;
         fhir:OperationOutcome.issue.severity [ fhir:value "error" ] ;
         fhir:OperationOutcome.issue.code [ fhir:value "invalid" ] ;
         fhir:OperationOutcome.issue.details [
           fhir:CodeableConcept.text [ fhir:value "countryCode is not supported" ]
         ] ;
         fhir:OperationOutcome.issue.diagnostics [ fhir:value "Expected one of approved EU country codes in requestData.countryCode" ]
      ] .

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

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