You are on page 1of 40

HOSPITAL MANAGEMENT

ACKNOWLEDGEMENTS

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
2

ACKNOWLEDGEMENTS

The beautiful fragrance that accompanies completion of our project task would be incomplete
without the appreciation to the people who made it possible. However, words are not enough to
express the sense of gratitude to everyone who helped us directly or indirectly.

First and foremost we would express our sincere gratitude to our beloved principal
Dr. Sanjay Chitnis for the strong encouragement in bringing out this project.

We are grateful to Prof. Rachana Sharma, HOD of MCA Department who spared her time in
pursuing us in doing the project.

We also extend our regards to our project guide Prof. Sudipto Das, Senior Lecturer, Department
of MCA for his timely guidance, painstaking attention and suggestion at every stage during our
project.

Last but not least we wish to express our gratitude to our family members, friends and all
the well-wishers who stood behind us.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
3

CONTENTS

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
4

CONTENTS

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

Abstract5
Introduction.7
Requirement Specification...9
Software Development Life Cycle..11
System Analysis..14
Design.16
Coding.25
Testing.32
Screenshots..33
Future Enhancements..38
Conclusion..38
Bibliography...38

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
5

ABSTRACT

1. ABSTRACT

The goal of the project

Hospital Management

System is used in hospitals for efficient

management of hospital departments such as Doctor, Patients,Employees,Departments etc.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
6

Hospital management system is used for efficient working in the hospital. In hospitals different
departments are simultaneously working so to manage these department we need a efficient
management system which will handle all of the

activities. Hospital Management System

fulfils all these requirements.


This project gives the information about Patient status, Doctors, Employers, available Medical
tests, & Departments of Hospital.
This project is divided into different modules such as Patient, Doctor, Employees, Tests &
Departments.
In Patient module sub modules are Add Patients, View Patient, Discharge Patient. In Doctor
module sub modules are Add Doctor, View Doctor. In Employee module Sub modules are Add
Employee & View Employee. The Tests Module shows the details of tests and also facilitate to
add the another test.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
7

INTRODUCTION

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
8

2. INTRODUCTION
2.1 INTRODUCTION TO THE PROJECT:
Hospital management system is used for efficient working in the hospital.
The HOSPITAL MANAGEMENT enables better management information. It provides easy
access to critical information thus enabling the management to take better decisions on time.
This project deals with processing of each and every department in the hospital. This project
sincerely aims to reduce the manual processing of each department. The scope of the project
takes care of the details of each and every department. These details gives the doctor, employees,
departments, and patient details.
The project has the facility to store the details of every patient and the staff. 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.
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.
The purpose of the project entitled as HOSPITAL MANAGEMENT SYSTEM is to
computerize the Front Office Management of Hospital to develop software which is user
friendly, simple, fast, and cost effective. It deals with the collection of patients information,
hospital details, etc. Traditionally, it was done manually. The main function of the system is to
register and store patient details, doctor details etc. and retrieve these details as and when
required, and also to manipulate these details meaningfully

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
9

REQUIREMENTS
SPECIFICATION

3. REQUIREMENTS SPECIFICATION
CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
10

3.1 FUNCTIONAL REQUIREMENTS:


1. Admin to login into their respective account.
2. Once the admin will be login, they will find the details of required field by providing the
details.

3.2 HARDWARE REQUIREMENTS:

HDD: 40 GB
RAM: 512 MB or above
Processor: Pentium 3 or above

3.3 SOFTWARE REQUIREMENTS:


The software requires the support of the following soft wares for the database and
other requirements

Operating System: Windows XP or Higher Version


Platform: Microsoft Visual Studio 2005 or above
Scripting : VB .Net
Database: SQL SERVER

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
11

SOFTWARE DEVELOPMENT
LIFE CYCLE

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
12

4. SOFTWARE DEVELOPMENT LIFE CYCLE


For our project, the SDLC model that we have followed is the Waterfall Model.

WATERFALL MODEL:

Features of Waterfall Model:


