Hosptalmanagementsystem 200902070112
Hosptalmanagementsystem 200902070112
Hosptalmanagementsystem 200902070112
Hospital
For The fully Fulfilment of Diploma Computer Engineering For
The Gujarat Technological University
Prepared By :
Guided By
Mr Pradip R. Gangoda
GUJARAT TECHNOLOGICAL UNIVERSITY
CERTIFICATE
This is to certify that Miss. Patel Snehal S. from
Government Polytechnic Waghai, Dang of Computer Department
having Enrolment No. : 156160307050 has successfully submitted
fully project report having titled
for the fulfilment 6th semester.
In a Group consisting of three students under the
guidance of following faculty guides.
GUIDED BY H.O.D
EXAMINER SIGN
GUJARAT TECHNOLOGICAL UNIVERSITY
CERTIFICATE
This is to certify that Miss. Patel Krupa s. from Government
Polytechnic Waghai, Dang of Computer Department having
Enrolment No. : 156160307036 has successfully submitted fully
project report having titled for
th
the fulfilment of 6 semester.
In a Group consisting of three students under the
guidance of following faculty guides.
GUIDED BY H.O.D
EXAMINER SIGN
ACKNOWLEDGEMENT
We are grateful to our guide MR. PRADIP GANGODA for giving valuable guidance
and encouragement for completing our project. Their interest, proper direction and
constant inspiration during our work enabled us to complete the project.
and my
friend of Government Polytechnic Waghai for the valuable suggestion.
Their enthusiasm and unending encouragement gives us a treat strength and confidence to
make our project better.
INDEX
Page
NO. Subject
No.
Chapter:1
1. Introduction
1.1: Project Summary
1. 1
1.2: Purpose
1.3: Scope
1.4: Objective
1.5: Technology Review
Chapter:2
2. Project Management
2.1: Project Planning
2.2 Time line chart
2.3: Project Development Approach and Justification
2.4: Feasibility Study
2. 2.4.1: Technical feasibility 3
2.4.2: Economical feasibility
2.4.3: Operational feasibility
2.4.3.1: Security:
2.4.3.2: Time saving:
2.4.3.3: Easy maintenance:
2.4.3.4: Easy modification
Chapter:3
3. System Analysis
3. 3.1: Problem and Weaknesses of Current System 5
3.2: Hardware and Software Requirements (Minimum requirements)
3.3: Features of New System
Chapter:4
4.1: Data Modelling
4.1.1:Admin
4.2.2:Patient Details
4.3.3:Outpatient
4.4.4:Inpatient 6
4. 4.5.5:Staff detail
4.6.6:Billing detail
4.7.7:Ward detail
4.2: Data Dictionary
4.3: E-R Diagram
4.4: Use Case Diagram
4.5: DFD Diagram
Chapter:5
5 : Implementation
5. 5.1 : Screenshots 14
5.2 : Sample Code
6. Chapter:6 21
6.1: Conclusion
Introduction Hospital Management System
CHAPTER 1
1. Introduction
1.1: Project summary
The Hospital is an Institute which provides to people best health services.
That Provides Facility for hospitalization.
The patient is admitted in hospital with the exception that he or she will be in the
hospital for more Than 24 hours.
The Patient is assigned a room /bed.
The Hospital Provide Medical care.
1.2: Purpose
This Purpose of the project is to maintain the hospital manage and provide doctor,
laboratory and medical store.
The main purpose is to full fill the requirements of the hospital management system.
1.3: Scope
It can be used in any Hospital, Clinic, Dispensary or Pathology labs for Maintaining
Patient Detail and Their test Results.
1.4: Objective
Define Hospital.
Recording information about the patients.
Bill generating.
Recording information related to diagnosis given to patients.
Keeping record of the immunization provided to patients /children.
CHAPTER 2
2. Project Management
2.1: Project Planning
This project is used mainly stored patient details , doctor details and staff details.
The hospital management system is information of a patient medicine , ward and
laboratory report.
Keeps records of a daily patient.
The main goal of the application is to maintain the record of daily all patient, all doctor
and all staff.
It provide easily learn and understand and supports for MySQl database it can be
embedded easily in other scripts like java script, html.
Task Name 1 2 3 4 5 6 7 8 9 10 11 12
Requirement
Gathering
Feasibility
Study
System
Analysis
Diagram
Data
Dictionary
Design
CHAPTER 3
3. System Analysis
3.1 : Problem and Weaknesses of current System
Lack of immediate retrievals:
The information is very difficult to retrieve and to find particular information like- E.g.
-
This results in inconvenience and wastage of time.
Lack of immediate information storage:
The information generated by various transactions takes time and efforts to be stored at
right place.
Lack of prompt updating:
Various changes to information like patient details or immunization details of child are
difficult to make as paper work is involved.
Error prone manual calculation:
Manual calculations are error prone and take a lot of time this may result in incorrect
information. For example calcul
Preparation of accurate and prompt reports:
This becomes a difficult task as information is difficult to collect from various registers.
CHAPTER 4
4. : Data Modeling
4.1 : Admin
This module records basic patient related information, which is collected when the patient
visits the hospital for the first time. Each patient is allocated unique patient identification
numbers also known as Hospital No.
4.2 : Patient Details
It keeps track of all details about both in-patient and out- patient , Patient id, patient
name, address, admitted date, doctor name, room no are entered in a form and stored for
future reference. Also particular patient details can be viewed in the table using a separate
form with a attribute patient id.
4.3 : Outpatient
This module manages activities related to patient who visits the Hospital Resident Doctor
or Consultant Doctor for Medical Consultations, diagnosis and treatment.
4.4: Inpatient
Admission request will be made here. Request for admission is made before patient
admitting the hospital.
4.5: Staff Details
It keeps track of all details about doctors and staffs of the hospital. staffs, Doctors, Nurses
name, staff id, address, qualification, cell no, e-mail are entered and stored in a separate
form. Individual staff details can be viewed in the table using a separate form with a
attribute Staff id.
4.6 : Billing Details
This module bills the both inpatient and outpatient who comes to hospital.
4.7 : Ward Detail
This module enters and stores the details about each ward of the hospital for future
reference. Individual ward detail can be viewed in the table using ward id .The attributes
used in storing a ward detail is ward id, ward name , floor no, no of rooms.
4.2.3:Patient Registration
Patient Details
Name Type Size Description
ID(Primary key) Varchar() ID of the Patient
Address Varchar() 30 Address of the
Patient
Phone No. Integer 10 Contact no. of the
patient
Gender Varchar() 10 Gender of the patient
4.2.4: Outpatient
Outpatient Details
Name Type Size Description
ID(primary key) Varchar() ID of the outpatient
Address Varchar() 30 Address of outpatient
Phone no. Integer 10 Contact no. of outpatient
Gender Varchar() 10 Gender of outpatient
Discharge/Un Varchar() 10 Discharge or unDischarge of
discharge outpatient
Bill Generation Integer 100 cash
4.2.5: In Patient
In Patient Details
Name Type Size Description
ID(Primary key) Vachar() ID of the inpatient
Address Varchar() 30 Address of the
inpatient
Phone no. Integer 10 Contact of the
inpatient
Gender Varchar() 10 Gender of the
inpatient
Room Detail Varchar() 30 Genral or Private
room
Discharge/Un Varchar() 10 Discharge or
Discharge undischarge of
inpatient
Bill Generation Integer 100 cash
4.2.7:Bill Detail
Bill Details
Name Type Size Description
ID (primary key) Varchar() ID of patient
bill Varchar()
Address Varchar() 30
Phone no. Integer 10
Gender Varchar() 10
Bill Count Integer 100
4.3 : ER Diagram
Zero Level:
First Level:
CHAPTER : 5
5.1. Screenshots
1.Log in page
1.connection.php
<?php
session_start();
error_reporting(1);
if(!mysql_connect("localhost","root",""))
{
echo "<tr><td><font color=red size=4>Connection
Error</font></td></tr>";
die();
}
mysql_connect("localhost","root","");
mysql_select_db("hospital");
?>
2.login.php
<?php
session_start();
?><?php
$username=$_POST['username'];
$password=$_POST['password'];
$con=@mysql_connect("localhost","root","") or die(mysql_error());
$db=@mysql_select_db("hms",$con)or die(mysql_error());
$sql="SELECT * FROM users WHERE username='$username' and
password='$password'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count<1){echo "Wrong Username or Password";}
else
{
$_SESSION[user]=$username;
header("location:home.html");
}
ob_end_flush();
?>
CHAPTER 6
6.1 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 also provides staff ,doctor and patient details and billing facility on the basis of
indoor or outdoor patient.
The system also provides the facility of backup as per the requirement.