@ruhanga It looks return button is not working and also no option for edit/delete drug order.
@ruhanga I raised jira card and also checking the code. May i know where to pass returnURL. It was missing.
Line number 34
Thanks for fixing this. Please find the card details. https://issues.openmrs.org/browse/OEUI-308?filter=-2 One more thing, edit/delete button are not available for drug order entry. I will also look at this code.
@ruhanga is anyone looking edit/delete button on drug orders.
@prapakaran, this may have been intended to prohibit editing an active drug order. Editing the prescription is possible only when the it is still in its draft state. This means editing an active drug order requires that it is deactivated/discontinued in favour of a new prescription.
@mogoodrich could this be consistent with the original intension?
Yes I believe this is intentional because drug orders are immutable… I would think we’d want a way to cancel an order though… i haven’t looked at the UI in a while, so this may not currently be possible?
@ruhanga @mogoodrich Sometimes the medicine allergy/dosage may not work for a patient then the doctor prescribes a new drug and discontinue the old one. I am guessing we may required button to discontinue the drug like lab orders. Even i have gone through the scenario in my experience.
Yes, I agree there should be functionality to discontinue/cancel an order…
Thanks @ruhanga I will try to take some time to refresh myself in greater detail on how it’s supposed to work, but I might not get to it immediately.
Take care, Mark