0% found this document useful (0 votes)
8 views93 pages

CPP Mainfinal

The document is a project report for 'Professor Health', a mobile healthcare application developed by students of Muchhala Polytechnic as part of their Diploma in Computer Engineering. The app aims to provide patients with access to trusted doctors, home remedies, and health tips, addressing common issues related to healthcare accessibility and information. The report includes acknowledgments, an abstract, objectives, and details on the technologies used in the development of the application.

Uploaded by

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

CPP Mainfinal

The document is a project report for 'Professor Health', a mobile healthcare application developed by students of Muchhala Polytechnic as part of their Diploma in Computer Engineering. The app aims to provide patients with access to trusted doctors, home remedies, and health tips, addressing common issues related to healthcare accessibility and information. The report includes acknowledgments, an abstract, objectives, and details on the technologies used in the development of the application.

Uploaded by

g00771110
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 93

Professor Health

MUCHHALA POLYTECHNIC
2022-2023

PROJECT REPORT ON
PROFESSOR HEALTH
DIPLOMA IN COMPUTER ENGINEERING
(CO6I)

SUBMITTED BY
ENROLLEMENT NO. ROLL NO. NAME OF STUDENT
Yash pawade
2001460076 3107
2001460056 3110 Aditya Jadhav
2001460077 3112 Tanaya Jadhav
2001460044 3113 Akshata Jondhale
Head of Department (HOD), of computer Engineering
Mrs. Mini Vishwanath

Under the esteemed guidance of


Mrs. Sharmila Wakhande

SAI SHIVA EDUCATION TRUST

1
Professor Health

SAI BABA VIHAR COMPLEX, GHODBANDER ROAD


THANE(W) (2022-2023)

SAI SHIVA EDUCATIONAL TRUST'S


MUCHHALA POLYTECHNIC
SAI BABA COMPLEX, THANE GHODBUNDER ROAD, ANAND NAGAR, THANE,
MAHARASHTRA 400615

PHONE NO:022 25970354


A certificate that this report is submitted by
Shri/kum. _________________________________________ Roll No./ Seat
No. ________________ a student in the Third Year of the course
Computer Engineering as a part of Seminar/Project Work.
As prescribed by the board of technical Examination, Mumbai for the
subject CPP
And the following student were associated with him for this work, however, his
contribution was proportionate:
1.__________________________ 2.___________________________
3.__________________________ 4.___________________________
And that the said work has been assessed by me and I am satisfied that the
same is up to the standard envisaged for the level of the Course

____________________ ____________________
(Signature & Name of (Signature &Name of
The internal examiner) the External examiner)

2
Professor Health

ACKNOWLEDGEMENT

It gives us immense pleasure to express our sincere gratitude


to those who are associated with our project MOBILE
HEALTHCARE APPLICATION (PROFESSOR HEALTH) which is a
software application to provide different facilities to patients
like specialist doctor appointments and consultations, with
our Unique Selling Proposition of Home remedies and
educational health tips as a part of the Course - Diploma in
Information Technology affiliated by the MSBTE.

We are grateful to our Principal Mr. R.S.Bawaskar to give us


an opportunity to take up a Project.
We would like to thank our Project Guide Mrs. Mini
Vishwanath who has been a constant source of motivation,
encouragement, and guidance. Her valuable guidance and
timely help have motivated us in completing the project.
Above all our thanks to our family and friends for their help
and motivation in the making of our project.

ABSTRACT

The project entitled "PROFESSOR HEALTH" deals with the basic


problem of a patient in finding doctors that are trustworthy,
authenticated, and provide the best services at a reasonable cost. It
is a project to solve the common problem of patients which is the
lack of information on mHealth and people often hesitate to talk
about their health problems or hesitate to visit clinics or hospitals

3
Professor Health

for their treatment because of checkup fees/financial


expenses/time expenses/thought of heavy medications. Because of
these problems people often use home remedies to cure the
diseases our normal illnesses without having proper knowledge of
home remedies.
So, we wanted to solve this problem and bring up a blend of Indian
Home remedies that are popular on the internet with an option to
level up the treatment for serious diseases by fixing an
appointment with the doctor or having an online consultation from
the comfort of our homes.
It helps the patient to find authenticated doctors and search for
home remedies if the patient finds the disease easily curable with
the remedies and also the educative section to read some health
tips and be updated with the knowledge of one's health. The
project also deals with the interaction between the patient and
doctors in a more efficient way. The main motive of the project is to
provide the user with basic health facilities in the comfort of their
homes.

TABLE OF CONTENTS
SR NO. TOPIC PAGE NO.
ACKNOWLEDGEMENT 3
ABSTRACT 4
1.1 TABLE OF CONTENTS 5
1.2 CHAPTER 1 : 7
INTRODUCTION
1.3 BACKGROUND 9

4
Professor Health

1.4 OBJECTIVE 10
PURPOSE,SCOPE,APPLICABILITY 11
ACHIVEMENTS 12
3.1 CHAPTER 2 : SURVEY OF 14
TECHNOLOGY
3.2 CHAPTER 3 : REQUIREMENT AND 15
ANALYSIS
3.3 PROBLEM DEFINITION 17
3.3.1 REQUIREMENTS SPECIFICATION 19
3.3.2 PLANNING AND SCHEDULING 20
3.4 GANTT CHART 21
3.5 WATERFALL MODEL 22
SOFTWARE AND HARDWARE 25
REQUIREMENTS(MINIMUM)
4.1 PRELIMINARY PRODUCT 26
DESCRIPTION
4.2 CHAPTER 4 : SYSTEM DESIGN 27
4.3 BASIC MODULES 30
4.3.1 DATA DESIGN
4.3.2 OBJECT ORIENTED DESIGN 31
4.3.3 E R DIAGRAM 32
4.3.4 CLASS DIAGRAM 33
4.3.5 USE CASE DIAGRAM 34
4.3.6 FLOWCHART DIAGRAM 35
4.3.7 COMPONENT DIAGRAM 36

5
Professor Health

4.8 EVENT TABLE 40


5.1 TEST CASE DESIGN 41
5.2 CHAPTER 5: 42
IMPLEMENTATION AND TESTING
5.3 GANTT CHART ACTIVITY 43
5.3.1 CODING DETAILS AND CODE EFFICIENCY 45
5.3.2 TESTING APPROACHES 89
5.4 UNIT TESTING 90
INTEGRATION TESTING 91
6.1 SAMPLE IMAGES 92
CHAPTER 6: 93
RESULT AND DISCUSSION
7.1 TEST REPORTS 94
7.2 CHAPTER 7: 95
CONCLUSION
7.3 CONCLUSION 96
LIMITATION OF SYSTEM 97
FUTURE SCOPE OF PROJECT 98
I - REFERENCES 99
II – SUMMARY 100

CHAPTER 1 INTRODUCTION

1.1 BACKGROUND

6
Professor Health

In today's world, people solve the majority of their vital problems


using their smartphones. The healthcare industry is no exception,
especially in our new COVID-19 realities where so much depends on
remote services.
• Add to that the growing prevalence of chronic diseases and
the rising use of wearables. The mHealth (Mobile + Health) industry
is thriving in India as in the rest of the world making the future of
healthcare app development look bright. These and other factors
make this lucrative industry of mobile apps for healthcare attractive
for investors and entrepreneurs.
• Seeing the level of competition, the latter has to face, it makes
sense to pay attention to every detail of the mobile development
process from the preliminary market research to design,
development, and maintenance.
According to the pre-study we did before starting the development
phase of this application, through surveys and by taking interviews
of people with whom we interact within our day-to-day life as well
as the patients who haven't been using healthcare apps.
We found a common problem of lack of information on mHealth
and people often hesitate to talk about their health problems or
hesitate to visit clinics or hospitals for their treatment because of
checkup fees/financial expenses/time expenses/thought of heavy
medications. In the 21st century, we can even order food online
from the convenience of our home directly at our doorstep, this is
one of the big reasons we seek some alternative for medications
and health consultation as well. So, we came upon
the idea of creating our healthcare app and providing the ease that
nowadays consumers look for.
After some discussion with our guide, we came up to the point that,
should we create an app that has all the same features as other

7
Professor Health

mHealth apps Randy Pausch (American educator, a professor of


computer science, human- computer interaction) said that
"Have something to bring to the table, because that will make you
more welcome"
-Randy Pausch

So, we thought to bring a blend of Great Indian Medical knowledge


knowns as Ayurveda. Ayurveda actually has a high influence on
Indian Home remedies.

This was the additional feature that will separate us from the crowd
and because in India people look for home remedies rather than
consulting doctorsfirst, our app will have a wide knowledge of
home remedies so that customers can avoid getting any heavy
medication and treat themselves at home.
1.2 OBJECTIVES

The objectives of the proposed application are --


To make a user-friendly interface and to provide a system that
handles the information of the doctors that register into our
application and provide a guide to our patients in living a healthy
life through home remedies and health tips.

It also maintains the records of doctors and patients.

It takes care of all of their health information.

8
Professor Health

To maintain the patient's appointments and doctors' ongoing


treatments that he/she provides through our application.

Their overall progress and updating their day-to-day health tips.

The total information about doctors and data of doctors and the
services provided by the doctors and their specialization are also
handled by the system to provide patients with great quality of
service through our application.

1.3 PURPOSE, SCOPE, AND APPLICABILITY


1.3.1 PURPOSE
The main purpose of the application is to provide the information
such that the user can schedule the data and also can easily keep
records of the doctors and appointments he/she has chosen.
One of the most important purposes of the application project is
to help the patients to live a healthy life and should have
knowledge of the latest health-related articles stories and
discoveries and track their health achievements and also can help
the doctors to suggest the best remedies if the patients require.
Not only the application will be helpful to the patients, but also
helpful to the doctors who are providing their best service through
our application they will be able to handle all the patients they are
providing treatment to and can easily consult with them through
our application.

