Order entry UI Return button not working

privilege table. Again, you could populate this metadata with openmrs-initializer for privileges and roles as well.

@ruhanga How are you managing drug order delete and printing prescription options. I have requirements for both features.

@ruhanga I just took SQL backup and reinstalled the fresh instance then again restored the DB backup. Order entry details missing after restoring DB backup. However, other settings available.

I couldnā€™t see drug order for dispense medication. Have you tried taking DB back and did fresh installation then again restored the DB backup.

Hi @prapakaran, sorry Iā€™ve been on holiday and unable to respond promptly.

The prescription printing functionality is not yet supported as far as I know. As for managing drug orders, some work has been done along that line which Iā€™ve not been able to closely followed up. @bistenes would be of more help in this regard.

I have not done this before. Could you have resolved this already?

@ruhanga The DB restore issue is still work in progress and we are still in testing stage.

@ruhanga @bistenes I try to use orderentry form for printing and getting error below. I just clicked edit button below

It landed here.

Thanks @prapakaran for reporting this, i would like to follow up with this issue will make a followup ticket if this resides on our current server

This is running as expected, i have tested this using openmrs qa-server. Not sure which version of HFE you are runnning . Feel free to start a talk thread to track it thanks

@sharif You might be tested without order entry. Is it possible to add an order entry and try this.

1 Like

@ruhanga Is there a way to add order entry module with GitHub - openmrs/openmrs-distro-referenceapplication. Hence, every-time no need to install manually.

1 Like
1 Like

Hello Friends, Bringing this back to our enlightment, we continue to see such an error java.lang.IllegalArgumentException: encounter.form is not an HTML Form: null a - Pastebin.com, however the above comment seems to be indicating that its impossible to edit active drugs to fave new drug prescriptions,

. According to this fix here, it seems edit button in drug order was brought back to work however after trying to test in current OWA version 1.2.2 still didnt work hence encounting same error, is there any work around where it was fixed in openmrs Am i missing any point here ,

Can we however be able to return active drugs page being editable as part of our use case thanks cc @mogoodrich @ruhanga @bistenes , help me to understand this use case please thanks

@sharif, Iā€™d think of orders as immutable objects whose state transitioning (NEW, REVISE, DISCONTINUE, RENEW) rather lead to the creation of subsequent orders replacing them and this is why such a functionality, that of editing an already made order(drug order) is not being supported in the newer OWA version you are running. You may want to checkout to prior versions/tags(1.0.0 , 1.1.0ā€¦) of the project and build off of that to retain that functionality. Simply do something along the following lines, then build the project.

cd /openmrs-owa-orderentry
git checkout <tag>

Thanks so much @ruhanga , Let me try that first

From the error, above, it looks like the ā€œeditā€ link on the implementation is misconfigured somehow? I donā€™t think it has anything to do with drug ordersā€¦ is this something that can be reproduced on qa-refapp?

Thanks @mogoodrich , trying to edit active configured drugs using order entry owas under patient dashboard throw that error, its also very unfortunate that deleting a drug seems to be also not actively working as you can see on the screen shot

We are trying to achieve a part of this ticket is to be able to return an error message that readable not full exception, this can also be reproduced on https://qa-refapp.openmrs.org/openmrs/ Personallly i dont this returning a ui error message like i had done might be a strong idea to base on but it would also work on the other hand,

  • Using Annotation Based Error ExceptionHandler since its behaving in controller seems to be the right way but i think it would require us to have a ui error message ,Another Option is to use messageSource class from openmrs but this also have limitations. Not sure how other implementations handle this just incase its something to rectify ,welcome ideas of handling this thanks

your guidance will be highly appreciated thanks

Hello Team,

Iā€™m facing the similar challenges in running the Order entry module. Can someone help me in solving, atleast the ā€˜Return button not workingā€™ issue?

Can you share the screenshot or some details about your issue of return button

Hey @sharif, iā€™m getting this page after clicking the return button:

Any help will be welcome

is this be of help Order Entry UI Administrator Guide - Projects - OpenMRS Wiki have you gone through setting up owa