Sie sind auf Seite 1von 30

Hospital management system 2018

CHAPTER

INTRODUCTION

1.1 INTRODUCTION TO HOSPITAL MANAGEMENT SYSTEM:

The project of Hospital Management System include the registration of patients and the doctor.
The management of hospital concerned with the increasing effort in keeping the record of
patient and recording their activities.

The software has the facility to give a unique id to the every patient and every doctor and store
the detail of the patients and doctors in the system. The user can search the availability of the
doctor and detail of the patient by using the particular id. The hospital management system can
be entered using the user name and the password. It is accessible either administrators or
receptionist. Only they can add the data with the database. The data can be retrieved easily. The
interface is user friendly. The data are well protected for personal use and makes the data
processing very fast.

Hospital management system is powerful, flexible, easy to use and is designed and developed to
deliver real conceivable benefits to hospitals.
Hospital Management System is designed for multispeciality hospitals, to cover a wide range of
hospital administration and management process. It is an integrated end-to-end hospital
management system and provides relevant information across the hospital to support effective
decision making for patient care, hospital administration and critical financial accounting, in a
seamless flow.

Hospital Management System is a software product suite designed to improve quality and
management of hospital management in the areas of clinical process analysis and activity –based
costing. Hospital management system enables you to develop your organization and improve its
effectiveness and quality of work. Managing the key processes efficiently in critical to the
1
Hospital management system 2018

success of the hospital helps you manage your processes.

1.2 PROBLEM DEFINITION:

 Lack of immediate retrievals:-

The information is very difficult to retrieve and to find particular like example- To
find out about the patient’s history, the user has to through various registers. This results
in convenience and wasting of time.

 Lack of immediate information storage:-

The information generated by various transaction takes and efforts to be


stored at right place
.
 Lack of prompt updating:-

Various changes to information like patient’s details are difficult to make as


paper work is involved.

 Error prone manual calculations:-

Manual calculations are error prone and take a lot of time this may result in incorrect
information.

 Preparation of accurate and prompt reports:-

This becomes a difficult task as information is difficult to collect from various


register.

2
Hospital management system 2018

1.3 Objectives:

The project “Hospital Management System” is aimed to develop to maintain the day to day
state of admission/discharge of patients ,list of doctors and so on. It is design to achieve the
following objectives:

1. To computerize all details regarding patient details and hospital details.

2. Scheduling the appointment of patient with doctor to make it convenient for both.

3. The information of the patients should be kept up to date and their record should be kept in
the system for historical purposes.

3
Hospital management system 2018

CHAPTER 2

REQUIREMENT SPECIFICATION

2.1 INTRODUCTION:
To be used efficiently, all applications needs certain hardware components
or the other software resources to be present on a computer. These pre-requisites are known
as(computer) system requirements and are often used as a guideline as opposed to an absolute
rule. Most software defines two set of system requirements: minimum and recommended.
Industry analysts suggest that this trend place a bigger part in driving upgrades to existing
computer systems than technological advancements.

2.2 HARDWARE REQUIREMENTS:


The most common set of requirements defined by any
operating system or software application is the physical computer resources, also known as
hardware. A hardware requirements list is often accompanied by hardware compatibility
list(HCL), especially in case of operating systems. HCL lists tested, compatibility and
sometimes incompatible hardware devices for a particular operating system or application. The
following – sections discuss the areas aspects of hardware requirements.

HARDWARE REQUIREMENTS FOR PRESENT PROJECT

Processor: Intel Core Processor

RAM: 1GB or Above

Hard Disk: 60GB or Above

2.3 SOFTWARE REQUIREMENTS


Software requirements deals with defining software resources
4
Hospital management system 2018

requirements and pre-requisites that need to be installed on a computer to provide


optimal functioning of an application. This requirements or pre-requisites are
generally not included in the software installation package and need to be installed
separately before the software is installed.

SOFTWARE REQUIREMENTS FOR PRESENT PROJECT

Front End: HTML,PHP, JAVASCRIPT


Back End: My SQL Database
Operating System: Windows XP/7 or Higher

CHAPTER 3

5
Hospital management system 2018

