0% found this document useful (0 votes)
2 views80 pages

Saloon

The document outlines various screens within an application, detailing their functionalities, user interactions, database connections, and error handling. Each screen includes sections for screenshots, descriptions, actions, and CRUD operations related to specific collections. The document serves as a comprehensive guide for developers and stakeholders involved in the application development process.

Uploaded by

worldshein
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views80 pages

Saloon

The document outlines various screens within an application, detailing their functionalities, user interactions, database connections, and error handling. Each screen includes sections for screenshots, descriptions, actions, and CRUD operations related to specific collections. The document serves as a comprehensive guide for developers and stakeholders involved in the application development process.

Uploaded by

worldshein
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Contents

1. Screen Name: Home Screen​ 2


1.1. Screen Shot​ 3
1.2. Description: ​ 4
1.3. Screen outputs:​ 4
1.4. Screen Action:​ 4
1.4.1 On Select​ 4
1.4.2 OnClick​ 4
Continue ​ 4
1.5. Users: Customer​ 5
1.6. Export or Print Details: No​ 5
1.7. Database Details:​ 5
1.7.1. Collection Name: appointment​ 5
1.1.1. Collections where you are fetching document: ​ 6
1.1.1. Collections where you are updating document:​ 6
1.8. Error messages:​ 6
1.9. User Messages:​ 6
1.10. Logs recording and storage:​ 6
1.11. Third Party API used: ​ 7
1.12. File & Document Upload??​ 7
2.Screen Name: stylist selection screen​ 7
1.1. Screen Shot​ 7
1.1. Description: ​ 9
1.1. Screen outputs:​ 10
1.1. Screen Action:​ 10
1.1.1. OnLoad​ 10
1.1.2. OnCkick​ 10
1.1.3. OnTap​ 10
1.1.1. Collection Name: appointment​ 11
● CRUD​ 11
o Collections where you are fetching document: ​ 11
1.1.1. Collections where you are inserting document: ​ 12
1.1.2. Collections where you are updating document:​ 12
1.1.4. OnLostFocus:​ 12
1.1.5. OnKeyPress:​ 12
1.1. Users: ​ 12
1.2. Export or Print Details:​ 12
1.3. Error messages:​ 12
1.4. Logs recording and storage:​ 13
1.5. Third Party API used: ​ 13
1.6. File & Document Upload??​ 13
1. Screen Name: Cart screen​ 13
1.1. Screen Shot​ 13
1.2. Description: ​ 15
1.3. Screen Inputs: ​ 15
1.4. Screen outputs:​ 15
1.5. Validations: ​ 15
1.5.1. Field Level Validation​ 15
1.5.2. Form level Validation​ 15
1.6. Screen Action:​ 16
1.6.1. OnClick​ 16
1.7. Users: ​ 16
1.8. Export or Print Details:​ 16
2. Database Details:​ 16
2.1. Collection Name: customer​ 16
2.2. CRUD​ 18
2.2.1. Collections where you are fetching document: ​ 18
2.2.2. Collections where you are inserting document: ​ 18
2.2.3. Collections where you are updating document:​ 18
2.3. Error messages:​ 18
2.4. User Messages:​ 18
2.5. Logs recording and storage:​ 18
2.6. Third Party API used: ​ 19
2.7. File & Document Upload??​ 19
1. Screen Name: Phone Authentication​ 19
1.1. Screen Shot​ 19
1.1. Description: ​ 20
1.1. Screen Inputs​ 20
1.1. Screen outputs:​ 21
1.1. Validations: ​ 21
1.1.1. Field Level Validation​ 21
1.1.2. Form level Validation​ 22
1.1. Screen Action:​ 22
1.1.1. OnLoad​ 22
1.1.2. OnClick​ 22
1.1.3. OnLostFocus:​ 23
1.1.4. OnKeyPress:​ 23
1.1. user: ​ 23
1.1. Export or Print Details:​ 23
1.1. Database Details:​ 23
1.1.1. Collection Name: customer​ 23
1.1. CRUD​ 24
1.1.1. Collections where you are fetching document: ​ 24
1.1.2. Collections where you are inserting document: ​ 24
1.1.3. Collections where you are updating document:​ 24
1.2. Error messages:​ 24
1.3. Salon owner messages:​ 25
1.4. Logs recording and storage:​ 25
1.5. Third Party API used: ​ 25
1.6. File & Document Upload??​ 25
1. Screen Name: Registration page​ 26
1.1. Screen Shot​ 26
1.1. Description: ​ 27
1.1. Screen Inputs​ 27
1.1. Screen outputs:​ 27
1.1. Validations: ​ 27
1.1.1. Field Level Validation​ 27
1.1.2. Form level Validation​ 28
1.1. Screen Action:​ 28
1.1.1. OnLoad​ 28
1.1.2. OnClick​ 28
1.1.3. OnLostFocus:​ 28
1.1.4. OnKeyPress:​ 28
1.1. user: ​ 29
1.1. Export or Print Details:​ 29
1.1. Database Details:​ 29
1.1.1. Collection Name: Salon owner​ 29
1.1. CRUD​ 30
1.1.1. Collections where you are fetching document: ​ 30
1.1.2. Collections where you are inserting document: ​ 30
1.1.3. Collections where you are updating document:​ 30
1.2. Error messages:​ 30
1.3. Salon owner messages:​ 30
1.4. Logs recording and storage:​ 31
1.5. Third Party API used: ​ 31
1.6. File & Document Upload??​ 31
1. Screen Name: New Appointment screen​ 31
1.1. Screen Shot​ 31
1.2. Description: ​ 32
1.3. Screen outputs:​ 32
1.4. Screen Action:​ 33
1.4.1. OnLoad​ 33
1.4.2. OnClick​ 33
1.4.3. OnLostFocus:​ 33
1.4.4. OnKeyPress:​ 33
1.5. Users: ​ 33
1.6. Export or Print Details:​ 33
1.7. Database Details:​ 34
1.7.1. Collection Name: Clinics​ 34
1.7.2. Collection Name: branches​ 35
1.7.3. Collection Name: staffs​ 36
1.7.4. Collection Name: Patients​ 37
1.7.5. Collection Name: Appointments​ 38
1.8. CRUD​ 38
1.8.1. Collections where you are fetching document: ​ 38
1.8.2. Collections where you are inserting document: ​ 39
1.8.3. Collections where you are updating document:​ 39
1.9. Error messages:​ 39
1.10. User Messages:​ 39
1.11. Logs recording and storage:​ 39
1.12. Third Party API used: ​ 40
1.13. File & Document Upload??​ 40
1. Screen Name: New Appointment screen​ 40
1.1. Screen Shot​ 40
1.2. Description: ​ 41
1.3. Screen outputs:​ 41
1.4. Screen Action:​ 42
1.4.1. OnClick​ 42
1.4.2. OnLostFocus:​ 42
1.4.3. OnKeyPress:​ 42
1.5. Users: ​ 42
1.6. Export or Print Details:​ 42
1.7. Database Details:​ 42
1.7.1. Collection Name: Clinics​ 42
1.7.2. Collection Name: branches​ 44
1.7.3. Collection Name: staffs​ 45
1.7.4. Collection Name: Patients​ 46
1.7.5. Collection Name: Appointments​ 47
1.8. CRUD​ 47
1.8.1. Collections where you are fetching document: ​ 47
1.8.2. Collections where you are inserting document: ​ 48
1.8.3. Collections where you are updating document:​ 48
1.9. Error messages:​ 48
1.10. User Messages:​ 48
1.11. Logs recording and storage:​ 48
1.12. Third Party API used: ​ 48
1.13. File & Document Upload??​ 48
1. Screen Name: New Appointment screen​ 49
1.1. Screen Shot​ 49
1.2. Description: ​ 50
1.3. Screen outputs:​ 50
1.4. Screen Action:​ 50
1.4.1. OnSelect​ 50
1.4.2. OnClick​ 50
1.4.3. OnLostFocus:​ 51
1.4.4. OnKeyPress:​ 51
1.5. Users: ​ 51
1.6. Export or Print Details:​ 51
1.7. Database Details:​ 51
1.7.1. Collection Name: Clinics​ 51
1.7.2. Collection Name: branches​ 52
1.7.3. Collection Name: staffs​ 53
1.7.4. Collection Name: Patients​ 55
1.7.5. Collection Name: Appointments​ 55
1.8. CRUD​ 56
1.8.1. Collections where you are fetching document: ​ 56
1.8.2. Collections where you are inserting document: ​ 56
1.8.3. Collections where you are updating document:​ 57
1.9. Error messages:​ 57
1.10. User Messages:​ 57
1.11. Logs recording and storage:​ 57
1.12. Third Party API used: ​ 57
1.13. File & Document Upload??​ 57
1. Screen Name: New Appointment screen​ 57
1.1. Screen Shot​ 57
1.2. Description: ​ 58
1.3. Screen Inputs: ​ 58
1.4. Screen outputs:​ 59
1.5. Validations: ​ 59
1.5.1. Field Level Validation​ 59
1.5.2. Form level Validation​ 60
1.6. Screen Action:​ 60
1.6.1. OnClick​ 60
1.6.2. OnLostFocus:​ 60
1.6.3. OnKeyPress:​ 60
1.7. Users: ​ 60
1.8. Export or Print Details:​ 61
1.9. Database Details:​ 61
1.9.1. Collection Name: Clinics​ 61
1.9.2. Collection Name: branches​ 62
1.9.3. Collection Name: staffs​ 63
1.9.4. Collection Name: Patients​ 64
1.9.5. Collection Name: Appointments​ 65
1.10. CRUD​ 66
1.10.1. Collections where you are fetching document: ​ 66
1.10.2. Collections where you are inserting document: ​ 66
1.10.3. Collections where you are updating document:​ 66
1.11. Error messages:​ 66
1.12. User Messages:​ 66
1.13. Logs recording and storage:​ 67
1.14. Third Party API used: ​ 67
1.15. File & Document Upload??​ 67
1. Screen Name: New Appointment screen​ 67
1.1. Screen Shot​ 67
1.2. Description: ​ 68
1.3. Screen Inputs: ​ 68
1.4. Screen outputs:​ 68
1.5. Screen Action:​ 68
1.5.1. OnClick​ 68
1.5.2. OnLostFocus:​ 69
1.5.3. OnKeyPress:​ 69
1.6. Users: ​ 69
1.7. Export or Print Details:​ 69
1.8. Database Details:​ 69
1.8.1. Collection Name: Clinics​ 69
1.8.2. Collection Name: branches​ 70
1.8.3. Collection Name: staffs​ 71
1.8.4. Collection Name: Patients​ 73
1.8.5. Collection Name: Appointments​ 73
1.9. CRUD​ 74
1.9.1. Collections where you are fetching document: ​ 74
1.9.2. Collections where you are inserting document: ​ 74
1.9.3. Collections where you are updating document:​ 75
1.10. Error messages:​ 75
1.11. User Messages:​ 75
1.12. Logs recording and storage:​ 75
1.13. Third Party API used: ​ 75
1.14. File & Document Upload??​ 75
1.​Screen Name: Home Screen
1.1.​ Screen Shot


