Professional Documents
Culture Documents
MIS I Project
MIS I Project
ON
MEDICAL INVENTORY SYSTEM
IN PARTIAL FULFILLMENT OF REQUIREMENT OF
SUBMITTED
TO
REGIONAL CENTER KHANNA
YEAR-2016
MEDICAL INVENTORY SYSTEM
This is to certify that Miss Palvi(roll.no…) has completed her one full
semester on project work titled “MEDICAL INVETORY SYSTEM”
satisfactorily in partial fulfillment of requirement Of Degree of Master in
Computer Applications IGNOU University in Batala study Center
(2202), in the year 2016 under my supervision. No part of this work has
been submitted for any other degree of any other university. The date
sources have been duly acknowledged. It may be considered for
evolution for evolution partial fulfillment of degree of BCA.
Guide
Date: / /2016
Place: Gurdaspur
2
MEDICAL INVENTORY SYSTEM
ACKNOWLEDGEMENT
All the teachers for providing a vision about the system, their
patience and suggestions on improving.
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?
Palvi
Enr No.-
3
MEDICAL INVENTORY SYSTEM
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.
4
MEDICAL INVENTORY SYSTEM
Before studying the need for the computerization in the factory I should have a
look at the various departments and the organizations layout of the factory. I have
to deal with Agents details, party details, item details, indents, and accounts also.
In manual system at the time of enquiries one has to check all the records for the
availability of items as per the requirement of the user, which is very time
consuming, and tedious one. This can lead to errors. There is no doubt that the
existing manual system can be improved by changing certain procedures and by
employing more man power but at same time employment of more and more
personal means more expensive which can be brought down by computerization
and the same time efficiency if not improved can at least be the same. Another
major drawback of the manual system that is found from the study is that there is
large amount of data redundancy due to manual system .It is because a piece
of information has to be checked rapidly, which leads to the enormous wastage of
time and increase the possibility of committing the errors.
5
MEDICAL INVENTORY SYSTEM
1 Introduction 7
3 Problem Identification 12
4 System Analysis 14
5 Priliminary Investigation 17
6 Feasibility Study 19
7 Problem Analysis 21
10 Information gathering 29
13 Data Dictionary 40
14 E-R Diagram 46
15 Input Design 49
16 Output Design 62
18 coding 86
19 Bibliography 108
Table of Contents
6
MEDICAL INVENTORY SYSTEM
INTRODUCTION
7
MEDICAL INVENTORY SYSTEM
Project Profile
Objectives The main aim of the system is provide computerized maintaining stock
Developed By
8
MEDICAL INVENTORY SYSTEM
The organization of Bawa Medical Store is establish in year 1995 which are grown in full
organization within.
In this Medical store many type of Items are maintain and sale.
9
MEDICAL INVENTORY SYSTEM
SYSTEM
REQUIREMENT
SPECIFICATION
10
MEDICAL INVENTORY SYSTEM
Software Requirement
Development Side
Microsoft xp service pack 2 or upwards
MS Office 2007
Client Side
Hardware Requirement
Development Side
HARDDISK : 40 GB or above.
Client Side
CPU : Pentium-IV processor or any processor.
HARDDISK : 40 GB or above.
DEVICE : printer
11
MEDICAL INVENTORY SYSTEM
PROBLEM IDENTIFICATION
12
MEDICAL INVENTORY SYSTEM
Existing System
The existing Medical Store System is manual system. The main drawback of the
existing system is time consumption. There are number of records and hence a
larger number of registers have to be kept to the store.
This document required more storing space, more manpower and job become
tedious.
13
MEDICAL INVENTORY SYSTEM
SYSTEM ANALYSIS
14
MEDICAL INVENTORY SYSTEM
SYSTEM ANALYSIS
Definition : -
15
MEDICAL INVENTORY SYSTEM
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
16
MEDICAL INVENTORY SYSTEM
Preliminary
Investigation
17
MEDICAL INVENTORY SYSTEM
Preliminary Investigation
Interviewing
Visiting
Questionnaires
18
MEDICAL INVENTORY SYSTEM
Feasibility
Study
19
MEDICAL INVENTORY SYSTEM
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
All software packages are available or already exist in the
company and institute so this system is economically feasible.
Operation feasibility
Schedual feasibility
Implementation feasibility
20
MEDICAL INVENTORY SYSTEM
Problem
Analysis
21
MEDICAL INVENTORY SYSTEM
Problem Analysis
22
MEDICAL INVENTORY SYSTEM
System
Development
Strategies
23
MEDICAL INVENTORY SYSTEM
Preliminary investigation.
Design of system.
Development of software.
System testing.
24
MEDICAL INVENTORY SYSTEM
Software Engneering
Paradigm Applied
25
MEDICAL INVENTORY SYSTEM
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.
26
MEDICAL INVENTORY SYSTEM
Design
Implementation
Verification
Maintenance
Requirement
In the requirement phase the need to create the application is
specified what is the need of the system is defined.
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
27
MEDICAL INVENTORY SYSTEM
Maintenance
28
MEDICAL INVENTORY SYSTEM
INFORMATION
GATHERING
29
MEDICAL INVENTORY SYSTEM
Information Gathering
Hari-Om Store,Visnagar.
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.
30
MEDICAL INVENTORY SYSTEM
System Flow
Diagram
31
MEDICAL INVENTORY SYSTEM
32
MEDICAL INVENTORY SYSTEM
33
MEDICAL INVENTORY SYSTEM
Data Flow
Diagram
34
MEDICAL INVENTORY SYSTEM
35
MEDICAL INVENTORY SYSTEM
First Level
Data Flow Diagram
36
MEDICAL INVENTORY SYSTEM
37
MEDICAL INVENTORY SYSTEM
38
MEDICAL INVENTORY SYSTEM
39
MEDICAL INVENTORY SYSTEM
Data
Dictionary
40
MEDICAL INVENTORY SYSTEM
BILL TABLE
41
MEDICAL INVENTORY SYSTEM
42
MEDICAL INVENTORY SYSTEM
43
MEDICAL INVENTORY SYSTEM
44
MEDICAL INVENTORY SYSTEM
45
MEDICAL INVENTORY SYSTEM
E-R Diagram
46
MEDICAL INVENTORY SYSTEM
47
MEDICAL INVENTORY SYSTEM
Proposed system includes updating of master file and generation of Reports. Using VB.NET as
Front-end and Sql Server 2008 as Back-end. Detail of purposed system is as below.
Item Details:
This stores the information about the Item in the Medical store. Store the information such as Item
code, Item name, stock,etc.
Purchase Details:
This keeps information about the purchase Item from dealer . This stores information such as
dealer name, Item name, price , quantity etc.
Billing Details:
This keeps details of all billing information. This keeps records customer who purchase our item
including customer name, bill no, and total amount.
Process Algorithm
Step-1:- Start
Step-4:- If No then Back the Login process. If Yes then enter the main process.
Step-5:-Check for the Item availability. If No then add dealer/Item entry. If Yes then sale
and receive payment.
Step-6:- Check for the dealer/Item identify. If No any dealer then add dealer entry and go
to step-5;
Step-7:- If return Item Yes then check bill no and return Item or payment. If No then Exit.
Step-9:- Exit.
48
MEDICAL INVENTORY SYSTEM
Input Design
49
MEDICAL INVENTORY SYSTEM
LOGIN FORM
IN OUR LOGIN FORM ONE TYPES OF THE USER LIKE USER ARE LOGIN.
IF THE USER NAME AND PASSWORD ARE CORRECT THEN WILL BE OPEN
THE APPLICATION.
50
MEDICAL INVENTORY SYSTEM
MEDICAL MASTER
IF USER LOGIN. THIS MAIN FORM WILL BE OPEN AND USER HAVE FOLLOWING
WRITES:
UPDATE RECORD
51
MEDICAL INVENTORY SYSTEM
52
MEDICAL INVENTORY SYSTEM
DEALER INFORMATION
53
MEDICAL INVENTORY SYSTEM
CUSTOMER INFORMATION
54
MEDICAL INVENTORY SYSTEM
ITEMS INFORMATION
55
MEDICAL INVENTORY SYSTEM
PURCHASE INFORMATION
56
MEDICAL INVENTORY SYSTEM
STOCK INFORMATION
57
MEDICAL INVENTORY SYSTEM
SALES INFORMATION
58
MEDICAL INVENTORY SYSTEM
59
MEDICAL INVENTORY SYSTEM
60
MEDICAL INVENTORY SYSTEM
BILL INFORMATION
61
MEDICAL INVENTORY SYSTEM
Output
Design
62
MEDICAL INVENTORY SYSTEM
63
MEDICAL INVENTORY SYSTEM
64
MEDICAL INVENTORY SYSTEM
65
MEDICAL INVENTORY SYSTEM
66
MEDICAL INVENTORY SYSTEM
67
MEDICAL INVENTORY SYSTEM
68
MEDICAL INVENTORY SYSTEM
Testing
69
MEDICAL INVENTORY SYSTEM
After the preparation of our project we used it with the help of hypothetical
data. As the requirement was satisfied with these data, we implemented the
project on the original data.
Program test:
These are designed to test the logic of program. Under this testing, the
individual forms were considered as a program and verification was done by
entering hypothetical as well as original data.
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.
TEST PLAN:
70
MEDICAL INVENTORY SYSTEM
STAGE 1:
In this stage module testing ,sub system testing and
system testing is done.
STAGE 2:
STAGE 3:
71
MEDICAL INVENTORY SYSTEM
72
MEDICAL INVENTORY SYSTEM
Testing Levels
Test Phases
73
MEDICAL INVENTORY SYSTEM
1 MODUL TESTING:
3. SYSTEM TESTING:
RESULT:
Categories:
STRING
CHARACTER
INTEGER
REAL
DATE
74
MEDICAL INVENTORY SYSTEM
STRING TESTING:
That will test all aspects of the system in a way to promote it’s
Credibility.
Unit Test
75
MEDICAL INVENTORY SYSTEM
Integration Testing
76
MEDICAL INVENTORY SYSTEM
All-at-once
Bottom-up
Top-down
77
MEDICAL INVENTORY SYSTEM
System Testing
Test Design
Black Box
In black box testing the tester knows nothing at all about the inside of the system
he or she is testing. The system is tested by throwing inputs at it like throwing
pennies down a well and waiting for a splash.
78
MEDICAL INVENTORY SYSTEM
terms for black box testing are functional testing and behavioral
testing.
You can re-run black box tests after a change to make sure the
change only produced intended results with no inadvertent effects.
White Box
In white box testing (also called glass box), the tester has knowledge of the
internals of the system. Software developers on a project are best able to do this
kind of testing, since they know which areas may be weak.
Testing Techniques
There are many techniques that can be used to test software. Some
are better than others, and some can be used in conjunction with
others to get better test coverage. Here is a summary of some
common testing techniques:
Manual testing
79
MEDICAL INVENTORY SYSTEM
Automated Testing
Regression Testing
Stress Testing
Load Testing
Performance Testing
System Test
The system test phase begins once modules are integrated enough
to perform tests in a whole system environment. System testing
80
MEDICAL INVENTORY SYSTEM
can occur in parallel with integration test, especially with the top-
down method.
Much more damage and liability than simply stopping or slowing the
processing of correct transactions.
Regression Test
81
MEDICAL INVENTORY SYSTEM
Traditionally, this is where the users ‘get their first crack’ at the
software. Unfortunately, by this time, it's usually too late. If the
users have not seen prototypes, been involved with the design, and
understood the evolution of the system, they are inevitably going to
be unhappy with the result. If you can perform every test as user
acceptance tests, you have a much better chance of a successful
project.
Repair
82
MEDICAL INVENTORY SYSTEM
Validation tests are positive tests. They confirm that the software
meets requirements - that an input or set of inputs give the desired
output.
Reproducibility
Risk analysis
System crash
Code Optimization
83
MEDICAL INVENTORY SYSTEM
IMPLEMENTATION PHASE
The implementation phase involves installing approved applications into
production environments. Primary tasks include announcing the implementation
schedule, training end users, and installing the product. Additionally, organizations
should input and verify data, configure and test system and security parameters,
and conduct post-implementation reviews. Management should circulate
implementation schedules to all affected parties and should notify users of any
implementation responsibilities.
User Training
84
MEDICAL INVENTORY SYSTEM
85
MEDICAL INVENTORY SYSTEM
Coding
86
MEDICAL INVENTORY SYSTEM
Login form
Imports System
Imports System.Data
Imports System.Data.SqlClient
Dim dr As SqlDataReader
Try
user = txtusername.Text
db.cnopen()
dr = cmd.ExecuteReader()
Timer1.Enabled = True
Else
txtpassword.Text = ""
txtusername.Text = ""
End If
Catch EX As Exception
MsgBox(EX.Message)
End Try
End Sub
Me.Close()
End Sub
87
MEDICAL INVENTORY SYSTEM
ProgressBar1.Value = ProgressBar1.Value + 1
Timer1.Enabled = False
medical_master.Show()
Me.Hide()
End If
End Sub
Timer1.Interval = 30
Timer1.Enabled = False
End Sub
End Class
88
MEDICAL INVENTORY SYSTEM
Classdb form
Imports System
Imports System.Data
Imports System.Data.SqlClient
cn.Close()
End If
cn.Open()
End Sub
cnopen()
cmd.ExecuteScalar()
End Sub
cnopen()
dt.Clear()
da = New SqlDataAdapter(cmd)
da.Fill(dt)
Return dt
End Function
Dim i As Integer
cnopen()
89
MEDICAL INVENTORY SYSTEM
cmd.CommandType = CommandType.StoredProcedure
For i = 0 To para_name.Count - 1
cmd.Parameters.AddWithValue(para_name(i), para_val(i))
Next
cmd.ExecuteNonQuery()
Else
End If
End Function
End Class
90
MEDICAL INVENTORY SYSTEM
Bill Form
Public Class FRMBILL
txtbillno.Text = ""
TXTCCODE.Text = ""
TXTCNAME.Text = ""
TXTiCODE.Text = ""
TXTiNAME.Text = ""
Txtprice_per_unit.Text = ""
TXTquantity.Text = ""
TXTSEARCH.Text = ""
TXTTOTAL.Text = ""
DTPsalesDATE.Text = ""
End Sub
End Sub
If txtbillno.Text <> "" And TXTCCODE.Text <> "" And TXTCNAME.Text <> "" And
TXTiCODE.Text <> "" And TXTiNAME.Text <> "" And Txtprice_per_unit.Text <> "" And
TXTquantity.Text <> "" And TXTTOTAL.Text <> "" Then
CLEAR_CONTROL()
FILL_GRID()
bind_control()
91
MEDICAL INVENTORY SYSTEM
Else
End If
End Sub
CLEAR_CONTROL()
FILL_GRID()
bind_control()
Else
End If
End Sub
If txtbillno.Text <> "" And TXTCCODE.Text <> "" And TXTCNAME.Text <> "" And
TXTiCODE.Text <> "" And TXTiNAME.Text <> "" And Txtprice_per_unit.Text <> "" And
TXTquantity.Text <> "" And TXTTOTAL.Text <> "" Then
CLEAR_CONTROL()
FILL_GRID()
bind_control()
Else
End If
End Sub
Function FILL_GRID()
92
MEDICAL INVENTORY SYSTEM
DataGridView1.DataSource = dt
Return 0
End Function
End Function
Function CLEAR_CONTROL()
txtbillno.DataBindings.Clear()
TXTCCODE.DataBindings.Clear()
TXTCNAME.DataBindings.Clear()
TXTiCODE.DataBindings.Clear()
TXTiNAME.DataBindings.Clear()
Txtprice_per_unit.DataBindings.Clear()
TXTquantity.DataBindings.Clear()
TXTTOTAL.DataBindings.Clear()
DTPsalesDATE.DataBindings.Clear()
dt.Clear()
Return 0
End Function
rownumber = 0
Try
CLEAR_CONTROL()
DataGridView1.DataSource = ""
DataGridView1.DataSource = dt
bind_control()
cmd_show_all_record.Visible = True
93
MEDICAL INVENTORY SYSTEM
Else
CLEAR_CONTROL()
bind_control()
FILL_GRID()
End If
Else
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
CLEAR_CONTROL()
FILL_GRID()
bind_control()
cmd_show_all_record.Visible = False
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowtext(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
94
MEDICAL INVENTORY SYSTEM
End Sub
e.Handled = objval.allowtext(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
End Class
95
MEDICAL INVENTORY SYSTEM
Dealer Form
Imports System
Imports System.Data
Imports System.Data.SqlClient
rownumber = 0
cmdShow_all_record.Visible = False
clear_control()
fill_grid()
bind_control()
End Sub
End Sub
Dim A As String
cn.Open()
A = CMD.ExecuteScalar()
cn.Close()
If A = "" Then
A = 1
Else
96
MEDICAL INVENTORY SYSTEM
A = A + 1
End If
txtcode.Text = A
txtdname.Text = ""
txtphno.Text = ""
txtdaddress.Text = ""
txtcity.Text = ""
DTPdate.Text = ""
txtpincode.Text = ""
txtemail.Text = ""
End Sub
Try
If txtcode.Text <> "" And txtdname.Text <> "" And txtphno.Text <> ""
And txtdaddress.Text <> "" And txtcity.Text <> "" And DTPdate.Text <> "" Then
clear_control()
bind_control()
fill_grid()
Else
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
bind_control()
97
MEDICAL INVENTORY SYSTEM
fill_grid()
End Sub
Function fill_grid()
DataGridView1.DataSource = ""
DataGridView1.DataSource = dt
Return 0
End Function
Function bind_control()
Try
Catch ex As Exception
MsgBox(ex.Message)
End Try
Return 0
End Function
Me.BindingContext(dt).Position = 0
rownumber = 0
End Sub
Function clear_control()
Try
txtcode.DataBindings.Clear()
txtdname.DataBindings.Clear()
txtphno.DataBindings.Clear()
98
MEDICAL INVENTORY SYSTEM
txtdaddress.DataBindings.Clear()
txtcity.DataBindings.Clear()
DTPdate.DataBindings.Clear()
txtpincode.DataBindings.Clear()
txtemail.DataBindings.Clear()
dt.Clear()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Return 0
End Function
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowtext(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowtext(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
99
MEDICAL INVENTORY SYSTEM
End Class
100
MEDICAL INVENTORY SYSTEM
Items form
Imports System
Imports System.Data
Imports System.Data.SqlClient
Dim A As String
cn.Open()
A = cmd.ExecuteScalar()
cn.Close()
If A = "" Then
A = 1
Else
A = A + 1
End If
End Sub
Try
If txtcode.Text <> "" And txtname.Text <> "" And txtdetail.Text <> ""
And Txtprice.Text <> "" Then
clear_control()
fill_grid()
101
MEDICAL INVENTORY SYSTEM
bind_control()
Else
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
Try
clear_control()
fill_grid()
bind_control()
Else
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
clear_control()
fill_grid()
bind_control()
End Sub
Me.BindingContext(dt).Position = rownumber - 1
102
MEDICAL INVENTORY SYSTEM
rownumber = rownumber - 1
End Sub
Me.BindingContext(dt).Position = rownumber + 1
rownumber = rownumber + 1
End Sub
Me.BindingContext(dt).Position = dt.Rows.Count + 1
rownumber = dt.Rows.Count + 1
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowtext(e.KeyChar)
End Sub
e.Handled = objval.allowtext(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
End Class
103
MEDICAL INVENTORY SYSTEM
Stock Form
Imports System
Imports System.Data
rownumber = 0
clear_control()
fill_grid()
CMBiNAME.DataSource = DT
CMBiNAME.DisplayMember = "Item_name"
CMBiNAME.ValueMember = "Item_code"
bind_control()
cmd_show_all_record.Visible = False
End Sub
Try
clear_control()
fill_grid()
bind_control()
Else
End If
Catch ex As Exception
104
MEDICAL INVENTORY SYSTEM
MsgBox(ex.Message)
End Try
End Sub
Try
If txticode.Text <> "" And CMBiNAME.Text <> "" And txtquantity.Text <>
"" And DTPPURCHASE.Text <> "" And txtprice.Text <> "" Then
clear_control()
fill_grid()
bind_control()
Else
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
Me.Close()
End Sub
clear_control()
fill_grid()
bind_control()
End Sub
Me.BindingContext(DT).Position = 0
105
MEDICAL INVENTORY SYSTEM
rownumber = 0
End Sub
Me.BindingContext(DT).Position = DT.Rows.Count + 1
rownumber = DT.Rows.Count + 1
End Sub
Try
If txticode.Text <> "" And CMBiNAME.Text <> "" And txtquantity.Text <>
"" And DTPPURCHASE.Text <> "" And txtprice.Text <> "" Then
clear_control()
fill_grid()
bind_control()
Else
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
Function bind_control()
Try
Catch ex As Exception
MsgBox(ex.Message)
106
MEDICAL INVENTORY SYSTEM
End Try
Return 0
End Function
Function clear_control()
txticode.DataBindings.Clear()
CMBiNAME.DataBindings.Clear()
txtquantity.DataBindings.Clear()
DTPPURCHASE.DataBindings.Clear()
txtprice.DataBindings.Clear()
DT.Clear()
Return 0
End Function
clear_control()
fill_grid()
bind_control()
cmd_show_all_record.Visible = False
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
e.Handled = objval.allowdigit(e.KeyChar)
End Sub
End Class
107
MEDICAL INVENTORY SYSTEM
Further Enhancement
In the system you can get the reports which includes bills,customers
information. In the bills we can know the item information and also stock
information.
Since modular and structure approach has been taken towards development
of system, it can also expand other functions of the part of organization. It also
very useful for the management. With the used of these system user can easily
update the record, view the record and quickly generate the report.
108
MEDICAL INVENTORY SYSTEM
Bibliography
1. www.freelancer.com
2. www.mednetus.com
3. www.captera.com
4. www.henryschein.com
109