You are on page 1of 3

MODULE DESCRIPTION

Signup
Description: This process creates a new user for the app. The
user has to fill in all the required fields with the specified data
types and the form has to update the database for a new user to
be successfully created.
Input: Username, Password, Email Address, Doctor/Patient
Process:

Data validation
Required fields are filled
If user does not exist already, Insert into Database
Else return failed message

Output: User Registered, Failed

Login
Description: The login module checks if the username and
password are filled and then checks the database for credentials.
If successful, user is logged in as either doctor or patient.
Otherwise, access is denied.
Input: Id, Password
Process:

Required fields are filled


Username and Password searched in database
Login if successfully found
Else login failed

Output: Login successful, Login Failed

Display Patient Data


Description: The doctor has the option to update a patients
medication if the need ever arises. The update to patient
medication should take place immediately on both clients and a
notification should be sent to the patient.
Input: Patient Name
Process:

Database read for Patient data


Display data for Patient graphically

Output: Successful (data is displayed), Failed

Set Patient Medication


Description: Display Patient pain levels in bar graph. Also give
option to check Patient form for past two weeks.
Input: Patient Name, Medication Name, Medication timing
Process:

Database read for Patient data


Database update for Patient data
Display new Medication at both ends

Send notification to patient Output: Successfully


updated(Patient is sent notification), Failed

Fill Form
Description This process sends patient symptom data to
database. The user has to fill in all the required fields with the
specified data types and the form has to update the database for
a new entry to be successfully created. Also, the doctor should be
notified immediately if pain barrier exceeds set threshold
Input: list of symptoms, pain level, effect of changed medication
(if any)
Process:

Data validation
Required fields are filled
Database Update

Output: Form successfully filled, Unsuccessful

You might also like