Вы находитесь на странице: 1из 36

CHAPTER I

1.1 OVERVIEW OF THE PROJECT

The Hospital management system software is user-friendly software. The main objectives
of the system is which shows and helps you to collect most of the information about Hospitality
and Medical Services The system is very simple in design and to implement. The system requires
very low system resources and the system will work in almost all configurations. Patients are
easily allocated to the doctors. Doctors Search is possible. Todays patient list help doctors to
search their patients
Anytime anywhere facilities of the INTERNET have helped the medical fields to
integrate into a single unit. Details of the patients, their previous visits etc. are totally not
perceptible without a computer .relevant information are always stored in the computer and are
available instantly in front of the user.

1.2 NEED OF THIS PROJECT

Themain objective of this project is used to reduce the paper work in the hospitals, patient
registration and timely data retrieval. These targets are solved by creating this hospital
management system.

1.3 THE ORGANIZATION PROFILE

Star Solution is aleading IT company having its offshore operations in Coimbatore,


Tamil Nadu. They are in partnership with corporate named Supreme Tech Solutions who is an
successful service provider of Automated data processing consulting in the State of Virginia,
USA.
The company offers fully integrated IT development, through testing and technical
support solutions for our clients.
Our clients not only include local companies and individuals but also we work on
projects that are outsourced from our partner company in the US. Having professionals that
follow work ethics which contribute to the growth of organization.To accomplish our goals in an
atmosphere of honesty, truthfulness, justice towards our employees, clients and to the public at
large.

1
To be flexible with regard to customers needs and desires.To exceed client
expectations.To be moral and genuine in all our transactions. Strive ourselves to be better with
our products and services to achieve excellent turnout feedback.

MISSION STATEMENT
To provide executive coaching and soft skills training of exceptional quality through
facilitators who are constantly evolving to achieve their highest potential and empowering others
to do same.

OUR VISION

They seek to deliver innovative technology solutions that will create value for the
customers and build an environment of trust and excellence.

CHAPTER II

SYSTEM ANALYSIS

2.1 BACKGROUND STUDY


2
System analysis is concerned with the comparison study about the existing and the
proposed system. The system analysis is essential when the software must interfere with other
resources. The essential purpose of this place to find the need and to define the problem that
needs to be solved.

2.1.1 EXISTING SYSTEM

Existing system refers to the system that is being followed till now. Presently all the
hospital functionalities are done manually. That is if a patient want to consult a doctor he can
visit their till his chance called. This is making the person very difficult. The main disadvantage
is time consuming. Limitations of existing system are,

Lack of security of data.


Time consuming.
Consumes large volume of paper work.
Manual work
No direct role for the higher officials.

To avoid all these limitations and make the system working more accurately it needs to be
computerized.

2.1.2 PROPOSED SYSTEM

The Hospital management system software is user-friendly software. The main objectives
of the system is which shows and helps you to collect most of the information about Hospitality
and Medical Services The system is very simple in design and to implement. The system requires
very low system resources and the system will work in almost all configurations.

The system requires very low system resources and the system will work in almost all
configurations. The main objectives of the proposed system can be enumerated as follows:

Patients are easily allocated to the doctors.


Doctors Search is possible.
Todays patient list help doctors to search their patients

3
In the proposed system, the administrator can insert, delete and modify the patient records as
per the requirements. The laboratory reports and billing details can be easily maintained in this
system. This project will help to smoother the process of the hospital activities.

2.2 SYSTEM SPECIFICATION

2.2.1 HARDWARE REQUIREMENTS

Processor : Pentium IV
RAM ; 512 MB
Hard Disk : 80 GB

2.2.2 SOFTWARE REQUIREMENTS

Front End : Java

Environment : Eclipse

Back End : SQL Server 2008

Operating System : Windows 7

2.2.3 APPLICATION SPECIFICATION

FRONT END

JAVA

