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.