Shubham Project
Shubham Project
Shubham Project
PROJECT REPORT
ON
Submitted to
BACHELOR OF TECHNOLOGY
JAGANNATH UNIVERSITY
B.TECH (2019-2023)
I hereby declare that the work, which is being presented in the B.Tech, Project, entitled
‘Hospital Management System’ in partial fulfillment for the award of Degree of ‘Bachelor
of Technology’ in Department of Computer Science submitted to the Jagannath University,
Jaipur, is a record of my own work carried under the guidance of Mr. Hukum Chand Saini .
I have not submitted the matter presented in this Project Report anywhere for the award of any
other Degree.
1|Page
ACKNOWLEDGEMENT
Apart from the efforts of team, the success of any project depends largely on the
encouragement and guidelines of many others. We take this opportunity to express our
gratitude to the people who have been instrumental in the successful completion of this project.
The completion of any inter-disciplinary project depends upon cooperation, co-ordination, and
combined efforts of several sources of knowledge.
We are eternally grateful to our guide Mr. Hukum Chand Saini for her even willingness to
give us valuable advice and direction under which we executed this project. Her constant
guidance and willingness to share her vast knowledge made us understand this project and its
manifestations in great depths and helped us to complete the assigned tasks.
2|Page
CERTIFICATE
This is to certify that Major project report entitled "Hospital Management System" is the work
carried out Shubham Kumar, Kuldeep Sharma students of B.Tech Computer Science VIII
Semester, Jagannath University of Jaipur under the supervision of Mr. Hukum Chand
Saini, Assistant Professor, Department of Computer Science, Jagannath University.
This report has not been submitted to any other organization/institution for the award any other
Degree/Diploma.
3|Page
ABSTRACT
Our project Hospital Management system includes registration of patients, storing their details
into the system, and 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 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 beretrieved 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.
The Patient modules include checking appointments, B i l l Due and Paid.
4|Page
TABLE OF CONTENTS
1. PROBLEM STATEMENT 9
2. PROCESS MODEL 11
3. INTRODUCTION 12
4. SOFTWARE REQUIREMENTS SPECIFICATION 15
5. CONTEXT LEVEL DIAGRAM 17
6. DFD LEVEL 1 18
7. DFD LEVEL 2 19
8. USE CASE DIAGRAM 26
9. USE CASE DESCRIPTION 27
10. DATA DICTIONARY 37
11. ER DIAGRAM 38
12. DATA DESIGN 39
13. PROJECT SCHEDULING 44
14. FUNCTION POINT METRICS 47
15. COCOMO MODEL 48
16. SAMPLE SCREENSHOTS 54
17. CONCLUSION 67
5|Page
LIST OF FIGURES USED IN THE PROJECT
3.1 ER DIAGRAM 38
6|Page
4.6 PATIENT APPOINMENT STATUS 59
7|Page
LIST OF TABLES USED IN THE PROJECT
8|Page
PROBLEM STATEMENT
In this busy world we do not 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 cannot 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.
9|Page
Benefits of implementing a hospital management system:
Appointment booking
Helps patients cut the long queue and saves their time
Is equipped with features like automated email and text message reminders
Role-Based Access Control
Allows employees to access only the necessary information to effectively perform
their job duties
Increases data security and integrityOverall cost reduction
Cuts down paper costs as all the data are computerized
No separate costs for setting up physical servers
Data accuracy
Removes human errors
Alerts when there is a shortage of stock
Data security
Helps to keep patients records private
Restricts access through role-based access control
Revenue management
Makes daily auditing simple
Helps with statistics and other financial aspects
10 | P a g e
PROCESS MODEL
11 | P a g e
CHAPTER -1
INTRODUCTION
PURPOSE
SCOPE
DEFINITIONS, ACRONYMS, and ABBREVIATIONS
REFERENCES
OVERVIEW
12 | P a g e
PURPOSE
This software will help the company to be more efficient in registration of their patients and
manage appointments, records of patients. It enables doctors and admin to view and modify
appointments schedules if required. The purpose of this project is to computerize all details
regarding patient details and hospital details.
SCOPE
The system will be used as the application that serves hospitals, clinic, dispensaries or other
health institutions. The intention of the system is to increase the number of patients that can be
treated and managed properly.
If the hospital management system is file based, management of the hospital has to put much
effort on securing the files. They can be easily damaged by fire, insects and natural disasters.
Also, could be misplaced by losing data and information.
Appt – Appointment.
Sign up - Creating New User.
Log in - Logging in Existing User.
Ph No - Mobile number.
Add. – Address.
Expr – Experience.
13 | P a g e
REFERENCES
https://www.officetimeline.com/make-gantt-chart/excel
https://medium.com/@datamateuaecrescent/hospital-management-system- features-
objectives-62eeb13f4fc4
R.S Pressman, Software Engineering: A Practitioner’s Approach, Mc-Graw-Hill,Edition-7
(2010).
P. Jalote, an Integrated Approach to Software Engineering, Narosa publication house,
Edition -3 (2011).
OVERVIEW
Our application contains two modules – the admin module and the user module. Our
application will not only help the admin to preview the monthly and/or yearly data but it will
also allow them to edit, add or update records. The software will also help the admin to monitor
the transactions made by the patients and generate confirmations for the same. The admin will
be able to manage and update information about doctors.
The user module can be accessed by both the doctors and the patients. The doctor can confirm
and/or cancel appointments. The doctors can even add prescriptions for their patients using our
application. The patients will be able toapply for the appointment and make transaction for the
same, and can even cancel appointments with the doctors. They can track details about the
previoustransactions made by them.
Advantages
The system automates the manual procedure of managing hospital activities.
Doctors can view their patients’ treatment records and details easily.
It even generates an instant bill.
The system is convenient and flexible to be used.
It saves their time, efforts, money and resources.
Disadvantages
Requires large database.
The admin has to manually keep updating the information by entering the details in the system.
Need Internet connection
14 | P a g e
CHAPTER 2
SOFTWARE REQUIREMENTSPECIFICATION
Product Perspective
System Interfaces
Data Flow Diagram (DFD)
Context Level Diagram
DFD Level – 1
DFD Level – 2
Use Case Diagram
Use Case Description
User characteristics
Constraints
Assumptions and dependencies
15 | P a g e
Product Perspective
This Hospital Patient Info Management System is a self-contained system that manages
activities of the hospital.
Due to improperly managed details medical center faces quite a lot of difficulties in accessing
past data as well as managing present data. The fully functional automated hospital
management system which will be developed through this project will eliminate the
disadvantages caused by the manual system by improving the reliability, efficiency and
performance. The usage of a database to store patient, employee, stock details etc. will
accommodate easy access, retrieval, and search and manipulation of data. The access
limitations provided through access privilege levels will enhance the security of the system.
The system will facilitate concurrent access and convenient management of activities of the
medical center.
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.
Software Interfaces
Python 3.11.3
MongoDB – Server
Tkinter - GUI
16 | P a g e
CONTEXT LEVEL DIAGRAM
17 | P a g e
DFD LEVEL – 1
18 | P a g e
FIGURE 2.3 LEVEL – 2 Registration
19 | P a g e
FIGURE: 2.4 LEVEL – 2 Login
20 | P a g e
FIGURE 2.5 LEVEL – 2 Make Appointment
21 | P a g e
FIGURE 2.6 LEVEL – 2 Doctor Module
22 | P a g e
FIGURE 2.7 LEVEL – 2 Payment
23 | P a g e
FIGURE 2.8 LEVEL – 2 Cancel Appointment
24 | P a g e
FIGURE 2.9 LEVEL – 2 Patient Module
25 | P a g e
USE CASE DIAGRAM
26 | P a g e
USE CASE DESCRIPTION
PRE-CONDITION:
The patient must be a new patient, If necessary fields left by userthen prompt user to fill
the necessary fields.
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.
POST CONDITION:
The record of patient is updated in HMS database.
27 | P a g e
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 July also the cancel the appointment.
PRE-CONDITION:
The patient must be a registered patient, Patient can fix only one appointment for a particular
department.
POST CONDITIONS:
Patient details are displayed and a new appointment is fix or a existing appointment is
cancelled. The HMS database is updated.
28 | P a g e
ADMIN DESCRIPTION:
The admin add doctor, update doctor details and verify payment and generate Bill/Receipt
for the same.
PRE-CONDITION:
Admin must first log in with his/her credentials.
POST CONDITION:
The HMS database is updated.
29 | P a g e
User characteristics:
ADMIN:
Admin has the full access to the system which means he is able to manage any activity with
regard to the system. He is the highest privileged user who can access to the system.
Key Functions:
Access patient record, doctor Record.
Add new doctor entry in system database.
Confirm Payment and Generate Bill.
View Records (Total no of patients treated, doctor added/remove, consultant fee).
PATIENT:
Patients can choose the best preferred appointments from the options provided andcan also
change the appointment schedule or cancel it. After appt. is confirmed by the respective Doctor
they can pay their consultant fee online. Patients have access to only their records.
Key Functions:
Make appointment
Cancel appointment
Update Details
Payment
View Payment History
DOCTOR:
Doctors can view the patient appointment list and provide the confirmation or make changes
in the appointment list if required. Doctors have access to only records of those patients whom
they are treating.
Key Functions:
Confirmation of appointment
Cancellation of appointment
Modification of appointment list
Add Prescription
30 | P a g e
Constraints:
System is wirelessly networked with an encryption.
System is only accessible within the hospital’s website only.
Database is password protected.
Should use less RAM and processing power.
Each user should have individual ID and password.
Only administrator can access the whole system.
31 | P a g e
CHAPTER-3
SPECIFIC REQUIREMENTS
Performance requirements
Safety requirements
Security constraints
Software system attributes
Usability
Availability
Correctness
Maintainability
Accessibility
Functional Requirements
32 | P a g e
PERFORMANCE REQUIREMENTS:
Response time:
The system will give responses within 1 second after checking thepatient information and
other information.
Capacity:
The system must support 1000 people at a time.
User interface:
User interface screen will response within 5 seconds.
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.
SECURITY REQUIREMENTS:
Want take the responsibility of failures due to hardware malfunctioning.
Warranty period of maintaining the software would be one year.
Additional payments will be analyzed and charged for further maintenance.
If any error occur due to a user’s improper use. Warranty will not be allocated to it.
No money back returns for the software.
Correctness:
Bug free software which fulfills the correct need/requirements of the client.
Maintainability:
The ability to maintain, modify information and update fix problems of the system.
Accessibility:
Administrator and many other users can access the systembut the access level is controlled
for each user according to their work scope.
33 | P a g e
FUNCTIONAL REQUIREMENTS:
34 | P a g e
7. PATIENT PATIENT PATIENT : Can view payment history or
MODULE can search for a particular bill also after
this system shall show a bill or history.
35 | P a g e
CHAPTER-4
DESIGN
Data Dictionary
ER Diagram
Data Design
Component Level Diagram
36 | P a g e
DATA DICTIONARY:
37 | P a g e
ER DIAGRAM:
38 | P a g e
DATA DESIGN:
39 | P a g e
S NO. COLUMN NAME DATA CONSTRAINTS DESCRIPTION
TYPE
40 | P a g e
S NO. COLUMN NAME DATA CONSTRAINTS DESCRIPTION
TYPE
41 | P a g e
S NO. COLUMN NAME DATA CONSTRAINTS DESCRIPTION
TYPE
42 | P a g e
CHAPTER-5
Project Scheduling
Size Estimation (FUNCTION BASED METRICS)
Cost Estimation (COCOMO II MODEL)
43 | P a g e
PROJECT SCHEDULING:
44 | P a g e
SIZE ESTIMATION FOR THIS PROJECT:
1. - - - - -
2. Username - - Hospital -
Password File
3. 1.Name - - HospitalFile -
2. DOB
3. Gender
4. Email
5. Blood Group
6. Mobile No
7. Address
8. CGHS/Private
9.Card Picture
4. - 1.Profile - HF -
5. 1. Department - - HospitalFile -
2. Date
3. Time
4. Doctor Name
6. 1.Appointment Hospital -
Status File
7. 1. Registered Mobile No. - - HospitalFile -
2. Edit Appt. Schedule
8. - - 1.Payment Hospital -
History File
9. - 1.Profile - HF -
45 | P a g e
10. 1.Doctor ID 1.Doctor Hospital -
Details File
11. - 1.Bill - Hospital -
File
12. Username - - Hospital -
Password File
13. - 1. Profile Hospital -
File
14. - - 1.appt. Hospital -
Details File
15. 1. TreatmentName 1.Patient - HospitalFile -
2. Medicine Profile
3. Advice
4. Rejunk
5. Patient ID
46 | P a g e
TABLE FUNCTION POINT COMPLEXITY WEIGHTS:
Function point = FP = UFP x CAF = Count Total * (0.65 + (0.01 *∑ 𝒇𝒊)UFP (Count Total) =
Sum of all the complexities i.e. the 5 parametersprovided in the question,
47 | P a g e
CALCULATING ( ∑ 𝒇𝒊 ):
1. How many communication facilities are there to aid in the transfer or exchange of information
with the application or system?
4. How heavily used is the current hardware platform where the applicationwill be executed?
10. Was the application developed to meet one or many user’s needs?
12. How effective and/or automated are start-up, back-up, and recovery procedures?
13. Was the application specifically designed, developed, and supported to be installed at
multiple sites for multiple organizations?
14. Was the application specifically designed, developed, and supported to facilitate change?
48 | P a g e
CONSIDERING ALL ADJUSTMENT FACTOR OF AVERAGE INFLUENCE ∑ 𝒇𝒊 = 14 *
3 = 42
49 | P a g e
COST ESTIMATION (COCOMO II MODEL):
The original COCOMO model became one of the most widely used and discussed software
cost estimation models in the industry. It has evolved into a morecomprehensive estimation
model, called COCOMO II.
COCOMO II models require sizing information. Three different sizing options are available
as part of the model hierarchy:
Object Points
Function Points
Lines Of Source Code
Like function point, the object point is an indirect software measure that is computed using
counts of the number of
screens (at the user interface),
reports,
components likely to be required to build the application.
Each object instance (e.g., a screen or report) is classified into one of three complexity levels
(i.e. ,simple ,medium, or difficult).
Once complexity is determined, the number of screens, reports, and components are
weighted according to the table illustrated in Table 5.4 .
50 | P a g e
The object point count is then determined by multiplying the original number of object
instances by the weighting factor in the figure and summing to obtain a total object point count.
To derive an estimate of effort based on the computed NOP value, a “productivity rate”
must be derived.
Table 5.5 presents the productivity rate for different levels of developer experience and
development environment maturity. Once the productivity rate has been determined,an
estimate of project effort is computed using
𝐍𝐎𝐏
ESTIMATED EFFORT =
𝐏𝐑𝐎𝐃
51 | P a g e
COST ESTIMATION FOR THIS PROJECT:
SCREENS:
REPORTS:
52 | P a g e
TOTAL SCREENS = 22
TOTAL 3GL MODULES = 0
TOTAL REPORTS = 8
53 | P a g e
CHAPTER-6
SAMPLE SCREENSHOTS:
54 | P a g e
FIGURE 4.2 SELECT LOGIN
55 | P a g e
FIGURE 4.3 USER LOGIN PAGE
56 | P a g e
FIGURE 4.5 PATIENT BOOK APPOINTMENT
57 | P a g e
FIGURE 4.6 PATIENT VIEW APPOINTMENT
58 | P a g e
FIGURE 4.7 PATIENT APPOINTMENT STATUS
59 | P a g e
FIGURE 4.8 PAYMENT-BILL RECEIPT
60 | P a g e
FIGURE 4.9 ADMIN LOGIN PAGE
61 | P a g e
FIGURE 4.11 ADMIN HOME
62 | P a g e
FIGURE 4.12 ADMIN ADD & UPDATE DOCTOR’ DETAILS
63 | P a g e
FIGURE 4.13 ADMIN VIEW ALL APPOINMENTS
64 | P a g e
FIGURE 4.14 GENERATE BILL
65 | P a g e
FIGURE 4.15 MANAGE ADMIN PROFILE
66 | P a g e
CHAPTER – 9
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.
The estimated cost of the project is (efforts) 12 and the estimated size of the project is (FP)
209.72.
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.
67 | P a g e