Appointment and Workload Management System
Appointment and Workload Management System
Appointment and Workload Management System
System
by
CS 18-11
Supervisor:
Dr. John Ngubiri
June, 2018
Dedication
We dedicate this report to the Almighty God who gave us the knowledge and
ability to continue with our project successfully. We further dedicate it to
our parents and guardians for their unceasing and selfless support throughout
our stay in this university.
iii
Acknowledgement
We are deeply indebted to our project supervisor Dr. Ngubiri John whose un-
limited steadfast support, guidance and inspirations have made this project
a great success. In a very special way, we thank him for all the knowledge
and support he rendered unto us to see that we succeed in this challenging
study.
Special thanks goes to our friends and families who bared with us during
the hectic moments and stress we went through during the course of our
Final Year Project.
We thank the school for giving us the grand opportunity to work as a team
which has indeed promoted our team work spirit, interpersonal and commu-
nication skills. We also thank the individual group members for the unending
team spirit, will and solidarity that was exhibited during the course of the
project.
iv
Abstract
The health sector is among the most important sectors in the Republic of
Uganda. The rate at which health facilities such as hospitals, pharmacies
and medical laboratories are established and/or revamped increases annu-
ally. These facilities must provide spot-on services for their clients, as well
as acceptable working conditions for their medical personnel. This report
describes the development of an appointment and workload management
system designed to provide support to health facilities in terms of service
delivery for clients coupled with creation of equally favorable conditions for
all personnel. It describes the problem being addressed, objectives intended
for the project, and a review on the functionality of existing related systems.
The report also provides a full description of the development cycle (design
and implementation) of the system.
v
Contents
Declaration i
Approval ii
Dedication iii
Acknowledgement iv
Abstract v
Abbreviations/Acronyms xi
1 Introduction 1
1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Main Objective . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3.1 Specific objectives . . . . . . . . . . . . . . . . . . . . . 3
1.4 Scope of the Project . . . . . . . . . . . . . . . . . . . . . . . 3
1.5 Significance of the Project . . . . . . . . . . . . . . . . . . . . 3
2 Literature Review 5
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Related Systems . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.1 Eclipse . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.1.1 Strengths . . . . . . . . . . . . . . . . . . . . 5
2.2.1.2 Weaknesses . . . . . . . . . . . . . . . . . . . 6
2.2.2 AppointMate . . . . . . . . . . . . . . . . . . . . . . . 6
2.2.2.1 Strengths . . . . . . . . . . . . . . . . . . . . 6
2.2.2.2 Weaknesses . . . . . . . . . . . . . . . . . . . 6
2.2.3 Jituzu . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.3.1 Strengths . . . . . . . . . . . . . . . . . . . . 7
2.2.3.2 Weaknesses . . . . . . . . . . . . . . . . . . . 7
vi
2.3 Comparison of the Systems . . . . . . . . . . . . . . . . . . . . 7
2.4 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 Methodology 9
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Data Collection . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2.1 Oral interviews . . . . . . . . . . . . . . . . . . . . . . 9
3.2.2 Internet research . . . . . . . . . . . . . . . . . . . . . 10
3.3 Tools Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.4 Data Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.5 System Design and Implementation . . . . . . . . . . . . . . . 11
3.6 Testing and Validation . . . . . . . . . . . . . . . . . . . . . . 11
vii
7 Appendices 35
7.1 Appendix A: Sample code . . . . . . . . . . . . . . . . . . . . 35
7.2 Appendix B: Interview questions . . . . . . . . . . . . . . . . 37
7.3 Appendix C: Work plan . . . . . . . . . . . . . . . . . . . . . 38
viii
List of Figures
ix
List of Tables
x
Abbreviations/Acronyms
App Application
IT Information Technology
OS Operating System
xi
Chapter 1
Introduction
1.1 Background
Over the years, numerous health facilities such as hospitals and clinics have
been established in different locations of the country due to the enormously
high demand for their services.
For any patient or client of the health facility to access these services, an
appointment must be scheduled with a doctor at an agreed day nd time to
improve on service delivery. Some situations however, such as emergency
cases where immediate attention is required do not need appointments to be
scheduled. A patient must be attended to by an immediate doctor because
such cases do not provide room for wasted time. In some health facilities,
patients do not schedule appointments at all. Once one goes to the facility,
he is given any doctor available to work on him at that time, and if none is
available the patient is advised to either wait for some hours or come back
the next day.
With these services, many complaints arise from various patients when it
comes to lining up in long queues to be able to schedule appointments with
health specialists. Patients are told to first fill appointment forms after which
they have to wait for hours to get a response on whether their appointments
have been successfully scheduled or not. For cases of unsuccessful scheduling,
patients have to wait for days to be able to get their appointments confirmed.
1
This means that a lot of time is wasted on patients’ side in making unnec-
essary movements to and from the facility to the final day of when they are
worked on. With such delays and disorganization with appointment sched-
ules, it raises a question of what would happen if an emergency occurred and
all doctors are occupied by other patients. Would a doctor have to tun off
from his patient to attend to the emergency cases or would the patient with
am emergency have to wait for a doctor to be available?
2
ing on the number of appointment requests received per day. The problem
this system addresses is the uneven distribution of workload among doctors
which always occurs during appointment scheduling.
3
i. Once completed and fully functional, the system will greatly reduce on
the overall amount of time taken by patients to see health specialists
by providing on-line appointment scheduling. This is archived by elim-
inating the long queues and appointment forms that are currently used
by most health facilities.
iii. The system also provides room for further study within this area by
creating a source of reference literature for students that would wish
to develop similar/related systems.
4
Chapter 2
Literature Review
2.1 Introduction
The main purpose of this chapter is to present a review of some of the re-
lated/existing appointment scheduling systems currently used by health fa-
cilities, together with their strengths and weaknesses.
2.2.1.1 Strengths
(i) Eclipse provides billing estimates for medical services required by pa-
tients as they request for appointment schedules. The software allows
processing of payments on-line and also provides patients with their
payment history for those that usethe system more than once.
5
2.2.1.2 Weaknesses
(i) The software does not cater for workload distribution among doctors
registered in the system. A patient can schedule an appointment with
any doctor displayed by the system during any time of their conve-
nience.
(ii) Eclipse does not have a functionality that considers cases of emergency
patients.
2.2.2 AppointMate
This is a medical appointment scheduling software that was developed by
Delta Health Technologies company in the United States. It provides patient
scheduling and record management features.
2.2.2.1 Strengths
(i) The software provides billing and invoicing information required by
patients while scheduling appointments, allowing them to be informed
about their pricing capabilities and affordability of the services to be
used.
2.2.2.2 Weaknesses
(i) AppointMate does not support the even distribution of workload, re-
gardless of the fact that it provides records for the shift availability of
the different doctors in a facility.
6
2.2.3 Jituzu
This is a mobile phone application that enables service provider professionals
to better engage with their clients. Jituzu is used to allow easy communica-
tion between patients and health workers at all times.
2.2.3.1 Strengths
(i) Jituzu is similar to Eclipse in that it also provides on-line billing and
payment processing features which are used by patients to approximate
the charges required for medical services.
(ii) The App allows both patients and doctors to set appointment re-
minders. These are set before the appointment’s date to allow one
easily remember and prepare for the appointment.
(iii) The App has a no-show tracking functionality which allows a doctor to
identify which patient did not appear for an appointment, and whether
there is a reason given by that patient.
(iv) The App also provides on-call scheduling whereby patients log in to
the system, select a doctor to schedule an appointment with, and then
make a direct phone call to set a date. This is archived through a fast
response time which is suitable for real-time communication between
patients and health workers.
2.2.3.2 Weaknesses
(i) Similar to Eclipse, Jituzu does not support even/uniform workload dis-
tribution among similar doctors registered in the system.
(ii) The calendar used by the App for scheduling appointments does not
provide separability between valid and invalid dates for a patient to set
an appointment. This affects the level of visibility and clarity for users.
Patients also have trouble when tracking across from left where hours
are marked to select a day for setting the appointment.
7
Figure 2.1: A comparison of the system features.
2.4 Conclusion
Current systems used by health facilities for patients to schedule appoint-
ments with doctors, as identified above, do not cater for the even distribution
of workload during the scheduling process. It is only AppointMate that puts
into consideration records concerning the shift allocation for each doctor
registered in the system but it does not use this information to ensure
uniformity in workload distribution.
The other main weakness that was identified with these existing systems is
that they do not consider emergency cases. a situation can occur whereby a
patient needs to be attended to urgently but when all doctors are occupied
by other patients. This can cause major alterations in operations.
8
Chapter 3
Methodology
3.1 Introduction
This chapter highlights the different techniques that were used to successfully
complete the project. It provides a description of the development cycle, data
collection and analysis methods, system design and implementation methods,
together with the system testing and validation techniques that were applied
to make sure that the system satisfies and meets user requirements.
9
(ii) Oral interviews provide room for collecting more information through
use of open-end questions, and not limiting the answers/responses that
can be given by an interviewee.
(iii) Last but not least, oral interviews are also considered as one of the
cheapest method of data collection when looking at a minimal study
set. In this case we looked at the major health facilities in Kampala
such as Mulago and Nsambya hospital.
(i) Internet research allows the collection of data for systems not only in
Uganda but in different parts of the world.
10
- Pens
- Paper
Oral interviews
- Mobile phones (when audio recording was re-
quired)
11
Chapter 4
This chapter describes the system study, analysis and design of the system. It
highlights the identified requirements and architectural design of the system.
12
to being helped by the personnel at a health facility with the on-line
process. This is why we recommend the facility to ensure that a sup-
port team is available to help such patients that are not well versed
with the on-line system. The pie chart below shows the above analysis.
Figure 4.1: A pie chart showing the percentage of patients with smart devices.
13
Figure 4.2: A pie chart rating appointment scheduling methods.
14
Figure 4.3: A bar graph showing doctors’ contentment towards workload
distribution.
15
(iii) The system must provide user authentication for its different user types.
(i) The system must verify and validate all user input. Error messages
must be displayed immediately once any invalid input is detected.
(ii) Any modifications that are made to the system’s database should be
updated to all users accessing the system within a maximum of one
minute.
iii. The system must also provide data security and integrity for the infor-
mation of its users.
iv. The system should be able to recover from any complications as quickly
as possible in oder to avoid interruptions of operations at the health
facility.
Hardware requirements:
The table below shows the hardware components that a computer must
have for proper functioning of the system.
Hardware component Minimum requirement
Processor 2.4 Ghz processor speed
Memory 2 GB Ram
Disk space 500 GB including 20 GB for the DBMS
800 by 600 color, 1024 by 768 high color - 16
Display
bit recommended
Software requirements:
The table below shows the software specifications that a computer must have
for proper functioning of the system.
16
Software component Minimum requirement
OS Windows 7 or later
DBMS MySQL server
Runtime environment WampServer
17
Figure 4.4: Use case diagram/blueprint of the system.
18
Figure 4.5: Context diagram of the system.
19
the interactions from the external entities.
20
4.3.4 Database design
The entity relationship diagram bellow illustrates te interrelationship
between the different entities that are used in the system database. The
DBMS that was used is MySQL server.
21
4.3.5 Design methodology
The methodology that we used is the agile development method. This is a
creative process that provides room for flexibility and applies a high level of
organization into the delivery of the final system. We were able to focus on
maintaining simple and organized code by performing regular testing, and
obtaining system functionalities as soon as they were ready. This enabled us
to eliminate risks such as code errors/bugs.
22
Chapter 5
System Implementation,
Testing and Validation
5.1 Introduction
This chapter describes how the system was implemented. The purpose of
implementation and validation was to make sure that the system meets its
set objectives and requirement specifications that were identified.
23
Figure 5.1: Interface for registering and creating doctor accounts.
24
Figure 5.3: User login interface.
25
Figure 5.5: Location of the health facility.
Once the appointment details are entered, the patient can then view and
select the preferred time for his appointment. This is shown in figure 5.6.
Figure 5.6: View of the doctors available and their time for an appointment.
26
Figure 5.7: Appointment request viewed by a doctor.
27
Figure 5.9: Error message displayed by the system.
Test Plan: The system was designed to prescribe the scope, approach,
resources, and schedule all testing activities. The plan identifies the items
and features tested, the types of testing that were performed, the personnel
responsible for testing, the resources and schedule required to complete the
testing process.
The purposes of a software test plan include:
(i) To achieve the correct code and ensure that all functional and design
requirements are implemented as specified in the systems documenta-
tion.
28
(ii) To provide a procedure for unit and system testing.
(i) Identify the requirements to be tested. All test cases were derived using
the existing design specifications.
5.3.2 Validation
System validation was performed to ensure that the system meets its require-
ments. A combination of checks were evaluated to identify, fix and eliminate
any run-time errors users would encounter while using the system. Some of
the validation checks that were conducted include:
(i) Does the system only allow users to login with valid user-names and
passwords?
29
(ii) Does the system maintain its authorization levels for the different user
types?
(iii) Are doctors able to view all appointment requests sent in by patients?
(iv) Does the system display required error messages for any invalid input
detected?
30
Chapter 6
Recommendations, Conclusion
and Future Works
This chapter describes our recommendations for the different users of the
system, conclusions as well as future works/enhancements for the system.
6.1 Recommendations
Training of staff members/medical personnel in the hospital with how
the system works is a major priority. Making sure that all doctors are
able to use the system with ease and confidence would increase n their
effectiveness during work shifts. We therefore recommend that the hospital’s
management ensures that all doctors responsible are trained and given all
the basic information on how to use the system.
The AWMS being a new system (with added technology) some mem-
bers of staff are most likely to get threaten that the computerized system
will replace their jobs. We recommend that the management of the
hospital educates their staff on how the system will operate and how it will
supplement their efforts, instead of replacing their job positions (because
the system would not operate itself without the personnel).
For efficiency of the hospital, all users of the system need to be thor-
oughly informed about the personal information/credentials that they
use to create their accounts. Users are advised to record their passwords
and email addresses safely for easy remembrance while logging in to the
system. We also recommend that the email addresses used are existing
addresses allowing users to receive notifications through email where possible.
31
The system has authorization levels for the different user types, whereby
patients and medical personnel can only view information made accessible
for them and a member of management has the right to access all informa-
tion of the system. We therefore recommend that the management must be
keen on whoever is to be identified as part of the management/admin team.
6.2 Conclusion
The core reason for the development of a computerized system of scheduling
appointments and managing workload is to improve on how operations run
within the hospital on a daily basis. Therefore the I.T. used should sup-
port the core objective of the system if it is to remain relevant to the hospital.
32
without the need to be directly at the hospital. A hospital’s personnel can
also be able to send feedback and support more efficiently.
33
References
34
Chapter 7
Appendices
Figure 7.2 shows the sample code that checks for the user type (whether one
is a patient, doctor or management member) when one logs in.
35
Figure 7.2: Code for testing the user type.
When the user type is identified, the system redirects the identified user to
their assigned interface view. Figure 7.3 shows the sample code for redirecting
a member of the management team to the management page/interface view.
36
7.2 Appendix B: Interview questions
We were able to interact with a few people while conducting our oral inter-
views.
Below are a few interview questions we asked the patients we encountered:
b. How long does it take for you to receive a response after requesting for
an appointment?
37
7.3 Appendix C: Work plan
The anticipated time frame for implementing the Appointment and Workload
Management System was approximately six months, and this was followed
subject to our academic calendar for the year. Below was the anticipated
plan that we followed during the implementation process:
Activity Duration
Data collection through interviews and Internet research Two weeks
Data analysis One week
System design and implementation Twenty weeks
System testing and validation One week
38