Académique Documents
Professionnel Documents
Culture Documents
MANAGEMENT
SYSTEM
ACKNOWLEDGEMENT
I would also like to refer the various authors of Visual Basic language
book like, Master In Visual Basic, Black Book In Visual Basic and etc.
and also MSDN library of Visual Studio, An introduction to Database
system with thanks for the technical help.
Although we have tried to make this project error free and tested it in
the extreme conditions, but if any body found any type of error or
suggestions for this software, please report us and we promise to fix the
problem or will adopt good suggestions.
Saurabh Shishodia
Varun Jain
MCA-IV Sem.
S/N CONTENTS
1 Synopsis, Introduction
2 About the hospital
3 Problem analysis
4 Relevance
5 Description
6 E-R diagram
11 System Requirements
12 Limitations
13 Conclusion
14 Appendix
15 Bibliography
SYNOPSIS
This software, we brought for you is excellent for all of the hospital
needs, and it automates all kind of work. Now as the efficiency Increase
one person can work in Place of number of person. Data are stored on
secondary storage a device that saves the uses of Paper and on the other
hand on the storage device never degrade and can be stored for
centuries. Now no manual calculation, mean No more calculating
mistake, no errors in records no wrong information No slow process.
This is designed in such a way that even if anyone is not aware of the
computer or an application, one can collect the desired information.
INTRODUCTION
The design activity begins when the requirements document for the software
to be developed is available .This may be the SRS for the complete system,
as in the case if the waterfall model is being followed or the requirements for
the next iteration if the iterative enhancement is being followed or the
requirements for the prototype if the prototyping is being followed .While
the requirements specification activity is entirely in the problem domain
,design is the first step in moving from the problem domain toward the
solution domain. Design is essentially the bridge between requirements
specification and the final solution for satisfying the requirements.
The term design is used in two ways .Used as a verb, it represents the
process of design. Used as a noun, it represents the result of the design
process, which is the design of the system. The goal of the design process is
to produce a model or representation of a system, which can be used later to
build that system. The produced model is called the design of the system.
The design process for software systems often has two levels. At the first
level the focus is on deciding which modules are needed for the system, the
specifications of these modules, and how the modules should be
interconnected. This is what is called the system design or top-level design.
In the second level, the internal design of the modules, or how the
specifications of the module can be satisfied, is decided. This design level is
often called detailed design or logic design. Detailed design essentially
expands the system design to contain a more detailed description of the
processing logic and data structures so that the design is sufficiently
complete for coding.
system, and it impacts its efficiency. Most of the design effort for designing
OUR HMS: -
Metro Hospital is the leading medical center of Noida committed to provide
the best care by specialist alike. A 60-bedded compact hospital unit harbors
world class ICCU and a busy casualty backed up by ultra modern operation
theatres and 24 hours laboratory Services.
Recognizing the need for intensive exchange of Information and the need of
active interaction between corporate and hospital, as well as management
and young doctors, THE METRO HOSPITAL.
A lot of information related to the patient & any department has to be kept in
any management department. Manual or work in any other package requires
lot of labour and time.
SYSTEM ANALYSIS
System analysis is related with the information gathering i.e. analyzing the
system, deciding which information is to be stored in the database, and in
which manner. Here we had analyzed the Hospital Information System. In
analyzing the system, we have to decide the entities about which we have to
store the information, the attribute of these entities and relation between
these entities.
1 PATIENT
2 REGISTRATION
3 ADMISSION
4 WARD
5 DOCTOR
6 TEST RESULT
7 INVOICE
FEASIBILITY ANALYSIS
The objective of a feasibility study is not to solve the problem but To predict
(on the basis of system analysis & problem definition) that if it does the kind
Of work expected on it, in a reasonable period of elapsed time, & consistent
with the financial and processing objective and needs of the organization.
During this study, data is being gathered to obtain sufficient information
about existing system to make compression with possible computer systems.
Here the system Hospital Information System is manual. It is not possible
for this application to store such a huge database of hospital account.
Feasibility analysis is done in respect of the following:
1. Hardware
2. Economical (h/w, software)
1. Hardware
Feasibility analysis in case of hardware is too seeing whether the required
hardware for the proposed method is available or not. If yes then
installation is feasible.
Generally Ms Access installation requires:
1. Computer based on Pentium processor
4. Mouse
5. Printer
All this required hardware is easily available in the market & is not very
expensive therefore, the proposed system (according to problem
definition & system analysis) is feasible as for as hardware requirement
is concerned.
2. Economical
All the required hardware and software is easily available in the market
therefore, this package is very economical for it. Also here is no need for
Special training for staff. Just two or three hours are sufficient for the
explanation of method of using this package, since the proposed method
is to develop the package using visual basic which is very interactive. An
ignorant user can use it very efficiently without much training.
Since we have decided to develop the package in Ms Access and visual
basic 6.0, this will not require very long time. Since database is created
using Ms Access in which we have to specify only what to be done and
not how to be done. Simple commands are there in Ms Access to create
and manipulate data. Reports are created using report writer which uses
data from tables, views etc.
Therefore, consumption of time in developing this project will be very
less or in other words time available is sufficient for developing this
project. Thus we can say this proposed system is feasible with respect to
time.
3. Software
ABOUT MS ACCESS
Visual Basic:
Visual Basic provide graphical user interface, which are easy to use
and easy to learn.
A programmer need not write code to display the required component.
Visual Basic provides the facility of readymade components.
The components can be moved, reside, rename and even deleted, if so
required.
There is no restriction on the number of controls that can be placed on
a form.
The interface components provided by the visual programming
environment have some code built into them.
The relevance of this project itself arises with the requirement placed by the
SOFT SOLUTION group, the actual problem they were facing and the
overall result they were trying to achieve. Hence a part of the
PUSHPANJALI-automation, which was our mission to completely
automate, so we took it as a challenge and accepted it with full enthusiasm.
DESCRIPTION
Patient Information
Patient History
Patient Visiting Date
Entering Records
This is the first stage of our module where we are taking entries
regarding the patient record. Here we are taking care that the name of the
patient &ID is mandatory rest other fields are optional. That means we are
making a compulsion that you must know the patient name and must fill it
properly. After completion of patient details. The mandatory fields at this
stage is
=>Patient Name
=> Patient Address
=>City and,
=>Phone Number
Other fields are optional
The most important point here is that related to each new entry we are
assigning a particular identification number which is generated
automatically, having no user interaction directly.
Modifying Record
Here we are first taking the Patient ID as the searching criteria. This is the
mandatory field. Based on a particular name there may be more than one
record exists. We are displaying all the records, one at time. A person can
select any one record to modify at a single instance of time. Here also, we
are maintaining the same sequence as in the case of entering the records, that
is, after modifying the Patient details the related hospital details will be
displayed for modification. The mandatory fields are still mandatory and we
cannot overlook this.
Deleting Records
Here again the Patient ID the searching criteria. This is the mandatory
field. Based on a particular name there may be more than one record exists.
We are displaying all the records, one at time. A operator can select any one
record to delete at a single instance of time. The user performs deletion after
the confirmation. Once we select a particular record to delete, all the
information regarding that particular person will be deleted permanently
from our database.
Searching Records
There are different fields based on which we can perform searching.
We are providing here a drop down list and not taking the actual input from
the user as text.
The drop down list contains
Patient ID
The user has to select any one of the specified fields. Based on the selected
field unique results will appear in a second drop down. We have to select a
particular entry from the second drop down and it will show all the related
records, one at a time. Here user cannot make any actual changes in the
displayed record.
OBJECTIVE AND SCOPE
Objective of HMS
Lean and efficient system
High performance even on modest hardware
Easy to install
Speedy to install
Fast implementation
Easy to administrator
Salient Features: -
User-friendly screens developed on latest technology.
Modular approach
Integrated software solution.
High level of security.
Backend independent.
Easy to customize
Easy to install
Comprehensive data entry to generate maximum output.
Quick info for patient management & billing.
Modules of soft solution HMS: -
Front Office (OPD & IPD registration).
Ward management.
Patient management.
Emergency (ICU & ICCU).
OT management.
Patient billing (OPD & IPD).
Blood bank.
Doctors databank.
Security and Administration.
INSITE OF MODULES
OPD Registration: -
Registration of patient as per classification.
Collection from out patient..
Tracking previous visit of patient.
No repetitive entries of patient details when the patient has visited the
hospital previously.
IPD Registration: -
Registration of in-patient.
Advance collection from in-patient.
Conversion from out patient to in-patient.
No repetitive entries of patient details when the patient has visited the
Hospital previously.
IPD slip generation.
Tracking previous visit of patient.
Registration as per classification.
Handling of corporate patients.
List of doctors as per department and vice versa.
Charge Slip: -
Cash and credit bill for both inpatient and out patient.
Billing for corporate patient.
Receipts for payment received.
Fully integrated with patient billing
MIS REPORTS: -
Patient information as per following selection criteria:
a) Data wise.
b) Category wise.
c) Doctor Wise.
d) Department wise.
Pt_add Reg_no
Pt_sex Reg_chargeg
e
Pt_age Dr_id
Reg_chargeg
Ph_no Is e
No IPD
Pt_occu Reg_dt
Yes
Admin_dt Admin_tme
Bed_id
Admin_no
Pt_id
Pt_cate
Advance
Bil
Conce l Total_char
Dr_name Date_dischar
Pt_treat Ward Table ge
Pris_medi
Pt_id
Hospital
Management
System
Patient
DATA FLOW DIAGRAM
DATA FLOW DIAGRAM FOR OPD
CONTEXT FLOW DIAGRAM
HOSPITAL FRM DOCTOR (CODE)
Option Explicit
Dim adding As Boolean
Dim ans As String
adding = True
frmDoctor.txtDID.Text = ""
frmDoctor.txtname.Text = ""
frmDoctor.txtspecial.Text = ""
frmDoctor.txtqualify.Text = ""
frmDoctor.txtfee.Text = ""
frmDoctor.txtphone.Text = ""
frmDoctor.txtAddress.Text = ""
frmDoctor.txtdeptname.Text = ""
frmDoctor.txtDID.SetFocus
frmDoctor.txtDID.SelLength = Len(txtDID.Text)
frmDoctor.txtname.Visible = True
frmDoctor.cboName.Visible = False
End Sub
Case 1
rsdoctor.MovePrevious
If rsdoctor.BOF Then
rsdoctor.MoveFirst
MsgBox "You are on the first file."
End If
Filldoctor
Case 2
rsdoctor.MoveNext
If rsdoctor.EOF Then
rsdoctor.MoveLast
MsgBox "You are on the last file."
End If
Filldoctor
Case 3
rsdoctor.MoveLast
Filldoctor
End Select
Exit Sub
errorhandler:
frmDoctor.cboName.Enabled = True
frmDoctor.txtname.Enabled = False
frmDoctor.Show
Filldoctor
End Sub
Private Sub cmdCancel_Click()
If adding = True Then
rsdoctor.CancelUpdate
adding = False
Else
Dim currentrecord As Variant
currentrecord = rsdoctor.Bookmark
rsdoctor.CancelUpdate
rsdoctor.Bookmark = currentrecord
End If
frmDoctor.cboName.Visible = True
frmDoctor.txtname.Visible = False
Filldoctor
enable2
End Sub
strDID = frmDoctor.txtDID.Text
strphone = frmDoctor.txtphone.Text
strName = frmDoctor.cboName.Text
strspecial = frmDoctor.txtspecial.Text
strqualify = frmDoctor.txtqualify.Text
straddress = frmDoctor.txtAddress.Text
strdept = frmDoctor.txtdeptname.Text
strfee = frmDoctor.txtfee.Text
End If
End Sub
Option Explicit
Dim adding As Boolean
frmadmission.Hide
frmGoto.Show
End Sub
Private Sub cmdmodify_Click()
MsgBox "Do you want to modify some fields ?", vbQuestion, "modify"
cboID.SetFocus
cboID.Locked = False
txtLast.Locked = False
txtFirst.Locked = False
txt_peradd.Locked = False
txt_tempadd.Locked = False
disease.Locked = False
txtage.Locked = False
txtsex.Locked = False
txtdate.Locked = False
txttime.Locked = False
txtphone.Locked = False
txtDOB.Locked = False
txtother.Locked = False
txtdoctor.Locked = False
txtregno.Locked = False
If adding = True Then
rsadmission.AddNew
End If
rsadmission![pt_ID] = cboID.Text
rsadmission![pt_lname] = txtLast.Text
rsadmission![pt_fname] = txtFirst.Text
rsadmission![per_add] = txt_peradd.Text
rsadmission![temp_add] = txt_tempadd.Text
rsadmission![disease] = disease.Text
rsadmission![age] = txtage.Text
rsadmission![sex] = txtsex.Text
rsadmission![Dt_ofBirth] = txtDOB.Text
rsadmission![Time] = txttime.Text
rsadmission![phone] = txtphone.Text
rsadmission![other] = txtother.Text
rsadmission![dr_name] = txtdoctor.Text
rsadmission![regis_no] = txtregno.Text
rsadmission![dt_of_admission] = txtdate.Text
rsadmission.Update
enable3
adding = False
filladmission
End Sub
End If
End Sub
Private Sub cmdsearch_Click()
Dim bmark As Variant
Dim find As Integer
cboID.Locked = False
txtLast.Locked = True
txtFirst.Locked = True
txt_peradd.Locked = True
txt_tempadd.Locked = True
disease.Locked = True
txtage.Locked = True
txtsex.Locked = True
txtdate.Locked = True
txttime.Locked = True
txtphone.Locked = True
txtDOB.Locked = True
txtother.Locked = True
txtdoctor.Locked = True
txtregno.Locked = True
bmark = rsadmission.Bookmark
On Error GoTo errorhandler
find = InputBox("Enter patient ID", "Find")
rsadmission.find "[pt_ID] = " & "'" & find & "'", 0, adSearchForward,
adBookmarkFirst
If rsadmission.EOF Or rsadmission.BOF Then
MsgBox "patient not found !!", vbCritical, "error"
rsadmission.Bookmark = bmark
End If
filladmission
Exit Sub
errorhandler:
MsgBox "invalid arguement"
End Sub
Case 1
rsward.MovePrevious
If rsward.BOF Then
rsward.MoveFirst
MsgBox "You are on the first file."
End If
fillward
Case 2
rsward.MoveNext
If rsward.EOF Then
rsward.MoveLast
MsgBox "You are on the last file."
End If
fillward
Case 3
rsward.MoveLast
fillward
End Select
Exit Sub
errorhandler:
MsgBox "enter valid arguments", vbCritical, "error"
fillward
End Sub
warddetails.cbobedno.Enabled = True
If adding = True Then
rsward.AddNew
End If
rsward![bedno] = cbobedno.Text
rsward![wardno] = txtwardno.Text
rsward![ward_desc] = txtwardDesc.Text
rsward![ward_cat] = txtcategory.Text
rsward![no_of_bed] = txtnoofbeds.Text
rsward![total] = txtTotal.Text
rsward![pt_ID] = txtID.Text
rsward![pt_name] = txtname.Text
rsward![pt_sex] = txtsex.Text
rsward![pt_age] = txtage.Text
rsward![bed_occupied] = txtbed.Text
rsward.Update
enable6
adding = False
fillward
MsgBox "Save made by you is successful", vbInformation, "test result"
Exit Sub
errorhandler:
MsgBox "You have already saved the record", vbCritical, "Saved"
End Sub
Option Explicit
Public LoginSucceeded As Boolean
Private Sub cmdexit_Click()
LoginSucceeded = False
Me.Hide
End Sub
End If
End Sub
Option Explicit
Dim adding As Boolean
Dim ans As String
Dim find As String
Case 1
rspatient.MovePrevious
If rspatient.BOF Then
rspatient.MoveFirst
MsgBox "You are on the first file."
End If
Fillpatient
Case 2
rspatient.MoveNext
If rspatient.EOF Then
rspatient.MoveLast
MsgBox "You are on the last file"
End If
Fillpatient
Case 3
rspatient.MoveLast
Fillpatient
End Select
End Sub
End Sub
End Sub
End Sub
rspatient.Update
enable
adding = False
Fillpatient
MsgBox "Your changes have been successfully completed", vbInformation, "message"
End Sub
End Sub
End If
txtage.SetFocus
txtage.SelStart = 0
txtage.SelLength = Len(txtage.Text)
End Sub
End Sub
End If
txtLast.SetFocus
txtLast.SelStart = 0
txtLast.SelLength = Len(txtLast.Text)
End Sub
Private Sub txtfather_Validate(Cancel As Boolean)
If txtfather.Text = "" Then
If MsgBox("You must enter the name of the patient's father or husband.",
vbOKCancel, "Error") = vbOK Then
Cancel = True
Else
Fillpatient
enable
End If
End If
txtfather.SetFocus
txtfather.SelStart = 0
txtfather.SelLength = Len(txtfather.Text)
End Sub
Option Explicit
Option Explicit
a) Unit Testing.
b) Integration Testing.
c) Validation Testing.
d) System Testing.
SYSTEM REQUIREMENT
Hardware requirements:-
Software Requirements: -