A waterfall model is easy to follow.
It can be implemented for any size project.
Every stage has to be done separately at the right time so you cannot jump stages.
Documentation is produced at every stage of a waterfall model allowing people to
understand what has been done.
Testing is done at every stage.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
13

Advantages of Waterfall Model:


A waterfall model helps find problems earlier on which can cost a business less than if it
was found later on.
Requirements will be set and these wouldn't be changed.
As everything is documented a new team member can easily understand what's to be
done.
Implementers have to follow the design accurately.

Disadvantages of Waterfall Model:


If requirements may change the Waterfall model may not work.
Many believe it is impossible to make one stage of the projects life cycle perfect.
Difficult to estimate time and cost for each stage of the development process.
Constant testing of the design is needed.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
14

SYSTEM ANALYSIS

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
15

5. SYSTEM ANALYSIS
5.1 INTRODUCTION:
The blue print of the developer is nothing but the Requirement Analysis document when the
requirement of the system is to be converted into an actual documentation. The programmer has
to use his intuition to determine what activities the module is supposed to perform.

5.2 FEASIBILITY STUDY:


The purpose of this document is to describe the various studies that were carried out to validate
the feasibility of this module or system in terms of Economic, Technical and Operational
Feasibility.

5.2.1 Economic Feasibility:


Economic justification is the bottom line consideration for most of the systems. But in
general, this is the most frequently used method for evaluating the effectiveness of the
system. It mainly depends on the cost/benefit analysis. It is found that due to free availability
of the required existing hardware resources, the project is feasible economically.

5.2.2 Technical Feasibility:


The technical feasibility is one of the main parameters on which the feasibility of the
project is decided. It is found that hardware requirements are easily satisfied, as the
requirements are small. The software requirements are met. The skill set required developing
the project modules are knowledge of ASP.NET and SQL Server

5.2.3 Operational Feasibility:


In the project development the project is likely to be operationally feasible if it meets
the expectations of the users. Users use the system at any point of time.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
16

DESIGN

6.DESIGN
6.1 DATA FLOW DIAGRAM:
Data Flow diagram depicts information flow, the transformation flow and the transforms that are
applied as data move from input to output. DFD describes what data flows rather that how they
are processed. So it does not depend on how hardware, software and data structure of file
organization.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
17

Data Flow diagram shows the information moves through the system and how it is
modified by the series of transactions. It is a graphical technique that depicts information flow
and the transformations that are applied as data moves from input to output. A DFD may be used
to represent a system at any level of abstraction.
There are three types level of DFD these are as flows0 LEVEL DFD:
This is the context level D.F.D. of the proposed system the whole system
has been depicted in a single bubble, primary input and output has been carefully noted and
depicted in the way so that information flow continuity should not be lost in the next level.
The proposed system is shown as a whole process and the Inputs and outputs are shown with
incoming and outgoing arrow from the system.
1st Level DFD:
At this level of D.F.D. all the process together with all the data stores (tables). It shows the true
data flow i.e. how data is actually flowing in the system .Data is coming from which table and
going into which table is clearly shown by this DFD.
This DFD is the main reference for the development of the system. After understanding
the whole system, The application developer will fall back upon this DFD during the
development phase.
2nd Level DFD:
Some processes require further breakdown into sub processes. Those processes will be shown in second
level D.F.D. For example, here 2ndlevel D.F.D. of the Process of CHECK CANDIDATE is shown.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
18

HOSPITAL
MANAGEM
ENT

Administrat
or

Admin Login
Doctor
Patient

Department
Bed/Rooms
Logout

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
19
Message Display
Invalid
Check User
Credential

Check

Redirect
login page

Access

Valid

Login

Access

Check UserId

rught

Administrator

6.2 TABLES:
6.2.1 Login Table:
CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
20

Name

Control

Functional Description

Login

Textbox

Operator will enter there LoginID. It should


not be blank otherwise an error message
will be displayed i.e. Enter: Password.

Password Textbox

Operator will enter there password. It


should not be blank otherwise an error
message will be displayed i.e. Enter:
Password.

Login

If Login Id and Password is correct, Index page


of Administrator section Open.

Button

6.2.2 Patient Table:


Name

Control

Functional Description

Patient Name

