Handling Processing Errors
Handling domain/business processing related errors
Last updated
Was this helpful?
Handling domain/business processing related errors
Last updated
Was this helpful?
While the protocol related errors are expected to be handled as per , 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 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.