1.2.​ Description:
Here the customer will select the main category(Men,Women,Child) and
sub category(Body care, Hair care).

1.3.​ Screen outputs:


●​ After selecting main and sub category


o​ Once a customer selects the main category, a dropdown will appear
showing the subcategories. The customer should then select a subcategory
and click the 'Continue' button to land on the list of stylists screen.

●​ After clicking on Continue button:


●​ After clicking on the continue button successfully the selected main and
sub category stores on Database.

1.4.​ Screen Action:


1.4.1 On Select
●​ By selecting the main category he can move to sub category selection.

1.4.2 OnClick
Continue
●​ The customer should click on the Continue button After selecting main and
sub category to store the main and sub categories on cloud firestore.
Dropdown

●​ For main and sub category selection, customers should click on the
dropdown button.

1.5.​ Users: Customer

1.6.​ Export or Print Details: No


1.7.​ Database Details:


1.7.1.​ Collection Name: appointment

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
Customer_id(Docume String yes customer Id
ntId) is auto
generated
Main category String 6 1 6 yes Male
Sub category String 30 1 30 yes Hair care,
Body care
Created_by String yes id of a person
that who
created
Created_at timestamp yes Auto-generat
ed
timestamp
by Firestore
Modified_by String id of a
person that
who
modified
Modified_at timestamp Auto-generat
ed
timestamp
by Firestore
status String 2 2 2 AA(Active)
IA(Inactive)



CRUD

1.1.1.​ Collections where you are fetching document:


●​ No

Collections where you are inserting document:

●​ After clicking on continue, customer id,main category, subcategory will


store in Appointment’ collection

1.1.1.​ Collections where you are updating document:


No

1.8.​ Error messages:

E001 Mobile not connected to internet


E002 You should select at least one sub category

1.9.​ User Messages:

MSG01 you have successfully selected the main This message comes when they
and sub category. clicks on the continue button

1.10.​Logs recording and storage:


No

1.11.​Third Party API used:


SMS Mantra

1.12.​File & Document Upload??
Size, type, number of files

2.Screen Name: stylist selection screen


1.1.​ Screen Shot


1.1.​ Description:
Here customers can see stylists' lists based on customer ratings.

1.1.​ Screen outputs:


●​ it shows list of stylists
●​ After clicking on view more:
o​ After clicking on view more customer can able to know more about stylist.
●​ After clicking on certifications:
●​ Customers can see the certifications of stylist.
●​ After clicking on professional gallery:
●​ Customers can see the work photos of the stylist.

1.1.​ Screen Action:


1.1.1.​ OnLoad

●​ You get the customer id and stylist id Id from previous screen as parameter
●​ Fetch the list of stylists,certifications,professional gallery, city, area from
branches collection where status is AA for the branch id received from
previous screen

1.1.2.​ OnCkick

View more
●​ when the customer clicks on view more he ca able to see more details of
stylist.

