Open ignatiusoey09 opened 1 week ago
Our decision to not include end time/duration for appointments considered the unpredictable nature of the duration of appointments.
Example: appointment ends early and receptionist want to schedule a walk in appointment -> need to edit the end time of the first appointment, otherwise there would be a time clash when adding the new walk in appointment. This would end up creating more work for the receptionist.
Hence it would be easier to just add the new appointment first with a reasonable start time after any previously scheduled appointments (e.g 1h).
Due to this current workaround, we believe the current app can still function normally as intended and that the issue is out of scope for this iteration.
[The team marked this bug as a duplicate of the following bug]
Appointment end time/duration not accepted
Expected: Receptionists would like to know when an appointment will end so they can schedule an appointment with another patient when the doctor is free.
Actual: However, I am not able to specific how long an appointment could take, meaning I can schedule appointments 1 minute away from each other:
Steps to reproduce:
- Assume John Tan is a doctor and John Doe and John Teo are patients.
- Enter
add-appt pn/John Teo dn/John Tan d/23-04-2024 t/1100
- Enter
add-appt pn/John hehe dn/John Tan d/23-04-2024 t/1101
Suggestions: Accept the duration of an appointment and block out the doctor's schedule for that time.
[original: nus-cs2103-AY2425S1/pe-interim#1498] [original labels: severity.Medium type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
Our decision to not include end time/duration for appointments considered the unpredictable nature of the duration of appointments.
Example: appointment ends early and receptionist want to schedule a walk in appointment -> need to edit the end time of the first appointment, otherwise there would be a time clash when adding the new walk in appointment. This would end up creating more work for the receptionist.
Hence for the situation provided for by the tester, it would be easier to just add the new appointment first with a reasonable start time after any previously scheduled appointments (e.g 1h).
Due to this current workaround, we believe the current app can still function normally as intended and that the issue is out of scope for this iteration.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Currently, appointments do not have a minimum length, allowing users to set appointments as close as 1 min after each other. This makes it prone to user error as users who mistyped will setup an appointment which is unfeasible
Recommendation: