0% found this document useful (0 votes)
27 views

Lab Search

The document provides details about a project titled "LAB SEARCH". The project aims to develop a mobile application that allows users to search for nearby diagnostic clinics and laboratories. It will display test prices and services offered. Users can book appointments directly through the app. This will help users compare prices of different centers and select one suitable for their needs. Diagnostic centers can also add their details, pricing and services to the app. The app aims to save users' time and money by enabling price comparisons from home for lab tests and appointments.

Uploaded by

sudeshdr03
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Lab Search

The document provides details about a project titled "LAB SEARCH". The project aims to develop a mobile application that allows users to search for nearby diagnostic clinics and laboratories. It will display test prices and services offered. Users can book appointments directly through the app. This will help users compare prices of different centers and select one suitable for their needs. Diagnostic centers can also add their details, pricing and services to the app. The app aims to save users' time and money by enabling price comparisons from home for lab tests and appointments.

Uploaded by

sudeshdr03
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 81

LAB SEARCH

A Project Report

The requirement for the award of the Degree of

BACHELOR OF SCIENCE (INFORMATION TECHNOLOGY)

By

Saifullah Subrati Ansari


(03)
RAMNIRANJAN JHUNJHUNWALA COLLEGE (AUTONOMOUS)
(Affiliated to University of Mumbai)

MUMBAI-MAHARASHTRA-400086

DEPARTMENT OF INFORMATION TECHNOLOGY

CERTIFICATE

This is to certify that the project entitled, “LAB SEARCH” is bonafide work of Saifullah
Subrati Ansari bearing 03 submitted in partial fulfilment of the requirements forthe award
of the degree of BACHELOR OF SCIENCE in INFORMATION TECHNOLOGY from
University of Mumbai.

Internal Guide Coordinator

External Examiner

Date: - College

2|Page
ABSTRACT

In today’s times where everything is going to digital why not diagnostics


services. If a doctor prescribes some test we need to go to nearby diagnostics Centre
or the one the doctor asks to go but with the application, we can search all our nearby
Centre and compare their pricing at the ease of our home.

“LAB SEARCH” will be an application which provides you with the nearby
diagnosticclinics/labs along with the tests they provide and it’s pricing. You can book
an appointment directly with the Centre through the application or call them directly
for queries. This application will provide the pricing of tests form different Centre
which will help user to compare and go for which is suitable to them. This application
will take you are location and accordingly search all the nearby Centre and will show
result with the pricing as per the services.

Rather than going directly to the Pathology Centre’s, people can search their
nearby Pathology Centre’s and comparing the pricing of the tests they are searching
for. Also, they can find if a particular test is being run by which all Pathology
Centre’s near him.

3|Page
ACKNOWLEDGEMENT

The success and outcome of this project were possible by the guidance
and support from many people. I am incredibly privileged to have got this all
along with the achievement of my project. It required a lot of effort from each
individual involved in this project with me and I would like to thank them.

I appreciate and thank HOD Mrs. Archana Bhide, for granting me an


opportunity to do the project activity and providing us with all support and
leadership, which made me finish the project duly. I would like to give a very
special honors and respect to our teacher, Prof. Priyasha Sawant who took
keen interest in checking the minute details of the project work and guided us
throughout the same.

Then I would like to thank my parents and friends who have helped me
with their valuable suggestions and guidance has been helpful in various phases
of the completion of the project.

Saifullah Ansari

4|Page
INDEX
Sr No Sub No Topic Page No

1 Project Introduction 8

1.1 Background 8

1.2 Objective 9

1.3 Purpose and scope 9

1.4 Achievement 11

1.5 Organizational Report 11

2 Survey of technology 12

2.1 Technology in Use 12

3 Requirement and Analysis 16

3.1 Problem Definition 16

3.2 Functional Requirement 16

3.3 Non-Functional Requirement 20

3.4 Planning 21

3.5 Scheduling 22

3.6 Gantt Chart 22

3.7 Software and hardware Requirement 23

3.8 Preliminary Product Description 24

3.9 Conceptual Models 25

4 System design 42

4.1 Basic Modules 42

4.2 Database Design 43

4.3 Logic Design 44

4.4 Security Issues 45

5|Page
4.5 Test cases Design 46
5 Results and Discussions 56
5.1 Screenshots 56

5.1.1 For Users 56

5.1.2 For the Diagnostic Centers 68

5.1.3 Data base Design 75

5.1.4 Payment Gateway 75

5.1.5 Google cloud 76

5.1.6 Project Discussion 77

6 Conclusion and Future Work 78

6.1 Conclusion 78

6.2 Future Work 79

7 References 81

6|Page
DECLARATION

I hereby declare that the project entitled, “LAB SEARCH” has not been in
any case duplicated or submitted to any other university for the award of any degree.
To the best of my knowledge other than me, no one has submitted to any other
university.

The project is done in partial fulfilment of the requirements for the award of
the degree of BACHELOR OF SCIENCE (INFORMATION TECHNOLOGY)
to be submitted as the final semester project as part of our curriculum.

Saifullah Subrati Ansari


(Name of the student)

7|Page
Chapter 1
Project Introduction
1.1] Background.

In today’s world where everything is migrating toward the digital technology and
everyone wants to take benefit from it. There are many individual patients who are
looking for the less chargeable diagnostic Centre nearby his/her area or they can book
appointment form his/her location.
If the doctor prescribes some test (blood test /MRI/ CT-scan/. Etc.) Then the
patients need to go to nearby diagnostic Centre or the ones the doctor ask to go. When
we talking about the advice (test / prescription) patients fear about the pricing and they
pay more than the his/her limit.
To solve this entire problem, we have come up with this idea of “LAB SEARCH”
Application which can be used by the individual patient or a person who looking for the
normal blood advice, they can search Centre nearby his/her area or they can filter or
compare pricing. LAB SEARCH will also book an appointment where individual can
book the consultation.
Diagnostic Centre individuals add the detail about the clinic and services. they
can collaborate with the application and share what they provide service with other and
also get some reaction on their service.

