Satbir
Satbir
ON
HOSPITAL MANAGEMENT SYSTEM
IN PARTIAL FULFILLMENT OF REQUIREMENT OF
DEGREE OF BACHELOR OF TECHNOLOGY IN
COMPUTER SCIENCE
(CSE)
SATBIR SINGH
YEAR-2014
CERTIFICATE
Guide HOD
Neeraj sharma
Date: / /2014
Place: Gurdaspur
ACKNOWLEDGEMENT
All the teachers for providing a vision about the system, their
patience and suggestions on improving.
I express my gratitude to guide Mr. Raman Jyoti for his timely help
and for showing keen interest in my work, which enabled me 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?
SATBIR SINGH
ABSTRACT
Since I had time constraints I was not able to make out module into
live and living portal but would try for the same together with the
interference.
Table of Contents
SR.NO Topic
1 Introduction
3 Problem Identification
4 System Analysis
5 Preliminary Investigation
6 Feasibility Study
7 Problem Analysis
10 Information gathering
12 Data Dictionary
13 Screen -Layouts
14 Coding
17 Bibliography
INTRODUCTION
Project Profile
INTRODUCTION TO SOFTWARE
Purpose
Administrator Level
User Level
Scope
Overview
X-Ray
Urine Test
Stool Test
Sonography Test
Gastroscopy Test
Colonoscopy Test
Blood Test
Biochemistry Test
Overall Description
Backgro1und
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.
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.
User Characteristics
Constraints
SYSTEM REQUIREMENT
SPECIFICATION
Software Requirement
Development Side
MS Office 2007
Client Side
Hardware Requirement
Development Side
HARDDISK : 40 GB or above.
Client Side
HARDDISK : 40 GB or above.
DEVICE : printer
PROBLEM
IDENTIFICATION
Existing System
This document required more storing space, more manpower and job
become tedious.
Definitions of problems
Alternative Solutions
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:-
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.
3. Online System:-
SYSTEM ANALYSIS
SYSTEM ANALYSIS
Definition : -
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.
Preliminary
Investigation
Preliminary Investigation
Interviewing
Questionnaires
Feasibility Study
Feasibility Study
Technical feasibility
Customer the work for the system can be done with the present
equipment and three is no need of other technologies so this application
is technically feasible.
Economic feasibility
Operation feasibility
Schedual feasibility
Implementation feasibility
1. What are the user’s demonstrable needs and how does a candidate
system meet them?
Front-end selection:
1. It must have a graphical user interface that assists employees that are
not from IT background.
3. Flexibility.
4. Robustness.
7. Platform independent.
10. Front end must support some popular back end like Ms Access.
Back-end Selection:
5. Stored procedures.
6. Popularity.
8. Easy to install.
Problem
Analysis
Problem Analysis
What the help of analysis we tried out to reduce the communication gap
between the user and us.
System Development
Strategies
Here, starting with 1st system development life cycle method. Which
has the following activities of any system?
Preliminary investigation.
Design of system.
Development of software.
System testing.
Software Engneering
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.
Requirement
Design
Implementation
Verification
Maintenance
Requirement
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
Verification
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.
INFORMATION
GATHERING
Information Gathering
The error of this system are seen the studied. Because of this error we need
necessary to develop.
The system mainly develop for organize for remove the paper work.
The detail of designing of coding of this system are viewed from the “The
complete reference of net programming book “, Master in VB.Net.
System Flow
Diagram
Data Dictionary
SCREEN DESIGN
LOGIN FORM
HOSPITAL MASTER
IF USER LOGIN. THIS MAIN FORM WILL BE OPEN AND USER HAVE
FOLLOWING WRITES:
UPDATE RECORD
ROUTINE CHEKUP
PATIENT INFORMATION
DOCTOR INFORMATION
SISTER/WARDBOY INFORMATION
DISCHARGE INFORMATION
BILL INFORMATION
CODING
FORM LOGIN
Imports System.Data.OleDb
End Sub
Me.Label1.ForeColor = System.Drawing.Color.Teal
Me.Label1.Location = New System.Drawing.Point(184, 64)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(120, 32)
Me.Label1.TabIndex = 0
Me.Label1.Text = "User Name"
'
'PictureBox1
'
Me.PictureBox1.BorderStyle =
System.Windows.Forms.BorderStyle.FixedSingle
Me.PictureBox1.Image =
CType(resources.GetObject("PictureBox1.Image"),
System.Drawing.Bitmap)
Me.PictureBox1.Location = New System.Drawing.Point(16, 48)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(144, 144)
Me.PictureBox1.TabIndex = 1
Me.PictureBox1.TabStop = False
'
'Label2
'
Me.Label2.Font = New System.Drawing.Font("Tahoma", 14.25!,
System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point,
CType(0, Byte))
Me.Label2.ForeColor = System.Drawing.Color.Teal
Me.Label2.Location = New System.Drawing.Point(184, 120)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(112, 24)
Me.Label2.TabIndex = 2
Me.Label2.Text = "Password"
'
'txt_Username
'
Me.txt_Username.Location = New System.Drawing.Point(320, 64)
Me.txt_Username.Name = "txt_Username"
Me.txt_Username.Size = New System.Drawing.Size(128, 20)
Me.txt_Username.TabIndex = 1
Me.txt_Username.Text = ""
'
'txt_Password
'
Me.txt_Password.Font = New System.Drawing.Font("Microsoft
Sans Serif", 9.75!, System.Drawing.FontStyle.Bold,
System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txt_Password.Location = New System.Drawing.Point(320, 120)
Me.txt_Password.Name = "txt_Password"
Me.txt_Password.PasswordChar = Microsoft.VisualBasic.ChrW(42)
Me.txt_Password.Size = New System.Drawing.Size(128, 22)
Me.txt_Password.TabIndex = 2
Me.txt_Password.Text = ""
'
'btnOK
'
Me.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.System
Me.btnOK.Location = New System.Drawing.Point(240, 192)
Me.btnOK.Name = "btnOK"
Me.btnOK.Size = New System.Drawing.Size(72, 32)
Me.btnOK.TabIndex = 3
Me.btnOK.Text = "OK"
'
'btnCancel
'
Me.btnCancel.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnCancel.Location = New System.Drawing.Point(360, 192)
Me.btnCancel.Name = "btnCancel"
Me.btnCancel.Size = New System.Drawing.Size(72, 32)
Me.btnCancel.TabIndex = 4
Me.btnCancel.Text = "Cancel"
'
'SB_Login
'
Me.SB_Login.Font = New System.Drawing.Font("Tahoma", 9.75!,
System.Drawing.FontStyle.Bold)
Me.SB_Login.Location = New System.Drawing.Point(0, 248)
Me.SB_Login.Name = "SB_Login"
Me.SB_Login.Size = New System.Drawing.Size(474, 32)
Me.SB_Login.TabIndex = 7
Me.SB_Login.Text = "Attempt : "
'
'frmLogin
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.Color.LightGray
Me.ClientSize = New System.Drawing.Size(474, 280)
Me.Controls.AddRange(New System.Windows.Forms.Control()
{Me.SB_Login, Me.btnCancel, Me.btnOK, Me.txt_Password,
Me.txt_Username, Me.Label2, Me.PictureBox1, Me.Label1})
Me.FormBorderStyle =
System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Icon = CType(resources.GetObject("$this.Icon"),
System.Drawing.Icon)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "frmLogin"
Me.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Login"
Me.ResumeLayout(False)
End Sub
#End Region
#Region "Variable"
Public Shared counter As Integer = 3
Dim str As String = "Attempt : "
#End Region
Dim r0 As String
FORM MAIN
'hospital
'696, 689
'form size=880, 780
Imports System.Data.OleDb
End Sub
END SUB
FORM DOCTOR
Imports System.Data
Imports System.Data.OleDb
End Sub
'
Me.btnCancel.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnCancel.Location = New System.Drawing.Point(24, 160)
Me.btnCancel.Name = "btnCancel"
Me.btnCancel.Size = New System.Drawing.Size(88, 23)
Me.btnCancel.TabIndex = 9
Me.btnCancel.Text = "Cancel"
'
'btnSaveDoctor
'
Me.btnSaveDoctor.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnSaveDoctor.Location = New System.Drawing.Point(24, 128)
Me.btnSaveDoctor.Name = "btnSaveDoctor"
Me.btnSaveDoctor.Size = New System.Drawing.Size(88, 23)
Me.btnSaveDoctor.TabIndex = 8
Me.btnSaveDoctor.Text = "Save Doctor"
'
'btnDeleteDoctor
'
Me.btnDeleteDoctor.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnDeleteDoctor.Location = New System.Drawing.Point(24,
96)
Me.btnDeleteDoctor.Name = "btnDeleteDoctor"
Me.btnDeleteDoctor.Size = New System.Drawing.Size(88, 23)
Me.btnDeleteDoctor.TabIndex = 7
Me.btnDeleteDoctor.Text = "Delete Doctor"
'
'btnUpdateDoctor
'
Me.btnUpdateDoctor.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnUpdateDoctor.Location = New System.Drawing.Point(24,
64)
Me.btnUpdateDoctor.Name = "btnUpdateDoctor"
Me.btnUpdateDoctor.Size = New System.Drawing.Size(88, 23)
Me.btnUpdateDoctor.TabIndex = 6
Me.btnUpdateDoctor.Text = "Edit Doctor"
'
'btnAddDoctor
'
Me.btnAddDoctor.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnAddDoctor.Location = New System.Drawing.Point(24, 29)
Me.btnAddDoctor.Name = "btnAddDoctor"
Me.btnAddDoctor.Size = New System.Drawing.Size(88, 23)
Me.btnAddDoctor.TabIndex = 5
Me.btnAddDoctor.Text = "Add Doctor"
'
'DTP_DOJ
'
Me.DTP_DOJ.Format =
System.Windows.Forms.DateTimePickerFormat.Short
Me.DTP_DOJ.Location = New System.Drawing.Point(168, 240)
Me.DTP_DOJ.Name = "DTP_DOJ"
Me.DTP_DOJ.Size = New System.Drawing.Size(104, 20)
Me.DTP_DOJ.TabIndex = 4
'
'txtPhone
'
Me.txtPhone.Location = New System.Drawing.Point(168, 200)
Me.txtPhone.Name = "txtPhone"
Me.txtPhone.TabIndex = 3
Me.txtPhone.Text = ""
'
'txtName
'
Me.txtName.Location = New System.Drawing.Point(168, 88)
Me.txtName.Name = "txtName"
Me.txtName.TabIndex = 1
Me.txtName.Text = ""
'
'txtID
'
Me.txtID.Enabled = False
Me.txtID.Location = New System.Drawing.Point(168, 48)
Me.txtID.Name = "txtID"
Me.txtID.ReadOnly = True
Me.txtID.TabIndex = 20
Me.txtID.Text = ""
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(48, 240)
Me.Label5.Name = "Label5"
Me.Label5.TabIndex = 19
Me.Label5.Text = "Date of joining"
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(48, 200)
Me.Label4.Name = "Label4"
Me.Label4.TabIndex = 18
Me.Label4.Text = "Phone"
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(48, 128)
Me.Label3.Name = "Label3"
Me.Label3.TabIndex = 17
Me.Label3.Text = "Address"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(48, 88)
Me.Label2.Name = "Label2"
Me.Label2.TabIndex = 16
Me.Label2.Text = "Name"
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(48, 48)
Me.Label1.Name = "Label1"
Me.Label1.TabIndex = 15
Me.Label1.Text = "ID"
'
'RtxtAddress
'
Me.RtxtAddress.Location = New System.Drawing.Point(168, 120)
Me.RtxtAddress.Multiline = True
Me.RtxtAddress.Name = "RtxtAddress"
Me.RtxtAddress.ScrollBars =
System.Windows.Forms.ScrollBars.Both
Me.RtxtAddress.Size = New System.Drawing.Size(100, 56)
Me.RtxtAddress.TabIndex = 2
Me.RtxtAddress.Text = ""
'
'btnSearch
'
Me.btnSearch.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnSearch.Location = New System.Drawing.Point(24, 32)
Me.btnSearch.Name = "btnSearch"
Me.btnSearch.TabIndex = 11
Me.btnSearch.Text = "Search"
'
'btnExcel
'
Me.btnExcel.FlatStyle = System.Windows.Forms.FlatStyle.System
Me.btnExcel.Location = New System.Drawing.Point(24, 72)
Me.btnExcel.Name = "btnExcel"
Me.btnExcel.TabIndex = 12
Me.btnExcel.Text = "Excel"
'
'btnCustomprint
FORM DISCHARGE
Imports System.Data.OleDb
End Sub
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.BackColor = System.Drawing.Color.LightGray
Me.GroupBox1.Controls.Add(Me.DTP_DOD)
Me.GroupBox1.Controls.Add(Me.cbDoctor)
Me.GroupBox1.Controls.Add(Me.CB_Bloodgp)
Me.GroupBox1.Controls.Add(Me.DTP_date)
Me.GroupBox1.Controls.Add(Me.CB_Bedno)
Me.GroupBox1.Controls.Add(Me.CB_BedCategory)
Me.GroupBox1.Controls.Add(Me.RtxtAddress)
Me.GroupBox1.Controls.Add(Me.Rtxt_Remark)
Me.GroupBox1.Controls.Add(Me.GroupBox3)
Me.GroupBox1.Controls.Add(Me.Label14)
Me.GroupBox1.Controls.Add(Me.Label13)
Me.GroupBox1.Controls.Add(Me.txtBedCharge)
Me.GroupBox1.Controls.Add(Me.Label10)
Me.GroupBox1.Controls.Add(Me.Label9)
Me.GroupBox1.Controls.Add(Me.Label8)
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.txtDisease)
Me.GroupBox1.Controls.Add(Me.txtphone)
Me.GroupBox1.Controls.Add(Me.txtAge)
Me.GroupBox1.Controls.Add(Me.txtPatiname)
Me.GroupBox1.Controls.Add(Me.txtRegno)
Me.GroupBox1.Controls.Add(Me.Label11)
Me.GroupBox1.Controls.Add(Me.Label12)
Me.GroupBox1.Location = New System.Drawing.Point(16, 8)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(512, 504)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Patient Detail"
'
END SUB
FORM BILL
System.Windows.Forms.FlatStyle.System
Me.btnDeleteRegistration.Location = New
System.Drawing.Point(32, 40)
Me.btnDeleteRegistration.Name = "btnDeleteRegistration"
Me.btnDeleteRegistration.Size = New System.Drawing.Size(112,
32)
Me.btnDeleteRegistration.TabIndex = 15
Me.btnDeleteRegistration.Text = "Delete"
'
'Label14
'
Me.Label14.Location = New System.Drawing.Point(40, 472)
Me.Label14.Name = "Label14"
Me.Label14.Size = New System.Drawing.Size(100, 23)
Me.Label14.TabIndex = 151
Me.Label14.Text = "Discharge Date"
'
'Label13
'
Me.Label13.Location = New System.Drawing.Point(40, 120)
Me.Label13.Name = "Label13"
Me.Label13.Size = New System.Drawing.Size(100, 23)
Me.Label13.TabIndex = 150
Me.Label13.Text = "Bed Charge/Day"
'
'txtBedCharge
'
Me.txtBedCharge.Location = New System.Drawing.Point(160, 120)
Me.txtBedCharge.Name = "txtBedCharge"
Me.txtBedCharge.ReadOnly = True
Me.txtBedCharge.Size = New System.Drawing.Size(104, 20)
Me.txtBedCharge.TabIndex = 4
'
'Label10
'
Me.Label10.Location = New System.Drawing.Point(40, 432)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(100, 23)
Me.Label10.TabIndex = 144
Me.Label10.Text = "Remarks"
'
'Label9
'
Me.Label9.Location = New System.Drawing.Point(40, 360)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(100, 23)
Me.Label9.TabIndex = 143
Me.Label9.Text = "Blood Group"
'
'Label8
'
Me.Label8.Location = New System.Drawing.Point(40, 392)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(100, 23)
Me.Label8.TabIndex = 140
Me.Label8.Text = "Doctor"
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(40, 328)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(100, 23)
Me.Label7.TabIndex = 139
Me.Label7.Text = "Disease"
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(40, 296)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(100, 23)
Me.Label6.TabIndex = 138
Me.Label6.Text = "Date"
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(40, 264)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(100, 23)
Me.Label5.TabIndex = 137
Me.Label5.Text = "Phone No"
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(40, 216)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(100, 23)
Me.Label4.TabIndex = 136
Me.Label4.Text = "Address"
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(40, 184)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(100, 23)
Me.Label3.TabIndex = 135
Me.Label3.Text = "Age"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(40, 152)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(100, 23)
Me.Label2.TabIndex = 134
Me.Label2.Text = "Patient Name"
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(40, 24)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(100, 23)
Me.Label1.TabIndex = 133
Me.Label1.Text = "Registration No"
'
END BUTTON()
END SUB
FORM PATIENT
Imports System.Data
Imports System.Data.OleDb
End Sub
'
Me.GroupBox3.Controls.AddRange(New
System.Windows.Forms.Control() {Me.btnDischarge,
Me.btnSaveRegistration, Me.btnCancelRegistration,
Me.btnEditRegistration, Me.btnRegisterPatient})
Me.GroupBox3.Location = New System.Drawing.Point(320, 40)
Me.GroupBox3.Name = "GroupBox3"
Me.GroupBox3.Size = New System.Drawing.Size(176, 280)
Me.GroupBox3.TabIndex = 69
Me.GroupBox3.TabStop = False
Me.GroupBox3.Text = "Transaction"
'
'btnDischarge
'
Me.btnDischarge.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnDischarge.Location = New System.Drawing.Point(32, 224)
Me.btnDischarge.Name = "btnDischarge"
Me.btnDischarge.Size = New System.Drawing.Size(112, 32)
Me.btnDischarge.TabIndex = 18
Me.btnDischarge.Text = "Discharge Patient"
'
'btnSaveRegistration
'
Me.btnSaveRegistration.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnSaveRegistration.Location = New
System.Drawing.Point(32, 128)
Me.btnSaveRegistration.Name = "btnSaveRegistration"
Me.btnSaveRegistration.Size = New System.Drawing.Size(112,32)
Me.btnSaveRegistration.TabIndex = 16
Me.btnSaveRegistration.Text = "Save Registration"
'
'btnCancelRegistration
'
Me.btnCancelRegistration.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnCancelRegistration.Location = New
System.Drawing.Point(32, 176)
Me.btnCancelRegistration.Name = "btnCancelRegistration"
Me.btnCancelRegistration.Size = New System.Drawing.Size(112,
32)
Me.btnCancelRegistration.TabIndex = 17
Me.btnCancelRegistration.Text = "Cancel Registration"
'
'btnEditRegistration
'
Me.btnEditRegistration.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnEditRegistration.Location = New
System.Drawing.Point(32, 80)
Me.btnRegisterPatient.FlatStyle =
System.Windows.Forms.FlatStyle.System
Me.btnRegisterPatient.Location = New System.Drawing.Point(32,
32)
Me.btnRegisterPatient.Name = "btnRegisterPatient"
Me.btnRegisterPatient.Size = New System.Drawing.Size(112, 32)
FORM WARDBOY/SISTER
txtRegno.Text = r0
CB_BedCategory.Text = r1
CB_Bedno.Text = r2
txtBedCharge.Text = r3
txtPatiname.Text = r4
txtAge.Text = r5
RtxtAddress.Text = r6
txtphone.Text = r7
If r8 = Nothing Then
DTP_date.Text = ""
Else
DTP_date.Value = r8
End If
txtDisease.Text = r9
CB_Bloodgp.Text = r10
cbDoctor.Text = r11
Rtxt_Remark.Text = r12
End Sub
#End Region
Sub delete_Record()
Dim delete_Constr As String =
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\hm.mdb"
Dim delete_Comstr As String
Dim delete_Con As OleDbConnection
Dim delete_Com As OleDbCommand
Dim ID As String
ID = txtRegno.Text
delete_Comstr = "Delete from admit WHERE Regno=" & ID
delete_Con.Open()
Try
delete_Com.ExecuteNonQuery()
MsgBox("Patient record deleted successfully.",
MsgBoxStyle.Information, "Delete Registration")
Catch ex As OleDbException
MsgBox(ex.Message)
End Try
delete_Con.Close()
Fill_Textbox_Admit()
fill_listview()
End Sub
#End Region
Fill_Textbox_Admit()
fill_listview()
If LV_PatiView.Items.Count = 0 Then
'MessageBox.Show("There is no record to show.", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error)
btnRegisterPatient.Enabled = True
btnEditRegistration.Enabled = False
'btnDeleteRegistration.Enabled = False
btnSaveRegistration.Enabled = False
btnCancelRegistration.Enabled = False
btnDischarge.Enabled = False
'btnPrint.Enabled = False
btnCustomprint.Enabled = False
btnSearch.Enabled = False
btnExcel.Enabled = False
CB_BedCategory.Enabled = False
CB_Bedno.Enabled = False
txtPatiname.ReadOnly = True
txtAge.ReadOnly = True
RtxtAddress.ReadOnly = True
txtphone.ReadOnly = True
DTP_date.Enabled = False
txtDisease.ReadOnly = True
CB_Bloodgp.Enabled = False
cbDoctor.Enabled = False
Rtxt_Remark.ReadOnly = True
Else
btnSaveRegistration.Enabled = False
btnCancelRegistration.Enabled = False
CB_BedCategory.Enabled = False
CB_Bedno.Enabled = False
'fill listview
Sub fill_listview()
' Clear list view column headers and items
LV_PatiView.Columns.Clear()
LV_PatiView.Items.Clear()
Try
' Open Connection
Try
fillLV_Con.Open()
Catch e As Exception
MsgBox(e.Message)
End Try
Dim i As Integer
For i = 0 To NewReader.FieldCount - 1
Dim header As New ColumnHeader()
header.Text = NewReader.GetName(i)
LV_PatiView.Columns.Add(header)
Next
Catch ex As OleDbException
' Create and error column header
Dim ErrorHeader As New ColumnHeader()
ErrorHeader.Text = "oledb Error"
LV_PatiView.Columns.Add(ErrorHeader)
Catch ex As Exception
' Create and error column header
Dim ErrorHeader As New ColumnHeader()
ErrorHeader.Text = "Error"
LV_PatiView.Columns.Add(ErrorHeader)
Finally
fillLV_Con.Close()
End Try
End Sub
#End Region
#End Region
Testing
&
Impleentation Plan
Testing
Program test:
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.
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.
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.
Testing Levels
Test Phases
IMPLEMENTATION PHASE
User Training
the use of the application after it has been implemented for use in their
official work.
Conclusion
The system also provides the facility of backup as per the requirement.
Further Enhancement
Bibliography
1. www.freelancer.com
2. www.mednetus.com
3. www.captera.com
4. www.henryschein.com
5. Mastering VB 6.0
**************