4
Java is also unusual in that each Java program is both compiled and interpreted. With a
compiler, you translate a Java program into an intermediate language called Java byte codes--the
platform-independent codes interpreted by the Java interpreter. With an interpreter, each Java
byte code instruction is parsed and run on the computer. Compilation happens just once;
interpretation occurs each time the program is executed.

Java byte codes can be considered as the machine code instructions for the Java Virtual
Machine (Java VM). Every Java interpreter, whether it's a Java development tool or a Web
browser that can run Java applets, is an implementation of the Java VM. The Java VM can also
be implemented in hardware.

The Java Platform

A platform is the hardware or software environment in which a program runs. The Java
platform differs from most other platforms in that it's a software-only platform that runs on top of
other, hardware-based platforms. Most other platforms are described as a combination of
hardware and operating system. The Java platform has two components, The Java
Virtual Machine (Java VM) and Java Application Programming Interface (Java API)

J2EE Applications

J2EE applications are made up of components such as JavaServer Pages (JSP), Java
servlets, and Enterprise JavaBeans (EJB) modules. These components enable software
developers to build large-scale, distributed applications. Developers package J2EE applications
in Java Archive (JAR) files (similar to zip files), which can be distributed to production sites.
Administrators install J2EE applications onto the Application Server by deploying J2EE JAR
files onto one or more server instances (or clusters of instances).The following figure illustrates
the components of the J2EE platform discussed in the following sections.

Essentially, J2EE is a collection of APIs that can be used to build such systems, although
this is only half of the picture. J2EE is also a standard for building and deploying enterprise
applications, held together by the specifications of the APIs that it defines and the services that
J2EE provides.
5
ECLIPSE

Eclipse was inspired by the Smalltalk-based Visual Age family of integrated development
environment (IDE) products. Although fairly successful, a major drawback of the Visual Age
products was that developed code was not in a component model; instead, all code for a project
was held in a compressed lump somewhat like a zip file but in a proprietary format called, data.
individual classes could not be easily accessed, certainly not outside the tool. A team primarily at
the IBM Cary NC lab developed the new product as a Java-based replacement.

In November 2001, a consortium was formed with a board of stewards to further the
development of Eclipse as open-source software. It is estimated that IBM had already invested
close to $40 million by that time. The original members were Borland, IBM, Mirant, QNX
Software Systems, Rational Software, Red Hat, Sues, Together Soft and Web Gain. The number
of stewards increased to over 80 by the end of 2003. In January 2004, the Eclipse
Foundation was created.

TOMCAT

Apache Tomcat is an open source software implementation of the Java Servlet, Java
Server Pages, Java Expression Language and Java Web Socket technologies. The Java Servlet,
Java Server Pages, Java Expression Language and Java Web Socket specifications are developed
under the Java Community Process Apache Tomcat is developed in an open and participatory
environment and released under the . Apache Tomcat is intended to be a collaboration of the
best-of-breed developers from around the world. We invite you to participate in this open
development project. To learn more about getting involved, Apache Tomcat powers numerous
large-scale, mission-critical web applications across a diverse range of industries and
organizations. Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
project logo are trademarks of the Apache Software Foundation.

BACK END

SQL SERVER 2008

6
SQL

Microsoft SQL Server is a Relational Database Management System (RDBMS)


developed by Microsoft. It is a highly scalable product that can be run on anything from a single
laptop, to a network of high-powered cloud servers, and anything in between. Of course, by
"anything", it still needs to satisfy the usual hardware and software requirements, but these
requirements are reasonably modest, considering what SQL Server is capable of.

SQL Server has evolved to become a true, enterprise information platform. While its core
function is that of a RDBMS, SQL Server has become much more than that. SQL Server 2014
includes built-in business intelligence tools, as well as a range of analysis and reporting tools.
This is on top of the database management tools such as database creation, backup, replication,
security, and more.

Server Database Systems

SQL Server is a server database system, as opposed to a desktop system such as Access.
Server based database systems are designed to run on a central server - or servers - so that
multiple users can access the same data simultaneously. The users normally access the database
through an application.