8|Page
1.2] Objective

Aims and Objectives of this project are listed below:

❖ Save time and money while comparing the prices sitting at home.

❖ Search for a particular teat and get all nearby options.

❖ Choose the best option for your money.

❖ Can directly call for queries or book appointments.

❖ Easy to use application.

❖ Search and discover the Lab.

❖ Read and Write customer generated reviews.

1.3] Purpose and scope

1.3.1] Purpose
The purpose of Lab search is to give its users the liberty to search and compare the
prices the diagnostics charge for particular tests. It will help the users to save their
money and time by knowing in advance if a particular test is being provided or not by a
particular Centre and the technology they are using.

Using the app, they can directly book appointment with the Centre and get their queries
cleared, if any.

1.3.2] scope

▪ The system will first authenticate and then only will authorize user to access the
app.
▪ Verification will be done for Centre and will have to be approve by admin to add

9|Page
its services on the app.
▪ Diagnostic Pathology Centre’s can change the pricing, add/delete services and it
will be updated in real time.
▪ Diagnostic Pathology Centre’s can accept or reject/ ask for a new appointment
based on their availability.
▪ Admin has the right to blacklist or delete a particular diagnostic Pathology
Centre’s.
▪ The app will generate reports for the diagnostic Pathology Centre’s (such as on
appointments booked on a particular date, etc.).

1.3.3] Applicability

The project developed should serve a purpose in the society or day-to-day life of people.
The project must be developed for sake of being useful and making a valuable
contribution to the world.
A project has both direct and indirect applications.
Direct Applications –
• Book appointments for test.
Indirect Applications –
• Search for nearby Pathology Centre’s.
• Compare pricing.
• Know the technology used.

1.4] Achievement

With this project we are learning how to integrate two different technologies
practicallyand make something unique. Also, knowledge of real time database design
based on business logic.

10 | P a g e
The goal is to make an application where individuals can search the
diagnostic Pathology Centre’s in their vicinity, check services and pricing and book
appointments accordingly. And diagnostic Pathology Centre’s can save up their
referral commission and make more profits.

1.5] Organization of Report

In the 2nd chapter - Survey of Technologies, what all technologies have been
used in the project is discussed.

In the 3rd chapter - Requirements and Analysis, requirements of the topic,


planning and scheduling of modules creation, software and hardware required to
work within are discussed.

In 4th chapter - System Design, modules, database and table structure, UML
diagrams representing relationships, UI designs, Security issues and test cases
performed on each module.

In 5th chapter - Implementation and Testing, Programming part is discussed


and whatapproach the code is for.

In 6th chapter - Results and Discussion, test reports based on test cases, how
the software works and a document showing all possible information about
working software.

In 7th chapter - Conclusion, what’s the significance, limitations, and future


scope of thesystem and project.

11 | P a g e
Chapter 2
Survey Of Technologies

1] JAVA

Java is a general-purpose, class-based, object-oriented programming language


designed for having lesser implementation dependencies. It is a computing platform
for application development. Java is fast, secure, and reliable, therefore. It is widely
used for developing Java applications in laptops, data Pathology Centre’s, game
consoles, scientific supercomputers, cell phones, etc.

Java Platform is a collection of programs that help programmers to develop and


run Java programming applications efficiently. It includes an execution engine, a
compiler, and a set of libraries in it. It is a set of computer software and specifications.

Features:

❖ The Java programming language is easy to learn.

❖ Java code is easy to read and write.

❖ Java is a fully object-oriented programming language.

❖ Java is updated with functional programming feature like functional


interfaces.

❖ Java guides programmer toward reliable programming habits for

creating highlyreliable applications.

❖ The Java platform is designed with multithreading capabilities

built into thelanguage.

❖ Java is Secure.

❖ Java supports Functional programming.

12 | P a g e
2] JAVA in Android Application

Java is the technology of choice for building applications using managed code
that can execute on mobile devices.

Android is an open-source software platform and Linux-based operating system


for mobile devices. The Android platform allows developers to write managed code
using Java to manage and control the Android device. Android applications can be
developed by using the Java programming language and the Android SDK. So,
familiarity with the basics of the Java programming language is a prerequisite for
programming on the Android platform. This article discusses where Java fits in mobile
application development and how we can use Java and Android SDK to write
applications that can work on Android devices.

3] WHY JAVA

A Java program that runs stand-alone in a client or server. The Java Virtual
Machine interprets the instructions, and like any programming language running in its
native environment, Java programs have full access to all the resources in the
computer.Contrast with Java applet

Java is widely used in every corner of world and of human life. Java is not
onlyused in software’s but is also widely used in designing hardware controlling
software components. There are more than 930 million JRE downloads each year
and 3 billionmobile phones run java.

Following are some other usages of Java:

➢ Developing Desktop Applications

➢ Web Applications

➢ Mobile Operating System like Android

➢ Embedded Systems

13 | P a g e
➢ Robotics and games etc.

4] FIREBASE

The Firebase Real-time Database is a cloud-hosted database. Data is stored as


JSON and synchronized in real time to every connected client. When you build cross-
platform apps with our iOS, Android, and JavaScript SDKs, all of your clients
shareone Real-time Database instance and automatically receive updates with the
newest data.

Features:

❖ Real-time Database

❖ Hosting

❖ Authentication

❖ Storage

❖ Cloud Messaging

❖ Remote Config.

❖ Crash Reporting

❖ Notifications

❖ App Indexing

❖ Dynamic Links

4] ANDROID STUDIO

Android Studio is the official Integrated Development Environment (IDE) for


