Project Report (HospitalManagmentSystem)
Project Report (HospitalManagmentSystem)
Project Report
On
The Project
Submitted to
By
Diksha Singh
Registration # 581127987
Student Declaration
Diksha Singh
2|Page
Examiner’s Certification
3|Page
University Study Centre Certificate
Amitabh Rajan
Director
Chetan Sadhan Institute fo Science & Technology
LC Code: 01569
4|Page
Guide’s Certificate
5|Page
Acknowledgement
Last but not the least; I thank Mr. Pankaj Kumar for keeping our
labs in top notch condition so that we can do our work hasslefree.
Diksha Singh
6|Page
Abstract
7|Page
Table of Contents
Acknowledgement ................................................................................. 6
Abstract.................................................................................................... 7
Introduction ............................................................................................ 9
Objective ................................................................................................ 12
Screenshots ............................................................................................ 25
Coding ................................................................................................... 32
Documentation ..................................................................................... 64
Future Application............................................................................... 65
Conclusion ............................................................................................ 71
Bibliography ......................................................................................... 72
8|Page
Introduction
9|Page
has enlarged making it more sophisticated, diagnosis and cure-
oriented. With the advent of 21st century, Health care has become
an industry having tremendous potential.
10 | P a g e
Medical Transcription, one of the latest technologies in health
world provided with Internet facilities helps patient’s interaction
with different Health Experts of the world for an astute clinical
analysis as if treatment is going on at his home and doorstep.
11 | P a g e
Objective
4. Prepare Prescriptions
12 | P a g e
Problem Statement
1. Patient Name
2. Address
3. Contact Details
4. Date of Birth
5. Gender
6. Husband’s/Father’s Details
7. Marital Status
8. Religion etc.
13 | P a g e
Next important process is the Doctor appointment booking
process which has to be computerized. This process includes
making a booking entry as per patient’s request and giving a
printed transcript as confirmation.
14 | P a g e
Requirement Analysis
15 | P a g e
SOFTWARE LIFE CYCLE:
There are five phases in software life cycle. Software life cycle is
the long term in the view of software a view that comprises the
16 | P a g e
manuals and system test plans. In this project the requirements
analysis is done with the help of the manager and staffs after
between what the problem is and how to solve the problem. In this
There are usually many ways that the many be met, including
some solutions that do not involve the use of computers at all. The
17 | P a g e
that will meet the stated requirements. In the coding phase that
specification.
This is the phase that produces the actual code that will
phases of the life cycle may also develop code, such as prototypes.
Tests, and test derives, but these are for use by the developer.
being delivered to the next phase. In this project the first step what
All the modules that have been developed before and tested
18 | P a g e
a whole system... After doing this in the project the project will be
19 | P a g e
Open-ended rectangles representing data stores, including
electronic stores such as databases or XML files and physical stores
such as or filing cabinets or stacks of paper.
20 | P a g e
Data Dictionary
Data Tables
tblOutdoorPatient
Field Name Data Type
RegistrationNumber Text
RegistrationDate Date/Time
PatientName Text
Address Text
ContactNumber Text
DateOfBirth Date/Time
Gender Text
MaritalStatus Text
21 | P a g e
Religion Text
FatherHusbandName Text
tblStockItem
Field Name Data Type
ItemID Text
ItemName Text
Category Text
Manufacturer Text
MfgDate Date/Time
ExpDate Date/Time
Batch Text
Quantity Number
Rate Number
tblDoctor
Field Name Data Type
DoctorID Text
DoctorName Text
Gender Text
DateofBirth Date/Time
Qualification Text
Specialization Text
Department Text
Shift Text
Address Text
ContactNumber Text
Emailid Text
tblAppointments
Field Name Data Type
AppointmentNo Text
RegistrationNumber Text
VisitDate Date/Time
VisitingDoctor Text
Department Text
tblPrescriptions
22 | P a g e
Field Name Data Type
PrescriptionNo Text
RegistrationNo Text
Medicines Text
Tests Text
Remarks Text
tblIndoorPatient
Field Name Data Type
RegistrationNumber Text
RegistrationDate Date/Time
PatientName Text
Address Text
ContactNumber Text
DateOfBirth Date/Time
Gender Text
MaritalStatus Text
Religion Text
FatherHusbandName Text
tblDepartment
Field Name Data Type
DepartmentID Text
DepartmentName Text
23 | P a g e
Structure Chart
A structure chart is a top-down modular design tool, constructed
of squares representing the different modules in the system, and
lines that connect them. The lines represent the connection and or
ownership between activities and sub activities as they are used in
organization charts.
24 | P a g e
Screenshots
frmSplashScreen.vb
25 | P a g e
frmMain.vb
frmOutDoorPatientRegistration.vb
26 | P a g e
frmAppointmentBooking.vb
27 | P a g e
frmPrescriptionEntry
28 | P a g e
frmStockItems
frmDoctors
29 | P a g e
frmAdmitPatient
frmStockArrival
30 | P a g e
frmAboutBox
31 | P a g e
Coding
frmSplashScreen.vb
'TODO: This form can easily be set as the splash screen for the application by
going to the "Application" tab
' of the Project Designer ("Properties" under the "Project" menu).
'Application title
If My.Application.Info.Title <> "" Then
ApplicationTitle.Text = My.Application.Info.Title
Else
'If the application title is missing, use the application name, without the
extension
ApplicationTitle.Text =
System.IO.Path.GetFileNameWithoutExtension(My.Application.Info.AssemblyName
)
End If
32 | P a g e
'Format the version information using the text set into the Version control at
design time as the
' formatting string. This allows for effective localization if desired.
' Build and revision information could be included by using the following code
and changing the
' Version control's designtime text to "Version {0}.{1:00}.{2}.{3}" or something
similar. See
' String.Format() in Help for more information.
'
' Version.Text = System.String.Format(Version.Text,
My.Application.Info.Version.Major, My.Application.Info.Version.Minor,
My.Application.Info.Version.Build, My.Application.Info.Version.Revision)
Version.Text = System.String.Format(Version.Text,
My.Application.Info.Version.Major, My.Application.Info.Version.Minor)
'Copyright info
Copyright.Text = My.Application.Info.Copyright
End Sub
Public NotInheritable Class frmSplashScreen
'TODO: This form can easily be set as the splash screen for the application by
going to the "Application" tab
' of the Project Designer ("Properties" under the "Project" menu).
33 | P a g e
' properties dialog (under the "Project" menu).
'Application title
If My.Application.Info.Title <> "" Then
ApplicationTitle.Text = My.Application.Info.Title
Else
'If the application title is missing, use the application name, without the
extension
ApplicationTitle.Text =
System.IO.Path.GetFileNameWithoutExtension(My.Application.Info.AssemblyName
)
End If
'Format the version information using the text set into the Version control at
design time as the
' formatting string. This allows for effective localization if desired.
' Build and revision information could be included by using the following code
and changing the
' Version control's designtime text to "Version {0}.{1:00}.{2}.{3}" or something
similar. See
' String.Format() in Help for more information.
'
' Version.Text = System.String.Format(Version.Text,
My.Application.Info.Version.Major, My.Application.Info.Version.Minor,
My.Application.Info.Version.Build, My.Application.Info.Version.Revision)
Version.Text = System.String.Format(Version.Text,
My.Application.Info.Version.Major, My.Application.Info.Version.Minor)
'Copyright info
Copyright.Text = My.Application.Info.Copyright
End Sub
End Class
34 | P a g e
End Class
35 | P a g e
frmMain.vb
End Sub
End Sub
36 | P a g e
Private Sub BookAppointmentToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles BookAppointmentToolStripMenuItem.Click
frmBookAppointment.Show()
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
37 | P a g e
Private Sub DepartmentsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles DepartmentsToolStripMenuItem.Click
frmDepartments.Show()
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
38 | P a g e
Private Sub IssueGoodsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles IssueGoodsToolStripMenuItem.Click
frmIssueGoods.Show()
End Sub
End Sub
End Sub
End Sub
End Class
39 | P a g e
frmFirstLoginCheck.vb
End If
oCon.Close()
Me.Close()
End Sub
End Sub
End Class
40 | P a g e
frmFirstLogin.vb
Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
PictureBox2.Visible = True
PictureBox1.Visible = False
lblUserCreated.Visible = True
txtUserID.Visible = False
txtPassword.Visible = False
41 | P a g e
btnSubmit.Visible = False
btnReset.Visible = False
Timer1.Enabled = True
End Sub
End Class
42 | P a g e
frmLogin.vb
' TODO: Insert code to perform custom authentication using the provided username and
password
' (See http://go.microsoft.com/fwlink/?LinkId=35339).
' The custom principal can then be attached to the current thread's principal as follows:
' My.User.CurrentPrincipal = CustomPrincipal
' where CustomPrincipal is the IPrincipal implementation used to perform authentication.
' Subsequently, My.User will return identity information encapsulated in the
CustomPrincipal object
' such as the username, display name, etc.
43 | P a g e
ResetMe()
End If
oCon.Close()
End Sub
End Class
44 | P a g e
frmUserAccount.vb
45 | P a g e
Dim adoRS As New ADODB.Recordset
adoCon.Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" &
Application.StartupPath & "\dbManageSchool.mdb")
adoRS.Open("Select * from tblUsers", adoCon,
ADODB.CursorTypeEnum.adOpenDynamic,
ADODB.LockTypeEnum.adLockOptimistic)
adoRS.AddNew()
adoRS.Fields("UserID").Value = txtUserID.Text
adoRS.Fields("Password").Value = txtPassword.Text
adoRS.Fields("FullName").Value = txtFullName.Text
adoRS.Fields("Role").Value = cboRole.Text
adoRS.Update()
adoRS.Close()
oCon.Close()
MsgBox("New User Created Successfully")
ResetForm()
Else
oCon.Open()
oCom.Connection = oCon
oCom.CommandType = CommandType.Text
oCom.CommandText = "Select * from tblUsers where UserID='" &
txtUserID.Text & "'"
oDA.SelectCommand = oCom
oDA.Fill(DS, "tblUsers")
DR = DS.Tables("tblUsers").Rows(0)
DR("Password") = txtPassword.Text
DR("FullName") = txtFullName.Text
DR("Role") = cboRole.Text
CB = New OleDb.OleDbCommandBuilder(oDA)
oDA.Fill(DS, "tblUsers")
oDA.Update(DS, "tblUsers")
oCon.Close()
MsgBox("User Records Updated Successfully")
ResetForm()
46 | P a g e
End If
End Sub
txtUserID.Focus()
End Sub
47 | P a g e
txtFullName.Text = DR("FullName").ToString
cboRole.Text = DR("Role").ToString
oCon.Close()
End Sub
End Class
48 | P a g e
frmAbout.vb
Me.MdiParent = frmMain
49 | P a g e
End Sub
End Class
modMain.vb
Imports System.Data.OleDb
Module ModMain
Public strApplicationName As String = "ManageSchool"
Public strConnectionString As String = "PROVIDER=Microsoft.Jet.OLEDB.4.0;
Data Source=" & Application.StartupPath & "\dbManageSchool.mdb"
End Module
frmStockItems
50 | P a g e
Me.MdiParent = frmMain
'Generating ItemID
'*****************************************************
51 | P a g e
End If
txtItemID.Text = strAccountNumber
End If
oCon.Close()
End Sub
End Sub
End Class
frmIssueGoods.vb
52 | P a g e
'Generating ItemID
'*****************************************************
oCom.Connection = oCon
oCom.CommandType = CommandType.Text
oCom.CommandText = "Select * from tblStockItem"
oDA.SelectCommand = oCom
oDA.Fill(DS, "tblStockItem")
53 | P a g e
For intCount As Integer = 0 To DS.Tables("tblStockItem").Rows.Count - 1
ItemName.Items.Add(DS.Tables("tblStockItem").Rows(intCount).Item("ItemName"))
Next
oCon.Close()
End Sub
End Class
frmStockArrival.vb
'Generating ItemID
'*****************************************************
54 | P a g e
strAccountNumber += 1
strAccountNumber = "1" & strAccountNumber
txtTransactionID.Text = strAccountNumber
Else
strAccountNumber = "1" & Today.Year
If Today.Month > 9 Then
strAccountNumber = strAccountNumber & Today.Month
Else
strAccountNumber = strAccountNumber & "0" & Today.Month
End If
If Today.Day > 9 Then
strAccountNumber = strAccountNumber & Today.Day & "01"
Else
strAccountNumber = strAccountNumber & "0" & Today.Day & "01"
End If
txtTransactionID.Text = strAccountNumber
End If
oCom.Connection = oCon
oCom.CommandType = CommandType.Text
oCom.CommandText = "Select * from tblStockItem"
oDA.SelectCommand = oCom
oDA.Fill(DS, "tblStockItem")
For intCount As Integer = 0 To DS.Tables("tblStockItem").Rows.Count - 1
ItemName.Items.Add(DS.Tables("tblStockItem").Rows(intCount).Item("ItemName"))
Next
oCon.Close()
End Sub
End Class
55 | P a g e
frmDoctors.vb
'Generating Doctor Id
'*****************************************************
56 | P a g e
If Today.Month > 9 Then
strAccountNumber = strAccountNumber & Today.Month
Else
strAccountNumber = strAccountNumber & "1" & Today.Month
End If
If Today.Day > 9 Then
strAccountNumber = strAccountNumber & Today.Day & "01"
Else
strAccountNumber = strAccountNumber & "1" & Today.Day & "01"
End If
txtDoctorID.Text = strAccountNumber
End If
oCon.Close()
End Sub
End Class
frmIndex.vb
57 | P a g e
ctlMDI = CType(ctl, MdiClient)
End Sub
End Sub
End Sub
End Sub
End Sub
58 | P a g e
Private Sub AdmitPatientToolStripMenuItem_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles AdmitPatientToolStripMenuItem.Click
frmAdmitPatient.Show()
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
59 | P a g e
Private Sub RoomsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles RoomsToolStripMenuItem.Click
frmRooms.Show()
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
60 | P a g e
Private Sub SalesSummaryToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles SalesSummaryToolStripMenuItem.Click
frmSalesSummary.Show()
End Sub
End Class
61 | P a g e
Testing Procedures
Our test plans specify the approach that will ensure the
designated features are adequately tested. Our plans also
specify the major activities, techniques and tools used to test the
features. We describe the approach to a detail such that the
major testing tasks and the time required to complete each task
is identified. The plans also describe the techniques used to
specify requirements traceability. Testing constraints such as
testing environment or resource availability are specified.
62 | P a g e
It is a multistage process that consists of activities for validating
the s/w product. . from the most primitive elements up to the fully
integrated system. This area includes activities such as Unit
Testing ,Integration testing ,System testing ,Performannce testing
and acceptance testing.
63 | P a g e
Specially , Black Box testing consists of introducing combinations
of inputs to determine whether they produce the expected outputs
.
64 | P a g e
Documentations
65 | P a g e
Future Application
66 | P a g e
Enhancement in Information Mode :
67 | P a g e
Because the Microsoft Dot Net frame work is based of previous
version of Visual studio.
Dial Up Facility
E-mail sending Facility
Browsing Information from your own Application using
any Web Browser.
On line features using ASP ( Active Server Pages )
68 | P a g e
Enhancement in E- Mail sending features :
This is one of the most exciting feature of the s/w which will be
enhanced more in the future . It will allow users to browse
informations as Special announcements on the WWW, local files
of Active X Documents all from your applications
69 | P a g e
Today most of the applications are built around On – Line
services, I am also giving the provision of On line services.
70 | P a g e
Conclusion
71 | P a g e
Bibliography
4. www.codeguru.com
72 | P a g e