E-Healthcare Management System: Final Year Project

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 63

e-Healthcare Management System +i +i

Final Year Project Report


+i +i +i

Submitted by +i

Muhammad Ajmal +i BSC02163024


Hafiz Farooq
+i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ I BSC02163039

Supervised by +i

ENGR. Iqra Abdul Gafar +i +i +i

+ i+ i+ i+ i+ i

Department of Computer Engineering


+i +i +i +i

The University of Lahore


+i +i +i +i

June 2020 +i
e-Healthcare Management System +i +i

Submitted by +i

Muhammad Ajmal +i BSC02163024


Hafiz Farooq
+i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ I BSC02163039

Supervised by +i

ENGR. Iqra Abdul Gafar +i +i +i

+ i+ i+ i+ i+ i+ i+ i

In Partial Fulfillment
+i +i

of the Requirements for the Degree of


+i +i +i +i +i +i

B. Sc. Computer Engineering


+i +i +i +i

Department of Computer Engineering +i +i +i +i

The University of Lahore


+i +i +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 +

the Degree of B. Sc. Computer Engineering.


i +i +i +i +i +i +i

Approved by: +i

___________________________________________
Engr. Supervisor name,
+i +i +i

Project Supervisor, +i

Department of Computer Engineering, +i +i +i

The University of Lahore, Lahore


+i +i +i +i

___________________________________________
Engr. Dr. Shahzadi Tayyaba,
+i +i +i

Head,
Department of Computer Engineering, +i +i +i

The University of Lahore, Lahore


+i +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 +

sources has been acknowledged/referred.


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 +

for me to complete Project.


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 +

i helped us with it and made it a worthwhile experience.


+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 +

i continuous guidance and encouragement.+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 online database management system.


+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 +

i and MySQL on the server side.


+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 +

i that is aimed to add at later stages.


+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

Chapter 5: Integration of Components and Result


+i +i +i +i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i i+ i+ i 48
Chapter 6: Conclusiosn +i +i 57
Appendix 58
References 59

VI
List of Figures
+i +i

Figure 1: Block diagram of EHMS


+i + i+ i +i +i +i 21

Figure 2: Flow Chart of EHMS


+i + i+ i +i +i +i 22

Figure 3: Use Case Diagram of this Project


+i + i+ i +i +i +i +i +i 23

Figure 4: Use Case Diagram for Patient (user)


+i + i+ i +i +i +i +i +i 24

Figure 5: Use Case for Doctor (user)


+i + i+ i +i +i +i +i 28

Figure 6: Use Case for admin


+i + i+ i +i +i +i 32

Figure 7: Android Studio


+i + i+ i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i 35

Figure 8: Android Studio Check Box


+i + i+ i +i +i +i 35

Figure 9: Android Studio dialogue box


+i + i+ i +i +i +i 36

Figure 10: Android Studio installation step


+i + i+ i +i +i +i 36

Figure 11: Android Studio opening page


+i + i+ i +i +i +i 37

Figure 12: Android Studio welcome box


+i + i+ i +i +i +i 37

Figure 13: Installation Type steps


+i + i+ i +i +i 37

Figure 14: Theme Selecting steps


+i + i+ i +i +i 38
Figure 15: Downloading components of SDK
+i + i+ i +i +i +i 38

Figure 16: Start new project on Android Studio


+i + i+ i +i +i +i +i +i 39

Figure 17: Visual Studio Downloading window


+i + i+ i +i +i +i 39

Figure 18: Visual studio 2017 installation steps


+i + i+ i +i +i +i +i 39

Figure 19: Visual Studio Installer


+i + i+ i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ I 40

Figure 20: Visual tool window


+i + i+ i +i +i 40

Figure 21: Visual Studio 2017 enterprise iso download


+i + i+ i +i +i +i +i +i 41

Figure 22: Install Visual studio


+i + i+ i +i +i 41

Figure 23: Xampp Apache window


+i + i+ i +i +i 42

