Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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

Operationoutcome-example-validationfail.xml

Example OperationOutcome/validationfail (XML)

FHIR Infrastructure Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any No 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
    
  
  
    
    
    
      
     
    
    
  

         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.