0% found this document useful (0 votes)
144 views23 pages

Hospital Management System

The document describes a hospital management system project that aims to automate key processes like patient registration, billing, and record keeping. The current manual system is inefficient, time-consuming, and error-prone. The proposed software will assign unique IDs to patients, store their details electronically, and enable computerized billing and record searching. It will make the data entry and retrieval processes faster and more accurate. The system will be developed using the software development life cycle methodology, which includes planning, analysis, design, and other steps to analyze requirements and build the application.

Uploaded by

Khadiza Shakila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views23 pages

Hospital Management System

The document describes a hospital management system project that aims to automate key processes like patient registration, billing, and record keeping. The current manual system is inefficient, time-consuming, and error-prone. The proposed software will assign unique IDs to patients, store their details electronically, and enable computerized billing and record searching. It will make the data entry and retrieval processes faster and more accurate. The system will be developed using the software development life cycle methodology, which includes planning, analysis, design, and other steps to analyze requirements and build the application.

Uploaded by

Khadiza Shakila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

Experiment No: 04

Experiment Name: Hospital Management System.

Introduction:
The project Hospital Management system includes registration of patients, storing their details
into the system, and also computerized billing in the pharmacy, and labs. The software has the
facility to give a unique id for every patient and stores the details of every patient and the staff
automatically. It includes a search facility to know the current status of each room. User can
search availability of a doctor and the details of a patient using the id.

The Hospital Management System can be entered using a username and password. It is
accessible either by an administrator or receptionist. Only they can add data into the database.
The data can be retrieved easily. The interface is very user-friendly. The data are well protected
for personal use and makes the data processing very fast.

Hospital Management System is powerful, flexible, and 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 processes. It is an integrated end-to-end Hospital
Management System that 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 the 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 is critical to the
success of the hospital helps you manage your processes
Problem Introduction:

Lack of immediate retrievals: -

The information is very difficult to retrieve and to find particular information like- E.g. - To find
out about the patient’s history, the user has to go through various registers. This results in in
convenienceand 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 calculation of patient’s bill based on various treatments.

Preparation of accurate and prompt reports: -


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

Goals
1-User friendly
2-Simple fast
3-Low cost and effective
4-It deals with the collection of patient’s information
5- Diagnosis

Objective:-

1. Define hospital

2. Recording information about the Patients that come.

3. Generating bills.

4. Recording information related to diagnosis given to Patients.

5. Keeping record of the Immunization provided to children/patients.

6. Keeping information about various diseases and medicines available to cure them.

These are the various jobs that need to be done in a Hospital by the operational staff and Doctors.
All these works are done on papers
Scope of the Project:-

7. Information about Patients is done by just writing the Patients name, age and gender.
Whenever the Patient comes up his information is stored freshly.

8. Bills are generated by recording price for each facility provided to Patient on a separate sheet
and at last they all are summed up.

9. Diagnosis information to patients is generally recorded on the document, which contains


Patient information. It is destroyed after some time period to decrease the paper load in the office.

10. Immunization records of children are maintained in pre-formatted sheets, which are kept in a
file.

11. Information about various diseases is not kept as any document. Doctors themselves do this
job by remembering various medicines.

All this work is done manually by the receptionist and other operational staff and lot of

papers are needed to be handled and taken care of. Doctors have to remember various

medicines available for diagnosis and sometimes miss better alternatives as they can’t

remember them at that time.

Theory:
Software Development Life Cycle (SDLC) is a framework that describes the
activities performed at each stage of a software development project. The steps
given below describe implementation of proposed system:

Fig: System Development Life Cycle


Analysis:
EXISTING SYSTEM:

Hospitals 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
various data stores.

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 .

FEASIBILITY STUDY

The feasibility of the project is analysed in this phase and business proposal is put forth with a very general plan
for the project and some cost estimates. During system analysis the feasibility study of the proposed system is to
be carried out. This is to ensure that the proposed system is not a burden to the company. For feasibility
analysis, some understanding of the major requirements for the system is essential.

Three key considerations involved in the feasibility analysis are:

Economic Feasibility

This study is carried out to check the economic impact will have on the system will have on the organization.
The amount of fund that the company can pour into the research and development of the system is limited. The
expenditures must be justified. Thus the developed system as well within the budget and this was achieved
because most of the technologies used are freely available. Only the customised products have to be purchased.
Technical Feasibility

This study is carried out to check the technical feasibility, that is,the technical requirements of the system. Any system
developed must not have a high demand on the available available technical resources. This will lead to high demands
being placed on the client. The developed system must have a modest requirement, as only minimal or null changes for
the implementing this system.

Operational Feasibility

