Handling Processing Errors
Handling domain/business processing related errors
While the protocol related errors are expected to be handled as per Error Response section in the Technical Specifications, this section provides detail on responding when there are errors during business processing of the request.
An error in business processing will be responded using corresponding on_* callback containing corresponding response FHIR profile with following additional constraints:
x-hcx-status needs to be set to "response.error"
Error code in x-hcx-errordetails header needs to be set to "ERR_DOMAIN_PROCESSING" as mentioned in Recipient error scenarios table in the Error Response section in the Technical Specifications.
Within the corresponding response FHIR profile {response_resource}
Error status need to be indicated in {response_resource}.outcome attribute
Details of error need to be carried in the corresponding {resopnse_resource}.error attribute.
Last updated