: Precondition Failed 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 "7dfb229f-c835-4913-bd7c-acfe51a835bf"] ; #
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=\"7dfb229f-c835-4913-bd7c-acfe51a835bf\"> </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 "7dfb229f-c835-4913-bd7c-acfe51a835bf" </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>Diagnostics</b></td></tr><tr><td style=\"display: none\">*</td><td>error</td><td>business-rule</td><td>Precondition Failed</td></tr></table></div>"
] ; #
fhir:issue ( [
fhir:severity [ fhir:v "error" ] ;
fhir:code [ fhir:v "business-rule" ] ;
fhir:diagnostics [ fhir:v "Precondition Failed" ]
] ) . #