9
Professor Health

Also, the application will help to reduce the manual work of the
patients to search for the doctors and clinics and visit them
physically instead they can sit at home and consult a doctor easily
without any hectic travel. As the records are maintained manually,
this application will help to reduce the consumption of time since
the manual work needs a lot of time as compared to the
application.
Also, the purpose of the project application is to increase the
efficiency with the cost reduction since it will help the users to
interact with the application without any paperwork and also have
reduced cost and time of each tasks for the admin respectively.

1.3.2 SCOPE

The scope of the application is to educate users on how to live a


healthy life and provide a doctor's consultation at their fingertips.
Also, an administrator can authenticate a user who is registered as a
doctor so that only the authenticated doctors are available for a
user who registers as patients to select.
It is a better approach for doctors to keep track of their patients and
interact with them to solve their problems regarding health and
suggests them proper medication as well as some good articles to
read from our application.
Storing information of each member according to their role in the
application doctor/patients and individual identity and also
generating correct GUI's to display that information.
Also, to check the validity of the data provided by the users for
application respectively.

10
Professor Health

1.3.3 APPLICABILITY
One of the most important aspects of project application is
feasibility. It has mainly four types Operational, Technical, Schedule,
and Economic feasibility respectively.
Operational Feasibility helps the project to decide whether it is
feasible to operate whereas Technical Feasibility helps the proposed
technology is practical.
Schedule Feasibility helps to understand when the project will be
complete in due time and the Economic Feasibility helps in the
measure of cost- effectiveness respectively.
Apart from feasibility, this application project is applicable for
health-related purposes like diet, training, and home remedies. It
allows a patient to manage all of his/her doctorial information in
the application in one place. It helps both, the patient and doctors
as well which can give complaints or responses to which the
administrator can have an overview of it.

11
Professor Health

1.4 ACHIEVEMENTS
Our achievements for the project are to provide better and more
efficient service to every user as much as possible and to remove
manual work in clinics Also, our achievement is to keep the data of
every user secure and maintain the data, and also to provide
userfriendly interactions by maintaining the data regularly.
Also, the achievement will be to reduce the complexity of the
interaction between doctor and patient, for every user in the
application respectively.
To get diet and workout plans for patients to live a healthy life, from
the educational section of the application.
The proposed system will be highly secured, to which the data of
the users will be secured without any loss or redundancy of data.
It will help to maintain reports for all criteria as well as transactions
and also it helps to manage the patient's information separately for
all appointments as well as, will provide the information separately
for considering the requirements according to the patients of the
application respectively.

12
Professor Health

CHAPTER 2
SURVEY OF TECHNOLOGIES
The 2 Major Technologies we are to Use is ANDROID and FIREBASE
1) ANDROID STUDIO
Android Studio is the integrated development environment (IDE) for
Android.
It is built on JetBrains' IntelliJ IDEA software and designed
specifically for Android development.
It is an open-source and also platforms independent application
since it can run on any platform, whether it will run on Windows or
Linux.
Android can run on the functionality of the devices, which can also
use languages like Java respectively. • One main advantage of the
Android is that it supports 2D and 3D graphics, and also supports
MP4, 3GP, etc. Also having the functions like Video Calling and a
better notification system.
It supports the Modes of Storage like MySQL, SQLite, Lightweight
Relational Database, etc.
It also Supports Connectivity modes like GSM, IDEN, CDMA,
Bluetooth, WIFI, etc.
It allows only the current applications to consume power till the
RAM memory. Also, the other applications will also continue in
background to update without any problem.

13
Professor Health

2) GOOGLE FIREBASE
Firebase is a Backend-as-a-Service (Baas). It provides developers
with a variety of tools and services to help them develop quality
apps, grows their user base, and earn profit. It is built on Google's
infrastructure.
Firebase is categorized as a NoSQL database program, that stores
data in JSON-like documents. Firebase frees developers to focus on
crafting fantastic user experiences. You don't need to manage
servers.
You don't need to write APIs. Firebase is your server, your API, and
your datastore, all written so generically that you can modify it to
suit most needs.
Key Features
Analytics - Google Analytics for Firebase offers free, unlimited
reporting on as many as 500 separate events. Analytics presents
data about user behavior in iOS and Android apps, enabling better
decision- making about improving performance and app marketing.
Authentication - makes it easy for developers to build secure
authentication systems and enhances the sign-in andonboarding
experience for users. This feature offers a complete identity
solution, supporting email and password accounts, phone auth, as
well as Google, Facebook, GitHub, Twitter login, and more.
Cloud messaging - Firebase Cloud Messaging (FCM) is a cross-
platform messaging tool that lets companies reliably receive and
deliver messages on iOS, Android, and the web at no cost.
•Realtime database - the Firebase Realtime Database is a
cloudhosted.NoSQL database that enables data to be stored and

14
Professor Health

synced between users in real-time. The data is synced across all


clients in real-time and is still available when an app goes offline.
Crashlytics Firebase - Crashlytics is a real-time crash reporter that
helps developers track, prioritize, and fix stability issues that reduce
the quality of their apps. With crashlytics, developers spend less
time organizing and troubleshooting crashes and more time
building features for their apps.
Performance - Firebase Performance Monitoring service gives
developers insight into the performance characteristics of their iOS
and Android apps to help them determine where and when the
performance of their apps can be improved.
Test lab - Firebase Test Lab is a cloud-based app-testing
infrastructure. With one operation, developers can test their iOS or
Android apps across a variety of devices and device configurations.
They can see the results, including videos, screenshots and logs, in
the Firebase console.

CHAPTER 3

15
Professor Health

REQUIREMENTS AND ANALYSIS

3.1 PROBLEM DEFINITIONS


The existing system before was manual or paperwork.Problem
Definition is one of the most important aspects where we actually
understand the problem and then solve these problems with the
help of providing prototypes for the users.
There are mainly two tasks to solve the problems. The 1st task is to
analyze the problem by reviews from the organization as well as
from the users and 2nd task is to identify the problems and resolve
them by creating several betas or testing versions and then creating
the final version to which it can bereleased on market without any
errors. Time-consuming is one of the factors since the data entries
which include the calculations took a lot of time.
Searching the data was very complex as there could be hundreds of
patients taking appointments every year.
The manually managed system of the doctor's clinics was also
heavily pruned to data stored due to certain causes such as
misplacement of registers or the destruction of registers or
unauthorized access to the registers or loss of the register file.
Doctors used to face difficulties to manage the data of each patient
in physical clinics this can be solved by online clinics which we have
tried to create.

It was complex to keep with the records related to patients also


patients were not aware of diet, schedule, and workout plans.

16
Professor Health

Patient information is a vital part of the puzzle when it comes to


swiftly diagnosing health problems, as well as resolving billing and
other payment issues. However, over 50% of all healthcare
institutions fall prey to at least one cyber-attack. And one in three
of these attacks is a success for the attackers.
While collecting data is extremely important for healthcare
providers to understand their customers and cater to them
efficiently, the patient's concern over the privacy of their
information is genuine. It is imperative to impart a sense of security
and uncompromised privacy to patients.
Despite the fact that a large part of the population (including
doctors and staff) owns smartphones and other mobile devices
today, the complexity of integration and implementation remains a
challenge.
Mobile healthcare applications which are difficult to integrate and
implement with the existing systems and complicated to use, defeat
the purpose of efficiency. The simplicity of deployment and ease of
use are two factors that all health care providers, as well as users,
prefer.
Transparency in the interaction between healthcare
providers/doctors and patients is the pulse of mobile healthcare
services. However, an incredible number of applications end up
feeling like a monologue and fail to engage patients. If the app fails
to enhance the medical experience of the individuals through vital
information and data, it fails the purpose.

3.2 REQUIREMENTS SPECIFICATIONS

17
Professor Health

Requirements specification helps to identify the requirements


according to which it will accurately define the needs of each user
for the application respectively.
Today, the problem with the current system of the clinics is that it is
very manual and it is costly because it involves a lot of paperwork
hence, to which manually handling the system is a very difficult
task.
Also, the problem with the current system is that there are difficult
tasks to store the details of each and every user it doesn't have
proper time and data management respectively.
Also, the doctor always needs to write down the progress of a client
in a book and also write the prescriptions for the client on the piece
of paper since it is very time-consuming and less efficient to always
update the client about their health and prescriptions.
To the above current situation, we had done the survey for the
requirements of the application to which we understand what the
users exactly need for the application by creating forms and asking
from three types of users, that is the Admin, Doctors and Patients
respectively.

3.3 PLANNING AND SCHEDULING

18
Professor Health

Project Planning and schedule, help you to study and manage your
project effectively which enables you to resolve problems more
quickly and precisely. With the help of planning, we can be cleared
the idea from the requirements so that we can plan and schedule
our time better and thus, have a higher capability of reducing errors
in project activities.
Planning and scheduling are complicated parts of software
development. Planning, for our purposes project, can be thought of
as determining all the tasks that must be carried out in order to
accomplish the goal.
Planning also takes into the account of progress, which helps in
order to achieve our goals step by step.

3.3.1 GANTT CHART FOR THE PLANNING IN PROJECT.

19
Professor Health

3.3.2 WATERFALL MODEL

The Waterfall Model was the first Process Model to be introduced.


It is also referred to as a linear-sequential life cycle model. It is very
simple to understand and use.

20
Professor Health

In a waterfall model, each phase must be completed before the


