Hi, Just want report if this is a bug or it was just design this way.
In the prescription form, prescription will still be save even no drugs is selected. I also try this on the demo site its also the same.
Reproduction Steps.
- I active the Drug Inventory in the demo site.
- Add a dummy drug including its inventory and template
- Select a patient to add a prescription
- Add all details for the drug (Quantity, Medicine Units,Directions) except i didn’t select any drug in the drug down (in-house)
5.Save. ( even if no drug selected, prescription can still be save ) - Check the patient dashboard, prescription was successfully added in the patient, but the drug name is empty and all the details of the drug that was added manually is there.
Expected Result :
If no drug selected in the prescription form and user will try to save the prescription it will prompt a message or error “No Drug selected”.
Please see below for screenshot of this scenario :
Thanks
Casper