android application development. Android Studio provides more features that enhance
our productivity while building Android apps.

14 | P a g e
Android Studio was announced on 16th May 2013 at the Google I/O conference
as an official IDE for Android app development. It started its early access preview
fromversion 0.1 in May 2013. The first stable built version was released in December
2014, starts from version 1.0.

Features:

❖ It has a flexible Gradle-based build system.

❖ It has a fast and feature-rich emulator for app testing.

❖ Android Studio has a consolidated environment where we can

develop for allAndroid devices.

❖ Apply changes to the resource code of our running app without restarting
the app.

❖ Android Studio provides extensive testing tools and frameworks.

❖ It supports C++ and NDK.

❖ It provides build-in supports for Google Cloud Platform. It makes it

easy tointegrate Google Cloud Messaging and App Engine.

15 | P a g e
Chapter 3
Requirements And Analysis

3.1 Problem Definition

We all have gone through medical tests in our life at least a simple blood test.
And we all are very much aware of the doctor’s commission that they get from the
diagnostics for referring their patients to their labs / diagnostic Pathology Centre’s.
Also, we came across that not all the diagnostic Pathology Centre’s provide all
medical test services, some provides only the smaller (basic) tests such as normal X-
ray, blood tests, sonography, etc. and very few has CT scan, MRI's and Echo's. People
do not know which all diagnostic Pathology Centre’s are there in their vicinity and
what all services they provide with the prices, so we came up with the solution that is
"Lab Search" where user and diagnostic Pathology Centre’s both will register. User
can search and book the appointment for his test with diagnostic Pathology Centre’s
directly and diagnostic Pathology Centre’s won't have to pay commissions to doctors
instead can provide users attractive discount and can make more profit.

Requirement Specification
3.2 Functional Requirement
For Diagnostic Centre

Sr. No Priority Requirement


RQ1-Register 5 Diagnostic Centre for
registered is itself in
the inthe application
RQ2- verify account 5 Pathology Centre’s need
to verify the
account from the
adminsite

16 | P a g e
RQ3- Login 5 After the approval the
Centers can be login
itself inthe application
RQ4- Forgot Password 5 If the Centers forget the
password we can re
change
it

RQ5- Change Password 5 Centers can also change


the
password frequently
RQ6- Create Centre 5 Centers need to create
Profile his
profile on the
application
RQ7- Add Services 5 After the completion of
creation Centers can add
the services
RQ8- Add Prices 5 They can add the prices
of
these services
RQ9- Updating Services / 5 Weekend update these
Prices services and prices
RQ10- Delete Services / Prices 5 They can delete this
services and prices as
well
as
RQ11- Sending the SMS 5 They can send the SMS
to the users as a
Acknowledgement
RQ12- Notify For 3 Centers can notify for
Reports report to the users
Note: 5 are rated as highest priority.

17 | P a g e
For users

Sr. No Priority Requirement


RQ1- Register 5 Users need to
registered inthe
application for
getting
services
RQ2- Verify Account 5 After the verify the
account,they can book
an
appointment
RQ3- Log In 5 Before booking an
appointment and
gettingservices
from the
application user needs
to log in first
RQ4- Forgot Password 5 user might be
forgot the
password

RQ5- Change Password 5 They can change


the
password

RQ6- Give Location Access 5 Booking services


user need
to give access the
locations to the
application
RQ7- Search Services 5 User can search
this
services

18 | P a g e
RQ8- Choose The 5 User can select the
Diagnostic Centre diagnostic Centers

RQ9- Book an Appointment 5 User can book the


appointment for
the
services
RQ10- Payment Mode 5 User can select
payment mode
either it is
online or offline
RQ11- Payment Gateway 5 They can use the
payment
gateway

RQ12- Service Summary 4 After the booking


they got
service summary

RQ13- Feedback 2 They can review


the Centers

RQ14- Cancel Services 5 User can cancel


the services

Note: 5 are rated as highest priority.

19 | P a g e
3.3 Non-Functional Requirement

Object Priority Requirement


Simple registration for both
diagnostic Centers and user.
Only one time location access
permission from the user.
Usability 5 Visible options to navigate and
search as
well as clear information of tests for
users.
Every information from both user
and Centers are secured and stored
on a efficient database system.
No risk of fake information of
Reliability 5 diagnostic Centers as they will
submit their govt approved proof.
No risk of loss of data
Easy and simple UI with clear and
Specific Information regarding
Centers, the test they provide,
Performance 5 prices and the procedure or
equipment
used.
No time constraint for booking the
Availability 5 appointments.

This system is built only for


Android Users.
Maintainability is easy.
Supportability 4 All plans for future upgrades can
be easily done with current
system.

20 | P a g e
3.4 Planning and Scheduling

3.1 Planning

Project Planning is an organized and integrated management process, which


focuses on activities required for successful completion of the project. These activities
refer to the series of tasks performed over a period of time for developing the software.

It also helps in better utilization of resources and optimal usage of the allotted
time for a project. Below table in reference to table shows a chart of project stages
andno. of work days taken up by each project. The table is the planned number of
days given to each stage.

Scheduling

Scheduling in a project refers to roadmap of all activities to be done with


specified order and within time slot allotted to each activity. It includes listing of
activities, projects milestones and deliverables along with a planned start and finish
datewith duration and resources assigned to each activity for successful completion.
Those items are often estimated by other information included in the project schedule
of resource allocation, budget, task duration, and linkages of dependencies and
scheduled events.

Project scheduling is a mechanism to communicate what tasks need to get done


and which organizational resources will be allocated to complete those tasks in what
time frame.

21 | P a g e
Gantt Chart

30-07-2021 18-09-2021 07-11-2021 27-12-2021 15-02-2022 06-04-2022

REQUIREMENT ANALYSIS

