S-SCH-02 · W02 Scheduling · fit: unknown
Cancel or reschedule
As a scheduler, I want to cancel or move an appointment with a reason, so that the slot is freed and the clinic knows why.
| Persona | scheduler |
|---|---|
| Journey | An appointment is booked and the patient checks in |
| Step | Cancels or reschedules the appointment, with a reason Task_12_CancelsOrReschedules |
Scenarios
| S-SCH-02.1 | Given a booked appointment, When I cancel it with a reason, Then the slot is open again and the appointment is marked cancelled by patient or clinic, with the reason. |
|---|---|
| S-SCH-02.2 | Given a booked appointment, When I cancel it without saying whether the patient or the clinic cancelled, or without a reason, Then it is refused and the appointment stays booked. |
| S-SCH-02.3 | Given cancellation remarks shorter than 3 or longer than 160 characters, When I save, Then it is refused. |
| S-SCH-02.4 | Given reasons in CANCELLATION REASONS (#409.2) typed for the clinic, for the patient or for both, When I cancel on the clinic's behalf, Then only a reason typed clinic or both can be filed, and likewise patient or both when the patient cancelled. |
| S-SCH-02.5 | Given an appointment the patient has already been checked in for, When I cancel it, Then it is refused; the check-in has to be undone first. |
| S-SCH-02.6 | Given an appointment already cancelled or marked no-show, When I cancel it, Then it is refused. |
| S-SCH-02.7 | Given a booked appointment, When I cancel it on the clinic's behalf with a reason and remarks, Then PATIENT (#2.98) holds the status cancelled by clinic, who cancelled it, when, the reason and the remarks, and the entry on the clinic in HOSPITAL LOCATION (#44.003) is gone so the slot counts as free. |
| S-SCH-02.8 | Given a booked appointment and an open slot in the same or another of my clinics, When I move it there with a cancellation type and reason, Then the original is cancelled in PATIENT (#2.98) with that type and reason and a remark that it was rescheduled to the new time, and a new appointment is filed at the new time in HOSPITAL LOCATION (#44.003) and PATIENT (#2.98) carrying the original's note. |
| S-SCH-02.9 | Given an appointment that is checked in, cancelled or a no-show, When I try to move it, Then it is refused. |
| S-SCH-02.10 | Given the new slot is full or blocked, When I move an appointment there, Then the overbook rules of S-SCH-01 apply, and when they refuse the original stays booked. |
| S-SCH-02.11 | Given an appointment cancelled by the patient or by the clinic, When I undo the cancellation with an appointment length, Then PATIENT (#2.98) no longer holds a cancellation status, reason or canceller, and the appointment is on the clinic again in HOSPITAL LOCATION (#44.003) with that length. |
| S-SCH-02.12 | Given a cancelled appointment whose slot has since been filled, When I undo the cancellation, Then it is refused. |
| S-SCH-02.13 | Given an appointment that is not cancelled, When I undo a cancellation, Then it is refused. |
| S-SCH-02.14 | Given an appointment that is on neither the clinic in HOSPITAL LOCATION (#44.003) nor the patient in PATIENT (#2.98), When I cancel it, Then it is refused and nothing is filed. |
| S-SCH-02.15 | Given another user holds the lock on the patient's appointments in PATIENT (#2.98), When I cancel one, Then it is refused, I am told another user is working with this patient, and the appointment stays booked. |