Create a new OperationOutcome

OperationOutcome on the FHIR specification website.

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

The body should be a valid FHIR object for OperationOutcome.

Here is an example:

{
  "resourceType": "OperationOutcome",
  "id": "101",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>The code &quot;W&quot; is not known and not legal Patient.gender.</p>\n    </div>"
  },
  "issue": [
    {
      "severity": "error",
      "code": "code-invalid",
      "details": {
        "text": "The code \"W\" is not known and not legal in this context"
      },
      "diagnostics": "Acme.Interop.FHIRProcessors.Patient.processGender line 2453",
      "location": [
        "/f:Patient/f:gender"
      ],
      "expression": [
        "Patient.gender"
      ]
    }
  ]
}

You can reference the FHIR documentation to determine the format for OperationOutcome.

Language
Authorization
Click Try It! to start a request and see the response here!