VII
Figure 24: Xampp Installation step
+i + i+ i +i +i 42

Figure 25: Selecting elements of Xampp


+i + i+ i +i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i 43

Figure 26: Install folder for Xampp


+i + i+ i +i +i +i 43

Figure 27: Installation of visual Xampp


+i + i+ i +i +i +i 44

Figure 28: Xampp server install


+i + i+ i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i 44

Figure 29: Control panel of Xampp


+i + i+ i +i +i +i 45

Figure 30: Running panel of Xampp server


+i + i+ i +i +i +i +i 46

Figure 31: Java Program


+i + i+ i +i +i 46

Figure 32: Program on Visual Studio


+i + i+ i +i +i +i 47

Figure 33: Sample code of Android Studio


+i + i+ i +i +i +i +i 47

Figure 34: Header of website


+i + i+ i +i +i 48

Figure 35: Footer of website


+i + i+ i +i +i +i 49

Figure 36: Lists of Doctors


+i + i+ i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ I 49

Figure 37: Departments of Hospitals


+i + i+ i +i +i 50

Figure 38: Doctors login and Sign up Section


+i + i+ i +i +i +i +i +i 50

Figure 39: Contact Section


+i + i+ i +i 51

Figure 40: Main Login Page


+i + i+ i +i +i 51

Figure 41: Patient Login Form


+i + i+ i +i +i 52

Figure 42: Patient Registration form


+i + i+ i +i +i 52

Figure 43: Patient Sections of website


+i + i+ i +i +i +i 53

Figure 44: Patient Sections of website


+i + i+ i +i +i +i 53

Figure 45: Patient Appointment Sections of website


+i + i+ i +i +i +i +i +i 54

Figure 46: Patient Appointment history Sections of website


+i + i+ i +i +i +i +i +i 54

Figure 47: Admin Login Form


+i + i+ i +i +i 55

VIII
Figure 48: Admin Login Form
+i + i+ i +i +i 55

Figure 49: Admin Appointments sections of website


+i + i+ i +i +i +i +i 56

Figure 50: Admin Doctors sections of website


+i + i+ i +i +i +i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i 56

Figure 51: Admin Appointments history sections of website


+i + i+ i +i +i +i +i +i 56

Figure 52: Doctors login form


+i + i+ i +i +i 57

Figure 53: Doctors Section


+i + i+ i +i + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ I 57 + i+ i

IX
List of Symbols and Abbreviations
+i +i +i +i

FYP Final Year Project


+i +i

CSS + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i Cascading Style Sheet +i +i +i

EHMS + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i e-Healthcare Management System +i +i

ER diagram Entity Relationship diagram


+i + i+ i+ i+ i+ i +i +i +i

HTML + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i Hypertext Mark-up Language +i +i +i

JavaScript + i+ i+ i+ i+ i+ i+ i+ i Scripting programming language +i +i

MySQL + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i Open source database


+i +i +i

PHP + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i Server-side scripting language +i +i +i

UI+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i User Interface +i

XAMPP + i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i+ i X-OS, Apache, MySQL, PHP, and Perl


+i +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 has a great importance and a subject of interest. +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 faster, and safer. +i +i + i+ i

+i

1.2 Objective of the Project


+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 an online medical patient database system.


+i +i +i +i +i + i+ i

1.3 Aim of the Project


+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

Following features will be added in the future: +i +i +i +i +i +i +i +i

➢ Online follow up with doctors (specially for distant patients) +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 aims to eliminate paper-based prescriptions.


+i +i +i +i + i+ i

+i

+i

1.4 Project Scope


+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

2.1 Waiting time +i +i +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 +

when he got prescribed medicine after being consulted by the doctor.


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

2.2 Appointment Delay


+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 +

some practitioners who disagreed and were against of OA implementation[2].


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 +

seriousness of the case and patient’s need.


i +i +i +i +i +i +i + i+ i

2.4 Online Booking +i +i +i

+i

An online appointment[4] system is a web-based system which is made up of independent