SYSTEM ANALYSIS

3.1 EXISTING SYSTEM:


Hospital currently use a manual system for the management and maintainance of
critical information. The current system requires numerous paper forms, with data stores
spread through out the hospital management infrastructure. Often information is incomplete
or does not follow management standards. Forms are often lost in transit between
departments requiring a comprehensive auditing process to ensure that no vital information
is lost. Multiple copies of the same information exist in the hospital and may lead to
inconsistencies in data in a various data stores.

3.2 PROPOSED SYSTEM:


The Hospital Management System is designed for any hospital to replace their
existing manual paper based system. The new system is to control the information of
patients. Room availability, staff and operating room schedules and patient invoices. These
services are to be provided in an efficient, cost effective manner, with the goal of reducing
the time and resources currently required for such tasks.

3.3 SOFTWARE SPECIFICATION:


HTML
HTML or Hypertext Markup Language is the standard markup language used to create
web pages.
HTML is written in the form of HTML elements consisting of tags enclosed in angle
Brackets (like <html>). HTML tags most commonly come in pairs like <h1> and </h1>,
although some tags represent empty elements and so are unpaired, for example <img>. The first
tag in a pair is the start tag , and the second tag is the end tag (they are also called opening tags
and closing tags). Though not always necessary, it is best practice to append a slash to tags
which are not paired with a closing tag.

The purpose of a web browser is to read HTML documents and compose them into visible or

6
Hospital management system 2018

audible web pages. The browser does not display the HTML tags, but uses the tags to interpret
the content of the page. HTML describes the structure of a website semantically along with cues
for presentation, making it a markup language rather than a programming language.

HTML elements form the building blocks of all websites. HTML allows images and objects to
be embedded and can be used to create interactive forms. It provides a means to create
structured documents by denoting structural semantics for text such as headings, paragraphs,
lists, links, quotes and other items. It can embed scripts written in languages such as JavaScript
which affect the behavior of HTML web pages.

JAVASCRIPT:
JavaScript is the scripting language of the Web. All modern HTML pages are using Java Script.
A scripting language is a lightweight programming language. JavaScript code can be inserted
into any HTML page, and it can be executed by all types of web browsers. JavaScript is easy to
learn.

WHY TO USE JAVASCRIPT:

JavaScript is one of the 3 languages all web developers must learn:


1.HTML to define the content of web pages
2.CSS to specify the layout of web pages
3.JavaScript to specify the behavior of web pages
Example
x = document. getElementById ("demo"); // Find the HTML element with id="demo"
x.innerHTML = "Hello JavaScript"; // Change the content of the HTML element
document.getElementById() is one of the most commonly used HTML DOM methods.

OTHER USES OF JAVASCRIPT:


 Delete HTML elements
 Create new HTML elements
 Copy HTML elements

7
Hospital management system 2018

 In HTML, JavaScript is a sequence of statements that can be executed by the web


browser.

CASCADING STYLE SHEETS(CSS):

It is a style language used for describing the look and formatting of a document written in a
markup language. While most often used to style web pages and interfaces written in HTML and
XHTML. The language can be applied to any kind of XML document, including plain
XML,SVG and XUL.CSS is a cornerstone specification of the web and almost all web pages use
CSS style sheets to describe their presentation.
CSS is designed primarily to enable the separation of document presentation, including
elements such as the layout, colors, and fonts. This separation can improve content accessibility,
provide more flexibility and control in the specification of presentation characteristics, enable
multiple pages to share formatting, and reduce complexity and repetition in the structural
content.
CSS can also allow the same markup page to be presented in different styles for different
rendering methods, such as on-screen, in print, by voice(when read out by a speech-based
browser or screen reader) and on Braille-based, tactile devices. It can also used to allow the web
page to display differently depending on the screen size or device on which it is being viewed.
While the author of a document typically links that document to a CSS file, reader can use a
different style sheet, perhaps one on their own computer, to override the one the author has
specified. However if the author or the reader did not link the document to a specific style sheet
the default style of the browser will be applied.

My SQL:

 My SQL is developed, distributed, and supported by Oracle Corporation. My SQL is a