Textbox

Operator will enter Patient Name.

Age

Textbox

Operator will enter Age of patient

Sex

Drop Down List

Operator will select sex of Patient.

Department

Drop Down List

Operator will Select the Department of


Patient.

Address

Textbox

Operator will enter Address of Patient

Contact no.

Textbox

Operator will enter the contact no of patient.

Photo

File Upload

Operator will Upload the photo of Patient.

Submit

Button

It will register the customer.

Reset

Button

It will Reset All Fields.

6.3.3 View Patient table:


CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
21

Name

Control

Functional Description

Name

Textbox

Operator will enter Name of patient

ID

Drop Down List

Operator will select the Id of patient.

Doctor

Drop Down list

Operator will select the name of doctor


which was give the treatment .

Department ID

Drop Down list

Operator will select department id of


patient.

Search

Button

This will Show all information about patient

Reset

Button

This will Reset all fields.

6.4.4 Doctor table:

Name

Control

Functional Description

Name

Text Box

Operator will enter the name of


doctor.

Department

Drop down list

Operator will select the department of


doctor.

Experience

Text Box

Operator will enter the experience of


the doctor in field.

Registration ID

Text Box

Operator will enter the registration Id


For Doctor.

Registration
Phone

Text Box

Operator Will enter the phone no of


Doctor

Office phone

Text Box

Operator will enter the office phone of


Doctor.

Timing

Text Box

Operator will enter the Timing when


doctor come.

Residential
Address

Text Box

Operator will enter the Residential


address of doctor.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
22

Mobile No.

Text Box

Operator will enter the mobile no of


Doctor.

Photo

File upload

Operator will upload the photo of


Doctor.

Submit

Button

It will be register the doctor.

6.4.5 View or update doctor detail table:

Name

Control

Functional Description

Doctor Name

Drop Down List

Operator will select the name of


doctor.

Detail

Data list

Show the detail of doctor.

Edit

Link button

Operator will edit the doctor record

Delete

Link Button

Operator will delete the doctor


record.

6.4.6 Add employee:


Name

Control

Functional Description

Name

Text Box

Operator will enter the name of


doctor.

Department

Drop down list

Operator will select the department of


doctor.

Experience

Text Box

Operator will enter the experience of


the doctor in field.

Registration ID

Text Box

Operator will enter the registration Id


For Doctor.

Registration
Phone

Text Box

Operator Will enter the phone no of


Doctor

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
23

Office phone

Text Box

Operator will enter the office phone of


Doctor.

Timing

Text Box

Operator will enter the Timing when


doctor come.

Residential
Address

Text Box

Operator will enter the Residential


address of doctor.

Mobile No.

Text Box

Operator will enter the mobile no of


Doctor.

Photo

File upload

Operator will upload the photo of


Doctor.

Submit

Button

It will be register the doctor.

Reset

Button

It will reset all the field.

6.4.7 View or update employee:

Name

Control

Functional Description

Employee Name

Drop Down List

Operator will select the name of


Employee.

Detail

Data list

Show the detail of Employee.

Edit

Link button

Operator will edit the Employee


record

Delete

Link Button

Operator will delete the Employee


record.

6.4.8 Add test:


Name

Control

Functional Description

Test Name

Textbox

Operator will enter the name of Test.

Enter
Department

Drop Down list

Operator will select the department


of test.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
24

Name
Cost

Test Box

Operator will enter the cost of Test.


This control will add the new test.

Submit

Button

Reset

Button

This control will reset all the controls


situated on the page

6.4.9 Add department:


Name

Control

Functional Description

Department
Name

Text Box

Operator will enter the Department


Name.

Submit

Button

This control add the new


department.

Reset

Button

It control Reset all the fields.

6.5 ER DIAGRAM:
Blood
test
Eye
test

Department
Dept
Name

Dept
Id

Type

Relate
s to

Urine
test
EScan&X
teste
ray
test

Test

to
ID

Na
me

CMR Institute of Technology

Timi
ng

Cos
t

peform
ed by

Employee

b by
Experie
nce
Department of MCA

Add
r

Qualific
ation
2014-2015