1.1.3.​ OnTap
Certifications
●​ when the customer taps on certifications he ca able to see more details of
stylist,
Professional gallery
●​ when the customer taps on professional gallery he ca able to see more
details of stylist,

Database Details:

1.1.1.​ Collection Name: appointment

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
Customer_id(Docume String yes customer Id
ntId) is auto
generated
Stylist_id String 100 1 100 yes id taken from
stylist
selection
CityId String yes Id from city
master
collection
areaId String yes Id from area
master
collection
StateId String 16 3 16 yes Id from state
master
collection
Created_by String yes Store id of a
person that
who created
Created_at timestamp yes Auto-generat
ed
timestamp
by Firestore
Modified_by String Store id of a
person that
who
modified
Modified_at timestamp Auto-generat
ed
timestamp
by Firestore
status Number 2 2 2 AA(Active)
IA(Inactive)

●​ CRUD

o​ Collections where you are fetching document:


●​ Fetch stylist_id from stylist collection / previous screen as a parameter.
.
●​ Fetch stylist_id from stylist collection to display name , specialization ,
experience,stylist photo,certifications, professional gallery.

1.1.1.​ Collections where you are inserting document:


●​ No

1.1.2.​ Collections where you are updating document:


●​ Appointment Collection

1.1.4.​ OnLostFocus:
No

1.1.5.​ OnKeyPress:
No

1.1.​ Users:
Customer

1.2.​ Export or Print Details:


No

1.3.​ Error messages:

E001 Mobile not connected to internet



1.4.​ Logs recording and storage:
No

1.5.​ Third Party API used:


SMS Mantra

1.6.​ File & Document Upload??


Size, type, number of files

1.​Screen Name: Cart screen


1.1.​ Screen Shot



1.2.​ Description:
Here customer booking and confirming the appointment .
1.3.​ Screen Inputs:

●​ Enter Date and Time for appointment,


customer will enter the Date and Time


1.4.​ Screen outputs:


●​ After entering Time and Date


o​ the screen displays the customer selected services, price duration of the
preferred stylist
o​ customer has the option to customize his appointment date and time by a
text field which is given in the screen
o​ else he can call or chat with the preferred stylist to confirm his
appointment by desired time and date
o​
1.5.​ Validations:

1.5.1.​ Field Level Validation

Field Name Field Type Required Notes


Date and TextFeild (required) Y Date and Time should be in valid
Time format

1.5.2.​ Form level Validation​


Action Validation check Notes


message
please enter the this message comes when the customer
on click on confirm Date and Time to click on confirm without entering the
confirm Date and Time

this message will come when the


on click on confirm please enter the customer click on confirm, if the
valid Date and Time customer entered the invalid mobile
number

1.6.​ Screen Action:


1.6.1.​ OnClick

confirm
●​ when user enter the Date and Time and click on confirm it send request to
stylist if customer agree with that request he will accept
●​ If a stylist is not ok with entered Date and Time He will contact the
customer through call or chat.

1.7.​ Users:
Customer

1.8.​ Export or Print Details:


No

2.​Database Details:

2.1.​ Collection Name: customer

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
Customer_id(Docume String yes id from the
ntId) customer
collection
Stylist_id String 100 1 100 yes id from the
Stylish
collection
Appointment_Id String Automaticall
y generated
form the
firebase
Date and Time String 25 10 25 yes Date and
Time
CityId String yes Id from city
master
collection
areaId String yes Id from area
master
collection
StateId String 16 3 16 yes Id from state
master
collection
Created_by String yes Store id of a
person that
who created
Created_at timestamp yes Auto-generat
ed
timestamp
by Firestore
Modified_by String Store id of a
person that
who
modified
Modified_at timestamp Auto-generat
ed
timestamp
by Firestore
status String 2 2 2 AA(Active)
IA(Inactive)




2.2.​ CRUD

2.2.1.​ Collections where you are fetching document:


●​ Fetch Stylish_idfrom Stylish collection / previous screen as a parameter.


●​ .Fetch Appointment_idfrom Appointment collection / previous screen as a
parameter.
●​ Customer id is fetched from Customer collection.

2.2.2.​ Collections where you are inserting document:


●​ No

2.2.3.​ Collections where you are updating document:


No

2.3.​ Error messages:

E001 Mobile not connected to internet


2.4.​ User Messages:

MSG03 You have successfully sent a request to This message comes once they
Stylist. clicks on continue button.

2.5.​ Logs recording and storage:


No

2.6.​ Third Party API used:


SMS Mantra

2.7.​ File & Document Upload??


Size, type, number of files

1.​Screen Name: Phone Authentication


1.1.​ Screen Shot


1.1.​ Description:
Here customer will be enter a valid phone number
1.1.​ Screen Inputs
●​ Mobile number
customer will enter the mobile number​

●​ Enter OTP
customer will enter the valid otp


1.1.​ Screen outputs:


●​ After entering mobile number
o​ Once a customer enter the valid mobile number then he will click on the
send otp button then only he will get a otp number after he have to enter
a valid otp number then he will click on to verify button
●​ After clicking verify button
customer will move on to the registration page

1.1.​ Validations:

1.1.1.​ Field Level Validation

Field Field Type Required Notes


Name
Mobile TextFeild Y Mobile number should start with +91
Number (required) country code followed with starting number
9,8,7,6 and it should contain only 10 digits
Enter OTP TextFeild(required) Y customer will have to enter valid otp
number

1.1.2.​ Form level Validation​


Action Validation check Notes


message
On click on please enter the mobile this message comes when the user click on
send OTP number to continue send otp button without entering the mobile
button number

on click on please enter the otp this message comes when he click on the
verify otp please enter the valid verify button then he will get this messages
button otp number

1.1.​ Screen Action:


1.1.1.​ OnLoad
No​

1.1.2.​ OnClick ???

●​ when a customer enters the mobile number and clicks on send otp . otp is
sent to the given mobile number
●​ when a customer enters the valid otp on clicks on the verify button the
customer will successfully login.



1.1.3.​ OnLostFocus:
No

1.1.4.​ OnKeyPress:
No

1.1.​ user:
customer

1.1.​ Export or Print Details:


No

1.1.​ Database Details:


1.1.1.​ Collection Name: customer

Field Name Type Lengt Min Max Required Notes


h value value
Customer_i String yes customer Id is
d(Documen auto generated
tId)
Mobile number 10 10 10 yes 8767865456
CityId String yes Id from city master
collection
areaId String yes Id from area
master collection
StateId String 16 3 16 yes Id from state
master collection
OTP Numbe 6 6 6 yes 345678
r
Resend_cou Numbe 1 0 4
nt r
Created_by String yes id of a person that
who created
Created_at timesta yes Auto-generated
mp timestamp by
Firestore
Modified_b String id of a person that
y who modified
Modified_a timesta Auto-generated
t mp timestamp by
Firestore
status Numbe 2 2 2 OS(OTP Sent) true
r OV(OTP Verified)
true
AA(Active)
IA(Inactive)

1.1.​ CRUD

1.1.1.​ Collections where you are fetching document:


●​ No

