reference application module and a platform module


(George Junior Kamugasha) #1

hello, i am creating a module using openmrs sdk but am kinda confused about the difference between a reference application module and a platform module. could someone please clarify?


(tendo kiiza Martyn) #2

@georgejr
platform modules ship with OpenMRS platform by default for example web.services whereas Reference application modules bundle with the OpenMRS distribution.

You may want to look at platform module vs reference application module and

https://wiki.openmrs.org/display/docs/OpenMRS+Platform


(Dimitri R) #3

@georgejr good question, I must say that I’m each time wondering as well. I guess that this arises from generating a module using the SDK right?

For the sake of minimalism I always pick ‘platform module’, but it would be interesting to go through comparing two modules generated using the two routes and list what actually differs. Most likely:

  • a bunch of dependencies
  • some ‘requires’
  • maybe some boilerplate code and configs to integrate components into the Ref App UI?