Corectedreportdesign and Implementation of A Web
Corectedreportdesign and Implementation of A Web
MANAGEMENT SYSTEM
CASE STUDY: GOMBE MEDICAL SERVICES
Prepared
by
TALEMWA AARON
AINEMBABZI JOSHUA
AINEMBABAZI PETER
Supervisor
Bukoli Herbertson
Department of Computing
JUNE 2025
DECLARATION
We, the undersigned, hereby declare that to the best of our knowledge, ability, and
understanding, this project report titled "A Web-Based Hospital Management System –
Case Study: Gombe Medical Services" is a result of our original effort and research. It has
not been submitted, either in whole or in part, to any other institution for the purpose of
obtaining an academic award.
Date:……………………………………
APPROVAL
This project report has been submitted for examination with the approval of the supervisor.
Signature: ……………………………………………………...
Date: ……………………………………………………………
Mr.Bukoli Herbertson
Department of Computing
Faculty of Science and Computing, Ndejje University
DEDICATION
This project report is wholeheartedly dedicated to our beloved families, whose unwavering
support, prayers, and encouragement have been our foundation throughout this academic
journey.
We also dedicate this work to the patients and healthcare professionals who inspire the
pursuit of technological solutions to improve healthcare delivery.
To our lecturers and mentors at Ndejje University, thank you for nurturing our growth and
instilling in us the knowledge and values that made this achievement possible.
Above all, we dedicate this to the Almighty God for the gift of life, wisdom, and strength that
carried us through this endeavour.
ACKNOWLEDGEMENT
We would like to express our sincere gratitude to the Almighty God for the gift of life,
strength, and wisdom that enabled us to carry out and complete this project report
successfully.
Our heartfelt appreciation goes to our supervisor, Mr. Bukoli Herbertson, for his invaluable
guidance, encouragement, and constructive feedback throughout the course of this research.
His support and mentorship have been instrumental in shaping the direction of this project.
We also extend our thanks to the staff and management of Gombe Medical Services, whose
cooperation and insights contributed greatly to the development of this project. Their
willingness to share information and offer assistance is deeply appreciated.
To our lecturers and the entire Faculty of Science and Computing at Ndejje University,
thank you for the knowledge and skills imparted to us during our academic journey.
Lastly, we are grateful to our families and friends for their unwavering support, patience, and
understanding throughout this academic endeavour.
LIST OF ABBREVIATIONS
Abbreviation Full Meaning
HMS Hospital Management System
PHP Hypertext Preprocessor
HTML HyperText Markup Language
CSS Cascading Style Sheets
SQL Structured Query Language
UI User Interface
UX User Experience
DBMS Database Management System
ERD Entity Relationship Diagram
DFD Data Flow Diagram
CRUD Create, Read, Update, Delete
IT Information Technology
ID Identification
DB Database
IPD In-Patient Department
OPD Out-Patient Department
OS Operating System
API Application Programming Interface
UAT User Acceptance Testing
WHO World Health Organization
DHIS2 District Health Information Software 2
HTTP Hypertext Transfer Protocol
MySQL My Structured Query Language (Database System)
IDE Integrated Development Environment
Table of Contents
DECLARATION......................................................................................................................................
APPROVAL..............................................................................................................................................
DEDICATION..........................................................................................................................................
ACKNOWLEDGEMENT........................................................................................................................
LIST OF ABBREVIATIONS...................................................................................................................
ABSTRACT...............................................................................................................................................
CHAPTER ONE: INTRODUCTION...................................................................................................
1.0 Introduction..................................................................................................................................
1.1 Background of the Study..............................................................................................................
1.2 Problem Statement.......................................................................................................................
1.3 Objectives of the Study.................................................................................................................
1.4 Research Questions.......................................................................................................................
1.5 Scope of the Study.........................................................................................................................
1.6 Significance of the Study..............................................................................................................
1.7 Justification...................................................................................................................................
1.8 Limitations of the Study...............................................................................................................
CHAPTER TWO: LITERATURE REVIEW......................................................................................
2.0 Introduction..................................................................................................................................
2.1 Concept of Hospital Management Systems.................................................................................
2.2 Previous Systems and Their Limitations.....................................................................................
2.3 Importance of Web-Based Technologies in Health Systems......................................................
2.4 Theoretical Framework................................................................................................................
2.5 SWOT Analysis of Existing Hospital Systems............................................................................
2.6 Gap in the Literature....................................................................................................................
2.7 Summary of the Literature Review.............................................................................................
CHAPTER THREE: METHODOLOGY.............................................................................................
3.0 Introduction..................................................................................................................................
3.1 Research Design............................................................................................................................
3.2 System Development Methodology..............................................................................................
3.3 Target Population.........................................................................................................................
3.4 Data Collection Methods..............................................................................................................
3.5 Tools and Technologies Used.......................................................................................................
3.6 System Modeling Techniques.......................................................................................................
3.7 Ethical Considerations..................................................................................................................
3.8 Summary.......................................................................................................................................
CHAPTER FOUR: REQUIREMENTS, ANALYSIS AND DESIGN.................................................
4.1 Introduction..................................................................................................................................
4.2 User Requirements.......................................................................................................................
4.3 System Requirements...................................................................................................................
4.4 System Design................................................................................................................................
4.5 Database Design............................................................................................................................
4.6 Interface Design............................................................................................................................
4.7 Functional Modeling of the System.............................................................................................
4.8 Software Design Approach...........................................................................................................
4.9 Architecture Design......................................................................................................................
4.10 System Modeling.........................................................................................................................
4.11 Storyboard...................................................................................................................................
4.12 Summary.....................................................................................................................................
CHAPTER 5: IMPLEMENTATION AND TESTING........................................................................
5.1 Introduction..................................................................................................................................
5.2 Implementation.............................................................................................................................
5.3 Testing...........................................................................................................................................
CHAPTER 6: SUMMARY, CONCLUSION AND RECOMMENDATIONS...................................
6.1 Introduction..................................................................................................................................
6.2 Summary of Findings / Results....................................................................................................
6.3 Conclusion.....................................................................................................................................
6.4 Recommendation..........................................................................................................................
6.5 Future Research Areas.................................................................................................................
REFERENCES........................................................................................................................................
ABSTRACT
In today’s dynamic healthcare environment, the demand for efficient, reliable, and accessible
hospital management systems was identified as essential. This project focused on the design
and implementation of a Web-Based Hospital Management System, using Gombe Medical
Services as a case study. The system was developed to automate and streamline core hospital
functions such as patient registration, employee management, pharmacy inventory, billing,
laboratory reporting, and payroll processing.
The primary objective was to enhance healthcare service delivery by improving operational
efficiency, minimizing human error, and enabling real-time access to critical data. The system
was developed using PHP for backend logic and MySQL for database management, and it
featured a responsive, user-friendly interface tailored to various user roles, including
administrators, medical staff, laboratory technicians, and pharmacists.
Testing was conducted through unit testing, integration testing, system testing, and user
acceptance testing. These confirmed that the system met both functional and non-functional
requirements. Role-based access control, secure authentication, and data validation were
implemented to ensure confidentiality, integrity, and availability of data.
The results indicated that the system significantly improved departmental coordination,
record accuracy, and the overall efficiency of hospital operations. This project contributed to
the digital transformation efforts of Gombe Medical Services and demonstrated the potential
for similar systems to be adapted for use in other mid-sized healthcare institutions.
CHAPTER ONE: INTRODUCTION
1.0 Introduction
This chapter presents an overview of the study, providing the background of the project, the
problem statement, objectives, research questions, scope, significance, justification, and
limitations. The project focuses on the development of a Web-Based Hospital Management
System (WBHMS) tailored for Gombe Medical Services to enhance operational efficiency
and patient service delivery.
Hospitals and other healthcare facilities are responsible for managing large volumes of data
related to patients, staff, appointments, billing, and inventory. Traditionally, many hospitals
in Uganda, including Gombe Medical Services, rely on manual or semi-digital systems such
as paper-based records and Excel sheets. These systems often lead to challenges such as data
duplication, delayed access to patient records, difficulty in generating reports, and overall
inefficiency in hospital management.
Gombe Medical Services, located in Uganda, has faced difficulties in handling increasing
patient data and providing timely healthcare services due to its existing manual system. This
project seeks to design and implement a secure, efficient, and scalable web-based system to
digitize its operations.
1.2 Problem Statement
Gombe Medical Services currently uses a manual system to manage patient information,
appointments, inventory, and billing processes. This system is prone to human errors,
inefficiencies, data loss, and delays in retrieving critical information. As a result, it
compromises the quality of healthcare services and hinders timely decision-making. There is
a pressing need for a web-based solution that will streamline operations, reduce paperwork,
and improve service delivery.
To design and implement a web-based hospital management system for Gombe Medical
Services to improve operational efficiency and healthcare service delivery.
I. What are the limitations of the current hospital management practices at Gombe
Medical Services?
II. What are the core requirements for a web-based hospital management system?
III. How can a web-based system improve efficiency in patient care and administrative
tasks?
IV. What technologies are best suited for implementing the proposed system?
This project was implemented at Gombe Medical Services, located along Balintuma Road in
Mengo, Lubaga Division, Kampala, Uganda. The facility serves patients primarily from
Lubaga Division and surrounding areas of Kampala, Uganda's capital city.
The system focuses on core hospital operations, including patient registration, appointment
scheduling, billing, inventory management, and report generation.
The development and evaluation of the system were conducted between February 2025 and
May 2025.
1.6 Significance of the Study
Medical Staff: Improves access to patient records and simplifies appointment and
inventory management.
1.7 Justification
Given the inefficiencies of the current manual system at Gombe Medical Services, there is a
clear need for a digital transformation. A web-based hospital management system provides
scalability, accessibility, and automation of routine processes, contributing to improved
healthcare service delivery and operational efficiency.
Limited access to sensitive patient data during system testing due to privacy concerns.
Internet reliability issues which may affect real-time access to the system in rural settings.
2.0 Introduction
Hospital Management Systems (HMS) refer to integrated software platforms that manage
various administrative, financial, and clinical operations in a healthcare facility. Modern
HMS platforms automate tasks such as patient registration, appointment scheduling, billing,
inventory control, and report generation. According to Akhil et al. (2021), HMS significantly
improves hospital efficiency, reduces paperwork, and enhances patient data management.
Many hospitals in Uganda, particularly in rural areas, still rely on manual processes. These
processes are often slow, error-prone, and difficult to manage, especially when dealing with
large volumes of data. Literature shows that automating hospital operations helps reduce data
redundancy, improve service delivery, and facilitate better decision-making (Kabugo &
Nansubuga, 2019).
Numerous hospital systems have been developed globally and locally. For example, the
DHIS2 (District Health Information System 2) used in Uganda focuses on national health
data reporting rather than individual hospital management. Several private hospitals in urban
areas have adopted commercial solutions such as OpenMRS or MediSoft, but these systems
often require technical expertise, stable internet, and high licensing or setup costs.
Previous studies such as Tumusiime (2020) reveal that many rural hospitals lack affordable
and customizable management systems. These systems may also fail to integrate all hospital
departments, leading to fragmented data handling. Moreover, security concerns are common
where proper authentication and authorization are not implemented.
Current technologies such as PHP, MySQL, and Bootstrap offer the flexibility to design
responsive and user-friendly interfaces that can run on various devices. These tools also
support secure user authentication, structured database management, and integration with
APIs, which make them suitable for developing lightweight hospital systems tailored to local
environments.
This study adopts the Information System Success Model (ISSM) developed by DeLone
and McLean (1992, updated in 2003). The model emphasizes key dimensions of a
successful information system, including:
Strengths Weaknesses
Enhances efficiency and data access High initial cost and technical requirements
Reduces paperwork and redundancy Resistance to change from manual to digital
Enables accurate reporting Lack of customization in off-the-shelf systems
2.6 Gap in the Literature
While many hospital management systems exist, most are either not affordable, not tailored
to local needs, or are limited in terms of departmental integration. Few systems focus on
small-to-medium rural health centers such as Gombe Medical Services. There is a need for a
lightweight, web-based HMS that is both secure and user-friendly while considering resource
constraints.
The reviewed literature shows that hospital management systems can greatly enhance health
service delivery. However, most existing systems are either expensive, overly complex, or
lack critical features required in rural Ugandan hospitals. This study addresses these gaps by
designing a custom, web-based HMS for Gombe Medical Services, with a focus on
scalability, usability, and cost-efficiency.
CHAPTER THREE: METHODOLOGY
3.0 Introduction
This chapter describes the research methods used in the development of the web-based
hospital management system for Gombe Medical Services. It outlines the research design,
data collection methods, system development methodology, target population, tools and
technologies used, and the justification for each approach. The methodology adopted ensured
that the system was developed in a systematic, efficient, and effective manner.
This study adopted a software development research design, focusing on the analysis,
design, implementation, and evaluation of a customized hospital management system. The
design enabled the researcher to understand existing challenges at Gombe Medical Services
and translate user needs into functional software features.
The research followed a qualitative and quantitative approach, allowing both subjective
and objective data to inform system requirements and testing outcomes. Structured interviews
and observations were used to collect qualitative insights, while questionnaires and document
analysis provided quantitative data.
The system was developed using the Waterfall model, a sequential software development
approach consisting of the following phases:
System Design: A data flow diagram (DFD), entity-relationship diagram (ERD), and
system architecture were developed.
Implementation: The system was coded using PHP, MySQL, HTML, CSS, Bootstrap,
and JavaScript.
Testing: Functional and non-functional tests were conducted to verify and validate the
system.
Deployment and Evaluation: The system was deployed in a simulated environment for
user testing and feedback collection.
The Waterfall model was chosen due to its structured nature and suitability for clearly defined
requirements.
Hospital administrators
Receptionists
These users were directly involved in hospital processes and provided relevant insights during
requirements gathering and testing.
To gather information about the current system and user expectations, the following data
collection methods were used:
3.4.1 Interviews
Semi-structured interviews were conducted with key hospital staff to understand their roles,
challenges with the manual system, and expectations from the new system.
3.4.2 Observation
The researcher observed daily hospital operations such as patient registration, medication
issuing, and report handling. This helped to identify inefficiencies in the manual process.
Existing hospital records, patient forms, and stock books were reviewed to understand data
structure, flow, and storage needs.
3.4.4 Questionnaire
A questionnaire was administered to system users to quantify their level of computer literacy,
current challenges, and preferences for features.
The following tools and technologies were used in developing the system:
Tool/Technology Purpose
PHP Server-side scripting for backend logic
MySQL Relational database management
HTML/CSS/Bootstrap Frontend design and styling
JavaScript/jQuery Client-side interactivity
XAMPP Local server setup for development
Draw.io & Lucidchart Designing DFDs and ERDs
These models helped visualize the system architecture and guided the implementation phase.
Ethical standards were maintained during the research process. Informed consent was
obtained from all participants, and confidentiality of hospital data was upheld. No
patientspecific information was disclosed or used without permission. The system was
developed for educational purposes, with potential to be scaled for real-world deployment
under ethical supervision.
3.8 Summary
This chapter detailed the methods and tools used in designing and developing the web-based
hospital management system. The chosen Waterfall model ensured a disciplined approach,
and the combination of interviews, observation, and document review provided a strong
foundation for building a system that meets real hospital needs.
CHAPTER FOUR: REQUIREMENTS, ANALYSIS AND
DESIGN
4.1 Introduction
This chapter presents the comprehensive analysis and design of the Web-Based Hospital
Management System developed for Gombe Medical Services. It discusses the user and
system requirements, evaluates feasible solutions, tools used, and explains the design
methodology adopted. Furthermore, it illustrates the architectural, functional, and interface
design aspects, supported by system models and database structures used to implement the
system.
Doctors: Needed the ability to record medical diagnoses and access patient medical
histories.
Administrators: Needed full control over the hospital records, user accounts, medical
assets, and financial records.
Receptionists: Needed to register patients, update their records, and manage admissions
and discharges.
These users needed a simple, secure, and accessible system that would streamline patient data
management, laboratory operations, and asset monitoring.
4.3 System Requirements
Allow login access for authenticated users (admins, doctors, lab techs).
Portability: The system operated in any modern browser and across devices.
4.4 System Design
Technical: The team had the skills to build the system using PHP, MySQL, Bootstrap,
and JavaScript.
Economic: The system required only a local server (e.g., XAMPP), making it
costeffective.
Alternative Solutions
Proposed Solution
Tool Evaluation
The system database named hmisphp was designed using MySQL. It contains wellstructured
tables with clear relationships.
Key Tables:
Table Name Description
his_admin Stores admin login and session details
his_patients Contains all patient registration data
his_medical_records Links patients to doctor diagnoses
his_docs Stores doctor details and credentials
his_laboratory Records test requests and results
his_equipments Tracks hospital assets and devices
his_accounts Tracks budget, salary, and payments
Entity Relationship Diagram (ERD) The
The interface was designed using HTML, Bootstrap, and jQuery for a responsive and
userfriendly experience. Key UI components included:
Login Interface: Validated access to the system using SHA1 authentication.
Patient Registration Page: Form for entering personal and admission details.
Medical History Page: Interface for doctors to log diagnoses and treatments.
Accounts Module: Input forms for tracking salary payments and expenses.
Each form used client-side and server-side validation to ensure data integrity. DataTables
were used for fast display, filtering, and inline editing of records.
Level 0 (Context Diagram): Depicted overall interaction between system and external
users (Admin, Doctor, Lab Tech).
Level 1 DFD:
Register Patient
Record Diagnosis
Track Equipment
Generate Reports
4.8 Software Design Approach
The modular design approach was used, allowing each component (patients, doctors, labs,
etc.) to be developed and tested independently. This improved maintainability and future
expansion.
Use Cases: Login, Register Patient, Enter Diagnosis, Add Lab Result, Generate Report,
Manage Equipment, View Financial Reports.
Activity Diagram
A storyboard was created to guide the UI and user journey. It mapped out key user
interactions:
4.12 Summary
This chapter has described the system requirements, proposed solution, tool evaluations, and
overall design of the hospital management system. Through structured modeling and
wellconsidered technology choices, a robust foundation was established for the system's
implementation.
CHAPTER 5: IMPLEMENTATION AND TESTING
5.1 Introduction
This chapter presents the actual implementation of the Web-Based Hospital Management
System for Gombe Medical Services. It explains how different modules were developed, the
tools and technologies used, challenges encountered during implementation, and how they
were addressed. The chapter also details the testing activities performed, including the results
obtained from different levels of testing, to ensure the system performs as intended.
5.2 Implementation
The system was developed using the following tools and technologies:
Backend: PHP 8
Database: MySQL
These tools were selected for their open-source nature, wide support community, and
compatibility with the system requirements.
Laboratory Module:
Lab technicians can enter lab test results associated with each patient. These are stored in
a separate table and linked by patient_id.
$name = $_POST['name'];
$age = $_POST['age'];
$gender = $_POST['gender'];
$address = $_POST['address'];
This follows standard PHP coding conventions, with input sanitization handled using
mysqli_real_escape_string() during the actual deployment phase. 5.2.3
Challenges Encountered and Solutions
Scalability Initially hardcoded forms were Used dynamic form elements and
not scalable modular PHP classes
Real-time updates Needed instant update on patient Integrated AJAX for dynamic
records data fetching
5.3 Testing
Testing was carried out throughout the development process, starting with unit testing of each
module, followed by integration testing, system testing, and finally user acceptance testing.
5.3.1 Unit Testing
Each function and module was tested individually to ensure it worked correctly in isolation.
Example: Patient Registration Unit Test
Integration testing ensured that all modules work together. For example, once a patient is
registered, the doctor should be able to access their details.
Test Script:
2. Login as doctor.
Expected Result: Doctor can view and add records without error.
Key Tests:
Screenshots of results:
Final testing involved the actual users at Gombe Medical Services, including the receptionist,
doctor, and admin.
Feedback Highlights:
6.1 Introduction
This chapter provides a reflection on the entire project, summarizing key findings,
highlighting achievements, and evaluating the system's effectiveness. It also includes
conclusions drawn from the development and implementation process, provides
recommendations for potential users and developers, and suggests areas for future research.
6.2 Summary of Findings / Results
The project set out to design and implement a web-based hospital management system to
address the inefficiencies of the manual health record management process at Gombe
Medical Services. After thorough requirements gathering, system analysis, design,
implementation, and testing, the following results were achieved:
A fully functional web-based hospital management system was developed using PHP,
MySQL, and Bootstrap.
The system supports role-based access for administrators, doctors, receptionists, and lab
technicians.
Modules for patient registration, medical diagnosis, lab test results, and inventory/equipment
tracking were successfully implemented.
User testing demonstrated a high level of satisfaction due to the intuitive interface and faster
access to medical records.
Test results showed that the system improved data accuracy, eliminated duplication, and
significantly reduced record retrieval times.
6.3 Conclusion
The development of the web-based hospital management system successfully addressed the
key problems identified at Gombe Medical Services. The implemented system demonstrated
improvements in operational efficiency, data integrity, and patient record management. The
modular architecture ensured ease of maintenance and scalability, allowing future
enhancements to be integrated smoothly.
The project revealed the value of digitizing healthcare records and showed how open-source
web technologies can be leveraged to deliver cost-effective, efficient health information
systems for small to medium-sized medical facilities. Despite the constraints of time and
resources, the project objectives were met.
6.4 Recommendation
Based on the experience gained and the feedback from system users, the following
recommendations are made:
Adoption and Deployment: Gombe Medical Services should adopt the system in a live
environment and replace manual record-keeping.
Training: Staff members should be trained regularly to maximize usage and reduce system
misuse or errors.
Regular Backups: A proper data backup policy should be enforced to avoid data loss in case
of hardware or system failures.
Maintenance and Support: A technical support plan should be established for regular
system maintenance and updates.
While the project achieved its primary goals, several opportunities exist for future research
and development:
Mobile Integration: Future work could focus on building a mobile application version of the
system for easier access and flexibility.
E-Prescription Module: Enabling doctors to generate electronic prescriptions and send them
to the pharmacy directly.
REFERENCES
Ahuja, A. (2016). Hospital Management System: A Case Study Approach. New Delhi: PHI
Learning Private Limited.
Goyal, A., & Kumar, R. (2021). Web-Based Hospital Management System: A Design and
Implementation Approach. International Journal of Advanced Research in Computer
Science, 12(3), 134–142. https://doi.org/10.26483/ijarcs.v12i3.6652
Kumar, P., & Singh, R. (2020). Design and development of hospital information systems:
Challenges and solutions. International Journal of Health Informatics, 6(1), 45–52.
Laudon, K. C., & Laudon, J. P. (2020). Management Information Systems: Managing the
Digital Firm (16th ed.). Pearson Education.
Mugisha, J., & Twinomurinzi, H. (2022). Digital Transformation in Public Health Systems in
Uganda: Progress and Gaps. African Journal of Information Systems, 14(2), 112–128.
https://ajis.org/index.php/ajis/article/view/421
Nwoye, E., & Mbah, E. (2019). Development of a Hospital Management System Using PHP
and MySQL. Journal of Computer Science and Engineering, 9(2), 20–28.
Open Source Initiative. (2021). Why Open Source Software is Good for Healthcare Systems.
Retrieved from https://opensource.org/healthcare
Rahman, M., & Akter, S. (2021). Evaluation of web-based hospital management systems: A
case study in a developing country. Health Information Science and Systems, 9(1), 1–10.
https://doi.org/10.1007/s13755-021-00147-y
Singh, Y., & Chhabra, P. (2020). Software Engineering (5th ed.). New Delhi: Dhanpat Rai
Publications.