1.1.2.​ Collections where you are inserting document:


●​ mobile number, , created at, created by , status will store in customer’ collection

1.1.3.​ Collections where you are updating document:


No

1.2.​ Error messages:

E001 Mobile not connected to internet


E002 Mobile number you entered is invalid
E004 Otp you entered is invalid

1.3.​ Salon owner messages:

MSG01 You have completed phone This message comes when they click
authentication succesfully verify otp button then it will come

1.4.​ Logs recording and storage:


No

1.5.​ Third Party API used:


N0

1.6.​ File & Document Upload??


Size, type, number of files
1.​Screen Name: Registration page

1.1.​ Screen Shot




1.1.​ Description:
Here customer will fill , Name, Age,Gender.
1.1.​ Screen Inputs
●​ Name
customer will enter name
●​ Age
customer will enter age
●​ Gender
customer will select gender


1.1.​ Screen outputs:


●​ After entering name, age,gender
●​ After clicking continue button, customer details will stored in firebase database.

1.1.​ Validations:

1.1.1.​ Field Level Validation

Field Field Type Required Notes


Name
Name TextFeild Y A minimum of three letters and a maximum o
(required) twenty is needed for successful validation
Age TextFeild(required) Y Age should starts with min 1 to max 146
Gender TextFeild Y select any one from the dropdown
(required)

1.1.2.​ Form level Validation​


Action Validation check message Notes


On click on please fill name, age, gender this message comes when the user
continue click continue button without
button ​ entering the details

1.1.​ Screen Action:


1.1.1.​ OnLoad
No​

1.1.2.​ OnClick

customer will enter name, age, gender and clicks on continue button the data
will be stored in firestore database


1.1.3.​ OnLostFocus:
No

1.1.4.​ OnKeyPress:
No
1.1.​ user:
customer

1.1.​ Export or Print Details:


No

1.1.​ Database Details:


1.1.1.​ Collection Name: Salon owner

Field Type Length Min Max Required Notes


Name value value
Customer String yes clinic Id is auto
_id(Docu generated
mentId)
Name String 100 1 100 yes suryaa
Age number 146 1 146 yes 100
Gender String 6 1 6 yes Male
Mobile number 10 10 10 yes 8767865456
CityId String yes Id from city
master collection
areaId String yes Id from area
master collection
StateId String 16 3 16 yes Id from state
master collection
OTP Number 6 6 6 yes 345678
Resend_c Number 1 0 4
ount
Created_ String yes id of a person
by that who created
Created_ timesta yes Auto-generated
at mp timestamp by
Firestore
Modified String id of a person
_by that who
modified
Modified timesta Auto-generated
_at mp timestamp by
Firestore
status String 2 2 2 OS(OTP Sent) true
OV(OTP Verified)
true
AA(Active)
IA(Inactive)

1.1.​ CRUD

1.1.1.​ Collections where you are fetching document:


●​ NO

1.1.2.​ Collections where you are inserting document:


●​ Name , age, gender created at, created by , status will store in customer details ’
collection

1.1.3.​ Collections where you are updating document:


No

1.2.​ Error messages:

E001 Mobile not connected to internet


E002 Age you entered is invalid

1.3.​ Salon owner messages:


MSG01 You have successfully This message comes when they clicks on continue
registered in to the app button then it will come

1.4.​ Logs recording and storage:


No

1.5.​ Third Party API used:


N0

1.6.​ File & Document Upload??


NO

1.​Screen Name: New Appointment


screen
1.1.​ Screen Shot


1.2.​ Description:
Here the stylist sent a reschedule offer for the customer.

1.3.​ Screen outputs:


●​ After clicking on confirm


o​ if customer ok with stylist rescheduling offer he will click on confirm button
it shows message like your appointment is successfully if not ok with
rescheduling offer he can go to call or chat options

1.4.​ Screen Action:


1.4.1.​ OnLoad

●​ You get the branch Id and clinic Id from previous screen as parameter
●​ Fetch the branch Name, city, area from branches collection where status is AA for
the branch id received from previous screen
●​ when user enter the mobile number check if the mobile number exist in patients
collection, for the branch
●​ If a mobile number does not exist in the patient collection for the branch, it should
display options to enter the name, dob, gender, symptom, select doctor.

1.4.2.​ OnClick

confirm

●​ When the customer clicks on confirm, their appointment order is placed


successfully.​

1.4.3.​ OnLostFocus:
No

1.4.4.​ OnKeyPress:
No

1.5.​ Users:
Customer

1.6.​ Export or Print Details:


No

1.7.​ Database Details:


1.7.1.​ Collection Name: Clinics

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
Clinic_id(DocumentId String yes clinic Id is
) auto
generated
Clinic_name String 100 1 100 yes Acne Clinic
Mobile number 10 10 10 yes 8767865456
CityId String yes Id from city
master
collection
areaId String yes Id from area
master
collection
StateId String 16 3 16 yes Id from state
master
collection
OTP Number 6 6 6 yes 345678
Resend_count Number 1 0 4
Created_by String yes Store id of a
person that
who created
Created_at timestamp yes Auto-generat
ed
timestamp
by Firestore
Modified_by String Store id of a
person that
who
modified
Modified_at timestamp Auto-generat
ed
timestamp
by Firestore
status Number 2 2 2 OS(OTP Sent)
true
OV(OTP
Verified) true
SI(Subscription
In Progress)
SS (
Subscription
Selected)
PI(Payment In
Progress)
PF (Payment
Failed)
PA( Pending
Approval)
AA(Active)
OH(On Hold)
DE(Declined)
IA(Inactive)


1.7.2.​ Collection Name: branches

Field Name Type Lengt Min Max Require Notes


h value value d
branchId String yes Auto
generated
from firestore
Clinic_id String yes Id from clinics
collection
name String 100 2 100 yes Acne clinic
stateId String yes Id from state
master
collection
cityId String yes Id from city
master
collection
areaId String yes Id from areas
master
collection
Mobile Number number 10 10 10 yes 9876545678
Timings_from map yes 9:00 A.M
Timings_to map yes 10:00 P.M
Pan Number String 10 10 10 yes PAhgsf57832
Upload Pan String(url) yes
Document(pdf/jpeg)
About branch String 300 10 300
created_by String yes store id of the
person that
who created
created_at timestamp yes 08/04/2024
10:57 A.M
Modified_by String Store id of a
person that
who modified
Modified_at timestamp
Status String 2 2 2 yes AA
IA


1.7.3.​ Collection Name: staffs

Field Name Type Length Min Max Requir Notes


value value ed
StaffId String Auto Auto Auto yes Auto
generat generat generat generated
ed from ed from ed from from
firestore firestore firestore firestore
branchId String yes Id from
branch
collection
photo String(UR
L)
name String 100 2 100 yes Ruchitha
mobile_number number 10 10 10 yes 876545678
9
qualification String yes M.B.B.S
DesignationId Array id from
designatio
n master
specializationId Array id from
specialisati
on master
years_of_experie number yes 4
nce
OTP number yes 987654
resend number 1 0 4 MAX 4
OTP_count
created_by String yes Store id of
a person
that who
created
created_at timestam yes Auto-gener
p ated
timestamp
by
Firestore
Modified_by String Store id of
a person
that who
modified
Modified_at timestam Auto-gener
p ated
timestamp
by
Firestore
status String yes AA
IA
QR Status String yes AA
IA

