Current Build

Operationoutcome-example-validationfail.xml

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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 &quot;label&quot; @ /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 &quot;label&quot;"/> 
    </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.