CHAPTER III

DESIGN AND DEVELOPMENT PROCESS

3.1 FUNDAMENTAL DESIGN CONCEPTS

7
A software design is a meaningful representation of some software product that is to be
built. A design can be traced to the customers requirements and can be accessed for quality
against predefined criteria. During the design process the software requirement model is
transformed into design models at that describe the details of the data structures system
architecture, interface and components. Each design product is reviewed for quality before
moving t the next phase of the software development.

3.2 DATA FLOW DIAGRAM

A Data Flow Diagram (DFD) is a graphical technique that depicts information flow and
the transforms that are applied as data move from input to output.

Data flow diagram is a logical model of a system. The model does not depend on
hardware, software, and data structure or file organization. It only shows the data flow between
modules to modules of the entire system. Dataflow diagrams can be completed using only four
notations as follows,

: Data move in a specific direction from an origin to destination.

: People, procedures or devices that produce data.

: External source or Entities of data.

: A process references the data in the system.

CONTEXT LEVEL DIAGRAM


8
LEVEL 0:

LEVEL 1:

9
3.3 DESIGN PROCESS

3.3.1 MODULE DESIGN

Number of Modules

1. Login module

2. Admin module

3. Doctor module

4. Patient module

5. Billing module

6. Feedback module

Login Module

Login-If user click this login button it will validate the username and password and if it is
false means display error message else it will be login successfully. Forgot password- this link
will help for retrieving the password of the user through the message.
10
Admin Module

This is the main module in the proposed project. The administrator can read and write
information about any member such as patient, doctors and staff of the hospital. They can also
update, create and delete the record of members as requirement and implementation plan.

Doctor Module

It keeps track of all details about doctors .doctor id, doctor name, address, age,
experience, specialist, are entered in a form and stored for future reference. Also particular
doctor details can be viewed in the table using a separate form with an attribute doctor id.

Patient Module

This module contains the patient records. It contains details of patients who are admitted.
The outpatient module contains details of the patient who came for checkups.

Billing Module

The bill payment report of the patient.

Feedback module

Feedback module has an text field for enquiry and also an feedback form.

3.3.2 DATABASE & TABLE DESIGN

Designing the database is part of the system design. Data elements and data structures to
be stored have been identified at analysis stage.

A database is a collection of interrelated data stored with minimum redundancy to serve


many users quickly and efficiently. The general objective of database design is to make the data
access easy, inexpensive and flexible to the user. Relationships are established between the data
items and unnecessary data items are removed. Normalization is done to get an internal
consistency of data and to have minimum stability.

TABLE NAME: LOGIN_ADMIN


11
Field Data type Constraint Description
User_name Varchar(25) Not Null User name for login.

Password Varchar(25) Not Null Password for login.

TABLE NAME: LOGIN_DOCTOR

Field Data type Constraint Description


Doc_ID Varchar(25) Primary Key Unique doctor ID .

Password Varchar(25) Not Null Password for login.

TABLE NAME: LOGIN_PATIENT

Field Data type Constraint Description


Pat_ID Varchar(25) Primary Key Unique Patient ID .

Password Varchar(25) Not Null Password for login.

3.3.3 INPUT DESIGN

Input design is the process of converting user-oriented input to computer-based format.


The goal of input data design is to make data entry as easy, logical and free from errors as
possible. Inputs are raw data that are acceptable by the system and processed it to produce the
output. It also includes determining media, method of input, speed of capture and entry into the
system. Errors entered are controlled by the input design.
Main screen is designed with Menu bar, Tool box, Property window, Design frame and
Code window. The skeleton structure of the form design required by the user is given as the
input. Components can be added to the design frame from the Toolbox window and the user

12
required form design can be designed. This design will be saved to the disk as a Java file. The
file can be edited with other source editors or text editors.

3.3.4 OUTPUT DESIGN

