HMS Project Report Arshad
HMS Project Report Arshad
BY
AVI NATANI
Session-2018-2021
UNIVERSITY OF RAJASTHAN
1|Page
Certificate
(HOD)
Dr. Ruchir Saxena Guide Name: Mr. Shashikant Sharma
Associate Professor Designation : Assistant Professor
II
2|Page
PODDAR INTERNATIONAL COLLEGE, JAIPUR
Faculty Guide
Guide Name: Mr. Shashikant
Sharma
Designation : Assistant Professor
3|Pag
DECLARATION
This is to certify that the work reported in the present project entitled
“HOSPITAL MANAGEMENT SYSTEM” is a record of work done by
me in the Computer Science, Poddar International College, Jaipur. The
reports are based on the project work done entirely by us and not copied
from any other source.
(Signature of Candidate)
AVI NATANI
Class: BCA Final Year
Roll No. 249823
Enrolment No. 17/6226
Session: 2018-2021
4|Pag
ACKNOWLEDGEMENT
I place on record my indebtedness and gratitude to Almighty God for the inspiration,
guidance and support.
I do thank my family members and all others who have helped me to come through this way.
5|Pag
ABSTRACT
The project ‘Hospital Management System’ is based on the database, object oriented and
networking techniques. As there are many areas where we keep the records in database
for which we are using MY SQL software which is one of the best and the easiest
software to keep our information. This project uses JAVA as the front-end software
which is an Object Oriented Programming and has connectivity with MY SQL.
Hospital Management System is custom built to meet the specific requirement of the mid
and large size hospitals across the globe. All the required modules and features have been
particularly built to just fit in to your requirement. Entire application is desktop based and
built on 2 tier architecture using the latest technologies. The package is highly
customizable and can be modified as per the needs and requirements of our clients.
Prolonged study of the functionalities of the hospital and its specific requirement has
given it a wonderful shape both technically and usability wise. It covers all the required
modules right from Patient Registration, Medicine details, Doctor, Wards, Admin, Store,
Patient appointment, bill payment, record modification, discharge details etc.
6|Pag
Poddar International
SUMMARY
Hospital management system is designed to improve the accuracy, enhance safety and
efficiency in the hospital management. It is a computer based system which helps the
hospitals to improve inventory management, cost, medical safety etc.
Hospital management system was developed to ensure the security of information and
reliability of Hospital records when accessing and providing services to the customers.
The information gathered during the data collection was properly analyzed and the results
provided the basis for the new system. The system was tested and found to be functional
and the outputs produced by this system were encouraging. The application will hence
reduce the loss of information unlike the existing system and also information will be
processed fast.
Poddar International
TABLE OF CONTENT
S.No. TITLE
Front End
Back End
3) System Analysis
Prinipal Of System Analysis
Feasibility
ER Diagram
Software and Hardware Requirement Specification
4) System Design and Development
Data flow Diagram
Flow Chart
Frame Description
Database Description
5) Implementation
6) Reference and Bibliography
Poddar International
Introduction:
Being a developing nation India has seen a tremendous growth of the Health sector in the
field of research as well as in the field of development of numerous large and small scale
Hospital institutions still lacking in inter-structure facilities. Government of India has still
aimed at providing medical facilities by establishing hospital. The basic working of
various hospitals in India is still on paper as compared to hospitals in European countries
where computers have been put in to assist the hospital personals their work. The concept
of automation of the administration and management of hospital is now being
implemented in India also, with large hospitals like APPOLO and AIIMS in Delhi,
ESCORTS in Chennai, having automated their existing system.
Our project is based on the above concept i.e. automation of Administration and
Management of Hospital. The project has been developed keeping in-view the following
aspects: -
(i) Working environment of the Hospital.
(ii) The Existing system, being used in the majority of Hospitals.
(iii) The availability of Infra-structural facilities likes finance, skilled personals, and
working environment.
Poddar International
PROBLEM DEFINATION :
Since HOSPITAL is associated with the lives of common people and their day-to-day
routines so I decided to work on this project.
The manual handling of the record is time consuming and highly prone to error. The
purpose of this project is to automate or make online, the process of day-to-day activities
like Room activities, Admission of New Patient, Discharge of Patient, Assign a Doctor,
and finally compute the bill etc.
I have tried my best to make the complicated process Hospital Management System as
simple as possible using Structured & Modular technique & Menu oriented interface. I
have tried to design the software in such a way that user may not have any difficulty in
using this package & further expansion is possible without much effort. Even though I
cannot claim that this work to be entirely exhaustive, the main purpose of my exercise is
perform each Hospital’s activity in computerized way rather than manually which is time
consuming.
1. Problem of Reliability: Current system is not reliable. It seems to vary in quality from
one month to the, next. Sometimes it gives good output, but some times the output is
worst.
3. Problem of timeliness: In the current system the reports and output produced is
mostly late and in most of the cases it is useless because it is not on time.
4. Problem of Validity: The output and reports mostly contains misleading information.
5. Problem of Economy: The current system is very costly. We have to spend lots of
money to keep the system up and going, but still not get the desired results.
6. Problem of Capacity: The current system is suffering from problem of capacity also.
The staff for organization is very less and the workload is too much. Few peoples
job.
3. With the increase in database, it will become a massive job to maintain the database.
4. Requires large quantities of file cabinets, which are huge and require quite a bit of
space in the office, which can be used for storing records of previous details.
6. Lack of security for the records, anyone disarrange the records of your system.
7. If someone want to check the details of the available doctors the previous system
Hospital are the essential part of our lives, providing best medical facilities to people
suffering from various ailments, which may be due to change in climatic conditions,
increased work-load, emotional trauma stress etc. It is necessary for the hospitals to keep
track of its day-to-day activities & records of its patients, doctors, nurses, ward boys and
other staff personals that keep the hospital running smoothly & successfully.
But keeping track of all the activities and their records on paper is very cumbersome and
error prone. It also is very inefficient and a time-consuming process Observing the
continuous increase in population and number of people visiting the hospital. Recording
and maintaining all these records is highly unreliable, inefficient and error-prone. It is
also not economically & technically feasible to maintain these records on paper.
Thus keeping the working of the manual system as the basis of our project. We have
developed an automated version of the manual system, named as “ADMINISTRATION
SUPPORT SYSTEM FOR MEDICAL INSTITUTIONS”.
The main aim of our project is to provide a paper-less hospital up to 90%. It also aims at
providing low-cost reliable automation of the existing systems. The system also provides
excellent security of data at every level of user-system interaction and also provides
robust & reliable storage and backup facilities.
The overall objective of this project is to establish a system for hospitals so as to improve
the performance and efficiency of Hospital management. In order to achieve this goal
effectively, there are some specific objectives should be implemented;
l. Hospital Details: The new proposed system stores and maintains all the hospital
details.
Poddar International
2. Calculations: The new proposed system calculates the final bill of the patient
accurately.
4. Speed: The new proposed system is very fast with 100% accuracy and saves time.
5. Manpower: The new proposed system needs less manpower. Less people can do the
large work.
6. Efficiency: The new proposed systems complete the work of many people in less
time.
7. Past details: The new proposed system contains the details of every past doctor and
patients for future assistance.
8. Reduces redundancy: The most important benefit of this system is that it reduces
the redundancy of data within the data.
8. Work load: Reduces the work load of the data store by helping in easy updates of
the products and providing them with the necessary details together with financial
transactions management.
AIM:
The aim of the study to fully related with Hospital Management system.
2) User Level
The Software includes:-
1) Maintaining Patient details.
2) Providing Prescription, Precautions and Diet advice.
3) Providing and maintaining all kinds of tests for a patient.
4) Billing and Report generation.
To create the GUI, you use the Java Foundation Classes/Swing (JFC/Swing) and
Abstract Window Toolkit (AWT) API. The many classes and interfaces in those
packages allow you to easily create buttons, check-box objects, text fields, and other
components, as well as components to organize them.
Poddar International
The java.io package provides for system input and output (I/O) through data streams,
serialization, and the file system. An I/O stream represents an input source or an output
destination. A stream can represent many different kinds of sources and destinations,
including disk files, devices, other programs, and memory arrays. Streams support
many different kinds of data, including simple bytes, primitive data types, localized
characters, and objects. Some streams simply pass on data, whereas others manipulate
and transform the data in useful ways.
3) Error Handling :
The Java programming language uses exceptions to handle errors and other unexpected
events. An exception is an event that occurs during the execution of a program and that
disrupts the normal flow of the program's instructions. When an error occurs within a
method, the method creates an object and hands it off to the runtime system. The
object, called an exception object, contains information about the error, including its
type and the state of the program when the error occurred. Creating an exception object
and handing it to the runtime system is known as throwing an exception.
4) Deployment of Application :
Java Web Start technology requires that applications be packed in Java Archive (JAR)
files. The JAR file format enables you to bundle multiple files into a single archive file.
Typically, a JAR file contains the class files and auxiliary resources associated with
applets and applications.
Poddar International
JAR files are packaged with the ZIP file format, so you can use them for tasks such as
lossless data compression, archiving, decompression, and archive unpacking. These
tasks are among the most common uses of JAR files, and you will discover many of the
benefits of the JAR file by using only these basic features.
5) Portability :
Java is portable,i.e. platform independent due to following reasons:
Backend:
We used MySQL to develop the back end of our desktop application.
MySQL is a RDMS (Relational Database Management System) lets think it as a
container which gives us tool to store our data ,it's also gives us way to secure our data ,
backup our data if needs . Now we need some way to talk with that tool,and Mysql only
understand SQL which stands for Structured Query Language, either you can use GUI
(phpmyadmin) or Use SQL that way we can give command to the Mysql.
Minimum Duplication and Redundancy.
Poddar International
NEED:
I have designed the given proposed system in the JAVA to automate the process of day to
day activities of Hospital like Room activities, Admission of New Patient, Discharge of
Patient, Assign a Doctor, and finally compute the bill etc., online facilities to the multiple
users etc.
The complete set of rules & procedures related to Hospital’s day to day activities and
generating report is called “HOSPITAL MANAGEMENT SYSTEM”. My project
gives a brief idea regarding automated Hospital activities.
The following steps that give the detailed information of the need of proposed system are:
Performance: During past several decades, the hospital management system is supposed
to maintain manual handling of all the hospital daily activities. The manual handling of
the record is time consuming and highly prone to error. To improve the performance of
the hospital management system, the computerized hospital management system is to be
undertaken. The computerized hospital project is fully computerized and user friendly
even that any of the hospital’s members can see the patient’s report and the doctor’s
report.
Efficiency: The basic need of the project is efficiency. The project should be efficient so
that whenever a new patient is admitted, and automatically a bed is assigned and also a
doctor is assigned to the patient according to the patient’s disease. And if any patient is
Poddar International
getting discharged, the bed assigned to him/her should automatically free in the
computer.
Control: The complete control of the project is under the hands of authorized person
who has the password to access this project and illegal access is not supposed to deal
with. All the control is under the administrator and the other members have the rights to
just see the records not to change any transaction or entry.
Security: Security is the main criteria for the proposed system. Since illegal access may
corrupt the database and it will affect not only the hospital but also it also affects the
patient’s life. So security has to be given in this project.
SYSTEM ANALYSIS
PRINCIPLES:
Understand the problem before you begin to create the analysis model.
Use multiple views of requirements like building data, function and behavioral
models.
System Analysis is a separation of a substance into parts for study and their
implementation and detailed examination.
Before designing any system it is important that the nature of the business and the way
it currently operates are clearly understood. The detailed examination provides the
specific data required during designing in order to ensure that all the client's
Poddar International
requirements are fulfilled. The investigation or the study conducted during the analysis
phase is largely based on the feasibility study. Rather it would not be wrong to say that
the analysis and feasibility phases overlap. High-level analysis begins during the
feasibility study. Though analysis is represented as one phase of the system
development life cycle (SDLC), this is not true. Analysis begins with system
initialization and continues until its maintenance. Even after successful implementation
of the system, analysis may play its role for periodic maintenance and up gradation of
the system. One of the main causes of project failures is inadequate understanding, and
one of the main causes of inadequate understanding of the requirements is the poor
planning of system analysis.
Analysis requires us to recall the objectives of the project and consider following three
questions:
Keeping the above questions in mind and considering the survey conducted to
determine the need of the system; the total system was designed and can be described
as under:
Providing Information:
The system is effectively used to provide large variety of information to the interested
customer. The major purpose of the site is to easily provide access to records of various
Job seekers & users of matrimonial such as resume & profile of boys and girls those
Poddar International
who want to search a life partner with quick update to latest modifications in the
records. This thing is not at all possible in printed material, which are updated only
once a few weeks. It also gives information about the general usage of the system for
first time visitors. The system itself works as a information provider for company & life
partner seekers.
Preliminary Investigation
System development, a process consisting of two major steps of system analysis and
design, start when management or sometimes system development personnel feel that a
new system or an improvement in the existing system is required. The system
development life cycle is classically thought of as the set of activities that analysts,
designers and users carry out to develop and implement an information system. The
system development life cycle consists of the following activities:
Preliminary investigation
Determination of system requirements
Design of system
Development of software
System testing
Implementation, evaluation, and maintenance
A request to take assistance from information system can be made for many
reasons, but in each case someone in the organisation initiates the request is made,
the first system activity the preliminary investigation begins. This activity has three
parts:
1) Request clarification
2) Feasibility study
3) Request approval
Poddar International
Request clarification: Many requests from employees and users in the organisations are
not clearly defined, Therefore it becomes necessary that project request must be eximined
and clarified properly before considering systems investigation.
Cost benefit analysis helps to give management a picture of the cost, benefits and risks. It
usually involves comparing alternate investments.
Cost benefit determines the benefits and savings that are expected from the system and
compares them with the expected costs.
In performing cost and benefit analysis it is important to identify cost and benefits
factors. Cost and benefits can be categorized into the following categories:
1. Development Costs – Development costs is the costs that are incurred during the
development of the system. It is one time investment.
2. Operating Costs – Operating Costs are the expenses required for the day to day
running of the system. Examples of Operating Costs are Wages, Supplies and
Overheads.
3. Hardware/Software Costs – It includes the cost of purchasing or leasing of
computers and it’s peripherals. Software costs involves required S/W costs.
4. Personnel Costs – It is the money spent on the people involved in the development
of the system.
Poddar International
5. Facility Costs – Expenses that are incurred during the preparation of the physical site
where the system will be operational. These can be wiring, flooring, acoustics,
lightning, and air-conditioning.
6. Supply Costs – These are variable costs that are very proportionately with the
amount of use of paper, ribbons, disks, and the like.
BENEFITS
Increasing income, or
Decreasing costs, or/
Both
FEASIBILITY STUDY:
The feasibility study proposes one or more conceptual solution to the problem set of the
project. In fact, it is an evaluation of whether it is worthwhile to proceed with project or
not.
Feasibility analysis usually considers a number of project alternatives, one that is chosen
as the most satisfactory solution. These alternatives also need to be evaluated in a broad
way without committing too many resources. Various steps involved in feasibility
analysis are:
Poddar International
2. To propose a set of solution that can realize the project goal. These solutions are
usually descriptions of what the new system should look like.
TECHNICAL FEASIBILITY:
Technical Feasibility includes existing and new H/W and S/W requirements that are
required to operate the project using JSP. The basic S/W requirement is J2EE in which
the front end of the online hospital management project has been done. The basic entry
forms are developed in JSP and the data is stored in the MY SQL.
OPERATIONAL FEASIBILITY:
Operational feasibility is mainly concerned with issues like whether the system will be
used if it is developed and implemented. Whether there will be resistance from users that
will affect the possible application benefits? The essential questions that help in testing
the technical feasibility of a system are following:
Will the proposed system really benefit the organization? Does the overall response
increase? Will accessibility of information be lost? Will the system affect the
customers in considerable way?
Legal Feasibility:
Alternatives:
System development life cycle means combination of various activities. In other words
we can say that various activities put together are referred as system development life
cycle. In the System Analysis and Design terminology, the system development life cycle
means software development life cycle.
• System analysis
• System design
• Coding
• Testing
• Implementation
• Maintenance
Different Phases of software development Life Cycle is Shown Below :
PRELIMINARY INVESTIGATIONN
DEVELOPMENT OF
PROTOTYPE
SYSTEM
SYSTEM IMPLEMENTATIONN
DESIGN OF SYSTEM
SYSTEM ANALYSIS
50%
DESIGN OF SYSTEM 30%
CODING 20%
OF
SYSTEM 30%
FIG: SHOWING GENERAL LIFE CYCLE PROCESS AND PERCENTAGE OF TIME DEVOTED
Poddar International
ER Diagram :
An Entity–relationship model (ER model) describes the structure of a database with the
help of a diagram, which is known as Entity Relationship Diagram (ER Diagram). An ER
model is a design or blueprint of a database that can later be implemented as a database.
The main components of E-R model are: entity set and relationship set.
Ellipses: Attributes
Diamonds: Relationship Set
Lines: They link attributes to Entity Sets and Entity sets to Relationship Set
Double Ellipses: Multivalued Attributes
Dashed Ellipses: Derived Attributes
Double Rectangles: Weak Entity Sets
Double Lines: Total participation of an entity in a relationship set.
Poddar International
Poddar International
HARDWARE REQUIREMENTS:
The system services and goals are established by consultation with system user. They
are then defined in details and serve as a system specification. System requirement are
those on which the system runs.
Hardware Requirements:
Computer with either Intel Pentium processor or AMD processor.
128MB DDR RAM
40GB hard disk drive
Operating System: Windows 7 and above versions.
SOFTWARE REQUIREMENTS:
JAVA(J2SE):
We used JAVA language to develop the front end of our Desktop Application. We used
J2SE to develop this desktop application as other versions are used to develop web
application but J2SE is used to develop the desktop applications.
To create the GUI, you use the Java Foundation Classes/Swing (JFC/Swing) and
Abstract Window Toolkit (AWT) API. The many classes and interfaces in those
packages allow you to easily create buttons, check-box objects, text fields, and other
components, as well as components to organize them.
Poddar International
JDBC:
MY SQL:
Introduction
My SQL is an application used to create computer databases for the Microsoft Windows
family of server operating systems. It provides an environment used to generate databases
that can be accessed from workstations, the web, or other media such as a personal digital
assistant (PDA). MY SQL is probably the most accessible and the most documented
enterprise database environment right now. This also means that you can learn it a little
quicker than most other database environments on the market
To start, you must have a computer that runs an appropriate operating system like
Microsoft Windows >= XP Home Edition: that includes Windows XP Home Edition,
Windows XP Professional, Windows 2000 Professional, or any version of Windows
Server 2003. In this case, you must install MY SQL Yog.
Poddar International
Using SQL one can create and maintain data manipulation objects such as table, views,
sequence etc. These data manipulation objects will be created and stored on the server's
hard disk drive, in a table space, to which the user has been assigned.
Once these data manipulation objects are created, they are used extensively in
commercial applications.
In addition to the creation of data manipulation objects, the actual manipulation of data
within these objects is done using SQL.
The SQL sentences that are used to create these objects are called DDL's or Data
Definition Language. The SQL sentences used to manipulate data within these objects are
called DML's or Data Manipulation Language. The SQL sentences, which are used to
control the behavior of these objects, are called DCL's or Data Control Language.
Poddar International
A DFD also known as “bubble chart”, has the purpose of clarifying the system
requirements and identifying major transformation that will become programs in
system design. So, it is the starting point of the design phase that functionally
decomposes the requirements specifications down to the lowest level of detail. ADFD
consists of a series of bubbles joined by lines.
Poddar International
DFD use a number of symbols to represent systems. Most Data flow modeling method
use 4 kinds of symbols to represent four kinds of system components
Symbol Description
Process A process shows a transformation or
manipulation of data flows within
the
system.
External Entity External entities are outside the system,
but either supply input data into the
system or use system output.
Data Flows A data flow shows flow of information
from source to destination.
Description of Components:
Administration module:-
Input: - User Name,
Password
Process Definition: - Login to the system
Output:-If login is successful then administrator can view and update the records.
Impatient Module :
Input: - Inpatient detail
Process Definition: - Information about the treatment given to the patients who are
admitted.
Output: - Information about the patient.
Interface with other module: - The inpatient details are necessary for lab reports and
billing.
Poddar International
Outpatient module:-
Input: - Outpatient detail
Process Definition: - This module has the information about the treatment given to the
patient who are came to check up.
Output: - Information about the patient.
Interface with other module: - The outpatient details are necessary for lab reports and
billing.
Billing Module:
Input: - Patient ID
Process Definition:-Calculates bill and deduct amount if any card facility is available.
Output: - Bill.
Interface with other module: - Billing module requires information from inpatient and
outpatient modules
DFD for patient Appointment
Database
Output UNIT
Poddar International
Database
2. Search the patient in patient-ID
Output Unit
Poddar International
DATABASE
Print Bill
CRT
Poddar International
Output
Poddar International
1 Admitted
PATIENT
Process
Update Table
Patient Details
1.3
Assigning a Doctor
1.4
Update
Poddar International
PATIENT
Patient Details
1.4
Update
Poddar International
DATA FLOW
DIAGRAM LIST OF
ALL RECORDS
Processing
5
Select Record
Output
To Screen/Printer
SYSTEM DESIGN
System Design:
Poddar International
Flow Chart
Poddar International
Frames Description :
4
Poddar International
4
Poddar International
4
Poddar International
4
Poddar International
4
Poddar International
4
Poddar International
4
Poddar International
4
Poddar International
4
Poddar International
4
Poddar International
5
Poddar International
DATABSE DESCRIPTION:
Doctor DB:
5
Poddar International
Med Category DB
Medicine DB:
OPD DB
5
Poddar International
Patient DB
Patient procedure DB
USERS DB
5
Poddar International
SYSTEM IMPLEMENTATION
As we know, creating software is one thing and the implementation of the created
software is another. The process of implementing software is much difficult as compared
to the task of creating the project. First we have to implement the software on a small
scale for removing the bugs and other errors in the project and after removing them we
can implement the software on a large scale. Before we think in terms of implementing
the Software on a large basis, we must consider the Hardware requirements.
Whenever we develop software or project a certain hardware and software is being used
by the programmer for developing the project. The hardware and software to be used by
the programmer for developing the project should be such that it would result in the
development of a project, which would satisfy all the basic needs for which the project
has been created by the programmer. The Hardware should be such that cost constraints
of the Client should also be taken into account without affecting the performance.
When we evaluate computer hardware, we should first investigate specific physical and
performance characteristics for each hardware component to be acquired. These specific
questions must be answered concerning many important factors. These hardware
evaluation factors questions are summarized in the below figure.
Notice that there is much more to evaluating hardware than determining the fastest and
cheapest computing device. For e.g. the question of possible obsolescence must be addressed
by making a technology evaluation. The factor of ergonomics is also very important.
Ergonomics is the science and technology that tries to ensure that computers and other
technologies are "user-friendly", that is safe, comfortable and easy to use. Connectivity is
5
Poddar International
another important evaluation factor, since so many computer systems are now
interconnected within wide area or local area telecommunications networks.
5
Poddar International
5
Poddar International
1. SECURITY MEASURES
1. Administrator
2. User1
User1: When this user logs onto the system, he can only view information and other
reports. He can generate different reports.
5
Poddar International
CONCLUSIONS
This project has been a rewarding experience in more than one way. The entire project
work has enlightened us in the following areas.
a) We have gained an insight into the working of the HOSPITAL. This represents
a typical real world situation.
c) Scheduling a project and adhering to that schedule creates a strong sense of time
management.
d) Sense of teamwork has developed and confidence of handling real life project
has increased to a great extent.
e) Initially, there were problem with the validation but with discussions, we were
to implement validations.
5
Poddar International
BIBLIOGRAPHY
[1] Herbert Scheldt, Java Complete Reference, Fifth Edition, Tata McGraw Hill
Edition.
[2] Elmarsi and Navathe, Fundamentals of Database System (Third Edition), Addision
Wesley.
[4] Ali Bahrami, Object-Oriented System Development, Third Edition, Tata McGraw
Hill Edition.
[5] Ivan Bayross, SQL, PL/SQL programming language of Oracle, Second Edition,
BPB Publication.
WEB REFERENCES
[1] www.google.com
[2] www.javatpoint.com
[3]www.w3school.com