NKay15 / SC2002

Hospital Management System
0 stars 1 forks source link

Appointment Management #4

Open Morilindo opened 1 day ago

Morilindo commented 1 day ago

appointment management for patients, doctors, and administrators.

Morilindo commented 23 hours ago

5

NKay15 commented 22 hours ago

Just a few notes. The Date class does note have the time of the appointment. It is contain in the appointment class. Use getTimeSlot method for that. Also, should we use this class for the doctors to view their personal schedule and set their availability for appointments for make another class to handle it. Thanks a lot for your work.

Morilindo commented 22 hours ago

Just a few notes. The Date class does note have the time of the appointment. It is contain in the appointment class. Use getTimeSlot method for that. Also, should we use this class for the doctors to view their personal schedule and set their availability for appointments for make another class to handle it. Thanks a lot for your work.

Noted. I would update it in next pr. Thanks! I think it's better to have another class like DoctorScheduleManager. I would implement it later. By the way, is AppointmentOutcomeRecord.java finished?

Morilindo commented 7 hours ago

7

I'm confused with the behavior of rescheduling action for a patient.

  1. Should the existing appointment be cancelled immediately after rescheduling request, or after the doctor approved new appointment?
  2. And if the existing appointment is not approved by a doctor, can the patient require rescheduling?
  3. when the patient requests cancellation of the appointment, should the doctor approve it?

And regarding the time slot, I tentatively set the scope for each time slot to half an hour, and the doctor's available time is 8-18 with a break 12-1330. Dates for current events is not specified, so there is no deadline detection yet.