MANISHA
MANISHA
Affiliated to
KAZI NAZRUL UNIVERSITY
Year of Examination:
2024
Submitted By:-
NAME- Rahul Chakraborty Manisha Bhandary Antara Mondal
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 teacher “Smitaparna Biswas” 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.
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.
Table of Contents
SNO TOPIC Page No
1. PROBLEM STATEMENT 9
2. PROCESS MODEL 11
3. SOFTWARE 15
REQUIREMENTS
SPECIFICATION
4. CONTEXT LEVEL DIAGRAM 18
5. DFD LEVEL 1 19
6. DFD LEVEL 2 20
7. USE CASE DIAGRAM 24
8. USE CASE DESCRIPTION 25
9. DATA DICTIONARY 35
10. ER DIAGRAM 36
11. DATA DESIGN 37
12. COMPONENT LEVEL DIAGRAM 40
13. PROJECT SCHEDULING 44
14. TIMELINE CHART 45
15. FUNCTION POINT METRICS 46
16. COCOMO MODEL 52
17. SAMPLE SCREENSHOTS 56
18. RISK ANALYSIS 69
19. TESTING 70
20. CONCLUSION 75
LIST OF FIGURES USED IN THE PROJECT
E_NO
6.4 REGISTRATION 58
4.2 PATIENT 40
4.3 APPOINTMENT 40
4.4 DOCTOR 41
4.5 PRESCRIPTION 41
4.6 ADMIN 42
4.7 BILL 42
5.3 49
FUNCTION POINT COMPLEXITY
WEIGHTS
PRODUCTIVITY RATE 53
FOR OBJECT POINT
5.5 COUNTS
7.1 RISK ANALYSIS 69
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.
• Revenue management
o Makes daily auditing simple
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.
2. 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.
✓ PhNo - Mobile number.
✓ Addr – Address.
✓ Expr – Experience.
4. REFERENCES
➢ https://www.officetimeline.com/make-gantt-chart/excel
➢ https://medium.com/@datamateuaecrescent/hospital-management-systemfeatures-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).
5. 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 to apply for the
appointment and make transaction for the same, and can even cancel
appointments with the doctors. They can track details about the previous
transactions 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.
CHAPTER 2
SOFTWARE REQUIREMENT
SPECIFICATI
ON
1. Product Perspective
1. System Interfaces
2. System Specifications
1. H/W Requirement
2. S/W Requirement
3. Communication Interfaces
2. Product functions
3. Data Flow Diagram (DFD)
1. Context Level Diagram
2. DFD Level – 1
3. DFD Level – 2
4. Use Case Diagram
5. Use Case Description
6. User characteristics
7. Constraints
8. Assumptions and dependencies
1. 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.
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 80.
▪ 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 1.8 - 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- Very user friendly and common OS
▪ JRE 1.8 - JAVA Runtime Environment for run Java Application and System
2. System Specifications
1. H/W Requirement
Core i5 processor 2GB Ram.
20GB of hard disk space in terminal machines
1TB hard disk space in Server Machine
2. S/W Requirement
Windows 7 or above operating system
JRE 1.8
Mysql server
3. Communication Interfaces
2. Product functions
o Provide access to registered users only.
o Registration of new patients.
o Enable patient to view their record.
o Enable patient to update their record.
o Generate appointment date and timing.
o Confirmation by doctor. o Patients can do Payment.
o Modification in schedule by patient.
O Admin access to patient’s record.
o Admin Verify Payment and Generate Bill/Receipt.
o Admin can view monthly/yearly records.
2.3 DATA FLOW DIAGRAM
(DFD)
(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.
* 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.
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.
*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.
PRE-CONDITION – The doctor must be a registered doctor, System does not allow the
doctor to modify the qualification, hospital managed details.
(3) ADMIN
DESCRIPTION - The admin add doctor, update docotr details and verify payment and
generate Bill/Reciept for the same.
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 and can
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.
7. 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.
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.
3. SECURITY REQUIREMENTS
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.
3.5 FUNCTIONAL REQUIREMENTS
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.
6. DOCTOR ADMIN ADMIN : Can add a new doctor by filling all the
MODULE 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 PATIENT PATIENT : Can view payment history or can
MODULE 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 DOCTOR DOCTOR : Enter Patient Id and after this all the
PRESCRIPTION treatment details and medicine, remark and
advice for the patient after this system shall
show a message for update.
CHAPTER 4
DESIGN
1. Data Dictionary
2. ER Diagram
3. Data Design
4. Component Level Diagram
4.1 DATA
DICTIONARY
1. legal_character [a-z| A-Z]
2. Dig it [0-9]
3. special_ch [@|$|#|+|-]
4. Blood [A|B|AB|O]
DESCRIPTION
S NO. COLUMN DAT CONSTRAINTS
NAME A
TYPE
1. P_ID Varchar(50) Primary Key Contains Unique Id
Patient
2. Specialization Varchar(50) - Contains Name of the
Department in which
Patient wants to visit
DESCRIPTION
S NO. COLUMN DAT CONSTRAINTS
NAME A
TYPE
1. P_ID Varchar(50) - Contains unique ID.
2. Bill No. Varchar(50 Primary Key Contains number of
the bill.
3. Date Varchar(50 - Contains Date of The
bill.
4. Time Varchar(50 - Contains Time of the
bill generated.
5. Amount Int - Contains amount of
the bill.
Table 4.7 Bill
4.4 COMPONENT LEVEL DIAGRAM
Book Appointment Module
enum Status { confirm , cancel} ;
cout<<Mode; cout<<1.Cash;
cout<<2.Debit Card/Credit Card
cout<<3.Net Banking
cout<<Enter mode of
payment; cin>>mode;
if(mode==1)
{
Generate a
Receipt and send
confirmation message;
}
else if(mode == 2)
{
Enter Card Details
Make Payment
Send
confirmation
message
}
else
{
} //end if
if(ch==1)
{
Appointment =
Confirm;
Send a Confirm
Message to the
patient.
}
else
{
Send a Cancel
Message to the
patient.
}//end if
CHAPTER 5
ESTIMATION AND SCHEDULING
1. Project Scheduling
2. Timeline chart
3. Size Estimation (FUNCTION BASED METRICS)
4. Cost Estimation (COCOMO II MODEL)
5.1 Project Scheduling
Planne Actu Planne Actual Assigned
TASK ~> d
d al person
Start Start comple comple
te te
PROBLEM STATEMENT Jan W1 Jan W1 Jan Jan W1 Rahul,
Manisha,
W1 Antara
SOFTWARE MODEL Jan
Jan W2 Jan W2 Jan W3 Antara,
Manisha
W2
PROJECT Jan
Jan W2 Jan W2 Jan W3 Manisha,
SCHEDULIN
G Antara
W3
SRS Fe
Jan W3 Jan W3 Feb W1 Manisha,
b
Antara
W1
CONTEXT Fe
Feb W1 Feb W1 Feb W2 Rahul, Manisha
LEVEL b
DIAGRAM W1
DFD LEVEL - 1 Fe
Feb W2 Feb W2 Feb W3 Antara,
b
Manisha
W2
DFD LEVEL - 2 Feb W3 Feb W3 Fe Feb W4 Rahul,
b Manisha,
W3 Antara
DATA DICTIONARY Ma
Mar W1 Mar W1 Mar W1 Rahul, Manisha
r
W1
ER DIAGRAM Ma
Mar W1 Mar W1 Mar W2 Rahul
r
W2
DATA DESIGN Ma
Mar W2 Mar W2 Mar W2 Manisha
r
W2
USE CASE DIAGRAM Ma
Mar W3 MarProject
Table 5.1 W3 Scheduling Mar W3 Manisha
r
W3
USE CASEJan – January Feb – February Mar – MarchMa Apr – April W - Week
Mar W4 Mar W4 Mar W4 Manisha, Rahul
DISCRIPTI r
ON W4
FUNCTION POINT Ma Rahul,
Mar W3 Mar W3 Mar W4
MATRIX r Manisha,
W3 Antara
COCOMO MODEL Apr W1 Apr W1 Apr W1 Apr W1 Rahul,
5.2 Timeline chart
Table 5.2 Timeline Chart
• Number of external inputs (EIs) - Each external input originates from a user or is
transmitted from another application and provides distinct application-oriented
data or control information. Inputs are often used to update internal logical files
(ILFs). Inputs should be distinguished from inquiries, which are counted separately.
• Number of external outputs (EOs) - Each external output is derived data within
the application that provides information to the user. In this context external
output refers to reports, screens, error messages, etc. Individual data items within
a report are not counted separately.
• Number of internal logical files (ILFs) - Each internal logical file is a logical
grouping of data that resides within the application’s boundary and is maintained
via external inputs.
• Number of external interface files (EIFs). - Each external interface file is a logical
grouping of data that resides external to the application but provides information
that may be of use to the application.
SIZE ESTIMATION FOR THIS PROJECT
Screen EIs EOs EQs ILFs EIFs
No
1. 1.Select - 1.Doctor’s On Hospital File -
Language Leave
2.Visitors on
Website
2. - - - - -
3. 1. Username - - Hospital File -
2. Password
4. 1 .Name - - Hospital File -
2 .Dob
3. Gender
4 .Email
5. Blood Group
6 .Mobile No
7 .Address
8.CGHS / Private
9.Card Picture
5. - 1.Profile - HF -
6. 1. Department - - Hospital File -
2 .Date
3 .Time
4 .Doctor
Name
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 application will be executed?
10. Was the application developed to meet one or many user’s needs?
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?
of average influence ∑ 𝒇𝒊 = 14 *
Considering all adjustment factors
3 = 42
= 196 * (0.65 +
(0.01 * 42)
FUNCTION POINT = 209.72
= 196 * (0.65 +
(0.42)
= 196 * (1.07)
5.4 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 more
comprehensive estimation model, called COCOMO II.
COCOMO II models require sizing information. Three different sizing options are
available as part of the model hierarchy:- o Object Points
o Function Points
o Lines Of Source Code
Like function point, the object point is an indirect software measure that is computed
using counts of the number of
(1) screens (at the user interface),
(2) reports,
(3) 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 .
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.
𝐍𝐎𝐏
𝐏𝐞𝐫𝐬𝐨𝐧−𝐌𝐨𝐧𝐭𝐡
PROD =
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 =
PROD 4 7 13 25 50
COST ESTIMATION FOR THIS PROJECT
(1) SCREENS
(2) REPORTS
TOTAL SCREENS = 22
TOTAL 3GL MODULES = 0
TOTAL REPORTS = 8
PRODUCTIVITY RATE = = 7.
NOP 8
ESTIMATED EFFORT = =4 = 12 Person-Months.
PROD
7
CHAPTER 6
SAMPLE SCREENSHOTS
FIGURE 6.1 HOME PAGE
FIGURE 6.2 SELECT LOGIN
FIGURE 6.3 PATIEN LOGIN PAGE
TABLE
7.1
CHAPTER 8
TESTING
1. WHITE BOX TESTING
1. Basic Path ( Pseudo code )
2. Flow Graph
3. Cyclomatic Complexity
4. Independent Paths
BASIS PATH TESTING FOR BOOK APPOINTMENT MODULE
enum Status { confirm , cancel} ;
{
Generate a
Receipt and send
{
confirmation message;
Enter Card Details
3
Make Payment
}
Send
else if(mode == 2)
confirmation
message
}4
else
{
if(ch==1) 10
{
Appointment = Confirm;
Send a Confirm Message to the patient. 11
}
else
{
Send a Cancel Message to the patient.
}//end if 13
3) INDEPENDENT PATHS
Path A : 1 – 2 – 3 – 7 – 8 – 9 – 10 – 11 – 13
Path B : 1 – 2 – 4 – 5 – 7 – 8 – 9 – 10 – 12 – 13
Path C : 1 – 2 – 4 – 6 – 7 – 8 – 9 – 10 – 11 – 13
Path D : 1 – 2 – 3 – 7 – 8 – 9 – 10 – 12 – 13
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 :