Upload
rockers91
View
279
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Pharmacy Inventory Tracking System - Nadirah Bt. Mustafa
Citation preview
PFIARMACY INVENTORY TRACKING SYSTEM raf
0000039 106 Pharmacy inventory tracking system / Nadirah Mustafa.
NADIRAH BINTI MUSTAFA
This report is submitted in partial firlfillment of the requirements for the Bachelor of Computer Science (Database Management)
FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGY KOLEJ UNIVERSITI TEKNIKAL KEBANGSAAN MALAYSIA
2006
ABSTRACT
In healthcare industries, inventory management system is widely involve in their daily activities. The inventory is needed to be updated frequently. This project will focus on pharmacy inventory management system which involve few main activities that are, drugs registration, drugs ordering, stock balance calmlation and report generation. All related information has been gathered from interview, facts and finding and Structured System Analysis Design Methodology (SSADM). Currently, onfy drugs ordering activity is done using a computerized system and the rest activities are done manually. Some problems have occurred such as human- errors in recording and calculating which lead to the lateness of the rest activities. A computerized pharmacy inventory tracking system (PITS) has been develop by including all the activities in pharmacy inventory management. The purpose is to speed up the daily activities. Besides, PITS is develop to increase productivity of the pharmacy departments.
Industri kesihatan merupakan sebuah industri yang melibatkan banyak inventori yang sentiasa perlu dikemaskini bagi memudahkan kegiatan harian. Projek ini menekankan kepada pengurusan inventori di dalam farmasi yang melibatkan beberapa aktiviti utama iaitu, pendattaran ubat-ubatan, pesanan ubat-ubatan, pengiraan baki dalam simpanan dan juga laporan aktiviti. Semua maklumat berkaitan pengumsan inventori dikumpul melalui temuramah, fakta dan penemuan dan metodologi. Pada masa ini, hanya aktiviti pesanan yang dilakukan dengan menggunakan komputer manakala aktiviti-aktiviti lain dijalankan menggunakan kaedah manual dimana terdapat beberapa masalah yang timbul seperti kesilapan merekod, kesilapan mengira yang membawa kepada kelewatan di dalam aktiviti seharian. Sebuah sistem pengurusan inventori farmasi berkomputer akan dibangunakan dan akan merangkumi kesemua aktiviti didalam pengumsan inventori farmasi. Ini adaah bertujuan untuk melancarkan segala aktiviti harian di dalam sesebuah farmasi di samping meningkatkan lagi produktiviti mereka.
CHAPTER I
INTRODUCTION
1.1 Introduction of Project
Healthcare industries today are looking for opportunities to improve their
daily operations efficiencies by reducing costs without effecting patient care. In
addition, for these industries to hnction better they require accurate medical supply
and equipment orders, tailored to the patient's needs, and delivered on-time.
Inventory is a subject in business that is hope can maximize profit. However,
in many cases inventory has turned into a major cash flow constraint that cause
necessary to optimize inventory using analytical and statistical methods in manual
approach that is using papers. This will lead to paper wastage.
In healthcare industries, inventory management system can handle their
inventory especially in pharmacy department. This includes all the activities that run
in a pharmacy such as transaction, order items, items movement tracking, and
generate reports.
1.2 Project Background
The study area for this project is Pharmacy in Pantai Medical Centre, Ayer
Keroh. Currently, this pharmacy is using a computerized inventory management
system. This system was built using DOS environment and it is use to handle their
daily activities such as purchase order. But in the same time, some problems have
been occurred.
It runs slow in terms of page navigation since usa need to jump from one
page to another page using hyperlink. The interaction between user and system is
only using keyboard. Either to key in data or to using the system fimctions. Both
situations will lead to time wastage. Since the current system was built using DOS
jilatfom, the interface screen is also in DOS environment (black screen). As the
system is using by user through out the day, it must interactive and attractive yet still
functioning as required.
The goal of this project is to develop a pharmacy inventory tracking system
(PITS) by taking the current system in Pantai Medical Center, Ayer Keroh as guide.
PlTS is a computerized system that will be used to manage the inventory in a
pharmacy. This system will have integration with database. This system will help the
users to retrieve pharmacy information in more effective and better way.
PITS that is going to be develop will enhance some &atures of the current
system that using DOS. PITS is a system that will be able to be used by many
authorized users. It will be implement in a LAN network where two or more
computers can run same activities in a same time. PITS will be develop in Windows
operating system so that it will be more user friendly. The modules that will include
in this system involve all the inventory management activities right from registration
new medicine and supplier information till the report generation.
PITS is taking security issue as an important issue as user can login into the
system only using different level of authorization. Specifically, the pharmacy's staffs
can record all the transaction activities while admin can configure the system as he
will be able to edit all the inventory information. Admin also will be able to create
the purchase order using this system. Besides, admin can generate a various type of
reports and will be able to view any activity history.
The tracking mechanism will be done internally and it is one part of system
intelligence to autdetects or check the stocks and give notification for the user,
which product are reaching the re-order level. Therefore, the management and design
of database must be performed in order to ensure the database growth and scalability.
Furthermore, the system should allow the ease of the maintenance and allow growing
in fbture enhancement.
1 3 Problem Statements
Those problems faced by the to-be pharmacy inventory system are:
To identify the product that is reaching to reorder level, pharmacy clerk needs
to check stocks. Since there are many products in the stock, it may cost a lot
time for the user to look through one by one.
a Pharmacy clerks are unable to make right decision in both when to order and
how to maintain the delicate balance between carrying too much and too little
stock. Carrying too much stock results in high inventory operating cost and
carrying too little may cause stock-outs and high order-cost.
a The current system cannot generate monthly reports; only generate daily sales
transaction reports. Therefore pharmacy clerks will need to spend a lot of
time to refer the daily reports for producing the monthly or yearly report.
hiaccurate inventory report due to human error such as mistake in checking
stock, mistake in changing product and so on. So they are unable to
obtain accurate figure and the repetitive work will occur.
Unattractive user interfaces and not user-firiendly.
Sales transaction is using manual ways has cause time consuming.
1.4 Objectives
The objectives to develop pharmacy inventory tracking system are:
To help manage the re-order activities and control inventory stock balance.
To help the pharmacist to do the decision making.
To enable admin to review any activities history and then print-out various
types of reports.
To provide a better security for pharmacy inventory management system by
develop a system with different level of authorization.
To save man power and on the same time increase the daily activities by
improve the graphical user interface (G.U.1).
To build an inventory system that includes transaction process, so it will
enable to calculate the stock balance.
1.5 Scopes
The system that is going to be develop is a LAN network based system where
it will be placed on a computer in a pharmacy to help them manage their inventory.
Here are the scopes for this system that can be divided into 3 group:
i. Users
The target user for this system is the department manager, pharmacy staff and
pharmacy manager who will use dus system to manage their activities in
managing pharmacies inventories.
2. Technology used
In transaction processing, sales transaction process is using bar code
technology to calculate the total of payment and calculate the stock balance.
3. System
This is a LAN network based system which will be built using Microsoft
Visual Basic 6.0 and Microsoft SQL Server 2000. It is able to run on specific
computer. The modules that includes in this system are:
Request medicine
Each department in the hospital can request for the medicine by inserting the
information into the system.
Purchasing order
Pharmacy's manager will able to list the medicines that need to be re-order
using this system. The order will be based on department requirement or
depends on the stock balance.
Receive order
When ordered medicines are received, all the medicine information will be
record to control the stock balance.
New medicine/staflE/supplier registration
If there is any new medicine/stafflsupplier available, the information can be
added into the system database.
Sales transaction
In order to manage the inventory stock, this system will be able to manage the
system intelligence to auto detect or check the stocks and give notification for
the user, which product are reach to reorder level.
Inventory adjustment
Adjust inventory returned or received by the pharmacy for a number of
reasons: restocked I expired I destroyed
Report generation
This system will be able to generate various types of reports.
1.6 Project Significance
The main purpose to develop this system is to help the pharmacists to manage
their inventory information. This system will be able to replace existing file system
so it can help the pharmacy to improve their inventory. By using this system, user
can solve most of their problems while using current system.
1.7 Expected Output
The pharmacy inventory tracking system will provide expected function as:
1. Authentication
User can log in to the system by using different level of authorization.
2. Purchase order
Enter multiple medicine information as required.
3. Request medicine
Order multiple pharmaceuticaYvaccine items by PO number and order date
from a specific vendor and with a specific budget.
4. Receive order
Enter delivery information as items are received.
5. Sales transaction
As transaction happen, out-going items will be trace using bar code reader.
6. Adjusting inventory
Adjust inventory returned or received by the pharmacy for a number of
reasons: restocked / expired 1 destroyed
7. Registration new staff/ medicinel supplier
When new record exists, pharmacy manager will be able to add them into
database.
8. Report generation
There are various reports that can be generate using this system. These
reports will be monthly reports of the inventory system:
i. Monthly inventory reports which include all the stock balance.
ii. Transactions reports which include sales transaction receipt.
iii. Report of medicine request made by each departments.
1.8 Conclusion
Today, most of the pharmacy management system in Malaysia is using file
system. Some changes need to be done to help them manage their inventory with
more effective. A computerized system is the best solution. By changing to this
technology, pharmacy is hoped will be able to adapt to current requirement that
increase from day to day.
Next phase will be literature review and methodology phase where the initial
study of the PITS development will be start. All necessary and essential data will be
gather throughout this phase for further understanding.
LITERATURE REVIEW AND PROJECT METHODOLOGY
2.1 Introduction
Literature review is an important element for this project since it will give
general idea and concept on how to develop a Pharmacy Inventory Tracking System
(PITS). Besides it will provide the requirements and challenges that need to be h e
during the progress of the project development.
Fact and finding is a way to collect such information in this project. It
includes some techniques like referring to the technology environment that related to
the project title and studying on the existing documentation. Also it will state the
explanation of inventory management system and the meaning of transaction
processing.
Project schedule is a project progress plan that shows the activities that has
been plan throughout this project development. It will provide the guide to
implement the progress of the project.
2.2 Fact and finding
The fact and finding information was taken from reference books and articles
from the internet that are related to this project. The results of fact and finding can-be
categorized as below:
2.2.1 Inventory management system definition
According to Oxford dictionary, inventory means list of household goods,
items and stock. Inventory management system is a system that will replace a manual
system in an organization (in this project, will focus on pharmacy) to manage their
inventory adjustment and movement record. The purpose of inventory system is to
help user keep track of their inventory.
Besides, it can help user manage to make dght decision in both when to order
and how to maintain the delicate balance between carrying too much and too little
stock. Canying too much stock results in high inventory operating cost and carrying
too little may cause stock-outs and high order-cost.
The objective of an inventory management system is to make inventory
decisions that minimize the total cost of inventory, which is distinctly different from
minimizing inventory. It is often more expensive to run out of an item than simply to
keep more units in stock.
2.2.2 Pbarmacy inventory management system
According to Hughes (26041, most pharmacy inventory decisions involve
replenishment: how much to order medicine, when to decide to order medicine, and
when to place the order. There are three costs associated with pharmacy inventory:
(1) carrying costs, (2) shortage costs, and (3) replenishment costs. For instance, the
"costs" associated with running out of a medicine product used in critical care might
well involve increased morbidity and mortality, clearly an unacceptable situation.
However, the basic tenets of these hventory-control systems should be
examined by hospital pharmacy managers and applied when appropriate. The
availability of microcomputers and relatively p o w h l spreadsheets will increase the
utility of complex models of inventory control that are too complicated for manual
calculations.
2.2.3 What is bar code?
Bar code is a machine-readable representation of information in a visual
format on a surface. It is a technology that will use an optical scanner or barcode
reader to capture label code on an item therefore it will able to identify the item
details. Barcodes are widely used to implement Auto ID Data Capture (AIDC)
systems that improve the speed and accuracy of computer data entry.
in pharmacy, this technology will allows the pharmacy staff to scan the
medicine, to assure that the right patient is receiving the correct medication in the
correct dose and route and on the same time will help them control the medicine
stock balance. Figure 2.1 shows the example of bar code.
Figure 2.1: Bar code
2.2.4 Bar coding technology
A linear bar code is a binary code (Is and 0s). The lines and spaces are of
varying thicknesses and printed in different combinations. To be scanned, there must
be accurate printing and adequate contrast between the bars and spaces.
Scanners employ various technologies to "read" codes. The two most
common are lasers and cameras. Scanners may be fixed position, like most
supermarket checkout scanners, or hand-held devices, often used for the taking of
inventories. There should be a distinction drawn between the code, which is a
structure for the conveyance of data, and the symbol, the machine-readable
representation of the code. The code is text, which can be translated into a
multiplicity of languages - English, French, and Japanese. Figure 2.2 shows a
barcode optical scanner.
Figure 23: Optical scanner
2.2.5 Case Studies on Pharmacy Inventory Management System
Considering that pharmacy is the third largest source of hospital costs, behind
imaging and surgical services, any process improvements that could help moderate
these expenses would be valuable. Three case studies that related to this project have
been downloaded from the internet. By analyzing the three cases, some guide has
been adopt to build this project. Table 2.1 shows the summarized of the case studies.
CRZTERfA
Problem
Statements
Technology
Enhanced
Laboratory
(M) SDN BHD
Medical Center
8 Difficulties in
tracking lab
properties and
racking them.
Spend much time in
their current system,
right fiom sample
registration until
report generation.
Loss their work time
in preparing the
various reports.
Web-enabled
Laboratory
Information
Management System
(LIMS), namely
Labvision
I Decentralize
pharmacy
operations and
deploy
pharmacists to
hospital floors.
Not integrate
systems.
Difficult to cope
with critical
medicine
shortages that
impact patient
care.
Difficult to
maintain
and control
medicine
inventories.
EconoLink 2000
distribution and
inventory
management
system and
Closed Loop
Distribution for
mobile ordering
and receiving.
Virginia Mason
Medical Center
I Provide staff with un-
detailed product
information at the
point of orderhg
I Increase staff time
spent ordering,
receiving, and
preparing invoices for
payment.
Payment process with
paper invoicing.
Wastage of paper.
Closed Loop
DistributionSM to
leverage the power of
bar code technology,
and to integrate
procurement with
inventory management
and financial systems.
I I Laboratory (M) I Regional I Medical Center I
- Benefits
Table 2.2: Comparison of study Eases
cut down sample
cycle time and
eliminate
unnecessary paper
wastage.
Up to 20x different
reports layout has
been customized.
Better control &
monitoring of
sample test
completion time.
Faster and mote
eficient
ordering.
Pharmacists are
able to spend
more productive
time on the
hospital floors.
f ncreased
availability of
products during
medicine
shortages.
Added control
over the order
receiving
process through
bar code
scanning and
tracking.
Savings of
thousands dollar.
I Criteria I Consolidated
Reduced order errors
from 36 to one per
month, saving costly
rework.
Automated receiving
process, adding
accuracy and speed.
Achieved a total
monthly labor
savings of 74 hours in
Finance and 1 7 hours
in Pharmacy.
Increased Pharmacy
staff job satisfaction.
Ynma I Virginia Mason
Stand-alone
I I I
SDN BHD
4
I I I
Medical
Center
4 Inventory control
4 Product distribution
4 4
4 4
From table 2.2, the study cases that has been state as above are differ fiom
one and other in terms of requirement, backgrounds problems, and others. But the
purpose of each study case is same that is to built a computerized inventory
management system that can:
Improved financial accountability
Manage accurate inventory management
Minimal staff training requirement
Reduces losses of profit
2.3 Project Methodology
4
4
J
control
Transaction control
Stock balance control
Report generating
Bar code technology
The system approach to the analysis and design of PITS is Structured
Systems Analysis and Design Methodology (SSADM). SSADM revolves around the
use of two key techniques, namely Logical Data Modeling and Data Flow Modeling.
Logical Data Modeling
4
4
This is the process of identifling, modeling and documenting the data
requirements of a business information system. A ~ogical Data Model consists of a
Logical Data Structure and the associated documentation. LDS represents Entities
and Relationships.
J
J
o Data Flow Modeling
This is the process of identieing, modeling and documenting how data flows
around a business information system. A Data Flow Model consists of a set of
integrated Data Flow Diagrams supported by appropriate documentation. DFDs
represent processes data store, external entities and finally data flows.
The model that has been chosen that suited with SSADM is waterf'all. Figure
2.3 shows the structured of waterfall.
DESIGN
IMPLEMENTATION
TESTING
Figure 2.3: -Waterfall
Figure 2.3 shows the phases involve in waterfall model. It includes Analysis,
Design, Implement and Testing. Thus the waterfall model maintains that one should
move to a phase only when its preceding phase is completed and perf&. Phases of
development in the waterfall model are thus discrete, and there is no jumping back
and forth or overlap between them.
23.1 Analysis
This is the first phase in database life cycle. In this phase, system developer
has investigated current system to identie problems. During this phase, information
such as bar code technology information, pharmacy inventory information, and
medication infarmation are collected through fact and finding, interviews and books
review. From the collected information, it will be convert into a more structured
diagram using Data Flow Diagrams @FD)
2.3.2 Design
Design is the second phase. The purpose is to design PITS based on the user
requirements. Refer to Database life cycle model Coronel(2003) consists of six
stages. These stages of database lifecycle are not strictly sequential but listed above
are the main stage that always used in database development and it involves some
repetition of previous stages through feed-back loops. Figure 2.4 is shows the DBLC.
1 Analysis
* Conceptual Design
i
1 Logical Design
1 Physical Design
I
1 Implementation
1 Testing
1 Maintenance and
evaluation I
Figure 2.4 : Database life cycle
The approach that has been implement in this database design is top-down,
where it starts with identify the high-level entities and relationship follow by identify
lower-level of entities, relationship and attributes. From the identified entities,
relationship and attributes, system developer can model the data. The organization of
this persistent data will become a blueprint for database implementation. Data
modeling is purposely to help system developer in understanding the data. The data
model can be represented by using Entity-Relationship (ER) model or Enhanced
Entity-Relationship (EER) diagram which will using the Unified Modeling Language
(UML).
233 Implementation
In this third phase of waterfall, database implementation and system will be
develop. The implementation of the database is using Data Definition Language
@DL) while Pharmacy Inventory Tracking system (PITS) will be develop with
using graphical user interface (GUI), which will provides the user-friendly interface
for the pharmacy's clerk to implement the DDL. Data manipulation language @MI,)
will be implement in order to do database transaction. For the PITS, programming
language, Visual Basic will be applied. Security for the database and system will also
be implement.
23.4 Testing
As soon as a database is ready, the system developer will do some testing into
the application. Testing will used some real data as the data in a pharmacy. Testing
will be done in various approaches:
Database access
6 Data movement idout database
6 Security mechanism
For testing phase, the database and the PITS will first be back-up in case of
error. After tested is completed, the PITS is ready to be implement on the real
environment that is in a pharmacy.
2.4 Project Requirements
In this project development, some requirements have been discover:
2.4.1 Software requirements • Microsoft Word for project documentation.
Microsoft Project for develop the project Gantt chart
6 Microsoft Visual Basic 6.0 as the programming language
Microsoft SQL Server 2003 as the DBMS
6 Microsoft Power Point for the project presentation
2.4.2 Hardware requirements 6 PC with Pentium IV, 256 MI3 RAM, 20GB HDD, monitor, cd-rom reader,
keyboard and mouse.
• Printer
B a d e scanner.
2.5 Project Schedule and Milestones
The project schedule for the development of this project is given as table 2.3
below. The milestone is shown in Gantt chart as in appendices A and B.
Supervisor
Project Topic 5d 13/05/2006 17/05/2006
Table 23: Project Schedule
Approval by PSM 1 Committee
xG&a+
'~ctivity
Planning Phase
Submit PSM
Proposal to
project
Draft chapter 1 and 4d
2
Submission on 0
Start Date
08/05/2006
08/05/2006
Durati
on
19d
5d
Chapter 1 and 2 &
End Date
26/05/2006
12/05/2006
Analysis on the 1 4d I existing system I I I
I I I
Ploblem Analysis I 2d 1 02/06/2006 1 03/06/2006 I I I
Requirement 2d 04/05/2006 05/06/2006
Analysis
I
Submission on 1 0 I Chapter 3 I I Design Phase I 1 6d
Architecture
PSM proposal 7 project
and 2 I
Report Chapter 3 I
2.6 Conclusion
From the fact and finding that has been done, it can conclude that, healthcare
industries are looking for opportunities to enhanced their management in purpose to
improve their customer services. Many computer technologies has been adopt into
their daily routine. The advantage that gained by this industry is that they can provide
their services in a better and more effective way.1n developing PITS, waterfall and
database life cycle methodology has been implement as a guide through out the
project development progress. using this methodology, the project progress will be
in order. As the conclusion, the system developer will have to schedule the project
progress properly so that the project goal can be achieve.
Design User
interface
. Design Database
Structure
Draft Chapter 4
Submission
Chapter 4
Submission PSM
1 Final Report
PSM 1
Presentation
Design Phase II
Implementation
Testing
Conclusion
PSM II
Evaluation
PSM n Presentation
14/06/2006
1 5/06/2006
12/06/2006
16/06/2006
19/06/2006
26/06/2006
10/07/2006
15/08/2006
03/09/2006
25/09/2006
09/10/2006
0111 1/2006
Id
2d
6d
0
28d
14d
28d
14d
14d
14/06/2006
16/06/2006
1 6/06/2006
16/06/2006
23/06/2006
30/06/2006
10/08/2006
01/09/2006
22/09/2006
06/10/2006
20/10/2006
0311 112006
Report Chapter 4
PSM 1 Report
Report for PSM 1
CHAPTER IU
ANALYSIS
3.1 Introduction
In previous chapter, the techniques for gathering information about what the
users require of the PITS development have been discussed. All gathered information
will be analyzed in this chapter to create the system specification, which describes
the fatures to be included in the new database application such as requitements and ; modules. , ,
1
in this chapter, analysis will be develop onto current and to-be system in
terms of problems and requirements. For the current system, an interview with Ms.
Wendy Khoo, the Pharmacy Manager, has been done to investigate the flow of the
system. While for the to-be system, the analysis will be develop based on the current
system problems.
3.2 Business process analysis
Some raw information has been gathered through an interview with the
pharmacy manager and also from a survey to understand the requirement of PITS.
From this information, an analysis has been done to figure out the business flow,
problems analysis and problems statements. Business flow is the description of
current business process. Problem analysis is to describe the identify problems that
occur in the current process and then the problems will be list down. PITS is develop
in purpose to solve those problems occurred.
3.2.1 Business flow
The organization that has been selected as PITS client is Pharmacy of Pantai
Medical Center, Ayer Keroh. It's operation starts at 7.00am until 1 1.00pm daily. The
main operation (PITS will start here) in this pharmacy is purchase order. The general
operations are sales transaction, new registration, inventory adjustment and report
generation. A detailed analysis of the processing requirements in this organization is
showed below using Data Flow Diagram (DFD).
3.2.1.1 As-is system
Data Flow Diagram is a diagram to show the detailed of the actors, process,
and data store that involve in each current inventory system business processing.
-0 This diagram start with context diagram where in this level, it shows the
interaction between actors and the system.
PHARMACY INVENTORY TRACKING SYSTEM
a
Figure 3.1: Context diagram for as-is PITS
II) Second level is Level 0 where in this level, it shows the interaction between
actors, process and data store in the current pharmacy inventory system.
Figure 3.2: DFD Level 0 for as-is PITS