I am currently using openmrs-2.3.0-SNAPSHOT and htmlformentry-3.10.0-SNAPSHOT.
If I try to use the inside my forms I get the following error on my console:
java.lang.NoSuchMethodError: org.openmrs.Drug.getDoseStrength()Ljava/lang/Double;
at org.openmrs.module.htmlformentry.element.DrugOrderSubmissionElement.handleSubmission(DrugOrderSubmissionElement.java:580)
On debugging I realized that the Drug entity has been updated since openmrs-core-1.9 and it is being used in the old version here.
I have tried to look into the compatibility classes, not quite sure about that yet. Any suggestions or guides shall be a big help.
I suspect there may already be a ticket in the HTML Form Entry project (but I haven’t checked., and certainly create one if there isn’t). I forget exactly where we are with all this, but, unfortunately, it’s highly possible that the DrugOrder tag has never been updated to work with the new order model.
@prateektiwari can you add a link to this talk thread. Also curate the ticket by adding as much information or pointers as would be helpful to whoever picks it up.