+ 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 +

the internet for the users to accomplish some purpose.


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 proper online appointment systems. +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 +

i ensure efficiency and effectiveness. +i +i +i + i+ i

2.5 Existing System +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 +

where people can get to know about his clinic.


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 +

by the doctor even [6] after a long waiting line.


i +i +i +i +i +i +i +i +i +i

2.5.2 Proposed System +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 +

includes information regarding their professional experience, practicing license, educational


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 +

any expensive advertisement.


i +i +i + i+ i

2.6 Patient’s Appointment Time


+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 +

and nurses idle[7] time and reducing patient’s waiting time.


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 +

described in detail to give a full overview of the system.


i +i +i +i +i +i +i +i +i +i +i +i

+i

2.7.1 Web Server +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 +

web server software used in a lot of project[9] works.


i +i +i +i +i +i +i +i +i +i + i+ i+ i

+i

2.7.2 Programming Languages +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 +

to that event, for example, a click on a button.


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

For this project work, MySQL was chosen as a database.


+i +i +i +i +i +i +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 provides multiple development interfaces (ODBC, JDBC).


+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 +

i to use and PHP's ability to work with MySQL.


+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

We are implementing a web-based appointment system in Pakistan for booking an online


+ i + i + i + i + i + i + i + i + i + i + i + i +

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

The main characteristics of the system are:


+i +i +i +i +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 +

to the site and accessing his/her personal page.


i +i +i +i +i +i +i +i + i+ i

3.1 Block Diagram of the Project and its Description


+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

Figure 1: Block diagram of EHMS +i +i +I +i +I

21
3.2 Flow Chart of the Project and its Description
+i +i +i +i +i +i +i +i

The flow Chart of EHMS is shown in this figure.


+i +i +i +i +i +i +i +i +i

Figure 2: Flow Chart of EHMS


+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

Figure 1: Use Case Diagram of this Project


+i +i +i +i +i +i +i

Figure 3: Use Case Diagram of this Project


+i +i +i +I +i +i + i

23
3.1.1 Patient Use Case Diagram
+i +i +i +i

Figure 4: Use Case Diagram for Patient (user) +i +i +i +i +i +i +i

Use-Case 1: Registration +i +i +i

+i

Primary-actor: generic user/patient. +i +i + i+ i

+i

Description: To make an appointment, user registration is required. + i+ i +i +i +i +i +i +i +i + i+ i

+i

Precondition: National ID card and valid email address. +i +i +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

➢ Gender Email address +i +i +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

Exception: Expired/invalid National ID card no or email address.+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 +

to provide his username and password.


i +i +i +i +i +i + i+ i

+i

Precondition: the user must have a valid username and password. +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

Exception: wrong/invalid entered username or password.+i +i +i +i +i +i

Use-case 3: search for a doctor +i +i +i +i +i +i

+i

Primary-actor: User patient/generic user +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 +

of any desired specialty.


i +i +i +i +i

+i

Precondition: this use-case has no exception. +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 +

of all registered doctors.


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 +

based on qualification, experience, location etc.


i +i +i +i +i +i +i

+i

Exception: no exception for this use-case. +i +i +i +i +i +i

Use-case 4: Take Appointment +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

Precondition: the user must be login +i +i +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 +

and send the request for approval.


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 +

send the request for approval.


i +i +i +i +i +i

+i

Exception: this use-case has no exception. +i +i +i +i +i +i

+i

Use-case 5: View history +i +i +i +i

+i

Primary-actor: User/patient +i +i

+i

Description: the user can view his medical history. +i +i +i +i +i +i +i +i

+i

Precondition: the user must be signed in. +i +i +i +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 +

to view old reports.


i +i +i +i +i

+i

Exception: no exception for this use-case. +i +i +i +i +i +i

+i

Use-case 6: Log out +i +i +i +i

+i

Primary-actor: User/patient +i +i

+i

Description: the user will log out from the system. +i +i +i +i +i +i +i +i +i

