Real Time Hospital Capacity Monitoring
A Mini Project report submitted in partial fulfillment of the
requirements for the award of degree of
BACHELOR OF TECHNOLOGY
IN
COMPUTER SCIENCE AND ENGINEERING
Submitted by
R. Brijesh 222010313038
Under the guidance of
Dr.D.Koteswara Rao
Assistant Professor
Department of Computer Science and Engineering
GITAM School of Technology
GITAM Deemed to be University
Hyderabad Campus -502329
August- 2023
GANDHI INSTITUTE OF TECHNOLOGY AND MANAGEMENT
(GITAM)
(Declared as Deemed-to-be-University u/s 3 of UGC Act 1956)
HYDERABAD CAMPUS
DECLARATION
I hereby declare that the Mini Project report entitled “Real Time Hospital Capacity
Monitoring” is an original work done in the Department of Computer Science and Engineering,
GITAM School of Technology, GITAM (Deemed to be University) submitted in partial
fulfillment of the requirements for the award of the degree of “Bachelor of Technology” in
Computer Science and Engineering. The work had not been submitted to any other college or
university for the award of any degree or diploma.
Place-HYDERABD
Date-26-08-2023
R.Brijesh
(222010313038)
2
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
GITAM SCHOOL OF TECHNOLOGY
GITAM
(DEEMED TO BE
UNIVERSITY) HYDERABAD
CAMPUS
CERTIFICATE
This is to certify that the Mini Project report entitled “Real Time Hospital Capacity
Monitoring ” is a bonafide record of work carried out by R. Brijesh (222010313038) submitted
in partial fulfillment of the requirement for the award of the degree of Bachelors of Technology
in Computer Science and Engineering.
Dr. D. Koteswara Rao DR. K.S.Sudeep
Assistant Professor Professor & HOD
Dept. of CSE
3
ACKNOWLEDGEMENT
My project would not have been successful without the help of several people. we wouldlike to
thank the personalities who were part of our project in numerous ways, those who gave us
outstanding support from the birth of the project.
We are extremely thankful to our honorable Pro-Vice Chancellor, Dr. D. Sambasiva rao for
providing necessary infrastructure and resources for the accomplishment of our project.
We are highly indebted to Prof. N. Seetharamaiah, Principal, School of Technology, for his support
during the tenure of the project.
We are very much obliged to our beloved Dr. K.S.Sudeep , Head of the Department of
Computer Science & Engineering for providing the opportunity to undertake this project and
encouragement in completion of this project.
We hereby wish to express our deep sense of gratitude to Dr. Koteswara Rao Dumpal,
Assistant Professor, Department of Computer Science and Engineering, School of Technology
for the esteemed guidance, moral support and invaluable advice provided by his for the success
of the project.
We are also thankful to all the staff members of Computer Science and Engineering department
who have cooperated in making our project a success. We would like to thank all our parents and
friends who extended their help, encouragement and moral support either directly or indirectly in
our project work.
Sincerely,
R.Brijesh
22010313038
4
ABSTRACT
Our project Hospital Management system includes registration of patients, storing their details into the system,
and also booking their appointments with doctors. Our software has the facility to give a unique id for every
patient and stores the details of every patient and the staff automatically. User can search availability of a doctor
and the details of a patient using the id. The Hospital Management System can be entered using a username and
password. It is accessible either by an administrator or receptionist. Only they can add data into the database. The
data can be retrieved easily. The interface is very user-friendly. The data are well protected for personal use and
makes the data processing very fast. It is having mainly two modules. One is at Administration Level and other
one is of user I.e. of patients and doctors. The Application maintains authentication in order to access the
application. Administrator task includes managing doctors information, patient’s information. To achieve this
aim a database was designed one for the patient and other for the doctors which the admin can access. The
complaints which are given by user will be referred by authorities. The Patient modules include checking
appointments, prescription. User can also pay doctor’s Fee online.
5
Table of Contents
SNO TOPIC Page No
1 PROBLEM STATEMENT
2 INTRODUCTION
3 SYSTEM PREREQUISITES
4 PROJECT ARCHITECTURE
5 SPECIFIC REQUIREMENTS
6 DESIGN
7 CONCLUSION
6
1. PROBLEM STATEMENT
In this busy world we don’t have the time to wait in infamously long hospital queues. The problem is, queuing at
hospital is often managed manually by administrative staff, then take a token there and then wait for our turn then
ask for the doctor and the most frustrating thing - we went there by traveling a long distance and then we come to
know the doctor is on leave or the doctor can’t take appointments.
HMS will help us overcome all these problems because now patients can book their appointments at home, they
can check whether the doctor they want to meet is available or not. Doctors can also confirm or decline
appointments, this help both patient and the doctor because if the doctor declines’ appointment then patient will
know this in advance and patient will visit hospital only when the doctor confirms’ the appointment this will save
time and money of the patient.
Patients can also pay the doctor’s consultant fee online to save their time.
HMS is essential for all healthcare establishments, be it hospitals, nursing homes, health clinics, rehabilitation
centers, dispensaries, or clinics. The main goal is to computerize all the details regarding the patient and the
hospital. The installation of this healthcare software results in improvement in administrative functions and hence
better patient care, which is the prime focus of any healthcare unit.
7
Benefits of implementing a hospital management system:
• Appointment booking
o Helps patients cut the long queue and saves their time
o Is equipped with features like automated email and text message reminders
• Role-Based Access Control `
o Allows employees to access only the necessary information to effectively perform their job duties
o Increases data security and integrity
• Overall cost reduction
o Cuts down paper costs as all the data are computerized
o No separate costs for setting up physical servers
• Data accuracy
o Removes human errors
o Alerts when there’s a shortage of stock
• Data security
o Helps to keep patients records private
o Restricts access through role-based access control
• Revenue management
o Makes daily auditing simple
o Helps with statistics and other financial aspects
8
2.Introduction
The project Hospital Management system includes registration of patients, storing their
details into the system, and also computerized billing in the pharmacy, and labs. The
software has the facility to give a unique id for every patient and stores the details of
every patient and the staff automatically. It includes a search facility to know the current
status of each room. User can search availability of a doctor and the details of a patient
using the id.
The Hospital Management System can be entered using a username and password. It is
accessible either by an administrator or receptionist. Only they can add data into the
database. The data can be retrieved easily. The interface is very user-friendly. The data
are well protected for personal use and makes the data processing very fast.
Hospital Management System is powerful, flexible, and easy to use and is designed and
developed to deliver real conceivable benefits to hospitals.
Hospital Management System is a software product suite designed to improve the
quality and management of hospital management in the areas of clinical process analysis
and activity-based costing. Hospital Management System enables you to develop your
organization and improve its effectiveness and quality of work. Managing the key
processes efficiently is critical to the success of the hospital helps you manage your
Processes
9
3.System Prerequisites
Java As The Programming Language
Java, serving as the foundational programming language for the project I worked on during my
internship, played a pivotal role in shaping the software solutions. Known for its platform
independence, robustness, and versatility, Java was the ideal choice for building both the real-
time hospital capacity monitoring system and the database file upload feature. Its object-oriented
nature allowed for the creation of modular and maintainable code, while its extensive library
support provided access to a wealth of pre-built functionalities, saving development time. Java's
ability to handle complex data processing and its compatibility with various platforms made it an
excellent tool for developing user-friendly applications. Throughout my internship, I gained a
deeper appreciation for Java's reliability and adaptability, reinforcing its status as one of the
leading programming languages in the software development landscape.
Eclipse IDE
The Eclipse IDE served as the cornerstone of my software development journey during my
internship. With its comprehensive suite of tools and features, Eclipse proved to be an
invaluable asset for Java development. Its user-friendly interface and robust code editor
provided a seamless coding experience, allowing me to write, debug, and optimize Java code
with efficiency and precision. Eclipse's extensive plugin ecosystem extended its capabilities,
enabling me to integrate essential tools for version control, project management, and database
access seamlessly. Moreover, the IDE's built-in debugging and testing tools simplified the
development process, helping me identify and resolve issues promptly. Eclipse's support for a
widerange of programming languages and its active developer community made ita versatile and
reliable platform for not only Java development but also for exploring various technology stacks
1
SQL Database (MYSQL)
The utilization of MYSQL as the database management system for my internship projects
significantly contributed to the efficiency and reliability of the applications. MYSQL's robust
and scalable architecture ensured the seamless storage and retrieval of data, making it an ideal
choice for managing the hospital's capacity data and the uploaded CSV files. Its support for
complex queries and transactions enabled the implementation of data-intensive features, while
its security features ensured the confidentiality and integrity of sensitive information. Moreover,
MYSQL's integration with other Microsoft technologies and tools streamlined the development
process, allowing for smooth interactions between the front-end and back-end components of
the applications. My experience with MYSQL underscored its importance in modern database
management, offering a powerful and dependable platform for data storage and retrieval in
diverse software applications.
Apache Maven
Apache Maven emerged as a critical component in the orchestration and management of our
software projects throughout my internship. This versatile build automation and project
management tool simplified the complex task of managing dependencies, compiling source
code, and packaging applications. Maven's structured project directory layout and standardized
build process facilitated collaboration among team members, ensuring consistency in project
structure and reducing integration challenges.With Maven's dependency management, we could
effortlessly incorporate external libraries and frameworks into our projects, enhancing their
functionality and efficiency. Additionally, Maven's comprehensive reporting capabilities and
lifecycle management ensured that our projects were well- documented and maintained,
promoting transparency and traceability. My experience with Apache Maven underscored its
role as an indispensable toolin modern software development, streamlining project workflows
and enhancing productivity
1
Java Swing(GUI)
Java Swing played a pivotal role in shaping the user interfaces of the applications I developed
during my internship. As a GUI toolkit, Swing provided a rich and interactive user experience
for our software solutions. Itsversatility and platform independence allowed me to design cross-
platform graphical interfaces that were both functional and aesthetically pleasing.
Swing's extensive library of components, from buttons and panels to complextables and charts,
made it possible to create customized user interfaces tailored to the specific needs of our projects.
Additionally, Swing's event- driven programming model simplified user interaction handling,
enabling the seamless integration of user input and system responses. Its ability to support
complex layouts and visual elements made it a valuable tool for creating user-friendly and
intuitive interfaces. My experience with Java Swing reinforced its significance in developing
attractive and responsive graphical user interfaces that enhance the overall user experience of
software applications.
1
System Interfaces
❖ User Interfaces
This section provides a detailed description of all inputs into and outputs from the system. It also gives a
description of the hardware, software and communication interfaces and provides basic prototypes of the
user interface.
The protocol used shall be HTTP.
The Port number used will be 8080.
There shall be logical address of the system in IPv4 format.
❖ Hardware Interfaces
▪ Laptop/Desktop PC-Purpose of this is to give information when Patients ask information about doctors,
medicine available lab tests etc. To perform such Action it need very efficient computer otherwise due to that
reason patients have to wait for a long time to get what they ask for.
▪ Laser Printer (B/W) - This device is for printing patients’ info etc.
▪ Wi-Fi router - Wi-Fi router is used to for internetwork operations inside of a hospital and simply data
transmission from pc’s to sever.
❖ Software Interfaces
▪ JDK 18 - Java is fast, secure, and reliable. From laptops to data centers, game consoles to scientific
supercomputers, cell phones to the Internet,
▪ Mysql server - Database connectivity and management.
▪ OS Windows 7/8/8.1/10- Very user friendly and common OS.
1
4. PROJECT ARCHITECTURE
1
USE CASE DIAGRAM:
1
USE CASE DESCRIPTION
(1) PATIENT
* REGISTRATION
DESCRIPTION - The new patient can register themselves and add their details like name,
age , gender, blood group etc. The patient entry will be made in the hms database.
PRE -CONDITION – The patient must be a new patient, If necessary fields left by user
then prompt user to fill the necessary fields.
MAIN FLOW OF EVENTS
1. Patient selects sign up in login module.
2. A registration form get displayed
3. Patient fills the required details.
POST CONDITIONS - Patient record is added to hms database.
* UPDATION
DESCRIPTION-The patient should be enabled to update his/her details and the changes
should reflect in hms database.
PRE-CONDITION – The patient must be a registered patient, The patient cannot update
details after treatment starts.
MAIN FLOW OF EVENTS
1. Patient logs in to the system.
2. Patient view his record
3. Patient selects update details.
4. Now patient may change the necessary fields.
5. Pop of update details.
POST CONDITION - The record of patient is updated in hms database.
1
*APPOINTMENT
DESCRIPTION - It shows users a list of available doctors, timings, dates and enables
patients to select the most suitable appointment date and doctor. The patient may also
the cancel the appointment.
PRE-CONDITION - The patient must be a registered patient, Patient can fix only one
appointment for a particular department.
MAIN FLOW OF EVENT
1. Patient first logs in to system.
2. View his/her record.
3. Create a new appointment or cancel the appointment..
POST CONDITIONS - patient details are displayed and a new appointment is fix or a
existing appointment is cancelled. The hms database is updated.
*PAYMENT
DESCRIPTION – It enables user to pay the consultant fee of Doctor online.
PRE-CONDITION - The patient must be a registered patient, If Patient don’t wants to pay
online he/she can pay by cash also.
MAIN FLOW OF EVENT
1. Patient first logs in to system.
2. View his/her record.
3. Appointment confirmed by the Doctor then go for Payment.
POST CONDITIONS – A Reciept will be displayed. The hms database is updated
1
(2) DOCTOR
DESCRIPTION- The doctor view patient record/ update his details and add description of
the treatment given to patient.
PRE-CONDITION – The doctor must be a registered doctor, System does not allow the
doctor to modify the qualification, hospital managed details.
MAIN FLOW OF EVENTS
1.Doctor logs in to the system.
2. Doctor may select view patient.
2.1 Patient record is displayed with treatment history.
3. Doctor add description of patient treatment.
4. Doctor may select appointment details
4.1 Appointment Requests is displayed with schedule.
5. Doctor confirm or cancel appointment.
POST CONDITION – The patient and doctor ‘s database are updated.
(3) ADMIN
DESCRIPTION - The admin add doctor, update docotr details and verify payment and
generate Bill/Reciept for the same.
MAIN FLOW OF EVENTS
1. Admin logs in the system.
2. Admin may add doctor new doctor.
2.1 admin fills the doctor’s details.
3. Admin view Doctor record.
3.1 Admin enters the doctor id in the system.
3.2 Doctor details are displayed, Admin can update details.
4. Admin Verify the payment submited by the Patient.
4.1 Generate Bill/Reciept and confirmation message for the same.
PRE –CONDITION - Admin must first log in with his/her credentials.
POST CONDITION - The hms database is updated.
1
5. SPECIFIC REQUIREMENTS
5.1 Performance Requirements
o Response time- The system will give responses within 1 second after checking the
patient information and other information.
o Capacity-The system must support 1000 people at a time
o User interface- User interface screen will response within 5 seconds
5.2 Safety Requirements
If there is extensive damage to a wide portion of the database due to catastrophic failure,
such as a disk crash, the recovery method restores a past copy of the database that was
backed up to archival storage and reconstructs a more current state by reapplying or
redoing the operations of committed transactions from the backed up log, up to the time
of failure. All the administrative and data entry operators have unique logins so system
can understand who is login in to system right now no intruders allowed except system
administrative nobody cannot change record and valuable data.
5.3 Software System Attributes
3.4.1 Usability: Software can be used again and again without distortion.
3.4.2 Availability: The system shall be available all the time.
3.4.3 Correctness: Bug free software which fulfills the correct need/requirements
of the client.
3.4.4 Maintainability: The ability to maintain, modify information and update fix
problems of the system.
3.4.5 Accessibility: Administrator and many other users can access the system
but the access level is controlled for each user according to their work scope
1
5.4 Functional Requirements
S.No. MODULE NAME APPLICABLE ROLES DESCRIPTION
1 LOGIN PATIENT PATIENT: Can login using unique Id and
DOCTOR Password after this system shall show his/her
ADMIN profile.
DOCTOR: Can login using unique Id and
Password after this system shall show his/her
profile.
ADMIN: Can login using unique Id and
Password after this system shall show a profile
with links to maintain the website.
2 Registration PATIENT PATIENT: Can Register by filling all the
required details, after this the system will verify
the details and check if already registered or not.
3 Make APPT. PATIENT PATIENT: Can Select doctor, date time and
make an appointment request after this system
shall show a confirmation for appointment
request.
4 Cancel APPT. PATIENT PATIENT : Can Cancel appointment if want to
DOCTOR by just one click after this system shall ask for
re-schedule or refund of payment.
DOCTOR : Cancel appointment by just one
click after this system shall send a message to the
patient.
5 Payment PATIENT PATIENT : Enter payment details and make
payment after this system shall show the
generated bill by the hospital.
6 Doctor Module ADMIN ADMIN : Can add a new doctor by filling all the
2
details after this system shall show a
confirmation message. Can Remove a doctor by
just one click after this system shall show
confirmation message.
7 Patient Module PATIENT PATIENT : Can view payment history or can
search for a particular bill also after this system
shall show a bill or history. Can also See or
search for a doctor by entering dept. name or
doctor id if known after this system will check
for the doctor if found shall show doctor’s
profile. Can also update details after this system
shall ask for re-enter password and after
verifying password shall update details.
8 Add Prescription DOCTOR DOCTOR : Enter Patient Id and after this all the
treatment details and medicine, remark and
advice for the patient after this system shall show
a message for update.
2
6. Design
Project Modules Overview:
1. Users
1.1 New User
1.2 Change Password
1.3 Login Details
2. Patients
2.1 Registration
2.2 Services
3. Doctors
3.1 Entry
4. Rooms
4.1 Add Rooms
4.2 Admit
4.3 Discharge
4.4 Billing
1.Users:
2
1.1 New User: Used to Create and add new users to the Database.
1.2 Change Password : Used to change the current user’s password.
1.3 Login Details: Displays the login information of the current users.
2
2.Patients:
2.1 Registration: Used to Store new Patients information in hospital database.
2.2 Services: To store for what purpose the patient has arrived.
2
3.Doctors
3.1 Entry: Used to store the current available doctors information.
4.Rooms:
2
4.1 Add Rooms: Used to add all the available rooms information .
4.2 Admit: Used to assign available rooms to the patients.
4.3 Discharge: Used to discharge patients from the rooms.
2
4.4 Billing: Used to store the billing information.
2
7. Conclusion
Working on the project was an excellent experience. It helped us to understand the
importance of planning, designing and implementation so far we have learnt in our
theory books. It helped us unleashing our creativity while working in a team. It also
realized the importance of team working, communication as a part of this project.
The project was successfully completed after a lot of efforts and work hours. This
project underwent number of compiling, debugging, removing errors, making it bug
free, adding more facilities in Hospital Management System and interactivity making it
more reliable and useful.
This project focused that scheduling a project and adhering to that schedule creates a
hard sense of time- management. It has also let us known that co-operative teamwork
always produce effective results.
The entire project has been developed and deployed as per the requirements stated by
the user. It is found to be bug free as per the testing standards that are implemented.
There are also few features which can be integrated with this system to make it more
flexible. Below list shows the future points to be consider :
• Getting the current status of patient.
• Including a different module for pharmacy, LAB, Bed Allotment and many more.
• Including a Frequently Asked Questions Section.
Finally, we like to conclude that we put all our efforts throughout the development of
our project and tried to fulfill most of the requirements of the user.