The aspect of study is to check the level of acceptance of the system by the user. This includes the process of training
the user to use the system efficiently. The user must not feel threatened by the system, instead must accept it as a
necessity. The level of acceptance by the users solely depends on the methods that are employed to educate the user
about the system and to make him familiar with it. His level of confidence must be raised so that he is also able to make
some constructive criticism, which is welcomed, as he is the final user of the system.

Planning & Requirements:


The project plan was prepared by the Project Manager to form the basic of the actual
project work plan. This formed the baseline against the project being tracked and
controlled. The plan defined a work breakdown structure to individual task level,
milestones and resource assignments required to complete the tasks.
Project Manager used MS Project to prepare the detailed project plan with milestones to facilitate
project tracking. The Project followed the traditional approach, which helped establish a systematic
approach to the solution.

Analysis:
Once the project was initiated, requirements gathering and analysis was the first phase in software
development life cycle and a process of reviewing business's processes to determine the business needs
and functional requirements that a system must meet. During this phase, requirements were analyzed to
identify the application flow, the business logic implementation, and their context and usage pattern.
The analysis process started with the study and analysis of the current application.
Design:

Fig: E-R diagram of hospital management system.


Use case diagram of our project:
Class Diagram:
A Class is a category or group of things that has similar attributes and common
behavior. A Rectangle is the icon that represents the class it is divided into three areas.
The upper most area contains the name, the middle; area contains the attributes and the
lowest areas show the operations. Class diagrams provides the representation that
developers work from. Class diagrams help on the analysis side, too.
Sequence diagram:
A Sequence Diagram is an interaction diagram that emphasis the time ordering of
messages; a collaboration diagram is an interaction diagram that emphasizes the
structural organization of the objects that send and receive messages. Sequence
diagrams and collaboration diagrams are isomorphic, meaning that you can take one and
transform it into the other.
Activity diagram:
A Activity diagram is another important behavioral diagram in UML diagram to
describe dynamic aspects of the system. Activity diagram is essentially an advanced
version of flow chart that modeling the flow from one activity to another activity.

Deployement diagram:
A Deployment Diagram shows the configuration of run-time processing nodes and the
components that live on them. Deployment diagrams address the static deployment view
of architecture. They are related to component diagrams in that a node typically encloses
one or more components.

desktop Client
Printer

Hospital Local Server

Database Server
Implementation:
Requirement: Microsoft Visual Studio 2008, Microsoft SQL Server 2005, Resharper,
Computer etc.
Procedure :
Step-1 :

7. First install three software into our computer. Basically we design our application & write
its corresponding code using Microsoft Visual Studio 2008 and Microsoft SQL Server 2005
is used to create database and connect the database and application program.
8. Open Microsoft Visual Studio 2008
9. Click project then open new project. Select Windows Form Application then write
project Name, Location, Solution Name.Then press OK button & open new page.
10. In this new page from the left most side there is a Toolbox. In the Toolbox there are all
necessary components by which we deign an application such as Textbox, label, button etc.
And from the right most side there are Properties, in where we can change its color, name of
button, icon, name of application box etc. Now we will create Hospital Management System.
First, we take Textbox, label from Toolbox in the Form1.
11. Then we rename the Labels from Properties to Text. By clicking on Textbox, we can also
change Properties to Name.
12. Then, we take two Button to Apply and Search data information.

Hospital Management System

12. Then, we take DataGridView from ToolBox.



8. Then click right-top Arrow Add Columns to add column in grid view.


9. Then, rename Header Text Add.

10. Finally we get this view of Hospital Management System:

Hospital Management System

Step-2 :
1. Now click on SQL server 2005

2. As following fig. we click Databases New Database to create new database.

3. Then rename Database Name -> OK

4. To create new table in database, we click


→ →
HospitalSystemDB(Database name) Tables New
Table
5. Then insert Column Name in table.
6. Then save the table and rename it.
7. Finally we get the Table of Hospital Management System, like this

Step-3 :

1. Now, we type the insertion and display code by clicking on Insert Button and Display Button to connect
Microsoft Visual Studio 2008 and Microsoft SQL Server 2005 and to insert data in Microsoft SQL Server
2005 & display it in Grid View. Then run the code and insert data on TextBox and the output is:

2. By clicking on Display Button, we get the following output:


Source Code :

Home.html:
<!DOCTYPE html>
<html>
<body>
<table width="1350" height="640" border="1" >
<tr>
<td colspan="2" style="background-color:#FFF5EE;">
<h1>HOSPITAL MANAGEMENT SYSTEM</h1>
<h3 align="center">ADMIN PANEL</h3> </td>

</tr>
<tr>
<td style="background-
color:#00FFFF;width:50px;height:400px;"> <table align="center">
<tr><td><form action="doctor.php" align="center">
<input type="submit" align="center" value=" doctor ">
</form></td>
</tr>

<tr>
<td><form action="nurse.php" align="center">
<input type="submit" align="center" value=" nurse ">
</form></td>
</tr>