+i

Precondition: the user must be logged in +i +i +i +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 +

page for the generic user.


i +i +i +i +i +i

+i

Exception: no exception for this use-case.


+i +i +i +i +i +i

+ i+ i

3.1.2 Doctor’s Use Case


+i +i +i +i

+i Figure 5: Use Case for Doctor (user)


+i +i +i +i +i +i

Use-case 1: Registration +i +i + i+ i

+i

Primary-actor: Generic user/doctor +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 +

application/system with the help of Admin.


i +i +i +i +i +i +i

+i

Precondition: National ID card and active email address. +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

➢ National identity number +i +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 +

avoid any scam.


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 +

ID card or inactive email.


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

Precondition: the user must enter the username and password. +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

Exception: occurs if fails to provide username and password.


+i +i +i +i +i +i +i +i +i

+i

Use-case 3: View calendar +i +i +i

Primary-actor: User/doctor +i +i

+i

Description: User would be able to view his calendar.


+i +i +i +i +i +i +i +i +i

+i

Precondition: The user must be signed in. +i +i +i +i +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 +

patient's appointments of any date.


i +i +i +i +i + i+ i

+i

Exception: no exception for this use case.


+i +i +i +i +i +i +i

+i

Use-case 4: Accept or reject a request


+i +i +i +i +i +i +i

+i

Primary-actor: User/doctor +i +i

+i

Description: User/doctor can accept or reject any patient's request.


+i +i +i +i +i +i +i +i +i

+i

Precondition: User/doctor must be signed in. +i +i +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 +

appointment request from the drop-down menu.


i +i +i +i +i +i + i+ i

+i

Exception: no exception for this use case.


+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 +

her medical history.


i +i +i + i+ i

+i

Precondition: User/doctor must be signed in +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 +

the patient's detail and medical history.


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 +

history by clicking on the "view patient" button


i +i +i +i +i +i +i +i + i+ i

+i

Exception: no exception for this use case.


+i +i +i +i +i +i +i

Use-case 6: Add comments +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

Precondition: User/doctor must be signed in +i +i +i +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 +

reviews after checking the patient.


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 +

her comments. User/doctor will hit the submit button.


i +i +i +i +i +i +i +i + i+ i

+i

Exception: no exception for this use case.


+i +i +i +i +i +i +i

+i

Use-case 7: log out +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

Precondition: the user/doctor must be signed in


+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 +

main page for the generic user.


i +i +i +i +i +i +i

+i

Exception: no exception for this use case.


+i +i +i +i +i +i +i

3.1.3 Admin Use Case


+i +i +i +i

Figure 6: Use Case for admin +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

Precondition: username and password. +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 +

be logged in as an admin and can use all the administrative rights.


i +i +i +i +i +i +i +i +i +i +i +i +i +i

+i

Exception: occurs if user provides wrong username/password.


+i +i +i +i +i +i +i

+ i+ i

Use-case 2: Manage users +i +i +i +i

+i

Primary-actor: Admin/user +i +i

+i

Description: User/admin can use his administrative rights.


+i +i +i +i +i +i + i+ i

+i

Precondition: the user must be logged in as an admin. +i +i +i +i +i +i +i +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

Exception: no exception for this use case.


+i +i +i +i +i +i +i

+i

Use-case 3: log out +i +i +i +i

Primary-actor: Admin/user +i +i

+i

Description: Admin will log out from the system. +i +i +i +i +i +i +i +i

+i

Precondition: Admin must be signed in +i +i +i +i +i +i

+i

Basic use-case flow: User signs out himself “as an admin".


+i +i +i +i +i +i +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 +

local storage and brings the user to the homepage.


i +i +i +i +i +i +i +i +i +i

+i

Exception: no exception for this use case.


+i +i +i +i +i +i +i

+i

32
Chapter 4 +i

+i Software Components and their Testing +i +i +i +i

Software Components and their Testing +i +i +i +i

