S-SCH-10 · W02 Scheduling · fit: unknown

Keep the clinic's wait list

As a scheduler, I want a list per clinic of patients who need an appointment that no slot suits yet, with why, how urgent and when to call them back, and to book them from it, so that no patient is dropped between asking and being seen.

Personascheduler
JourneyAn appointment is booked and the patient checks in
StepPuts the patient on the clinic's wait list Task_09_PutsThePatientOnTheWaitList

Scenarios

S-SCH-10.1Given a patient who needs an appointment and a clinic with a wait list, When I add them with the date added, a reason, a priority, a provider, a recall date and comments, Then WAITING LIST (#9009017.1) for that clinic holds the patient (#9009017.11) with those values and me as the user who added them, and the reason is one typed for adding in WAITING LIST REASON (#9009017.4).
S-SCH-10.2Given no patient, clinic, date added, reason or recall date, When I save, Then it is refused and nothing is filed.
S-SCH-10.3Given a clinic whose wait list is marked inactive in WAITING LIST (#9009017.1), When I add a patient, Then that clinic cannot be chosen.
S-SCH-10.4Given an open entry, When I change its reason, priority, provider, recall date or comments, Then the entry holds the new values and is still open.
S-SCH-10.5Given an open entry, When I remove it with the date removed and a resolution typed for removal in WAITING LIST REASON (#9009017.4), Then the entry holds that date, resolution and me as the user who removed it, and it is closed.
S-SCH-10.6Given a removal without a date removed or a resolution, When I save, Then it is refused and the entry stays open.
S-SCH-10.7Given an open entry, When I book the patient from the wait list into a slot of that clinic, Then the appointment is filed as in S-SCH-01.1 and the entry is closed today with the resolution that an appointment was made and a comment naming the clinic and time.
S-SCH-10.8Given a closed entry, When I open the wait list, Then I can read and edit it but neither remove it nor book from it again.
S-SCH-10.9Given entries across my clinics, open and closed, When I list one clinic's wait list for a recall-date range, open only, Then exactly the open entries of that clinic with a recall date in the range are listed, in recall-date then priority order.