Backwards compatibility for OpenMRS 2.0 platform Reference Application Modules

The approach we have been using is described at: https://wiki.openmrs.org/display/docs/Supporting+different+OpenMRS+versions

We could start this discussion with the coreapps module. The changes are mainly two as summarized below:

  1. In platform 2.0, the AddressSupport and AddressTemplate classes were moved from the “org.openmrs.layout.web.address” to the “org.openmrs.layout.address” package.

  2. EncounterService.getEncounters() was changed from one that takes very many parameters to one that take just one EncounterSearchCriteria parameter.

The full commit is at: https://github.com/openmrs/openmrs-module-coreapps/commit/216a570b94a7743da4e93b5345660cdd2e334ef7

After discussing the above, i can put up another with more changes until when we shall have the reporting module, which is one of those with the biggest changes. :smile: