Wednesday, May 3, 2017

Weekly report in 3rd week and 4th week

Weekly report in 3rd week and 4th week.
Pharmacy module
Assistance Pharmacist (login as sahan)
Issue
1.       When updating selected drug, the remarks field does not loaded from the database.

jqPharmacyDC.js file changed











DrugResource.java api file changed.





2.       When the assistance pharmacist send drug request to the chef pharmacist, the Pharm_drugrequest table is not updated.
3.       After made a request chief pharmacist can’t view the request.

Request_Controller.php file changed.




When creating the session the ‘userId’ is not added to the json object. We added it as ‘userId’ =>$this     ->session->userData(‘userid’);



After changing we can do following steps.
·         Login as assistant pharmacist (nisha) and send drug request to the chief pharmacist (sahan)
·         Pharm_drugrequest table will be update.
·         Then login as chief pharmacist (sahan) and view request.
·         Check the requested drug and approve.
·         Then the selected request will remove and pharm_asst_stock table will be update.



4.       Login as assistant pharmacist and before dispense drugs check whether the drug and the required quantity is available.
Priscribe_controller.php file changes





dispense.js file changes



UI Changes