4.1 Installation steps of Android Studio +i +i +i +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 download android studio button.


+i +i +i +i +i +i

Figure 7: Android Studio +i +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

Figure 8: Android Studio check box


+i +i +i +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

It will prompt the following dialogue box.


+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

Figure 10: Android studio installation step


+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

Figure 11: Import Studio setting steps+i +i +i +i +i

Click the OK button.


+i +i +i

34
• Step – 6: +i +i

This will start the Android Studio.


+i +i +i +i +i

Figure 12: Android Studio opening page


+i +i +i +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

Figure 13: Welcome dialog box


+i +i +i +i

Click on next.
+i +i

Figure 14: Installation Type steps


+i +i +i +i

Choose Standard and click on Next.


+i +i +i +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

Figure 15: Theme Selecting steps


+i +i +i +i

Click on the Next button


+i +i +i +i

• Step – 8: +i +i

Now it is time to download the SDK components.


+i +i +i +i +i +i +i +i

Figure 16: Downloading steps of SDK components


+i +i +i +i +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

Now it’s time to launch and build apps.


+i +i +i +i +i +i +i

• Step – 9: +i +i

Click on ‘Start new android project’ to build a new app.


+i +i +i +i +i +i +i +i +i +i

36
Figure 17: Start new project on Android Studio
+i +i +i +i +i +i +i

4.2 Installation and download steps of Visual 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 +

i with their download links.


+i +i +i

Figure 18: Visual Studio Downloading window


+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 +

continue by agreeing to the licenses by Microsoft.


i +i +i +i +i +i +i +i

Figure 19: Visual studio 2017 installation steps


+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

Figure 20: Visual Studio Installer


+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

• Workload: Choose the components you want to install.


+i +i +i +i +i +i +i +i

• Individual components: You can also choose individual components.


+i +i +i +i +i +i +i

• Language Packs: You can select the language of your choice.


+i +i +i +i +i +i +i +i +i

+ i+ i+ i+ i Figure 21: Visual studio tools window


+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 +

i asking to restart and reboot.


+i +i +i +i

Figure 23: install visual studio 2017


+i +i +i +i +i

4.3 Installation steps of Xampp Server +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 +

so it might take a minute or so depending on your connection:


i +i +i +i +i +i +i +i +i +i +i +i

39
Figure 24: Xampp Apache window
+i +i +i +i

Figure 25: installation setup


+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 +

components, all you need are:


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

Figure 27: installation folder for Xampp


+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 +

need this to install XAMPP, so just uncheck the box:


i +i +i +i +i +i +i +i +i +i

Figure 28: installation of visual Xampp


+i +i +i +i +i

Figure 29: Xampp server install


+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

Figure 30: Control panel of Xampp


+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

Figure:32: Program of Java


+i +i +i

➢ Operating System (Windows)


+i +i

➢ Visual Studio
+i

44
Figure 33: Program on Visual Studio
+i +i +i +i +i

Android Studio
+i

The sample code of java on android studio is shown in this figure.


+i +i +i +i +i +i +i +i +i +i +i +i

Figure 34: Sample code on Android Studio


+i +i +i +i +i +i

45
Chapter 5 +i

Integration of Components and Results +i +i +i +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

The Front page of a website is shown in this figure.


+i +i +i +i +i +i +i +i +i +i

Figure 35: Header of website +i +i +i +i

46
The Footer page of a website is shown in this figure.
+i +i +i +i +i +i +i +i +i +i

Figure 36: Footer of website


+i +i +i +i

The sample list of doctors of a website is shown in this figure.


+i +i +i +i +i +i +i +i +i +i +i +i

Figure 37: Lists of Doctors


+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

Figure 38: Departments of Hospitals


+i +i +i +i +i

The Doctors login page of a website is shown in this figure.


+i +i +i +i +i +i +i +i +i +i +i

Figure 39: Doctors login and Sign up Section


+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

Figure 40: Contact Sections of website


+i +i +i +i +i

The main login page of a website is shown in this figure.