1.7.4.​ Collection Name: Patients

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
patient_id : String Y ju6UmlhTwNAfPRvgy4L
(document A
Id)
clinic_id: String Y Id from clinics
(document collection
Id)
branch_id: String Y Id from branch
(document collection
Id)
name String 50 2 50 Y Rachana
dob timestam Y 12/04/1998
p
gender String 20 4 20 Y female
mobile_numbe Number 10 10 10 Y Store id of a
r person that who
created
Created_by String Y 08/04/2024 10:57 A.M
Created_at timestam Y Store id of a
p person that who
modified
modified_by string
modified_at timestam Active
p
status string 2 2 2 Y 8967543456

1.7.5.​ Collection Name: Appointments

Field Name Type Lengt Min Max Require Notes


h value value d
appointmentId String y auto geneated Id
patient_id String y Id from patient
table
Doctor_ID String y staff id of a doctor
from staff
collection
token_number number 4 1 1000 y
symptoms String 100 2 100
Appoint _date
created_by String id of the person
who created
created_at timestamp
status SC(Scheduled)
IN(In Progress)
CP(Completed)
CA(Cancelled)

1.8.​ CRUD

1.8.1.​ Collections where you are fetching document:


●​ Fetch clinicId from clinics collection / previous screen as a parameter.


●​ branch id from branch collection / previous screen as a parameter.
●​ once user enter the phone number, check if that mobile number is exist in
patient collection for the branch,
●​ if mobile number is not registered, user will enter the name, dob, gender,
symptoms, select doctor,
for name fetch sanitations like Mr., Miss., Mrs., Ms., Dr., from configure file.
●​ Fetch doctorId from staff collection to display name , specialization ,
experience where designation is doctor and status is active for the
branchId.

1.8.2.​ Collections where you are inserting document:


●​ After clicking on confirm, patient id, clinic id, branch id, doctor id, patient name,
mobile number, dob, gender, created at, created by , status will store in patients’
collection
●​ Appointment id, patient id, doctor id, symptoms, token number, appointment
date, status will store in appointments collection.

1.8.3.​ Collections where you are updating document:


No

1.9.​ Error messages:

E001 Mobile not connected to internet


1.10.​User Messages:

MSG03 You have successfully placed the order This message comes once they
regarding your appointment confirm successfully

1.11.​Logs recording and storage:


No

1.12.​Third Party API used:


SMS Mantra

1.13.​File & Document Upload??


Size, type, number of files

1.​Screen Name: New Appointment


screen
1.1.​ Screen Shot


1.2.​ Description:
Here customers send the request to the salons.

1.3.​ Screen outputs:


●​ After selecting the salon


o​ By selecting the salons customer can sent request to salon, and if the salon
accepts the customer's request, he lands on successful screen.


1.4.​ Screen Action:

1.4.1.​ OnClick

view more
●​ If a customer wants to know more about the salon he can click on the view
more button.

proceed to pay
●​ If the customer is satisfied with the accepted salon he will click on proceed
to pay button to make a payment.​

1.4.2.​ OnLostFocus:
No

1.4.3.​ OnKeyPress:
No

1.5.​ Users:
customer

1.6.​ Export or Print Details:


No

1.7.​ Database Details:


1.7.1.​ Collection Name: Clinics

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
Clinic_id(DocumentId String yes clinic Id is
) auto
generated
Clinic_name String 100 1 100 yes Acne Clinic
Mobile number 10 10 10 yes 8767865456
CityId String yes Id from city
master
collection
areaId String yes Id from area
master
collection
StateId String 16 3 16 yes Id from state
master
collection
OTP Number 6 6 6 yes 345678
Resend_count Number 1 0 4
Created_by String yes Store id of a
person that
who created
Created_at timestamp yes Auto-generat
ed
timestamp
by Firestore
Modified_by String Store id of a
person that
who
modified
Modified_at timestamp Auto-generat
ed
timestamp
by Firestore
status Number 2 2 2 OS(OTP Sent)
true
OV(OTP
Verified) true
SI(Subscription
In Progress)
SS (
Subscription
Selected)
PI(Payment In
Progress)
PF (Payment
Failed)
PA( Pending
Approval)
AA(Active)
OH(On Hold)
DE(Declined)
IA(Inactive)


1.7.2.​ Collection Name: branches

Field Name Type Lengt Min Max Require Notes


h value value d
branchId String yes Auto
generated
from firestore
Clinic_id String yes Id from clinics
collection
name String 100 2 100 yes Acne clinic
stateId String yes Id from state
master
collection
cityId String yes Id from city
master
collection
areaId String yes Id from areas
master
collection
Mobile Number number 10 10 10 yes 9876545678
Timings_from map yes 9:00 A.M
Timings_to map yes 10:00 P.M
Pan Number String 10 10 10 yes PAhgsf57832
Upload Pan String(url) yes
Document(pdf/jpeg)
About branch String 300 10 300
created_by String yes store id of the
person that
who created
created_at timestamp yes 08/04/2024
10:57 A.M
Modified_by String Store id of a
person that
who modified
Modified_at timestamp
Status String 2 2 2 yes AA
IA


1.7.3.​ Collection Name: staffs

Field Name Type Length Min Max Requir Notes


value value ed
StaffId String Auto Auto Auto yes Auto
generat generat generat generated
ed from ed from ed from from
firestore firestore firestore firestore
branchId String yes Id from
branch
collection
photo String(UR
L)
name String 100 2 100 yes Ruchitha
mobile_number number 10 10 10 yes 876545678
9
qualification String yes M.B.B.S
DesignationId Array id from
designatio
n master
specializationId Array id from
specialisati
on master
years_of_experie number yes 4
nce
OTP number yes 987654
resend number 1 0 4 MAX 4
OTP_count
created_by String yes Store id of
a person
that who
created
created_at timestam yes Auto-gener
p ated
timestamp
by
Firestore
Modified_by String Store id of
a person
that who
modified
Modified_at timestam Auto-gener
p ated
timestamp
by
Firestore
status String yes AA
IA
QR Status String yes AA
IA

1.7.4.​ Collection Name: Patients

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
patient_id : String Y ju6UmlhTwNAfPRvgy4L
(document A
Id)
clinic_id: String Y Id from clinics
(document collection
Id)
branch_id: String Y Id from branch
(document collection
Id)
name String 50 2 50 Y Rachana
dob timestam Y 12/04/1998
p
gender String 20 4 20 Y female
mobile_numbe Number 10 10 10 Y Store id of a
r person that who
created
Created_by String Y 08/04/2024 10:57 A.M
Created_at timestam Y Store id of a
p person that who
modified
modified_by string
modified_at timestam Active
p
status string 2 2 2 Y 8967543456

1.7.5.​ Collection Name: Appointments

