Step To Reproduce: 1. Login. 2. Make sure to have at least one AE doctor. (You can do so using “admin aed [username]:[password]”) 3. Input “2” to enter the AE system. 4. Input “1” to get a ticket and input any illness (e.g. “fever”) 5. Repeat steps 3 and 4. Actual Results: The AE system generates multiple tickets for the same user, causing the same user to be on the waiting list multiple times. Expected Results: The program should not allow the user to get multiple tickets. Suggested Fix: Create a boolean hasTicket() function in Patient.java and use it in the AE system to prevent this bug.