@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hlth.gov.bc.ca/fhir/client/OperationOutcome/OperationOutcome-Example> a fhir:OperationOutcome ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "OperationOutcome-Example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationOutcome OperationOutcome-Example</b></p><a name=\"OperationOutcome-Example\"> </a><a name=\"hcOperationOutcome-Example\"> </a><blockquote><p><b>issue</b></p><p><b>severity</b>: Warning</p><p><b>code</b>: Business Rule Violation</p><p><b>details</b>: <span title=\"Codes:{https://terminology.hlth.gov.bc.ca/ClientRegistry/CodeSystem/bc-oo-codes HCIM.RP.1.0017}\">Warning: The Revise Patient name has been modified to filter out invalid characters.</span></p></blockquote><blockquote><p><b>issue</b></p><p><b>severity</b>: Error</p><p><b>code</b>: Business Rule Violation</p><p><b>details</b>: <span title=\"Codes:{https://terminology.hlth.gov.bc.ca/ClientRegistry/CodeSystem/bc-oo-codes HCIM.RP.1.0017}\">The HL7 message is invalid. Please correct the HL7 message, and resubmit it. (System.Exception: Results from Schematron validation: ...</span></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:issue ( [
     fhir:severity [ fhir:v "warning" ] ;
     fhir:code [ fhir:v "business-rule" ] ;
     fhir:details [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://terminology.hlth.gov.bc.ca/ClientRegistry/CodeSystem/bc-oo-codes"^^xsd:anyURI ;
           fhir:l <https://terminology.hlth.gov.bc.ca/ClientRegistry/CodeSystem/bc-oo-codes>
         ] ;
         fhir:code [ fhir:v "HCIM.RP.1.0017" ]
       ] ) ;
       fhir:text [ fhir:v "Warning: The Revise Patient name has been modified to filter out invalid characters." ]
     ]
  ] [
     fhir:severity [ fhir:v "error" ] ;
     fhir:code [ fhir:v "business-rule" ] ;
     fhir:details [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://terminology.hlth.gov.bc.ca/ClientRegistry/CodeSystem/bc-oo-codes"^^xsd:anyURI ;
           fhir:l <https://terminology.hlth.gov.bc.ca/ClientRegistry/CodeSystem/bc-oo-codes>
         ] ;
         fhir:code [ fhir:v "HCIM.RP.1.0017" ]
       ] ) ;
       fhir:text [ fhir:v "The HL7 message is invalid. Please correct the HL7 message, and resubmit it. (System.Exception: Results from Schematron validation: ..." ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