REQUIREMENT GATHERING

AVALIBILITY

DOCUMENTATION

SURVEY OF TECHNOLOGY

UML DIAGRAM

FRONTEND DESIGN

BACKEND DEVELOPMENT

TESTING

22 | P a g e
3.1 Software & Hardware Requirements

Hardware Requirements

The hardware requirements of the system are


➢ 64-bit Microsoft Windows 8/10/11

➢ x86_64 CPU architecture; 2nd generation Intel Core or newer, or AMD

CPU withsupport for a Windows Hypervisor

➢ GB RAM or more

➢ GB of available disk space minimum (IDE + Android SDK + Android


Emulator)

➢ 1280 x 800 minimum screen resolution

Software Requirements

The software required to develop the application are

➢ Android studio

➢ Database: fire base

➢ Microsoft Windows 10 pro (64-bit)

➢ Language: Java

➢ Photoshop

➢ Star UML Software: To Draw UML Diagrams

23 | P a g e
3.7 Preliminary Product Description

Identify the requirements and objectives of the new system. Define the
functions and operation of the application/system the students are developing as
project. Our systems objective is to give its user a platform to locate and book their
diagnostic tests online, saving their time and money. The system requires accessing
user’s location and showing him his nearby diagnostic Centers. Once the test has
been chosen, it will ask for prescription from userand then will book the appointment
and send details to diagnostic Centers.

Functions and operation of the application are:

Registering - Users will have to register themselves using their phone number.
Diagnostic Centre will register themselves with their govt certified documents which
will be approving by admin. After Verification of accounts the users and Centers will
login and create their profile. The Centers will then add its services and their prices
wherein the users will be providing the system with its location access. The system
will show the nearby Centers to him and the user will then select a Centers and will
choose the test he needs to have. The system will then ask for scanned copy/image
of prescription and then the user can book the appointment. The system will send the
prescription and appointment details to the Centers and will ask for confirmation or
denial. If confirmed - then the system will send the notification to user that the
appointment has been confirmed; if denied - the Centers will have to give justifiable
reason for the same. Once the reports are ready the Centers will update its status on
system and notification will be sent to the user to collect it.

The user based on his experience can rate and review the diagnostic Centers.

24 | P a g e
3.7 Conceptual Models
3.8.1 Use case Diagram

A use case diagram is used to represent the dynamic behavior of a system. It


encapsulates the system's functionality by incorporating use cases, actors, and their
relationships. It models the tasks, services, and functions required by a
system/subsystem of an application. It depicts the high-level functionality of a system
and also tells how the user handles a system.

The main purpose of a use case diagram is to portray the dynamic aspect of a system.
It accumulates the system's requirement, which includes both internal as well as
external influences. It invokes persons, use cases, and several things that invoke the
actors and elements accountable for the implementation of use case diagrams. It
represents how an entity from the external environment can interact with a part of the
system.

System

Draw your system's boundaries using a rectangle that contains use cases. Place actors
outside the system's boundaries.

Use Case
Draw use cases using ovals. Label the ovals with verbs that represent the system's
functions.

25 | P a g e
Actors
Actors are the users of a system. When one system is the actor of another system, label
the actor system with the actor stereotype.

Relationships
Illustrate relationships between an actor and a use case with a simple line. For
relationships among use cases, use arrows labeled either "uses" or "extends." A "uses"
relationship indicates that one use case is needed by another in order to perform a task.
An "extends" relationship indicates alternative options under a certain use case.

Actors Role

26 | P a g e
Initial Stage

27 | P a g e
User logged in

3.7.1 DFD Context Level Diagram (Zero level Diagram)

28 | P a g e
3.9 Functional requirements- Use case scenarios
Casual description: -

Use Case ID Use Case Name Use By Description


UC1 Register New User New user can
registerthemselves
in the
application for
gettingservices
UC2 Verify Account New user New user verifies
them
account by OTP
UC3 Log In User Users can login to
book
the Services
UC4 Forgot Password User User can change
the
password
UC5 Location Access User User first need to
givelocation
access to the
application
UC6 Search Services User Users can search
the
services
UC7 Select Diagnostic User can select the
User
Centre diagnostic Centre
UC8 Select The Services User User can select the
services
UC9 Book An User User can book an
Appointment appointment
UC10 Upload prescription User Upload the
prescription
related services
UC11 Cancel Appointment User User can cancel
the
appointment
UC12 Payment Mode User User can select the
payment mode
like offline mode
or online
mode

29 | P a g e
UC13 Select Payment User User can select the
Gateway payment gateway

Brief Description: -

UC1: -

Use Case Id UC1


Use Case Name Register
Related Requirements None
Initiating Actors New User
Actor’s Goal To successfully Register to the Application
Pre-Condition None
Post-Condition The Profile is created successfully

Conclusion User Profile Created

Flow of Event 1.The New User is Created.

30 | P a g e
UC2: -

Use Case Id UC2


Use Case Name Verify Account
Related Requirements One time pass for verification
Initiating Actors New User
Actor’s Goal To successfully Register to the Application
Pre-Condition User must be registered
Post-Condition The Profile is created successfully

Conclusion User Profile Created

Flow of Event 1.New user created

UC3: -

Use Case Id UC3


Use Case Name Log In
Related Requirements Mobile number and Password
Initiating Actors User
Actor’s Goal To successfully create
Pre-Condition User must be verifying
Post-Condition Select the services

Conclusion User Created

31 | P a g e
Flow of Event 1. After the Created Successfully user can log in
2. They can change Password after the logging

UC4: -

Use Case Id UC4


Use Case Name Forgot Password
Related Requirements None
Initiating Actors User
Actor’s Goal To successfully Change the password
Pre-Condition User must be having an account
Post-Condition Register

Conclusion User change the password

