Version History:
Version# | Date | Modified By | Description of Modification |
---|---|---|---|
1.0 | 4/5/2016 | Sailaja Adusumilli | Initial Version |
Table of Contents |
---|
DocQueryErrorCodesStandard Test Details:
Overview:
DocQueryErrorCodesStandard project is used to test Document Query service error handling functionality for Patient Id. When an unknown or invalid PatientID passed in Document Query request message, no correlations are present for that patient and an error ""XDSUnknownPatientId" should be returned. It is accomplished by processing Document Query request with XDSDocumentEntryPatientId element. Testing will be done in standard mode.
Test case
...
details:
- XDSUnknownPatientId: This test case is used to test Document Query service when the PatientID value passed as "unknown" in the $XDSDocumentEntryPatientId slot. When this test case is executed an in script will update "documentQueryQuerySelf" property to false in gateway.properties configuration file. Script will also update patientcorrelationdb.correlatedidentifiers , assigningauthoritydb.aa_to_home_community_mapping tables with a valid patientId, assigning authority and correlationId values (PatientId not as "unknown"). When Document Query service test step is processed, it returns RegistryError response with errorCode as XDSUnknownPatientId", codeContext as " no patient correlations found " and coded indication of the severity of the error. Using assertions script will verify request's response to make sure expected elements with relevant values are present in RegistryError element.
...