PatientDiscoveryInternalErrorMessageIdTest

Overview

PatientDiscoveryInternalErrorMessageIdTest project is used to verify error handling functionality for Patient Discovery (PD) where a DetectedIssue is raised from an underlying exception caused by an incorrect NwHIN URL.

Patient Discovery

Update the external endpoint for the PD request to an invalid URL and send PD service request. Once the message is processed, verify the expected error response contains a “detectedIssueEvent” element with the “AnswerNotAvailable” status.

PD Deferred Request

Update the external endpoint for the PD request to an invalid URL and send PD service request. Once the message is processed, verify the expected error response contains an acknowledgement with the contains error code “CE” and that the “acknowledgementDetail” element contains the correct error message “Internal system error”.