This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions
. Page versions: R5 R4B R4 R3 R2
Example OperationOutcome/101 (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
General Outcome Example (id = "101")
<?xml version="1.0" encoding="UTF-8"?>
<OperationOutcome xmlns="http://hl7.org/fhir">
<id value="101"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> The code "W" is not known and not legal Patient.gender.</p>
</div>
</text>
<issue>
<severity value="error"/>
<code value="code-invalid"/>
<details>
<text value="The code "W" is not known and not legal in this context"/>
</details>
<diagnostics value="Acme.Interop.FHIRProcessors.Patient.processGender line 2453"/>
<location value="/f:Patient/f:gender"/>
<expression value="Patient.gender"/>
</issue>
</OperationOutcome>
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.