Field Name Type Lengt Min Max Require Notes


h value value d
appointmentId String y auto geneated Id
patient_id String y Id from patient
table
Doctor_ID String y staff id of a doctor
from staff
collection
token_number number 4 1 1000 y
symptoms String 100 2 100
Appoint _date
created_by String id of the person
who created
created_at timestamp
status SC(Scheduled)
IN(In Progress)
CP(Completed)
CA(Cancelled)

1.8.​ CRUD

1.8.1.​ Collections where you are fetching document:


●​ Fetch clinicId from clinics collection / previous screen as a parameter.


●​ branch id from branch collection / previous screen as a parameter.
●​ once user enter the phone number, check if that mobile number is exist in
patient collection for the branch,
●​ if mobile number is not registered, user will enter the name, dob, gender,
symptoms, select doctor,
for name fetch sanitations like Mr., Miss., Mrs., Ms., Dr., from configure file.
●​ Fetch doctorId from staff collection to display name , specialization ,
experience where designation is doctor and status is active for the
branchId.

1.8.2.​ Collections where you are inserting document:


●​ After clicking on confirm, patient id, clinic id, branch id, doctor id, patient name,
mobile number, dob, gender, created at, created by , status will store in patients’
collection
●​ Appointment id, patient id, doctor id, symptoms, token number, appointment
date, status will store in appointments collection.

1.8.3.​ Collections where you are updating document:


No

1.9.​ Error messages:

E001 Mobile not connected to internet


E002 Trends salon is not accepted your request

1.10.​User Messages:

MSG01 Bounce Stylist League has accepted This message comes when salon
your request. accepts the request

1.11.​Logs recording and storage:


No

1.12.​Third Party API used:


SMS Mantra

1.13.​File & Document Upload??


Size, type, number of files
1.​Screen Name: New Appointment
screen
1.1.​ Screen Shot



1.2.​ Description:
Here the customer is selecting the payment method and paying the
amount for his appointment.

1.3.​ Screen outputs:


●​ After selecting Pay Now:


o​ By selecting pay now customer should pay entire amount of his
appointment
●​ After selecting Pay Advance:
o​ By selecting pay Advance customer should pay advance amount of his
appointment

●​ After clicking on agree button:


●​ customer can pay payment

1.4.​ Screen Action:


1.4.1.​ OnSelect

●​ When selecting the 'Pay Now' option, the customer must pay the entire amount
there only.

●​ When selecting the 'Pay Advance' option, the customer is required to pay only the
advance amount for their appointment.

1.4.2.​ OnClick

Agree

●​ When the customer clicks on agree they will be directed to the payment
screen corresponding to the payment method they selected.​
1.4.3.​ OnLostFocus:
No

1.4.4.​ OnKeyPress:
No

1.5.​ Users:
Customer

1.6.​ Export or Print Details:


No

1.7.​ Database Details:


1.7.1.​ Collection Name: Clinics

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
Clinic_id(DocumentId String yes clinic Id is
) auto
generated
Clinic_name String 100 1 100 yes Acne Clinic
Mobile number 10 10 10 yes 8767865456
CityId String yes Id from city
master
collection
areaId String yes Id from area
master
collection
StateId String 16 3 16 yes Id from state
master
collection
OTP Number 6 6 6 yes 345678
Resend_count Number 1 0 4
Created_by String yes Store id of a
person that
who created
Created_at timestamp yes Auto-generat
ed
timestamp
by Firestore
Modified_by String Store id of a
person that
who
modified
Modified_at timestamp Auto-generat
ed
timestamp
by Firestore
status Number 2 2 2 OS(OTP Sent)
true
OV(OTP
Verified) true
SI(Subscription
In Progress)
SS (
Subscription
Selected)
PI(Payment In
Progress)
PF (Payment
Failed)
PA( Pending
Approval)
AA(Active)
OH(On Hold)
DE(Declined)
IA(Inactive)


1.7.2.​ Collection Name: branches

Field Name Type Lengt Min Max Require Notes


h value value d
branchId String yes Auto
generated
from firestore
Clinic_id String yes Id from clinics
collection
name String 100 2 100 yes Acne clinic
stateId String yes Id from state
master
collection
cityId String yes Id from city
master
collection
areaId String yes Id from areas
master
collection
Mobile Number number 10 10 10 yes 9876545678
Timings_from map yes 9:00 A.M
Timings_to map yes 10:00 P.M
Pan Number String 10 10 10 yes PAhgsf57832
Upload Pan String(url) yes
Document(pdf/jpeg)
About branch String 300 10 300
created_by String yes store id of the
person that
who created
created_at timestamp yes 08/04/2024
10:57 A.M
Modified_by String Store id of a
person that
who modified
Modified_at timestamp
Status String 2 2 2 yes AA
IA


1.7.3.​ Collection Name: staffs

Field Name Type Length Min Max Requir Notes


value value ed
StaffId String Auto Auto Auto yes Auto
generat generat generat generated
ed from ed from ed from from
firestore firestore firestore firestore
branchId String yes Id from
branch
collection
photo String(UR
L)
name String 100 2 100 yes Ruchitha
mobile_number number 10 10 10 yes 876545678
9
qualification String yes M.B.B.S
DesignationId Array id from
designatio
n master
specializationId Array id from
specialisati
on master
years_of_experie number yes 4
nce
OTP number yes 987654
resend number 1 0 4 MAX 4
OTP_count
created_by String yes Store id of
a person
that who
created
created_at timestam yes Auto-gener
p ated
timestamp
by
Firestore
Modified_by String Store id of
a person
that who
modified
Modified_at timestam Auto-gener
p ated
timestamp
by
Firestore
status String yes AA
IA
QR Status String yes AA
IA

1.7.4.​ Collection Name: Patients

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
patient_id : String Y ju6UmlhTwNAfPRvgy4L
(document A
Id)
clinic_id: String Y Id from clinics
(document collection
Id)
branch_id: String Y Id from branch
(document collection
Id)
name String 50 2 50 Y Rachana
dob timestam Y 12/04/1998
p
gender String 20 4 20 Y female
mobile_numbe Number 10 10 10 Y Store id of a
r person that who
created
Created_by String Y 08/04/2024 10:57 A.M
Created_at timestam Y Store id of a
p person that who
modified
modified_by string
modified_at timestam Active
p
status string 2 2 2 Y 8967543456

1.7.5.​ Collection Name: Appointments

Field Name Type Lengt Min Max Require Notes


h value value d
appointmentId String y auto geneated Id
patient_id String y Id from patient
table
Doctor_ID String y staff id of a doctor
from staff
collection
token_number number 4 1 1000 y
symptoms String 100 2 100
Appoint _date
created_by String id of the person
who created
created_at timestamp
status SC(Scheduled)
IN(In Progress)
CP(Completed)
CA(Cancelled)

1.8.​ CRUD

1.8.1.​ Collections where you are fetching document:


●​ Fetch clinicId from clinics collection / previous screen as a parameter.