HOSPITAL MANAGEMENT
25

Na
me

Ag
e

Cons
ults

Patient
Dischar
ge

Admi
t

Ph.
No

Na
me

N
Doctor

Ph.
No

Timi
ng

Experie
nce

Assig
n to
Room Id
Room

Type

Room
type
Type

CODING

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
26

7.CODING
Home.aspx.cs
using
using
using
using
using
using
using
using
using
using

System;
System.Data;
System.Configuration;
System.Collections;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;

public partial class Home : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["LoginId"] == null)
{
Response.Redirect("Index.aspx");
}

Index.aspx.cs
using System;
using System.Data;
using System.Configuration;

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
27
using
using
using
using
using
using
using

System.Collections;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;

public partial class Index : System.Web.UI.Page


{
clsconnection c1 = new clsconnection();
protected void Page_Load(object sender, EventArgs e)
{
Session.Remove("LoginId");
}
protected void btn_Login_Click1(object sender, EventArgs e)
{
string str;
int check;
str = "SELECT COUNT(*) FROM tbl_Login WHERE login_Id='";
str = str + txt_LoginId.Text + "' AND password='" + txt_Password.Text + "'";
check = Convert.ToInt32(c1.SelectScalar(str));
if (check == 1)
{
Session.Add("LoginId", txt_LoginId.Text);
Response.Redirect("Home.aspx");
}
else
{
lbl_Message.Text = "Either LoginId or Password is Incorrect";
}
}
}
}

ADDDEPT.aspx.cs
using
using
using
using
using
using
using
using
using
using

System;
System.Data;
System.Configuration;
System.Collections;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;

public partial class AddDepartment : System.Web.UI.Page


{
clsconnection c1 = new clsconnection();
protected void Page_Load(object sender, EventArgs e)
{

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
28
if (Session["LoginId"] == null)
{
Response.Redirect("Index.aspx");
}
}
protected void btn_Submit_Click(object sender, EventArgs e)
{
String sql;
sql = " INSERT INTO tbl_Department(Department_Name) ";
sql = sql + " VALUES('" + txt_dep.Text + "')";
c1.ExecuteQry(sql);
txt_dep.Text = "";
txt_dep.Focus();
}
protected void btn_Reset_Click(object sender, EventArgs e)
{
txt_dep.Text = "";
}
}

ADDDOCTOR.aspx.cs
using
using
using
using
using
using
using
using
using
using

System;
System.Data;
System.Configuration;
System.Collections;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;

public partial class AddDoctor : System.Web.UI.Page