next phase can begin and there is no overlapping in the phases. The
Waterfall model is the earliest SDLC approach that was used for
software Development.
The waterfall Model illustrates the software development process
in a linear sequential flow. This means that any phase in the
development process begins only if the previous phase is complete.
In this waterfall model, the phases do not overlap.
Waterfall approach was the first SDLC Model to be used widely in
Software Engineering to ensure the success of the project. In "The
Waterfall" approach, the whole process of software development is
divided into separate phases. In this Waterfall model, typically, the
outcome of one phase acts as the input for the next phase
sequentially.

The following illustration is a representation of the different


phases of the Waterfall Model.

21
Professor Health

The sequential phases in the Waterfall model are-


1. Requirement Gathering and analysis - All possible
requirements of the system to be developed are captured in this
phase and documented in a requirement specification document.
2. System Design - The requirement specifications from first
phase are studied in this phase and the system design is prepared.
This system design helps in specifying hardware and system
requirements and helps in defining the overall system architecture.
3. Implementation - With inputs from the system design, the
system is first developed in small programs called units, which are
integrated in the next phase. Each unit is developed and tested for
its functionality, which is referred to as Unit Testing.
4. Integration and Testing All the units developed in the
implementation phase are integrated into a system after testing

22
Professor Health

each unit. Post integration the entire system is tested for any faults
failures.

5. Deployment of system - Once the functional and non-


functional testing is done; the product is deployed in the customer
environment or released into the market.

6. Maintenance There are some issues that come up in the client


environment. To fix those issues, patches are released. Also, to
enhance the product some better versions are released.
Maintenance is done to deliver these changes in the customer
environment.

3.4 SOFTWARE AND HARDWARE REQUIREMENTS

Software requirement
The following Software requirements for the project is:
• Android Studios.

23
Professor Health

• Windows 10, Vista or 7.

• Oracle MySQL Database.

Hardware Required

The following hardware requirements for the project is:

• Processor: 1.6 GHz or faster.

RAM: 1 GB or more

• Hard disk: 16 GB or more

3.5 PRELIMINARY PRODUCT DESCRIPTION


• The product is about the mobile healthcare application, it
defines how systems play a role for entities that are-
administrators, Doctors, and Patients.
• The application will help to handle the multiple tasks of
doctors like
handling the data of patients, list of current appointments, list of
completed appointments, etc.

24
Professor Health

Our gym application will be feasible, cost-efficient as well as


userfriendly interaction, and also it will help to check the validity of
the information provided by users respectively.
The complexity, which is the large handling of data and the
interaction of the application will be reduced since it will be easy to
maintain the responsibilities of every entity. Also, our project
application will help to develop an accurate and flexible system
since it will help to eliminate the loss of data and there will be
fewer chances of information leakage from every user.
• The application's main motto is to secure the data of members
and also provide the proper home remedies and day-to-day health
tips plans.
Also, the application will help the patients to remind them about
their appointment and prescriptions provided by doctors and also
for doctors to easily remind them about the latest appointments.
It will be also useful for the patient to request the doctor to change
his/her time of the appointment or they can select the
appointment time by themself in the application.
Our application will also help the admin to store the large amount
of information of users with their unique id so that there could not
be any misplaced information which leads to either loss of data or
lack of security issues in application respectively.
CHAPTER 4
SYSTEM DESIGN
4.1 BASIC MODULES
The following are the basic modules of the application where it will
help in giving a general idea about the application.

25
Professor Health

The first module will be patient, where the patient is having the
role of login into his/her account, if not having then it will have to
register details for login.
After login, the patient can view his/her appointments and
prescriptions provided by the doctor. Also, the patient can view
his/her health progress during his consultation to understand how
much he/she progressed.
Also, the client can send a request about a change in time of
appointment to the doctor or can change it by themself through our
application and figure it out with the doctor if he or she is
comfortable with the time change.
Similar to the patient, the second module will be the doctor. Where
the doctor can log in to his account. After logging into his account,
the doctor can view the list of clients and can provide the
consultation and home remedies through our application and some
health tips as well from the educative sections as well as can see
the request by the patient so that he can send the response or he
can change the timing of the appointment.
Also, he can write complaints about issues in the application such as
the fault in any of the modules that the doctor is facing while
consulting with the patient to the administrator.

The third module will be admin. After login, the admin will
have the responsibilities of storing and updating the
records of members as well as maintenance of the
application respectively.

Also, the admin can view the complaints issued by


patients as well as trainers so that the admin can make
changes to issues by users respectively.

26
Professor Health

Login: In this module, the patient will put his/her


information like login ID and password it will get verified
and according to the result user will get access.

View Doctor: after logging in user can see multiple options.


view doctor will display the specialization page wherein
patients can select the doctor according to the
specialization they require, the plans doctor is offering.

View patient details: the patient will be able to see a


module named with their name and also the detail that
they entered at the login page and their login activity and
also will have the option to log out and change their detail
like phone number and email etc.

where we have integrated the YouTube API and the


patient and as well as doctors can search for the latest
home remedies on YouTube which are trending on
YouTube related to that disease.

View Doctor Information: In this module user/patient can


see the information related to the doctor, the specification
of that doctor that what field the doctor specializes in and
the ratings, and also the cost of a consultation with the
doctor phone number age gender image and address and
the hospital or clinic the doctor belongs to.

Complaints: by using this module patients and the doctor


can put their complaints about applications like
prescription issues or payment related issues

View patient: by using this module doctors can look out for
the patients he/she has fixed an appointment with, or the
patients they have consulted with or consulting with.

27
Professor Health

provide health tips: by using this module the patients


can
select many different types of articles to study and to take
some health tips to improve the life style of oneself

28
Professor Health

4.2 DATA DESIGN

Data Design involves the creation of the tables, which are


generated and represented in physical data as a stored file in
the application respectively.

Data Design is done in such a way to design the database


with values, which are kept without any error or data
redundancy, or any normalization format which will result
in a more complex design and a lot of programming
structures.

The data design of the application will store the client's


information and also stores the progress of the client in a
database, which can be seen anytime by the client. Also,
the admin can update the record of members and also can
record the maintenance data of users.

The patient and doctor can write a complaint to the admin


about the doctor patient-related issues. Also, the doctor
can provide consultation, tips and also can view the list of
appointments respectively.

Each table of the database constitutes of a row and a


column to which each row and column can be consisted
as a data or information stored in the table for the
application respectively

4.3 OBJECT-ORIENTED DESIGN

Object-oriented design (OOD) is the process of using an


object-oriented methodology to design a computing system or

29
Professor Health

application. This technique enables the implementation of a


software solution based on the concepts of objects.

OOD serves as part of the object-oriented programming (OOP)


process or lifecycle.

In object-oriented system design and development, OOD helps


in designing the system architecture or layout - usually after
the completion of an object- oriented analysis (OOA).

The designed system is later created or programmed using


object-oriented

based techniques and/or an object-oriented programming


language (OOPL).

The OOD process takes the conceptual systems model, use


cases, system relational model, user interface (UI) and other
analysis data as input from the OOA phase.

This is used in OOD to identify, define and design systems


classes and objects, as well as their relationship, interface and
implementation.

4.3.1 ENTITY-RELATIONSHIP DIAGRAM

An Entity-Relationship (ER) Diagram is a type of flowchart


that illustrates how "entities" such as people, objects, or
concepts relate to each other within a system.

30
Professor Health

ER Diagrams are most often used to design or debug


relational databases in the fields of software engineering,
business information systems, education, and research.

Also known as ERDS or ER Models, they use a defined


set of symbols such as rectangles, diamonds, ovals, and
connecting lines to depict the interconnectedness of
entities, relationships, and their attributes. . They mirror
grammatical structure, with entities as nouns and
relationships adverbs.

ER diagrams are related to data structure diagrams


(DSDs), which focus on

the relationships of elements within entities instead of


relationships between entities themselves.

ER diagrams also are often used in conjunction with data


flow diagrams (DFDs), which map out the flow of
information for processes or systems.
4.3.2 CLASS DIAGRAM

Class diagram is a static diagram. It represents the static


view of an application. A class diagram is not only used for
visualizing, describing, and documenting different aspects
of a system but also for constructing executable code of
the software application.

Class diagram describes the attributes and operations of a


class and also the constraints imposed on the system.

The class diagrams are widely used in the modeling of


object-oriented systems because they are the only UML
diagrams, which can be mapped directly with
objectoriented languages.

31
Professor Health

Class diagram shows a collection of classes, interfaces,


associations, collaborations, and constraints. It is also
known as a structural diagram.

The purpose of the class diagram is to model the static


view of an application. Class diagrams are the only
diagrams that can be directly mapped with object- oriented
languages and thus widely used at the time of
construction.

UML diagrams like activity diagram, sequence diagram


can only give the sequence flow of the application,
however class diagram is a bit different. It is the most
popular UML diagram in the coder community.

4.3.3 USE CASE DIAGRAM

In the Unified Modeling Language (UML), a use case


diagram can summarize the details of your system's users
(also known as actors) and their interactions with the
system.

To build one, you'll use a set of specialized symbols and


connectors. An effective use case diagram can help your
team discuss and represent:

✓ Scenarios in which your system or application interacts


with people, organizations, or external systems
✓ Goals that your system or application helps those
entities (known as actors) achieve
✓ The scope of your system

32
Professor Health

A use case diagram doesn't go into a lot of detail-for


example, don't expect it to model the order in which steps
are performed.

Instead, a proper use case diagram depicts a high-level


overview of the relationship between use cases, actors,
and systems.

Experts recommend that use case diagrams be used to


supplement a more descriptive textual use case.

UML is the modeling toolkit that you can use to build your
diagrams. Use cases are represented with a labeled oval
shape.

Stick figures represent actors in the process, and the


actor's participation in the system is modeled with a line
between the actor and use case. To depict the system
boundary, draw a box around the use case itself.

33
Professor Health

34
Professor Health

4.3.4 FLOWCHART

A flowchart is a diagram that depicts a process, system or


