...
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, the 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 XDSUnknownPatientIdas "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.
...