Professional Documents
Culture Documents
gaurav project (1)
gaurav project (1)
gaurav project (1)
Project Report on
Hospital Management System
Submitted
To
Vidya Vihar institute of technology, Purnia
For partial fulfillment of award of degree
Bachelor of Computer Application
Session 2021-2024
Prepared by:
Gaurav Kumar ( 821034 )
Tripti Kumari ( 821148 )
Muskan Kumari ( 821102 )
Aditya Kumar Thakur(82084)
Chapter 1: INTRODUCTION
1.1 Introduction.................................................................................4
1.2. Problem Statement.....................................................................5
1.3 Goals.............................................................................................5
1.4 Objective.......................................................................................5
1.5 Scope of the Project.....................................................................6
1.6 Modules.........................................................................................6
1.7 Doctor module..............................................................................7
1.8 Nurse module................................................................................7
1.9 Pharmacist module.......................................................................7
1.10 Laboratories module…………………………………………. 8
1.11 Account module……………………………………….….…… 8
Chapter 2: DESIGN
Chapter 3 : ANALYSIS
3.1 EXISTING SYSTEM..................................................................11
3.2 PROPOSED SYSTEM................................................................12
3.3 FEASIBILITY STUDY............................................................... 12
3.4 SOFTWARE SPECIFICATION................................................12-13
3.5 MySQL..........................................................................................13-15
2
CHAPTER 1
INTRODUCTION
3
Introduction
The project Hospital Management system includes registration of patients,
storing their details into the system, and also computerized billing in the
pharmacy, and labs. The software has the facility to give a unique id for every
patient and stores the details of every patient and the staff automatically. It
includes a search facility to know the current status of each room. User can
search availability of a doctor and the details of a patient using the id.
4
1.3 Problem Statement:
1.4 Goals
1) User friendly
2) Simple fast
3) Low cost and effective
4) It deals with the collection of patient’s information 5) Diagnosis
1.5 Objective:-
1) Define hospital
3) Generating bills.
cure them.
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.
1.6 Scope of the Project: -
1) Information about Patients is done by just writing the Patients name, age
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.
6
1.7 MODULES:
7
1.11 Nurse module:
8
CHAPTER 2
DESIGN
9
2.1 SYSTEM DESIGN:
1. Project Idea: First, you need a well-defined problem or task that your
application will address. This could be anything from a simple budget
tracker to a complex inventory management system.
2. User Interface (UI) Design: VB.net uses visual components like buttons,
text boxes, and menus to build the user interface. You'll need to design the
layout and functionality of these elements to provide an intuitive experience
for users.
3. Data Management: Many applications require storing and manipulating
data. VB.net can connect to databases like SQL Server or Access, or use
local storage options for smaller projects.
10
4. Coding Logic: Once the UI and data aspects are planned, you'll write code
using VB.net syntax to implement the functionalities. This involves defining
classes, objects, and event handlers to make the application work as
intended.
2.2 Er Diagram:
11
CHAPTER 3
ANALYSIS
12
3.1 EXISTING SYSTEM:
Hospitals currently use a manual system for the management and
maintenance of critical information. The current system requires numerous
paper forms, with data stores spread throughout the hospital management
infrastructure. Often information is incomplete or does not follow
management standards. Forms are often lost in transit between departments
requiring a comprehensive auditing process to ensure that no vital
information is lost. Multiple copies of the same information exist in the
hospital and may lead to inconsistencies in data in various data stores.
This study is carried out to check the economic impact will have on the
system will have on the organization. The amount of fund that the company
can pour into the research and development of the system is limited. The
expenditures must be justified. Thus, the developed system as well within
the budget and this was achieved because most of the technologies used are
freely available. Only the customized products have to be purchased.
13
3.3.2 Technical Feasibility
This study is carried out to check the technical feasibility, that is, the
technical requirements of the system. Any system developed must not have
a high demand on the available technical resources. This will lead to high
demands being placed on the client. The developed system must have a
modest requirement, as only minimal or null changes for the implementing
this system.
VB.NET:
14
2. Rich IDE Support: VB.NET is often used within Microsoft's Integrated
Development Environment (IDE), Visual Studio, which provides tools for
debugging, code completion, and visual designers for UI development.
3. Rapid Application Development (RAD): VB.NET simplifies and
accelerates the development process through features like drag-and-drop UI
design, a rich set of libraries, and automatic memory management via
garbage collection.
4. Interoperability: VB.NET can easily interact with other .NET languages
such as C#, allowing developers to leverage existing code and libraries.
3.5 MySQL:
FEATURES OF MySQL:
16
Security:
• A privilege and password system that is very flexible and secure, and that
enables host-based verification.
CONNECTIVITY:
. Clients can connect to MySQL Server using several protocols:
• On UNIX systems, clients can connect using Unix domain socket files.
LOCALIZATION:
• The server can provide error messages to clients in many languages.
• All data is saved in the chosen character set.
• MySQL includes several client and utility programs. These include both
command-line programs such as mysqladmin, and graphical programs such as
MySQL Workbench.
• MySQL Server has built-in support for SQL statements to check, optimize, and
repair tables. These statements are available from the command line through the
mysqlcheck client. MySQL also includes myisamchk, a very fast command-
line utility for performing these operations on MyISAM tables.
17
• MySQL programs can be invoked with the --help or -? option to obtain online
assistance.
WHY TO USE MySQL:
• Ease of use
• Fast
• Robust
• Security
• Free
• Support large database– up to 50 million rows, file size limit up to 8 million TB
18
CHAPTER 4
SAMPLE SCREENSHOTS
19
4.1 LOGIN PAGE:
20
4.3 DEPARTMENTS:
21
4.6 Patient Module:
22
4.8 Add Appointment Module:
23
CHAPTER 5
SYSTEM IMPLEMENTATION
24
5 SQL Connection
//connect to database
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = '';
$db['default']['database'] = 'multims';
$db['default']['dbdriver'] = 'mysql';
5.1 Login page
25
Private Sub ToolStripTextBox1_KeyDown(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.KeyEventArgs) Handles
ToolStripTextBox1.KeyDown
If e.KeyCode = Keys.Enter Then
e.SuppressKeyPress = True
SearchPatient()
End If
End Sub
26
Private Sub ToolStripTextBox2_KeyDown(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.KeyEventArgs) Handles
ToolStripTextBox2.KeyDown
If e.KeyCode = Keys.Enter Then
e.SuppressKeyPress = True
SearchAppointment()
End If
End Sub
28
cButton.BackColor = Color.LightBlue
FlowLayoutPanel2.Controls.Clear()
'Init labels
ToolStripLabel1.Text = "Search " & cButton.Text.ToLower & ":"
Label1.Text = cButton.Text & " (" & FlowLayoutPanel2.Controls.Count &
")"
Label5.Text = "Current selection: " & cButton.Text
selectedCategory = cButton.Text
End Sub
End Sub
End Sub
End Class
29
Public Class Patient
Inherits Button
'Visualise data
Form9.lblPatientName.Text = lbData.Items(1)
Form9.lblCaseType.Text = lbData.Items(0)
Form9.lblDate.Text = lbData.Items(2)
Form9.lblTime.Text = lbData.Items(3) & ":" & lbData.Items(4)
Form9.lblAppointmentFor.Text = lbData.Items(5)
Form9.lblLocation.Text = lbData.Items(6)
Form9.Show(Form1)
Form9.selectedAppointment = Text
End Sub
End Class
31
5.3 Doctor Module:
33
System.EventArgs) Handles MyBase.Load
Location = New Point(Form1.Left + 25, Form1.Top + 45)
For x = 1 To 31
ComboBox2.Items.Add(x)
If x < 13 Then
ComboBox3.Items.Add(x)
End If
Next
For x = 1900 To Date.UtcNow.Year
ComboBox4.Items.Add(x)
Next
Form1.LoadGeneric()
TextBox8.Text = Form1.PID
PictureBox1.Image = My.Resources.iconPatient72
End Sub
End Sub
End Class
35
5.5 Pharmacists Module:
37
End Sub
End Class
38
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Close()
End Sub
End Sub
End Class
End Sub
End Class
43
Private Sub PictureBox1_MouseDown(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.MouseEventArgs) Handles
PictureBox1.MouseDown
If e.Button = Windows.Forms.MouseButtons.Left Then
If OpenFileDialog1.ShowDialog =
Windows.Forms.DialogResult.OK Then
PictureBox1.SizeMode = PictureBoxSizeMode.Zoom
PictureBox1.Load(OpenFileDialog1.FileName)
End If
End If
End Sub
End Sub
End Class
'Create files
Dim sWriter As New System.IO.StreamWriter(pathAccount &
"username.txt")
44
sWriter.Write("")
sWriter.Close()
sWriter = New System.IO.StreamWriter(pathAccount &
"password.txt")
sWriter.Write("")
sWriter.Close()
For Each id As String In allIDs
sWriter = New System.IO.StreamWriter(pathGeneric &
id) sWriter.Write("1") sWriter.Close()
Next
End If
If String.IsNullOrWhiteSpace(userName) Then
Form7.Show()
Else
Form8.Show()
End If
End Sub
45
If ToolStripTextBox1.TextLength = 0 Then
For Each btn As Button In FlowLayoutPanel2.Controls
btn.Visible = True
Next
ToolStripButton2.Visible = False
ToolStripSeparator2.Visible = False
Else
ToolStripButton2.Visible = True
ToolStripSeparator2.Visible = True
End If
End Sub
46
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnAddPat.Click
Form2.Show(Me)
End Sub
47
Private Sub ToolStripButton2_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles ToolStripButton2.Click
ToolStripTextBox1.Clear()
ToolStripSeparator2.Visible = False
ToolStripButton2.Visible = False
End Sub
48
LoadPharmacists()
ElseIf cButton.Text = "Nurses" Then
LoadNurses()
ElseIf cButton.Text = "Laboratorists" Then
LoadLaboratorists()
ElseIf cButton.Text = "Accountants" Then
LoadAccountants()
End If
'Init labels
ToolStripLabel1.Text = "Search " & cButton.Text.ToLower & ":"
Label1.Text = cButton.Text & " (" &
FlowLayoutPanel2.Controls.Count & ")"
Label5.Text = "Current selection: " & cButton.Text
selectedCategory = cButton.Text
End Sub
End Sub
End Class
49
IMPLIMENTATION
4. System Design
• Customizations: Determine any customizations needed to meet specific
hospital requirements.
• Integration: Plan for integration with existing systems (e.g., lab information
systems, radiology information systems).
5. Implementation Team
• Project Manager: Appoint a project manager to oversee the implementation
process.
• Technical Team: Form a technical team including IT staff, software
developers, and system integrators.
• User Representatives: Include representatives from each department to ensure
all needs are considered.
50
BIBLIOGRAPY
o Google
o YouTube
o The Complete Reference Book (Visual Basic.NET)
o Wikipedia
o Local Student
o Notebook
51
TESTING
2. Non-Functional Testing
Non-functional testing focuses on aspects like performance, security, usability, and
reliability.
Performance Testing
52
FUTURE SCOPE
This project is not yet complete. We have currently added functionalities such as
patient registration, laboratory addition, nurse addition, doctor addition, appointment
booking, and availability with doctors. We will further add modules for payment,
bed allocation, blood sections, blood reports, and more, ensuring no user, whether a
patient, accountant, doctor, or any application user, faces any issues.
53