Database system used on the web it runs on a server. My SQL is ideal for both small and large
applications. It is very fast, reliable, and easy to use. It supports standard SQL. My SQL can be
compiled on a number of platforms.

8
Hospital management system 2018

The data in My SQL is stored in tables. A table is a collection of related data, and it
consists of columns and rows. Databases are useful when storing information categorically.

FEATURES OF My SQL:

 Internals and portability:


 Written in C and C++.
 Tested with a broad range of different compilers.
 Works on many different platforms
 Tested with purify (a commercial memory leakage detector ) as well as Val grind, a GPL
tool.
 Uses multi-layered server design with independent modules.

WHY TO USE My SQL:

 Leading open source RDBMS


 Ease of use- No frill
 Fast
 Robust
 Security
 Multiple OS support
 Free
 Technical support
 Support large database – up to 50 million rows, file size limit up to 8 Million TB

PHP

WHAT IS PHP?

 PHP is an acronym for "PHP Hypertext Preprocessor"

9
Hospital management system 2018

 PHP is a widely-used, open source scripting language


 PHP scripts are executed on the server
 PHP costs nothing, it is free to download and use

WHAT IS PHP FILE?

 PHP files can contain text, HTML, CSS, JavaScript, and PHP code
 PHP code are executed on the server, and the result is returned to the browser as plain
HTML.
 PHP files have extension "php.

WHAT CAN PHP DO?

 PHP can generate dynamic page content


 PHP can create, open, read, write, delete, and close files on the server
 PHP can collect form data
 PHP can send and receive cookies
 PHP can add, delete, modify data in your database
 PHP can restrict users to access some pages on your website
 PHP can encrypt data

With PHP you are not limited to output HTML. You can output images, PDF files,
and even Flash movies. You can also output any text, such as XHTML and XML.

WHY PHP?

 PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)


 PHP is compatible with almost all servers used today (Apache, IIS, etc.)
 PHP supports a wide range of databases
 PHP is free. Download it from the official PHP resource: www.php.net

10
Hospital management system 2018

CHAPTER 4

11
Hospital management system 2018

SYSTEM DESIGN

4.1 DATAFLOW DIAGRAMS:

The data flow diagram is a graphical representation of the flow of the data through an
information system. Data flow diagram are used by system analysis to design information
processing system but also as a way to model whole organization. The main merit of DFD is that
it can provide an overview of what data a system would process, what information of data are
done, which data are stored and which data is used and where the result is flowed.

Symbols Description
Process This entity describe the process. A process
Shows the transformation of the data flows within the system.

External entity This is a external entity.

Data flows This is data flow entity. A data flow shows flow of information
Source to destination.

Data base This is data base entity.

DFD FOR LOGIN OF USER


User

Database

12
Hospital management system 2018

Authenticate User &

Read User Id &


Password
Output

Login
ZERO LEVEL DFD

Doctor
Patient
managem
manageme
ent
nt

HOSPITAL
MANAGEMENT Appointme
SYSTEM nts

Admin doctor
Login specializa
This is the zero level DFD of hospital management system, where we tion
management have eloborated the high
level process of Hospital. It’s a basic overview of the whole Hospital management system or
process being analyzed or modeled.
 Managing all the doctors
 Managing all the patients
 Appointments

13
Hospital management system 2018

 Admin
 Login management
 Doctor specialization

4.2 ER DIAGRAM:

4.3 TABLE
DESIGN:

ADMIN
TABLE

14
Hospital management system 2018

APPOINTMENT TABLE:

DOCTOR TABLE

15
Hospital management system 2018

DOCTORLOG TABLE:

DOCTOR SPECIALIZATION TABLE:

USERLOG TABLE:

16
Hospital management system 2018

USERS (PATIENT) TABLE:

CHAPTER 5

SYSTEM IMPLEMENTATION

5.1 MODULE DESCRIPTION:


5.1.1 Screenshot of home page:

17
Hospital management system 2018

5.2 SOURCE CODE:


Code for Dashboard
<?php
session_start();
//error_reporting(0);
include('include/config.php');
include('include/checklogin.php');
check_login();

?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>User | Dashboard</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-