Flow of Event Before the log in if user forgot the password so they can
create the new password
They need to re-enter the register phone number 3.
system ask for opt
4. user need to enter the opt and re-try the password

32 | P a g e
UC5: -

Use Case Id UC5


Use Case Name Location Access
Related Requirements User must be register
Initiating Actors User
Actor’s Goal To successfully allow the location access
Pre-Condition User must be logged in
Post-Condition Search the Services

Conclusion The get the nearby locations

Flow of Event 1.For the access the application or booking


appointment user needs to give location access.

33 | P a g e
UC6: -

Use Case Id UC6


Use Case Name Search Services
Related Requirements User must be log in and give the location access
Initiating Actors User
Actor’s Goal To successfully search the services
Pre-Condition User must be logged in
Post-Condition Select the Services

Conclusion User successfully select the related services

Flow of Event 1. user needs to login


2. user give the location access to the application
3. After they can search the particular services.

34 | P a g e
UC7: -

Use Case Id UC7


Use Case Name Select Diagnostic Centre
Related Requirements User must be log in and give the location access
Initiating Actors User
Actor’s Goal To successfully search the services
Pre-Condition User must be logged in
Post-Condition Book An Appointment

Conclusion User successfully select the Diagnostic Centre

Flow of Event 1. User need to login in the application.


2.user give the location access to the application
3. After that they can select the particular Centre

UC8: -

Use Case Id UC8


Use Case Name Select the Services
Related Requirements User must be log in and give the location access
Initiating Actors User
Actor’s Goal To successfully Select the services
Pre-Condition User must be logged in

35 | P a g e
Post-Condition Book An Appointment

Conclusion User successfully select the related

Flow of Event 1. User need to login in the application.


2.user give the location access to the application
3. user select the Centre profile.
4. After the selection of the Centre, they can selectthe
required services

UC9: -

Use Case Id UC8


Use Case Name Book An Appointment
Related Requirements User must be log in and give the location access
Initiating Actors User
Actor’s Goal To successfully Book An Appointment
Pre-Condition User must be logged in
Post-Condition Upload prescription

Conclusion User successfully Book an Appointment

Flow of Event 1. User need to login in the application.


2.user give the location access to the application
3. user select the Centre profile.
4. After the selection of the Centre, they can
selectthe required services

36 | P a g e
UC10: -

Use Case Id UC9


Use Case Name Upload prescription
Related Requirements User must be booking an appointment
Initiating Actors User
Actor’s Goal To successfully upload the prescription
Pre-Condition User must book the appointment
Post-Condition Cancel the appointment

Conclusion User successfully upload the prescription

Flow of Event 1. User need to login in the application.


2.user give the location access to the application
3. User select the Centre profile.
4. After the selection of the Centre, they can selectthe
required services
5. After the completion of the selection user needs tobook the
Appointment
6.before the booking user need to upload the doctor
prescription

37 | P a g e
UC11: -

Use Case Id UC10


Use Case Name Cancel the appointment
Related Requirements User must be booking an appointment
Initiating Actors User
Actor’s Goal To successfully Cancel the appointment
Pre-Condition User must book the appointment
Post-Condition None

Conclusion User successfully Cancel the appointment

Flow of Event 1. User need to login in the application.


2.user give the location access to the application
3. User select the Centre profile.
4. After the selection of the Centre, they can
selectthe required services
5.After the completion of the selection user needs
tobook the Appointment
6.before the booking user need to upload the
doctorprescription
7. if the user does not want the service after
the booking, they can also cancel the
appointment

38 | P a g e
UC12: -

Use Case Id UC11


Use Case Name Payment Mode
Related Requirements User must be booking an appointment
Initiating Actors User
Actor’s Goal To successfully paid for the services
Pre-Condition User must book the appointment
Post-Condition Payment gateways

Conclusion Payment mode selected

Flow of Event 1. User need to login in the application.


2.user give the location access to the application
3. User select the Centre profile.
4. After the selection of the Centre, they can selectthe
required services
5.After the completion of the selection user needs to
book the Appointment
6.before the booking user need to upload the doctor
prescription
7. if the user does not want the service after the
booking, they can also cancel the appointment 8. if the
user wants the service and appointment alsobooked
successfully then users need to pay for theselected
services

39 | P a g e
UC13: -

Use Case Id UC12


Use Case Name Select Payment gateway
Related Requirements User must be booking an appointment
Initiating Actors User
Actor’s Goal To successfully paid for the services
Pre-Condition User must book the appointment
Post-Condition Reaching Centre

Conclusion Payment done!

Flow of Event 1. User need to login in the application.


2.user give the location access to the application
3. User select the Centre profile.
4. After the selection of the Centre, they can selectthe
required services
5.After the completion of the selection user need to
book the Appointment
6.before the booking user need to upload the doctor

40 | P a g e
41 | P a g e
Chapter 4
System Design
4.1 Basic Modules

Sr no Modules For Which Actor


Both Users and
1 Register modules Diagnostic
Pathology Centre’s
only for the
2 Add services module diagnostic
Pathology Centre’s
3 Book an appointment module for users
4 Payment module for users
Both Users and
5 Complaining and feedback module Diagnostic
Pathology Centre’s

Description: -

1. Register modules: -
This module is for both the user and diagnostic Centre.
The user needs to sign up with his mobile number.
The diagnostic Centre will sign up the email address along with
other officialdetails such as government license, Lab address,
owner (Doctor) details.

2. Add Services/Prices modules (Only for Diagnostic Centers): -


In the module the Pathology Centre’s will add their detailed services
along with its pricing.

3. Book an Appointment module (for users): -

The user will be selecting the test he needs to be done along with the date
and time and will book an appointment with the Centre. The appointment
will be booked and then sent to the Centre which will then confirm if they
can take up those tests on that day and time. If yes, the appointment will

