New hospital database created with 3 doctors.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Name (no spaces), age, gender (M/F/O), phone:
Registered patient 1.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Name (no spaces), age, gender (M/F/O), phone:
Registered patient 2.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
ID    Doctor               Specialty
101   Dr. A. Menon         General Medicine
102   Dr. S. Iyer          Cardiology
103   Dr. R. Khan          Orthopaedics

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Patient ID, doctor ID, day, slot (0=09:00 ... 7=16:00):
Appointment #1 booked: day 1 at 09:00 with Dr. A. Menon.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Patient ID, doctor ID, day, slot (0=09:00 ... 7=16:00):
Cannot book: doctor already booked at that time.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Patient ID, doctor ID, day, slot (0=09:00 ... 7=16:00):
Appointment #2 booked: day 1 at 09:00 with Dr. S. Iyer.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Patient ID, doctor ID, day, slot (0=09:00 ... 7=16:00):
Cannot book: patient already has an appointment then.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Patient ID, doctor ID, day, slot (0=09:00 ... 7=16:00):
Appointment #3 booked: day 1 at 11:00 with Dr. A. Menon.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Doctor ID and day:
Schedule for Dr. A. Menon on day 1:
  09:00  Sita
  10:00  free
  11:00  Ram
  12:00  free
  13:00  free
  14:00  free
  15:00  free
  16:00  free

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Appointment number:
Appointment #1 cancelled.

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Patient ID:
Patient 1: Sita, 34, F, phone 9876500001
  #1 day 1 09:00 with Dr. A. Menon (cancelled)

1.Register patient 2.Doctors 3.Book 4.Cancel 5.Doctor schedule 6.Patient history 0.Save & exit
Choice:
Data saved.