18
Hospital management system 2018

scalable=0, minimum-scale=1.0, maximum-scale=1.0">


<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="" name="description" />
<meta content="" name="author" />
<link href="http://fonts.googleapis.com/css?
family=Lato:300,400,400italic,600,700|Raleway:300,400,500,600,700|Crete+Round:400italic"
rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="vendor/fontawesome/css/font-awesome.min.css">
<link rel="stylesheet" href="vendor/themify-icons/themify-icons.min.css">
<link href="vendor/animate.css/animate.min.css" rel="stylesheet"
media="screen">
<link href="vendor/perfect-scrollbar/perfect-scrollbar.min.css" rel="stylesheet"
media="screen">
<link href="vendor/switchery/switchery.min.css" rel="stylesheet"
media="screen">
<link href="vendor/bootstrap-touchspin/jquery.bootstrap-touchspin.min.css"
rel="stylesheet" media="screen">
<link href="vendor/select2/select2.min.css" rel="stylesheet" media="screen">
<link href="vendor/bootstrap-datepicker/bootstrap-
datepicker3.standalone.min.css" rel="stylesheet" media="screen">
<link href="vendor/bootstrap-timepicker/bootstrap-timepicker.min.css"
rel="stylesheet" media="screen">
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="stylesheet" href="assets/css/plugins.css">
<link rel="stylesheet" href="assets/css/themes/theme-1.css" id="skin_color" />

</head>
<body>

19
Hospital management system 2018

<div id="app">
<?php include('include/sidebar.php');?>
<div class="app-content">

<?php include('include/header.php');?>

<!-- end: TOP NAVBAR -->


<div class="main-content" >
<div class="wrap-content container" id="container">
<!-- start: PAGE TITLE -->
<section id="page-title">
<div class="row">
<div class="col-sm-8">
<h1 class="mainTitle">User |
Dashboard</h1>

</div>
<ol class="breadcrumb">
<li>
<span>User</span>
</li>
<li class="active">

<span>Dashboard</span>
</li>
</ol>
</div>
</section>
<!-- end: PAGE TITLE -->
<!-- start: BASIC EXAMPLE -->
<div class="container-fluid container-fullw

20
Hospital management system 2018

bg-white">
<div class="row">
<div class="col-sm-4">
<div class="panel panel-
white no-radius text-center">
<div class="panel-
body">
<span
class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x text-primary"></i> <i class="fa fa-
smile-o fa-stack-1x fa-inverse"></i> </span>
<h2
class="StepTitle">My Profile</h2>

<p
class="links cl-effect-1">
<a
href="edit-profile.php">

Update Profile
</a>
</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="panel panel-
white no-radius text-center">
<div class="panel-
body">
<span
class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x text-primary"></i> <i class="fa fa-

21
Hospital management system 2018

paperclip fa-stack-1x fa-inverse"></i> </span>


<h2
class="StepTitle">My Appointments</h2>

<p class="cl-
effect-1">
<a
href="appointment-history.php">

View Appointment History


</a>
</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="panel panel-
white no-radius text-center">
<div class="panel-
body">
<span
class="fa-stack fa-2x"> <i class="fa fa-square fa-stack-2x text-primary"></i> <i class="fa fa-
terminal fa-stack-1x fa-inverse"></i> </span>
<h2
class="StepTitle"> Book My Appointment</h2>

<p
class="links cl-effect-1">
<a
href="book-appointment.php">

22
Hospital management system 2018

Book Appointment
</a>
</p>
</div>
</div>
</div>
</div>
</div>

<!-- end: SELECT BOXES -->

</div>
</div>
</div>
<!-- start: FOOTER -->
<?php include('include/footer.php');?>
<!-- end: FOOTER -->

<!-- start: SETTINGS -->


<?php include('include/setting.php');?>
<>
<!-- end: SETTINGS -->
</div>
<!-- start: MAIN JAVASCRIPTS -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="vendor/modernizr/modernizr.js"></script>
<script src="vendor/jquery-cookie/jquery.cookie.js"></script>
<script src="vendor/perfect-scrollbar/perfect-scrollbar.min.js"></script>
<script src="vendor/switchery/switchery.min.js"></script>