+i +i + i+ i +i +i +i +i +i +i +i +i

Figure 41: Main login Page of Website


+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

Figure 42: Patient Login Form


+i +i +i +i

The Patients Registration Form of a website is shown in this figure.


+i +i +i +i +i +i +i +i +i +i +i

Figure 43: Patient Registration Form


+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

Figure 44: Patient Sections of website


+i +i +i +i +i

The Patient section of a website is shown in this figure.


+i +i +i +i +i +i +i +i +i +i

Figure 45: Patient Sections of website


+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

Figure 46: Patients Appointment Sections of website


+i +i +i +i +i +i

The Patient appointment history section of a website is shown in this figure.


+i + i+ i +i +i +i +i +i +i +i +i +i +i

Figure 47: Patients Appointment History Sections of website


+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

Figure 48: Admin Login Form


+i +i +i +i

The Admin portal of a website is shown in this figure.


+i +i +i +i +i +i +i +i +i +i

Figure 49: Admin Portal


+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

Figure 50: Admin Appointments sections of website


+i +i +i +i +i +i +i

The Admin doctors Sections of website of a website is shown in this figure.


+i +i +i +i +i +i +i +i +i +i +i +i +i

Figure 51: Admin doctors Sections of website


+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

Figure 52: Admin Appointment history Sections of website


+i +i +i +i +i +i +i +i

The doctors login form of a website is shown in this figure.


+ i+ i +i +i +i +i +i +i +i +i +i +i

Figure 53: Doctors login form


+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

Figure 54: Doctors Sections of website


+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 +

i appointment date to the calendar. +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

[1] A. Hylton and S. Sankaran arayanan,“Application of Intelligent Agents in Hospital


+ i + i + i + i + i + i + i + i + i + i + i +

Appointment Scheduling System”, International Journal of Computer Theory and Engineering,


i + i + i + i + i + i + i + i + i + i +

Vol. 4, 1,August 2012.


i +i +i +i

[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 +

International Advanced Research Journal in Science, Engineering and Technology, Vol.


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 +

Doctors Appointment”, International Journal of Innovative Research in Computer and


i + i + i + i + i + i + i + i + i + i +

Communication Engineering, Vol. 2,1, January 2014


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 +

Appointment System”, International Journal of Research in Engineering, Science and


i + i + i + i + i + i + i + i + i + i +

Management, Vol 2, February 2019.


i +i +i +i +i

[6] Koole, G., and G. Kaandorp,”Optimal outpatient appointment scheduling”, International


+ 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

[7] Klassen, K. J., T. R. Rohleder,”Outpatient appointment scheduling with urgent clients in a


+ i+ i + i + i + i + i + i + i + i + i + i + i + i + i +

dynamic, multi-period environment”,International Journal of Computer Theory and Engineering,


i + i + i + i + i + i + i + i + i +

Vol.24, 02, Aprail 2009.


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 +

without seeing a Physician” , International Journal of Computer Theory and Engineering,


i + i + i + i + i + i + i + i + i + i + i + i +

Vol.24,12, march 2009.


i +i +i

[9] Cayirli, T, E. Veral, and H. Rosen,” Assessment of patient classification in appointment


+ 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 +

ambulatory care services” International Journal of Research in Engineering, Science and


i + i + i + i + i + i + i + i + i + i + i +

Management, Vol 12, February 2011.


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 +

Biology Society, 1:6119–22, 2009.


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 +

International Conference on Computer Supported Cooperative Work in Design, pp. 559-602.


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 +

appointment scheduling with patient preferences”, Science Direct, Artificial Intelligence in


i + i + i + i + i + i + i + i + i + i +

MedicineJanuary 2015, Pages 33–40


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 +

Registration Recommendation System”, Software Engineering and Service Science (ICSESS),


i + i + i + i + i + i + i + i + i +

2012 IEEE 3rd International Conference, 22-24 June 2012


i +i +i +i +i +i +i +i

60

You might also like