gaurav project (1)

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 53

VIDYA VIHAR INSTITUTE OF

TECHNOLOGY PURNEA – 854305

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)

Under the guidance of


Mr. Sanjay Kumar
1
Table of contents

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

2.1 SYSTEM DESIGN:......................................................................9


2.2 E-R Diagram and DFD Diagram…............................................10

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

Chapter 4: SAMPLE SCREENSHOTS

4.1 LOGIN PAGE ..............................................................................16


4.2 THE MAIN FACE........................................................................16
4.3 DEPARTMENTS..........................................................................17
4.4 ADDING NEW DOCTOR AND EMPLOYEE………………..18
4.5 DOCTOR MODULE....................................................................18
4.6 PATIENT MODULE…………………………………………….19
4.7 PATIENT INFORMATION MODULE………………………...20
4.8 ADD APPOINMENT MODULE………………………………..21
4.9 ADD DOCTOR MODULE………………………………………21

Chapter 5 : SYSTEM IMPLEMENTATION……………………...22-47

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.

The Hospital Management System can be entered using a username and


password. It is accessible either by an administrator or receptionist. Only they
can add data into the database. The data can be retrieved easily. The interface
is very user-friendly. The data are well protected for personal use and makes
the data processing very fast.

Hospital Management System is powerful, flexible, and easy to use and is


designed and developed to deliver real conceivable benefits to hospitals.
Hospital Management System is designed for multispecialty hospitals, to
cover a wide range of hospital administration and management processes. It
is an integrated end-to-end Hospital Management System that provides
relevant information across the hospital to support effective decision
making for patient care, hospital administration and critical financial
accounting, in a seamless flow.

Hospital Management System is a software product suite designed to improve


the quality and management of hospital management in the areas of clinical
process analysis and activity-based costing. Hospital Management System
enables you to develop your organization and improve its effectiveness and
quality of work. Managing the key processes efficiently is critical to the
success of the hospital helps you manage your processes

4
1.3 Problem Statement:

Lack of immediate retrievals: -


The information is very difficult to retrieve and to find particular information
like- E.g. - To find out about the patient’s history, the user has to go through
various registers. This results in in convenience and wastage of time.

Lack of immediate information storage: -


The information generated by various transactions takes time and efforts to be
stored at right place.

Lack of prompt updating: -


Various changes to information like patient details or immunization details of
child are difficult to make as paper work is involved.

Error prone manual calculation: -


Manual calculations are error prone and take a lot of time this may result in
incorrect information. For Example calculation of patient’s bill based on
various treatments.

Preparation of accurate and prompt reports: -


This becomes a difficult task as information is difficult to collect from various
register.

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

2) Recording information about the Patients that come.

3) Generating bills.

4) Recording information related to diagnosis given to patients.

5) Keeping record of the immunization provided to children/patients.


5
6) Keeping information about various diseases and medicines available to

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

and gender. Whenever the Patient comes up his information is stored


freshly.
2) Bills are generated by recording price for each facility provided to Patient

on a separate sheet and at last they all are summed up.


3) Diagnosis information to patients is generally recorded on the document,

which contains Patient information. It is destroyed after some time period


to decrease the paper load in the office.
4) Immunization records of children are maintained in pre-formatted sheets,

which are kept in a file.


5) Information about various diseases is not kept as any document.

Doctors themselves do this job by remembering various medicines.

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:

The entire project mainly consists of 6 modules, which are


 Admin module
 Patient module
 Doctor module
 Nurse module
 Pharmacist module
 Laboratory’s module

1.8 Admin module:

• Manage department of hospitals, user, doctor, nurse, pharmacist,


laboratories.
• Watch appointment of doctors
• Watch transaction reports of patient payment
• Bed, ward, cabin status
• Watch blood bank report
• Watch medicine status of hospital stock

1.9 Patient module

• View appointment list and status with doctors


• View doctor list
• View admits history. like bed, ward icu etc
• Manage own profile

1.10 Doctor module:

• Manage patient. account opening and updating


• Create, manage appointment with patient
• Manage own profile

7
1.11 Nurse module:

• Manage patient. account opening and updating


• Allot bed, ward, cabin for patients
• Keep record of patient operation, baby born and death of patient
• Manage own profile

1.13 Laboratories module:

• Watch prescription list


