Professional Documents
Culture Documents
E-Healthcare Management System: Final Year Project
E-Healthcare Management System: Final Year Project
E-Healthcare Management System: Final Year Project
Submitted by +i
Supervised by +i
+ i+ i+ i+ i+ i
June 2020 +i
e-Healthcare Management System +i +i
Submitted by +i
Supervised by +i
+ i+ i+ i+ i+ i+ i+ i
In Partial Fulfillment
+i +i
June 2020 +i
Certificate of Approval
+i +i
The project entitled “e-Healthcare Management System” is hereby approved as a creditable engineering
+i +i +i +i +i +i +i +i +i +i +i +i +
iproject carried out and presented in a manner acceptable as a partial fulfillment of the requirements for
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
Approved by: +i
___________________________________________
Engr. Supervisor name,
+i +i +i
Project Supervisor, +i
___________________________________________
Engr. Dr. Shahzadi Tayyaba,
+i +i +i
Head,
Department of Computer Engineering, +i +i +i
I
Declaration
I certify that the work that is undertaken for the project entitled “e-Healthcare Management System” is
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
my work. The work has not been presented elsewhere for assessment. The material used from other
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
______________________
Name of Student
+i +i
Registration Number +i
______________________
Name of Student
+i +i
Registration Number +i
II
Dedication
I dedicated this to my parents, teachers, friends, and fellow members without whom it was impossible
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
III
Acknowledgements
We express our sincere gratitude to all those people who have been associated with this project and have
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
We would like to thank our supervisor, Engr. Supervisor Name for his / her direction, assistance, and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i guidance. His / her recommendations and suggestions have been invaluable for the project.
+i +i +i +i +i +i +i +i +i +i +i +i +i
We are also thankful to Engr. Dr. Shahzadi Tayyaba, Head of Department and our teachers for
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
We are also thankful to our families and friends for their encouragement and support.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i
IV
Abstract
The summary of this Project was to develop an Online Doctor's Appointment and Medical Database
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i Management System in Pakistan. The purpose of implementing this application was to create a system
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i through which a patient can easily compare, choose and make an online appointment for a doctor just by
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
i sitting at home. The second thing of this project was to replace manual medical file keeping system with
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
+i
The reason behind creating this system was the “trend of private medical clinics” and manual medical
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i file keeping system in Pakistan. Online appointment and database management system aims to improve
+ i +i + i + i + i + i + i + i + i + i + i +i + i +
i quality medical care by bringing all medical clinics of the city at one platform, eliminating long waiting
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i lines and replacing manual medical file keeping with an online database.
+i +i +i +i +i +i +i +i +i +i + i+ i
+i
The application was successfully implemented by using famous technologies and programming
+ i + i + i + i + i + i + i + i + i + i +
i languages. This application does not aim to target any specific group but every individual who wants to
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i seek medical help and that is why it was kept in mind to keep the user interface simple and friendly while
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
i building this application. Like all other applications, this application also has a client side and a server
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i side. This application was developed by using HTML, CSS, and JavaScript at the client side while PHP
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
For now, basic functionalities have been implemented but for the future, work will be done to link
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i pharmacies and laboratories to the system. Online follow-up for the distant patients is another feature
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
V
Table of Contents +i +i
Certificate of Approval +i +i + i+ i+ i+ i+ i+ i+ i + i+ i+ i+ i+ i+ i I
Declaration + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i +i II
Dedication + i+ i+ i+ i + i+ i+ i+ i+ i+ i+ i+ i+ i + i+ i III
Acknowledgments +i IV
Abstract + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i V
Table of Contents
+i +i VI
List of Tables
+i +i VII
List of Figures
+i +i VIIIII
List of Symbols and Abbreviations
+i +i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i X
Chapter 1: Introduction +i +i 12
Chapter 2: Literature Review
+i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i 15
Chapter 3: Methodology +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i +i 21
Chapter 4: Software Components and their Testing
+i +i +i +i +i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i 35 i
VI
List of Figures
+i +i
VII
Figure 24: Xampp Installation step
+i + i+ i +i +i 42
VIII
Figure 48: Admin Login Form
+i + i+ i +i +i 55
IX
List of Symbols and Abbreviations
+i +i +i +i
X
XI
Chapter 1 +i
Introduction
Health care is one of the fastest growing industry all over the world. Before the last few years,
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i medical appointments were usually taken on the phone calls or by visiting the hospitals in person.
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i This process needed the involvement of individuals so, the ability to take appointment was
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
i restricted to the availability of schedulers, phone lines or the physical presence of a person.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
+i
With the growth of time, everybody demanded timeless and efficient medical care delivery because
+i +i +i +i +i +i +i +i +i +i +i +i +i +
i manual appointments (that requires the physical presence of both individuals) and long waiting
+ i + i + i + i + i + i + i + i + i + i + i + i +
i lines have formed an irritating situation for the healthcare institutions. So, it created a need for such
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
i an integrated health care system that could deliver seamless care to both outpatients as well as
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i inpatients. The emergence of online appointment system offered timeless and efficient access to
+ i + i + i + i + i + i + i + i + i + i + i + i +
i health care services. Therefore, for hospitals and other medical societies, online appointment
+ i + i + i + i + i + i + i + i + i + i + i +
+i
Booking appointment online has become a new trend in the past few years and is considered as one
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
i of the key processes in the healthcare industry. Scheduling system as a trade-off or a compromise
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i between a doctor and patient’s waiting times. Patients who get late for the appointments or who
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i fails to come becomes the reason for the underutilization of a doctor’s time. Idle time and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i underutilization of doctor’s time are also resulted by gaps in the appointment times. +i +i +i +i +i +i +i +i +i +i +i +i + i+ i
With the growing population need for more efficient ways to access a medical treatment is also
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i growing. Through an online appointment scheduling system, a user gets access to the doctor's
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
i online webpage and can make an appointment with online software. Patient/user can also provide
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
i additional medical history in advance, giving adequate time to the doctor to prepare the necessary
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i information for consultation. In this way, online appointment scheduling systems are helping + i + i + i + i + i + i + i + i + i + i + i +
i doctors and the patients and making the healthcare delivery efficient.
+i +i +i +i +i +i +i +i +i +i
+i
Nowadays there are many kinds of online appointment tools available in the market which are easy
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
i to set up and not too much expensive. Online scheduling system offers value added services and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i lots of benefits to the doctors and patients. It makes the patient appreciated by eliminating the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i hassle of long waiting times. Online appointment systems are also getting popular because of its
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i low-cost availability. +i +i
12
1.1 Main Purpose +i +i
The main purpose of this project is to link and bring all major private medical clinics of the city (of
+ i +i + i +i + i + i +i + i + i + i + i + i +i + i + i +i + i + i + i +
i my country) to a single platform. So that patients can easily get access to the doctor's profile and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i make online appointments. The second purpose is to create an online medical history database so
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i that doctors and patients can freely exchange patients' medical history information much easier,
+ i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
The main objective of the thesis is to provide quality medical care to the patients by bringing all
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i medical practitioners of the city to a single platform so that everybody can easily access them and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i make appointments. The second objective is to replace the current manual file keeping system with
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +
+i
The aim of this project is to create a platform where patients and doctors can access /interact
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i efficiently with each other and provide ease and comfort to the patients. It also aims to resolve the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i problems that patients have to face while taking appointments and keeping medical files. Patients
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
i can choose a medical practitioner based on their professional profile and other patient's reviews.
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
i While doctors can access and update a patient’s medical record after every checkup.
+i +i +i +i +i +i +i +i +i +i +i +i +i
➢ Linking laboratory and pharmacy so that medical store administrator can view suggested
+ i + i + i + i + i + i + i + i + i + i + i +
i prescription and laboratory can view clinical tests recommended by the doctor. This feature + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
+i
This system is implemented for all the individuals who want to get treated by the city practitioners.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
i The users can participate only if they have created an account through the registration form and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i have provided their medical history. Once they get registered themselves further, they would not
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
i need to update their record as it would be done automatically after each doctor’s visit.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i
13
1.5 Budget of Project:
+i +i +i
Actually, we are working on our project local Server. So, the cost on the project is zero.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
14
Chapter 2 +i
Literature Review +i
Fernandes et al. [1] defined waiting time as the period of time an individual wait until a specific
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
action occurs. Waiting time was also defined as the time a patient entered a clinic or service point
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
and gets consulted by a doctor with a prescription in his hand. There are two different ways in which
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
the waiting time has been defined in the past. At first, waiting time is the time that starts when an
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
individual comes for the appointment and it continues until the individual gets consulted by the
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
doctor. In the second definition, it starts when an individual comes for taking appointment and ends
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
With the passage of time, long waiting lines at doctor’s clinics became a major problem in
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
developing countries. In a South African health clinic, block appointment system was introduced
i + i + i + i + i + i + i + i + i + i + i + i + i +
as an experiment, in which waiting time for patients was measured for the period of one week
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
before and after the implementation of the appointment system. During the experiment, interviews
i +i +i +i +i +i +i +i +i +i +i +i +i +
were taken from focus-group, staff, and patients and from results it was realized that acute
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
medically ill patients with prior appointments had short waiting times as compared to the patients
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
without appointments.
i +i + i+ i
It has also been stated that the appointment system has no benefit for the patients not seeing the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
doctor or who are taking routine repeated medication. Later it was realized that the block
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
appointment system offers shorter waiting time only for acutely ill patients and not for others.
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i + i+ i
It has been proved in the past research that there is a direct relationship between appointment delay
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
and cancellation of the appointment. Appointment delay is defined as the time which starts when an
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
individual request for an appointment and ends until he/ she gets consulted by the doctor. Longer
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
appointment delays cause more appointment cancellations. So, the best way to reduce appointment
i +i +i +i +i +i +i +i +i +i +i +i +i +
cancellations or no-shows is to minimize the time gap between the appointment request and
i + i + i + i + i + i + i + i + i + i + i + i + i + i +
doctor’s checkup/consultation time. Minimizing this gap is called open access (abbreviated as OA)
i +i +i +i +i +i +i +i +i +i +i +i +i +
or advance access policy which later became a popular practice and part of an active research also.
i + i + i + i + i + i + i + i + i + i + i + i + i +i + i + i + i +
Both positive and negative results were experienced by the researchers in their experiments. Some
i +i +i + i + i +i + i + i +i +i + i +i + i +i +
practitioners were in the favor of OA and highly recommended it, and on the other hand, there were
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
15
2.3 Managing Patient’s Appointment
+i +i +i + i+ i
In a health care center, an application which is used to manage and minimize patient waiting time is
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
called managing[3] patient's appointment system. Some health care clinics use this kind of
i + i + i + i + i + i + i + i + i + i + i + i + i +
applications while some do not. Medical clinics who use such applications usually have shorter
i + i + i + i + i + i+ i + i + i + i + i + i + i + i + i +
waiting times as compared to those medical clinics who do not use any appointment application.
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
Patients who supposed to wait more than an hour for their medical check-up feel disgraced and
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
unfair. Patients can evaluate the quality of any medical center based on the waiting time they have
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
to experience. Therefore, it has become important to consider factors like “saving time” and
i + i + i + i + i + i + i + i + i + i + i + i + i + i +
“minimizing idle time” while developing any patient’s appointment system. Whereas according to
i +i +i +i +i +i +i +i +i +i +i +i +
Klassen (2002), scheduling doctor’s time and patient’s appointment supposed to depend on the
i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
components or web pages, working together for a common purpose. Such systems are available on
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
+ i A internet as a system which provides an opportunity to millions of people to get access to a large
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i amount of stored data and get connected to each other despite distances. Increased rate of missed
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i appointments and patient dissatisfaction pushed to recognize the need for better-quality care + i + i + i + i + i + i + i + i + i + i + i +
i services. With the advancement of information technology and the sensitive situation of medical
+ i + i + i + i + i + i + i + i + i + i + i + i +
i care, online appointment system emerged as an important output for efficient and timely delivery
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
i of health care services. Earlier, appointment requests were used to make through the phone call,
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i email or fax but with the advancement of technology and internet, the trend changed towards the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+ i A patient can make an appointment for a doctor either by going directly to the doctor's clinic or
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i making a manual appointment through the phone call or sending the email. With the emergence of
+ i + i + i + i +i + i +i + i + i + i + i + i + i + i + i +
i the internet, health care centers can connect and communicate with their patients efficiently.
+ i + i + i + i + i + i + i + i + i + i + i + i +
i Therefore, many healthcare centers have started using online appointment systems. Such systems
+ i + i + i + i + i + i + i + i + i + i + i +
In Pakistan, there is a huge trend of private medical clinics and hospitals. Doctors run their own
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
private clinics and consult [5]patients during the evening or any time of the day depending on their
i + i + i +i +i +i +i +i + i +i +i + i +i +i + i +i +i +
availability. Some are popular and known to all while some are known by few people. This
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
situation proves to be a challenge for new practitioners as they are known to very few people even if
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
they have a good academic background. On the other side, patients also face difficulty in finding
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
and choosing a nearby doctor. Unscheduled appointments, long waiting lines and keeping medical
i +i +i +i +i +i +i +i +i +i +i +i +i +
files in physical form are also the common problems faced by the people/ patients of Pakistan.
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i + i+ i+ i+ i
16
2.5.1 Determination of Problem+i +i +i +i
Challenge for new practitioners Starting a private clinic can be a challenge for new practitioners.
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
For example, if a new doctor wants to open his clinic there is no platform exist, by which or from
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
The problem for a new individual in a city in the same way, the same problem goes for any person
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
new to the city as he is unknown, who is the best or closest doctor/clinic to go for a medical
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
checkup.
i +i
Long waiting lines to get doctor's consultation, patients come twice to the clinic once for taking the
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
appointment and second time for the checkup. Some patients visit the doctor without any prior
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
appointment resulting in a long waiting time. There is also a possibility that they don't consultation
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
In “Online Polyclinic Appointment and Database Management System” I have tried to consider all
+i +i +i +i +i +i +i +i +i +i +i +i +i +
of the above problems with the existing system in Pakistan. My objective was to provide a platform
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
where all practitioners and patients can be brought together. In this application, all practitioners
i + i + i + i + i + i + i + i + i + i + i + i + i + i +
either new or working for a long time can sign up themselves. This way people can get to know and
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
choose to visit any doctor of their choice. By using this application user will be able to know and
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
access the professional profile of each registered doctor from all specialties. Doctor’s profile
i + i + i + i + i + i + i + i + i + i + i + i + i +
background, clinic timings, working days, clinic accessibility and other patient reviews also. Users
i +i +i +i +i +i +i +i +i +i +i +i +i +
would be able to book appointment sitting at their homes. The user can choose a doctor close to
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
them or have more professional experience or have more good reviews from the other patients.
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
New practitioners can easily join the platform and start taking appointments without the need of
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
Scheduling appointments for the patients started long years ago. Primarily appointment system was
+i +i +i +i +i +i +i +i +i +i +i +i +
developed to minimize doctor’s idle time because it was thought that doctors time is more valuable
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
as compared to the patient’s waiting time. But later it was realized that the importance of
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
minimizing the patient's waiting time is as important as the doctor’s time. So now while developing
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
an appointment system doctor's idle time and the patient's waiting time both factors are given equal
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
importance. Patient’s scheduling also includes improving quality health services, reducing doctors
i +i +i +i +i +i +i +i +i +i +i +
17
2.7 APPLICATION TECHNOLOGIES
+i +i +i
+i
The purpose of this project is to build an Online Appointment and Database Management System.
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
It is important for the user to understand[8] how this application works and knowing the
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
technologies that are used to implement this project. For a better understanding, all steps are
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
Role of a web server is to communicate between the client side and server side by storing,
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
processing and delivering web pages to the client side. Usually, web browser initiates the
i + i + i + i + i + i + i + i + i + i + i + i + i + i +
communication using HTTP by sending the request of a specific resource and server gives the
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
response with the content of that requested resource. For this project work, Apache HTTP server
i + i + i + i + i + i + i + i + i+ i + i + i + i + i + i + i +
was chosen, and it exists on the WAMP service. Apache HTTP server is one of the popularly used
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
In this project, PHP was chosen as a server-side programming language and MySQL was selected
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
as a backend database. HTML, CSS, and JavaScript were used for the client-side work.
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
+i
PHP +i
+i
PHP is a server-side programming language commonly used to develop dynamic web pages. It is
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
free and accessible in numerous different versions. [10] It can be used on multiple OS such as
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
macOS, windows, UNIX and different platforms. Because it is a scripting language so in this
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
program code is taken after the program execution. PHP can also be used in desktop applications.
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i + i+ i
One of the reasons for choosing PHP in this project is that it supports MySQL which is chosen as a
+ i + i + i + i + i + i + i + i +i + i + i + i + i + i + i + i + i + i +i +
database in our project. PHP programming language makes easy to present images and PDF files
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
on HTML pages.
i +i +i +i
Client-side programming +i + i+ i
For the development and designing of web pages HTML, CSS and JavaScript languages were used.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +
HTML for creating the web pages, CSS for styling and for adding further functionalities JavaScript
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
was used.
i +i + i+ i+ i
+i
JavaScript + i+ i
18
JavaScript is dynamic, high-level scripting language and considered to be one of the core three
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
technologies of the world wide web. It is considered an important part of a web application. It is
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
used for adding functionalities and making web pages interactive. In simple words, it informs the
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
browser about a certain activity or event that occurred and[11] changes the web page as a response
i + i + i +i + i +i + i + i + i + i + i + i +i + i + i +i + i +
+i
HTML + i+ i
+i
Hypertext markup language (HTML) is used for creating web pages and web applications. It
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
describes the structure of the web pages. Information from the HTML documents is sent to the web
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
browser to render or display on the multimedia pages. Html used to describe the structure of a
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
document by presenting a document in a heading, paragraph, image, list, links and other objects
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
like that. Web browser presents the HTML document by using its tags.
i +i +i +i +i +i +i +i +i +i +i +i +i
CSS +i
+i
It is important to make HTML pages attractive to the users and for this purpose, developers choose
+ i +i +i + i + i + i +i +i +i + i +i +i +i +i + i + i +
colors, nice fonts, and different layouts. All this work is done by the CSS. In short, CSS is used for
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
styling of a HTML document. It is designed in such a way that enables separation of content and
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
presentation so that it makes easier any change of content without interfering with a design. It also
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
enables multi web pages to share the single CSS file [12] for styling to reduce repetition and
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
complexity.
i +i
Backend technology +i + i+ i
+i
+i
+i
MySQL + i+ i
It is an open source relational database management system which aims to offer multiple user
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
access to several databases. In simple words, a database is a collection of data which can be a list of
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
shopping items, number of items in a shopping center or even a vast amount of numerous data in a
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
corporate network. To manage such kind of data, a database management system is required such
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
as MySQL which aims to access data and perform functions like add, remove or edit data. Since
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
MySQL is a relational database so it stores data in different tables instead of putting into a large
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
storeroom. Storing /organizing data into tables increases the accessibility speed and flexibility.
i +i +i +i +i +i +i +i +i +i +i +i + i+ i
Applications which demand availability and scalability use MySQL. Because it has the capability + i + i + i + i + i + i + i + i + i + i + i + i +
to recover and cope with failures on the host, MySQL, operating system or the hardware that may
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
cause downtime. Scalability refers to the ability to spread the [13] database as well as application
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
19
i queries. MySQL is reliable for data security. MySQL has a good memory management system and
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +
+ i Since MySQL is a free open source software so anyone can download it without paying anything
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i and make changes into the source code. For this project, MySQL was chosen because it is very easy
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
XAMPP Server +i
+ XAMPP is a free and open source software which empowers technologies, processes, and
i + i + i + i + i + i + i + i + i + i + i + i + i +
i machines to link and work together. It is established by Apache. It stands for x-OS, Apache,
+ i + i + i + i + i + i+ i + i + i + i + i + i + i + i + i + i +
i MySQL, PHP, and Perl and used as a stage for coding and designing web pages.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
+ i Xampp is very easy to install and has the capability to run on several platforms. Xampp has very
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i strict security settings and with a single command it can start and stop the server[14].
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
20
Chapter 3 +i
Methodology
appointment and keeping an online medical history. Users can sign up online, search for the nearby
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
doctor and book appointment while sitting at their homes by using a web browser. Two different
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
types of actors are using this system: user actor (patient), which can be registered to the system,
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
search for the doctor and book an appointment. Administrative actor (doctor/ physician), which can
i +i +i +i +i +i +i +i +i +i +i +i +i +i +
log in to the system with a username and password, accept patient's appointment request and update
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
medical record after each visit. The functionality and more features are explained in more detail in
i + i + i + i + i +i + i +i + i + i + i + i + i + i + i + i +
this chapter.
i +i +i
➢ Every individual either a doctor or a patient will have an independent id, name and a profile.
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
Doctors are further categorized by the specialty of practice (i.e. Urology, Internal Medicine
i + i + i + i + i + i + i + i + i + i + i + i + i +
etc.) i +i
➢ The user (patient) can get, change or cancel appointment time and view medical record while
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
the doctor can make changes in his calendar and accept or reject appointment request by log in
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
The block diagram of the project is shown in figure below and description of each block is given
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i below. +i
21
3.2 Flow Chart of the Project and its Description
+i +i +i +i +i +i +i +i
22
3.3 Use Cases
+i +i +i
To explain the better view and functionalities of the system, use case diagrams are chosen. The use
+i +i +i +i +i +i +i +i +i +i +i +i +i + i +i +i +
case diagram is important to document the requirement of the system as well as to specify
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
functionalities of the system. Use case diagrams better explain the way the user interacts with the
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
system.
i +i
23
3.1.1 Patient Use Case Diagram
+i +i +i +i
Use-Case 1: Registration +i +i +i
+i
+i
+i
+i
Basic use-case flow: For the registration process, the user/patient needs to give some information
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
by filling the form. Some of the required information includes the following:
i +i +i +i +i +i +i +i +i +i +i +i
➢ First name +i +i
➢ Last name. +i
➢ National ID no +i +i
Main scenario: The user/patient will go onto the patient sign-up button either from the main page
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
or from the drop-down menu. After clicking the sign-up button, a registration form will appear,
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
where the user must give his personal information i.e. name, gender, email address, CNIC, any
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
medical history etc. After giving the required information user will submit the form. If all the fields
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
are filled including the valid email address and CNIC, the user will be registered onto the system. In
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
case of any missing entry or invalid format of an email or CNIC, the error occurs onto the page.
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
24
+i
Use-case 2: Login +i +i +i
+i
Primary-actor: Patient/user. +i +i
+i
Description: Before taking any appointment or get access to his medical record, the user must have
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
+i
+i
Basic use-case flow: a valid username with a password must be entered by the user.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
+i
Main scenario: To be able to get into the system, the user needs to enter his username and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
password either from the main page or from the drop-down menu from the top of the page. After
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
clicking onto the login button, authentication request will be forwarded to the system.
i +i +i +i +i +i +i +i +i +i +i +i +i + i+ i
+i
+i
+i
Description: In this use-case, any registered or unregistered user, can look and search for a doctor
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
Basic use-case flow: By going into the category of any specific specialty, the user can view the list
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
Main scenario: The user will go to the down menu at the top of the page. A list of all specialties
+ i + i+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
will appear in a drop-down list. The user will hit on the desired specialty. After that, a page will
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
open with all doctors of that specific specialty. Now the user has the choice to choose any doctor
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
Primary-actor: User/patient +i +i
+i
25
Description: After choosing a doctor user will go further to send an appointment request from the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
available timings.
i +i +i
+i
+i
Basic use-case flow: The patient/user hits the button for taking an appointment for the doctor. A list
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
of available timings will appear for the chosen date. The user will select the suitable time for him
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
Main scenario: The user will hit the button for "take appointment". List of available timings will
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
appear for a chosen date. The user selects the suitable time. The user will hit the submit button to
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
+i
Primary-actor: User/patient +i +i
+i
+i
+i
Basic use-case flow: The user/patient will click on the name of the patient and it opens the patient's
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
profile. By going into it the user can view the history by clicking on the button for the patient’s old
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
reports/history.
i +i
+i
Main scenario: The user clicks on the name of the patient and then press the button “view history”
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
+i
+i
+i
Primary-actor: User/patient +i +i
+i
+i
+i
Basic use-case flow: the user can sign out himself from the system.
+i +i +i +i +i +i +i +i +i +i +i +i
26
Main scenario: the user clicks on the log out button. The system will bring the user to the main
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+ i+ i
Use-case 1: Registration +i +i + i+ i
+i
27
Description: To get online appointment requests, the doctor must register himself as a user on the + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
Basic use-case flow: To register as a doctor, the user must fill the form. Required fields include the
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
following information:
i +i +i
➢ Full name +i
➢ Email address +i +i
➢ Qualification +i
➢ Experience
➢ Valid PMDC certificate (Practicing license issued by the PMDC authority)
+i +i +i +i +i +i +i +i +i +i
➢ Clinic address +i
➢ Clinic timings +i +i
+i
Main scenario: The user/ doctor has to go onto the doctor’s sign-up button either from the drop-
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i
down menu at the top or from the main page. After clicking the sign-up button, a registration form
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
will appear, where doctor/user has to give his personal as well as professional information i.e.
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
name, clinic address, qualification, working experience etc. The user must give valid PMDC
i + i + i + i + i + i + i + i + i + i + i + i + i +
certificate for the registration process. After giving the required information user/ doctor will
i + i + i + i + i + i + i + i + i + i + i + i + i +
submit the form. If all the fields are filled, request for registration will be sent to the admin. As soon
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
as admin receives a request for a doctor's registration, he will verify his documents and only then
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
the user will be accepted /registered. In case of any missing entry or invalid format of email or
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
CNIC, an error occurs onto the page. PMDC certificate is a license or a proof that an individual is
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
allowed by the authority to practice medicine. Any user fails to give valid PMDC certificate issued
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
by PMDC authority will not be allowed to register as a doctor. PMDC certificate is important to
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
Exception: False documents, expired or invalid PMDC certificate, missing fields, expired national
+i +i +i +i +i +i +i +i +i +i +i +
Use-case 2: log in +i +i +i + i+ i
Primary-actor: User/doctor +i +i
+i
Description: For further functions, the user must have to provide his email address and password. +i +i +i +i +i +i +i +i +i +i +i +i +i +i + i+ i
+i
+i
Basic use-case flow: user/doctor should provide his username and password to log in.
+i +i +i +i +i +i +i +i +i +i +i +i +i
28
+i
Main scenario: To be able to get into the system, the user needs to enter his username and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
password either from the main page or from the drop-down menu from the top of the page. After
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
clicking onto the login button, an authentication request is forwarded to the system.
i +i +i +i +i +i +i +i +i +i +i +i +i + i+ i
+i
+i
Primary-actor: User/doctor +i +i
+i
+i
+i
Basic use-case flow: After logging in, the user/patient selects the date from the calendar to filter out
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
the appointment.
i +i + i+ i
Main scenario: After signing in, the user/doctor can view the page of his calendar. The user will
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
select the month and date to see the appointments of that period or date. The user can view all the
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
+i
Primary-actor: User/doctor +i +i
+i
+i
+i
Basic use-case flow: User/doctor selects any date and decides to accept or reject any appointment
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
request.
i + i+ i
Main scenario: After logging in, all the patient's appointment requests will be appearing on the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
calendar according to the dates. User /Doctor will select the date from the calendar. User /Doctor
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
can view all the appointment requests. User /Doctor can select the option to accept or reject the
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
29
Use-case 5: View patient +i +i +i
Primary-actor: User/doctor +i +i
+i
Description: User/doctor would be able to view the patient's detailed information including his/
+ i + i + i + i + i + i + i + i + i + i + i + i +
+i
Basic use-case flow: After selecting the date, user/doctor selects the patient. User/doctor can view
+i +i +i +i +i +i +i +i +i +i +i +i +i +
+i
Main scenario: After selecting the date, list of patients of that particular date will appear. User
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
/Doctor will select the patient. User (doctor) can view his all information including the medical
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
Primary-actor: User/doctor +i +i
+i
Description: User/doctor would be able to write his own comments into the patient's medical
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
profile.
i +i
+i
+i
Basic use-case flow: After clicking on the "write comments" button, user/doctor can add his own
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
Main scenario: User/doctor will hit the "write comments" button. User (doctor) will write his or
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
+i
Primary-actor: User/doctor +i +i
+i
30
Description: the user/doctor will log out from the system.
+i +i +i +i +i +i +i +i +i
+i
Basic use-case flow: the user/doctor can sign out himself from the system.
+i +i +i +i +i +i +i +i +i +i +i +i
+i
Main scenario: the user/doctor clicks on the log out button. The system will bring the user to the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
Use-case 1: Login
+i +i +i
+i
Primary-actor: Admin/administrator +i + i+ i+ i
+i
Description: A user, who possesses admin username and password, owns administrative rights.
+i +i +i +i +i +i +i +i +i +i +i +i
+i
Basic use-case flow: Admin/user needs to provide the username and a password.
+i +i +i +i +i +i +i +i +i +i +i + i+ i
+i
31
Main scenario: Admin/user enters valid username and password. After verification, the user will
+ i + i + i + i + i + i + i + i + i + i + i + i +
+i
+ i+ i
+i
Primary-actor: Admin/user +i +i
+i
+i
+i
Basic use-case flow: Admin/user can view, edit or delete any user information.
+i +i +i +i +i +i +i +i +i +i +i + i+ i
+i
Main scenario: Admin can view, edit or delete any user or any information related to user doctor or
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
user-patient.
i +i
+i
+i
Primary-actor: Admin/user +i +i
+i
+i
+i
Main scenario: User clicks onto the logout button. The system will remove information from the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i
32
Chapter 4 +i
• Step – 1 : +i +i +i
Head over to this link to get the Android Studio executable or zip file .
+i +i +i +i +i +i +i +i +i +i +i +i +i +i
• Step – 2: +i +i
Click on the “I have read and agree with the above terms and conditions” checkbox followed by the
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
download button.
i +i
Click on Save file button in the appeared prompt box and the file will start downloading.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
• Step – 3: +i +i
After the downloading has finished, open the file from downloads and run it.
+i +i +i +i +i +i +i +i +i +i +i +i
33
Figure 9: Android Studio dialogue box
+i +i +i +i +i
Click on next. +i +i
In the next prompt it’ll ask for a path for installation. Choose a path and hit next.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
Note: The installation path should have the required minimum space.
+i +i +i +i +i +i +i +i +i
• Step – 4: +i +i
It will start the installation, and once it is completed, it will be like the image shown below.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
• Step – 5: +i +i
Once “Finish” is clicked, it will ask whether the previous settings needs to be imported [if android
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
studio had been installed earlier], or not. It is better to choose the ‘Don’t import Settings option’.
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
34
• Step – 6: +i +i
• Step – 7: +i +i
After it has found the SDK components, it will redirect to the Welcome dialog box.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i
Click on next.
+i +i
Now choose the theme, whether Light theme or the Dark one.
+i +i +i +i +i +i +i +i +i +i
35
The light one is called the IntelliJ theme whereas the dark theme is called Dracula.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i
Choose as required. +i +i
• Step – 8: +i +i
It has started downloading the components. The Android Studio has been successfully configured.
+i +i +i +i +i +i +i +i +i +i +i +i
• Step – 9: +i +i
36
Figure 17: Start new project on Android Studio
+i +i +i +i +i +i +i
Step-1:
We can find Visual Studio 2017 and its various versions for windows and MAC operating systems
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
Step-2:
After .exe file download is complete we can double click and run the application and ask to
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
37
Step-3:
By clicking on continue visual studio installer runs by fetching all the files and preparing to install.
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
Step-4:
Visual Studio provides a lot of tools and ways to choose as:
+i +i +i +i +i +i +i +i +i +i +i
Step-5:
After setting out all the required tools components and language it starts downloading the files and
+ i +i + i + i + i + i + i + i + i + i + i +i + i + i + i +
istarts installations.
+i
38
Figure 22: Visual Studio 2017 enterprise iso download
+i +i +i +i +i +i +i
Step-8
Comes with final stage of installation after package gets installed it displays success message
+i +i +i +i +i +i +i +i +i +i +i +i +i +
4.1.1 Step1:DownloadandinstallXAMPPonyourcomputer
+i +i +i +i +i +i +i +i
You can download the Windows installer file from Apache Friends. It’s a big file, about 110 MB,
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
39
Figure 24: Xampp Apache window
+i +i +i +i
Just click Next to continue. On the next screen, you can choose which components to install. To
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
install XAMPP, you do not need all of the components. In addition to the required
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
• MySQL
• PhpMyAdmin
40
Figure 26: Selecting elements of Xampp
+i +i +i +i +i
You can now select which folder to install XAMPP in. I always leave it as the default:
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i
41
On the next screen, you’ll get a prompt asking you to install Bitnami for XAMPP. You do not
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
42
Step2:Startthemodulesandtestyourserver
+i +i +i +i +i +i +i +i
To install XAMPP and WordPress properly, you’ll need to run two modules:
+i +i +i +i +i +i +i +i +i +i +i
• Apache
• MySQL
You can start both modules from the XAMPP control panel:
+i +i +i +i +i +i +i +i +i
Once you launch them, you should see their status turn to green:
+i +i +i +i +i +i +i +i +i +i +i
43
Figure 31: Running panel of Xampp server
+i +i +i +i +i +i
Java Programming
+i
➢ Visual Studio
+i
44
Figure 33: Program on Visual Studio
+i +i +i +i +i
Android Studio
+i
45
Chapter 5 +i
This e-Health care management system is the first system to be implemented in Pakistan, so it is
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
very important to keep the interface simple and easy to be easily understood by a user. For this
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
purpose, simple and common UI elements are used. It makes the common user to easily understand
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
the system and get used to it. The below-given figure shows the prototype of the system. There is a
i + i + i + i + i +i + i +i + i + i + i + i + i + i + i + i + i + i +i +
horizontal menu list on top of the home page. This menu list contains drop down buttons such as
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
specialization, patient, doctor, and contact. All these buttons open a new webpage. When a user
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
brings cursor onto the specialization button, a drop-down menu list appears showing/ containing all
i +i +i +i +i +i +i +i +i +i +i +i +i +i +
the existing departments. All doctors are classified based on the departments or specialty. The user
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
can choose to view the doctors of any specific specialty by clicking on this button. Next comes the
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
button for the doctor. The user can register himself or sign in if he already has an account. Next
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
button on the menu is for the patient, the user can again sign up or sign in if he/she has already an
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
account. The last button on the menu bar is of “contact us”. Any user can call or send an email to the
i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
admin by using this option. This page contains all the information or possible ways to contact in
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
case of any need. When we go down of the homepage there is a big picture to make the page look
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
good and then again there are two blocks for the doctor registration/ sign in and patient
i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
registration/sign in.
i +i
46
The Footer page of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i
47
The departments of a different hospitals in website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i +i +i
48
The Contact us page of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i +i
49
The Patient login form of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i +i
50
The Patient section of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i
51
The Patient Appointment section of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i +i
52
The Admin login form of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i +i
53
The Admin appointment section of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i +i
54
The Admin appointment history Sections of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i +i +i
55
The doctors Sections of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i
56
Chapter 6 +i
Conclusion
The proposed online appointment system has been implemented in android studio for application
+ i + i + i + i + i + i + i + i + i + i + i + i +
i development and website is developed using HTML and PHP. The tasks involved in this work are
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i divided into modules. The data is approached and shared by using API’S between the website and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i the android application. The proposed system is efficient and has friendly user interface. Addition
+ i + i + i + i + i + i + i + i + i + i + i + i + i +
i of the admin and doctor modules in the android application are included in future work. That would
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
i help the doctor to register on the application and perform all the tasks on the app. The admin would
+i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +i +
i be able to use the app for managing the details of the patients and the doctors instead of using the
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i website. A payment or some amount may be charged to the users/patients while making an
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i appointment to avoid the unethical users. As many users only register themselves just for fun and
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i has no concern by making an appointment. Some more future directions are the improvements in
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i the patient’s module which includes setting reminders for the appointments and saving the
+ i + i + i + i + i + i + i + i + i + i + i + i +
57
Appendix
An appendix contains supplementary material that is collected and appended at the end of a report
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i or a book, article or document. Students can paste their code/software, datasheets, etc. here as an
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
i appendix. +i
58
References
[2] S. Nazia and E. Sarda “Online Appointment Scheduling System for Hospitals–An Analytical
+ i + i + i + i + i + i + i + i + i + i + i + i +
Study”, International Journal of Innovations in Engineering and Technology (IJIET), Vol. 4, 01,
i + i + i + i + i + i + i + i + i + i + i + i + i +
August 2014.
i +i
[3] J. Lekan, “Design and Implementation of a Patient Appointment and Scheduling System”,
+ i + i + i + i + i + i + i + i + i + i + i + i +
4,12,December 2017.
i +i
[4] S. B. Choudhari, C. Kusurkar, R. Sonje, P. Mahajan and J. Vaz, “Android Application for
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i + i +
.
[5] G. Shelwante, A. Thakare, K. Sakharkar, A. Birelliwar and K. Borkar, “Smart Health Doctor
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
Journal of Research in Engineering, Science and Management, Vol .32, June 2013.
i +i +i +i +i +i +i +i +i +i +i +i
[8] Fernandes C, Daya M, Barry S, Palmer N (1994),” Emergency department Patients who leave
+ i + i + i + i + i + i + i + i + i + i + i + i + i + i +
systems”Conference of the POMS College of Service Operations, New York, NY, USA, 22,July
i + i + i + i + i + i + i + i + i + i + i + i + i +
2017.
i
[10] Cayirli, T, E. Veral, and H. Rosen, “Designing appointment scheduling systems for
+ i + i + i + i + i + i + i + i + i + i + i + i +
[11]Frank Sposaro and Gary Tyson, “iFall: An android application for fall monitoring and
+ i + i + i + i + i + i + i + i + i + i + i + i +
response”, 31st Annual International Conference of the IEEE Engineering in Medicine and
i + i + i + i + i + i + i + i + i + i + i + i +
+i
+i +i +i +i
[12] Pei-Fang Tsai, I-sheng Chen, and Keven Pothoven “Development of Handheld Healthcare
+ i + i + i + i + i + i + i + i + i + i + i +
Information System in an Outpatient Physical Therapy Clinic”, proceedings of the 2014 IEEE 18th
i +i +i +i +i +i +i +i +i +i +i +i +i +i +
+i
+i +i +i +i +i +i +i +i +i +i +i
59
[13] Jin Wang, Richard Y.K. Fung “adaptive dynamic programming algorithms for sequential
+ i + i + i + i + i + i + i + i + i + i + i +
+i
+i +i +i +i
[14] Bin Mu, Feng Xiao, Shijin Yuan “A Rule-based Disease Self-inspection and Hospital
+ i + i + i + i + i + i + i + i + i + i + i + i +
60