42 | P a g e
be confirmed and message will be sent to user. If No, the reason why it
was rejected will be sent to user asking to reschedule it.

4. Payment modules: -
In this module, once the appointment is confirmed the user can select
one of thepayment methods: Cash or Online Payment.
5. Complain and feedback module: -

In this module, the user can complaint and give feedback about the
Services ofthe diagnostic Centre. Users will rate according to the services,
take taken to perform test, diagnostic Pathology Centre’s staff, time taken to
generate report.

4.2 Database Design

43 | P a g e
4.3Procedural Design
4.3.1 Logic Diagrams

4.3.1.1 DFD Level 1

4.3.1.1 DFD Level 2

44 | P a g e
4.4 Security Issues

As we will be using Firebase Real-time Database, we have carefully


determined who willhave read and write access to the database. Every read and write
request will only be completed if the rules allow it.

Firebase Security Rules works by matching a pattern against database paths,


and then applying custom conditions to allow access to data at those paths. All the
rules have a path- matching component and a conditional statement allowing read or
write access.

The security plan and architecture are to control and validate who will access
to what. This will be achieved with the rules we will setup in the database.

45 | P a g e
4.5 Test cases
For User

TC 1

Test-ID TC 1
Use Case ID UC 1

Test Case Register

Test Scenario User need to Register itself in the application.

Pre- -
Condition
Test Step Test Data Expected Actual Result Status
Result
Enter the Name, “Successfully "Register
personal Mobile Register” Successfully "
details number,
Email- id, Pass
username,
password,
postal-code

TC 2

Test-ID TC 2
Use Case ID UC 3

Test Case Log In

Test Scenario For getting the services user needs to first login itself.

Pre- Must be register in the application.


Condition
Test Step Test Data Expected Actual Result Status
Result
1]Enter the 1]Username. “Successfully “Login
username. 2]password login” Successfully”
2]Enter the Pass
password

46 | P a g e
TC 3

Test-ID TC 3
Use Case ID UC 4

Test Case Forget password

Test Scenario If user forget the password, so he/she can change the password.

Pre-Condition Register
Test Step Test Data Expected Actual Result Status
Result
1]Enter mobile Mobile “Password “Password
number. number changed” Updated
2]opt for Successfully” Pass
mobile number
verification.

TC 4

Test-ID TC 4
Use Case ID UC 5

Test Case Location Access

Test Scenario User need to give the his / her location access to the application.

Pre-Condition Register
Test Step Test Data Expected Actual Status
Result Result
Click the Provide the “Get The
Access Button Location Location
Access” - Failed

47 | P a g e
TC 5

Test-ID TC 5
Use Case ID UC 6

Test Case Search the Services

Test Scenario User can the Services like blood, x ray.

Pre-Condition Login
Test Step Test Data Expected Actual Result Status
Result
Click to the Enter the Nearest Centre
search bar to Postal Code “Nearest
Failed
search the Centre”
services

TC 6

Test-ID TC 6
Use Case ID UC 7

Test Case Select the Diagnostic Centre.

Test Scenario User should have the right to the select any Diagnostic Centre.

Pre-Condition Login.
Test Step Test Data Expected Actual Result Status
Result
1]click to the
Diagnostic
Pass
Pathology - - -
Centre’s
Profile.

48 | P a g e
TC 7

Test-ID TC 7
Use Case ID UC 8

Test Case Book an Appointment

Test Scenario After the clicking to the selected profile of Centre user can book
the appointment.
Pre-Condition Select the Diagnostic Centre.
Test Step Test Data Expected Actual Result Status
Result
Appointment Select the “Appointment “Appointment
Booking Services Booked” Booked”
Pass

TC 8

Test-ID TC 8
Use Case ID UC 9

Test Case Upload Prescription.

Test Scenario After the booking an appointment user need to upload the
prescription.
Pre-Condition Appointment booking process.
Test Step Test Data Expected Actual Result Status
Result
Tap the upload Image “Prescription “Prescription
the Image (Prescription) Uploaded” Uploaded”
which is the Pass
Prescription of
the Users

49 | P a g e
TC 9

Test-ID TC 9
Use Case ID UC 10

Test Case Cancel the Appointment.

Test Scenario If user want to cancel the appointment, they can simply fill the
cancelation form.
Pre-Condition Appointment Booked.
Test Step Test Data Expected Actual Result Status
Result
1] Enter phone 1]user phone “Request sent “Request
number. number. successfully” Sent”
2]Enter the test 2]test name.
Pass
name. 3]valid
3]Enter the reason.
Reason

TC 10

Test-ID TC 10
Use Case ID UC 12

Test Case Select payment gateway

Test Scenario User need to pay for the services so they need to pay from the
online payment gateway.
Pre-Condition Appointment Booked
Test Step Test Data Expected Actual Result Status
Result
1]Enter the Debit card “Payment “Successful
card details and Credit Done” Payment”
card Pass

50 | P a g e
For Diagnostic Center
TC 1

Test-ID TC 1
Use Case ID UC 1

Test Case Register

Test Scenario Centre need to Register itself in the application.

Pre- -
Condition
Test Step Test Data Expected Actual Result Status
Result
Enter the Centre Name, “Add “Register
personal Registration Successfully” Successfully”
details Number,
Pass
Mobile
number, Pin
code, email id

TC 2

Test-ID TC 2
Use Case ID UC 2

Test Case Login

Test Scenario For getting the services Centre needs to first login itself.

Pre-Condition Register
Test Step Test Data Expected Actual Result Status
Result
1] Enter the 1] “Login “Login
Registration Registration Successfully” Successfully”
Number. Number Pass
2]Enter the 2]Password
Password.

51 | P a g e
TC 3

Test-ID TC 3
Use Case ID UC 3