• Upload diagnostic report
• Preview of report files. like Xray images, CT scan reports
• Manage own profile

8
CHAPTER 2
DESIGN

9
2.1 SYSTEM DESIGN:

VB.NET, short for Visual Basic .NET, is a programming language created by


Microsoft. It's designed to be easy to learn and use, making it a good choice for
beginners. VB.NET is also powerful enough to create complex applications.

Here's a breakdown of what VB.NET is and what it can do:

• Object-oriented: VB.NET is object-oriented, meaning you can organize


your code using objects that represent real-world things. This makes code
more modular and reusable.
• Runs on .NET: VB.NET code is compiled and runs on the .NET
Framework, a platform that provides a wide range of libraries and tools for
developers. This gives VB.NET programs access to a vast collection of
functionalities.
• Creates various applications: VB.NET can be used to create different
types of applications, including: o Desktop applications: These are
programs that run on a local computer, like a budget tracker or a point-of-
sale system.

o Web applications: VB.NET can be used for web development in


conjunction with ASP.NET.

o Mobile applications: With tools like Xamarin, VB.NET can be used


to create mobile apps for various platforms.

Designing a project in VB.net involves several aspects:

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:

2.3 DFD 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.

3.2 PROPOSED SYSTEM:


The Hospital Management System is designed for any hospital to replace
their existing manual paper-based system. The new system is to control the
information of patients. Room availability, staff and operating room
schedules and patient invoices. These services are to be provided in an
efficient, cost-effective manner, with the goal of reducing the time and
resources currently required for such tasks.

3.3 FEASIBILITY STUDY

The feasibility of the project is analyzed in this phase and business


proposal is put forth with a very general plan for the project and some cost
estimates. During system analysis the feasibility study of the proposed system
is to be carried out. This is to ensure that the proposed system is not a burden
to the company. For feasibility analysis, some understanding of the major
requirements for the system is essential.

Three key considerations involved in the feasibility analysis are:

3.3.1 Economic Feasibility

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.

3.3.3 Operational Feasibility

The aspect of study is to check the level of acceptance of the system by


the user. This includes the process of training the user to use the system
efficiently. The user must not feel threatened by the system, instead must
accept it as a necessity. The level of acceptance by the users solely
depends on the methods that are employed to educate the user about the
system and to make him familiar with it. His level of confidence must
be raised so that he is also able to make some constructive criticism,
which is welcomed, as he is the final user of the system.

3.4 SOFTWARE SPECIFICATION

VB.NET:

VB.NET, short for Visual Basic .NET, is a multi-paradigm programming language


developed by Microsoft. It is an evolution of the classic Visual Basic (VB)
language and is fully integrated with the .NET Framework. This integration
provides developers with a powerful platform for building Windows applications,
web services, and other types of software with improved performance, security,
and interoperability.
Key Features:

1. Object-Oriented Programming (OOP): VB.NET supports the core


concepts of OOP, such as inheritance, encapsulation, polymorphism, and
abstraction, which enable developers to create modular, reusable, and
maintainable code.

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.

How VB.NET Works:

VB.NET operates within the .NET Framework, which provides a comprehensive


runtime environment known as the Common Language Runtime (CLR). Here’s a
step-by-step overview of how VB.NET works:

1. Writing Code: Developers write VB.NET code using Visual Studio or


another compatible IDE. The code is written in a high-level syntax that is
easy to read and understand.
2. Compilation: When the code is compiled, the VB.NET compiler converts
the source code into Intermediate Language (IL) code. This IL code is a
CPU-independent set of instructions that can be executed on any platform
supporting the .NET Framework.

3. Execution: The IL code is executed by the CLR. Before execution, the


JustIn-Time (JIT) compiler translates the IL code into native machine code
specific to the operating system and hardware architecture. This ensures that
the application runs efficiently on the target machine.

4. Memory Management: The CLR manages memory allocation and


deallocation automatically through garbage collection. This helps prevent
memory leaks and other common programming errors related to manual
memory management.

5. Library Utilization: VB.NET programs can utilize a vast array of pre-built


libraries provided by the .NET Framework. These libraries cover a wide
15
range of functionalities, from file I/O and database connectivity to advanced
graphics and web development.

6. Debugging and Deployment: Visual Studio offers robust debugging tools


