Question
1. The system must be able to manage multiple patients and doctors. 2. For each doctor, the system records the doctors name, age, and a
1. The system must be able to manage multiple patients and doctors.
2. For each doctor, the system records the doctors name, age, and a specialty. For each patient, the system records the patients name, age, and gender. NOTE: the files DoctorList.h, DoctorList.cpp, PatientList.h, and PatientList.cpp have static arrays that have been prepopulated with unique names for the doctors and patients for your convenience. These arrays, since they are static, can be accessed in any source file that includes the .h file.
3. The names of all patients and doctors are unique and can be used to locate the information on a specific patient or doctor.
4. Each doctor has a maximum of eight appointments in a day, each an hour long, with the workday starting at 08:00AM. It is the responsibility of the user to schedule appointments with a doctor.
5. The user can add an appointment by indicating the doctor, the time slot, and the patient. This action fails if the selected time slot is already filled.
6. The user can remove an appointment by indicating the doctor and the time slot that should be freed.
7. User can print all patient information.
8. User can print all doctor information, including a list of their timeslots and their status (if they are free or the name of the patient that they will see during that appointment).
9. User can enter name of doctor and a time slot to see if that appointment time is available.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started