In the OperationOutcome resource for FHIR r4 , the issue attribute identifies the A single issue associated with the action
"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"
]
}
]
"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"
]
}
]