Drug Procurement and Institution Tracking System
Drug Procurement and Institution Tracking System
Drug Procurement and Institution Tracking System
INTRODUCTION
that could not have profited from the numerous benefits of the computer system.
Controlling process or devices with computer started long ago since the invention
of computer. In the 20th century inventors tried to make processes easier with the
controlling process that requires frequent action such as drug procurement, drug
This project which is drug procurement and distribution tracking system provides a
and system security suitable for use in the pharmacy department of the hospital
using Microsoft Access software in developing the database and visual basic as the
1
programming language. The overall aim of this project is to optimize time and
material in the processing of data needed for effective operation of large pharmacy
Drugs are the chemical substances that are administered to patients for curative
The ability of the computer to store and retrieve information at a very fast and
management involves drug procurement, drug distribution, drug tracking and its
pharmacy department of the hospital. In the same vein, drug tracking is concern
with the continuous monitoring of the actual quantity of drugs held in the hospital
pharmacy or any other drug warehouse /store. It also controls the stock level.
They carry out the responsibility of making appropriate selection and drugs used
the manual system of operation which can lead to inappropriate drug management
errors due to problems of handling voluminous file within a short period of time.
This could make data to be easily inaccessible and also delivery of drugs can lead
regard are routine processes carried out in various hospitals across Nigeria. It is a
common place to observe that these routine processes are still preformed manually
approach to these routine operations has a lot of problems associated with it,
ranging from poor handling of drug data of patients, lack of good storage
information system for drugs and drug dispensary, delays, to the difficulty in
management system and distribution tracking system. This is what this research
project is set to address by computerizing the routine processes in our hospitals and
3
1.3 OBJECTIVES OF THE STUDY
The aim of this research project is to design and implement a computerized drug
(i). To order for drugs without mistake of procuring more than required.
(ii) It will guarantee hospital management and patients of genuine and safe
drugs.
(iv) It will provide a data base for stock taking of drugs procured and
4
1.5 SCOPE OF THE STUDY
This research work will cover only the Pharmaceutical Department of the
(i) Planning and control system which includes inventory control and drug
distribution
(iv) The Database of all kinds, types and names of some drugs that would be
1.6 ASSUMPTION
It is assumed that all the information gathered with the respect to inventory control
Enugu.
5
1.7 LIMITATIONS OF THE STUDY
1. Time constraint; There is limited time go and meet the hospital pharmacist for
proper information.
release vital information which may jeopardize the security of the organization.
This research project covers almost all you need to know about drug procurement
and distribution tracking system. Chapter one is the introduction and it covers the
the study, assumption, limitations of the study and definition of terms. Chapter two
is the literature review; it gives the detailed meaning of every associated word in
my topic. Chapter three is the design and methodology; this involves the operation
of the existing system and the method used. Chapter four is the system analysis and
implementation; which talked about the operation of the proposed system. Chapter
6
1.9 DEFINITION OF TERMS
organization.
DBMS; Database Management Software that enable the user to define, maintain
MENU; This is a list of options presented on the screen with each option identified
Primary Key; The candidate key that is selected to identify the individual within
the relation
7
Foreign Key; An attribute or a set of attributes within one relation that matches
applicable
Database design; The process of creating a design that will support emprise
Software: These are program for computer which allows certain specific task to be
output activates.
of the organization.
8
CHAPTER TWO
LITERATURE REVIEW
The presence and role of computers in our society cannot be over emphasized. The
positive impact of computing in the area of health care services has brought
distribution and control are the major concern in health development as drugs
knowledge representation. They pointed out that within in a decade since the
beginning of the modern electronic computer age, many attempt to use the power
no longer done manually. Several works or studies have shown that applying
9
storage of drugs and can also avoids duplication of records (redundancy). It
Experts say that drugs systems can also provides physicians with specific details
including the use of dosage, potential reactions to drug and details of drug cost. In
a large hospital like UNTH, computerization could improve day to day work.
applied in drug inventory, drug procurement and drug management to ease the
drugs. The committee aimed to describe the system that currently existed for
managing drugs in a hospital. A non general hospital was used as a case study in
1997. They centered their study at different administrative levels. Greater or lesser
emphasis was placed on the chemical directorate and this appeared to demonstrate
hospital like UNTH. Varied prices of drugs purchased by health, non health sectors
and non compliance to Philippines national drug formulary (PNDF) prompted the
quantity in order to minimize interruption in supply while at the same time avoid
while special drugs should only be received and handled by staff with relevant
training. In Hong Kong, during the drug receipt process, essential information such
as brand name and chemical name, potency, dosage form, Hong Kong registration
number, etc. of the drug should be checked against the purchase order. The expiry
11
date, pack size, product appearance and storage condition of drug should also be
volume etc., such drugs will not be procured (Essien E. Daniel, 1997 automated
Drug distribution is one of the key processes in hospitals. The process involves the
drugs. The physician prescribes a drug in a certain dosage in the name of the
patient to support his treatment; the pharmacist checks the information and sends a
definitive medication order in the patient’s name to the nursing unit. A nurse will
administer the drug to the patient on the basis of this definitive order and register
that she has done so. The pharmaceutical industry renders the drug identifiable by
labeling the drug package with the drug name, strength, and batch and expiry date.
The material flow is initiated by the medication order. Drugs are purchased from
are stored and then delivered to the ward or patient. The drug may be dispensed in
either the central pharmacy or the nursing unit. When the drug is administered, the
12
2.5 VISUAL BASIC 6.0
specifically, Visual Basic’s acceptance and popularity can be seen in many facets
Because of its common commercial uses and ease of learning, Visual Basic has
also become popular with higher education institutions all over the world for
teaching people how to program. Visual Basic language, is suitable for beginner,
programming visual Basic provide the facilities for creating graphical interfaces
that can depict the functionality and flow of an application before you start
programming with it. Teach yourself visual basic in 21 days by can be of good
technology and services in U.S.A, 2002, provides services and support to a variety
(ii) Reporting; the software provides an easy to use embedded report writer
inventory.
all clinical services. This software also provides medication error detection system,
Softrex integrates with key enterprise including billing, drug wholesalers, point
care medication safety system and medication Machines softrex is the most
database and devices used to provide routine information to managers for decision
14
making in an organization. It provides standard report generated with data and
applications are inventory data, personnel data, etc. it often happens that a
(ii) Changes in schema: the table schema can be changed and it is not platform
dependent.
15
(iii) According to Date (2003), the unique data field in a table is assigned a
primary key.
Various users can retrieve the same data simultaneously. The data in the
(v) Data security: According to Kenny (2008), data is the most important asset.
Therefore, there is need for data security. Database management system help
Codd (1970) explains that DBMS engine accepts logical request from the various
other DBMS subsystems, and it convert them into physical equivalent, and actually
accesses the database and the data dictionary as they exit on a storage device.
He further stated that the Data Definition Subsystem helps a user to create and
maintain the data dictionary and define the structure of the files in a database.
Data Manipulation Subsystem helps users to add, change and delete information in
a database and query it for valuable information (Seltzer, 2008). Software tools
within the data manipulation subsystem are most often the primary interface
16
between user and the information contained in a database. It allows user to specify
17
CHAPTER THREE
3.1 METHODOLOGY
following categories;
METHODOLOGY (SSADM)
This project work is developed with this methodology (SSADM). The pragmatic
4. Conversion requirement
Job steps, Program narratives which enhances organization for computer execution
i. Prototype Methodology
specialized domain that usually requires human expert. This methodology obtains
their knowledge from expert sources and encodes them in a form suitable for
system to use. It required much training and experience in a specialized field like
Some of expert system factures are that, it used knowledge rather than data to
control the solution processes. It used symbolic representation for knowledge and
reason with meta knowledge (knowledge about knowledge) and the knowledge is
functionality and make needed refinements before development the final solution.
It is somewhat similar; it produces a “throw away” solution that is designed for the
of the requirements and ensure that the proposed solution is consistent with
business expectation. This type of methodology is normally used or work very well
with online transaction processing system (TPS) WEB BASED Development and
(iii) Analysis
(iv) Implementation
(v) Testing
(vi) Maintenance
20
The implementation stage of the system development process involves program
coding. Testing and debugging, conversion, trading and hand over. While
maintenance deals with ensuring the system is operational after change over form
old system to new system Osuagwu O.E (2009) SWEM pp 273 2 ND edition FUTO
Nigeria.
In this project research work, there are two main type of data collection, which
include primary collection and secondary collection. These two categories of data
The primary collection which is also known as interview method are the original
completion. But here the researcher only interviews the director of pharmacy
(Chief Pharmacist) and various staff in the department in UNTH, reviewing and
sharing their experience about the problem of the existing system. Through this;
21
shared to the director pharmacy and various staff in the department, in order to get
The secondary collection is a method whereby the data are collected or obtained
indirectly unlike the primary collection. Here the researcher reviews the existing
document and forms. The drugs master list file and patient medication forms were
reviewed and data were collected. Also make use of existing literature, research
report, internet downloads and so on, in order to understand the diagnosis system.
consideration what the hospital is doing, its problem’s and ways of improving their
differences.
Drug management system, drugs is gathered on the facing of the existing system
(manual).
22
3.3.1 THE PHARMACY DEPARTMENT
pharmacy which deals with the maintenance and control of drug procurements and
and consumables, materials for the patients in a mode that neither hinders efficient
Drugs usually comes into the pharmaceutical department through multination’s and
documentation that allows them to be taken into the main store when drugs arrive
fan inspectorate team being led by the assistant director of pharmacy looks at the
drugs and make assessments and approves them before they are registered (key in)
The inpatients are those patients admitted in the hospital for treatment with a given
period of time; they pay and receive their drugs at the ward supply. The inpatients
23
have a drug prescription card called “Drug receiver store requisition /issue voucher
(DRIV) which the senior pharmacist assesses, checking the incompatibility, what
might cause drug reaction, dosage of drug and records of all the data in a file
The Chief pharmacist prepares an annual budget request for drugs to suppliers,
different quotations are raised and a purchased order is given to the best supplier,
for supply of drugs. An inspectorate team receives and for selection of drugs which
include:
Each sheet contains information on the patients’ drugs prescription. The nurses
schedule treatment for each patient and provide a permanent record of medication.
24
THE PHARMACEUTICAL ORGANIZATION FLOW CHART
Chief Pharmacist
Techniques Junior
NYSC Intern
Pharmacist Pharmacist
Pharmacist pharmacis
t
25
3.3.5 PRESENT SYSTEM APPROACH TO DRUG MANAGEMENT
Presently, the manual method is used for management of drug the hospital has a
agency’s needs. The input specifications for the procurement system are as follow
a. Drug name
b. Quality
c. Price
d. Delivery
e. Description of drugs
f. Source of drug
g. Supplier
h. Purchase order
i. Quaintly
k. Expiry date
l. Receipt voucher
26
II Drug Categorization And Inventory
Drugs are categorized according to their pharmacological use. They are stored in
a. Drug name
c. File number
d. Quantity
e. Location
g. Unit of measure
h. Description
i. Purchase date
a. Drug name
c. Source unit
27
IV Patient Medication And Treatment Records
a) Name of patients
c) Prescription date
e) Dosage
g) Date of admission
i. Staff not being punctual to work, due to the lateness of staff there is a late
ii. Due to annual method of recording which is tedious and sometimes leads to
iii. Numerous files makes search of a particular date or record difficult, which
could lead to late delivery of drugs. Some files could also get missing.
iv. The facts of not being able to select out expired drugs that could be harmful
to patients.
28
3.5 SYSTEM DESIGN
analysis is synthesized with related knowledge in order to achieve the desired goal.
system, effort was made to present designs that will suite the research objectives.
So, the design of the software will help the user achieve the following objectives.
a. Have a workable form through which all the inputs will be made to the
system.
and record files for better distribution and management of drugs, that will enable
29
a) Flexible
b) User friendly
c) Ease to use
Design of software is a creative task which has its objectives as the implementation
named produces.
software and write programs. I wrote my program with Visual Basic 6.0 as my
front and Microsoft Access as my back end to call up my database. In this design,
am interested in its major stage, I took into consideration the people involved
(users) and the level of complexity of their jobs; it is more of a network relational
30
model which defines relationship and links between the job of one worker and
another.
This module comprises of other sub-model like, receipts and drug procurement. In
this module it controls all the activities involved in registering new drugs and how
This Module is more like a file maintenance menu where by drugs can be update,
delete, append new factures and also search or view already existing drugs in the
3.5.3.3 ADMINISTRATOR
This module can also be called the program assets module. It comprises of three
things, administration set, log in /out and Edit user account sub-module. It helps in
controlling assets to the software like creating a password, changing password and
31
delete password. This entire password helps in controlling access towards the
This form is used for registration of all drugs. All drugs approved by the hospital
for use are registered with help of this form. This form is concerned with
information about the drugs, its manufacturer, types, location and distribution
This involves the managerial aspects, Drugs statistics tells one about the drugs in
The program assets file has three forms, create password form, change password
form and delete password form. All these form help in controlling access right of
each person using the program with password form. The administrator creates
password for users of the system with assets level that will make control access
granted.
32
3.6 DATABASE FILE
Password Varchar
33
TABLE 3.3 PROCUREMENT TABLE
34
TABLE 3.4 DRUG DISTRIBUTIONS
35
TABLE 3.5 NEW PATIENTS
36
TABLE 3.6 PATIENT MEDICATIONS
37
3.7 SYSTEM FLOWCHART
Bid Assessment
Analysis of Drugs
Drug Yes Is
Supplier’s main issued
selection & store fully
utilized
purchase
order
No
Supplier’s
or order Stop
acceptance
FIG 3.2 DATA FLOW DIAGRAM: This is how data flows from the request for
38
Start
Set up hospital
parameters
Load Drugs
Information
Logic scheme for the new system shows how the program is loading from the
39
Stop
Start
No Enter Is password No
Yes
hospital & user
name
Activate Admin
name &
password correct? set up
Yes
Setup hospital
information
This program set up/hospital set up shows how you can set up your admin and how
40
Start
Administrator
Permission
denied
Log in
No Does
username Is Yes
& password password Edit user password
default ok for security
Yes
Exist menu
Fig3.5 FLOW CHART FOR LOGIN MODULE: This login module shows
how login can be made, if your username or password is wrong permission will be
41
Start
Hospital setup
Stop
This procurement chart is how drug is being procured and how to locate
Main Menu
Exit Delete
Drug
43
This top- down diagram shows how the whole program is designed. From the main
menu you will get the following sub-menus file, inventory, procurement,
distribution, view and about, under this you will get other sub menus.
44
CHAPTER FOUR
visual basic 6.0, after which I used Microsoft office Access to call up my database
combines the relational Microsoft jet Database Engine with Graphical interface
and software development tools. I used it because of its interoperability with visual
Basic (my front end) which is also an event driven programming application.
ii) Edit existing data in the database such as changing current location of
an item.
iv) Organize, view and share data in a different way using e-mail.
45
4.2 SYSTEM REQUIREMENTS
The major requirements for the smooth use of this system are better described
under two types; the hardware requirements and the software requirements
The following software is required for the adequate implementation of the new
design;
7)
3. Microsoft Access.
The new design will need the following hardware requirement to work effectively.
They include:
e. An enhanced keyboard.
4.3 IMPLEMENTATION
47
system. These are important systems in the software development that must
not be undermined.
Login X
PLEASE ENTER YOUR USERNAME/PASSWORD
ADMIN
USER NAME
PASSWORD
OK Cancel
LOGIN MENU: This is where you type in your username and password so that
48
NEW DRUG EXIT
DRUG NAME
DATE OF PURCHASE
MANUFACTURED DATE
EXPIRING DATE
QUANTITY
MANUFACTURER
COST
New drug inventory is where you take all information about a new drug that has
49
DRUG PROCUMENT EXIT
DRUG NAME:
QUANTITY:
DELIVERY:
EXPIRING DATE
QUALITY
SUPPLIER
PURCHASE ORDER
DATE OF PRODUCTION
RECIEPT VOUCHER
50
4.4 TESTING
Testing is the process of executing a system program or application with the intent
of finding software bugs. The accuracy of the program was tested with some
varying data. It gives assurance that the new system will achieve its objectives and
purpose.
52
Expected to enable user Allows the user to register a patient
register patient medication medication
Patient
medication
Balance of drug, Expected to enable the user Allows the user to view balance of
view balance of drug, expired drug, expired drug, inventory, drug
Expired drug,
drug, inventory, drug distribution and patient.
Inventory, drug distribution and patient.
distribution and
patient.
Update drug Expected to enable the user Allows the user to update drug.
update drug.
Delete drug. Expected to allow user delete Allows the user to delete drug.
unwanted drug.
53
It is expected to see some Some system information is here.
information
About
After test running was varied data, which is after running the program, the output
was shown on the monitor. The output can also be printed on paper. These show
that the new system was perfect and effective.
54
CHAPTER FIVE
5.1 SUMMARY:
These systems underpin all the activities of drug procurement and distribution
tracking system, by providing good health care and safety. It also provides fast
access to drug information and the current status of drug can be obtained from the
This can be applied by using computer to determine the effectiveness of drug stock
tracking system of hospitals such as medical records, billing and general hospital.
5.2 LIMITATION
1. This work is design strictly for the use in UNTH. If any other hospital is to
2. The hospital (UNTH) has to train their staff on the use of computer system.
55
5.3 RECOMMENDATION
This work is recommended to improve in the way drug should be search. It should
have a drop down menu that have lists of drugs in order to make work easy and
also in the expiring date, it should have a sign to show that a drug have expired.
EVALUTION).
MODEM 5500
TRANSPORT 5000
VB 10 TUTORIALS 20,000
PRINTING 2,000
BINDING 500
TOTAL 130,000
56
5.5 CONCLUSION
The benefit of using drug procurement and distribution tracking system cannot be
over emphasized. This is because the system will increase the speed and accuracy
hospital especially that of UNTH. It will also eliminate the case of misplacing files
57
BIBLOGRAPHY
Company: Ibadan.
58
Greg, P. (1998). Teach yourself Visual Basic 6 in 21 days. Macmillan Computer
Publishing: London.
59
Yvonne, D. (1999). Centralized Automated Drug Dispensing System.
(Healthcare): USA.
60
APPENDIX A
NEW REGISTRATION
With Form1.Data1
.Refresh
Do Until .Recordset.EOF
GoTo 20
Exit Do
End If
.Recordset.MoveNext
Loop
End With
61
GoTo 3
20 With Form1.Data1
.Refresh
.Recordset.Edit
.Recordset.Fields("drug_name") = Txtname.Text
Dim t As Integer
t = Val(Txtdate.Text) - Val(Text1.Text)
GoTo 3
Else
.Recordset.Fields("quantity") = t
Dim s As Integer
62
s = Val(Label8.Caption) - Val(Text1.Text)
.Recordset.Fields("balance") = s
.Recordset.Fields("source_unit") = Txtadd.Text
.Recordset.Fields("date_issued") = Txtphone.Text
.Recordset.Fields("time_issued") = Txtemail.Text
.Recordset.Update
End If
End With
Unload Me
3 End Sub
Unload Me
End Sub
Txtdate.Text = ""
Text1.Text = ""
Txtadd.Text = ""
Txtphone.Text = ""
Txtemail.Text = ""
End Sub
With Form1.Data1
.Refresh
.Recordset.MoveFirst
Do Until .Recordset.EOF
64
If Form14.Text1.Text = .Recordset.Fields("drug_name") Then
Txtname.Text = .Recordset.Fields("drug_name")
Txtdate.Text = .Recordset.Fields("quantity")
Label8.Caption = .Recordset.Fields("balance")
Exit Do
End If
.Recordset.MoveNext
Loop
End With
End Sub
DRUG PROCUREMENT
With Form1.Data1
.Refresh
.Recordset.AddNew
.Recordset.Fields("drug_name") = Text1.Text
.Recordset.Fields("quantity") = Text2.Text
.Recordset.Fields("price") = Text3.Text
.Recordset.Fields("delivery") = Text4.Text
.Recordset.Fields("description") = Text5.Text
.Recordset.Fields("source") = Text6.Text
.Recordset.Fields("supply") = Text7.Text
.Recordset.Fields("purchase") = Text8.Text
.Recordset.Fields("quality") = Text9.Text
.Recordset.Fields("production") = Text10.Text
.Recordset.Fields("expire") = Text11.Text
.Recordset.Fields("voucher") = Text12.Text
.Recordset.Update
End With
66
MsgBox ("RECORD SUCCESSFUL")
End Sub
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Text11.Text = ""
Text12.Text = ""
67
End Sub
cd.ShowPrinter
End Sub
INVENTORY
Txtname.Text = ""
Text1.Text = ""
Txtadd.Text = ""
Txtphone.Text = ""
Text2.Text = ""
End Sub
68
Private Sub Command1_Click()
With frmMain.Dat1
.Refresh
Do Until .Recordset.EOF
GoTo 20
Exit Do
End If
.Recordset.MoveNext
Loop
End With
69
If Txtphone.Text = "" Then
GoTo 20
Else
With frmMain.Dat1
.Refresh
.Recordset.AddNew
.Recordset.Fields("drug_name") = Txtname.Text
.Recordset.Fields("date_purchase") = DTPicker1.Value
.Recordset.Fields("manufacturer_date") = DTPicker3.Value
.Recordset.Fields("expiry_date") = DTPicker2.Value
GoTo 20
Else
70
.Recordset.Fields("manufacturer") = Txtphone.Text
.Recordset.Fields("quantity") = Txtadd.Text
Dim t As Integer
t = Val(Txtadd.Text) + Val(Text1.Text)
.Recordset.Fields("balance") = t
.Recordset.Fields("cost") = Text2.Text
.Recordset.Update
End If
End With
End If
20 End Sub
Frame2.Visible = False
End Sub
71
Private Sub Command12_Click()
Frame1.Visible = True
Frame2.Visible = False
Frame3.Visible = False
Frame4.Visible = False
Frame5.Visible = False
Frame6.Visible = False
End Sub
Frame3.Visible = True
Frame1.Visible = False
Frame2.Visible = False
End Sub
End If
With Form1.Data1
.Refresh
.Recordset.MoveFirst
Do Until .Recordset.EOF
Form7.Show
search.Text = ""
Exit Do
Else
End If
.Recordset.MoveNext
Exit Sub
73
APPENDIX B
74
APPENDIX 3 MAIN MENU
75
APPENDIX 5 PATIENT MEDICATION
76
APPENDIX 7 VIEW EXPIRING DATE
77
APPENDIX 9 DRUG DISTRIBUTION
78