Professional Documents
Culture Documents
Management
Submitted By:
Sanjeev Kanojia
(0714510084) Satyam Saxena
(0714510086) Saurabh Samet
(0714510090)
Shailendra Rathore
(0714510091)
1
College of Science and Engineering (Jhansi)
U.P Technical University
<May 2010>
2
DECLARATION
Signature:
Name:
Sanjeev Kanojia (0714510084)
Satyam Saxena (0714510086)
Shailendra Rathore (0714510091)
Saurabh Samet (0714510090)
Date: 03/04/2010
3
CERTIFICATION
Date: Supervisor:
03/05/2010
.Er.Diksha Yadav
4
ACKNOWLEDGEMENT
It gives us a great sense of pleasure to present the report of the B.Tech Project
Undertaken during B.Tech Third Year. We Owen special debt of gratitude to professor
Er.Diksha dada Department of Computer Science & Engineering, college of science &
Engineering,Lucknow for his constant support and guidance throughout the course of our
work. His sincerity, thoroughness and perseverance have been a constant source of
inspiration for us. It is only his cognizant efforts that our endeavors have been light of the
day.
We take the opportunity to acknowledgement the contribution of ER.Sarika, Head of
department Computer Science & Engineering, college of science & Engineering,
Jhansi for his full support and assistance during the development of the project.
We also do not like to miss the opportunity to acknowledge the contribution of all
faculty members of the department for their kind assistance and cooperation during the
development of our project. Last but not the least we acknowledge our friends for their
contribution in the completion of the project.
Signature: Signature:
Signature: Signature:
5
6
ABSTRACT
7
TABLE OF CONTENTS
Topic
Page
DECLARATION……………………………………………………………………
…………………….. 2
CERTIFICATION…………………………………………………………………
……………………… 3
ACKNOWLEDGEMENTS…………………………………………………………
………………….. 4
ABSTRACT…………………………………………………………………………
………………………. 5
LIST OF
TABLE………………………………………………………………………………
……………….
1 Hardware
requirements……………………………………………………………………
……10
2 Software
requirements……………………………………………………………………
……..10
LIST OF
FIGURE……………………………………………………………………………
……………..
8
FIGURE
1……………………………………………………………………………………
……………13
FIGURE
2……………………………………………………………………………………
……………13
FIGURE
3……………………………………………………………………………………
……………13
FIGURE
4……………………………………………………………………………………
……………13
ER
diagram……………………………………………………………………………
……………………20
1: Title of the
project……………………………………………………………………………
……8
2: About the
project……………………………………………………………………………
…….8
2.3Project type
keywords…………………………………………………………………..8
3: Functional components of the
project………………………………………………….8
9
3.1 Registration
………………………………………………………………………………...8
3.2: Admin
Login………………………………………………………………………………
…9
3.3: Patient
Login……………………………………………………………………………….
9
4
Treatment…………………………………………………………………………
………………….9
5.0Requirements………………………………………………………………
………………………10
5.1 Hardware
requirements……………………………………………………………………..
10
5.2 Software
requirements……………………………………………………………………
….10
5.3 Project
Team………………………………………………………………………………
……….10
10
6.0 Work procedure of
project………………………………………………………………….11
6.1 Introduction
Part…………………………………………………………………………………
12
6.2 Administrative
Part………………………………………………………………………………12
7.0 Types of
Pages………………………………………………………………………………
……12
7.1 Static
Documents………………………………………………………………………
…………12
7.1.1
HTML………………………………………………………………………………
…………………12
7.2 Dynamic
Pages………………………………………………………………………………
…….13
8.1 Query
………………………………………………………………………………………
……………14
11
8.4
Security……………………………………………………………………………
………………….17
9
CONCLUSION……………………………………………………………………
……………………..17
12
Hospital Management System
1: Title of the project:
Databases, Programming
3.1 Registration:
13
1: Check by duty doctor.
2: after approval he fulfills the registration form.
3: Various inquiries about the patient like its admission, discharge,
medicine and tests, suggestions, claims
Details
4: Bed census
5: Patient movement in the hospital from one section to another.
4 Treatments
This module deals with all medical items. Stock adjustments etc. Inquiry
screens include viewing daily
Stock position, sub storewide stock, etc about medicines, injections, special
OT specific apparatus, chemicals etc.
14
5.0Requirements:
Number Description
1 PC with 80 GB hard disk and 1 GB
RAM
15
screen that system. This
follows the test plan can
login be
Giving various Updated as
options. and when
new
scenarios
come to
mind.
5 Integrating the The update the 12-13 days
Frontend with database when
the a patient
database received his
report In short,
the system
should be
ready for
integration
testing.
6 Testing The system 14-15 days Another 2
should be weeks should
thoroughly be there to
tested handle any
issues found
during
Testing of the
system. After
that,
the final
demo can be
arranged
1: Make a database of all tables and fill some sample data in the tables
which can prove helpful for running / testing of the project.
2: Create the FrontPage giving a brief description about the system and a
login box.
16
3: Create other subsystems like screens for various functions (new patient
entry, viewing existing patient details, printing different reports etc...)
So that we click on project then user get a Login Form. After fulfill in
proper manner and if it satisfies it’s all condition. User can not access the
Administrative Part.
7.1.1 HTML
Hypertext Markup Language (HTML) is a language for creating Web
pages. The term markup language comes from the book publishing industry.
Before a book is typeset and printed, a copy editor reads the manuscript and
puts marks on it. These marks tell the compositor how to format the text. For
example, if the copy editor wants part of a line to be printed in boldface, he
17
or she draws a wavy line under that part. In the same way, data for a Web
page are formatted for interpretation by a browser.
Figure 1
Figure 2
7.2 Dynamic Pages:
A dynamic document is created by a Web server whenever a browser
requests the document. When a request arrives, the Web server runs an
application program or a script that creates the dynamic document. The
server returns the output of the program or script as a response to the
browser that requested the document.
Figure 3
18
Figure 4
8.1 Query:
Java is most reliable language. For use the entity in program we use the
“dao” files by which system will understand that which entity use in which
type of form. And how user will access its value.
package com.hcl.dao;
import com.hcl.dao.*;
import com.hcl.database.*;
import com.hcl.vo.AdminLoginVo;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
try
{
con=new Database().getConnectionData();
ps=con.prepareStatement(sql);
ps.setString(1,AdminLogin.getUsername());
ps.setString(2,AdminLogin.getPassword());
rs=ps.executeQuery();
while(rs.next())
{
return true;
}
19
}
catch(Exception e)
{
throw new Exception("Exception in select item"+e);
}
finally{
if(con!=null)
con.close();
}
return false;
}
package com.hcl.database;
import java.sql.Connection;
import java.sql.DriverManager;
public class Database {
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/hospital","ro
ot","");
}
catch(Exception e)
{
System.out.print("hello" +e);
throw new Exception("Exception in geting connection");
20
}
return con;
}
}
When we connect the program with data program with database then
question arise that
1: How data enter in database.
2: how save data will access by administrator when he/she require.
So that in java we use Servlet files. Hear we give example by which
administrator get the information about Patient.
package com.hcl.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.hcl.dao.*;
import com.hcl.patVO.viewVO;
import javax.servlet.RequestDispatcher.*;
public class viewServlet extends HttpServlet {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
try
{
ArrayList<viewVO> invalue=new
view1().selectItem1(Doctor_entry_form);
if(invalue!=null)
{
21
request.setAttribute("obj1", invalue);
RequestDispatcher
rd=request.getRequestDispatcher("DoctorRetrieve.jsp");
rd.forward(request, response);;
}catch(Exception e)
{
System.out.println(e);
}
8.4 Security:
Java is the most secure computer programming language because in
java there is no use of pointers like C and C++. And when we discuss about
security then we have to implement some more facilities so that in this
project we add “user name” and “password” two fields by which only those
authorize person use the whole project. So for providing the security we use
“vo” file so that only administrator access the project as well as update it...
The example of VO file is
package com.hcl.vo;
String Username;
String Password;
public String getUsername() {
return Username;
}
public void setUsername(String Username) {
this.Username = Username;
}
public String getPassword() {
return Password;
}
public void setPassword(String Password) {
this.Password = Password;
}
}
22
CONCLUSION:
This project (HMS) so much reliable and secure this project
contains static and dynamic pages which are work on server side as well as
client side. We can use it on single user system only and it can work on
server as well as personal desktop also.
The whole project is in java which is platform independent language so
that it can run on window xp, window vista, window NT, Window 7, as well as
Linux, linex, Unix and other operating system..
23
24
25