@mogoodrich, on another note, i see that
PacsIntegrationActivator starts the HL7 listener in the module activator’s
I think this should be moved to the
contextRefreshed() callback because
started() is called only when OpenMRS is starting, or when a module is being installed, or when a module which has not been running is started.
So if one installs, starts or stops any module other than pacsintegration, the HL7 listener will be stopped and never started.