MediRecords FHIR Implementation Guide
1.4.1 - release


: Unprocessable Patient resource 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 "fab9ac6f-80a6-4c77-94fe-b31121f15b52"] ; # 
  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 class=\"res-header-id\"><b>Generated Narrative: OperationOutcome fab9ac6f-80a6-4c77-94fe-b31121f15b52</b></p><a name=\"fab9ac6f-80a6-4c77-94fe-b31121f15b52\"> </a><a name=\"hcfab9ac6f-80a6-4c77-94fe-b31121f15b52\"> </a><a name=\"fab9ac6f-80a6-4c77-94fe-b31121f15b52-en-US\"> </a><blockquote><p><b>issue</b></p><p><b>severity</b>: Error</p><p><b>code</b>: Invalid Code</p><p><b>details</b>: <span title=\"Codes:\">A valid patient ethnicity is required</span></p><p><b>diagnostics</b>: Invalid Ethnicity provided in the request</p></blockquote><blockquote><p><b>issue</b></p><p><b>severity</b>: Error</p><p><b>code</b>: Invalid Code</p><p><b>details</b>: <span title=\"Codes:\">Invalid Postcode provided in the request</span></p><p><b>diagnostics</b>: Postcode does not exists</p></blockquote></div>"
  ] ; # 
  fhir:issue ( [
fhir:severity [ fhir:v "error" ] ;
fhir:code [ fhir:v "code-invalid" ] ;
fhir:details [
fhir:text [ fhir:v "A valid patient ethnicity is required" ]     ] ;
fhir:diagnostics [ fhir:v "Invalid Ethnicity provided in the request" ]
  ] [
fhir:severity [ fhir:v "error" ] ;
fhir:code [ fhir:v "code-invalid" ] ;
fhir:details [
fhir:text [ fhir:v "Invalid Postcode provided in the request" ]     ] ;
fhir:diagnostics [ fhir:v "Postcode does not exists" ]
  ] ) . #