Introduction': 1 Care Hospital Management System
Introduction': 1 Care Hospital Management System
INTRODUCTION
2
CARE HOSPITAL MANAGEMENT SYSTEM
1.0. INTRODUCTION
In this system every thing is done manually and it takes lots of time to complete
the work. Problem identification is done to obtain a clear understanding of the
needs of the clients and the users, and what exactly is desired from the software.
3
CARE HOSPITAL MANAGEMENT SYSTEM
The existing system is manual. It is not yet been computerized. Because of this
fact managing data is very inconvenient. Data is inconsistent, redundant, its
storage and maintenance is laborious. Data retrieval is a very difficult task.
Administrator has to invite the doctors and pa tient. We have to review each
paper page by page which needs a lot of effort. If any patient has to take any
appointments it has to be registered by hand which is tedious. All these tasks
consume a lot of time and effort.
4
CARE HOSPITAL MANAGEMENT SYSTEM
Our Hospital Management System will computerize all these tasks and reduce
the efforts and time required. Once the papers are submitted, each and every
step after that is computerized. Patients name, patients appointment timings,
doctors name and patients id number will be done easily by the system.
manually.
We have to review each paper page by page which needs a lot
of effort. If any patient has to take any appointments it has to
be registered by hand which is tedious. All these tasks consume
a lot of time and effort.
Our Hospital Management System will computerize all these tasks and reduce
the efforts and time required. Once the papers are submitted, each and every
step after that is computerized. Patients name, patients appointment timings,
doctors name and patients id number will be done easily by the system.
5
CARE HOSPITAL MANAGEMENT SYSTEM
The proposed system for Hospital Management can be used for commercial and
educational institution purposes. It has many advanced features as compared to
the existing system. They are as follows:
FEATURES:
1. REGISTRATION: On the system the user are able to register according to its
hierarchy, so that a username and password will be provided in order to login to
the system. The user data base and records are maintained by the system and
6
CARE HOSPITAL MANAGEMENT SYSTEM
also you can add, update and delete the records from the system with proper
privileges.
2. IN-PATIENT DETAILS: I the new patient gets admitted to the system then a
unique record is generated for each patient and patient details with the room
reservation and its case papers and other details will be stored in the system.
Once the patient gets discharge then his check out from hospital along with the
billing details will be taken care of by the system.
3. OUT-PATIENT DETAILS: If the new patient visits the doctor, the system
generates a unique record for each patient and patient details along with its case
papers and other details are stored in the system. Billing details are also taken
care by the system.
7
CARE HOSPITAL MANAGEMENT SYSTEM
6. BILLING SYSTEM: The entire billing system for the patient will be
automatically created. It will include expenses of all kind and in the end when
the patient gets a discharge the entire bill will be generated automatically. The
bill will contain all the expenses, which should be charged to patient for the
period for which he/she was admitted to the hospital.
8
CARE HOSPITAL MANAGEMENT SYSTEM
9
CARE HOSPITAL MANAGEMENT SYSTEM
SYSTEM
ANALYSIS
10
CARE HOSPITAL MANAGEMENT SYSTEM
This project is fully computerized and it is easy to view all the details. This
project would help in automating the hospital management process in education
as well as commercial domain. By giving one click we can view all the details
like patients id number, patients name, patients disease, appointment timings,
from how many years is the patient taking treatment from the hospital. We can
update, delete and add new records to the data. This requires less time and it is
very easy to complete work at a given time. In the existing system every thing is
done manually and it requires more employees to complete work at a given time
where as in proposed system it requires less number of employees and can
complete the work with in a given time. In the existing system the data is stored
in the form of records and it can store only small amount of data and it is
difficult to track the information. In proposed system every thing will be
computerized, it can store large amount of data. It provides less staff to operate
and mange. Since it is computerized it increases the productivity and it is easy
to track, compile and get back the entered information. It can have greater
11
CARE HOSPITAL MANAGEMENT SYSTEM
control over patient management. User name and pass word will be provided to
each patient.
Thus, the present manual system has many loopholes, which we have tried to
rectify through our project.
A project in Visual Basic comprises of forms, controls and modules that take up
an application. A form is a window that displays controls, graphics or other
12
CARE HOSPITAL MANAGEMENT SYSTEM
forms and has some code associated with it. When some code has to be shared
throughout an application, it can be put in a module.
There are quite a number of reasons for the enormous success of Visual Basic
which are as follows:
13
CARE HOSPITAL MANAGEMENT SYSTEM
Of all languages we have worked with, Visual Basic is easiest to learn and use,
which is why we have chosen it as our front end tool.
2.2.1.1 ADVANTAGES
14
CARE HOSPITAL MANAGEMENT SYSTEM
VB is the quickest and easiest way to create powerful application for Microsoft
Window operating system. The VB programming system allows us to create
robust and useful applications that fully make use of the GUI.
Tool Bar:
Department Of Computer Science, Christ College, Bangalore-29
15
CARE HOSPITAL MANAGEMENT SYSTEM
Menu Bar:
Form:
It serves as a window that we can customize as the interface of the application.
We can add controls, graphics and pictures to a form to create the look that we
want.
Project Window:
It lists the property settings for the selected form or control. A property is a
characteristic of an object, such as size, caption or color.
Object Browser:
16
CARE HOSPITAL MANAGEMENT SYSTEM
Available from the view menu, the Object browser lists objects available for
use in the project and gibes us a quick way to navigate the code.
2.2.1.3. APPLICATIONS
There are three main steps for creating an application for windows in VB
Create the interface.
Set properties.
Write codes.
Creating An Interface:
Forms are the foundation for creating the interface of an application. We can see
forms to add windows and dialogue boxes to our application. The first step in
building the VB application is to create the forms that will be the basic for our
17
CARE HOSPITAL MANAGEMENT SYSTEM
applications interface. Then we draw the objects which make up the interface
on the forms created.
Object Box:
Display the name of the object for which you can set properties click the arrow
to the right of the object box do display the list of objects for the current form.
Properties List:
The left column displayed all of the properties for the selected object. We can
edit and view settings in the right column.
18
CARE HOSPITAL MANAGEMENT SYSTEM
From the view menu, choose properties, or click the Properties button on the
toolbar. The properties window displays the settings for the selected form or
control.
From the properties list, select the name of a property.
Writing Code:
The code window is where we write VB code for our application. Code consists
of language statements, constants and declaration. Using the code window, we
can quickly view and edit any of the code in our application.
In the object list box, select the name of an object in the active form. In the
procedure list box, select the name of event of the selected object. Here the click
procedure is already selected, because it is the default procedure for a command
button. Note that a template for the event procedure is now displayed in the
code window.
19
CARE HOSPITAL MANAGEMENT SYSTEM
Type the code between the Sub and End Sub statements.
To run the application, choose start from the Run menu or click the start button
on the toolbar or press F5.
20
CARE HOSPITAL MANAGEMENT SYSTEM
Access was also the name of a communication program from Microsoft, meant
to compete with ProComm and other programs. Access proved to be a
Failure and years later Microsoft reused the name for its database software.
Access makes use of the Leszynski naming convention.
Access can be used as the database for basic applications, especially web based
applications:
21
CARE HOSPITAL MANAGEMENT SYSTEM
5. It can be made to import to any front end tool as VB and used as the
database.
6. It is very much readily available and is quite user-friendly.
S.NO.
REQUIREMENT
1.
Computer with 2 GB
hard disk and 256 MB
RAM
22
CARE HOSPITAL MANAGEMENT SYSTEM
S.NO.
REQUIREMENT
1.
Windows 95/98/xp
operating system
2.
MS Access
3.
23
CARE HOSPITAL MANAGEMENT SYSTEM
Lines are drawn between entity sets and the relationship sets they are involved
in entities in an entity set must participate in the relationship set, a thick or
double line is drawn. This is called a participation constraint. If each entity of an
entity set can participate in at most one relationship set. This is called a key
constraint. To indicate that each entity in the entity set is involved in exactly one
relationship, a thick arrow is drawn.
24
CARE HOSPITAL MANAGEMENT SYSTEM
25
CARE HOSPITAL MANAGEMENT SYSTEM
Lab Technicians
Doctors
Operation Theatre
Billing
HOSPITAL
Patients
Wards
Labs
26
CARE HOSPITAL MANAGEMENT SYSTEM
Salary
Contact
Number
Name
ID Number
Doctor
Specialisation
Timings
27
CARE HOSPITAL MANAGEMENT SYSTEM
Doctors Name
Name
ID Number
Bill Number
Patient
Disease
Date of
Admission
28
CARE HOSPITAL MANAGEMENT SYSTEM
Date of
Admission
Date of
Discharge
Name
ID Number
Discharge Patient
Payment Details
Bill Number
29
CARE HOSPITAL MANAGEMENT SYSTEM
Doctor Details
Salary Details
Patient Details
Lab Details
Administrator
Staff Details
Infrastructure
Details
Billing Details
Patients
Name
Department Of Computer Science, Christ College, Bangalore-29
30
CARE HOSPITAL MANAGEMENT SYSTEM
Amount Paid
Lab Charges
Billing
Balance
Amount
Pharmacy
Charges
Bill Number
Patient
31
CARE HOSPITAL MANAGEMENT SYSTEM
Input
Output
Admit new
patient
Details of patients
Administrator
subsystem
Userpass
patient/
transfer
Discharge
patient
Transfer
Department Of Computer Science, Christ College, Bangalore-29
patient
32
CARE HOSPITAL MANAGEMENT SYSTEM
Userpass
Personal details
username
administrator id
PasswordAuthet--
Logi
n
Username ication
Name, doc,DOB,gender
Personal
details
.
Personal
info
Doctor id
Doctor
applicant
subsystem
Doctor
Doctor table
update/
search/
add
Patient table
Specialisation
Disease
Staff
discharge
Work
details
Educational
details
Discharge table
Qualification
Salary
Details
33
CARE HOSPITAL MANAGEMENT SYSTEM
SYSTEM
DESIGN
34
CARE HOSPITAL MANAGEMENT SYSTEM
bridge between requirements specification and the final solution for satisfying
the requirements.
Login
Add patient
Delete patient
Update patient
View patient
Login:
Using this module one can login into the system. Every user will be provided
with user name and password using this user name and password one can login
to the system and view there details.
35
CARE HOSPITAL MANAGEMENT SYSTEM
Add patient:
Using this module the administrator can add patient details or new patients.
Delete patient:
Using this module we can delete the patients database if the patients disease
gets cured or the patient gets discharged from the hospital.
Update patient:
Using this module we can update the patient details.
View patient:
This module helps us to see the details of all the patients.
36
CARE HOSPITAL MANAGEMENT SYSTEM
Column Name
ID No.
Fname
Lname
Password
Contact No.
Address
Specialisation
Data Type
Number
Text
Text
Numeric
Number
Text
Text
Allows Null
No
Yes
Yes
No
No
No
Yes
Description
ID Number
First name
Last name
Passwords
Contact Number
Address
Specialisation
Column Name
Data Type
Allows Null
Description
Id-Number
Auto Number
No
Unique id
number for
patients
Password
Numeric
No
Unique password
for patients
Fname
Text
No
First name
Lname
Text
Yes
Last name
37
CARE HOSPITAL MANAGEMENT SYSTEM
Contact number
Numeric
No
Contact number
of patient
Address
Text
NO
Patients address
Disease
Text
Yes
Patients disease
Doctors name
Text
Yes
Name of the
doctor who is
treating the
patient
38
CARE HOSPITAL MANAGEMENT SYSTEM
Column Name
Data Type
Allows Null
Description
Patients Id
No.
Number
NO
Patients
Name
Surname
Text
Yes
Text
No
Address
Text
No
Occupation
Text
No
Disease
Text
No
Phone no.
number
No
Unique Id
number for
patients
Name of the
patient
Surname of
the patient
Address of
the patient
Occupation of
the patient
Disease of
the Patient
Phone
number
39
CARE HOSPITAL MANAGEMENT SYSTEM
Column Name
Data Type
Allows Null
Description
Equipments
Numeric
Yes
Number of
equipments in the
hospital
Type
Text
Yes
Type of
equipments in the
hospital
Fname
Text
No
Lname
Text
Yes
Last name
Salary
Numeric
Yes
40
CARE HOSPITAL MANAGEMENT SYSTEM
Column Name
Data Type
Description
Doctors Name
Text
Doctors Id
Number
Identification number
of the doctor
Doctors Specialization
Text
Specialization of the
doctor
Column Name
Data Type
Description
Patient-ID
Number
Identification Number
Bill No.
Number
Bill Number
Patient Name
Text
Patient Name
Lab Charges
Number
Laboratory Charges
Pharmacy Charges
Number
Pharmacy Charges
41
CARE HOSPITAL MANAGEMENT SYSTEM
Total Amount
Number
Total Amount
The tables used in the data base are normalized. Database normalization, is
a technique for designing relational database tables to minimize duplication of
information and, in so doing, to safeguard the database against certain types of
logical or structural problems, namely data anomalies. The normal forms are
applicable to individual tables; to say that an entire database is in normal form n
is to say that all of its tables are in normal form n.
42
CARE HOSPITAL MANAGEMENT SYSTEM
43
CARE HOSPITAL MANAGEMENT SYSTEM
CODING
44
CARE HOSPITAL MANAGEMENT SYSTEM
4.0
CODING
The goal of the coding or programming phase is to translate the design of the
system produced during the design phase into code in a given programming
language which can be executed by a computer, and which performs the
computation specified by the design. For a given design, the aim is to
implement the design in the best possible manner.
The coding phase affects both testing and maintenance profoundly. As we saw
earlier, the time spent in coding is a small percentage of the total software cost,
while testing and maintenance consume the major percentage. Thus it should be
clear that the goal during coding should be to reduce the cost of later phases,
even if it means that the cost of this phase has to increase. In other words, the
goal during this phase is not to simplify the job of the tester and the maintainer.
45
CARE HOSPITAL MANAGEMENT SYSTEM
SAMPLE CODES
Private Sub cmdclear_Click()
txtpatientsid.Text = " "
txtSname.Text = " "
txtFname.Text = " "
txtDOB.Text = " "
txtSex.Text = " "
txtOccupation.Text = " "
txtStateOfOrigin.Text = " "
46
CARE HOSPITAL MANAGEMENT SYSTEM
47
CARE HOSPITAL MANAGEMENT SYSTEM
End Sub
Private Sub cmdsearch_Click()
Adodc1.Recordset.MoveFirst
While (Text2.Text <> txtpatientsid.Text)
Adodc1.Recordset.MoveNext
Wend
End Sub
48
CARE HOSPITAL MANAGEMENT SYSTEM
TESTING
49
CARE HOSPITAL MANAGEMENT SYSTEM
5.0 TESTING
Software testing is the process used to measure the quality of developed
computer software. The separation of debugging from testing was initially
introduced by Glenford J.Myres in 1979. Usually, quality is constrained to such
topics as correctness, completeness, security, but can also include more
technical requirements as described under the ISO standard ISO 9126, such as
capability, reliability, efficiency, portability, maintainability, compatibility and
usability. Testing is process of technical investigation, performed on behalf of
stakeholders, that is intended to reveal quality-related information about the
product with respect to the context in which it is intended to operate. This
included, but is not limited to, the process of executing a program or application
with the intent of finding errors.
A good test is sometimes described as one which reveals an error; however,
more recent thinking suggests that a good test is Sone which reveals information
of interest to someone who matters within the project community, as a tests will
measure quality and therefore
May well be unable to find any error, because the software works the way it was
specified.
50
CARE HOSPITAL MANAGEMENT SYSTEM
Unit testing will not catch every error in the program. By definition, it only tests
the functionality of the units themselves. Therefore, it will not catch integration
errors, performance problems or any other system-wide issues. In addition, it
may not be easy to anticipate all special cases of input the program unit under
study may receive in reality. Unit testing is only effective if it used in
conjunction with other software testing activities.
51
CARE HOSPITAL MANAGEMENT SYSTEM
52
CARE HOSPITAL MANAGEMENT SYSTEM
53
CARE HOSPITAL MANAGEMENT SYSTEM
54
CARE HOSPITAL MANAGEMENT SYSTEM
SYSTEM
IMPLEMENTATION
55
CARE HOSPITAL MANAGEMENT SYSTEM
56
CARE HOSPITAL MANAGEMENT SYSTEM
SYSTEM
MAINTENANCE
57
CARE HOSPITAL MANAGEMENT SYSTEM
58
CARE HOSPITAL MANAGEMENT SYSTEM
SCREEN SHOTS
59
CARE HOSPITAL MANAGEMENT SYSTEM
60
CARE HOSPITAL MANAGEMENT SYSTEM
61
CARE HOSPITAL MANAGEMENT SYSTEM
62
CARE HOSPITAL MANAGEMENT SYSTEM
63
CARE HOSPITAL MANAGEMENT SYSTEM
64
CARE HOSPITAL MANAGEMENT SYSTEM
65
CARE HOSPITAL MANAGEMENT SYSTEM
66
CARE HOSPITAL MANAGEMENT SYSTEM
67
CARE HOSPITAL MANAGEMENT SYSTEM
68
CARE HOSPITAL MANAGEMENT SYSTEM
69
CARE HOSPITAL MANAGEMENT SYSTEM
70
CARE HOSPITAL MANAGEMENT SYSTEM
71
CARE HOSPITAL MANAGEMENT SYSTEM
72
CARE HOSPITAL MANAGEMENT SYSTEM
73
CARE HOSPITAL MANAGEMENT SYSTEM
74
CARE HOSPITAL MANAGEMENT SYSTEM
DISCUSSION
OF RESULTS
75
CARE HOSPITAL MANAGEMENT SYSTEM
76
CARE HOSPITAL MANAGEMENT SYSTEM
CONCLUSION
10.0 CONCLUSION:
To summarize in a line we have provided the package, which is reliable and user
friendly for any organization. There can be future enhancement where in many
Department Of Computer Science, Christ College, Bangalore-29
77
CARE HOSPITAL MANAGEMENT SYSTEM
other features can bi included which can make the package more comfortable to
work on for the organization.
Data redundancy will be avoided by creating tables for appropriate fields. It will
be easy for the organization to save the data in the system.
78
CARE HOSPITAL MANAGEMENT SYSTEM
REFERENCES
11.0
REFERENCES
BIBILOGRAPHY
Books:
i.
79
CARE HOSPITAL MANAGEMENT SYSTEM
ii.
iii.
iv.
Websites:
www.google.com
www.codeguru.com
www.vbcodes.com