DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). 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.xml

Raw XML (canonical form)

General Outcome Example (id = "101")

<OperationOutcome xmlns="http://hl7.org/fhir">
  <id value="101"/>
  <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"/>
    <code value="code-invalid"/>
    <details> 
      <text value="The code &quot;W&quot; is not known and not legal in this context"/>    
    </details>
    <diagnostics value="Acme.Interop.FHIRProcessors.Patient.processGender line 2453"/>
    <location value="/f:Person/f: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.