Use Cases 5.4: Remove A Patient - CBTYoung/Documentation GitHub Wiki

Description

A Therapist can remove a Patient from his Patient pool. Afterwards, the Patient becomes a Guest.

Actors

Therapist, Guest, Patient.

Pre conditions

  1. The Therapist is logged in.
  2. The Therapist has a Patient.

Parameters

Patient identification details.

Post conditions

The Patient is not in the Therapist's Patient pool.

Sequence of events

  1. The Therapist enters the Patient identification details.
  2. Find the Patient.
  3. The Patient is removed from the pool.

Alternative flows

  1. No Patient with the given Pateint identifiers exists.
  1. Return an error message.