ich service de you vent ? Press "" ta schetule an appointent Press " ta check appeintaents Press "" ta cancel as ppintnent Press ta reschedule a osinteent Press te xit Ester Patient 10i 1245 Appointnent Type Petient Patient Mane Dector Nane Apointnent Date teergeny Rastine AL AL Abri ALL AL Abri Or. Ahned Al Abri 12-11-21 a15 Or. Ahned Al Abri 22-11-21 1 20 Symptans fever, cold, cgh Testa blot, ray 1234 ich service ds you vent? Press "" te schetule an appolatent Press " ta theck pintnents Press " ta cancel as psintnent Press "4 ta reschedule an psinteent Press " ta exit Figure S: Check an Appointment by Patient ID (results are soted by appointment date)
ich service de you vent ? Press "" ta schetule an appointent Press " ta check appeintaents Press "" ta cancel as ppintnent Press ta reschedule a osinteent Press te xit Ester Patient 10i 1245 Appointnent Type Petient Patient Mane Dector Nane Apointnent Date teergeny Rastine AL AL Abri ALL AL Abri Or. Ahned Al Abri 12-11-21 a15 Or. Ahned Al Abri 22-11-21 1 20 Symptans fever, cold, cgh Testa blot, ray 1234 ich service ds you vent? Press "" te schetule an appolatent Press " ta theck pintnents Press " ta cancel as psintnent Press "4 ta reschedule an psinteent Press " ta exit Figure S: Check an Appointment by Patient ID (results are soted by appointment date)
ich service de you vent ? Press "" ta schetule an appointent Press " ta check appeintaents Press "" ta cancel as ppintnent Press ta reschedule a osinteent Press te xit Ester Patient 10i 1245 Appointnent Type Petient Patient Mane Dector Nane Apointnent Date teergeny Rastine AL AL Abri ALL AL Abri Or. Ahned Al Abri 12-11-21 a15 Or. Ahned Al Abri 22-11-21 1 20 Symptans fever, cold, cgh Testa blot, ray 1234 ich service ds you vent? Press "" te schetule an appolatent Press " ta theck pintnents Press " ta cancel as psintnent Press "4 ta reschedule an psinteent Press " ta exit Figure S: Check an Appointment by Patient ID (results are soted by appointment date)
Provide API documentation comments for your class(s), class constructor(s) and method(s) using the Java standard form for documentation comments discussed in this course. • Use meaningful variable and constant names. • Show your name, university id and section number as a comment at the start of each class.
Problem: Assume that you have been hired to write a java application for SQU students’ clinic to help receptionist to manage the clinic appointments. There are two type of appointments: emergency appointment and routine appointment. Each appointment has the following information: patient ID, patient name, appointment date and time, and doctor name. Emergency appointment can be scheduled on the same date and the patient symptoms (e.g. cough, fever, cold, diarrhea, injury, …) should be recorded. While for a routine appointment the patient can decide when he/she would like to have the appointment and the required tests (e.g., blood, x-ray, urine, …) should also be recorded. Your application should read the initial appointments records from a file called “Clinic Appointments.txt” (check Figure 1 for a sample input file). Your program should then display a menu for the receptionist (shown in the sample runs) then he/she can choose the service. For scheduling an appointment, they can choose whether it is an emergency appointment or routine appointment. Then they will be asked to enter the required information as shown in the sample run. The clinic has four doctors (Dr. Ahmed Al Abri, Dr. Muna Mousa, Dr. Hisham Nazim, and Dr. Ismail Mahmood) and patients are assigned to one of these doctors automatically by the system. The receptionist can also check the appointments for a specific patient ID. The system will display the checked appointments sorted by appointment date (Hint: use the Comparable interface). The receptionist can also cancel the next coming (future) appointments or reschedule a coming appointment by changing the date and time. Once receptionist choose to exit the application the system should give them the option to either save the records by updating the initial file or exit without saving.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.