Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Hosptalmanagementsystem 200902070112

Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

Prepared By :

Patel Snehal S. (156160307050)

Patel Krupa S. (156160307036)


GUJARAT TECHNOLOGICAL UNIVERSITY

DEPARTMENT OF COMPUTER ENGINEERING


Submitted To

Government Polytechnic Waghai Dang


[Year 2017-2018]
A Project Report On

Hospital
For The fully Fulfilment of Diploma Computer Engineering For
The Gujarat Technological University

Prepared By :

Patel Snehal S. (156160307050)

Patel Krupa S. (156160307036)

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

MR. PRADIP R. GANGODA MR J.R.MAHIDA

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

MR. PRADIP R. GANGODA MR J.R.MAHIDA

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.

Record of inpatient and outpatient.


Patient available to facility is below :
Medicine
Ward
Nurse care
Laboratory

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.

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 1


Introduction Hospital Management System

1.5: Technology Review


1.5.1: Frontend Review
PHP

1.5.2: Backend Review


MY SQL

1.5.3: Other Technology


HTML 5
CSS
JAVA Script

1.5.4: About PHP


Php stands for hypertext pre-processer. Php is programming language which
provides a facility to develop dynamic web application. Php is server side scripting
language.
Php is easy to learn and easy to understand . Php support for MySQL database and it can
be embedded easily in other scripts like java script, html.
A php script always start with <? Php and end with?>.php is a loosely typed language.
1.5.6 : About MYSQL
MySQL is a database.The data is MySQL is stored in tables.a table is collection of related
data entries and it consist of columns and related rows.
Database are useful when stroing information.MySQL is a relational database.
We are using MySQL database to store all information about admin,patient,doctor etc.

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 2


project Management Hospital Management System

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.

2.2: Project Development approach and Justification

The Hospital Management System is so Designed as to easy the work load of


Hospital admin and all staff.
This project is easy to search of patient detail, staff detail and doctor details.
Maintaining the accounts of the doctor.
Alert message update of the records.
It maintain message of the inpatient and outpatient

2.3: Feasibility study


2.3.1: Technical Feasibility
Feasibility study is conducted once the problem is clearly understood.
Feasibility study is a high level capsule version of entire system analysis and design.
The feasibility study plays a major rule in the analysis of the system.

It provide easily learn and understand and supports for MySQl database it can be
embedded easily in other scripts like java script, html.

2.3.2 : Economical Feasibility


Economic justification includes a broad range of concerns that includes cost benefit
analysis. In this we weight the cost and the benefits associated with the candidate
system and if it suits the basic purpose of the organization i.e. profit making, the project
is making to the analysis and design phase.

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 3


project Management Hospital Management System

2.3.3 : Operational feasibility


2.3.3.1 : Security
The security is maintained very comfortably in computer. secretes are not disclosed off ,
as password protected in computer and so unauthorized person is not able to access any
data.

2.3.3.2 : Time saving


This computerized system is time saving to immediate inquiry, the operate or any person
has just click some get information in a few second.

2.3.3.3 : Easy maintenance


Its easy with computer to manage all data with and reduce paper work.

2.3.3.4 : Easy Modification


The modification or editing can be done very easy to clearly..

2.4:Time Line Chart

Task Name 1 2 3 4 5 6 7 8 9 10 11 12

Requirement
Gathering
Feasibility
Study
System
Analysis
Diagram

Data
Dictionary
Design

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 4


System Analysis Hospital Management System

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.

3.2 :Hardware and Software Requirements(minimum requirements of


run your system)
3.2.1 :Hardware Requirements
Processor : Pentium 4 processor
Memory : 1GB RAM
Display : 14
Hard disk Drive : 80 GB
3.2.2 : Software Requirements
Operating System :Windows XP professional
Environment: PHP
Database:MySQL
Server:Apache Tomcat 6.0
3 . 3 : Features of New System
Keep Record Of Patient & daily Patient.
Keeps Record of daily doctor detail & daily staff detail.
Record of billing details.

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 5


System Design Hospital Management System

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.

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 6


System Design Hospital Management System

4.2 : Data Dictionary


4.2.1 : Doctor Registration
Name doctor Details
Name Type Size Description
ID (Primary key) Varchar() ID of the doctor
Name Varchar() 20 Name of the Doctor
Address Varchar() 30 Address of the doctor
Phone number Integer 10 Contact no. of the doctor
Gender Varchar() 10 Gender of the doctor

4.2.2 : Room Detail


Name Room Detail
Name Type Size Description
Room no.(primary Integer ID of the room
key)
Room type Varchar() 50 Genral or private
room

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

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 7


System Design Hospital Management System

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

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 8


System Design Hospital Management System

4.2.6 : Staff Detail


Staff Details
Name Type Size Description
ID(primary key) Varchar() ID of the staff
Address Varchar() 30 Address of the staff
Phone no. Integer 10 Contact no. of the
staff
Gender Varchar() 10 Gender of the staff
Salary Integer Salary of the staff

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

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 9


System Design Hospital Management System

4.3 : ER Diagram

4.2 : Data Flow Diagram

Zero Level:

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 10


System Design Hospital Management System

First Level:

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 11


System Design Hospital Management System

4.5: Sequence Diagram

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 12


System Design Hospital Management System

4.6: Use Case Diagram

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 13


Implemention Hospital Management System

CHAPTER : 5
5.1. Screenshots
1.Log in page

2. Patient registration patient page

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 14


Implemention Hospital Management System

3. patient list page

4. Add doctor page

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 15


Implemention Hospital Management System

5. Doctor list page

6. Add new room page

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 16


Implemention Hospital Management System

7. Allocate room to patient page

8. Appointment create page

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 17


Implemention Hospital Management System

9. Appointment list page

10. Generate Bill page

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 18


Implemention Hospital Management System

11. Print of generate bill

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 19


Implemention Hospital Management System

5.2 : Sample code

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();
?>

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 20


conclusion Hospital Management System

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.

GOVERNMENT POLYTECHNIC WAGHAI - DANG Page 21

You might also like