NHS Digital FHIR Implementation Guide (Retired - 2.1.50)

This guidance is under active development by NHS Digital and content may be added or updated on a regular basis.

NHSDigital-OperationOutcome

Conformance url
https://fhir.nhs.uk/StructureDefinition/NHSDigital-OperationOutcome

Conformance Rules



with OperationOutcome

Command 'tree' could not render: File not found for 'subject=NHSDigital-OperationOutcome'

from OperationOutcome

Command 'tree' could not render: File not found for 'subject=NHSDigital-OperationOutcome'

issue

field Mandatory Description
meta.lastUpdated Y UTC date and time stamp when the error occured
id Y uniqueRequestID - Internal Apigee messageID
severity Y code from IssueSeverity
code Y code from IssueType
details Not yet code from NHSDigital-OperationOutcome-Codes
diagnostics Additional diagnostic information about the issue. User readable version of the message. Include url's for further information or other information helpful for the user to understand the error.
location Use the JSON Pointer standard to describe the source of the error - e.g. parameter, or payload value.
expression FHIRPath of element(s) related to issue

Example 1

{
"resourceType": "OperationOutcome",
"id": "1a388581-dbbe-43e3-9054-f5976c0245e5",
"meta": {
"lastUpdated": "2021-04-21T16:58:00+00:00"
},
"issue": [
{
"severity": "information",
"code": "processing",
"diagnostics": "This element does not match any known slice defined in the profile https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient",
"Patient.identifier[1]",
"Line 1, Col 651"
]
},
{
"severity": "error",
"code": "processing",
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/Spine-ErrorOrWarningCode",
"code": "INVALID_VALUE",
"display": "Invalid value"
}
]
},
"diagnostics": "Patient.gender: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient)",
"Patient",
"Line 1, Col 37"
]
}
]
}

Example 2

Command 'json' could not render: File not found for 'subject=4a8617c7-a50c-4f83-b410-13d4cf3555a7'
back to top