Question: You are to implement a program for scheduling a doctors daily schedule. For this project, you will need to utilize the concepts of classes and

You are to implement a program for scheduling a doctors daily schedule. For this project, you will need to utilize the concepts of classes and top-down design that has been discussed in class. The list of requirements and constraints for the system are as follows:

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!