Uploaded image for project: 'Appointment Module'
  1. Appointment Module
  2. AM-149

When creating a new Appointment, have better validation to make sure that a Time Slot is overbooked

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      We want to add some validation at the API level to make sure that when creating a new Appointment, that Appointment does not result in the Time Slot being overbooked. Right now I don't believe there is any validation to prevent this. Overbooking is only prevented by not listing full time slots as booking options.

      This could easily lead to problems in the new RESTful UI, because if multiple schedulers are scheduling appointments, a Time Slot could become full in-between the time the scheduler requested available slots and the time they actually booked appointments.

      However, there must be a way to override this validation in the cases when a user who is allowed to overbook time slots is using the system.
      The Appointment Resource should be updated to properly use this new API.

      Updating the old UI to take advantage of this new API is not in the scope of this story.

        Attachments

          Activity

            People

            • Assignee:
              mogoodrich Mark Goodrich
              Reporter:
              mogoodrich Mark Goodrich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: