Question:
Hi Team, I am trying to add “Patient Image” module in openMrs2.0.1 but while doing that I am getting the error-
"WARN - Module.expandExtensionNames(546) |2016-12-17 23:37:04,549| patientimage: Unable to find class definition for extension: org.openmrs.patientDashboardTab
java.lang.NoClassDefFoundError: org/openmrs/module/web/extension/PatientDashboardTabExt
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:637)
at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:556)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.openmrs.module.Module.expandExtensionNames(Module.java:538)
at org.openmrs.module.Module.getExtensions(Module.java:490)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1215)
at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:800)
at org.openmrs.api.context.Daemon$1.run(Daemon.java:74)
".
I have just done a commit to make the module run on platform 2.x but unfortunately i do not have the permission to upload it to modulus. Are you a developer to compile it yourself from source? If not, i can email it to you.
@dkayiwa lets suppose If I want to create a custom patient registeration page(using XFomrs) and want to add both modules(Patient Image, File Browser) functionality on registeration how can I do that?
@dkayiwa, So the requirement is like patient walks in into a hospital, there is lady on the reception which registers a patient, patient is carrying his/her previous medical history. Now that lady has to scan all those documents at the time of registeration and take the image of that patient.
How about, for now, taking this as a registraton wizard where the first screen is that form you submit and get to the dashboard as the next screen for image and scan documents?