Bug 818

Summary: The patient’s AE Ticket is not removed after seeing a doctor.
Product: Hospital System Reporter: hongjlee2-c
Component: AE SystemAssignee: klhwong3-c
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: beta release   
Hardware: PC   
OS: Windows   

Description hongjlee2-c 2023-12-08 20:35:58 HKT
Step To Reproduce:
1. Remove all AE patients in the queue. (You can use “admin clp” to do so)
2. Make sure to have at least one AE doctor for treatment. (You can add AE doctor using “admin aed [doctor_name]:[password]”)
3. Login and get the ticket using the “2. Take A&E treatment” function.
4. Use “5. See Doctor” to get treatment, and then “See Doctor.” will be printed out. 
5. Use “5. See Doctor” again.

Actual Results:
“See Doctor.” is printed out again.

Expected Results:
“You are not holding a ticket currently.” should be printed out.

Suggested Fix:
We have to make sure to remove the ticket from the patient after seeing a doctor. I think we can create a method removeTicket() in the patient class and call this in the AESeeDoctor class.