Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Introduction
1.1
Hospital are the essential part of our lives, providing best medical facilities to people suffering
from various ailments, which may be due to change in climatic conditions, increased work-load,
emotional trauma stress etc. It is necessary for the hospitals to keep track of its day-to-day
activities & records of its patients, doctors, nurses, ward boys and other staff personals that keep
the hospital running smoothly & successfully.
But keeping track of all the activities and their records on paper is very cumbersome and error
prone. It also is very inefficient and a time-consuming process Observing the continuous increase
in population and number of people visiting the hospital. Recording and maintaining all these
records is highly unreliable, inefficient and error-prone. It is also not economically & technically
feasible to maintain these records on paper.
Thus keeping the working of the manual system as the basis of our project. We have developed
an automated version of the manual system, named as Hospital Management System.
The main aim of our project is to provide a paper-less hospital up to 90%. It also aims at
providing low-cost reliable automation of the existing systems. The system also provides
excellent security of data at every level of user-system interaction and also provides robust &
reliable storage and backup facilities.
1.2
Raw data (also known as primary data) is a term for data collected from a source. Raw
data has not been subjected to processing or any other manipulation, and are also referred
to as primary data.
Primary data is a type of information that is obtained directly from first-hand sources by
means of surveys, observation or experimentation. It is data that has not been previously
published and is derived from a new or original research study and collected at the
source such as in marketing.
Primary data collection are observed and recorded directly from respondents. The
information collected is directly related to the specific research problem identified. All
the questions that one asks the respondents must be totally unbiased and formulated so
that all the different respondents understand it.
1.2.2
Secondary data is data collected by someone other than the user. Common sources of secondary
data for social science include censuses, organizational records and data collected through
qualitative methodologies or qualitative research. Primary data, by contrast, are collected by the
investigator conducting the research.
http://www.apollohospitals.com/
Apollo is a private healthcare provider in Asia with hospitals in India, Sri Lanka, Bangladesh and
many more countries. It Provides world class services for knee, hip replacement, heart, etc.
http://www.maxhealthcare.in/
Max Hospital is a multi-specialty hospital owned and managed by Max Healthcare Institute
Limited (MHIL). The company provides patient services including nuclear medicine and cardiac
imaging,labs andelectrophysiology, neurosciences, orthopedics, ,generalsurgery,urology,nephrolo
gy, gastroenterology, mental health and behavioral sciences, rehabilitative services, and
pulmonology
In this project all the information has been gathered from secondary sources that is internet.
1.3
The proposed software product is the Hospital Management System (HMS). The system will be
used in any Hospital, Clinic, Dispensary or Pathology labs in any Hospital, Clinic, Dispensary or
Pathology labs to get the information from the patients and then storing that data for future
usage
The current system in use is a paper-based system. It is too slow and cannot provide updated lists
of patients within a reasonable timeframe. The intentions of the system are to reduce over-time
pay and increase the number of patients that can be treated accurately. Requirements statements
in this document are both functional and non-functional.
1.4 References
i.
ii.
iii.
iv.
2.1.1
Interfaces
The application will have a user friendly and menu based interface. Following screens will be
provided.
i.
A Login Screen for entering username, password and role (Administrator, operator) will
ii.
iii.
be provided. Access to different screens will be based upon the role of the user.
A Form for Search the details of a patient.
The Form for creating a new patient record will contain text fields where the Patient ID
iv.
will be machine generated and the rest of the details will have to be filled up.
A Form for generating the tests reports.
v.
The Form to produce a bill will create fields such as Patient ID, Appointment No.,
Doctors charges, Hospital charges etc. which will need to be filled up.
Tests reports
Hardware Interfaces
Software Interfaces
Operations
This product will not cover any automated housekeeping aspects of database. The DBA at client
site will be manually deleting old/ non required data. Database backup and recovery will also
have to be handled by DBA.
2.2
Product Functions
The system will allow access only to authorized users with specific roles (Administrator,
Operator). Depending upon the users role, he/she will be able to access only specific modules of
the system.
A summary of the major functions that the software will perform:
i.
ii.
iii.
iv.
Login module
Description
This module records only user and password of the user.
Patient module
Description
It keeps track of all details about both in-patient and out-patient. Patient id, patient name,
address, admitted date, doctor name, and room no are entered in a form and stored for future
reference. Also particular patient details can be viewed in the table using a separate form with an
attribute patient id.
Inpatient module
Description
Admission request will be made here. Request for admission is made before patient admitting the
hospital.
Outpatient module
10
Description
This module manages activities related to patient who visits the Hospital or Resident Doctor or
Consultant Doctor for Medical Consultations, diagnosis and treatment.
Pathology module
Description
This module Generates reports which will be done in pathology lab of the Hospital.
Billing module
Description
This module bills the both inpatient and outpatient who comes to hospital. It also includes
Payment details of patients. Depending on the payments bill report is generated.
3. Logical Database Requirements
The proposed information system contains the following data tables in its database collection.
i.
ii.
iii.
iv.
4.
Reliability
This application is a reliable product that produces fast and verified output of all its
processes.
Availability
11
This application will be available to use and help them to carry out their operations
conveniently.
Security
The application will be password protected. User will have to enter correct username,
password and role in order to access the application.
Maintainability
The application will be designed in a maintainable manner. It will be easy to to incorporate
new requirements in the individual modules.
Portability
The application will be easily portable on any windows-based system that has oracle
installed.
12
System design is the process of defining the architecture, components, modules, interfaces and
data for a system to satisfy specified requirements. Normally, the design proceeds in two stages:
Physical design
Database design
Physical Design
The physical design is a graphical representation of a system showing the systems internal and
external entities and the flow of data into and out of these entities. An internal entity is an entity
within the system that transforms data.
To represent the physical design of the system, we use diagrams like data flow diagrams, use
case diagrams, etc.
Symbol
Name
Function
Data Flow
Process
Table no.2.1
Level 0 DFD
A context diagram is a top level (also known as Level 0) data flow diagram. It only contains one
process node (process 0) that generalizes the function of the entire system in relationship to
external entities. In level 0 dfd, system is shown as one process.
The Level 0 DFD shows how the system is divided into 'sub-systems' (processes), each of which
deals with one or more of the data flows to or from an external agent, and which together provide
all of the functionality of the system as a whole. It also identifies internal data stores that must be
14
present in order for the system to do its job, and shows the flow of data between the various parts
of the system.
Level-0
Admin
Personal details
Hospital Management
IPD &OPD
Patient
System
Admin
Patient
Fig. No.2.1
Level 1 DFd
1.0 Patient
Admin
Detail
2.0 Doctor
Admin
Details
15
Update
Update
Patient db
Update
Doctor db
Patient details
3.0Lab Reports
Generation
Update
Reports DB
4.0Bill Generation
R_charges
Doctor name & fees
Patient details
Fig. No.2.2
Symbol
Name
Description
16
anything.
An Attribute Describes a property or
Attribute
characteristics of an entity.
entities.
Table No.2.2
Name
Address
Address
Department
Age
Name
P_id
D_id
Doctor
Ph.No
Treats
Doc_Charges
Patient
17
BILL NO.
Ph.No
Assign
Issued
Bill
Type
Room
Gender
1
Gender
M
1
Room Charges
Room_id
Fig. No.2.3
2.4 Data Dictionary
1. Doctor Details
Name-Doctor Details
Name
Type
ID
Integer
Size
Description
ID of the Doctor
18
Name
Varchar
50
Address
Varchar
150
Phone Number
Varchar
90
Qualification
Varchar
100
Gender
Varchar
30
Table No.2.3
2. Room Details
Name-Room Details
Name
Type
Room_no
Integer
Room Type
Varchar
Size
Description
Id of the Room
50
Table No.2.4
3. patient Details
Name- patient Details
Name
Type
Size
Description
Patient_no
Integer
20
ID of the Patient
Name
Varchar
60
Age
Integer
20
Gender
Varchar
30
Address
Varchar
90
Date
Datetime
30
Date of admission
Contact Number
Varchar
90
Room No
Varchar
50
Table No.2.3
4. Bill Details
Name-Bill Details
Name
Type
Size
Description
Bill_no
Integer
20
Date
Datetime
20
Patient Id
Varchar
50
Id of the patient
Name
Varchar
50
Age
Varchar
50
Gender
Varchar
50
Date of Admission
Varchar
50
Date of Discharge
Varchar
50
Room Charges
Varchar
50
the Hospital
Charges of the room
Pathology fees
Varchar
50
Doctor Fees
Varchar
50
Miscellaneous
Varchar
50
Other Charges
Total Amount
Varchar
100
21
Wend
.Close 'close tbl_login
a = MsgBox("You have entered an invalid username/password", vbCritical) 'login detaits not
matched
End With
End Sub
23
25
26
End If
End Sub
rs!address = Text6.Text
rs!contact_no = Text5.Text
rs!Date = Text4.Text
rs!roomno = Combo2.Text
rs.Update
MsgBox " Record Added Successfully! ", vbOKOnly + vbInformation, "info"
End Sub
Delete:Private Sub Command4_Click()
rs.Delete
MsgBox " Record Deleted Successfully! ", vbInformation, "Delete"
rs.MoveNext
End Sub
Close:Private Sub Command2_Click()
If MsgBox("Close the form ?", vbQuestion + vbYesNo, "Confirm") = vbYes Then
End
End If
End Sub
Search:Private Sub Command5_Click()
Me.Hide
form5.Show
End Sub
Main form:-
28
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Combo1.Text = ""
Combo2.Text = ""
End Sub
Delete:Private Sub Command2_Click()
On Error Resume Next
If MsgBox("Data Deleted Successfully!", vbExclamation + vbOKCancel, "Confirm Delete") =
vbOK Then
rs.Delete
End If
End Sub
Search:Private Sub Command5_Click()
Me.Hide
Form11.Show
End Sub
Close:Private Sub Command3_Click()
If MsgBox("Close the form ?", vbQuestion + vbYesNo, "Confirm") = vbYes Then
End
End If
End Sub
Main Form:Private Sub Command4_Click()
31
Me.Hide
Form3.Show
End Sub
Private Sub Form_Load()
Set rs = Nothing
Set rs = New ADODB.Recordset
rs.Open "select * from outpatient", con, adOpenDynamicmic, adLockOptimistic
Set DataGrid1.DataSource = rs
End Sub
32
34
35
Text7.Text = Clear
Text8.Text = Clear
Text9.Text = Clear
Text10.Text = Clear
Text11.Text = Clear
Text12.Text = Clear
End Sub
Save:Private Sub Command2_Click()
rs.AddNew
rs!billno = Text1.Text
rs!Date = Text2.Text
rs!pid = Text12.Text
rs!Name = Text3.Text
rs!age = Text4.Text
rs!gender = Combo1.Text
rs!date_of_adm = Text5.Text
rs!date_of_discharge = Text6.Text
rs!roomcharges = Text7.Text
rs!doctorfees = Text8.Text
rs!pathology = Text9.Text
rs!miscellanous = Text10.Text
rs!total = Text11.Text
rs.Update
MsgBox " Record Saved Successfully! ", vbOKOnly + vbInformation, "info"
End Sub
Search:38
39
40
End Sub
Exit:Private Sub Command3_Click()
Me.Hide
Form3.Show
End Sub
41
9. Pathology Form
rs!age = Text3.Text
rs!gender = Combo1.Text
rs!testname = Combo2.Text
rs!Description = Text4.Text
rs.Update
MsgBox " Record saved Successfully! ", vbOKOnly + vbInformation, "info"
End Sub
Exit:Private Sub Command3_Click()
Me.Hide
Form3.Show
End Sub
43
44
45
End Sub
47
Test
Expected
Expected
Actual Input
Actual Output
Login Form
Input
Username,
Output
Homepage
admin,
Homepage
Password
admin
Test
Case ID
2.
Doctor Form
Expected
Expected
Actual Input
Actual Output
Input
Output
Details of doctor
Msgbox
Detail of
Msgbox Record
appears(data
Doctor
Added
is saved)
Successfully!
Test
Test
Case ID
2.
Room Form
Expected
Expected
Actual Input
Actual Output
Input
Output
Room no and
Msgbox
Room no and
Msgbox Record
Room type
appears(data
Room type
Added
is saved)
49
Successfully!
CONCLUSION
The project Hospital Management System (HMS) is for computerizing the working in a
hospital. It is a great improvement over the manual system. The computerization of the system
has speed up the process. In the current system, the front office managing is very slow. The
hospital managing system was thoroughly checked and tested with dummy data and thus is found
to be very reliable. 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 and also provides the facility for searching the details of the patient. It
also provides billing facility on the basis of patients status whether it is an indoor or outdoor
patient. The system also provides the facility of backup as per the requirement.
FUTURE ENHANCEMENTS
The proposed system is Hospital Management System. We can enhance this system by including
more facilities like pharmacy system for the stock details of medicines in the pharmacy.
Providing such features enable the users to include more comments into the system.
50
LIMITATIONS:
The size of the database increases day-by-day, increasing the load on the database back up
and data maintenance activity.
Training for simple computer operations is necessary for the users working on the system.
BIBLIOGRAPHY
51
1. Julia Case Bradley, Programming In Visual Basic 6.0,First Edition, Tata McGraw Hill
Edition.
2. Michael Halvorson, Microsoft Visual Basic 6.0 Professional, Second Edition, Microsoft
Press.
3. Bayross, Programming in Visual Basic 6, 2008 Edition, B.p.b Publications.
4. Gary Haggard, Wade Hutschan, Introduction to Visual Basic 6.0, Tata McGraw Hill
Edition.
5. Mike Smart, Learn Access 2003 VBA with the Smart Method, The Smart Method Ltd.
Web References
1. www.google.com
2. www.slideshare.com
52