Académique Documents
Professionnel Documents
Culture Documents
Student Name :
Register Number :
1
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
2
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
TRICHY -621105
BONAFIDE CERTIFICATE
This is to certify that this practical work titled CS1403 – Software Development
Laboratory is the bonafide work of ________________________________
Register Number ______________________ during the academic year 2011-2012.
3
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
ABSTRACT
storing their details into the system, and also computerized billing in the pharmacy,
and labs. Our 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
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
4
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
TABLE OF CONTENT
Description Page No
BONAFIE CERTIFICATE 03
ABSTRACT 04
Chapter 1 INTRODUCTION 07
5
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Chapter 5 CONCLUSION 35
REFERENCES 36
Appendix
6
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Chapter 1
INTRODUCTION
people especially for quality curative care, it has now become imperative to
provide quality health care services through the established institutions. In public
functioning. In the rural areas, the secondary level care is being provided through
3222 CHCs (Bulletin on Rural Health Statistics in India 2005) with 30 beds each
However, these services have not been successful in gaining the faith and
structure. This system acts for the hospitals to manage the affairs of the hospital.
7
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
HMS is free to prescribe, generate and use the functioning and maintaining the
quality of services.
NEED
1. Efficiently maintains the details about the patient
2. Simultaneously updates changes made to any data, item in the entire data base.
3. It is faster than manual system
9
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
The goal of any system development is to develop and implement the system
cost effectively; user-friendly and most suited to the user’s analysis is the heart of
the process.
Analysis is the study of the various operations performed by the system and
their relationship within and outside of the system. During analysis, data collected
on the files, decision points and transactions handled by the present system.
Different kinds of tools are used in analysis of which interview is a common one.
The first step in system development life cycle is the identification of need
of change to improve or enhance an existing system. An initial investigation on
existing system was carried out. The present system of hospital is completely
10
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
manual. Many problems were identified during the initial study of the existing
system. To develop this software detailed study is made at local hospital. Based on
the information collected it is decided to maintain the basic information about
doctors and patients.
PATIENT REGISTRATION
SLOT DETAILS
11
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Each patient will consult the doctor based on the appointment. If the doctor is free
on his/her duty time, the outpatient can consult the doctor after the spot
appointments are made.
APPOINTMENT
Appointments for patients may be made at the reception. New patients are
informed to fill the registration form and pay registration fees. Then the patient id
is generated and issued to the patient for further use.
The appointment may be fixed by verifying doctor's and their free slots available,
then the appointment will be confirmed. Otherwise the dates or slots may be asked
to change for the patients.
The commonly used tools in the system are Data Flow Diagram, interviews,
etc. training, experience and common sense are required for collection of relevant
information needed to develop the system. The success of the system depends
12
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
A good analysis model should provide not only the mechanisms of problem
understanding but also the framework of the solution. Then the proposed system
should be analyzed thoroughly in accordance with the needs.
13
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
The doctor's appointment with various slots for patient is created and
maintained by system. The appointments can be altered at any time before an hour
of the actual appointment schedule. The doctors and patients details must be
registered to create the appointments.
14
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
The drawback of the existing system is that it is very difficult to retrieve data
from case files. It is difficult to handle the whole system manually and it is less
accurate and to keep the data in case files for future reference because it may get
destroyed. Moreover it is very difficult to retrieve data. Redundancy of data may
occur and this may lead to the inconsistency. The manual system is so time-
consuming.
15
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
The proposed system is very easy to operate. Speed and accuracy are the
main advantages of proposed system. There is no redundancy of data. The data are
stored in the computer’s secondary memories like hard disk, etc. it can be easily
receive and used at any time. The proposed system will easily handle all the data
and the work done by the existing systems. The proposed systems eliminate the
drawbacks of the existing system to a great extent and it provides tight security to
data.
16
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Chapter 2
PROCESS DESCRIPTION
17
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
18
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
19
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
20
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
21
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
22
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
23
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Chapter 3
PROGRAM DESIGN
24
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
RECORD CREATION
STATUS MESSAGE
25
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
26
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
STATUS MESSAGE
27
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
28
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
REGISTERED PATIENTS
29
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
30
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
APPOINTMENT DETAILS
31
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
STATUS MESSAGE
MODIFICATION OF APPOINTMENT
STATUS MESSAGE
32
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
33
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Chapter 4
DATABASE DESIGN
DATABASE: HOSPITAL
34
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
TABLE: PATIENT
35
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
TABLE: SLOT
36
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Chapter 5
CONCLUSION
ADVANTAGES
It is fast, efficient and reliable
Avoids data redundancy and inconsistency
Web-based
Number of personnel required is considerably less
Provides more security and integrity to data
FUTURE ENHANCEMENTS
The proposed system is Hospital Management System. We can enhance this
system by including more facilities like billing system, inpatient room allotment
for the admitted patients and the stock details of medicines in the pharmacy.
Providing such features enable the users to include more comments into the
system.
37
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
REFERENCES
38
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Appendix 1
DADD.PHP
<html>
<head>
<meta name="spm" content="Hosita Management System">
<title>Add New Doctor</title>
</head>
<body>
<table align=center width=750 cellspacing=0 cellpadding=5>
<tr bgcolor=blue><td align=center><font SIZE=6 color=white>HOSPITAL
MANAGEMENT SYSTEM</font></td></tr>
<tr><td><table align=center width=750 cellspacing=0 cellpadding=5>
<tr><td align=center><a href=dlist.php>Doctors</td><td align=center><a
href=plist.php>Patients</td><td align=center><a
href=app.php>Appointments</td>
</table></td></tr>
<tr bgcolor=red><td ><font size=4 color=white>New
Doctor</font></td></tr>
<form name=fdadd method=post action=dsave.php>
<tr><td><table width=750 cellspacing=0 cellpadding=5>
<tr><td>Doctor Name</td><td><input type=text name=name size=30
maxlength=30></td></tr>
<tr><td>Specilization</td><td><input type=text name=spec size=30
maxlength=30></td></tr>
</table></td></tr>
<tr><td align=center><input type=submit value=Submit></td></tr>
</form>
</table>
</body>
39
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
</html>
DSAVE.PHP
<html>
<head>
<meta name="spm" content="Hosital Management System">
<title>Save Doctor</title>
</head>
<body>
<table align=center width=750 cellspacing=0 cellpadding=5>
<tr bgcolor=blue><td align=center><font SIZE=6 color=white>HOSPITAL
MANAGEMENT SYSTEM</font></td></tr>
<tr><td><table align=center width=750 cellspacing=0 cellpadding=5>
<tr><td align=center><a href=dlist.php>Doctors</td><td align=center><a
href=plist.php>Patients</td><td align=center><a
href=app.php>Appointments</td>
</table></td></tr>
<tr bgcolor=red><td ><font size=4 color=white>Save
Doctor</font></td></tr>
<?php
$name=trim($_POST["name"]);
$spec=trim($_POST["spec"]);
$error=0;
if ($name=="") { $error=1; echo "<tr><td><font color=red size=4>Name
can't empty</font></td></tr>"; }
if ($spec=="") { $error=1; echo "<tr><td><font color=red
size=4>Specilization can't empty</font></td></tr>"; }
if ($error==0) {
if(!mysql_connect("localhost","root",""))
{
echo "<tr><td><font color=red size=4>Connection
Error</font></td></tr>";
40
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
die();
}
mysql_select_db("hospital");
mysql_query("insert into doct(dname,dspec,dshow)
values('".$name."','".$spec."','Y')");
echo "<tr><td align=center><font size=4 color=green>Successfully
Records Inserted</font></td></tr>";
}
else {
echo "<form name=fdadd method=post action=dsave.php>";
echo "<tr><td><table width=750 cellspacing=0 cellpadding=5>";
echo "<tr><td>Doctor Name</td><td><input type=text name=name
size=30 maxlength=30 value='".$name."'></td></tr>";
echo "<tr><td>Specilization</td><td><input type=text name=spec
size=30 maxlength=30 value='".$spec."'></td></tr>";
echo "</table></td></tr>";
echo "<tr><td align=center><input type=submit
value=Submit></td></tr>";
echo "</form>";
}
echo "<tr><td align=center><a
href=dlist.php>Continue...</a></td></tr>";
echo "</table>";
echo "</body></html>";
DLIST.PHP
<html>
<head>
<meta name="spm" content="Hosital Management System">
<title></title>
</head>
41
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
<body>
<table align=center width=750 cellspacing=0 cellpadding=5>
<tr bgcolor=blue><td align=center><font SIZE=6 color=white>HOSPITAL
MANAGEMENT SYSTEM</font></td></tr>
<tr><td><table align=center width=750 cellspacing=0 cellpadding=5>
<tr><td align=center><a href=dlist.php>Doctors</td><td align=center><a
href=plist.php>Patients</td><td align=center><a
href=app.php>Appointments</td>
</table></td></tr>
<tr bgcolor=red><td ><font size=4 color=white>Doctors
List</font></td></tr>
<tr><td><a href=dadd.php>Add New Record</a></td></tr>
<tr><td><table width=750 cellspacing=0 cellpadding=5>
<tr bgcolor=#ccccc><td align=center>S No</td><td align=center>Doctor
Name</td><td align=center>Specialization</td><td
align=center>Options</td></tr>
<?php
if(!mysql_connect("localhost","root",""))
{
echo "<tr><td><font color=red size=4>Connection
Error</font></td></tr>";
die();
}
mysql_select_db("hospital");
$rs1=mysql_query("SELECT * from doct where dshow='Y' order by
dname;");
$sno=1;
while( $row=mysql_fetch_array($rs1)) {
echo "<tr><td>$sno</td><td>$row[1]</td><td>$row[2]</td><td><a
href=dmod.php?rno=".$row[0].">Modify</a> | <a
href=ddel.php?rno=".$row[0].">Delete</a></td></tr>";
$sno++;
}
42
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
DMOD.PHP
<html>
<head>
<meta name="spm" content="Hosital Management System">
43
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
44
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
DUPDATE.PHP
<html>
<head>
<meta name="spm" content="Hosital Management System">
<title>Update Doctor</title>
</head>
<body>
<table align=center width=750 cellspacing=0 cellpadding=5>
<tr bgcolor=blue><td align=center><font SIZE=6 color=white>HOSPITAL
MANAGEMENT SYSTEM</font></td></tr>
<tr><td><table align=center width=750 cellspacing=0 cellpadding=5>
<tr><td align=center><a href=dlist.php>Doctors</td><td align=center><a
href=plist.php>Patients</td><td align=center><a
href=app.php>Appointments</td>
</table></td></tr>
<tr bgcolor=red><td ><font size=4 color=white>Update
Doctor</font></td></tr>
<?php
$rno=trim($_POST["rno"]);
$name=trim($_POST["name"]);
$spec=trim($_POST["spec"]);
$error=0;
45
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
46
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
echo "</body></html>";
DDEL.PHP
<html>
<head>
<meta name="spm" content="Hosital Management System">
<title></title>
</head>
<body>
<table align=center width=750 cellspacing=0 cellpadding=5>
<tr bgcolor=blue><td align=center><font SIZE=6 color=white>HOSPITAL
MANAGEMENT SYSTEM</font></td></tr>
<tr><td><table align=center width=750 cellspacing=0 cellpadding=5>
<tr><td align=center><a href=dlist.php>Doctors</td><td align=center><a
href=plist.php>Patients</td><td align=center><a
href=app.php>Appointments</td>
</table></td></tr>
<tr bgcolor=red><td ><font size=4 color=white>Doctors
List</font></td></tr>
<tr><td><a href=dadd.php>Add New Record</a></td></tr>
<tr><td><table width=750 cellspacing=0 cellpadding=5>
<tr bgcolor=#ccccc><td align=center>S No</td><td align=center>Doctor
Name</td><td align=center>Specialization</td><td
align=center>Options</td></tr>
<?php
if(!mysql_connect("localhost","root",""))
{
echo "<tr><td><font color=red size=4>Connection
Error</font></td></tr>";
die();
}
mysql_select_db("hospital");
47
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
48
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
</table>
</body>
</html>
DUNDEL.PHP
<html>
<head>
<meta name="spm" content="Hosital Management System">
<title>Recover Doctor</title>
</head>
<body>
<table align=center width=750 cellspacing=0 cellpadding=5>
<tr bgcolor=blue><td align=center><font SIZE=6 color=white>HOSPITAL
MANAGEMENT SYSTEM</font></td></tr>
<tr><td><table align=center width=750 cellspacing=0 cellpadding=5>
<tr><td align=center><a href=dlist.php>Doctors</td><td align=center><a
href=plist.php>Patients</td><td align=center><a
href=app.php>Appointments</td>
</table></td></tr>
<tr bgcolor=red><td ><font size=4 color=white>Recover
Doctor</font></td></tr>
<?php
$rno=$_GET["rno"];
if(!mysql_connect("localhost","root",""))
{
echo "<tr><td><font color=red size=4>Connection
Error</font></td></tr>";
die();
}
mysql_select_db("hospital");
mysql_query("update doct set dshow='Y' where dno='$rno'");
echo "<tr><td align=center><font size=4 color=green>Successfully
49
HOSPITAL MANAGEMENT SYSTEM, MAMCET, 2008IT
Records Recovered</font></td></tr>";
echo "<tr><td align=center><a
href=dlist.php>Continue...</a></td></tr>";
echo "</table>";
echo "</body></html>";
50