Test Case Forget Password

Test Scenario If the Centre forget the password so that they can easily reset the
password. For that purpose, they verify the mobile number.
Pre- Register
Condition
Test Step Test Data Expected Actual Result Status
Result
1] Enter the 1] Mobile “Password “Update
Mobile Number update Successfully”
number. 2] One Time successfully” Pass
2] Enter the Password
OTP

TC 4

Test-ID TC 4
Use Case ID UC 4

Test Case Crate Centre Profile

Test Scenario After the registration Centre will Create their profile.

Pre- Register
Condition
Test Step Test Data Expected Actual Result Status
Result
Enter the Centre Name, “Data Add “Profile Create
personal Registration successfully” Successfully”
details and Number,
Pass
License also Mobile
number, Pin
code, email id

52 | P a g e
TC 5

Test-ID TC 5
Use Case ID UC 5

Test Case Add Services Prices

Test Scenario After the creating the profile Centre need to add the services and
Prices
Pre-Condition Login
Test Step Test Data Expected Actual Result Status
Result
1] Enter the 1] Test “Service add “Add
Test name. name. Successfully” Successfully”
2] Enter the 2] Test price. Pass
Test Price.

TC 6

Test-ID TC 6
Use Case ID UC 6

Test Case Updating the Service and price

Test Scenario After Regular Interval of Time Center may need to Update the
services entity
Pre-Condition Profile Created
Test Step Test Data Expected Actual Result Status
Result
1] Enter the 1] Test “Services “Updated
Test name. name. Updated Successfully”
2] Enter the 2]Test price. Successfully” Pass
Test Price.

53 | P a g e
TC 7

Test-ID TC 7
Use Case ID UC 7

Test Case Delete Services

Test Scenario After Regular Interval of Time Center may need to Update the
services entity
Pre-Condition Services Added
Test Step Test Data Expected Actual Result Status
Result
1] Enter the 1] Test “Services
Test name. name. Deleted “Deleted
Successfully” Pass
2] Enter the 2]Test price. successfully”
Test price.

TC 8

Test-ID TC 8
Use Case ID UC 8

Test Case Upload License

Test Scenario For the verification Centers need to upload the Diagnostic Centers
License.
Pre- Register
Condition
Test Step Test Data Expected Actual Result Status
Result
Upload the Image “Upload “License
License. Successfully” Upload
Successfully” Pass

54 | P a g e
TC 9

Test-ID TC 9
Use Case ID UC 9

Test Case Accept / reject the Appointment

Test Scenario Center, Send the SMS to the Users .

Pre- Appointment Booked


Condition
Test Step Test Data Expected Actual Result Status
Result
SMS Send Patient “SMS is sent “SMS is sent
Request Successfully” Successfully”
Pass

TC 10

Test-ID TC 10
Use Case ID UC 10

Test Case Notify for the Report.

Test Scenario After completing the Services Centers pass the Reports on the
email.
Pre-Condition Services Completed.
Test Step Test Data Expected Actual Status
Result Result
1]Enter the Services “Email sent” “Email Sent”
email id Report
Pass

55 | P a g e
Chapter 5
Results And Discussions
5.1 Screenshots
5.1.1 For users

Signup page

56 | P a g e
Functionality: -
1. User need to register themselves in the application for getting services.
2. They need to provide name, phone number, Username, Email id etc.
3. After completing, the data of the users stored in the database (firebase), so the
next time user can directly login itself.

Login page

Functionality: -
1. In the page register user can logged in.
2. For registrations users need to enter the username and password.

57 | P a g e
Forget Password

Functionality: -
1. If the user forgets the password, they can reset the password.

58 | P a g e
2. Users need to first need the verify the mobile number, after getting the OTP
(One time password) correct users’ intent the main activity where they can
reset the password.
Home page

59 | P a g e
Selecting the Centre (Pathology lab)

Functionality: -

60 | P a g e
1. After selecting the Diagnostics Centre, user select the services from the same
center. Like blood x-ray.

Selecting the Services

Functionality: -
1. Form this functionality user select the service for the payment.
2. Payment should be in the online mode only.

61 | P a g e
Payment Gateway

Functionality: -
1. In the Functionality, users can pay for their service in only payment gateway.
2. This payment gateway also contains UPI, Card, Net banking, Wallet.

62 | P a g e
Patient Detail

63 | P a g e
Upload Prescription

Functionality: -
1. After the payment user need to upload the Prescription.
2. Prescription should be in the JPEG, PNG.

64 | P a g e
Appointment Booked

65 | P a g e
Feedback

Functionality: -
1. From this Functionality, User give Feed back to the Diagnostic Centre.
2. Users also give complaint against the Centre.

66 | P a g e
Cancel the Appointment

Functionality: -
1. If the users do not want the service, so they the easily request for the
cancellation.

67 | P a g e
5.1.2 For the Diagnostic Centers
Signup page

Functionality: -
1. Centers need to register themselves in the application for Providing services.
2. They need to provide name, phone number, Register Number, Email id etc.
3. After completing, the data of the Centers stored in the database (firebase), so the
next time Centers can directly login itself.

68 | P a g e
Login page

Functionality: -
1. In the page register Centers can logged in.
2. For registrations Centers need to enter the Registration Number and
password.

69 | P a g e
Forget Password

Functionality: -
1. If the Centers forgets the password, they can reset the password.
2. Centers need to first need the verify the mobile number, after getting the
OTP (One time password) correct Centers intent the main activity where
they can reset the password.

70 | P a g e
Home page

71 | P a g e
Add Services

Functionality: -
1. For the providing the services, Centre need to enter the services in the
Categorical manner.
2. Centers can easily change the price of the data by again entering the services.

72 | P a g e
Patient Request

Acknowledgement

