Table of Contents |
---|
Overview
PatientDiscoveryInternalErrorMessageIdTest project is used to verify InternalError message response error handling funcality for Patient Discovery (PD), by sending PD service request after changing the internal (PD) endpoint and verify the expected errorwhere a DetectedIssue is raised from an underlying exception caused by an incorrect NwHIN URL.
Patient Discovery
Update the internal external endpoint (PD) for the PD request to an invalid URL and send PD service request. Once the message is processed, verify the expected error response (detectedIssueEvent)contains a “detectedIssueEvent” element with the “AnswerNotAvailable” status.
PD Deferred Request
Update the internal external endpoint (PD deferred Request) for the PD request to an invalid URL and send PD Deferred (request) messageservice request. Once the message is processed, verify the expected error response (acknowledgement)contains an acknowledgement with the contains error code “CE” and that the “acknowledgementDetail” element contains the correct error message “Internal system error”.