After designing and saving the form design required by the user, compilation must be
done. The errors will be displayed. If the source file generates no errors, the program can be
executed.

Code window is mainly used to generate the code for each and every component in the
design frame. Whenever the changes made in the Property Window or in the Design Frame it is
reflected in the code window. Modification in the program can be performed in the code window.
This coding helps the user to compile & execute easily. The user can simply insert their code if
they want to perform any actions using Java listeners options, which we have provided through
the project.

CHAPTER IV

TESTING AND IMPLEMENTATION

4.1 SYSTEM TESTING

Testing accomplishes a variety of things, But most importantly it measures the quality of
the software you are developing. This view presupposes there are defects in your software
waiting to be discovered and tis view is rarely disproved or even disputed. Several factors
contribute to the importance of making testing a high priority of any software development
effort. The purpose of testing is to discover errors.

13
Testing is the process of testing is to discover every conceivable fault or weakness in a
work product.it provides away to check the functionality of components, sub-assemblies,
assemblies and/or a finished producted.it is the process of exercising software with the intent of
ensuring that the software system meets its requirements and user expectations and does not fill
an unacceptable manner. There are various types of test. Each test type addresses a specific
testing requirement.

4.1.1 TESTING METHODOLOGIES

The entire testing process can be divided into five phases

Unit testing
Acceptance Testing
Validation testing
Integration testing
Program testing

4.1.1.1 UNIT TESTING

The first level of testing is called as unit testing. Here the different modules are tested and
the specification produced during design for the module. All modules were tested and
individually as soon as they were completed were checked for their correct functionality. Unit
testing is carried out by verify and recover errors within the boundary of the smallest unit or a
module.in this testing step, each module was found to be working satisfactory per the expected
output of the module. In the package development each module is tested separately after it has
been completed and checked with valid data.

4.1.1.2ACCEPTANCE TESTING

Acceptance Testing is running the system with live data by the actual user. The software
was given with the actual user data and the responsible staff fed the data.The system is tested
with the data and the code is executed for the various types of design inputs.

4.1.1.3 VALIDATION TESTING


14
The login form had been tested for validation to avoid invalid login to the system. For
example if the user press the submit button before entering the data into the field, a message will
be displayed as Invalid Combination hence program were tested individually: at last all these
programs where combined together by creating another program where all these constructions
were used. It goes a lot of problem by not functioning in an integrated manner.

4.1.1.4 PROGRAM TESTING

Program testing check for two types of errors, Syntax error and logical error. The new
system was test against syntax errors and logic errors both were not occurred. The project is
tested by giving wrong input values and the proper warning messages are generated from the
respective control.

4.1.1.5 INTEGRATION TESTING

The entire project was split into small programs; each of these programs gives a frame as
an output. These programs were tested individually; at last all these programs were combined
together by creating another program where all these construction were used. It gives a lot of
problem by not functioning in an integrated manner.

4.2 SYSTEM IMPLEMENTATION

Implementation is the stage of the project when the theoretical design is turned out into a
working system. Thus it can be considered to be the most critical stage in achieving successful
new system ad in giving the user, confidence that the new system will work and be effective.

The implementation stage involves careful planning investigation of the existing system
ad its constraints on implementation, designing of methods to achieve changeover and
evaluation of changeover methods.

The implementation stage involves following tasks.

careful planning

Investigation of system and constraints.

15
Design if methods to achieve the changeover.

Training if the staff in the changeover phase.

Evaluation of the changeover method.

4.3 SYSTEM MAINTENANCE

Software maintenance is the process of modifying a software system or component after


deliver to correct false, improve performance and other attributes, or adapt to change
environment. Maintenance covers a wide range of activities including correcting coding and
design errors, updating documentation and test data and hardware and software.

Maintenance is always necessary to keep the software usable and useful. Hardware also
requires periodic maintenance to continue to brings new system to standards. Software
maintenance activities can be classified into

Corrective maintenance