that help developers identify and fix errors in their code. Once the
application is complete, it can be packaged and deployed to the target
environment, whether it be a desktop, web server, or cloud-based service.

3.5 MySQL:

MySQL is developed, distributed, and supported by Oracle Corporation.


MySQL is a database system used on the web it runs on a server. MySQL
is ideal for both small and large applications. It is very fast, reliable, and easy
to use. It supports standard SQL. MySQL can be compiled on a number of
platforms.

The data in MySQL is stored in tables. A table is a collection of related data,


and it consists of columns and rows. Databases are useful when storing
information categorically.

FEATURES OF MySQL:

Internals and portability:

• Written in C and C++.

• Tested with a broad range of different compilers.

• Works on many different platforms.


• Tested with Purify (a commercial memory leakage detector) as well as with Val
grind, a GPL tool.
• Uses multi-layered server design with independent modules.

16
Security:
• A privilege and password system that is very flexible and secure, and that
enables host-based verification.

• Password security by encryption of all password traffic when you connect to a


server.

CONNECTIVITY:
. Clients can connect to MySQL Server using several protocols:

• Clients can connect using TCP/IP sockets on any platform.


• On Windows systems in the NT family (NT, 2000, XP, 2003, or Vista), clients
can connect using named pipes if the server is started with the enable-named-
pipe option. In MySQL 4.1 and higher, Windows servers also support shared-
memory connections if started with the --shared memory option. Clients can
connect through shared memory by using the -protocol=memory option.

• 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.

CLIENTS AND TOOLS:

• 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:

4.2 The main façe:

20
4.3 DEPARTMENTS:

4.4 ADDING NEW EMPLOYEE DOCTOR:

4.5 Doctor module:

21
4.6 Patient Module:

4.7 Patient Information Module:

22
4.8 Add Appointment Module:

4.9 Add Doctor 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

Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e


