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

Check the patient out

As a front desk clerk, I want to record when the patient left, and put them on the wait list for a follow-up if there is no slot, so that the clinic's day is accounted for and the follow-up is not lost.

Personafront_desk_clerk
JourneyThe patient leaves with a visit summary
StepChecks the patient out Task_09_ChecksThePatientOut

Scenarios

S-SCH-07.1Given a checked-in appointment, When I check the patient out with the time, Then HOSPITAL LOCATION (#44.003) holds the check-out time, me as the user who checked out and when it was entered.
S-SCH-07.2Given an appointment that is not checked in, When I check it out, Then it is refused.
S-SCH-07.3Given a check-out date before the appointment's date or in the future, or a check-out time earlier than the check-in time on the same day, When I save, Then it is refused and nothing is filed.
S-SCH-07.4Given a check-out time more than five minutes ahead of the server's clock, When I save, Then it is refused; a time a few minutes ahead is filed as the server's current time.
S-SCH-07.5Given a patient who needs a follow-up and no slot to give them, When I check them out and add them to the clinic's wait list with a reason, priority and recall date, Then WAITING LIST (#9009017.1) for the clinic holds the patient (#9009017.11) with those values, today as the date added, me as the user who added them and the clinic's default provider.
S-SCH-07.6Given a checked-out appointment, When I undo the check-out, Then HOSPITAL LOCATION (#44.003) no longer holds a check-out time or user and the appointment is checked in again.