## Elements

| Name | Required | Type | Description |
| --- | --- | --- | --- |
| issue | ✓ | OperationOutcomeIssue\[\] | A single issue associated with the action<br>Details<br>An error, warning, or information message that results from a system action. |
| id |  | string | Unique id for inter-element referencing<br>Details<br>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
| extension |  | [Extension](/content/docs/api/fhir/datatypes/extension/index.html)\[\] | Additional content defined by implementations<br>Details<br>May be used to represent additional information that is not part of the basic definition of the element. |
| ... | ... | ... | ... |

## Search Parameters

_None_

## Inherited Elements

| Name | Required | Type | Description |
| --- | --- | --- | --- |
| id |  | string | Logical id of this artifact<br>Details<br>The logical id of the resource, as used in the URL for the resource. |
| meta |  | [Meta](/content/docs/api/fhir/datatypes/meta/index.html) | Metadata about the resource<br>Details<br>The metadata about the resource. |
| language |  | code | Language of the resource content<br>Details<br>The base language in which the resource is written. |
| text |  | [Narrative](/content/docs/api/fhir/datatypes/narrative/index.html) | Text summary of the resource, for human interpretation<br>Details<br>A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. |
| ... | ... | ... | ... |

Operation outcomes are sets of error, warning, and information messages that provide detailed information about the outcome of an attempted system operation. They are provided as a direct system response, or component of one, and provide information about the outcome of the operation.

The [OperationOutcome](/content/docs/api/fhir/resources/operationoutcome/index.html) resource is used in the following circumstances:

- When a [RESTful interaction](https://www.hl7.org/fhir/http.html#operations) or [operation](https://www.hl7.org/fhir/operations.html) fails
- As the response on a [validation operation](https://www.hl7.org/fhir/http.html#validate) to provide information about the outcome
- As part of a message response, usually when the message has not been processed correctly
- As the response to a batch/transaction, when requested
- As part of a search's [Bundle](/content/docs/api/fhir/resources/bundle/index.html) response containing information about the search

This resource is not used for reporting clinical or workflow issues associated with a proposed or ongoing action; these would be handled using [DetectedIssue](/content/docs/api/fhir/resources/detectedissue/index.html) or other resources. [OperationOutcome](/content/docs/api/fhir/resources/operationoutcome/index.html) is not designed to be persisted or referenced from other parts of the workflow.

It is possible to have both `OperationOutcome` and [DetectedIssue](/content/docs/api/fhir/resources/detectedissue/index.html) together, where the [OperationOutcome](/content/docs/api/fhir/resources/operationoutcome/index.html) might indicate that a requested action was rejected due to a clinical issue and the [DetectedIssue](/content/docs/api/fhir/resources/detectedissue/index.html) provides the details of the issue.