As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles
LinkLabel1.LinkClicked
Dim msgReply = MessageBox.Show("Reset the account? The username and
password will be lost.", "Hospital Management System",
MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation)
If msgReply = Windows.Forms.DialogResult.Yes Then
Dim userInput = InputBox("In order to reset your account you must enter
your current password.", "Reset Account - Hospital Management System")
If userInput = Form1.passWord Then
Form1.userName = ""
Form1.passWord = "" canReset
= True
Close()
End If
End If
End Sub

5.2 Hospital page

Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As


System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = Keys.Escape Then
Close()
End If
End Sub

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

Private Sub ToolStripTextBox1_TextChanged(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles ToolStripTextBox1.TextChanged
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

Private Sub ToolStripTextBox2_TextChanged(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles ToolStripTextBox2.TextChanged
If ToolStripTextBox2.TextLength = 0 Then
For Each btn As Button In FlowLayoutPanel3.Controls
btn.Visible = True
Next
ToolStripButton5.Visible = False
ToolStripSeparator1.Visible = False
Else
ToolStripButton5.Visible = True
ToolStripSeparator1.Visible = True
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

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles btnAddPat.Click
Form2.Show(Me)
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Form5.Show(Me)
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button3.Click
MsgBox("Product name: Hospital Management System" & vbNewLine &
vbNewLine & "Version: 1.0" & vbNewLine & vbNewLine &
"CODER_GAURAV" & vbNewLine & vbNewLine & "Developer: Gaurav Jha" &
vbNewLine & vbNewLine & "Description: Hospital Management System is a
software application that is capable of managing a hospital's patients and their
appointments. The user interface is simple and clean in order to achieve maximum
efficiency.") End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button4.Click
Form10.Show(Me)
End Sub

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button5.Click, Button8.Click, Button7.Click,
Button6.Click
Form11.Show(Me)
27
Dim cButton As Button = TryCast(sender, Object)
Form11.selectedButton = cButton.Tag
End Sub

Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles ToolStripButton1.Click
SearchPatient()
End Sub

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

Private Sub ToolStripButton4_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles ToolStripButton4.Click
SearchAppointment()
End Sub

Private Sub ToolStripButton5_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles ToolStripButton5.Click
ToolStripTextBox2.Clear()
ToolStripSeparator1.Visible = False
ToolStripButton5.Visible = False
End Sub

Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button14.Click, Button9.Click, Button13.Click,
Button12.Click, Button11.Click, Button10.Click
'Initiliaze selection
Dim cButton As Button = TryCast(sender, Object)
For Each btn As Button In FlowLayoutPanel4.Controls
btn.BackColor = SystemColors.GradientActiveCaption
Next

28
cButton.BackColor = Color.LightBlue
FlowLayoutPanel2.Controls.Clear()

'Load selection data


If cButton.Text = "Patients" Then
LoadPatients()
ElseIf cButton.Text = "Doctors" Then
LoadDoctors()
ElseIf cButton.Text = "Pharmacists" Then
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

Private Sub ToolStrip2_ItemClicked(sender As Object, e As


ToolStripItemClickedEventArgs) Handles ToolStrip2.ItemClicked

End Sub

Private Sub FlowLayoutPanel1_Paint(sender As Object, e As PaintEventArgs)


Handles FlowLayoutPanel1.Paint

End Sub
End Class

29
Public Class Patient
Inherits Button

Public Sub New()


AutoSize = False
Dock = DockStyle.Top
BackColor = Color.AliceBlue
FlatStyle = Windows.Forms.FlatStyle.Flat
FlatAppearance.BorderSize = 0
Margin = New Padding(7, 7, 7, 0)
Size = New Size(280, 50)
Font = New Font("Segoe UI", 9)
End Sub

Private Sub whenClicked() Handles Me.Click


If Me.Parent.GetContainerControl Is Form6 Then
Form5.lblPatientName.Text = Text
Form6.Close()
ElseIf Me.Parent.GetContainerControl Is Form1.SplitContainer1 Then
'Show proper form
If Form1.selectedCategory = "Patients" Then
Form3.Show(Form1)
Form3.selectedPatient = Me.Text
ElseIf Form1.selectedCategory = "Doctors" Then
Form10.Show(Form1)
Form10.selectedDoctor = Me.Text
Else
Form11.selectedButton = Form1.selectedCategory.Substring(0,
Form1.selectedCategory.Length - 1)
Form11.Show(Form1)
Form11.selectedPerson = Me.Text
End If
End If
End Sub
End Class

Public Class Appointment


30
Inherits Button

Public Sub New()


AutoSize = False
Dock = DockStyle.Top
BackColor = Color.AliceBlue
FlatStyle = Windows.Forms.FlatStyle.Flat
FlatAppearance.BorderSize = 0
Margin = New Padding(10, 10, 10, 10)
Size = New Size(160, 160)
TextAlign = ContentAlignment.BottomCenter
Font = New Font("Segoe UI", 9)
Image = My.Resources.iconAppointment64
End Sub

Private Sub whenClicked() Handles Me.Click


'Load data
Dim sReader As New System.IO.StreamReader(Form1.pathAppointments &
Text & "\appointmentData.txt")
Dim lbData As New ListBox
While sReader.Peek <> -1
lbData.Items.Add(sReader.ReadLine)
End While
sReader.Close()

'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:

Private Sub Form10_Load(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles MyBase.Load
Location = New Point(Form1.Left + 25, Form1.Top + 45)
End Sub

Private Sub Form10_Shown(ByVal sender As Object, ByVal e As


System.EventArgs) Handles Me.Shown
Form1.LoadGeneric()
TextBox1.Text = Form1.DID
TextBox2.Focus()

If Not String.IsNullOrWhiteSpace(selectedDoctor) Then


Dim sReader As New IO.StreamReader(Form1.pathDoctors &
selectedDoctor & "\doctorInfo.txt")
For Each ctrl In GroupBox1.Controls
If TypeOf ctrl Is TextBox Then
ctrl.Text = sReader.ReadLine()
End If
Next
sReader.Close()
Text = "Edit Doctor"
Button1.Text = "Save"
Button2.Text = "Remove"
End If
End Sub

Private Sub Form10_KeyDown(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Escape Then
Close()
ElseIf e.KeyCode = Keys.Enter Then
AddDoctor()
ElseIf e.KeyCode = Keys.Delete Then
RemoveDoctor()
32
End If
End Sub

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles TextBox1.TextChanged
If String.IsNullOrWhiteSpace(selectedDoctor) Then
TextBox1.Text = Form1.DID
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
AddDoctor()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
If Button2.Text = "Clear" Then
For Each ctrl In GroupBox1.Controls
If TypeOf ctrl Is TextBox Then
ctrl.Clear()
End If
Next
Else
RemoveDoctor()
End If
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button3.Click
Close()
End Sub End
Class

5.4 Patient Module:

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As

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

Private Sub Form2_KeyDown(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Escape Then
Close()
ElseIf e.KeyCode = Keys.Enter Then
AddPatient()
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
AddPatient()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Close()
End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button4.Click
34
Dim msgReply = MessageBox.Show("Clear patient data?", "Hospital
Management System", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
Dim intControls() As Control = {TextBox1, ComboBox1, ComboBox2,
ComboBox3, ComboBox4, TextBox2, TextBox3, TextBox4, TextBox5, TextBox6,
TextBox7}
If msgReply = Windows.Forms.DialogResult.Yes Then
For Each ctrl As Control In intControls
ctrl.Text = ""
Next
PictureBox1.SizeMode = PictureBoxSizeMode.CenterImage
PictureBox1.Image = My.Resources.iconPatient72
End If
End Sub

Private Sub TextBox8_TextChanged(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles TextBox8.TextChanged
TextBox8.Text = Form1.PID
End Sub

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

Private Sub GroupBox2_Enter(sender As Object, e As EventArgs) Handles


GroupBox2.Enter

End Sub
End Class

35
5.5 Pharmacists Module:

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As


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

Private Sub Form2_KeyDown(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Escape Then
Close()
ElseIf e.KeyCode = Keys.Enter Then
AddPatient()
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
AddPatient()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Close()
End Sub
36
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
Dim msgReply = MessageBox.Show("Clear patient data?", "Hospital
Management System", MessageBoxButtons.YesNo,
MessageBoxIcon.Question)
Dim intControls() As Control = {TextBox1, ComboBox1,
ComboBox2, ComboBox3, ComboBox4, TextBox2, TextBox3, TextBox4,
TextBox5, TextBox6, TextBox7}
If msgReply = Windows.Forms.DialogResult.Yes Then
For Each ctrl As Control In intControls
ctrl.Text = ""
Next
PictureBox1.SizeMode = PictureBoxSizeMode.CenterImage
PictureBox1.Image = My.Resources.iconPatient72
End If
End Sub

Private Sub TextBox8_TextChanged(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles TextBox8.TextChanged
TextBox8.Text = Form1.PID
End Sub

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

Private Sub GroupBox2_Enter(sender As Object, e As EventArgs)


Handles GroupBox2.Enter

37
End Sub
End Class

5.6 Nurse Module:

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As


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

Private Sub Form2_KeyDown(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Escape Then
Close()
ElseIf e.KeyCode = Keys.Enter Then
AddPatient()
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
AddPatient()
End Sub

38
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Close()
End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button4.Click
Dim msgReply = MessageBox.Show("Clear patient data?", "Hospital
Management System", MessageBoxButtons.YesNo,
MessageBoxIcon.Question)
Dim intControls() As Control = {TextBox1, ComboBox1,
ComboBox2, ComboBox3, ComboBox4, TextBox2, TextBox3, TextBox4,
TextBox5, TextBox6, TextBox7}
If msgReply = Windows.Forms.DialogResult.Yes Then
For Each ctrl As Control In intControls
ctrl.Text = ""
Next
PictureBox1.SizeMode = PictureBoxSizeMode.CenterImage
PictureBox1.Image = My.Resources.iconPatient72
End If
End Sub

Private Sub TextBox8_TextChanged(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles TextBox8.TextChanged
TextBox8.Text = Form1.PID
End Sub

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
39
Private Sub GroupBox2_Enter(sender As Object, e As EventArgs)
Handles GroupBox2.Enter

End Sub
End Class

5.7 Laboratories Module:

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As


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

Private Sub Form2_KeyDown(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Escape Then
Close()
ElseIf e.KeyCode = Keys.Enter Then
AddPatient()
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
40
AddPatient()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Close()
End Sub
Private Sub
Button4_Click(
ByVal sender As
System.Object,
ByVal e As
System.EventAr
gs) Handles
Button4.Click
Dim msgReply = MessageBox.Show("Clear patient data?", "Hospital
Management System", MessageBoxButtons.YesNo,
MessageBoxIcon.Question)
Dim intControls() As Control = {TextBox1, ComboBox1,
ComboBox2, ComboBox3, ComboBox4, TextBox2, TextBox3, TextBox4,
TextBox5, TextBox6, TextBox7}
If msgReply = Windows.Forms.DialogResult.Yes Then
For Each ctrl As Control In intControls
ctrl.Text = ""
Next
PictureBox1.SizeMode = PictureBoxSizeMode.CenterImage
PictureBox1.Image = My.Resources.iconPatient72
End If
End Sub

Private Sub TextBox8_TextChanged(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles TextBox8.TextChanged
TextBox8.Text = Form1.PID
End Sub

Private Sub PictureBox1_MouseDown(ByVal sender As System.Object,


ByVal e As System.Windows.Forms.MouseEventArgs) Handles
PictureBox1.MouseDown
41
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

Private Sub GroupBox2_Enter(sender As Object, e As EventArgs)


Handles GroupBox2.Enter

End Sub
End Class

5.8 Accountant Module:

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As


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

Private Sub Form2_KeyDown(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Escape Then
42
Close()
ElseIf e.KeyCode = Keys.Enter Then
AddPatient()
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
AddPatient()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Close()
End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button4.Click
Dim msgReply = MessageBox.Show("Clear patient data?", "Hospital
Management System", MessageBoxButtons.YesNo,
MessageBoxIcon.Question)
Dim intControls() As Control = {TextBox1, ComboBox1,
ComboBox2, ComboBox3, ComboBox4, TextBox2, TextBox3, TextBox4,
TextBox5, TextBox6, TextBox7}
If msgReply = Windows.Forms.DialogResult.Yes Then
For Each ctrl As Control In intControls
ctrl.Text = ""
Next
PictureBox1.SizeMode = PictureBoxSizeMode.CenterImage
PictureBox1.Image = My.Resources.iconPatient72
End If
End Sub

Private Sub TextBox8_TextChanged(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles TextBox8.TextChanged
TextBox8.Text = Form1.PID
End Sub

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

Private Sub GroupBox2_Enter(sender As Object, e As EventArgs)


Handles GroupBox2.Enter

End Sub
End Class

5.4 Appointment Module:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles MyBase.Load
If My.Computer.FileSystem.DirectoryExists(pathStorage) Then
LoadAccount()
LoadAppointments()
LoadGeneric()
LoadPatients()
Else
'Create paths
For Each path As String In allPaths
My.Computer.FileSystem.CreateDirectory(path)
Next

'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

Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As


System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = Keys.Escape Then
Close()
End If
End Sub

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

Private Sub ToolStripTextBox1_TextChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
ToolStripTextBox1.TextChanged

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

Private Sub ToolStripTextBox2_TextChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
ToolStripTextBox2.TextChanged
If ToolStripTextBox2.TextLength = 0 Then
For Each btn As Button In FlowLayoutPanel3.Controls
btn.Visible = True
Next
ToolStripButton5.Visible = False
ToolStripSeparator1.Visible = False
Else
ToolStripButton5.Visible = True
ToolStripSeparator1.Visible = True
End If
End Sub

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

46
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnAddPat.Click
Form2.Show(Me)
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Form5.Show(Me)
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button3.Click
MsgBox("Product name: Hospital Management System" &
vbNewLine & vbNewLine & "Version: 1.0" & vbNewLine & vbNewLine
& "CODER_GAURAV" & vbNewLine & vbNewLine & "Developer:
Gaurav Jha" & vbNewLine & vbNewLine & "Description: Hospital
Management System is a software application that is capable of managing
a hospital's patients and their appointments. The user interface is simple and
clean in order to achieve maximum efficiency.")
End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button4.Click
Form10.Show(Me)
End Sub

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button5.Click, Button8.Click, Button7.Click,
Button6.Click
Form11.Show(Me)
Dim cButton As Button = TryCast(sender, Object)
Form11.selectedButton = cButton.Tag
End Sub

Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles ToolStripButton1.Click
SearchPatient()
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

Private Sub ToolStripButton4_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles ToolStripButton4.Click
SearchAppointment()
End Sub

Private Sub ToolStripButton5_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles ToolStripButton5.Click
ToolStripTextBox2.Clear()
ToolStripSeparator1.Visible = False
ToolStripButton5.Visible = False
End Sub

Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button14.Click, Button9.Click,
Button13.Click, Button12.Click, Button11.Click, Button10.Click
'Initiliaze selection
Dim cButton As Button = TryCast(sender, Object)
For Each btn As Button In FlowLayoutPanel4.Controls
btn.BackColor = SystemColors.GradientActiveCaption
Next
cButton.BackColor = Color.LightBlue
FlowLayoutPanel2.Controls.Clear()

'Load selection data


If cButton.Text = "Patients" Then
LoadPatients()
ElseIf cButton.Text = "Doctors" Then
LoadDoctors()
ElseIf cButton.Text = "Pharmacists" Then

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

Private Sub ToolStrip2_ItemClicked(sender As Object, e As


ToolStripItemClickedEventArgs) Handles ToolStrip2.ItemClicked

End Sub
End Class

Public Class Patient


Inherits Button

Public Sub New()


AutoSize = False
Dock = DockStyle.Top
BackColor = Color.AliceBlue
FlatStyle = Windows.Forms.FlatStyle.Flat
FlatAppearance.BorderSize = 0
Margin = New Padding(7, 7, 7, 0)
Size = New Size(280, 50)
Font = New Font("Segoe UI", 9)
End Sub

49
IMPLIMENTATION

Implementing a Hospital Management System (HMS) involves a structured


approach to ensure that all aspects of hospital operations are streamlined and
efficiently managed. Here's a comprehensive plan for implementing an HMS:
1. Needs Assessment
• Identify Requirements: Conduct meetings with key stakeholders (doctors,
nurses, administrative staff, IT department) to understand their needs and
challenges.
• Current System Evaluation: Assess the existing system, if any, and identify
areas for improvement.

2. Planning and Budgeting


• Project Scope: Define the scope of the project, including the modules to be
implemented (e.g., patient management, billing, inventory, appointment
scheduling).
• Budget: Prepare a budget covering software cost, hardware costs, training,
and maintenance.

3. Choosing the Right HMS


• Vendor Evaluation: Research and evaluate different HMS vendors. Consider
factors like functionality, scalability, user-friendliness, support, and cost.
• Demo and Trials: Request demos and trial periods to evaluate the system's
performance and usability.

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

I have taken information from

o Google
o YouTube
o The Complete Reference Book (Visual Basic.NET)
o Wikipedia
o Local Student
o Notebook

51
TESTING

To conduct comprehensive testing on a Hospital Management System (HMS), you


need to follow a detailed and structured approach. Below is a comprehensive guide
to testing your HMS, covering various types of testing, test case examples, and tools
you can use.
1. Functional Testing
Functional testing focuses on verifying that each feature of the HMS works
according to the requirements.
Key Areas to Test

• Patient Registration: Verify the process of adding new patients.


• Appointment Scheduling: Check if appointments can be scheduled,
rescheduled, and canceled.
• Billing and Payments: Ensure accurate billing and payment processing.
• Medical Records Management: Confirm that patient records can be created,
updated, and retrieved.
• Staff Management: Validate the management of hospital staff, including roles
and permissions.
• Inventory Management: Check the management of medical supplies and
equipment.

2. Non-Functional Testing
Non-functional testing focuses on aspects like performance, security, usability, and
reliability.
Performance Testing

Load Testing: Assess the system's performance under expected load



conditions.
• Stress Testing: Evaluate how the system performs under extreme conditions.
Security Testing

SQL Injection: Test for SQL injection vulnerabilities.



• User Authentication: Verify the security of user authentication mechanisms.
Usability Testing

• User Interface: Ensure the interface is user-friendly and intuitive.


• Navigation: Confirm that the navigation through the system is smooth and
logical.

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.

➢ Currently Available Module:


• Doctor Module
➢ Add Doctor, Edit Doctor etc.
➢ View Doctor List
➢ Available Doctor
• Patient Module
➢ Add Patient, Edit Patient, Delete Patient List.
➢ View patient List
➢ Available Patient
• Nurse Module
➢ Add Doctor, Edit Doctor etc.
➢ View Doctor List
➢ Available Doctor
• Laboratories Module
• Appointment Module
➢ Book Appointment with Available Doctor
➢ Cancel Appointment
• Accountant Module

➢ In Future Available Module:


• Medicine Module
• Payment module
• Blood Module
• Online Appointment Module
• Lab Test Module

53

You might also like