73 | P a g e
Functionality: -
Pathology Centers send the SMS to the Users as an Acknowledgement.

74 | P a g e
5.1.3 Data base Design

5.1.4 Payment Gateway

75 | P a g e
5.1.4 Google Cloud for OTP Verification

76 | P a g e
5.1.5 Project Discussion

Sr Date Discussed Next Reporting


Finalized project: Lab search Application
1 27/08/21 Responsibilities of actors
(Diagnostics center)

2 03/09/21 Asked to rework on admin responsibilities Modules of project

Discussed project idea. (Modules and


3 08/09/21 UML diagrams
working of actors)
Chapter 3-
1.Functionality requirements
2.Use cases of each scenario with
elaborative description
3.DFD level 0
4 14/10/21 Implementations
Chapter 4-
1.Test cases for each use case
2.DFD level 1 & 2
3.Database structure
Android Applications’ pages Design, need
5 03/12/21 User access permission
to specify the user access permission.
Login and registration page (Authentication)
with firebase database or admin permission complete user home page, diagnostic
6 07/12/21
like delete and disable user by using Centre login and registration page.
firebase.

Registration and login module for both user


Appointment Booking module for
7 16/12/21 and diagnostic center completed.
Users
User home page completed.

Core part of application (completed), need


complete Booking module & and
8 08/01/22 to complete Booking module & and
payment gateway set-up.
payment gateway set-up.
Upload patient report (Diagnostic
Complete Application, Project
center side work), Information about
9 15/01/22 Documentation. Need to do the implied
the Active payment (payment
correction.
gateway ).
10 29/01/22 Project documentation. need to complete chapter 5 ,6,7
11 11/02/22 Project documentation Need to do the implied correction
12 15/03/22 Final project review. -

77 | P a g e
Chapter 6
Conclusion And Future Work

6.1 Conclusion

The purpose of Lab search is to give its users the liberty to search and compare
the prices the diagnostics charge for particular tests. It will help the users to save their
money and time by knowing in advance if a particular test is being provided or not by a
particular Centre and the technology they are using.
In the project we automate the Lab working like physical registration, payment
and other functionality. From this User as well as pathology labs also take good
advantages forms this.

As we also aware of the doctor’s commission that they get from the diagnostics
for referring their patients to their labs / diagnostic Pathology Centre’s. Also, we
came across that not all the diagnostic Pathology Centre’s provide all medical test
services, some provides only the smaller (basic) tests such as normal X-ray, blood
tests, sonography, etc. and very few has CT scan, MRI's and Echo's. People do not
know which all diagnostic Pathology Centre’s are there in their vicinity and what all
services they provide with the prices, so we came up with the solution that is "Lab
Search" where user and diagnostic Pathology Centre’s both will register. User can
search and book the appointment for his test with diagnostic Pathology Centre’s
directly and diagnostic Pathology Centre’s won't have to pay commissions to doctors
instead can provide users attractive discount and can make more profit.

78 | P a g e
6.2 Future Work
6.2.1 Discount for users
It’s our Future Work to provide Discount on the daily basis, so from this user can
take complete advantage from this application and can save their money. Also, we will
try to add the coupon for the first visitors’ users for their first booking.

6.2.2 Location Access


It’s a futuristic step for taking the location access for both users and the
Diagnostic Center and equate both of them. It’s our Future work for implementation for
location Access. but in our project, we use the postal code for equating both user and
Center.

6.2.3 Multiple Booking


It’s a futuristic step for taking multiple appointment booking for the same user,
it’s our Future work for taking multiple booking at a time so that user can take advantage
of that.

6.2.4 API For the Diagnostic Centre


It’s our Future Work for the Diagnostic Centre to provide the API so that they
can easy Edit, Create, Delete, services.

When you use an application on your mobile phone, the application connects to
the Internet and sends data to a server. The server then retrieves that data, interprets it,
performs the necessary actions and sends it back to your phone. The application then
interprets that data and presents you with the information you wanted in a readable way.
This is what an API is - all of this happens via API.

To explain this better, let us take a familiar example.

79 | P a g e
Imagine you’re sitting at a table in a restaurant with a menu of choices to order
from. The kitchen is the part of the “system” that will prepare your order. What is
missing is the critical link to communicate your order to the kitchen and deliver your
food back to your table. That’s where the waiter or API comes in. The waiter is the
messenger or API that takes your request or order and tells the kitchen the system what
to do. Then the waiter delivers the response back to you; in this case, it is the food.

Here is a real-life API example. You may be familiar with the process of
searching flights online. Just like the restaurant, you have a variety of options to choose
from, including different cities, departure and return dates, and more. Let us imagine
that you’re booking you are flight on an airline website. You choose a departure city
and date, a return city and date, cabin class, as well as other variables. In order to book
your flight, you interact with the airline’s website to access their database and see if any
seats are available on those dates and what the costs might be.

80 | P a g e
Chapter 7
References

1. https://www.youtube.com/c/Foxandroid01
2. https://www.youtube.com/c/TechInfoinHindi_android
3. https://firebase.google.com/docs
4. https://developer.android.com/docs
5. https://stackoverflow.com/questions/tagged/android
6. https://www.tutorialspoint.com/android/android_overview.htm
7. https://www.youtube.com/c/MdJamalmca
8. https://www.youtube.com/c/CodingWithTea
9. https://www.youtube.com/channel/UCmL5TAblHHgh1xhabmPjYgw
10. https://www.geeksforgeeks.org/android-tutorial/
11. https://github.com/android
12. https://www.tutorialspoint.com/android/android_resources.htm
13. https://guides.codepath.com/android/Understanding-App-Resources
14. https://stackoverflow.com/questions/4761406/complete-list-of-all-android-
resource-folders
15. https://developer.android.com/guide/topics/resources/providing-resources

81 | P a g e

You might also like