Adaptive maintenance

Perceptive maintenance

CORRECTIVE MAINTENANCE

Removes software faults. Corrective maintenance should be the overriding priority of the
software maintenance team.

PERCEPTIVE MAINTENANCE

Involves recommendations for new capability modifications to the existing functions and
general enhancements when the software is used. To satisfy this request, perceptive maintenance
is performed.
16
ADAPTIVE MAINTENANCE

Modifies the software to keep it up to date with its environment. Adaptive maintenance
may be needed because of changes in the user requirements, changes in the target platform or
changes in external interfaces. Minor adaptive changes may be handled by normal maintenance
process. Major adaptive changes should be carried out as a separate development project.

CHAPTER V

CONCLUSION

The project Hospital Management System (HMS) is for computerizing the working in a
hospital. The software takes care of all the requirements of an average hospital and is capable to
provide easy and effective storage of information related to patients that come up to the hospital.

It generates test reports; provide prescription details including various tests, advice, and
medicines prescribed to patient and doctor. It also provides details and billing facility on the
basis of patients status whether it is an indoor or outdoor patient. The system also provides the
facility of backup as per the requirement.

17
CHAPTER VI

SCOPE FOR FURTHER ENHANCEMENT

This project will enhance the patients and the hospital to serve more quickly and
efficiently. This software is developed in order to computerize the activities which take more
time, if done manually. Hospital billing system will enable the patient and hospital staff to make
things faster and can get information quickly. If we want any information about patient, we can
access it quickly.

Further Bill generation is done however manually, Still to improvise the bill automatic
generation link can be given to calculate based on Doctor selected and Doctor prescribed tests
and medicines.

18
BIBLIOGRAPHY

TEXT BOOKS:

JSP and SERVLETS A Comprehensive study by Mahesh P. Matha.

Programming with JAVA by E. Balagurusamy.

Html &Css: The Complete Reference Fifth Edition by Thomas A Powel.

WEBSITES:

http://www.w3schools.com/
http://www.csstutorial.com/
19
http://www.htmldog.com/
http://www.quackit.com/sql_server/sql_server_2008/tutorial/

ANNEXURES

A.INPUT DESIGN:

Login Form:

This form is used to login only the authorized person can enter.

20
INVALID USER NAME/PASSWORD

If username /password is wrong below screen will appear

21
APPOINTMENT FORM

Appointment for consultation of patients with availability of doctors.

22
DOCTOR REGISTRATION:

Adding new doctors to the hospital can be done by admin.

23
SEARCH DOCTOR:

Using the unqiue id to search doctors profile.

24
RESULT FOR DOCTOR SEARCH:

Doctors profilecan be viewed in this colum

25
RESULT FOR AVAILABLE DOCTORS:

Day today doctors availability can be viewed

26
Scheduled patient:

Doctor can view the patients who were appointed to them.

27
PATIENT LOGIN

Description: Patient login using unique useer ID to view their respective reports

28
PATIENT DRUG LIST

Description: Patient can view their Prescription and available doctors.


29
C.SAMPLE CODE:

Welcom.jsp

<%@pagelanguage="java"contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>

