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
- The user is not logged in yet.
- 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
- The user enters the required information.
- find the user's information in database.
- The user assigned to the therapist's patient.
Alternative flows
- No user with the given user identifier exists.
- The user try to log in with a non existing user identifier or incorrect password.
- The system returns a matching error message to the user.