{
clsconnection c1 = new clsconnection();
protected void Page_Load(object sender, EventArgs e)
{
if (Session["LoginId"] == null)
{
Response.Redirect("Index.aspx");
}
if (!IsPostBack)
{
FillView_ddl_depart();
}
}
//Fill's ddl_Department when clicking Add/Edit
private void FillView_ddl_depart()
{
string sql;
sql = "Select * from tbl_Department";
ddl_depart.DataSource = c1.SelectDS(sql);
ddl_depart.DataTextField = "Department_Name";
ddl_depart.DataValueField = "DepartmentId";
ddl_depart.DataBind();

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
29

ddl_depart.Items.Insert(0, "Select");

protected void btn_Submit_Click(object sender, EventArgs e)


{
string sql, sql2;
string pid, sql1, path, fn;
sql = "INSERT INTO
tbl_Doctor_Detail(Name,Experience,Qualification,DepartmentId,RegisterationID,Residential_Phon
e,Residential_Address,Mobile_No,Timing,Office_Phone) VALUES";
sql = sql + " ( '" + TXT_NAME.Text.Trim() + "' , '" + TXT_EXPERIENCE.Text.Trim() + "' , '" +
TXT_QUALI.Text.Trim() + "' , ";
sql = sql + " '" + ddl_depart.SelectedValue + "', '" + txt_RegistrationId.Text.Trim() + "' ,";
sql = sql + " '" + txt_Reg_Phone.Text.Trim() + "', '" + TXT_Address.Text.Trim() + "' ,";
sql = sql + " '" + txt_Mobile.Text.Trim() + "', '" + TXT_TIMING.Text.Trim() + "' ,";
sql = sql + " '" + TXT_Office_Phone.Text.Trim() + "' )";
c1.ExecuteQry(sql);
sql1 = "SELECT MAX(Doctor_Id) FROM tbl_Doctor_Detail";
pid = c1.SelectScalar(sql1);
//if Image has been selected
if (FileUpload1.HasFile)
{
path = Server.MapPath("~/Photo/");
fn = FileUpload1.FileName;
path = path + "\\" + pid + "_DR_" + fn;
FileUpload1.SaveAs(path);
sql2 = "UPDATE tbl_Doctor_Detail SET Photo ='~/Photo/" + pid + "_DR_" + fn + "'";
sql2 = sql2 + " WHERE Doctor_Id = " + pid;
c1.ExecuteQry(sql2);
}
////If no photo has been select
else
{
string str;
str = "UPDATE tbl_Doctor_Detail SET Photo ='~/Photo/Image_Unavailable.bmp'";
str = str + "WHERE Doctor_Id =" + pid;
c1.ExecuteQry(str);
}
Reset();
lbl_Message.Text = "DOCTOR DETAILS IS ADDED";

}
private void Reset()
{
FillView_ddl_depart();
TXT_NAME.Text = "";

TXT_EXPERIENCE.Text = "";
TXT_QUALI.Text = "";

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
30

txt_RegistrationId.Text = "";
txt_Reg_Phone.Text = "";
TXT_Office_Phone.Text = "";
TXT_TIMING.Text = "";
TXT_Address.Text = "";
txt_Mobile.Text = "";

Searchpatient.aspx.cs
using
using
using
using
using
using

System.Collections;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;

public partial class Search_patients : System.Web.UI.Page


{
clsconnection c1 = new clsconnection();
protected void Page_Load(object sender, EventArgs e)
{
if (Session["LoginId"] == null)
{
Response.Redirect("Index.aspx");
}
if (!IsPostBack)
{
// fillID();
// fillDoctor();
// fillDeptID();
FillView_ddl_Department();
}
//ddl_deptId.Items.Insert(0, "Select ID");
//ddl_Doctor.Items.Insert(0, "Select Doctor");
//ddl_ID.Items.Insert(0, "Select ID");
}
private void FillView_ddl_Department()
{
string sql;
sql = "Select * from tbl_Department";
ddl_Department.DataSource = c1.SelectDS(sql);
ddl_Department.DataTextField = "Department_Name";
ddl_Department.DataValueField = "DepartmentId";
ddl_Department.DataBind();
ddl_Department.Items.Insert(0, "Select");
}
protected void btn_Reset_Click(object sender, EventArgs e)
{
txt_Name.Text = "";
}
protected void btn_Search_Click(object sender, EventArgs e)
{
FILLDL();

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
31
}
protected void DataList1_ItemCommand(object source, DataListCommandEventArgs e)
{
String id,strdelete;
id = ((Label)DataList1.Items[e.Item.ItemIndex].FindControl("lbl_PatientId")).Text;
if (e.CommandName == "Delete")
{
strdelete = "DELETE FROM dbo.tbl_Patient_Registeration WHERE PatientId=" + id;
c1.ExecuteQry(strdelete);
FILLDL();
}
if (e.CommandName == "Edit")
{
Session.Add("id", id);
txt_PatientName.Text =
((Label)DataList1.Items[e.Item.ItemIndex].FindControl("lbl_PatientName")).Text;
txt_Age.Text = ((Label)DataList1.Items[e.Item.ItemIndex].FindControl("lbl_Age")).Text;
//ddl_Sex.Items.Add(((Label)DataList1.Items[e.Item.ItemIndex].FindControl("lbl_Sex")).Text);
txt_Address.Text =
((Label)DataList1.Items[e.Item.ItemIndex].FindControl("lbl_Address")).Text;
txt_Number.Text =
((Label)DataList1.Items[e.Item.ItemIndex].FindControl("lbl_Number")).Text;
MultiView1.ActiveViewIndex = 1;
}
}
protected void btn_Submit_Click(object sender, EventArgs e)
{
String strupdate;
strupdate = "UPDATE dbo.tbl_Patient_Registeration SET
PatientName='"+txt_PatientName.Text+"',";
strupdate += "Age='"+txt_Age.Text+"',";
strupdate += "Sex='"+ddl_Sex.SelectedItem.Text+"',";
strupdate += "Address='"+txt_Address.Text+"',";
strupdate += "Contact_No='" + txt_Number.Text + "'";
strupdate += "WHERE PatientId=" + Session["id"].ToString();
c1.ExecuteQry(strupdate);
MultiView1.ActiveViewIndex = 0;
FILLDL();
}
public void FILLDL()
{
String str;
str = " SELECT * FROM dbo.tbl_Patient_Registeration WHERE PatientId >0 ";
if (txt_Name.Text != "")
{
str += " AND PatientName='" + txt_Name.Text + "'";
}
if(txt_admission.Text!="")
{
str += " AND cdate=" +txt_admission.Text;
}
if (txt_discharge.Text!="")
{
str += " AND Doctor='"+txt_discharge.Text+"'";
}

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
32
if (ddl_Sex0.SelectedIndex > 0)
{
str += " AND door='"+ddl_Sex0.SelectedItem.Text+"'";
}
DataList1.DataSource = c1.SelectDS(str);
DataList1.DataBind();
}
protected void Button1_Click(object sender, EventArgs e)
{
txt_PatientName.Text = "";
}}

8. TESTING
8.1 INTRODUCTION:
Testing is a process of executing a program with the intent of finding an error. Software testing is
the execution of program to find its faults. The testing process focuses on the logical internals of
the software, ensuring that all statements have been testing and on the functional externals, that
is conducting test to uncover and ensure that defined input will produce actual results with
required results.

8.2 TSET STRATEGIES:


8.2.1 Unit Testing:
Unit testing focuses verification effort on the smallest design, the module. The testing is
done in parallel to coding. A piece of code was compiled and tested before inspection. The
objective of this inspection is to detect the effects in design and code before they are carried
away to the next phase. The defects were then reworked and submitted again for inspection.
Each module were carefully inspected and proved defect free before going to next one. Each
module was tested independently using the test cases designed for unit testing.

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
33

Unit testing is the first level of testing. In this, different modules are tested against the
specifications produced during the design for the modules. Unit testing is essentially for
verification of the code produced during the coding phase. It is done by the programmer of the
module.

In this application ASP pages are executed successfully separately. All classes
execute successfully with their corresponding ASP pages. Each module satisfies the functional
and non functional requirements. Each part of the system is working fine separately.

SCREEN SHOTS

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
34

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
35

9. SCREEN SHOTS
9.1 LOGIN PAGE:

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
36

9.2 ADD PATIENT:

9.3 VIEW PATIENT:

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
37

9.4 ADD EMPLOYEE:

9.5 VIEW OR UPDATE:

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
38

9.6 VIEW OR UPDATE EMPLOYEE:

9.7 ADD TEST:

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
39

10. FUTURE ENHANCEMENT


The mechanism for sealed bid price auction can be further extended to include the following
Can be implemented for Online shopping facilities.
Can be implemented for multi-round bidding auction.
Can be used in stock broker system.

11. CONCLUSION
Hospital management software is software meant to computerize the day to day average small
hospital management activities and capable of providing easy and very effective storage information including patient registration, doctors and employees information.
I enjoyed working in this project (MMS) and I conclude with the fact that apart from being a
success, it has enabled me to learn about the inner working of VB.NET.

12. BIBLIOGRAPHY
12.1 BOOKS:
Beginning VB.NET (2nd Edition)
Programming in VB.NET by GARY CORNELL, JONATHAN MORRISO.
Microsoft Visual Basic.Net step by step by MICHEAL HALVARSON.
12.2 WEBSITES:

www.google.com
www.en.wikipedia.com

CMR Institute of Technology

Department of MCA

2014-2015

HOSPITAL MANAGEMENT
40

CMR Institute of Technology

Department of MCA

2014-2015