This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example OperationOutcome/validationfail (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
A validator has found problems with a resource (id = "validationfail")
<?xml version="1.0" encoding="UTF-8"?>
<OperationOutcome xmlns="http://hl7.org/fhir">
<id value="validationfail"/>
<text>
<status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">
<p> Error parsing resource XML (Unknown Content "label" @ /Patient/identifier/label)
at Patient.identifier</p>
</div>
</text>
<issue>
<severity value="error"/>
<code value="structure"/>
<details>
<text value="Error parsing resource XML (Unknown Content "label""/>
</details>
<location value="/f:Patient/f:identifier"/>
<expression value="Patient.identifier"/>
</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.