●​ branch id from branch collection / previous screen as a parameter.
●​ once user enter the phone number, check if that mobile number is exist in
patient collection for the branch,
●​ if mobile number is not registered, user will enter the name, dob, gender,
symptoms, select doctor,
for name fetch sanitations like Mr., Miss., Mrs., Ms., Dr., from configure file.
●​ Fetch doctorId from staff collection to display name , specialization ,
experience where designation is doctor and status is active for the
branchId.

1.8.2.​ Collections where you are inserting document:


●​ After clicking on confirm, patient id, clinic id, branch id, doctor id, patient name,
mobile number, dob, gender, created at, created by , status will store in patients’
collection
●​ Appointment id, patient id, doctor id, symptoms, token number, appointment
date, status will store in appointments collection.

1.8.3.​ Collections where you are updating document:
No

1.9.​ Error messages:

E001 Mobile not connected to internet


1.10.​User Messages:

MSG01 You should pay the remaining amount This message comes when they
after completion of the service select pay advance method

1.11.​Logs recording and storage:


No

1.12.​Third Party API used:


SMS Mantra

1.13.​File & Document Upload??


Size, type, number of files

1.​Screen Name: New Appointment


screen
1.1.​ Screen Shot


1.2.​ Description:
Here customers will be able to see and edit their details and also they can
see order details.
1.3.​ Screen Inputs:

●​ Name,
user will able to edit the name

●​ Age,
user will able to edit the age

●​ Gender ,
user will able to edit the gender

●​ Location,
user will able to edit the location


1.4.​ Screen outputs:


●​ After clicking on save changes:


o​ By clicking on the save changes button customers are able to save their
changes.

●​ After clicking on order details:


●​ customer can see order details

1.5.​ Validations:

1.5.1.​ Field Level Validation

Field Name Field Type Required Notes


Name TextFeild(required) Y Name should contain only
characters; it should be having 3 to
40 characters limit
Age TextFeild(required) Y Age should contain 1 to 3 characters

Gender RadioListTile(required) Y Gender should be selected in the


options provided
Location TextFeild(required) Y Location should contain 50 to 100
characters

1.5.2.​ Form level Validation​

Action Validation check Notes


message
on click on save please enter the this message comes when the user click
changes name on save changes without entering the
​ name

this message will come when the user
click on save changes , if the user as
please enter the entered the invalid name
valid name, it should
be in characters

1.6.​ Screen Action:



1.6.1.​ OnClick

order details
●​ By clicking on order details customers are able to see their upcoming orders
and recently completed orders.
save changes
o​ By clicking on save changes customers are able to save their changes.

1.6.2.​ OnLostFocus:
No

1.6.3.​ OnKeyPress:
No

1.7.​ Users:
customer
1.8.​ Export or Print Details:
No

1.9.​ Database Details:


1.9.1.​ Collection Name: Clinics

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
Clinic_id(DocumentId String yes clinic Id is
) auto
generated
Clinic_name String 100 1 100 yes Acne Clinic
Mobile number 10 10 10 yes 8767865456
CityId String yes Id from city
master
collection
areaId String yes Id from area
master
collection
StateId String 16 3 16 yes Id from state
master
collection
OTP Number 6 6 6 yes 345678
Resend_count Number 1 0 4
Created_by String yes Store id of a
person that
who created
Created_at timestamp yes Auto-generat
ed
timestamp
by Firestore
Modified_by String Store id of a
person that
who
modified
Modified_at timestamp Auto-generat
ed
timestamp
by Firestore
status Number 2 2 2 OS(OTP Sent)
true
OV(OTP
Verified) true
SI(Subscription
In Progress)
SS (
Subscription
Selected)
PI(Payment In
Progress)
PF (Payment
Failed)
PA( Pending
Approval)
AA(Active)
OH(On Hold)
DE(Declined)
IA(Inactive)


1.9.2.​ Collection Name: branches

Field Name Type Lengt Min Max Require Notes


h value value d
branchId String yes Auto
generated
from firestore
Clinic_id String yes Id from clinics
collection
name String 100 2 100 yes Acne clinic
stateId String yes Id from state
master
collection
cityId String yes Id from city
master
collection
areaId String yes Id from areas
master
collection
Mobile Number number 10 10 10 yes 9876545678
Timings_from map yes 9:00 A.M
Timings_to map yes 10:00 P.M
Pan Number String 10 10 10 yes PAhgsf57832
Upload Pan String(url) yes
Document(pdf/jpeg)
About branch String 300 10 300
created_by String yes store id of the
person that
who created
created_at timestamp yes 08/04/2024
10:57 A.M
Modified_by String Store id of a
person that
who modified
Modified_at timestamp
Status String 2 2 2 yes AA
IA


1.9.3.​ Collection Name: staffs

Field Name Type Length Min Max Requir Notes


value value ed
StaffId String Auto Auto Auto yes Auto
generat generat generat generated
ed from ed from ed from from
firestore firestore firestore firestore
branchId String yes Id from
branch
collection
photo String(UR
L)
name String 100 2 100 yes Ruchitha
mobile_number number 10 10 10 yes 876545678
9
qualification String yes M.B.B.S
DesignationId Array id from
designatio
n master
specializationId Array id from
specialisati
on master
years_of_experie number yes 4
nce
OTP number yes 987654
resend number 1 0 4 MAX 4
OTP_count
created_by String yes Store id of
a person
that who
created
created_at timestam yes Auto-gener
p ated
timestamp
by
Firestore
Modified_by String Store id of
a person
that who
modified
Modified_at timestam Auto-gener
p ated
timestamp
by
Firestore
status String yes AA
IA
QR Status String yes AA
IA

1.9.4.​ Collection Name: Patients

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
patient_id : String Y ju6UmlhTwNAfPRvgy4L
(document A
Id)
clinic_id: String Y Id from clinics
(document collection
Id)
branch_id: String Y Id from branch
(document collection
Id)
name String 50 2 50 Y Rachana
dob timestam Y 12/04/1998
p
gender String 20 4 20 Y female
mobile_numbe Number 10 10 10 Y Store id of a
r person that who
created
Created_by String Y 08/04/2024 10:57 A.M
Created_at timestam Y Store id of a
p person that who
modified
modified_by string
modified_at timestam Active
p
status string 2 2 2 Y 8967543456

1.9.5.​ Collection Name: Appointments

Field Name Type Lengt Min Max Require Notes


h value value d
appointmentId String y auto geneated Id
patient_id String y Id from patient
table
Doctor_ID String y staff id of a doctor
from staff
collection
token_number number 4 1 1000 y
symptoms String 100 2 100
Appoint _date
created_by String id of the person
who created
created_at timestamp
status SC(Scheduled)
IN(In Progress)
CP(Completed)
CA(Cancelled)


1.10.​CRUD

1.10.1.​ Collections where you are fetching document:


●​ Fetch clinicId from clinics collection / previous screen as a parameter.


●​ branch id from branch collection / previous screen as a parameter.
●​ once user enter the phone number, check if that mobile number is exist in
patient collection for the branch,
●​ if mobile number is not registered, user will enter the name, dob, gender,
symptoms, select doctor,
for name fetch sanitations like Mr., Miss., Mrs., Ms., Dr., from configure file.
●​ Fetch doctorId from staff collection to display name , specialization ,
experience where designation is doctor and status is active for the
branchId.

