BAH-987-Code Review and testcase related changes for bahmniapps and bahmni_core - to be taken up as part of 2nd code cut.
https://github.com/Bahmni/openmrs-module-bahmniapps/pull/324/
https://github.com/Bahmni/bahmni-core/pull/82
has a review comment which can be handled as part of this card
As part of the review comments, Code refactoring needs to be done