PROJECT REPORT
ON
HOSPITAL MANAGEMENT SYSTEM
IN PARTIAL FULFILLMENT OF REQUIREMENT OF
DEGREE OF MASTER OF COMPUTER APPLICATIONS
SUBMITTED
TO
REGIONAL CENTER KHANNA
Indira Gandhi National University ,New Delhi
GUIDED BY: PREPARED BY:
Raman Jyoti Palvi
Mphill Computer Science Enrollmewnt No. -.....
Study Center -.......(2202)
YEAR-2016
HOSPITAL MANAGEMENT SYSTEM
TO WHOM SO EVER IT MAY CONCERN
This is to certify that Miss Palvi([Link]…) has completed her
one full semester on project work titled “HOSPITAL MANAGEMENT
SYSTEM” satisfactorily in partial fulfillment of requirement Of Degree of
Master in Computer Applications, IGNOU University in Batala study
Center (2202), in the year 2016 under my supervision. No part of this
work has been submitted for any other degree of any other university.
The date sources have been duly acknowledged. It may be considered
for evolution for evolution partial fulfillment of degree of BCA.
I wish his success in all future endeavors.
Guide
Date: / /2016
Place: Gurdaspur
2
HOSPITAL MANAGEMENT SYSTEM
ACKNOWLEDGEMENT
With a deep sense of great respect I would like to extend my
heartiest thanks to all those who provided me immense help
and guidance during in me 6th semester.
I would like thanks Mr………………… (H.O.D of Computer
Dept.) for providing a Opportunity for A creating a “HOSPITAL
MANAGEMENT SYSTEM”.
All the teachers for providing a vision about the system, their
patience and suggestions on improving.
My skill set through their constant guidance during this
system. I have greatly benefited from their Regular review and
inspiration throughout the work.
I express my gratitude to MY LECTURER ……………. for his
timely help and for showing keen interest in my work, which
enabled us to complete it in assigned span of time?
Last but not the least i would like to mention here that i am greatly
indebted to each and Everybody Who has been associated with my
system at any stage but whose name does not find in this?
Palvi
Enr No.-
3
HOSPITAL MANAGEMENT SYSTEM
ABSTRACT
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.
My project mainly focused on the different medical related item
sales/return system, which is highly user friendly easy to use, where
in user can easy sales/return of item.
I have developed this System as our semester project with a view to
get familiar with the technology as well as with windows utility.
My system mainly deals with different type of Medical item, customer,
dealer very easily.
Since I had time constraints I was not able to make out module into
4
HOSPITAL MANAGEMENT SYSTEM
live and living portal but would try for the same together with the
interference.
NEED FOR COMPUTERIZATION
Before studying the need for the computerization in the factory we
should have a look at the various departments and the organizations
layout of the factory. We have to deal with Agents details, party details,
item details, indents, and accounts also. In manual system at the time of
enquiries one has to check all the records for the availability of items as
per the requirement of the user, which is very time consuming, and
tedious one. This can lead to errors. There is no doubt that the existing
manual system can be improved by changing certain procedures and by
employing more man power but at same time employment of more and
more personal means more expensive which can be brought down by
computerization and the same time efficiency if not improved can at
least be the same. Another major drawback of the manual system that is
found from the study is that there is large amount of data redundancy
due to manual system .It is because a piece of information has to be
checked rapidly, which leads to the enormous wastage of time and
increase the possibility of committing the errors.
In brief it has been said that computerization not
only helps in improving the operational efficiency and in cutting down the
expenses on man power but it also helps to maintain a database with
less errors that can be utilized for references. It also helps in reducing
the wastage of human efforts that can be utilized for other productive
purpose leading.
5
HOSPITAL MANAGEMENT SYSTEM
6
HOSPITAL MANAGEMENT SYSTEM
INDEX
7
HOSPITAL MANAGEMENT SYSTEM
Table of Contents
[Link] Topic
1 Introduction
2 System Requirement Specification
3 Problem Identification
4 System Analysis
5 Preliminary Investigation
6 Feasibility Study
7 Problem Analysis
8 System Development Strategies
9 Software Engg, Paradigm Applied
10 Information gathering
11 System Flow Diagram
12 Data Dictionary
13 Screen -Layouts
14 Coding
15 Testing And Implementation plan
Conclusion & Further Enhancement Of The
16
System
17 Bibliography
8
HOSPITAL MANAGEMENT SYSTEM
INTRODUCTION
9
HOSPITAL MANAGEMENT SYSTEM
Project Profile
Project Title Hospital Management System
Developed For Chauhan Medicity
Developed At Asian Computer Tech. , Gurdaspur.
Objectives The main aim of the system is provide computerized
maintaining stock
Front End [Link] 2008
Back End MS Access
Tools Microsoft Office 2007
Project Guide Mr. Raman Jyoti
Developed By Pallvi
10
HOSPITAL MANAGEMENT SYSTEM
About The Organization
The organization of CHAUHAN MEDICITY is establish in year 2008
which are grown in full organization within.
It is situated at Ptk-Asr Highway,Kotli (Gurdaspur).
The owner of this Hospital is Dr. Daljit Singh Chauhan
The organization is concerned with the different Medical treatments.
It is one of the popular Hospital Store In Gurdaspur & Pathankot.
In this Hospital many type of treatments of patients are maintain and
sale.
11
HOSPITAL MANAGEMENT SYSTEM
INTRODUCTION TO SOFTWARE
Purpose
Define hospital
Recording information about the Patients that come.
Generating bills.
Recording information related to diagnosis given to Patients.
Keeping record of the Immunization provided to children/patients.
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.
The Software is for the automation of Hospital Management.
It maintains two levels of users:-
Administrator Level
User Level
The Software includes:-
Maintaining Patient details. Providing Prescription, Precautions and Diet
advice. Providing and maintaining all kinds of tests for a patient. Billing and
Report generation.
12
HOSPITAL MANAGEMENT SYSTEM
Scope
Information about Patients is done by just writing the Patients
name, age and gender. Whenever the Patient comes up his
information is stored freshly.
Bills are generated by recording price for each facility
provided to Patient on a separate sheet and at last they all
are summed up.
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.
Immunization records of children are maintained in pre-
formatted sheets, which are kept in a file.
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.
It can be used in any Hospital, Clinic, Dispensary or Pathology labs for
maintaining patient details and their test results.
13
HOSPITAL MANAGEMENT SYSTEM
Overview
Project is related to Hospital Management System. The project maintains
two levels of users:-
Administrator Level-Doctor
User Level-Data Entry Operator
Main facilities available in this project are:-
Maintaining records of indoor/outdoor patients.
Maintaining patients diagnosis details, advised tests to be done.
Providing different test facilities to a doctor for diagnosis of patients.
X-Ray
Urine Test
Stool Test
Sonography Test
Gastroscopy Test
Colonoscopy Test
Blood Test
Biochemistry Test
Maintaining patient’s injection entry records.
Maintaining patient’s prescription, medicine and diet advice details.
Providing billing details for indoor/outdoor patients.
Maintaining backup of data as per user requirements (between
mentioned dates).
If user forgets his/her password then it can be retrieved by hint
question.
14
HOSPITAL MANAGEMENT SYSTEM
In this project collection of data is from different pathology labs.
Results of tests, prescription, precautions and diet advice will be
automatically updated in the database. Related test reports, patient details
report, prescription and billing reports can be generated as per user
requirements.
User or Administrator can search a patient’s record by his/her name or
their registration date.
Patient’s diet advice can be provided in Hindi.
15
HOSPITAL MANAGEMENT SYSTEM
Overall Description
Goals of proposed system
1. Planned approach towards working: - The working in the organization
will be well planned and organized. The data will be stored properly in
data stores, which will help in retrieval of information as well as its
storage.
2. Accuracy: - The level of accuracy in the proposed system will be
higher. All operation would be done correctly and it ensures that
whatever information is coming from the center is accurate.
3. Reliability: - The reliability of the proposed system will be high
due to the above stated reasons. The reason for the increased reliability
of the system is that now there would be proper storage of information.
4. No Redundancy: - In the proposed system utmost care would be
that no information is repeated anywhere, in storage or otherwise.
This would assure economic use of storage space and consistency in the
data stored.
5. Immediate retrieval of information: - The main objective of
proposed system is to provide for a quick and efficient retrieval of
information. Any type of information would be available whenever the
user requires.
6. Immediate storage of information: - In manual system there
are many problems to store the largest amount of information.
7. Easy to Operate: - The system should be easy to operate and should
be such that it can be developed within a short period of time and fit in
the limited budget of the user.
16
HOSPITAL MANAGEMENT SYSTEM
Background
A Hospital is a place where Patients come up for general diseases.
Hospitals provide facilities like:-
Consultation by Doctors on Diseases. Diagnosis for diseases.
Providing treatment facility.
Facility for admitting Patients (providing beds, nursing, medicines
etc.) Immunization for Patients/Children.
Various operational works that are done in a Hospital are:-
Recording information about the Patients that come.
Generating bills.
Recording information related to diagnosis given to Patients.
Keeping record of the Immunization provided to children/patients.
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.
The work is done as follows:-
Information about Patients is done by just writing the Patients name,
age and gender. Whenever the Patient comes up his information is
stored freshly. Bills are generated by recording price for each facility
provided to Patient on a separate sheet and at last they all are
summed up.
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.
17
HOSPITAL MANAGEMENT SYSTEM
Immunization records of children are maintained in pre-formatted
sheets, which are kept in a file.
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.
18
HOSPITAL MANAGEMENT SYSTEM
User Characteristics
Every user should be:
Comfortable of working with computer.
He must have knowledge in medical field.
He must also have basic knowledge of English too.
Constraints
GUI is only in English.
Login and password is used for identification of user and there is no
facility for guest.
19
HOSPITAL MANAGEMENT SYSTEM
SYSTEM REQUIREMENT
SPECIFICATION
20
HOSPITAL MANAGEMENT SYSTEM
Software Requirement
Development Side
Microsoft xp service pack 2 or upwards
Sql Server 2008
MS Office 2007
MS Visual Studio 2008
Crystal report 9.0 on later
Client Side
Microsoft xp service pack 2 or upwards
Sql Server 2008 Microsoft .Net Framework 3.5
Hardware Requirement
Development Side
CPU : Pentium-IV processor or any processor.
HARDDISK : 40 GB or above.
RAM : 256 MB or above.
Client Side
CPU : Pentium-IV processor or any processor.
HARDDISK : 40 GB or above.
RAM : 256 MB or above.
DEVICE : printer
21
HOSPITAL MANAGEMENT SYSTEM
PROBLEM
IDENTIFICATION
22
HOSPITAL MANAGEMENT SYSTEM
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 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 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
registers.
23
HOSPITAL MANAGEMENT SYSTEM
Existing System
The existing Hospital System is manual system. The main drawback of
the existing system is time consumption. There are number of records
and hence a larger number of registers have to be kept to the store.
This document required more storing space, more manpower and job
become tedious.
In Existing system following points are observed:
chances of errors and data processing time
Timely Due to manual process, required more time to complete
user requirement
It will increase updating is complicated.
Security of data were not maintain
Definitions of problems
Problems with conventional system
1. 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 inconvenience and wastage of time.
2. Lack of immediate information storage: - The information
generated by various transactions takes time and efforts to be stored at
right place.
3. Lack of prompt updating: - Various changes to information like
patient details or immunization details of child are difficult to make as
24
HOSPITAL MANAGEMENT SYSTEM
paper work is involved.
4. 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.
5. Preparation of accurate and prompt reports: - This becomes a
difficult task as information is difficult to collect from various registers.
25
HOSPITAL MANAGEMENT SYSTEM
Need For The New System
Alternative Solutions
1. Improved Manual System:-
One of the alternative solutions is the improvement of the manual system.
Anything, which can be done by using automated methods, can be done
manually. But the question arises how to perform thing manually in a
sound manner. Following are some suggestions, which can be useful in the
manual system.
A more sophisticate register maintenance for various Patient Information,
Doctor diary, Immunization Details and a good system for writing bill
amount employees and stock availed for the customers can be maintained
at central place.
Adequate staff may be maintained so that updations are made at the very
moment at the same time. Proper person for proper work should be made
responsible so that a better efficiency could be achieved. This needs a lot
of work force.
2. Batch System:-
Another alternative solution can be used of computer based batch system
for maintaining the information regarding purchase details, customers and
employees. A batch system refers to a system in which data is processed
in a periodical basis.
The batch system is able to achieve most of the goals and sub goals. But a
batch system data is processed in sequential basis. Therefore batch
system is not suggested.
26
HOSPITAL MANAGEMENT SYSTEM
3. Online System:-
This system (HMS) provides online storage/ updations and retrieval
facility. This system promises very less or no paper work and also provides
help to Doctor and operational staff.
In this system everything is stored electronically so very less amount of
paper work is required and information can be retrieved very easily
without searching here and there into registers. This system is been
discussed here.
The existing of Hospital is manually which require more paper work
so it needs to computerized the system to get following benefits.
Computer enhances easy and simple means of Storing information.
The space occupied for storing of information is reduced.
Computers helps in fast retrieval of information .we can search
information in a short of time.
Maintenance of data is very easy and workload is reduced.
It’s a paperless system.
We can generate report on demand.
It will give faster modification.
27
HOSPITAL MANAGEMENT SYSTEM
SYSTEM ANALYSIS
28
HOSPITAL MANAGEMENT SYSTEM
SYSTEM ANALYSIS
Requirement analysis is a software engineering task that bridges the gap
between system engineering and software design. It provides the
software designer with a representation of information and function that
can be translated to data.
Before developing any computerized system, it is imperative to examine
initially. The problem in the exiting system and also ascertain the basic
needs that should be fulfilled by the proposed system the primary aspect
of developing a full 1 fledged automated system would be to learn the
current procedure and the information flow to locate the problem in the
exiting system to identify what recourses are used to discuss with user
and their authority as to what improvement must in the exiting system.
Definition : -
“Analysis of system is process of gathering fact, solution of problem
and to decide overall constitution of the desired system. In system
analysis we have to analyze all the processes, related features, required
function, available sources and the time which should be specified for the
analysis stage
The most important phase of developing any system is system
analysis. Because of the analysis phase decides that type of
requirements, materials, strangles and techniques, models are required.
All these things are depend upon our system that what type of our
output of our system to function. We desire from the system is
responsible for defining the above factors. So the overall structure of
system that we want to implement will be decided in analysis part of a
system development by analyst.
29
HOSPITAL MANAGEMENT SYSTEM
Preliminary
Investigation
30
HOSPITAL MANAGEMENT SYSTEM
Preliminary Investigation
Interviewing
The information is collected from system leader by interviewing to
them a took suggesting from end user as per their requirement.
Visiting For Clarification, Visited To Chahuan Hospital,Kotli.
Questionnaires
By asking possible question to the system leader at the time of interview
some questionnaires to collect the required information.
31
HOSPITAL MANAGEMENT SYSTEM
Feasibility Study
32
HOSPITAL MANAGEMENT SYSTEM
Depending on the results of the initial investigation the survey is now
expanded to a more detailed feasibility study. “FEASIBILITY STUDY” is a test of
system proposal according to its workability, impact of the organization, ability to
meet needs and effective use of the resources. It focuses on these major
questions:
What are the user’s demonstrable needs and how does
a candidate system meet them?
What resources are available for given candidate
system?
What are the likely impacts of the candidate system on
the organization?
Whether it is worth to solve the problem?
During feasibility analysis for this project, following
primary areas of interest are to be considered.
Investigation and generating ideas about a new system
does this.
Steps in feasibility analysis : Eight steps involved in the feasibility analysis are:
1) Form a project team and appoint a project leader.
2) Prepare system flowcharts.
3) Enumerate potential proposed system.
4) Define and identify characteristics of proposed system.
5) Determine and evaluate performance and cost effective of
each proposed system.
6) Weight system performance and cost data.
7) Select the best-proposed system.
8) Prepare and report final project directive to management.
Technical feasibility
A study of resource availability that may affect the ability to achieve an acceptable
system. This evaluation determines whether the technology needed for the
proposed system is available or not.
1) Can the work for the project be done with current
equipment existing software technology & available
personal?
33
HOSPITAL MANAGEMENT SYSTEM
2) Can the system be upgraded if developed?
3) If new technology is needed then what can be
developed?
4) This is concerned with specifying equipment and software
that will successfully satisfy the user requirement.
The technical needs of the system may include:
Front-end and back-end selection
An important issue for the development of a project is the selection of suitable
front-end and back-end. When we decided to develop the project we went through
an extensive study to determine the most suitable platform that suits the needs of
the organization as well as helps in development of the project. The aspects of our
study included the following factors.
Front-end selection:
1) It must have a graphical user interface that assists
employees that are not from IT background.
2) Scalability and extensibility.
3) Flexibility.
4) Robustness.
5) According to the organization requirement and the culture.
6) Must provide excellent reporting features with good printing
support.
7) Platform independent.
8) Easy to debug and maintain.
9) Event driven programming facility.
10) Front end must support some popular back end like Ms
Access. According to the above stated features we selected
VB6.0 as the front-end for developing our project. Hospital
Management System
34
HOSPITAL MANAGEMENT SYSTEM
Back-end Selection:
1) Multiple user support.
2) Efficient data handling.
3) Provide inherent features for security.
4) Efficient data retrieval and maintenance.
5) Stored procedures.
6) Popularity.
7) Operating System compatible.
8) Easy to install.
9) Various drivers must be available.
10) Easy to implant with the Front-end.
According to above stated features we selected Ms-Access as the
backend. The technical feasibility is frequently the most difficult area
encountered at this stage. It is essential that the process of analysis and
definition be conducted in parallel with an assessment to technical
feasibility. It centers on the existing computer system (hardware,
software etc.) and to what extent it can support the proposed system.
35
HOSPITAL MANAGEMENT SYSTEM
Economical feasibility
Economic justification is generally the “Bottom Line” consideration for most
systems. 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. The financial and
the economic questions during the preliminary investigation are verified to
estimate the following:
1) The cost to conduct a full system investigation.
2) The cost of hardware and software for the class of
application being considered.
3) The benefits in the form of reduced cost.
4) The proposed system will give the minute information, as
a result the performance is improved which in turn may be
expected to provide increased profits.
5) This feasibility checks whether the system can be
developed with the available funds. The Hospital
Management System does not require enormous amount of
money to be developed. This can be done economically if
planned judicially, so it is economically feasible. The cost of
project depends upon the number of man-hours required.
36
HOSPITAL MANAGEMENT SYSTEM
Operational Feasibility
It is mainly related to human organizations and political aspects. The points to be
considered are:
1) What changes will be brought with the system?
2) What organization structures are disturbed?
3) What new skills will be required? Do the existing staff
members have these skills? If not, can they be trained in due
course of time?
4) The system is operationally feasible as it very easy for the
End users to operate it. It only needs basic information about
Windows platform.
Schedule feasibility
Time evaluation is the most important consideration in the development of project.
The time schedule required for the developed of this project is very important
since more development time effect machine time, cost and cause delay in the
development of other systems.
A reliable Hospital Management System can be developed in the considerable
amount of time.
37
HOSPITAL MANAGEMENT SYSTEM
Problem
Analysis
38
HOSPITAL MANAGEMENT SYSTEM
Problem Analysis
We are asked some question for good requirement those are as
follow :
What is the addition functionality you want in the system?
What are the problems you face in the existing system?
What are you expectation with the system?
How do you manage to do this work manually?
Is there anything else that wants to specify?
What the help of analysis we tried out to reduce the communication gap
between the user and us.
39
HOSPITAL MANAGEMENT SYSTEM
System Development
Strategies
System Development Strategies
40
HOSPITAL MANAGEMENT SYSTEM
There are three distinct approaches to the development of any good
system as the point of view system analysis and design.
System development life cycle method.
Structure analysis development method.
System prototype method.
Here, starting with 1st system development life cycle method. Which
has the following activities of any system?
Preliminary investigation.
Determination of system requirement.
Design of system.
Development of software.
System testing.
Implementation and evolution.
41
HOSPITAL MANAGEMENT SYSTEM
Software Engneering
Paradigm Applied
42
HOSPITAL MANAGEMENT SYSTEM
Software Engineering paradigm Applied
Requirements
Design
Implement
Test
Deliver
The waterfall model derivers its name due to the cascading effect
from one phase to the other as is illustrated in above fig.
In this model each phase where define starting and ending point with
identifiable deliveries to the next phase.
Note that this model is some time referred to as the linear sequential
model or the software life cycle model.
43
HOSPITAL MANAGEMENT SYSTEM
The waterfall diagram is basically divided into following 5 models.
Requirement
Design
Implementation
Verification
Maintenance
Requirement
In the requirement phase the need to create the application is
specified what is the need of the system is defined.
What information to be feeder to create the application will come
under the requirement phase?
Design
After the requirement phase the next phase is the design phase where
the application is designed according the forms and other modules
created.
Implementation
Implementation is the process of having a system personnel phase check
out and put new equipment into use, train user, install new application
and construct any file of data need to use it.
Verification
After the whole application is being developed the main phase is
verification phase where the whole application tested and verifies to
check the whole application
Maintenance
After the successful verification of the application the main phase is the
maintenance where the application needs to be maintained for its
successful operation in future.
44
HOSPITAL MANAGEMENT SYSTEM
INFORMATION
GATHERING
45
HOSPITAL MANAGEMENT SYSTEM
Information Gathering
Information from field
The main information of this system is gathering from the
Chuhan Medicity [Link]
The error of this system are seen the studied. Because of this error we need
necessary to develop.
This type of system :
The system mainly develop for organize for remove the paper work.
Other detail are given to us from lecturer of our institute
Information from books:
The detail of designing of coding of this system are viewed from the “The
complete reference of net programming book “, Master in [Link].
46
HOSPITAL MANAGEMENT SYSTEM
System Flow
Diagram
47
HOSPITAL MANAGEMENT SYSTEM
48
HOSPITAL MANAGEMENT SYSTEM
Data Dictionary
49
HOSPITAL MANAGEMENT SYSTEM
50
HOSPITAL MANAGEMENT SYSTEM
51
HOSPITAL MANAGEMENT SYSTEM
52
HOSPITAL MANAGEMENT SYSTEM
53
HOSPITAL MANAGEMENT SYSTEM
54
HOSPITAL MANAGEMENT SYSTEM
55
HOSPITAL MANAGEMENT SYSTEM
SCREEN DESIGN
56
HOSPITAL MANAGEMENT SYSTEM
LOGIN FORM
THIS IS LOGIN FORM. WHICH IS USED TO PROVIDE PERSON TO
INCLUDE HIS/HER SELF?
THIS IS FOR EXITING PERSON HOW WANTS TO USE PROVIDED
SERVICE. IN OUR LOGIN FORM ONE TYPES OF THE USER LIKE USER ARE
[Link] FORM IS SELECT ADMINISTRATOR AND GIVES USER ARE
[Link] THE USER NAME AND PASSWORD ARE CORRECT THEN WILL
BE OPEN THE APPLICATION.
57
HOSPITAL MANAGEMENT SYSTEM
HOSPITAL MASTER
IF USER LOGIN. THIS MAIN FORM WILL BE OPEN AND USER HAVE
FOLLOWING WRITES:
SAVE RECORD IN DATABASE
UPDATE RECORD
DELETE RECORD AND E.T.C.
58
HOSPITAL MANAGEMENT SYSTEM
ROUTINE CHEKUP
59
HOSPITAL MANAGEMENT SYSTEM
PATIENT INFORMATION
THIS FORM IS DISPLAING THE INFORMATION ABOUT DIFFERENT TYPES
OF PATIENTS.
60
HOSPITAL MANAGEMENT SYSTEM
DOCTOR INFORMATION
THIS FORM IS DISPLAYING THE INFORMATION ABOUT DOCTORS
61
HOSPITAL MANAGEMENT SYSTEM
SISTER/WARDBOY INFORMATION
THIS FORM IS DISPLAYING THE INFORMATION ABOUT DIFFERENT
SISTERS/WARDBOY
62
HOSPITAL MANAGEMENT SYSTEM
DISCHARGE INFORMATION
THIS FORM IS DISPLAYING THE INFORMATION ABOUT DISCHARGE
PATIENT.
63
HOSPITAL MANAGEMENT SYSTEM
BILL INFORMATION
THIS FORM IS DISPLAYING THE INFORMATION ABOUT BILL OF
PATIENT.
64
HOSPITAL MANAGEMENT SYSTEM
CODING
65
HOSPITAL MANAGEMENT SYSTEM
FORM LOGIN
Imports [Link]
Public Class frmLogin
Inherits [Link]
#Region " Windows Form Designer generated code "
Public Sub New()
[Link]()
'This call is required by the Windows Form
Designer.
InitializeComponent()
'Add any initialization after the
InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component
list.
Protected Overloads Overrides Sub Dispose(ByVal
disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
[Link]()
End If
End If
[Link](disposing)
End Sub
'Required by the Windows Form Designer
Private components As
[Link]
Friend WithEvents Label1 As
[Link]
Friend WithEvents PictureBox1 As
[Link]
Friend WithEvents Label2 As
[Link]
Friend WithEvents txt_Username As
[Link]
Friend WithEvents txt_Password As
[Link]
66
HOSPITAL MANAGEMENT SYSTEM
Friend WithEvents btnOK As
[Link]
Friend WithEvents btnCancel As
[Link]
Friend WithEvents SB_Login As
[Link]
<[Link]()> Private
Sub InitializeComponent()
Dim resources As [Link]
= New [Link](GetType(frmLogin))
Me.Label1 = New [Link]()
Me.PictureBox1 = New
[Link]()
Me.Label2 = New [Link]()
Me.txt_Username = New
[Link]()
Me.txt_Password = New
[Link]()
[Link] = New [Link]()
[Link] = New [Link]()
Me.SB_Login = New
[Link]()
[Link]()
'
'Label1
'
[Link] = New
[Link]("Tahoma", 14.25!,
[Link],
[Link], CType(0, Byte))
[Link] = [Link]
[Link] = New
[Link](184, 64)
[Link] = "Label1"
[Link] = New [Link](120, 32)
[Link] = 0
[Link] = "User Name"
'
'PictureBox1
'
[Link] =
[Link]
[Link] =
CType([Link]("[Link]"),
[Link])
[Link] = New
[Link](16, 48)
[Link] = "PictureBox1"
[Link] = New
[Link](144, 144)
[Link] = 1
67
HOSPITAL MANAGEMENT SYSTEM
[Link] = False
'
'Label2
'
[Link] = New
[Link]("Tahoma", 14.25!,
[Link],
[Link], CType(0, Byte))
[Link] = [Link]
[Link] = New
[Link](184, 120)
[Link] = "Label2"
[Link] = New [Link](112, 24)
[Link] = 2
[Link] = "Password"
'
'txt_Username
'
Me.txt_Username.Location = New
[Link](320, 64)
Me.txt_Username.Name = "txt_Username"
Me.txt_Username.Size = New
[Link](128, 20)
Me.txt_Username.TabIndex = 1
Me.txt_Username.Text = ""
'
'txt_Password
'
Me.txt_Password.Font = New
[Link]("Microsoft Sans Serif", 9.75!,
[Link],
[Link], CType(0, Byte))
Me.txt_Password.Location = New
[Link](320, 120)
Me.txt_Password.Name = "txt_Password"
Me.txt_Password.PasswordChar =
[Link](42)
Me.txt_Password.Size = New
[Link](128, 22)
Me.txt_Password.TabIndex = 2
Me.txt_Password.Text = ""
'
'btnOK
'
[Link] =
[Link]
[Link] = New [Link](240,
192)
[Link] = "btnOK"
[Link] = New [Link](72, 32)
[Link] = 3
68
HOSPITAL MANAGEMENT SYSTEM
[Link] = "OK"
'
'btnCancel
'
[Link] =
[Link]
[Link] = New
[Link](360, 192)
[Link] = "btnCancel"
[Link] = New [Link](72,
32)
[Link] = 4
[Link] = "Cancel"
'
'SB_Login
'
Me.SB_Login.Font = New
[Link]("Tahoma", 9.75!,
[Link])
Me.SB_Login.Location = New
[Link](0, 248)
Me.SB_Login.Name = "SB_Login"
Me.SB_Login.Size = New [Link](474,
32)
Me.SB_Login.TabIndex = 7
Me.SB_Login.Text = "Attempt : "
'
'frmLogin
'
[Link] = New [Link](5,
13)
[Link] = [Link]
[Link] = New [Link](474, 280)
[Link](New
[Link]() {Me.SB_Login,
[Link], [Link], Me.txt_Password, Me.txt_Username,
Me.Label2, Me.PictureBox1, Me.Label1})
[Link] =
[Link]
[Link] =
CType([Link]("$[Link]"),
[Link])
[Link] = False
[Link] = False
[Link] = "frmLogin"
[Link] =
[Link]
[Link] = "Login"
[Link](False)
End Sub
69
HOSPITAL MANAGEMENT SYSTEM
#End Region
#Region "Variable"
Public Shared counter As Integer = 3
Dim str As String = "Attempt : "
#End Region
#Region "All button event"
Private Sub btnOK_Click(ByVal sender As
[Link], ByVal e As [Link]) Handles
[Link]
If txt_Username.Text = "hospital" And
txt_Password.Text = "user" Then
[Link]()
Dim r0 As String
Dim Flag_constr As String =
70
HOSPITAL MANAGEMENT SYSTEM
FORM MAIN
'hospital
'696, 689
'form size=880, 780
Imports [Link]
Public Class frmMain
Inherits [Link]
#Region "Public variable"
Public Shared flag As Integer
#End Region
#Region " Windows Form Designer generated code "
Public Sub New()
[Link]()
'This call is required by the Windows Form
Designer.
InitializeComponent()
'Add any initialization after the
InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component
list.
Protected Overloads Overrides Sub Dispose(ByVal
disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
[Link]()
End If
End If
[Link](disposing)
End Sub
'Required by the Windows Form Designer
Private components As
[Link]
71
HOSPITAL MANAGEMENT SYSTEM
'NOTE: The following procedure is required by the
Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents pnlMain As
[Link]
Friend WithEvents pnlContent As
[Link]
Friend WithEvents btnRoutineCheckup As
[Link]
Friend WithEvents btnAdmitpatient As
[Link]
Friend WithEvents btnAddDoctor As
[Link]
Friend WithEvents btnAddsisboy As
[Link]
Friend WithEvents btnDischargePatient As
[Link]
Friend WithEvents pnlShowlist As
[Link]
Friend WithEvents btnBill As
[Link]
Friend WithEvents mnuF As
[Link]
Friend WithEvents mnuF_File As
[Link]
Friend WithEvents mnuH As
[Link]
Friend WithEvents mnuH_Help As
[Link]
Friend WithEvents mnuH_About As
[Link]
Friend WithEvents tmr_SB As
[Link]
Friend WithEvents btnCalculator As
[Link]
Friend WithEvents btnNotepad As
[Link]
Friend WithEvents imgList_Icon As
[Link]
Friend WithEvents btnEmail As
[Link]
Friend WithEvents mnuT As
[Link]
Friend WithEvents mnuT_Calculator As
[Link]
Friend WithEvents mnuT_Notepad As
[Link]
Friend WithEvents mnuT_Email As
[Link]
72
HOSPITAL MANAGEMENT SYSTEM
Friend WithEvents btnBed As
[Link]
Friend WithEvents lblDetails As
[Link]
Friend WithEvents Label1 As
[Link]
Friend WithEvents mnuF_Exit As
[Link]
Friend WithEvents SB_Main As
[Link]
Friend WithEvents SBP1_Status As
[Link]
Friend WithEvents SBP2_Today As
[Link]
Friend WithEvents SBP3_Date As
[Link]
Friend WithEvents SBP4_Time As
[Link]
Friend WithEvents SBP5_Showtime As
[Link]
<[Link]()> Private Sub
END SUB
73
HOSPITAL MANAGEMENT SYSTEM
FORM DOCTOR
Imports [Link]
Imports [Link]
Public Class frmDoctor
Inherits [Link]
#Region " Windows Form Designer generated code "
Public Sub New()
[Link]()
'This call is required by the Windows Form
Designer.
InitializeComponent()
'Add any initialization after the
InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component
list.
Protected Overloads Overrides Sub Dispose(ByVal
disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
[Link]()
End If
End If
[Link](disposing)
End Sub
'Required by the Windows Form Designer
Private components As
[Link]
'NOTE: The following procedure is required by the
Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents DTP_DOJ As
[Link]
Friend WithEvents txtPhone As
[Link]
Friend WithEvents txtName As
[Link]
Friend WithEvents txtID As
[Link]
74
HOSPITAL MANAGEMENT SYSTEM
Friend WithEvents Label5 As
[Link]
Friend WithEvents Label4 As
[Link]
Friend WithEvents Label3 As
[Link]
Friend WithEvents Label2 As
[Link]
Friend WithEvents Label1 As
[Link]
Friend WithEvents GB_Doctor As
[Link]
Friend WithEvents GB_DoctorView As
[Link]
Friend WithEvents LV_DoctorView As
[Link]
Friend WithEvents btnCustomprint As
[Link]
Friend WithEvents btnExcel As
[Link]
Friend WithEvents btnSearch As
[Link]
Friend WithEvents GroupBox1 As
[Link]
Friend WithEvents GroupBox2 As
[Link]
Friend WithEvents GroupBox3 As
[Link]
Friend WithEvents btnCancel As
[Link]
Friend WithEvents btnSaveDoctor As
[Link]
Friend WithEvents btnDeleteDoctor As
[Link]
Friend WithEvents btnUpdateDoctor As
[Link]
Friend WithEvents btnAddDoctor As
[Link]
Friend WithEvents RtxtAddress As
[Link]
<[Link]()> Private
Sub InitializeComponent()
Me.GB_Doctor = New
[Link]()
Me.GroupBox3 = New
[Link]()
[Link] = New [Link]()
[Link] = New
[Link]()
[Link] = New
[Link]()
75
HOSPITAL MANAGEMENT SYSTEM
[Link] = New
[Link]()
[Link] = New
[Link]()
Me.DTP_DOJ = New
[Link]()
[Link] = New [Link]()
[Link] = New [Link]()
[Link] = New [Link]()
Me.Label5 = New [Link]()
Me.Label4 = New [Link]()
Me.Label3 = New [Link]()
Me.Label2 = New [Link]()
Me.Label1 = New [Link]()
[Link] = New
[Link]()
[Link] = New [Link]()
[Link] = New [Link]()
[Link] = New
[Link]()
Me.GB_DoctorView = New
[Link]()
Me.LV_DoctorView = New
[Link]()
Me.GroupBox1 = New
[Link]()
Me.GroupBox2 = New
[Link]()
Me.GB_Doctor.SuspendLayout()
[Link]()
Me.GB_DoctorView.SuspendLayout()
[Link]()
[Link]()
[Link]()
'
'GB_Doctor
'
Me.GB_Doctor.[Link](New
[Link]() {Me.GroupBox3, Me.DTP_DOJ,
[Link], [Link], [Link], Me.Label5, Me.Label4,
Me.Label3, Me.Label2, Me.Label1, [Link]})
Me.GB_Doctor.Location = New
[Link](16, 16)
Me.GB_Doctor.Name = "GB_Doctor"
Me.GB_Doctor.Size = New [Link](504,
296)
Me.GB_Doctor.TabIndex = 0
Me.GB_Doctor.TabStop = False
Me.GB_Doctor.Text = "Doctor Detail"
'
'GroupBox3
76
HOSPITAL MANAGEMENT SYSTEM
'
[Link](New
[Link]() {[Link],
[Link], [Link], [Link],
[Link]})
[Link] = New
[Link](328, 48)
[Link] = "GroupBox3"
[Link] = New [Link](136,
208)
[Link] = 31
[Link] = False
[Link] = "Transaction"
'
'btnCancel
'
[Link] =
[Link]
[Link] = New
[Link](24, 160)
[Link] = "btnCancel"
[Link] = New [Link](88,
23)
[Link] = 9
[Link] = "Cancel"
'
'btnSaveDoctor
'
[Link] =
[Link]
[Link] = New
[Link](24, 128)
[Link] = "btnSaveDoctor"
[Link] = New
[Link](88, 23)
[Link] = 8
[Link] = "Save Doctor"
'
'btnDeleteDoctor
'
[Link] =
[Link]
[Link] = New
[Link](24, 96)
[Link] = "btnDeleteDoctor"
[Link] = New
[Link](88, 23)
[Link] = 7
[Link] = "Delete Doctor"
'
'btnUpdateDoctor
77
HOSPITAL MANAGEMENT SYSTEM
'
[Link] =
[Link]
[Link] = New
[Link](24, 64)
[Link] = "btnUpdateDoctor"
[Link] = New
[Link](88, 23)
[Link] = 6
[Link] = "Edit Doctor"
'
'btnAddDoctor
'
[Link] =
[Link]
[Link] = New
[Link](24, 29)
[Link] = "btnAddDoctor"
[Link] = New
[Link](88, 23)
[Link] = 5
[Link] = "Add Doctor"
'
'DTP_DOJ
'
Me.DTP_DOJ.Format =
[Link]
Me.DTP_DOJ.Location = New
[Link](168, 240)
Me.DTP_DOJ.Name = "DTP_DOJ"
Me.DTP_DOJ.Size = New [Link](104,
20)
Me.DTP_DOJ.TabIndex = 4
'
'txtPhone
'
[Link] = New
[Link](168, 200)
[Link] = "txtPhone"
[Link] = 3
[Link] = ""
'
'txtName
'
[Link] = New
[Link](168, 88)
[Link] = "txtName"
[Link] = 1
[Link] = ""
'
'txtID
78
HOSPITAL MANAGEMENT SYSTEM
'
[Link] = False
[Link] = New [Link](168,
48)
[Link] = "txtID"
[Link] = True
[Link] = 20
[Link] = ""
'
'Label5
'
[Link] = New [Link](48,
240)
[Link] = "Label5"
[Link] = 19
[Link] = "Date of joining"
'
'Label4
'
[Link] = New [Link](48,
200)
[Link] = "Label4"
[Link] = 18
[Link] = "Phone"
'
'Label3
'
[Link] = New [Link](48,
128)
[Link] = "Label3"
[Link] = 17
[Link] = "Address"
'
'Label2
'
[Link] = New [Link](48,
88)
[Link] = "Label2"
[Link] = 16
[Link] = "Name"
'
'Label1
'
[Link] = New [Link](48,
48)
[Link] = "Label1"
[Link] = 15
[Link] = "ID"
'
'RtxtAddress
'
79
HOSPITAL MANAGEMENT SYSTEM
[Link] = New
[Link](168, 120)
[Link] = True
[Link] = "RtxtAddress"
[Link] =
[Link]
[Link] = New
[Link](100, 56)
[Link] = 2
[Link] = ""
'
'btnSearch
'
[Link] =
[Link]
[Link] = New
[Link](24, 32)
[Link] = "btnSearch"
[Link] = 11
[Link] = "Search"
'
'btnExcel
'
[Link] =
[Link]
[Link] = New
[Link](24, 72)
[Link] = "btnExcel"
[Link] = 12
[Link] = "Excel"
'
'btnCustomprint
80
HOSPITAL MANAGEMENT SYSTEM
FORM DISCHARGE
Imports [Link]
Public Class frmDischarge
Inherits [Link]
#Region " Windows Form Designer generated code "
Public Sub New()
[Link]()
'This call is required by the Windows Form
Designer.
InitializeComponent()
'Add any initialization after the
InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component
list.
Protected Overloads Overrides Sub Dispose(ByVal
disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
[Link]()
End If
End If
[Link](disposing)
End Sub
'Required by the Windows Form Designer
Private components As
[Link]
'NOTE: The following procedure is required by the
Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents GroupBox1 As
[Link]
Friend WithEvents Label14 As
[Link]
Friend WithEvents Label13 As
[Link]
Friend WithEvents txtBedCharge As
[Link]
81
HOSPITAL MANAGEMENT SYSTEM
Friend WithEvents Label10 As
[Link]
Friend WithEvents Label9 As
[Link]
Friend WithEvents Label8 As
[Link]
Friend WithEvents Label7 As
[Link]
Friend WithEvents Label6 As
[Link]
Friend WithEvents Label5 As
[Link]
Friend WithEvents Label4 As
[Link]
Friend WithEvents Label3 As
[Link]
Friend WithEvents Label2 As
[Link]
Friend WithEvents Label1 As
[Link]
Friend WithEvents txtDisease As
[Link]
Friend WithEvents txtphone As
[Link]
Friend WithEvents txtAge As
[Link]
Friend WithEvents txtPatiname As
[Link]
Friend WithEvents txtRegno As
[Link]
Friend WithEvents Label11 As
[Link]
Friend WithEvents Label12 As
[Link]
Friend WithEvents GroupBox2 As
[Link]
Friend WithEvents LV_Discharge As
[Link]
Friend WithEvents GroupBox3 As
[Link]
Friend WithEvents btnDeleteRegistration As
[Link]
Friend WithEvents GroupBox4 As
[Link]
Friend WithEvents btnSearch As
[Link]
Friend WithEvents btnExcel As
[Link]
Friend WithEvents GroupBox5 As
[Link]
82
HOSPITAL MANAGEMENT SYSTEM
Friend WithEvents btnCustomprint As
[Link]
Friend WithEvents Rtxt_Remark As
[Link]
Friend WithEvents RtxtAddress As
[Link]
Friend WithEvents CB_BedCategory As
[Link]
Friend WithEvents CB_Bedno As
[Link]
Friend WithEvents DTP_date As
[Link]
Friend WithEvents CB_Bloodgp As
[Link]
Friend WithEvents cbDoctor As
[Link]
Friend WithEvents DTP_DOD As
[Link]
<[Link]()> Private
Sub InitializeComponent()
Me.GroupBox1 = New [Link]
Me.DTP_DOD = New [Link]
[Link] = New [Link]
Me.CB_Bloodgp = New [Link]
Me.DTP_date = New [Link]
Me.CB_Bedno = New [Link]
Me.CB_BedCategory = New
[Link]
[Link] = New [Link]
Me.Rtxt_Remark = New [Link]
Me.GroupBox3 = New [Link]
[Link] = New
[Link]
Me.Label14 = New [Link]
Me.Label13 = New [Link]
[Link] = New
[Link]
Me.Label10 = New [Link]
Me.Label9 = New [Link]
Me.Label8 = New [Link]
Me.Label7 = New [Link]
Me.Label6 = New [Link]
Me.Label5 = New [Link]
Me.Label4 = New [Link]
Me.Label3 = New [Link]
Me.Label2 = New [Link]
Me.Label1 = New [Link]
[Link] = New [Link]
[Link] = New [Link]
[Link] = New [Link]
[Link] = New [Link]
83
HOSPITAL MANAGEMENT SYSTEM
[Link] = New [Link]
Me.Label11 = New [Link]
Me.Label12 = New [Link]
Me.GroupBox2 = New [Link]
Me.LV_Discharge = New
[Link]
Me.GroupBox4 = New [Link]
[Link] = New [Link]
[Link] = New [Link]
Me.GroupBox5 = New [Link]
[Link] = New
[Link]
[Link]()
[Link]()
[Link]()
[Link]()
[Link]()
[Link]()
'
'GroupBox1
'
[Link] =
[Link]
[Link](Me.DTP_DOD)
[Link]([Link])
[Link](Me.CB_Bloodgp)
[Link](Me.DTP_date)
[Link](Me.CB_Bedno)
[Link](Me.CB_BedCategory)
[Link]([Link])
[Link](Me.Rtxt_Remark)
[Link](Me.GroupBox3)
[Link](Me.Label14)
[Link](Me.Label13)
[Link]([Link])
[Link](Me.Label10)
[Link](Me.Label9)
[Link](Me.Label8)
[Link](Me.Label7)
[Link](Me.Label6)
[Link](Me.Label5)
[Link](Me.Label4)
[Link](Me.Label3)
[Link](Me.Label2)
[Link](Me.Label1)
[Link]([Link])
[Link]([Link])
[Link]([Link])
[Link]([Link])
[Link]([Link])
[Link](Me.Label11)
84
HOSPITAL MANAGEMENT SYSTEM
[Link](Me.Label12)
[Link] = New
[Link](16, 8)
[Link] = "GroupBox1"
[Link] = New [Link](512,
504)
[Link] = 0
[Link] = False
[Link] = "Patient Detail"
'
END SUB
85
HOSPITAL MANAGEMENT SYSTEM
FORM BILL
[Link]
[Link] = New
[Link](32, 40)
[Link] =
"btnDeleteRegistration"
[Link] = New
[Link](112, 32)
[Link] = 15
[Link] = "Delete"
'
'Label14
'
[Link] = New
[Link](40, 472)
[Link] = "Label14"
[Link] = New [Link](100,
23)
[Link] = 151
[Link] = "Discharge Date"
'
'Label13
'
[Link] = New
[Link](40, 120)
[Link] = "Label13"
[Link] = New [Link](100,
23)
[Link] = 150
[Link] = "Bed Charge/Day"
'
'txtBedCharge
'
[Link] = New
[Link](160, 120)
[Link] = "txtBedCharge"
[Link] = True
[Link] = New
[Link](104, 20)
[Link] = 4
'
'Label10
'
[Link] = New
[Link](40, 432)
[Link] = "Label10"
86
HOSPITAL MANAGEMENT SYSTEM
[Link] = New [Link](100,
23)
[Link] = 144
[Link] = "Remarks"
'
'Label9
'
[Link] = New [Link](40,
360)
[Link] = "Label9"
[Link] = New [Link](100, 23)
[Link] = 143
[Link] = "Blood Group"
'
'Label8
'
[Link] = New [Link](40,
392)
[Link] = "Label8"
[Link] = New [Link](100, 23)
[Link] = 140
[Link] = "Doctor"
'
'Label7
'
[Link] = New [Link](40,
328)
[Link] = "Label7"
[Link] = New [Link](100, 23)
[Link] = 139
[Link] = "Disease"
'
'Label6
'
[Link] = New [Link](40,
296)
[Link] = "Label6"
[Link] = New [Link](100, 23)
[Link] = 138
[Link] = "Date"
'
'Label5
'
[Link] = New [Link](40,
264)
[Link] = "Label5"
[Link] = New [Link](100, 23)
[Link] = 137
[Link] = "Phone No"
'
'Label4
87
HOSPITAL MANAGEMENT SYSTEM
'
[Link] = New [Link](40,
216)
[Link] = "Label4"
[Link] = New [Link](100, 23)
[Link] = 136
[Link] = "Address"
'
'Label3
'
[Link] = New [Link](40,
184)
[Link] = "Label3"
[Link] = New [Link](100, 23)
[Link] = 135
[Link] = "Age"
'
'Label2
'
[Link] = New [Link](40,
152)
[Link] = "Label2"
[Link] = New [Link](100, 23)
[Link] = 134
[Link] = "Patient Name"
'
'Label1
'
[Link] = New [Link](40,
24)
[Link] = "Label1"
[Link] = New [Link](100, 23)
[Link] = 133
[Link] = "Registration No"
'
END BUTTON()
END SUB
88
HOSPITAL MANAGEMENT SYSTEM
FORM PATIENT
Imports [Link]
Imports [Link]
Public Class frmAdmitPatient
Inherits [Link]
#Region " Windows Form Designer generated code "
Public Sub New()
[Link]()
'This call is required by the Windows Form
Designer.
InitializeComponent()
'Add any initialization after the
InitializeComponent() call
'code for filling the combobox of doctors
Dim r1 As String
Dim FillcbDoctor_constr As String =
"Provider=[Link].4.0;Data Source=c:\[Link]"
Dim FillcbDoctor_cmdstr As String = "select *
from Doctors"
'Dim Fill_Textbox_cmdstr As String = "select *
from clinicpatients"
Dim FillcbDoctor_con As New
OleDbConnection(FillcbDoctor_constr)
Dim FillcbDoctor_com As New
OleDbCommand(FillcbDoctor_cmdstr, FillcbDoctor_con)
FillcbDoctor_con.Open()
Dim FillcbDoctor_DR As OleDbDataReader =
FillcbDoctor_com.ExecuteReader
While FillcbDoctor_DR.Read
'r0 = insert_DR(0)
r1 = FillcbDoctor_DR(1)
[Link](r1)
End While
FillcbDoctor_con.Close() 'code end
End Sub
'Form overrides dispose to clean up the component
list.
89
HOSPITAL MANAGEMENT SYSTEM
Protected Overloads Overrides Sub Dispose(ByVal
disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
[Link]()
End If
End If
[Link](disposing)
End Sub
'Required by the Windows Form Designer
Private components As
[Link]
'NOTE: The following procedure is required by the
Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents GrpBox_PatiInfo As
[Link]
Friend WithEvents cbDoctor As
[Link]
Friend WithEvents Label8 As
[Link]
Friend WithEvents Label7 As
[Link]
Friend WithEvents Label6 As
[Link]
Friend WithEvents Label5 As
[Link]
Friend WithEvents Label4 As
[Link]
Friend WithEvents Label3 As
[Link]
Friend WithEvents Label2 As
[Link]
Friend WithEvents Label1 As
[Link]
Friend WithEvents txtDisease As
[Link]
Friend WithEvents txtphone As
[Link]
Friend WithEvents txtAge As
[Link]
Friend WithEvents txtPatiname As
[Link]
Friend WithEvents txtRegno As
[Link]
Friend WithEvents GB_PatientView As
[Link]
90
HOSPITAL MANAGEMENT SYSTEM
Friend WithEvents Label9 As
[Link]
Friend WithEvents Label10 As
[Link]
Friend WithEvents btnSaveRegistration As
[Link]
Friend WithEvents btnCancelRegistration As
[Link]
Friend WithEvents btnEditRegistration As
[Link]
Friend WithEvents btnRegisterPatient As
[Link]
Friend WithEvents RtxtAddress As
[Link]
Friend WithEvents Rtxt_Remark As
[Link]
<[Link]()> Private
Sub InitializeComponent()
Me.GrpBox_PatiInfo = New
[Link]()
Me.Rtxt_Remark = New
[Link]()
[Link] = New
[Link]()
Me.GroupBox3 = New
[Link]()
[Link] = New
[Link]()
[Link] = New
[Link]()
[Link] = New
[Link]()
[Link] = New
[Link]()
[Link] = New
[Link]()
Me.Label13 = New [Link]()
[Link] = New
[Link]()
Me.DTP_date = New
[Link]()
Me.Label10 = New [Link]()
Me.Label9 = New [Link]()
[Link] = New [Link]()
Me.Label8 = New [Link]()
Me.Label7 = New [Link]()
Me.Label6 = New [Link]()
Me.Label5 = New [Link]()
Me.Label4 = New [Link]()
Me.Label3 = New [Link]()
91
HOSPITAL MANAGEMENT SYSTEM
Me.Label2 = New [Link]()
Me.Label1 = New [Link]()
[Link] = New
[Link]()
[Link] = New [Link]()
[Link] = New [Link]()
[Link] = New
[Link]()
[Link] = New [Link]()
Me.CB_Bloodgp = New
[Link]()
Me.Label11 = New [Link]()
Me.Label12 = New [Link]()
Me.CB_BedCategory = New
[Link]()
Me.CB_Bedno = New [Link]()
[Link] = New [Link]()
[Link] = New [Link]()
Me.GB_PatientView = New
[Link]()
Me.LV_PatiView = New
[Link]()
Me.GroupBox1 = New
[Link]()
[Link] = New
[Link]()
Me.GroupBox2 = New
[Link]()
Me.GrpBox_PatiInfo.SuspendLayout()
[Link]()
Me.GB_PatientView.SuspendLayout()
[Link]()
[Link]()
[Link]()
'
'GrpBox_PatiInfo
'
Me.GrpBox_PatiInfo.[Link](New
[Link]() {Me.Rtxt_Remark,
[Link], Me.GroupBox3, Me.Label13,
[Link], Me.DTP_date, Me.Label10, Me.Label9,
[Link], Me.Label8, Me.Label7, Me.Label6, Me.Label5,
Me.Label4, Me.Label3, Me.Label2, Me.Label1,
[Link], [Link], [Link], [Link],
[Link], Me.CB_Bloodgp, Me.Label11, Me.Label12,
Me.CB_BedCategory, Me.CB_Bedno})
Me.GrpBox_PatiInfo.Location = New
[Link](16, 8)
Me.GrpBox_PatiInfo.Name = "GrpBox_PatiInfo"
Me.GrpBox_PatiInfo.Size = New
[Link](512, 480)
92
HOSPITAL MANAGEMENT SYSTEM
Me.GrpBox_PatiInfo.TabIndex = 4
Me.GrpBox_PatiInfo.TabStop = False
Me.GrpBox_PatiInfo.Text = "Patient Detail"
'
'Rtxt_Remark
'
Me.Rtxt_Remark.Location = New
[Link](144, 432)
Me.Rtxt_Remark.Multiline = True
Me.Rtxt_Remark.Name = "Rtxt_Remark"
Me.Rtxt_Remark.ScrollBars =
[Link]
Me.Rtxt_Remark.Size = New
[Link](100, 40)
Me.Rtxt_Remark.TabIndex = 12
Me.Rtxt_Remark.Text = ""
'
'RtxtAddress
'
[Link] = New
[Link](144, 224)
[Link] = True
[Link] = "RtxtAddress"
[Link] =
[Link]
[Link] = New
[Link](104, 40)
[Link] = 6
[Link] = ""
'
'GroupBox3
'
[Link](New
[Link]() {[Link],
[Link], [Link],
[Link], [Link]})
[Link] = New
[Link](320, 40)
[Link] = "GroupBox3"
[Link] = New [Link](176,
280)
[Link] = 69
[Link] = False
[Link] = "Transaction"
'
'btnDischarge
'
[Link] =
[Link]
[Link] = New
[Link](32, 224)
93
HOSPITAL MANAGEMENT SYSTEM
[Link] = "btnDischarge"
[Link] = New
[Link](112, 32)
[Link] = 18
[Link] = "Discharge Patient"
'
'btnSaveRegistration
'
[Link] =
[Link]
[Link] = New
[Link](32, 128)
[Link] =
"btnSaveRegistration"
[Link] = New
[Link](112,32)
[Link] = 16
[Link] = "Save
Registration"
'
'btnCancelRegistration
'
[Link] =
[Link]
[Link] = New
[Link](32, 176)
[Link] =
"btnCancelRegistration"
[Link] = New
[Link](112, 32)
[Link] = 17
[Link] = "Cancel
Registration"
'
'btnEditRegistration
'
[Link] =
[Link]
[Link] = New
[Link](32, 80)
[Link] =
[Link]
[Link] = New
[Link](32, 32)
[Link] = "btnRegisterPatient"
[Link] = New
[Link](112, 32)
94
HOSPITAL MANAGEMENT SYSTEM
FORM WARDBOY/SISTER
#Region "Function for binding textbox with record"
'code for binding text box with 1st record of table
Sub Fill_Textbox_Admit()
Dim r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10,
r11, r12 As String
Dim Fill_Textbox_constr As String =
"Provider=[Link].4.0;Data Source=c:\[Link]"
'Dim Fill_Textbox_cmdstr As String = "select
Regno,Name,Age,Address,Phone,Checkupdate,Checkuptime,Dise
ase,Bloodgroup,Doctor,Remarks from clinicpatients where
Regno=1"
Dim Fill_Textbox_cmdstr As String = "select *
from admit"
Dim Fill_Textbox_con As New
OleDbConnection(Fill_Textbox_constr)
Dim insert_com As New
OleDbCommand(Fill_Textbox_cmdstr, Fill_Textbox_con)
Fill_Textbox_con.Open()
Dim insert_DR As OleDbDataReader =
insert_com.ExecuteReader
While insert_DR.Read
r0 = insert_DR(0)
r1 = insert_DR(1)
r2 = insert_DR(2)
r3 = insert_DR(3)
r4 = insert_DR(4)
r5 = insert_DR(5)
r6 = insert_DR(6)
r7 = insert_DR(7)
r8 = insert_DR(8)
r9 = insert_DR(9)
r10 = insert_DR(10)
r11 = insert_DR(11)
r12 = insert_DR(12)
Exit While
End While
Fill_Textbox_con.Close()
[Link] = r0
CB_BedCategory.Text = r1
CB_Bedno.Text = r2
[Link] = r3
[Link] = r4
[Link] = r5
[Link] = r6
95
HOSPITAL MANAGEMENT SYSTEM
[Link] = r7
If r8 = Nothing Then
DTP_date.Text = ""
Else
DTP_date.Value = r8
End If
[Link] = r9
CB_Bloodgp.Text = r10
[Link] = r11
Rtxt_Remark.Text = r12
End Sub
#End Region
#Region "All button events"
#Region "Function for deleting record"
Sub delete_Record()
Dim delete_Constr As String =
"Provider=[Link].4.0;Data Source=c:\[Link]"
Dim delete_Comstr As String
Dim delete_Con As OleDbConnection
Dim delete_Com As OleDbCommand
Dim ID As String
ID = [Link]
delete_Comstr = "Delete from admit WHERE Regno="
& ID
delete_Con = New OleDbConnection(delete_Constr)
delete_Com = New OleDbCommand(delete_Comstr,
delete_Con)
delete_Con.Open()
Try
delete_Com.ExecuteNonQuery()
MsgBox("Patient record deleted
successfully.", [Link], "Delete
Registration")
Catch ex As OleDbException
MsgBox([Link])
End Try
delete_Con.Close()
Fill_Textbox_Admit()
fill_listview()
End Sub
#End Region
#Region "Load event of frmAdmitPatient"
96
HOSPITAL MANAGEMENT SYSTEM
Private Sub frmAdmitPatient_Load(ByVal sender As
[Link], ByVal e As [Link]) Handles
[Link]
Fill_Textbox_Admit()
fill_listview()
If LV_PatiView.[Link] = 0 Then
'[Link]("There is no record to
show.", "Error", [Link],
[Link])
[Link] = True
[Link] = False
'[Link] = False
[Link] = False
[Link] = False
[Link] = False
'[Link] = False
[Link] = False
[Link] = False
[Link] = False
CB_BedCategory.Enabled = False
CB_Bedno.Enabled = False
'code when listview is empty
[Link] = True
[Link] = True
[Link] = True
[Link] = True
[Link] = True
DTP_date.Enabled = False
[Link] = True
CB_Bloodgp.Enabled = False
[Link] = False
Rtxt_Remark.ReadOnly = True
Else
[Link] = False
[Link] = False
CB_BedCategory.Enabled = False
CB_Bedno.Enabled = False
'code when listview is empty
[Link] = False
[Link] = False
[Link] = False
[Link] = False
[Link] = False
DTP_date.Enabled = True
97
HOSPITAL MANAGEMENT SYSTEM
[Link] = False
CB_Bloodgp.Enabled = True
[Link] = True
Rtxt_Remark.ReadOnly = False
End If
End Sub
#End Region
#Region "Fuction for filling Listview"
'fill listview
Sub fill_listview()
' Clear list view column headers and items
LV_PatiView.[Link]()
LV_PatiView.[Link]()
'If [Link] > 0 Then
'[Link]()
'End If
' Get SQL Query from textbox
Dim fillLV_comstr As String = "select * from
admit"
Dim fillLV_Con As New
OleDbConnection("Provider=[Link].4.0;Data
Source=c:\[Link]")
' Create Command object
Dim NewQuery As New OleDbCommand(fillLV_comstr,
fillLV_Con)
Try
' Open Connection
Try
fillLV_Con.Open()
Catch e As Exception
MsgBox([Link])
End Try
' Execute Command and Get Data
' Get column names for list view from
data reader
Dim i As Integer
For i = 0 To [Link] - 1
Dim header As New ColumnHeader()
[Link] = [Link](i)
LV_PatiView.[Link](header)
Next
98
HOSPITAL MANAGEMENT SYSTEM
' Add item to list view items
collection
LV_PatiView.[Link](NewItem)
End While
' Close data reader
[Link]()
Catch ex As OleDbException
' Create and error column header
Dim ErrorHeader As New ColumnHeader()
[Link] = "oledb Error"
LV_PatiView.[Link](ErrorHeader)
' Add Error List Item
Dim ErrorItem As New ListViewItem([Link])
LV_PatiView.[Link](ErrorItem)
Catch ex As Exception
' Create and error column header
Dim ErrorHeader As New ColumnHeader()
[Link] = "Error"
LV_PatiView.[Link](ErrorHeader)
' Add Error List Item
Dim ErrorItem As New ListViewItem("An error
has occurred")
LV_PatiView.[Link](ErrorItem)
Finally
fillLV_Con.Close()
End Try
End Sub
#End Region
#Region "Listview event"
#Region "All textbox Keypress event"
Private Sub txtBedCharge_KeyPress(ByVal sender As
Object, ByVal e As
[Link]) Handles
[Link]
If [Link]([Link]) = False Then
If [Link] = CChar(ChrW([Link])) Or
[Link] = CChar(ChrW([Link])) Then
[Link] = False
Else
[Link] = True
End If
End If
End Sub
99
HOSPITAL MANAGEMENT SYSTEM
Private Sub txtPatiname_KeyPress(ByVal sender As
Object, ByVal e As
[Link]) Handles
[Link]
If [Link]([Link]) = False Then
If [Link] = CChar(ChrW([Link])) Or
[Link] = CChar(ChrW([Link])) Then
[Link] = False
Else
[Link] = True
End If
End If
End Sub
Private Sub txtAge_KeyPress(ByVal sender As Object,
ByVal e As [Link])
Handles [Link]
If [Link]([Link]) = False Then
If [Link] = CChar(ChrW([Link])) Or
[Link] = CChar(ChrW([Link])) Then
[Link] = False
Else
[Link] = True
End If
End If
End Sub
Private Sub txtphone_KeyPress(ByVal sender As Object,
ByVal e As [Link])
Handles [Link]
If [Link]([Link]) = False Then
If [Link] = CChar(ChrW([Link])) Or
[Link] = CChar(ChrW([Link])) Then
[Link] = False
Else
[Link] = True
End If
End If
End Sub
Private Sub txtDisease_KeyPress(ByVal sender As
Object, ByVal e As
[Link]) Handles
[Link]
If [Link]([Link]) = False Then
If [Link] = CChar(ChrW([Link])) Or
[Link] = CChar(ChrW([Link])) Then
[Link] = False
Else
100
HOSPITAL MANAGEMENT SYSTEM
[Link] = True
End If
End If
End Sub
#End Region
#Region "CB_BedCategory event i.e. bed type"
101
HOSPITAL MANAGEMENT SYSTEM
Testing
&
Implementation Plan
102
HOSPITAL MANAGEMENT SYSTEM
Testing
After the preparation of our project we used it with the help of
hypothetical data. As the requirement was satisfied with these data, we
implemented the project on the original data.
The system though developed carefully, whenever it is taken in
actual use may generate errors. So the main purpose of testing is to
remove such type of runtime error and correct them. The scope of the
system test includes both manual operation and computerized
operations. We performed various system tests such as program test,
string test, and system test.
Program test:
These are designed to test the logic of program. Under this
testing, the individual forms were considered as a program and
verification was done by entering hypothetical as well as original data.
System test:
These are used to test all programs which together constitute the
system consisted of various forms. All forms are liked with each other
perfectly and make our system a perfect one.
Testing is an important part of program
development. During this stage the program is checked for
errors or bugs. The purpose of doing test is not to demonstrate
that there are no errors in the program but to detect any bug
that may exist.
103
HOSPITAL MANAGEMENT SYSTEM
It is a common misconception that the Purpose of testing is
to prove that a program is working correctly. This a dangerous
myth because it can load to insufficient testing and Program with
hidden fault.
It is very difficult to decide how much
Testing is enough. A good programmer may be able to reduce
the Number of errors in a program but he/she should know
that is impossible to develop a program that is 100% error free.
104
HOSPITAL MANAGEMENT SYSTEM
PROCESS RELATED TESTING:
TESTING AND OPTIMIZATION
Testing:-the hardest task
You can write a program in an hour that can have 50 million possible
combinations to test. The labor involved can cost fortunes. Therefore
testing is often the first thing to slip when resources stretch - but it's the
entire organization that suffers when a defect causes problems. Lost
revenue or reputation is probably the least harmful result of defects.
Measurements show that a defect discovered during design that costs $1
to rectify will cost $1,000 to repair in production. This is a tremendous
cost differential and clearly points out the advantage of early error
detection.
Testing vs. Quality Assurance
Quality Assurance is the process of making sure that the customers gets
enough of what they pay for to satisfy their needs. Testing is the means
by which we perform the process. You can test without assuring quality,
but you can't assure quality without testing. A common problem with
software quality is that the assurance is in the hands of the producers.
While the producers can certainly create and perform insightful, powerful
tests, it is perfectly possible to design tests that will churn away forever
and never discover a defect. This is the psychological temptation when
the software producers program tests to evaluate them.
105
HOSPITAL MANAGEMENT SYSTEM
Testing Levels
Software testing is usually done at several levels. They are commonly
referred to as unit testing, integration testing, and system testing.
Test Phases
There is several type of testing in a comprehensive software test
process, many of which occur simultaneously.
106
HOSPITAL MANAGEMENT SYSTEM
IMPLEMENTATION PHASE
The implementation phase involves installing approved applications
into production environments. Primary tasks include announcing the
implementation schedule, training end users, and installing the product.
Additionally, organizations should input and verify data, configure and
test system and security parameters, and conduct post-implementation
reviews. Management should circulate implementation schedules to all
affected parties and should notify users of any implementation
responsibilities.
After organizations install a product, pre-existing data is manually
input or electronically transferred to a new system. Verifying the
accuracy of the input data and security configurations is a critical part of
the implementation process. Organizations often run a new system in
parallel with an old system until they verify the accuracy and reliability of
the new system. Employees should document any programming,
procedural, or configuration changes made during the verification
process.
User Training
The user was given an exhaustive training to train him how to
handle the application according to his user rights. Regular training
sessions were conducted after the application was implemented so that
maximum uses would be given personnel attention. Any doubts of the
user were tried to clear up to his satisfaction.
The users were made to operate to application on their own a
number of times before they actually started using the application so
that they get well used to the environment under which they would be
working thereon which would result in saving precious time of the
company as the user would not spend any extra time in learning about
107
HOSPITAL MANAGEMENT SYSTEM
the use of the application after it has been implemented for use in their
official work.
Post Implementation Review
The review about post implementation from them is completely
satisfactory. They are pleased with our services and our nature. We
followed the rules of there school. We plan out our system according to
their convenience. They were totally satisfied and pleased with our
system. They haven’t any problem regarding our project work.
108
HOSPITAL MANAGEMENT SYSTEM
Conclusion
109
HOSPITAL MANAGEMENT SYSTEM
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 generates test reports; provide prescription details including various
tests, diet advice, and medicines prescribed to patient and doctor. It
also provides injection details and billing facility on the basis of patient’s
status whether it is an indoor or outdoor patient.
The system also provides the facility of backup as per the requirement.
110
HOSPITAL MANAGEMENT SYSTEM
Concluding Remarks
Hospital Management System not only provides an opportunity
to the hospital to enhance their patient care but also can
increase the profitability of the organization
Hospital Management System would enable hospitals or Nursing
Homes to serve the rapidly growing number of health care
consumers in a cost-effective manner
Hospital Management System can also save extra money on your
current computer hardware shopping. Check up with our
executive to more on this
Hospital administrators would be able to significantly improve the
operational control and thus streamline operations
This would enable to improve the response time to the demands
of patient care because it automates the process of collecting,
collating and retrieving patient information
Accounting sometimes becomes awfully pathetic and complex.
This product will eliminate any such complexity, since the
retrieval of information through its MIS will become virtually on
the tip of your fingers
Very important for some, the reduced cost of the manpower
would pay for the cost of this product with in a short time after
its implementation
111
HOSPITAL MANAGEMENT SYSTEM
Further Enhancement
In the system you can get the reports which includes bills,
customers information. In the bills we can know the item information
and also stock information.
Since modular and structure approach has been taken towards
development of system, it can also expand other functions of the part of
organization. It also very useful for the management. With the used of
these system user can easily update the record, view the record and
quickly generate the report.
112
HOSPITAL MANAGEMENT SYSTEM
Bibliography
113
HOSPITAL MANAGEMENT SYSTEM
Bibliography
1. [Link]
2. [Link]
3. [Link]
4. [Link]
5. Mastering [Link]
6. CHAUHAN MEDICITY HOSPITAL.
**************
114