<tr>
<td><form action="patient.php" align="center">
<input type="submit" align="center" value=" patient ">
</form></td>
</tr>

<tr>
<td><form action="pharmacist.php" align="center">
<input type="submit" align="center" value=" pharamacist ">
</form></td>
</tr>

<tr>
<td><form action="laboratorist.php" align="center">
<input type="submit" align="center" value=" laboratorist ">
</form></td><tr>
<td><form action="accountant.php" align="center">
<input type="submit" align="center" value=" accountant ">
</form></td>
</tr>
</table>
</td>
<td style="background-color:#eeeeee;height:200px;width:400px;height:400px;"><h3
align="center">Advanced, powerfull, flexible complete management software for hospital, clinic
and medical institutes. Integrates and facilitates all user area of a hospital:
</h3><h4>align="center">Administrator</h4>
<h4 align="center">Doctor</h4>
<h4 align="center">Patient</h4>
<h4 align="center">Nurse</h4>
<h4 align="center">Pharmacist</h4>
<h4 align="center">Laboratorist</h4>
<h4 align="center">Accountant</h4>
</td>
</tr>
<tr>
<td colspan="2" style="background-color:#9ACD32;text-align:center;">
<table align="right">
<th>
<tr>
<form action="appointment.php" align="center">
<input type="submit" align="center" value=" appointment ">
</form>
</tr>
<tr>
<form action="payment.php" align="center">
<input type="submit" align="center" value=" payment ">
</form>
</tr>
<tr>
<form action="bloodbank.php" align="center">
<input type="submit" align="center" value=" bloodbank ">
</form>
</tr>
<tr>
<form action="medicine.php" align="center">
<input type="submit" align="center" value=" medicine ">
</form>
</tr>
<tr>
<form action="operations.php" align="center">
<input type="submit" align="center" value=" operations ">
</form>
</tr>
<tr>
<form action="birthreport.php" align="center">
<input type="submit" align="center" value=" birthreport ">
</form>
</tr>
<tr>
<form action="deathreport.php" align="center">
<input type="submit" align="center" value=" deathreport ">
</form>
</tr>
<tr>
<form action="bedallotment.php" align="center">
<input type="submit" align="center" value=" bedallotment ">
</form>
</tr>
</th>
</table>
</td>
</tr></table></body></html>

Doctor.PHP
<!DOCTYPE html>
<html>
<body>
<table width="1350" height="640" border="1" >
<tr>
<td colspan="2" style="background-color:#FFF5EE;">
<h1>HOSPITAL MANAGEMENT SYSTEM</h1>
<h3 align="center">ADMIN PANEL</h3> </td>

</tr>
<tr>
<td style="background-color:#00FFFF;width:50px;height:400px;">
<table align="center">
<tr>
<td><form action="nurse.php" align="center">
<input type="submit" align="center" value=" nurse ">
</form></td>
</tr>
<tr>
<td><form action="patient.php" align="center">
<input type="submit" align="center" value=" patient ">
</form></td>
</tr>
<tr>
<td><form action="pharmacist.php" align="center">
<input type="submit" align="center" value=" pharamacist ">
</form></td>
</tr>
<tr>
<td><form action="laboratorist.php" align="center">
<input type="submit" align="center" value=" laboratorist ">
</form></td>
<tr>
<td><form action="accountant.php" align="center">
<input type="submit" align="center" value=" accountant ">
</form></td>
</tr>
</table>
</td>
<td style="background-
color:#eeeeee;height:200px;width:400px;height:400px;"> <?php
$host='localhost';
$username='root';
$password='';
$dbname='hospital';
$con=mysql_connect($host,$username,$password);
mysql_select_db($dbname);
$result = mysql_query("SELECT * FROM doctor");
echo "<h4 align='center'> doctors list </h4>";
echo "<table border=1
align=center><tr><th>s.no</th><th>name</th><th>d_id</th><th>qualification</th><th>speciali
ty</th><th>age</th></tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['s_no'] . "</td>";
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['d_id'] . "</td>";
echo "<td>" . $row['qualification'] . "</td>";
echo "<td>" . $row['speciality'] . "</td>";
echo "<td>" . $row['age'] . "</td>";
echo "</tr>";

