This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

6.10.5 Resource OperationOutcome - Examples

Example Index:

General Outcome ExampleXMLJSON

6.10.5.1 General

XML

General Outcome Example (id = "101")

Raw XML

<OperationOutcome xmlns="http://hl7.org/fhir">
  <text>
    <status value="additional"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>W is not a recognized code for Gender.</p>
    </div>
  </text>
  <issue>
    <severity value="error"/>
    <type>
      <system value="http://test.org/issueCodeSystem"/>
      <code value="V15"/>
      <display value="InvalidCode"/>
    </type>
    <location value="/Person[1]/gender[1]"/>
  </issue>
</OperationOutcome>

JSON

General Outcome Example

{
  "resourceType": "OperationOutcome",
  "text": {
    "status": "additional",
    "div": "<div>\n      <p>W is not a recognized code for Gender.</p>\n    </div>"
  },
  "issue": [
    {
      "severity": "error",
      "type": {
        "system": "http://test.org/issueCodeSystem",
        "code": "V15",
        "display": "InvalidCode"
      },
      "location": [
        "/Person[1]/gender[1]"
      ]
    }
  ]
}

comments powered by Disqus