Use Cases 1.2: Connect Guest to Therapist - CBTYoung/Documentation GitHub Wiki

Description

A guest can log in by providing the identifying information given by his therapist. After successful login process, the user is identified as a patient in the system.

Actors

guest user.

Pre conditions

  1. The user is not logged in yet.
  2. The user is from a guest user.

Parameters

Identifying information given by his therapist.

Post conditions

the user is his therapist patient.

Sequence of events

  1. The user enters the required information.
  2. find the user's information in database.
  3. The user assigned to the therapist's patient.

Alternative flows

  1. No user with the given user identifier exists.
  1. The user try to log in with a non existing user identifier or incorrect password.
  2. The system returns a matching error message to the user.