Release 5

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/exception (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

An error that might be returned when an unexpected exception happens on a server (id = "exception")

<?xml version="1.0" encoding="UTF-8"?>

<OperationOutcome xmlns="http://hl7.org/fhir">
  <id value="exception"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> SQL Link Communication Error (dbx = 34234)</p> 
    </div> 
  </text> 
  <issue> 
    <severity value="error"/> 
    <code value="exception"/> 
    <details> 
      <text value="SQL Link Communication Error (dbx = 34234)"/> 
    </details> 
  </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.