computer algorithm. They are widely used in multiple fields
to document, study, plan, improve and communicate often
complex processes in clear, easy-to-understand diagrams.

Flowcharts, sometimes spelled as flow charts, use


rectangles, ovals, diamonds, and potentially numerous
other shapes to define the type of step. along with
connecting arrows to define flow and sequence.

They can range from simple, hand-drawn charts to


comprehensive computer drawn diagrams depicting
multiple steps and routes.

If we consider all the various forms of flowcharts, they are


one of the most common diagrams on the planet, used by
both technical and non-technical people in numerous
fields.

Flowcharts are sometimes called by more specialized


names such as Process Flowchart, Process Map,
Functional Flowchart, Business Process Mapping,
Business Process Modelling and Notation (BPMN), or
Process Flow Diagram(PFD).

They are related to other popular diagrams, such as Data


Flow Diagrams (DFDs) and Unified Modelling Language
(UML) Activity Diagrams.

35
Professor Health

4.3.5 COMPONENT DIAGRAM

36
Professor Health

A component diagram is used to break down a large


object-oriented system into smaller components, so as to
make them more manageable. It models the physical view
of a system such as executables, files, libraries, etc. that
resides within the node.

It visualizes the relationships as well as the organization


between the components present in the system. It helps in
forming an executable system.

A component is a single unit of the system, which is


replaceable and executable. The implementation details of
a component are hidden, and it necessitates an interface
to execute a function. It is like a black box whose behavior
is explained by the provided and required interfaces.

.Since it is a special kind of UML diagram, it holds distinct


purposes. It describes all the individual components that
are used to make the functionalities, but not the
functionalities of the system. It visualizes the physical
components inside the system. The components can be a
library. packages, files, etc.

The component diagram also describes the static view of a


system, which includes the organization of components at
a particular instant. The collection of component diagrams
represents a whole system.

37
Professor Health

4.3.6 EVENT TABLE

Event Trigger Source Activity Respons Destinati


e on
Login Into Login Patient/Doctor/A Validate Valid/ Patient/
System Request dmin Username Invalid Doctor/
And Credentia Admin

38
Professor Health

Password ls
Patient Registratio Patient Fill And Valid/ Patient
Registrati n Request Validate Invalid
on Credential Credentia
s ls
Patients Request Patient Checks Gets The Patient
Check Personal Personal Personal
Personal Details Details Details
Details List List
Patients Request Patient Sends Gets The Patient
View For List The Doctors
Doctors Doctors List
List List
Patients Request Patient Sends Gets The Patient
Request For The Details
Doctor’s Doctor’s Desired
Informati Informatio Doctor’s
on n Informatio
n
Patient’s Searches Patient Sends Patient Home
Views Home The Home Directed Remedi
Home Remedies Remedies To The es
Remedie Video Desired
s Youtube
Video
Patient’s Searches Patient Suggests Patients Health
Views Desired Different Directed Tips
Health Articles Articles To The
Tips Health
Articles
Patient Requests Patient List Of Fix Patient
Request Appointme Available Appointm
Available nts Time Slot ent
Appointm Appointme
ent Of nts
Desired
Doctor

39
Professor Health

Doctor Request Doctor List ongoing Gets list Doctor


request list of consultation consultations
ongoing list
consultation

Doctor Request Doctor List of pending Gets list of Doctor


requests pending appointments appointment
pending appointments
appointments

Admin login Login request Admin Validate Valid/ Admin


Username Invalid
and password Credentials

Add Doctors Add doctors Admin Authenticate Doctor Admin


and add added
doctor successfully

Logout from Login request Patient/ Request to Logout Patient/


system Doctors/ logout the successfully Doctor/
Admin system from the admin
system

4.3.7 TEST CASE DESIGN


step Test data Expected Result
For patient, Enter login Login id: ABC Valid login inti system
and password, press Password: 123
login

40
Professor Health

For patient, Enter login Login id: abc1 Invalid login into
and password, press Password: 123kk system
login
For patient, Click on ----------- Signup page should be
signup option displayed
Patient logs in the ----------- Home page displayed
system successfully
For patient, click on the ----------- Doctor page should be
view doctors displayed
For patient, click on ----------- Home remedies page
the home remedies should be displayed
diet plan
For patient, click on ----------- Health tips page
view Health tips should be displayed
For patient, click on ----------- A page containing
appointments appointments should
appear
For doctor, Enter login Login : doctor Valid login into system
and password, Press Password: 123
login
For doctor, Enter login Login : !doctor Invalid login into
and password, press Password: 123456 system
login
For doctor, go to ------------- A page should be
provide consultation displayed to provide
for patient option consultation for
patients.
For doctors, go to ------------------ A page should be
provide prescription -- displayed to
prescription

Steps Test data Expected Results


For Doctor , go to view -------------- A list of patients whom
patient option the doctor is consulting
should be displayed

41
Professor Health

For Doctor, go to write ----------------- A text area should be


a complaint displayed where the
dictor can write a
complaint to admin.
For admin, enter login Login id : admin Valid login into system
and password , press Password : phugyg
login
For admin, enter login Login id : admin Invalid login into
and oassword press Password :- proff system
login
For admin,go to view ------------- A record of doctors
record of members should be displayed on
option a page
For admin , go to view -------------- A list of members
record of members should be displayed on
option. page with update
option
For doctor, go to view -------------- A list of patients should
request payment option be displayed where
doctors can request
payment from patient

For admin, go to view ------------- A list of complaints


complaints option should be displayed on
page
Logout from the system -------------- It should be logged out
successfully from the
application

They are mainly three types of testing to which we are going to


perform during the completion of this test cases: o The Unit
testing, where we are going to perform each single test case
to check whether each of the case is complete or not.

42
Professor Health

The Validation testing, where we are going to surpass some


data into the application to check whether the data is stored in
correct place or not .
The Integration testing, where we are going to perform 2 or
more test cases together to make a conclusion whether if the
application is working when we run two or more test cases
together respectively.

43
Professor Health

5.2 CODE DETAILS AND CODE EFFICIENCY

Patient Login

<html
>
<head>
<title>HMS</title>
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" />
<link rel="stylesheet" type="text/css" href="style1.css">
<link href="https://fonts.googleapis.com/css?
family=IBM+Plex+Sans&display=swap" rel="stylesheet">
<!-- <link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
integrity="sha384-
HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69p
su" crossorigin="anonymous"> -->
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"