30
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD HTML 4.01
Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<metahttp-equiv="Content-Type"content="text/html; charset=ISO-8859-1">
<title>MY HOSPITAL</title>
<styletype="text/css">
body{
font: 12px verdana, sans-serif;
margin: 0px;
}
.header{
padding: 10px 0;
background-color: #679BB7;
}
.headerh1{
font-size: 18px;
margin: 10px;
}
.container{
width: 100%;
background-color: #f0f0f0;
}
.sidebar{
float: left;
width: 20%;
min-height: 400px;
background-color: #bbd2df;
}
.sidebar.nav{
.singlePaneAccordion {
width: 200px;
margin: auto;
}
.singlePaneAccordionh1 {
background: #e3e3e3;
text-align: center;
31
line-height: 2em;
cursor: pointer;
font-size: 1.2em;
font-weight: bold;
border-bottom: 1px solid #C5C5C5;
border-top: 1px solid white;
margin: 0px;
}
.singlePaneAccordiondiv {
margin: 0;
line-height: 2em;
font-size: 1.2em;
} }
.navul{
list-style: none;
padding: 0px;
margin: 0px;
}
.navulli{
margin-bottom: 5px;
}
.navullia{
color: #3d677e;
}
.navullia:hover{
text-decoration: none;
}
.content{
float: left;
width: 80%;
min-height: 400px;
}
.content.section{
padding: 10px;
}
.contenth2{
font-size: 16px;
32
margin: 0px;
}
.clearfix{
clear: both;
}
.footer{
background-color: #679BB7;
padding: 10px 0;
}
.footerp{
#footer{ background:#eee;}
#footer-inner{ margin:auto; text-align:center; padding:12px; width:970px;}
#footera {color:blue;text-decoration:none;}
}
</style>
<basetarget="_self"/>
</head>
<body>
<divclass="container">
<divclass="header">
<table><tr><tdcolspan=10>
<imgsrc="image/logo.png"width="100%"height="100px"align="middle"/></td>
<td><h2>HOSPITAL MANAGEMENT SYSTEM</h2></td></table>
<%@includefile="op.jsp"%>
</div>
<divclass="wrapper">
<divclass="sidebar">
<divclass="nav">
<br><br><br>
<marqueebehavior="scroll"direction="up">
<tableborder=10width=75%>
<caption>HEALTH TIPS</caption>
<tr><td><ul>
<li><ahref="imt.jsp">Important Health Tips </a><br><br></li>
<li><ahref="imt.jsp">Brain Damaging Habits</a><br><br></li>
<li><ahref="imt.jsp"><big>Reduce Weight Quickly</big></a><br><br></li>
<li><ahref="imt.jsp"><b><i>more..</i></b></a></li>
33
</ul></td></tr>
</table>
</marquee>
</div></div>
<divclass="content">
<divclass="section">
<h2>Welcome to our site</h2>
<p><i>At Hospital, the doctors and other staff members serve the patients with complete
dedication. <br>We are offering right solutions for all kinds of health issues.</i><br>
<i>To ensure maximum patient comfort, our hospital has comfortable beds and homely
atmosphere that helps in faster recovery of the patients. <br> Hospital has been started
with a sole objective to provide caring and friendly health care service for all our patients.
make sure that our patient's needs are dealt with utmost care and compassion to provide
utmost satisfaction.</i>
</p></div></div>
<divclass="footer">
<divid="footer-inner">
<p>copyright &copy; OurHospital.com <ahref="welcom.jsp">Your
Site</a>&#124;<ahref="tips.jsp">Privacy Policy</a></p>
<divclass="clr"></div>
</div></div>
</div></div>
</body>
</html>

ADMIN DASHBOARD:
<%@pagelanguage="java"contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD HTML 4.01
Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<metahttp-equiv="Content-Type"content="text/html; charset=ISO-8859-1">
<title>MY HOAPITAL</title>
<basetarget="_self"/>
</head>
<body>
34
<divclass="container">
<divclass="header">
<h1>MY HOSPITAL</h1>
<imgsrc="image/d.jpg"width="100%"height="150px"align="middle"/>
<h2> ADMIN DASHBOARD</h2>
</div>
<divclass="wrapper">
<divclass="sidebar">
<divclass="nav></div></div>
</div>
<divclass="content">
<divclass="section">
<%@includefile="pview.jsp"%>
</div>
</div>
<divclass="footer">
<p>copyright &copy; tutorialrepublic.com</p>
</div>
</div>
</div>
</body>
</html>

D.ABBREVIATIONS

CSS - Cascading style sheet

HTML - Hyper Text Markup Language

JS - Java script

JSP - Java server page

JQUERY - Java Query

35
36

Вам также может понравиться