create a hibernate query object
Merge branch 'develop' of https://github.com/OpenHMIS/openmrs-module-openhmis.commons into develop