Loading encounter outside the loop

(cherry picked from commit dd33cfef9c97bbe229f2c593da1a712e86791b8b)

Conflicts:
	api/src/main/java/org/openmrs/module/kenyaemr/calculation/library/mchcs/NotTakenPcrConfirmatoryTestCalculation.java
Added small fix to HivMetadata to allow it to work with OpenMRS's standard test data