@Test public void testErrorAdhocQueryResponseMissingParameters() throws SAXException, Throwable { String expectedResponse = fileReader .readFile("errorAdhocQueryResponseMissingParameters.xml"); AdhocQueryResponse actualResponse = sut .errorAdhocQueryResponseMissingParameters(); assertResponse(expectedResponse, actualResponse); }
public AdhocQueryResponse errorAdhocQueryResponseMissingParameters() { String codeContext = "$XDSDocumentEntryPatientId, $XDSDocumentEntryStatus and $XDSDocumentEntryFormatCode are required by Policy Enforcement Point."; String errorCode = "XDSStoredQueryMissingParam"; return createAdhocQueryResponseError(codeContext, errorCode); }
XdsbErrorFactory { public AdhocQueryResponse errorAdhocQueryResponseMissingParameters() { String codeContext = "$XDSDocumentEntryPatientId, $XDSDocumentEntryStatus and $XDSDocumentEntryFormatCode are required by Policy Enforcement Point."; String errorCode = "XDSStoredQueryMissingParam"; return createAdhocQueryResponseError(codeContext, errorCode); } }
XdsbErrorFactory { public AdhocQueryResponse errorAdhocQueryResponseMissingParameters() { String codeContext = "$XDSDocumentEntryPatientId, $XDSDocumentEntryStatus and $XDSDocumentEntryFormatCode are required by Policy Enforcement Point."; String errorCode = "XDSStoredQueryMissingParam"; return createAdhocQueryResponseError(codeContext, errorCode); } XdsbErrorFactory();  XdsbErrorFactory(RegistryErrorListSetter registryErrorListSetter); }
XdsbErrorFactory { public AdhocQueryResponse errorAdhocQueryResponseMissingParameters() { String codeContext = "$XDSDocumentEntryPatientId, $XDSDocumentEntryStatus and $XDSDocumentEntryFormatCode are required by Policy Enforcement Point."; String errorCode = "XDSStoredQueryMissingParam"; return createAdhocQueryResponseError(codeContext, errorCode); } XdsbErrorFactory();  XdsbErrorFactory(RegistryErrorListSetter registryErrorListSetter); RetrieveDocumentSetResponse setRetrieveDocumentSetResponseRegistryErrorListFilteredByPatientAndAuthor(
			RetrieveDocumentSetResponse response, int numRemoved,
			String patientId, String authorNPI); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseConstructByErrorMessage(
			String errorMessage); RetrieveDocumentSetResponse errorRetrieveDocumentSetInternalServerError(); RetrieveDocumentSetResponse noClinicalDocumentFound(
			String patientId, String authorNPI); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseSchemaValidation(
			RetrieveDocumentSetResponse response, Map<String, String> errorMap); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseNotExistsOrAccessible(
			RetrieveDocumentSetRequest input); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseRepositoryNotAvailable(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseInternalPEPError(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseAccessDeniedByPDP(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseNoConsentsFound(
			String patientUniqueId); AdhocQueryResponse errorAdhocQueryResponseConstructByErrorMessage(
			String errorMessage); AdhocQueryResponse errorAdhocQueryResponseRegistryNotAvailable(); AdhocQueryResponse errorAdhocQueryResponseAccessDeniedByPDP(); AdhocQueryResponse errorAdhocQueryResponseInternalServerError(); AdhocQueryResponse errorAdhocQueryResponseNoDocumentsFound(
			String patientUniqueId, String intermediarySubjectNPI); AdhocQueryResponse errorAdhocQueryResponseMissingParameters(); }
XdsbErrorFactory { public AdhocQueryResponse errorAdhocQueryResponseMissingParameters() { String codeContext = "$XDSDocumentEntryPatientId, $XDSDocumentEntryStatus and $XDSDocumentEntryFormatCode are required by Policy Enforcement Point."; String errorCode = "XDSStoredQueryMissingParam"; return createAdhocQueryResponseError(codeContext, errorCode); } XdsbErrorFactory();  XdsbErrorFactory(RegistryErrorListSetter registryErrorListSetter); RetrieveDocumentSetResponse setRetrieveDocumentSetResponseRegistryErrorListFilteredByPatientAndAuthor(
			RetrieveDocumentSetResponse response, int numRemoved,
			String patientId, String authorNPI); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseConstructByErrorMessage(
			String errorMessage); RetrieveDocumentSetResponse errorRetrieveDocumentSetInternalServerError(); RetrieveDocumentSetResponse noClinicalDocumentFound(
			String patientId, String authorNPI); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseSchemaValidation(
			RetrieveDocumentSetResponse response, Map<String, String> errorMap); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseNotExistsOrAccessible(
			RetrieveDocumentSetRequest input); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseRepositoryNotAvailable(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseInternalPEPError(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseAccessDeniedByPDP(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseNoConsentsFound(
			String patientUniqueId); AdhocQueryResponse errorAdhocQueryResponseConstructByErrorMessage(
			String errorMessage); AdhocQueryResponse errorAdhocQueryResponseRegistryNotAvailable(); AdhocQueryResponse errorAdhocQueryResponseAccessDeniedByPDP(); AdhocQueryResponse errorAdhocQueryResponseInternalServerError(); AdhocQueryResponse errorAdhocQueryResponseNoDocumentsFound(
			String patientUniqueId, String intermediarySubjectNPI); AdhocQueryResponse errorAdhocQueryResponseMissingParameters();  }