Do someone knows how to use the OpenMRS event module 2.6.0. https://wiki.openmrs.org/display/docs/Event+Module
It is said on the documentation that to use the module, you need to call
Event.subscribe(Class, String, EventListener);
But i don’t know what
Class is for, i just know that it must be a subclasses of
So i tried to use the second constructor :
Event.subscribe(String, EventListener); but i got nothing on my EventListener instance after a patient creation.
Is there any example that show how to use it?
Thank you in advance