krasserm/ipf — pull request #93 by mottati (2012-07-21 05:34:36+00:00)
Title: ITI-51 Multi-Patient Query

This pull request contains an implementation of Multi Patient Query (ITI-51)

* Renamed AbstractDocumentsQuery to DocumentsQuery
The only difference between the stored queries and their MPQ variants is that the MPQ queries accept a (possibly empty) list of Patient IDs and the stored queries must have exactly 1 patient ID passed as a string. In order to take advantage of the AbastractDocuments query as a common subclass, I moved the patient ID accessor for FindDocumentsQuery and FindFoldersQuery into those classes. The MPQ variants are now subclassed off of the DocumentsQuery class.

* Added XmlEnumValues for FindDocumentsForMultiplePatients and FindFoldersForMultiplePatients
* Implemented Transformers for the MPQ queries.
* Implemented Validators for the MPQ queries.

The mpq validatators differ in how they process patientId lists.
* Implemented Audit messages for the MPQ queries
* Implements Camel endpoints for the MPQ queries.
* Added new test cases as appropriate cases above.

All existing tests and all new tests pass on this branch.