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

FHIR Infrastructure icon Work GroupMaturity Level: N Normative (from v4.0.0)Security Category: N/A Compartments: No defined compartments

Detailed Descriptions for the elements in the OperationOutcome resource.

OperationOutcome
Element IdOperationOutcome
Definition

A collection of error, warning, or information messages that result from a system action.

Short DisplayInformation about the success/failure of an action
Cardinality0..*
TypeDomainResource
Summaryfalse
Comments

Can result from the failure of a REST call or be part of the response message returned from a request message.

OperationOutcome.issue
Element IdOperationOutcome.issue
Definition

An error, warning, or information message that results from a system action.

Short DisplayA single issue associated with the action
Cardinality1..*
Summarytrue
OperationOutcome.issue.severity
Element IdOperationOutcome.issue.severity
Definition

Indicates whether the issue indicates a variation from successful processing.

Short Displayfatal | error | warning | information | success
Cardinality1..1
Terminology BindingIssue Severity (Required)
Typecode
Requirements

Indicates how relevant the issue is to the overall success of the action.

Summarytrue
OperationOutcome.issue.code
Element IdOperationOutcome.issue.code
Definition

Describes the type of the issue. The system that creates an OperationOutcome SHALL choose the most applicable code from the IssueType value set, and may additional provide its own code for the error in the details element.

Short DisplayError or warning code
Cardinality1..1
Terminology BindingIssue Type (Required)
Typecode
Requirements

Expresses the issue in a human and computer-friendly way, allowing the requesting system to behave differently based on the type of issue.

The required element provides a base level of computable interoperability across all systems for processing an outcome, allowing systems to respond appropriately regardless of the internal system error codes returned.

Summarytrue
Comments

Code values should align with the severity. For example, a code of forbidden generally wouldn't make sense with a severity of information or warning. Similarly, a code of informational would generally not make sense with a severity of fatal or error. However, there are no strict rules about what severities must be used with which codes. For example, code-invalid might be a warning or error, depending on the context

OperationOutcome.issue.details
Element IdOperationOutcome.issue.details
Definition

Additional details about the error. This may be a text description of the error or a system code that identifies the error.

Short DisplayAdditional details about the error
Cardinality0..1
Terminology BindingOperation Outcome Codes (Example)
TypeCodeableConcept
Summarytrue
Comments

A human readable description of the error issue SHOULD be placed in details.text.

OperationOutcome.issue.diagnostics
Element IdOperationOutcome.issue.diagnostics
Definition

Additional diagnostic information about the issue.

Short DisplayAdditional diagnostic information about the issue
Cardinality0..1
Typestring
Summarytrue
Comments

This may be a description of how a value is erroneous, a stack dump to help trace the issue or other troubleshooting information.

OperationOutcome.issue.location
Standards StatusThis element has a standards status of "Deprecated" which is different from the status of the whole resource

This element is deprecated because it is XML specific. It is replaced by issue.expression, which is format independent, and simpler to parse.

Element IdOperationOutcome.issue.location
Definition

This element is deprecated because it is XML specific. It is replaced by issue.expression, which is format independent, and simpler to parse.

For resource issues, this will be a simple XPath limited to element names, repetition indicators and the default child accessor that identifies one of the elements in the resource that caused this issue to be raised. For HTTP errors, will be "http." + the parameter name.

Short DisplayDeprecated: Path of element(s) related to issue
Cardinality0..*
Typestring
Requirements

Allows systems to highlight or otherwise guide users to elements implicated in issues to allow them to be fixed more easily.

Summarytrue
Comments

The root of the XPath is the resource or bundle that generated OperationOutcome. Each XPath SHALL resolve to a single node. This element is deprecated, and is being replaced by expression.

OperationOutcome.issue.expression
Element IdOperationOutcome.issue.expression
Definition

A simple subset of FHIRPath limited to element names, repetition indicators and the default child accessor that identifies one of the elements in the resource that caused this issue to be raised.

Short DisplayFHIRPath of element(s) related to issue
Cardinality0..*
Typestring
Requirements

Allows systems to highlight or otherwise guide users to elements implicated in issues to allow them to be fixed more easily.

Summarytrue
Comments

The root of the FHIRPath is the resource or bundle that generated OperationOutcome. Each FHIRPath SHALL resolve to a single node.