Bug 827

Summary: Pharmacy system did not create an instance, and the get instance will not create an instance as well.
Product: Hospital System Reporter: tungllam6-c
Component: Pharmacy SystemAssignee: toisinglo2-c
Status: CONFIRMED ---    
Severity: critical    
Priority: High    
Version: beta release   
Hardware: PC   
OS: Windows   
Attachments: Bug Screen Dump

Description tungllam6-c 2023-12-09 18:17:17 HKT
Created attachment 172 [details]
Bug Screen Dump

Step To Reproduce:
Create a patient account that holds an appointment ticket. 
Input admin commands:
admin apd apd:123
admin app app:123:apd/cough/202311200900
Login
Fast forward time to the appointment time.
admin fft 202311200900
Input “5” in the main menu to see doctor.

Actual Results:
The system crashes because it calls the function from a non-existent Pharmacy System instance.

Expected Results:
The appointment ticket should be assigned the actual illness and corresponding medicine.