As a patient
I want to be able to create an account
so that I can use the service with a secure access
Context
The patient has to create an account to use the app. In contrast to the doctor, the patient is supposed to create the account directly on the device where the app is installed. Secure registration and login have to be enabled.
In scope
Being able to register with email, password, first and last name, birthday
Validation of birthday as a date
Calculate age and check for majority, refuse registration if calculated age is below 18 years
Out of scope
Any other validation on the fields (except for empty)
Tech Notes
Acceptance criteria
AC1
GIVEN a patient is not registered yet
WHEN they click on register, enter their email, password, first name, last name and birthday and click the register button
THEN they will be registered and can login and a confirmation screen appears
AC2
GIVEN a patient is already registered with given email
WHEN they enter their email, password and further data and click the register button
THEN they will be forwarded to the confirmation screen without anything happening in the backend (security reasons), it will look like they just registered, but they will not have actually registered a new user (see attached sketches)
AC3
GIVEN a patient is not registered
WHEN they click on register, enter nothing in email, password, first name, last name and birthday and click the register button
THEN they will get an error message telling them they must enter data in alle the fields
AC4
GIVEN a patient is not registered
WHEN they fill out all the fields and are able to register and click on the register button
THEN all the filled out data will be sent to the backend via HTTPS
As a patient I want to be able to create an account so that I can use the service with a secure access
Context
The patient has to create an account to use the app. In contrast to the doctor, the patient is supposed to create the account directly on the device where the app is installed. Secure registration and login have to be enabled.
In scope
Out of scope
Tech Notes
Acceptance criteria
AC1
GIVEN a patient is not registered yet WHEN they click on register, enter their email, password, first name, last name and birthday and click the register button THEN they will be registered and can login and a confirmation screen appears
AC2
GIVEN a patient is already registered with given email WHEN they enter their email, password and further data and click the register button THEN they will be forwarded to the confirmation screen without anything happening in the backend (security reasons), it will look like they just registered, but they will not have actually registered a new user (see attached sketches)
AC3
GIVEN a patient is not registered WHEN they click on register, enter nothing in email, password, first name, last name and birthday and click the register button THEN they will get an error message telling them they must enter data in alle the fields
AC4
GIVEN a patient is not registered WHEN they fill out all the fields and are able to register and click on the register button THEN all the filled out data will be sent to the backend via HTTPS