echo "</table>";
mysql_close($con);
?>
<br><br>
<table align="right">
<th>
<tr>
<form action="adddoctor.php" align="center">
<input type="submit" align="center" value=" add new doctor ">
</form>
</tr>
<tr>
<form action="deletedoctor.php" align="center">
<input type="submit" align="center" value=" delete doctor ">
</form></tr>
<tr>
<form action="viewcompletedoctor.php" align="center">
<input type="submit" align="center" value=" viewcomplete ">
</form>
</tr>
<tr>
<form action="admin.html" align="center">
<input type="submit" align="center" value=" home ">
</form>
</tr></table>
</td>
</tr><tr>
<td colspan="2" style="background-color:#9ACD32;text-align:center;">
<table align="right">
<th>
<tr><form action="appointment.php" align="center"> <input
type="submit" align="center" value=" appointment ">
</form>
</tr><tr><form action="payment.php" align="center">
<input type="submit" align="center" value=" payment ">
</form>
</tr><tr><form action="bloodbank.php" align="center">
<input type="submit" align="center" value=" bloodbank ">
</form>
</tr><tr>
<form action="medicine.php" align="center">
<input type="submit" align="center" value=" medicine
"> </form>
</tr><tr><form action="operations.php" align="center">
<input type="submit" align="center" value=" operations ">
</form>
</tr><tr>
<form action="birthreport.php" align="center">
<input type="submit" align="center" value=" birthreport ">
</form>
</tr><tr><form action="deathreport.php" align="center">
<input type="submit" align="center" value=" deathreport ">
</form>
</tr><tr><form action="bedallotment.php" align="center">
<input type="submit" align="center" value=" bedallotment
"> </form>
</tr></th> </table>
</td></tr></table>
</body>
</html>

Appointment.php
<!DOCTYPE html>
<html>
<body>
<table width="1350" height="640" border="1" ><tr>
<td colspan="2" style="background-color:#FFF5EE;">
<h1>HOSPITAL MANAGEMENT SYSTEM</h1>
<h3 align="center">DOCTOR PANEL</h3> </td>

</tr>
<tr>
<td style="background-color:#00FFFF;width:50px;height:400px;">
<table align="center">
<tr> <td><form action="docappointment.php" align="center">
<input type="submit" align="center" value=" Appointment ">
</form> </td></tr>
<tr> <td><form action="docperscription.php" align="center">
<input type="submit" align="center" value=" perscription ">
</form> </td> </tr>
<tr> <td> <form action="docoperation.php" align="center">
<input type="submit" align="center" value=" Operation ">
</form> </td></tr>
<tr> <td><form action="docmedicines.php.php" align="center">
<input type="submit" align="center" value=" Add Medicines
"> </form></td></tr>
<tr> <td> <form action="doctests.php" align="center">
<input type="submit" align="center" value=" Add Tests ">
</form></td>
</table>
</td>
<td style="background-
color:#eeeeee;height:200px;width:400px;height:400px;"> <h2 align="center">
Appointments </h2> <?php
$host='localhost';
$username='root';
$password='';
$dbname='hospital';
$con=mysql_connect($host,$username,$password);
mysql_select_db($dbname);
$result = mysql_query("SELECT * FROM appointment WHERE d_id='$a'");
echo "<table border=1 align=center> <tr> <th>s.no</th> <th>pid</th> <th>name</th>
<th>problem</th> <th>date</th> <th>time</th> <th>status</th> <th> update</th> </tr>";

while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['s_no'] . "</td>";
echo "<td>" . $row['p_id'] . "</td>";
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['problem'] . "</td>";
echo "<td>" . $row['date_of_app'] . "</td>";
echo "<td>" . $row['time_of_app'] . "</td>";
echo "<td>" . $row['status'] . "</td>";
echo "<td>" ;?> <form action="updateappointment.php" align="center" method="POST">
<input type="hidden" name="sno" value=" <?php echo $row['s_no']; ?> ">
<input type="hidden" name="pid" value=' <?php echo $row['p_id']; ?>
'> <input type="submit" align="center" value=" update "> </form>
<?php echo "<td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?>
<br><br>
<table align="center">
<tr>
<td><form action="allappointment.php" align="center">
<input type="submit" align="center" value=" all Appointment ">
</form> </td>
<td><form action="pendingappointment.php" align="center">
<input type="submit" align="center" value=" pending Appointment ">
</form> </td>
<td> <form action="upcomingappointment.php" align="center">
<input type="submit" align="center" value=" upcoming appointment ">
</form> </td>
<td><form action="completedappointment.php" align="center">
<input type="submit" align="center" value=" completed Appointment ">
</form></td></table>
</td></tr>
<tr>
<td colspan="2" style="background-color:#9ACD32;text-align:center;">
<table align="center"> <tr> <td> Doctor name </td> <td> </td> <td> Doctor id </td> <td>
</td> </tr> </table>
</td></tr>
</table></body></html>

By following the above instructions, we can create a Hospital Management System and run it successfully.

Maintenance:

1. A customer/user support structure and any other necessary operational support processes should be in
place.

2. Any planned changes to the system or software should be scheduled, communicated, and documented.

3. Continuous security penetration testing is conducted on the system or software throughout its
life cycle at regularly scheduled intervals.

4. Mandatory security testing is conducted when any major configuration or architecture change is made.

You might also like