Notice
- Important: This guidance is under active development by NHS England and content may be added or updated on a regular basis.
- This Implementation Guide is currently in Draft and SHOULD NOT be used for development or active implementation without express direction from the NHS England Genomics Unit.
Bundle-TransactionResponseError-Example
Example of a transaction-response bundle logging an error with a resource.
| Bundle |
| id : Bundle-TransactionResponseError-Example |
| meta |
| lastUpdated : 2024-01-30T12:01:24Z |
| type : transaction-response |
| entry |
| response |
| status : 422 Unprocessable Entity |
| outcome |
| meta |
| lastUpdated : 2024-01-30T12:01:24Z |
| issue |
| severity : error |
| code : processing |
| details |
| coding |
| system : http://terminology.hl7.org/CodeSystem/operation-outcome |
| code : MSG_LOCAL_FAIL |
| display : Unable to resolve local reference to resource Patient/Patient-MeirLieberman-Example |
| diagnostics : Validation errors occurred during processing |
| location : Bundle.entry[1].resource.ofType(ServiceRequest) |
| entry |
| response |
| status : 200 OK |
| lastModified : 2024-01-30T12:01:24Z |
| outcome |
| meta |
| lastUpdated : 2024-01-30T12:01:24Z |
| issue |
| severity : information |
| code : informational |
| diagnostics : No issues detected during validation. Resource not created as request transaction contains an error |
| location : Bundle.entry[1].resource.ofType(Patient) |
{
},
{
},
{
{
}
]
},
"Bundle.entry[1].resource.ofType(ServiceRequest)"
]
}
]
}
}
},
{
},
{
"diagnostics": "No issues detected during validation. Resource not created as request transaction contains an error",
"Bundle.entry[1].resource.ofType(Patient)"
]
}
]
}
}
}
]
}
</meta>
<OperationOutcome>
</meta>
<display value="Unable to resolve local reference to resource Patient/Patient-MeirLieberman-Example" />
</coding>
</details>
</issue>
</OperationOutcome>
</outcome>
</response>
</entry>
<OperationOutcome>
</meta>
<diagnostics value="No issues detected during validation. Resource not created as request transaction contains an error" />
</issue>
</OperationOutcome>
</outcome>
</response>
</entry>
</Bundle>