MediRecords FHIR Implementation Guide
1.4.1 - release


: Not Found Error Example - 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 -------------------------------------------------------------------

 a fhir:OperationOutcome ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "c82fbd75-0c96-4d78-b8e7-b94ca4293820"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-operation-outcome-core"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-operation-outcome-core>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: OperationOutcome</b><a name=\"c82fbd75-0c96-4d78-b8e7-b94ca4293820\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource OperationOutcome &quot;c82fbd75-0c96-4d78-b8e7-b94ca4293820&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-operation-outcome-core.html\">MR OperationOutcome</a></p></div><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>not-found</td><td>Resource Id &quot;%s&quot; does not exist <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-operation-outcome.html\">Operation Outcome Codes</a>#MSG_NO_EXIST)</span></td><td>Not Found: No matching resource found</td></tr></table></div>"
  ] ; # 
  fhir:issue ( [
fhir:severity [ fhir:v "error" ] ;
fhir:code [ fhir:v "not-found" ] ;
fhir:details [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/operation-outcome"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MSG_NO_EXIST" ] ;
fhir:display [ fhir:v "Resource Id \"%s\" does not exist" ]       ] )     ] ;
fhir:diagnostics [ fhir:v "Not Found: No matching resource found" ]
  ] ) . #