{
  "resourceType" : "OperationOutcome",
  "id" : "OperationOutcome-Example",
  "text" : {
    "status" : "generated",
    "div" : "<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>"
  },
  "issue" : [{
    "severity" : "warning",
    "code" : "business-rule",
    "details" : {
      "coding" : [{
        "system" : "https://terminology.hlth.gov.bc.ca/ClientRegistry/CodeSystem/bc-oo-codes",
        "code" : "HCIM.RP.1.0017"
      }],
      "text" : "Warning: The Revise Patient name has been modified to filter out invalid characters."
    }
  },
  {
    "severity" : "error",
    "code" : "business-rule",
    "details" : {
      "coding" : [{
        "system" : "https://terminology.hlth.gov.bc.ca/ClientRegistry/CodeSystem/bc-oo-codes",
        "code" : "HCIM.RP.1.0017"
      }],
      "text" : "The HL7 message is invalid. Please correct the HL7 message, and resubmit it. (System.Exception: Results from Schematron validation: ..."
    }
  }]
}