integrity="sha384ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr
7x9JvoRxT2MZw 1T" crossorigin="anonymous">
<link rel="stylesheet" href="vendor/fontawesome/css/font-awesome.min.css">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"
rel="stylesheet" id="bootstrap-css">
<style >
.form-control {
border-radius: 0.75rem;
}
</style>
<script>
var check = function() { if
(document.getElementById('password').value ==

document.getElementById('cpassword').value) {

document.getElementById('message').style.color = '#5dd05d';
document.getElementById('message').innerHTML = 'Matched';

44
Professor Health

} else {
document.getElementById('message').style.color = '#f55252';
document.getElementById('message').innerHTML = 'Password fields doesnot match';
}
}
function alphaOnly(event) { var key = event.keyCode;
return ((key >= 65 && key <= 90) || key == 8 || key == 32);
};
function checklen()
{
var pass1 = document.getElementById("password");
if(pass1.value.length<6){ alert("Password must be at least 6

characters long. Try again!"); return false;


}
}
</script>
</head>
<!------ Include the above in your HEAD tag ---------->
<body>
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav" >
<div class="container">
<a class="navbar-brand js-scroll-trigger" href="#" style="margin-top: 10px;margin
left:-65px;font-family: 'IBM Plex Sans', sans-serif;"><h4><i class="fa fa-hospital-o"
aria-hidden="true"></i>&nbsp HOSPITAL MANAGEMENT SYSTEM</h4></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data
target="#navbarResponsive" aria-controls="navbarResponsive" ariaexpanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item" style="margin-right: 40px;">
<a class="nav-link js-scroll-trigger" href="index.php" style="color: white;fontfamily:
'IBM Plex Sans', sans-serif;"><h6>HOME</h6></a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="contact.html" style="color:
white;fontfamily: 'IBM Plex Sans', sans-serif;"><h6>CONTACT</h6></a>
</li>

45
Professor Health

</ul>
</div>
</div>
</nav>
<div class="container register" style="font-family: 'IBM Plex Sans', sans-serif;">
<div class="row">
<div class="col-md-3 register-left" style="margin-top: 10%;right: 5%">
<img src="https://image.ibb.co/n7oTvU/logo_white.png" alt=""/>
<h3>Welcome</h3>
</div>
<div class="col-md-9 register-right" style="margin-top: 40px;left: 80px;">
<ul class="nav nav-tabs nav-justified" id="myTab" role="tablist" style="width:
40%;">
<li class="nav-item">
<a class="nav-link active" id="home-tab" data-toggle="tab" href="#home"
role="tab" aria-controls="home" aria-selected="true">Patient</a>
</li>
<li class="nav-item">
<a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab"
aria-controls="profile" aria-selected="false">Doctor</a>
</li>
<li class="nav-item">
<a class="nav-link" id="profile-tab" data-toggle="tab" href="#admin" role="tab"
aria-controls="admin" aria-selected="false">Admin</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="home" role="tabpanel"
arialabelledby="home-tab">
<h3 class="register-heading">Register as Patient</h3>
<form method="post" action="func2.php">
<div class="row register-form">
<div class="col-md-6">
<div class="form-group">
<input type="text" class="form-control" placeholder="First Name *" name="fname"
onkeydown="return alphaOnly(event);" required/>
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="Your Email *"
name="email" />

46
Professor Health

</div>
<div class="form-group">
<input type="password" class="form-control" placeholder="Password *"
id="password" name="password" onkeyup='check();' required/>
</div>
<div class="form-group">
<div class="maxl">
<label class="radio inline">
<input type="radio" name="gender" value="Male" checked>
<span> Male </span>
</label>
<label class="radio inline">
<input type="radio" name="gender" value="Female">
<span>Female </span>
</label>
</div>
<a href="index1.php">Already have an account? Login Now</a>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<input type="text" class="form-control" placeholder="Last Name *" name="lname"
onkeydown="return alphaOnly(event);" required/>
</div>
<div class="form-group">
<input type="tel" minlength="10" maxlength="10" name="contact"
class="formcontrol" placeholder="Contact *" />
</div>
<div class="form-group">
<input type="password" class="form-control" id="cpassword"
placeholder="Confirm Password *" name="cpassword" onkeyup='check();'
required/><span id='message'></span>
</div>
<input type="submit" class="btnRegister" name="patsub1" onclick="return
checklen();" value="Register"/>
</div>
</div>
</form>
</div>

47
Professor Health

<div class="tab-pane fade show" id="profile" role="tabpanel"


arialabelledby="profile-tab">
<h3 class="register-heading">Login as Doctor</h3>
<form method="post" action="func1.php">
<div class="row register-form">
<div class="col-md-6">
<div class="form-group">
<input type="text" class="form-control" placeholder="User Name *"
name="username3" onkeydown="return alphaOnly(event);" required/>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<input type="password" class="form-control" placeholder="Password *"
name="password3" required/>
</div>
<input type="submit" class="btnRegister" name="docsub1" value="Login"/>
</div>
</div>
</form>
</div>
<div class="tab-pane fade show" id="admin" role="tabpanel"
arialabelledby="profile-tab">
<h3 class="register-heading">Login as Admin</h3>
<form method="post" action="func3.php">
<div class="row register-form">
<div class="col-md-6">
<div class="form-group">
<input type="text" class="form-control" placeholder="User Name *"
name="username1" onkeydown="return alphaOnly(event);" required/>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<input type="password" class="form-control" placeholder="Password *"
name="password2" required/>
</div>
<input type="submit" class="btnRegister" name="adsub" value="Login"/>
</div>
</div>

48
Professor Health

</form>
</div>
</div>
</div>
</div>
</div>
</body>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-
q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-
UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz
0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-
JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"

integrity="sha384aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bAp
TppSuUkhZXN0
VxHd" crossorigin="anonymous"></script>
</html>

Doctor Login
<!DOCTY
PE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,
shrinkto-fit=no">
<link rel="stylesheet" type="text/css" href="font-
awesome-4.7.0/css/fontawesome.min.css">

49
Professor Health

<link rel="stylesheet" href="style.css">


<!-- Bootstrap CSS -->
<link rel="stylesheet" href="vendor/fontawesome/css/font-awesome.min.css">
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-
beta/css/bootstrap.min.css" integrity="sha384-
/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQs
N6M" crossorigin="anonymous">
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-
ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2
MZw1T" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?
family=IBM+Plex+Sans&display=swap
" rel="stylesheet">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
<a class="navbar-brand" href="#"><i class="fa fa-hospital-o"
ariahidden="true"></i> Hospital Management System</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-
target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<style >
.btn-outline-light:hover{ color:
#25bef7; background-color: #f8f9fa;
border-color: #f8f9fa;
}
</style>
<style > .bg-
primary {
background: #F0F2F0; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #000C40, #F0F2F0); /* Chrome
10-25, Safari 5.1-6 */
background: linear-gradient(to right, #000C40, #F0F2F0); /* W3C, IE 10+/
Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.list-group-item.active {
z-index: 2; color: #fff;
background: #F0F2F0;

50
Professor Health

background: -webkit-linear-gradient(to right, #000C40, #F0F2F0);


background: linear-gradient(to right, #000C40, #F0F2F0);
border-color: #c3c3c3;
}
.text-primary {
color: #342ac1!important;
}
</style>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="logout1.php"><i class="fa fa-power-off"
ariahidden="true"></i> Logout</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"></a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0" method="post" action="search.php">
<input class="form-control mr-sm-2" type="text" placeholder="Enter contact
number" aria-label="Search" name="contact">
<input type="submit" class="btn btn-primary" id="inputbtn"
name="search_submit" value="Search">
</form>
</div>
</nav>
</head>
<style type="text/css">
button:hover{cursor:pointer;}

#inputbtn:hover{cursor:pointer;} </style>
<body style="padding-top:50px;">
<div class="container-fluid" style="margin-top:50px;">
<h3 style = "margin-left: 40%; padding-bottom: 20px;font-family:'IBM Plex
Sans', sans-serif;"> Welcome &nbspryan </h3>
<div class="row">
<div class="col-md-4" style="max-width:18%;margin-top: 3%;">
<div class="list-group" id="list-tab" role="tablist">
<a class="list-group-item list-group-item-action active" href="#list-dash"
role="tab" aria-controls="home" data-toggle="list">Dashboard</a>

51
Professor Health

<a class="list-group-item list-group-item-action" href="#list-app" id="list-


applist" role="tab" data-toggle="list" aria-controls="home">Appointments</a>
<a class="list-group-item list-group-item-action" href="#list-pres" id="list-
preslist" role="tab" data-toggle="list" aria-controls="home"> Prescription
List</a>
</div><br>
</div>
<div class="col-md-8" style="margin-top: 3%;">
<div class="tab-content" id="nav-tabContent" style="width: 950px;">
<div class="tab-pane fade show active" id="list-dash" role="tabpanel"
arialabelledby="list-dash-list">
<div class="container-fluid container-fullw bg-white" >
<div class="row">
<div class="col-sm-4" style="left: 10%">
<div class="panel panel-white no-radius text-center">
<div class="panel-body">
<span class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x text-
primary"></i> <i class="fa fa-paperclip fa-stack-1x fa-inverse"></i> </span>
<h4 class="StepTitle" style="margin-top: 5%;"> View Appointments</h4>
<script>
function clickDiv(id) {
document.querySelector(id).click();
}
</script>
<p class="links cl-effect-1">
<a href="#list-app" onclick="clickDiv('#list-app-list')">
Appointment List
</a>
</p>
</div>
</div>
</div>
<div class="col-sm-4" style="left: 15%">
<div class="panel panel-white no-radius text-center">
<div class="panel-body">
<span class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x
textprimary"></i> <i class="fa fa-file-powerpoint-o fa-stack-1x
fa-inverse"></i> </span>
<h4 class="StepTitle" style="margin-top: 5%;"> Prescriptions</h4>
<p class="links cl-effect-1">
<a href="#list-pres" onclick="clickDiv('#list-pres-list')">

52
Professor Health

Prescription List
</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="list-app" role="tabpanel" aria-
labelledby="listhome-list">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Patient</th>
<th scope="col">Gender</th>
<th scope="col">Email</th>
<th scope="col">Contact</th>
<th scope="col">Date</th>
<th scope="col">Time</th>
<th scope="col">Status</th>
<th scope="col">Action</th>
<th scope="col">Prescribe</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Curtis Hicks</td>
<td>Male</td>
<td>[email protected]</td>
<td>7410000010</td>
<td>2021-07-05</td>
<td>14:00:00</td>
<td>
Cancelled by Patient</td>
<td>
Cancelled
</td>
<td>

53
Professor Health

-
</td>
</tr></a>
<tr>
<td>2</td>
<td>Curtis Hicks</td>
<td>Male</td>
<td>[email protected]</td>
<td>7410000010</td>
<td>2021-07-05</td>
<td>10:00:00</td>
<td>
Active</td>
<td>
<a href="doctor-panel.php?ID=16&cancel=update"
onClick="return confirm('Are you sure you want to cancel this appointment ?')"
title="Cancel Appointment" tooltip-placement="top" tooltip="Remove"><button
class="btn btn-danger">Cancel</button></a>
</td>
<td>
<a href="prescribe.php?
pid=1&ID=16&fname=Curtis&lname=Hicks&appdate=20
21-07-05&apptime=10:00:00"
tooltip-placement="top" tooltip="Remove" title="prescribe">
<button class="btn btn-success">Prescribe</button></a>
</td>
</tr></a>
<tr>
<td>3</td>
<td>Akshata Jondhale</td>
<td>Female</td>
<td>[email protected]</td>
<td>7894561234</td>
<td>2023-04-21</td>
<td>10:00:00</td>
<td>
Active</td>
<td>
<a href="doctor-panel.php?ID=19&cancel=update"

54
Professor Health

onClick="return confirm('Are you sure you want to cancel this appointment ?')"
title="Cancel Appointment" tooltip-placement="top" tooltip="Remove"><button
class="btn btn-danger">Cancel</button></a>
</td>
<td>
<a href="prescribe.php?
pid=14&ID=19&fname=Akshata&lname=Jondhale&appd ate=2023-04-
21&apptime=10:00:00"
tooltip-placement="top" tooltip="Remove" title="prescribe">
<button class="btn btn-success">Prescribe</button></a>
</td>
</tr></a>
</tbody>
</table>
<br>
</div>
<div class="tab-pane fade" id="list-pres" role="tabpanel" aria-
labelledby="listpres-list">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Patient</th>
<th scope="col">Appointment Date</th>
<th scope="col">Appointment Time</th>
<th scope="col">Disease</th>
<th scope="col">Allergy</th>
<th scope="col">Prescribe</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Curtis Hicks</td>
<td>2021-07-05</td>
<td>10:00:00</td>
<td>Tuberculosis</td>
<td>lumpy rash on the legs - or lupus vulgaris which gives lumps or ulcers</td>
<td>Isoniazid, Ethambutol (Myambutol), Linezolid (Zyvox)</td>
</tr>

55
Professor Health

</tbody>
</table>
</div>

<div class="tab-pane fade" id="list-app" role="tabpanel" aria-


labelledby="listpat-list">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">First Name</th>
<th scope="col">Last Name</th>
<th scope="col">Email</th>
<th scope="col">Contact</th>
<th scope="col">Doctor Name</th>
<th scope="col">Consultancy Fees</th>
<th scope="col">Appointment Date</th>
<th scope="col">Appointment Time</th>
</tr>
</thead>
<tbody>
<tr>
<td>Liam</td>
<td>Moore</td>
<td>[email protected]</td>
<td>7412225680</td>
<td>WillWilliams</td>
<td>435</td>
<td>2021-07-06</td>
<td>10:00:00</td>
</tr>
<tr>
<td>Curtis</td>
<td>Hicks</td>
<td>[email protected]</td>
<td>7410000010</td>
<td>ryan</td>
<td>440</td>
<td>2021-07-05</td>
<td>14:00:00</td>
</tr>
<tr>

56
Professor Health

<td>Curtis</td>
<td>Hicks</td>
<td>[email protected]</td>
<td>7410000010</td>
<td>ryan</td>
<td>440</td>
<td>2021-07-05</td>
<td>10:00:00</td>
</tr>
<tr>
<td>Kathryn</td>
<td>Anderson</td>
<td>[email protected]</td>
<td>7850002580</td>
<td>lewis</td>
<td>280</td>
<td>2021-07-05</td>
<td>10:00:00</td>
</tr>
<tr>
<td>Brian</td>
<td>Rowe</td>
<td>[email protected]</td>
<td>7012569999</td>
<td>Ralph</td>
<td>450</td>
<td>2021-07-06</td>
<td>08:00:00</td>
</tr>
<tr>
<td>Akshata</td>
<td>Jondhale</td>
<td>[email protected]</td>
<td>7894561234</td>
<td>ryan</td>
<td>440</td>
<td>2023-04-21</td>
<td>10:00:00</td>
</tr>
</tbody>
</table>

57
Professor Health

<br>
</div>

<div class="tab-pane fade" id="list-messages" role="tabpanel"


arialabelledby="list-messages-list">...</div>
<div class="tab-pane fade" id="list-settings" role="tabpanel"
arialabelledby="list-settings-list">
<form class="form-group" method="post" action="admin-panel1.php">
<div class="row">
<div class="col-md-4"><label>Doctor Name:</label></div>
<div class="col-md-8"><input type="text" class="form-control" name="doctor"
required></div><br><br>
<div class="col-md-4"><label>Password:</label></div>
<div class="col-md-8"><input type="password" class="form-control"
name="dpassword" required></div><br><br>
<div class="col-md-4"><label>Email ID:</label></div>
<div class="col-md-8"><input type="email" class="form-control"
name="demail" required></div><br><br>
<div class="col-md-4"><label>Consultancy Fees:</label></div>
<div class="col-md-8"><input type="text" class="form-control"
name="docFees" required></div><br><br>
</div>
<input type="submit" name="docsub" value="Add Doctor" class="btn
btnprimary">
</form>
</div>
<div class="tab-pane fade" id="list-attend" role="tabpanel" arialabelledby="list-
attend-list">...</div>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-
KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93
hXpG5KkN" crossorigin="anonymous"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"
integrity="sha384-
b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNF
Nmj4" crossorigin="anonymous"></script>

58
Professor Health

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-
beta/js/bootstrap.min.js" integrity="sha384-
h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDI
qNm1" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/limontesweetalert2/6.10.1/
sweetalert2.all.min.js"></script>
</body>

59
Professor Health

ADMIN LOGIN

<!DOCTYPE html>

<html lang="en">

<head>

<!-- Required meta tags -->

<meta charset="utf-8">

<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" />


<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<link rel="stylesheet" type="text/css"
href="font-awesome-4.7.0/css/fontawesome.min.css">

<link rel="stylesheet" href="style.css">

<!-- Bootstrap CSS -->


<link rel="stylesheet"
href="vendor/fontawesome/css/fontawesome.min.css">
<link
href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans&display=swap
" rel="stylesheet">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0beta/css/
bootstrap.min.css" integrity="sha384-
/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M"
crossorigin="anonymous">

<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">

<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.c
ss" integrity="sha384-
ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1
T" crossorigin="anonymous">

60
Professor Health

<a class="navbar-brand" href="#"><i class="fa fa-hospital-o"


ariahidden="true"></i> Hospital Management System</a>

<button class="navbar-toggler" type="button" data-toggle="collapse"


datatarget="#navbarSupportedContent" aria-
controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle
navigation">

<span class="navbar-toggler-icon"></span>

</button>

<script > var check = function() { if

(document.getElementById('dpassword').value ==

document.getElementById('cdpassword').value)

{ document.getElementById('message').style.color =

'#5dd05d'; document.getElementById('message').innerHTML =

'Matched';

} else {

document.getElementById('message').style.color = '#f55252';
document.getElementById('message').innerHTML = 'Password fields doesnot
match';

function alphaOnly(event) { var key = event.keyCode;

return ((key >= 65 && key <= 90) || key == 8 || key == 32);

};

</script>

<style > .bg-primary { background: #F0F2F0; /*

fallback for old browsers */

background: -webkit-linear-gradient(to right, #000C40, #F0F2F0); /* Chrome


10-25, Safari 5.1-6 */

61
Professor Health

background: linear-gradient(to right, #000C40, #F0F2F0); /* W3C, IE 10+/


Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

.col-md-4{ max-

width:20% !important;

.list-group-item.active {

z-index: 2; color:

#fff;

background: #F0F2F0; background: -webkit-linear-gradient(to

right, #000C40, #F0F2F0); background: linear-gradient(to right,

#000C40, #F0F2F0); border-color: #c3c3c3;

.text-primary { color:

#342ac1!important;

#cpass { display: -

webkit-box;

#list-app{ font-

size:15px;

.btn-primary{ background-

color: #3c50c1; border-color:

#3c50c1;

</style>

62
Professor Health

<div class="collapse navbar-collapse" id="navbarSupportedContent">

<ul class="navbar-nav mr-auto">

<li class="nav-item">
<a class="nav-link" href="logout1.php"><i class="fa fa-power-off"
ariahidden="true"></i> Logout</a>

</li>

<li class="nav-item">

<a class="nav-link" href="#"></a>

</li>

</ul>

</div>

</nav>

</head>

<style type="text/css">

button:hover{cursor:pointer;}

#inputbtn:hover{cursor:pointer;}

</style>

<body style="padding-top:50px;">

<div class="container-fluid" style="margin-top:50px;">


<h3 style = "margin-left: 40%; padding-bottom: 20px;font-family: 'IBM Plex
Sans', sans-serif;"> WELCOME ADMINISTRATOR </h3>

<div class="row">

<div class="col-md-4" style="max-width:25%;margin-top: 3%;">

<div class="list-group" id="list-tab" role="tablist">


<a class="list-group-item list-group-item-action active" id="list-dash-list"
data-toggle="list" href="#list-dash" role="tab"
ariacontrols="home">Dashboard</a>
<a class="list-group-item list-group-item-action" href="#list-doc"
id="listdoc-list" role="tab" aria-controls="home" data-toggle="list">View
Doctors</a>

63
Professor Health

<a class="list-group-item list-group-item-action" href="#list-pat" id="listpat-


list" role="tab" data-toggle="list" aria-controls="home">View Patients</a>
<a class="list-group-item list-group-item-action" href="#list-app"
id="listapp-list" role="tab" data-toggle="list" aria-
controls="home">Appointment Details</a>
<a class="list-group-item list-group-item-action" href="#list-pres"
id="listpres-list" role="tab" data-toggle="list" aria-
controls="home">Prescription List</a>
<a class="list-group-item list-group-item-action" href="#list-settings"
id="list-adoc-list" role="tab" data-toggle="list" aria-controls="home">Add
Doctor</a>
<a class="list-group-item list-group-item-action" href="#list-settings1"
id="list-ddoc-list" role="tab" data-toggle="list" aria-controls="home">Delete
Doctor</a>
<a class="list-group-item list-group-item-action" href="#list-mes"
id="listmes-list" role="tab" data-toggle="list" aria-
controls="home">Queries</a>

</div><br>

</div>

<div class="col-md-8" style="margin-top: 3%;">

<div class="tab-content" id="nav-tabContent" style="width: 980px;">

<div class="tab-pane fade show active" id="list-dash" role="tabpanel"


arialabelledby="list-dash-list">

<div class="container-fluid container-fullw bg-white" >

<div class="row">

<div class="col-sm-4">

<div class="panel panel-white no-radius text-center">

<div class="panel-body">
<span class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x
text-primary"></i> <i class="fa fa-user-md fa-stack-1x fa-inverse"></i> </span>

64
Professor Health

<h4 class="StepTitle" style="margin-top: 5%;">Doctor List</h4>

<script>

function clickDiv(id)

{ document.querySelector(id).click();

</script>

<p class="links cl-effect-1">

<a href="#list-doc" onclick="clickDiv('#list-doc-list')">

View Doctors

</a>

</p>

</div>

</div>

</div>

<div class="col-sm-4" style="left: -3%">

<div class="panel panel-white no-radius text-center">

<div class="panel-body" >


<span class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x
text-primary"></i> <i class="fa fa-users fa-stack-1x fa-inverse"></i> </span>

<h4 class="StepTitle" style="margin-top: 5%;">Patient List</h4>

<p class="cl-effect-1">

<a href="#app-hist" onclick="clickDiv('#list-pat-list')">

View Patients

</a>

</p>

</div>

</div>

</div>

65
Professor Health

<div class="col-sm-4">

<div class="panel panel-white no-radius text-center">

<div class="panel-body" >


<span class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x
text-primary"></i> <i class="fa fa-paperclip fa-stack-1x fa-inverse"></i>
</span>
<h4 class="StepTitle" style="margin-top: 5%;">Appointment
Details</h4>

<p class="cl-effect-1">

<a href="#app-hist" onclick="clickDiv('#list-app-list')">

View Appointments

</a>

</p>

</div>

</div>

</div>

</div>

<div class="row">

<div class="col-sm-4" style="left: 13%;margin-top: 5%;">

<div class="panel panel-white no-radius text-center">

<div class="panel-body" >


<span class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x
text-primary"></i> <i class="fa fa-file-powerpoint-o fa-stack-1x fa-inverse"></i>
</span>
<h4 class="StepTitle" style="margin-top: 5%;">Prescription
List</h4>

<p class="cl-effect-1">

66
Professor Health

<a href="#list-pres" onclick="clickDiv('#list-pres-list')">

View Prescriptions

</a>

</p>

</div>

</div>

</div>

<div class="col-sm-4" style="left: 18%;margin-top: 5%">

<div class="panel panel-white no-radius text-center">

<div class="panel-body" >


<span class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x
text-primary"></i> <i class="fa fa-plus-circle fa-stack-1x fa-inverse"></i>
</span>
<h4 class="StepTitle" style="margin-top: 5%;">Manage
Doctors</h4>

<p class="cl-effect-1">
<a href="#app-hist" onclick="clickDiv('#list-adoc-list')">Add
Doctors</a>

&nbsp|

<a href="#app-hist" onclick="clickDiv('#list-ddoc-list')">

Delete Doctors

</a>

</p>

</div>

</div>

</div>

</div>

67
Professor Health

</div>

</div>

<div class="tab-pane fade" id="list-doc" role="tabpanel"


arialabelledby="list-home-list">

<div class="col-md-8">

<form class="form-group" action="doctorsearch.php" method="post">

<div class="row">
<div class="col-md-10"><input type="text" name="doctor_contact"
placeholder="Enter Email ID" class = "form-control"></div>
<div class="col-md-2"><input type="submit"
name="doctor_search_submit" class="btn btn-primary"
value="Search"></div></div>

</form>

</div>

<table class="table table-hover">

<thead>

<tr>

<th scope="col">#</th>

<th scope="col">Doctor Name</th>

<th scope="col">Specialization</th>

<th scope="col">Email</th>

<th scope="col">Username</th>

<th scope="col">Fees</th>

</tr>

</thead>

<tbody>

<tr>

68
Professor Health

<td>1</td>

<td>Will Williams</td>

<td>Cardiologist</td>

<td>[email protected]</td>

<td>WillWilliams</td>

<td>$435</td>

</tr><tr>

<td>2</td>

<td>Ralphn Bh</td>

<td>Neurologist</td>

<td>[email protected]</td>

<td>Ralph</td>

<td>$450</td>

</tr><tr>

<td>3</td>

<td>Ryan Chandler</td>

<td>Pediatrician</td>

<td>[email protected]</td>

<td>ryan</td>

<td>$440</td>

</tr><tr>

<td>4</td>

<td>Lou Lewis</td>

<td>Gynecologist</td>

<td>[email protected]</td>

<td>lewis</td>

<td>$280</td>

</tr><tr>

69
Professor Health

<td>5</td>

<td>Chris Olivas</td>

<td>Oncologist</td>

<td>[email protected]</td>

<td>chris</td>

<td>$580</td>

</tr><tr>

<td>6</td>

<td>Danial Rivera</td>

<td>Neurologist</td>

<td>[email protected]</td>

<td>danial</td>

<td>$210</td>

</tr> </tbody>

</table>

<br>

</div>

<div class="tab-pane fade" id="list-pat" role="tabpanel" arialabelledby="list-


pat-list">

<div class="col-md-8">

<form class="form-group" action="patientsearch.php" method="post">

<div class="row">
<div class="col-md-10"><input type="text" name="patient_contact"
placeholder="Enter Contact" class = "form-control"></div>
<div class="col-md-2"><input type="submit"
name="patient_search_submit" class="btn btn-primary"
value="Search"></div></div>

70
Professor Health

</form>

</div>

<table class="table table-hover">

<thead>

<tr>

<th scope="col">#</th>

<th scope="col">Fullname</th>

<th scope="col">Gender</th>

<th scope="col">Email</th>

<th scope="col">Contact</th>

</tr>

</thead>

<tbody>

<tr>

<td>1</td>

<td>Curtis Hicks</td>

<td>Male</td>

<td>[email protected]</td>

<td>7410000010</td>

</tr><tr>

<td>2</td>

<td>Emily Smith</td>

<td>Female</td>

<td>[email protected]</td>

<td>7896541222</td>

</tr><tr>

<td>3</td>

71
Professor Health

<td>Robert Ray</td>

<td>Male</td>

<td>[email protected]</td>

<td>7014744444</td>

</tr><tr>

<td>4</td>

<td>Michael Foster</td>

<td>Male</td>

<td>[email protected]</td>

<td>7023696969</td>

</tr><tr>

<td>5</td>

<td>Victor Owen</td>

<td>Male</td>

<td>[email protected]</td>

<td>7897895500</td>

</tr><tr>

<td>6</td>

<td>Johnny Collins</td>

<td>Male</td>

<td>[email protected]</td>

<td>7530001250</td>

</tr><tr>

<td>7</td>

<td>Elsie Meads</td>

<td>Female</td>

<td>[email protected]</td>

<td>7850001250</td>

72
Professor Health

</tr><tr>

<td>8</td>

<td>David Fburn</td>

<td>Male</td>

<td>[email protected]</td>

<td>7301450000</td>

</tr><tr>

<td>9</td>

<td>Brandon Mckinnon</td>

<td>Male</td>

<td>[email protected]</td>

<td>7026969500</td>

</tr><tr>

<td>10</td>

<td>Tyler Smith</td>

<td>Male</td>

<td>[email protected]</td>

<td>7900145300</td>

</tr><tr>

<td>11</td>

<td>Kathryn Anderson</td>

<td>Female</td>

<td>[email protected]</td>

<td>7850002580</td>

</tr><tr>

<td>12</td>

<td>Liam Moore</td>

<td>Male</td>

73
Professor Health

<td>[email protected]</td>

<td>7412225680</td>

</tr><tr>

<td>13</td>

<td>Brian Rowe</td>

<td>Male</td>

<td>[email protected]</td>

<td>7012569999</td>

</tr><tr>

<td>14</td>

<td>Akshata Jondhale</td>

<td>Female</td>

<td>[email protected]</td>

<td>7894561234</td>

</tr> </tbody>

</table>

<br>

</div>

<div class="tab-pane fade" id="list-pres" role="tabpanel"


arialabelledby="list-pres-list">

<div class="col-md-12">

<div class="row">

<table class="table table-hover">

74
Professor Health

<thead>

<tr>

<th scope="col">#</th>

<th scope="col">Doctor</th>

<th scope="col">Fullname</th>

<th scope="col">Appointment Date</th>

<th scope="col">Appointment Time</th>

<th scope="col">Disease</th>

<th scope="col">Allergy</th>

<th scope="col">Prescription</th>

</tr>

</thead>

<tbody>

<tr>

<td>1</td>

<td>WillWilliams</td>

<td>Liam Moore</td>

<td>2021-07-06</td>

<td>10:00:00</td>

<td>Congenital heart disease</td>

<td>rhinoconjunctivitis</td>

<td>trandolapril (Mavik)</td>

</tr><tr>

<td>2</td>

<td>ryan</td>

<td>Curtis Hicks</td>

<td>2021-07-05</td>

<td>10:00:00</td>

75
Professor Health

<td>Tuberculosis</td>
<td>lumpy rash on the legs - or lupus vulgaris which gives lumps
or ulcers</td>

<td>Isoniazid, Ethambutol (Myambutol), Linezolid (Zyvox)</td>

</tr><tr>

<td>3</td>

<td>lewis</td>

<td>Kathryn Anderson</td>

<td>2021-07-05</td>

<td>10:00:00</td>

<td>Ovarian cysts</td>

<td>00000000</td>
<td>Narcotic analgesics and nonsteroidal anti-inflammatory
drugs</td>

</tr><tr>

<td>4</td>

<td>Ralph</td>

<td>Brian Rowe</td>

<td>2021-07-06</td>

<td>08:00:00</td>

<td>Cerebral Aneurysm</td>

<td>0000000</td>
<td>Nimodipine - empty stomach, at least 1 hour before a meal or
2 hours after a meal</td>

</tr> </tbody>

</table>

<br>

</div>

</div>

</div>

76
Professor Health

<div class="tab-pane fade" id="list-app" role="tabpanel"


arialabelledby="list-pat-list">

<div class="col-md-8">

<form class="form-group" action="appsearch.php" method="post">

<div class="row">
<div class="col-md-10"><input type="text" name="app_contact"
placeholder="Enter Contact" class = "form-control"></div>
<div class="col-md-2"><input type="submit" name="app_search_submit"
class="btn btn-primary" value="Search"></div></div>

</form>

</div>

<table class="table table-hover">

<thead>

<tr>

<th scope="col">#</th>

<th scope="col">Fullname</th>

<th scope="col">Gender</th>

<th scope="col">Email</th>

<th scope="col">Contact</th>

<th scope="col">Doctor</th>

<th scope="col">Fees</th>

<th scope="col">Date</th>

<th scope="col">Time</th>

<th scope="col">Status</th>

77
Professor Health

</tr>

</thead>

<tbody>

<tr>

<td>1</td>

<td>Liam Moore</td>

<td>Male</td>

<td>[email protected]</td>

<td>7412225680</td>

<td>WillWilliams</td>

<td>$435</td>

<td>2021-07-06</td>

<td>10:00:00</td>

<td>

Active</td>

</tr>

<tr>

<td>2</td>

<td>Curtis Hicks</td>

<td>Male</td>

<td>[email protected]</td>

<td>7410000010</td> <td>ryan</td>

<td>$440</td>

<td>2021-07-05</td>

<td>14:00:00</td>

<td>

Cancelled by Patient</td>

</tr>

78
Professor Health

<tr>

<td>3</td>

<td>Curtis Hicks</td>

<td>Male</td>

<td>[email protected]</td>

<td>7410000010</td>

<td>ryan</td>

<td>$440</td>

<td>2021-07-05</td>

<td>10:00:00</td>

<td>

Active</td>

</tr>

<tr>

<td>4</td>

<td>Kathryn Anderson</td>

<td>Female</td>

<td>[email protected]</td>

<td>7850002580</td>

<td>lewis</td>

<td>$280</td>

<td>2021-07-05</td>

<td>10:00:00</td>

<td>

Active</td>

</tr>

<tr>

<td>5</td>

79
Professor Health

<td>Brian Rowe</td>

<td>Male</td>

<td>[email protected]</td>

<td>7012569999</td>

<td>Ralph</td>

<td>$450</td>

<td>2021-07-06</td>

<td>08:00:00</td>

<td>

Active</td>

</tr>

<tr>

<td>6</td>

<td>Akshata Jondhale</td>

<td>Female</td>

<td>[email protected]</td>

<td>7894561234</td>

<td>ryan</td>

<td>$440</td>

<td>2023-04-21</td>

<td>10:00:00</td>

<td>

Active</td>

</tr>

</tbody>

</table>

<br>

</div>

80
Professor Health

<div class="tab-pane fade" id="list-messages" role="tabpanel"


arialabelledby="list-messages-list">...</div>

<div class="tab-pane fade" id="list-settings" role="tabpanel"


arialabelledby="list-settings-list">

<form class="form-group" method="post" action="admin-panel1.php">

<div class="row">

<div class="col-md-4"><label>Doctor Name:</label></div>


<div class="col-md-8"><input type="text" class="form-control"
name="doctorname" onkeydown="return alphaOnly(event);"
required></div><br><br>

<div class="col-md-4"><label>Username:</label></div>
<div class="col-md-8"><input type="text" class="form-control"
name="doctor" onkeydown="return alphaOnly(event);"
required></div><br><br>

<div class="col-md-4"><label>Specialization:</label></div>

<div class="col-md-8">
<select name="special" class="form-control" id="special"
required="required">
<option value="head" name="spec" disabled selected>Select
Specialization</option>

<option value="General" name="spec">General</option>


<option value="Gynecologist"
name="spec">Gynecologist</option>

<option value="Oncologist">Oncologist</option>

<option value="Cardiologist" name="spec">Cardiologist</option>

<option value="Gastroenterologist">Gastroenterologist</option>

<option value="Neurologist" name="spec">Neurologist</option>

<option value="Pediatrician" name="spec">Pediatrician</option>

</select>

</div><br><br>

81
Professor Health

<div class="col-md-4"><label>Email ID:</label></div>


<div class="col-md-8"><input type="email" class="form-control"
name="demail" required></div><br><br>

<div class="col-md-4"><label>Password:</label></div>
<div class="col-md-8"><input type="password" class="formcontrol"
onkeyup='check();' name="dpassword" id="dpassword"
required></div><br><br>

<div class="col-md-4"><label>Confirm Password:</label></div>


<div class="col-md-8" id='cpass'><input type="password"
class="form-control" onkeyup='check();' name="cdpassword"
id="cdpassword" required>&nbsp &nbsp<span id='message'></span>
</div><br><br>

Code Efficiency

82
Professor Health

The Java code is very easy and also very efficient to


understand with respect to the implementation of code in
Android.
While calling any function, it was much difficult since there
were so many java files with so many ids from different
java files whether to call correct id with respect to the
correct program respectively. Java also helps in making
database since it is SQLite.

83
Professor Health

5.3 TESTING APPROACHES


A testing approaches is the test strategy to the implementation of the
project which defines how the test would be carried out for project
respectively. It has two techniques-
Proactive - An approach in which the test design process
initiated as early as possible in order to find out the defects as
well as to fix the defects before build of the project is created.
Reactive - An approach in which test is not started after code
and design is completed for the project respectively.

5.3.1 UNIT TESTING


Unit testing, which is also known as individual testing, is a level of
software testing where each unit or individual component of the
project is tested. The purpose is to validate that each unit of software
performs as designed.
The main aim of this test is to isolate each of the system and also to
keep track of all individuals which also helps in identifying, analysing
and also test the defects respectively. In this testing we have 3 units
i.e. - 3 modules: -
Admin Module -
In Admin module, the admin has authorized to keep data of all the
list of patients as well as doctor who had registered. Also, the admin
module can save all the records list and also can view the list later.
Also, the Admin module have accessed the feedback list send by
patients as well as doctors.

Client Module -

84
Professor Health

In Patient module, the Patient can view the available doctors as well
as appointments list as per doctors provided timings. Also, the client
can see the profile with the progress. The Patient can send the
feedback to the doctors respectively.
Trainer Module-
In Doctor Module, the Doctor can view the list of patients they have
fixed an appointment with as well the doctor can give prescription as
per required for the patients respectively. Also, the doctor can
update the patient's appointment timings and details if required to,
and also can send feedback to the admin about the application
respectively.

53.2 INTEGRATION TESTING


Integration testing is the level of software testing where individual
units are combined and tested as group. The purpose of this testing is
to expose the faults in interaction between integrated units and also
to verify the functional performance and also the reliability between
modules which are integrated. This setting is performed by
developers themselves or by testers perform integration testing.
The Approach which we used in this testing is the bottom-up
approach where the testing starts from low level of the system or
design to the high level of the design in the system respectively.

5.4 TESTING APPROACHES

85
Professor Health

86
Professor Health

87
Professor Health

CHAPTER 6
RESULTS AND DISCUSSIONS

6.1 TEST REPORTS


SR TEST STEP DESCRIPTION EXPECTED FINAL
NO. CASE OUTPUT OUTCOME

88
Professor Health

1. Patient Patient should see the Should display successful


Doctor information as the the doctor
per the doctor selected information
by patient list
2. Patient Patient should see the Should display Successful
Doctor list for the the docr list
treatment for patient
3. Patient The patient should see Should display Successful
the profile with the the profile
progress with progress
4. Patient The patient should send The feedback Successful
he feedback to the admin option should
be display so
that the
patient can
send
5. Patient The client should logout Should display Successful
successfully to the login login page
page
6. Doctor The doctor should see List of Successful
the list of patients patients
undeer him should be
displayed
7. Doctor Doctor can update the Patient status Successful
progress or status of the should be
patient updated.
8. Doctor Trainer can select the Docor should Successful
presentation for the update the
client
prescription
for the client.
9. Doctor Feedback or complaints Feedback Successful
can be sent by doctor to should be

89
Professor Health

admin successfully
logout to login
page.
10. Doctor Doctor should logout Doctor should Successful
from the page be
successfully
logout to login
page
11. Admin Admin can see the list of Doctors list Successful
registered doctors should be
displayed
12. Admin List of registered patients Patients list Successful
should also displayed should be
displayed
13. Admin List of feedback send by Feedback lis Successful
doctors as well as should be
patients should display displayed
14. Admin Admin should logout Admin should Successful
from the hoe page successfully
logout to loin
page.

CHAPTER 7
CONCLUSION
7.1 CONCLUSION

We wanted to solve this problem and bring up a blend of Indian Home


remedies that are popular on the internet with an option to level up the
treatment for serious diseases by fixing an appointment with the doctor
or having an online consultation from the comfort of our homes.

90
Professor Health

It helps the patient to find authenticated doctors and search for home
remedies if the patient finds the disease easily curable with the remedies
and also the educative section to read some health tips and be updated
with the knowledge of one's health. The project also deals with the
interaction between the patient and doctors in a more efficient way. The
main motive of the project is to provide the user with basic health
facilities in the comfort of their homes.
It also helps Doctors to save up on the cost of clinics and their
management instead they can invest their time on this application to cure
patients and also make a living for themselves. The main motive of our
application is to educate patients as well as remove the physical
interaction between doctors and patients where it can be removed.

7.2 LIMITATION OF THE SYSTEM


The application is connected to the real time database of the firebase database
hence, the user has to stay connected all the time to initiate a smooth working
of the application without any errors.

7.3 THE FUTURE SCOPE OF THE PROJECT


The application has a scope of improvement in the tele medicine section as
many miHealth apps have those features and then the range and the
knowledge of the app regarding the home remedies can be improved further.
And there is always a room of improvement for the GUI by using newest
technology the GUI can be improved.
REFERENCE
YOUTUBE :
ProgrammingKnowledge , CodeAstro

91
Professor Health

SUMMARY
This proposed project is a Mobile Healthcare Android Application. It
allows the patients to see doctors as well as home remedies
provided by our application with various options so that the patient
can be clear about his/her health conditions as well select the
doctors respectively.

Also, the patients can view his appointments as well as information


of the doctors they have fixed an appointment with view profile
option. On the other hand, the doctor can see the list of patients
along with their progress/ status. The patients as well as doctor
have common option of feedback where the doctors or patients can
express their opinion or complaint by sending feedback to the
admin of the application respectively. The doctor can add
Prescriptions according to the client's need as well as the trainer
can add the progress or status of his patient.

92
Professor Health

On the Admin part, the admin can view the list of registered
patients as well as users along with the list of feedback send by
doctor and patients respectively. The Admin have option of records
list where he can save the records and authenticate doctors so that
the legit doctor is added to the application and also can be viewed
respectively.

93

You might also like