1.10.2.​ Collections where you are inserting document:


●​ After clicking on confirm, patient id, clinic id, branch id, doctor id, patient name,
mobile number, dob, gender, created at, created by , status will store in patients’
collection
●​ Appointment id, patient id, doctor id, symptoms, token number, appointment
date, status will store in appointments collection.

1.10.3.​ Collections where you are updating document:


No

1.11.​Error messages:

E001 Mobile not connected to internet


E002 Name you entered is invalid
E004 you should fill the field

1.12.​User Messages:
MSG03 You have successfully edited the profile This message comes when they
edited profile successfully

1.13.​Logs recording and storage:


No

1.14.​Third Party API used:


SMS Mantra

1.15.​File & Document Upload??


Size, type, number of files

1.​Screen Name: New Appointment


screen
1.1.​ Screen Shot


1.2.​ Description:
Here customers are able to provide the rating and for the stylist.
1.3.​ Screen Inputs:

●​ Rating,
user will enter the rating

●​ Review,
user will enter the review


1.4.​ Screen outputs:

●​ After submitting the rating and review:

●​ Customer provided rating and review reached to stylist.

1.5.​ Screen Action:


1.5.1.​ OnClick
submit
●​ When a customer clicks on submit, the selected rating and written review
should reach the stylist.

1.5.2.​ OnLostFocus:
No

1.5.3.​ OnKeyPress:
No

1.6.​ Users:
customer

1.7.​ Export or Print Details:


No

1.8.​ Database Details:


1.8.1.​ Collection Name: Clinics

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
Clinic_id(DocumentId String yes clinic Id is
) auto
generated
Clinic_name String 100 1 100 yes Acne Clinic
Mobile number 10 10 10 yes 8767865456
CityId String yes Id from city
master
collection
areaId String yes Id from area
master
collection
StateId String 16 3 16 yes Id from state
master
collection
OTP Number 6 6 6 yes 345678
Resend_count Number 1 0 4
Created_by String yes Store id of a
person that
who created
Created_at timestamp yes Auto-generat
ed
timestamp
by Firestore
Modified_by String Store id of a
person that
who
modified
Modified_at timestamp Auto-generat
ed
timestamp
by Firestore
status Number 2 2 2 OS(OTP Sent)
true
OV(OTP
Verified) true
SI(Subscription
In Progress)
SS (
Subscription
Selected)
PI(Payment In
Progress)
PF (Payment
Failed)
PA( Pending
Approval)
AA(Active)
OH(On Hold)
DE(Declined)
IA(Inactive)


1.8.2.​ Collection Name: branches


Field Name Type Lengt Min Max Require Notes
h value value d
branchId String yes Auto
generated
from firestore
Clinic_id String yes Id from clinics
collection
name String 100 2 100 yes Acne clinic
stateId String yes Id from state
master
collection
cityId String yes Id from city
master
collection
areaId String yes Id from areas
master
collection
Mobile Number number 10 10 10 yes 9876545678
Timings_from map yes 9:00 A.M
Timings_to map yes 10:00 P.M
Pan Number String 10 10 10 yes PAhgsf57832
Upload Pan String(url) yes
Document(pdf/jpeg)
About branch String 300 10 300
created_by String yes store id of the
person that
who created
created_at timestamp yes 08/04/2024
10:57 A.M
Modified_by String Store id of a
person that
who modified
Modified_at timestamp
Status String 2 2 2 yes AA
IA


1.8.3.​ Collection Name: staffs

Field Name Type Length Min Max Requir Notes


value value ed
StaffId String Auto Auto Auto yes Auto
generat generat generat generated
ed from ed from ed from from
firestore firestore firestore firestore
branchId String yes Id from
branch
collection
photo String(UR
L)
name String 100 2 100 yes Ruchitha
mobile_number number 10 10 10 yes 876545678
9
qualification String yes M.B.B.S
DesignationId Array id from
designatio
n master
specializationId Array id from
specialisati
on master
years_of_experie number yes 4
nce
OTP number yes 987654
resend number 1 0 4 MAX 4
OTP_count
created_by String yes Store id of
a person
that who
created
created_at timestam yes Auto-gener
p ated
timestamp
by
Firestore
Modified_by String Store id of
a person
that who
modified
Modified_at timestam Auto-gener
p ated
timestamp
by
Firestore
status String yes AA
IA
QR Status String yes AA
IA

1.8.4.​ Collection Name: Patients

Field Name Type Lengt Min Max Require Notes


h valu valu d
e e
patient_id : String Y ju6UmlhTwNAfPRvgy4L
(document A
Id)
clinic_id: String Y Id from clinics
(document collection
Id)
branch_id: String Y Id from branch
(document collection
Id)
name String 50 2 50 Y Rachana
dob timestam Y 12/04/1998
p
gender String 20 4 20 Y female
mobile_numbe Number 10 10 10 Y Store id of a
r person that who
created
Created_by String Y 08/04/2024 10:57 A.M
Created_at timestam Y Store id of a
p person that who
modified
modified_by string
modified_at timestam Active
p
status string 2 2 2 Y 8967543456

1.8.5.​ Collection Name: Appointments

Field Name Type Lengt Min Max Require Notes


h value value d
appointmentId String y auto geneated Id
patient_id String y Id from patient
table
Doctor_ID String y staff id of a doctor
from staff
collection
token_number number 4 1 1000 y
symptoms String 100 2 100
Appoint _date
created_by String id of the person
who created
created_at timestamp
status SC(Scheduled)
IN(In Progress)
CP(Completed)
CA(Cancelled)

1.9.​ CRUD

1.9.1.​ Collections where you are fetching document:


●​ Fetch clinicId from clinics collection / previous screen as a parameter.


●​ branch id from branch collection / previous screen as a parameter.
●​ once user enter the phone number, check if that mobile number is exist in
patient collection for the branch,
●​ if mobile number is not registered, user will enter the name, dob, gender,
symptoms, select doctor,
for name fetch sanitations like Mr., Miss., Mrs., Ms., Dr., from configure file.
●​ Fetch doctorId from staff collection to display name , specialization ,
experience where designation is doctor and status is active for the
branchId.

1.9.2.​ Collections where you are inserting document:


●​ After clicking on confirm, patient id, clinic id, branch id, doctor id, patient name,
mobile number, dob, gender, created at, created by , status will store in patients’
collection
●​ Appointment id, patient id, doctor id, symptoms, token number, appointment
date, status will store in appointments collection.

1.9.3.​ Collections where you are updating document:


No

1.10.​Error messages:

E001 Mobile not connected to internet


E002 you should select the rating and write review before submitting

1.11.​User Messages:

MSG03 you have provided rating and review This message comes when
successfully to stylist customer click on submit after
selecting rating and review.

1.12.​Logs recording and storage:


No

1.13.​Third Party API used:


SMS Mantra

1.14.​File & Document Upload??


Size, type, number of files

You might also like