MediRecords FHIR Implementation Guide
1.4.1 - release


: Forbidden 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 "1a4884df-2423-4d19-be19-2125ae67cccf"] ; # 
  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=\"1a4884df-2423-4d19-be19-2125ae67cccf\"> </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;1a4884df-2423-4d19-be19-2125ae67cccf&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>Diagnostics</b></td></tr><tr><td style=\"display: none\">*</td><td>warning</td><td>forbidden</td><td>Forbidden. The user does not have the rights to perform this action.</td></tr></table></div>"
  ] ; # 
  fhir:issue ( [
fhir:severity [ fhir:v "warning" ] ;
fhir:code [ fhir:v "forbidden" ] ;
fhir:diagnostics [ fhir:v "Forbidden. The user does not have the rights to perform this action." ]
  ] ) . #