23
Hospital management system 2018

<!-- end: MAIN JAVASCRIPTS -->


<!-- start: JAVASCRIPTS REQUIRED FOR THIS PAGE ONLY -->
<script src="vendor/maskedinput/jquery.maskedinput.min.js"></script>
<script src="vendor/bootstrap-touchspin/jquery.bootstrap-
touchspin.min.js"></script>
<script src="vendor/autosize/autosize.min.js"></script>
<script src="vendor/selectFx/classie.js"></script>
<script src="vendor/selectFx/selectFx.js"></script>
<script src="vendor/select2/select2.min.js"></script>
<script src="vendor/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="vendor/bootstrap-timepicker/bootstrap-timepicker.min.js"></script>
<!-- end: JAVASCRIPTS REQUIRED FOR THIS PAGE ONLY -->
<!-- start: CLIP-TWO JAVASCRIPTS -->
<script src="assets/js/main.js"></script>
<!-- start: JavaScript Event Handlers for this page -->
<script src="assets/js/form-elements.js"></script>
<script>
jQuery(document).ready(function() {
Main.init();
FormElements.init();
});
</script>
<!-- end: JavaScript Event Handlers for this page -->
<!-- end: CLIP-TWO JAVASCRIPTS -->
</body>
</html>

5.3 SCREENSHOTS:

ADMIN LOGIN:

24
Hospital management system 2018

ADD DOCTOR:

25
Hospital management system 2018

ADD DOCTOR SPECIALIZATION:

MANAGE DOCTORS:

26
Hospital management system 2018

MANAGE PATIENTS:

27
Hospital management system 2018

CHAPTER 6

SYSTEM TESTING

The purpose of testing is to discover errors. Testing is the process of trying to


discover every conceivable fault or weakness in a work product. It provides a way
to check the functionality of components, sub-assemblies, assemblies and/or a
finished product 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
fail in an unacceptable manner. There are various types of test. Each test type
addresses a specific testing requirement.
 Types of Testing
 Unit testing
 Integrated testing
 Functional testing

 Unit Testing
 Unit testing involves the design of test cases that validate that the internal
program logic is functioning properly, and that program inputs produce valid
outputs. All decision branches and internal code flow should be validated. It
is the testing of individual software units of the application .it is done after
the completion of an individual unit before integration. This is a structural
testing, that relies on knowledge of its construction and is invasive. Unit
tests perform basic tests at component level and test a specific business
process, application, and/or system configuration. Unit tests ensure that each

28
Hospital management system 2018

unique path of a business process


 Integration Testing
Integration tests are designed to test integrated software components to
determine if they actually run as one program. Testing is event driven and is more
concerned with the basic outcome of screens or fields. Integration tests
demonstrate that although the components were individually satisfaction, as shown
by successfully unit testing, the combination of components is correct and
consistent. Integration testing is specifically aimed at exposing the problems that
arise from the combination of components.
Software integration testing is the incremental integration testing of two or
more integrated software components on a single platform to produce failures
caused by interface defects.
The task of the integration test is to check that components or software
applications, e.g. components in a software system or – one step up – software
applications at the company level – interact without error.
 Acceptance Testing
User Acceptance Testing is a critical phase of any project and requires
significant participation by the end user. It also ensures that the system meets the
functional requirements.

29
Hospital management system 2018

CHAPTER 7

CONCLUSION, FUTURE ENHANCEMENT & REFERENCES

Conclusion
To conclude the description about the project. The project, developed
using PHP and My SQL is based on the requirement specification of the user and
the analysis of the existing System, for the future enhancement.

Future Enhancement
The scope of the system is the area which it covers with respect to its
functionality. the scope of the system includes its function and range. speedy and
efficient information processing is crucial to our society and highly developed
technology. this orders can be implemented as online application with all the
functions such as admitting patient in hospital, checking the availability od doctors,
updates and appearance of application can be changed periodically according to the
requirements of the changing trend.

References:
www.google .com
www.wikipedia.com
www.apache.org
www.mysql.com/click.php?e=35050

30

Das könnte Ihnen auch gefallen