Pharmacy Project1
Pharmacy Project1
School of informatics
Industrial project one
Pharmacy management system
Contents
chapter one introduction ............................................................................................................... 7
1.1 Introduction.....................................................................................................................................7
1.2 Background......................................................................................................................................8
1.3 Statement of problem and justification of the system.....................................................................9
1.4 Description of the existing system.................................................................................................10
1.4.1 Introduction of existing system..............................................................................................10
1.4.2 Main function of existing system...........................................................................................10
1.4.3 Actors of existing system............................................................................................................11
1.4.4 Limitation of existing system..................................................................................................11
1.5 Objective........................................................................................................................................12
1.5.1 General objective...................................................................................................................12
1.5.2 Specific objectives......................................................................................................................12
1.6 Scope of the project.......................................................................................................................12
1.6.1 Limitation...............................................................................................................................13
1.7 Methodology and Tools.................................................................................................................13
1.7.1 Methodology.........................................................................................................................13
1.7.1.1 Data source and data collection method...............................................................................13
1.7.1.2 System analysis and design methods (SADM)........................................................................14
1.7.1.3 Implementation method............................................................................................................14
1.7.2 Tools.......................................................................................................................................15
1.8 Budget...........................................................................................................................................15
1.9 Time line........................................................................................................................................16
2
List of tables
Table 2.8 :- use case description for Check expired date by pharmacist....................................................23
3
Table 2.12 :- use case description for Receive cost....................................................................................25
List of figure
Fig 1.1 gun chart representation of time line.............................................................................................16
4
Fig 3.3 ER representation...........................................................................................................................44
5
Acknowledgment
Finally many thanks to friends, who have helped and give suggestions,
supports and correction throughout project.
6
Chapter one introduction
1.1 Introduction
Most of the pharmacies nowadays, like to use file system because it is a traditional way. But
today, the technology has changes a lot and because of that almost all the application in the
world use computer as their stored information place. More recently, the pharmacy
management system is focused on storing stock information such as types of medicines,
price, medication review and drug information. Most pharmacy now day use Manual
recording system. This system has many disadvantages because the pharmacist always
busy with the sales transaction rather than managing the patient who comes to the
pharmacy.
The key benefit of pharmacy management system automating processes To improve the
appearance or efficiency of; modernize work flow and enhancing customer base are
attractive enough to draw retail pharmacy chains competing in world of growing challenge.
7
1.2 Background
The Ethiopian Red Cross Society (ERCS) was established by government decree on 8 July
1935, in the aftermath of the second Ethio-Italian war (1935-1941). Within a few months of
its establishment, the ERCS began its involvement in humanitarian services by training and
deploying 300 first aiders and 6 ambulances to various war fronts to care for the wounded.
There were serious concerns among friendly European countries that due to poor medical
preparation by Ethiopia and the superiority of the Italian’s warfare equipment. There was
concern about the large number of wounded Ethiopian soldiers in need of medical assistance
and the lack of basic first aid services. The only country that eventually volunteered to
provide emergency field medical assistance was Russia. Due to local initiatives and foreign
concerns, the Ethiopian Red Cross Society was established on 8 July 1935 in Addis Ababa.
The first President of the Ethiopian Red Cross Society was Blattengeta Herouy Wolde Selassie
and Dr. Lambie was elected as the first Secretary-General. The Vice-Presidents were Dr.
Hanner from Sweden and Mr. Abel from Austria. The Ethiopian Red Cross Society was
officially recognized as a member of the League of Red Cross Societies, now known as the
International Federation of Red Cross and Red Crescent Societies, on 25 September 1935.
In early 1988 the ERCS and the Danish Refugee Council (DRC) initiated a project with the
technical assistance from the MOH of Ethiopia and the WHO for provision of essential drugs
and presented it to Danish International Development Agency (DANIDA). In June 1989 the
ERCS and the DRC agreed to launch the Essential Drugs Project/Program over 5-year period
in two phases .The aim was to establish 20 pharmacies and 20 satellite pharmacies at project
cost of Birr 13,700,000. The ERCS was made responsible for the physical implementation of
the project and the DRC was committed for the financial contributions and technical
supports.
Hawassa Red Cross society pharmacy is one of the branches of Ethiopian Red Cross Society
(ERCS) pharmacy Established in 1991E.C. aim of the pharmacy is providing drugs to the
society in low cost and supply drug in nearest area to the society.
8
1.3 Statement of problem and justification of the system
In the existing system, there are different types of problems like absence of integrated data
i.e. the data related to the drug and the pharmacy management is not integrated. Lack of
proper asset management i.e. it is hard to know what type, where and how the drugs are
stored. This usually led to mistakes and under-order, also searching and retrieval of
information is time consuming and over load on pharmacist is increased in the pharmacy,
less interaction between store management and other employs, lack of human power, Loss of
great effort , resource, cost and lack of flexibility are some of the problems that are exist in
the pharmacy now.
Generally existing problems are:-
The task was performed manually.
There is no well arrangement of drugs.
It’s difficult to know the expired date of drugs.
It is difficult to manage the exact place of the drug on the shelf.
absence of centralized drug management system
The existing system of Red Cross society pharmacy of hawassa branch is use the manual
system to control pharmacy activity, satisfy patient need and make easy drug management
9
and arrangement with their limitation. The system is applicable in different process of
pharmacy; such as store management, selling processes, drug management and
arrangement.
The store management also calculates the cost of each drug send to dispensaries with the
following format:
Code descript Expire date Unit tab Unit cost per Retail prices
10
1
2
3
Pharmacist: - who sell and consult the patient with more license than druggist.
Druggist: - the same action and work with pharmacist
Manager:-manage the all activity of pharmacy
Cashier: - who receive drug price from the patient
Patient:-as a user patient is one of actors of the system.
1.5 Objective
A general objective of the project is developing good pharmacy management system for Red
Cross society pharmacy hawassa branch. In order to create:-
11
1.5.2 Specific objectives
To minimize time and efforts needed to perform the tasks in the pharmacy.
Make tasks simple and efficient in every aspect as much as possible.
To give sufficient drug delivery system for the patient
To know easily the expired drug.
To arrange the type of drug based on pharmacological action on the shelf.
To provide quick information on the drug and its description and easy access on
search.
To minimize human errors in medication safety.
To facilitate accessibility of drug information and information management among
pharmacy employees.
To provide optimal drugs inventory management by monitoring the drugs’
movement in the pharmacy.
Microsoft office
It enables the operation of database such as insertion, deletion, updating and
searching.
Enables to identify expired drug.
Allows authorized user /personnel to update the database.
Enables to identify less quantity drug.
Enables to identify the position of the drug on the shelf.
Will have access to see the drug cost.
The system is functional in English language for their operation.
Generally we come up with this project to implement a new pharmacy management system
which can perform the entire specified task to the pharmacy with minimum time, effort and
resources. In addition great efficiency, accuracy and security of the data is approved.
1.6.1 Limitation
The proposed system is limited on the following aspects:-
12
1.7 Methodology and Tools
1.7.1 Methodology
There are many different methods and techniques were used to gather data this related to
Pharmacy Management System (PMS) For Red Cross society pharmacy hawassa branch. For
this system, there we are used various techniques which used to collect data and information
such as Interview, Observation and Document review.
For this pharmacy management system, SADM is chosen as object oriented approach. We
used waterfall model for SADM in this system development life-cycle. Such as:-
planning
Requirements:-in requirement phase we use flowchart and use case.
Flowchart-use flow chart to show the work flow of requirement.
use case- A use case models an interaction between the Information
system itself and the users of that Information system (actors)
Analysis:-use class diagram, Use Case and Scenario, state chart and sequence
diagram.
Design:-we use UML class diagram.
Implementation
13
Testing
Maintenance
For analysis and getting the needed information to develop this project we have planned to
use an object oriented approach. We choose this approach because of the following
advantages:
The purpose of this method is to convert the human understanding form to computer
understanding form. That means code the document by using appropriate programming
language. In order to our project we use c# and SQL as programming language documents.
These activities include: - Coding, testing and installation.
We prepare user interface, so that it will be implemented through that interface .The system
will be implemented by using Window operating system.
1.7.2 Tools
Development tools for our project are use hard ware and soft ware requirement.
Printer
Personal Computer,
CD(RW),
Flash.
Microsoft office
SQL database.
C#.
Internet.
14
Edraw Max
1.8 Budget
The budget we use to develop this is system is only depending on the requirement needed
for the project even though difficult to determine the budget. To complete the project we
are going to utilize the following resource.
W1 W2 W3 W4 W W W W W W W W W W
5 7 9 10 14
6 8 11 12 13
15
1 Project planning
2 Requirements analysis
3 Design
4 Implementation
5 Test
2.1 Requirement
The main functional requirement for our RCS pharmacy management system is as follow:-
Record drug with their product date, expired date, amount and cost.
Update, delete and insert drug.
Check expired date and presence of drug.
Register patient with their information.
Generate requisition.
16
2.1.2 Non functional requirement
Non functional requirement are that describes aspects of the system that are concerned
with how well it provides the functional requirements.
Performance:-our system has good performance in response time for updating and
retrieving drug information.
Security: - system is secured because all users are has their own privilege to access
the system.
Throughput:- is the volume of data that system handled. our system is handle large
volume of data.
Reliability: - system is reliable in all process.
17
18
2.2.1 Actor description
Actor Description
Store manager The manager works on store and responsible for record
drug with their information, such as name of drug, expired
date, product date, amount, cost of drug. And also send drug
to the dispensary according to requisition form received
from pharmacist. The manager has responsibility to update
drug database.
Patient
Patient Who use pharmacy.
19
Table 2.1 :- Actor description
20
password.
21
Use case Assign cost
Actor Store manager
Description Assign cost to the drug.
Precondition Managers have to use username and
password.
Post condition
Position of drug is assigned.
1. Login to the manager user interface.
Main path 2. Select insert button.
3. Insert shelf position.
22
Use case Check requisition
Actor Store manager
Description Read requisition form send from pharmacist.
Precondition Managers have to use username and
password.
23
Precondition Pharmacist has to use username and
password.
Drugs is must be recorded.
Table 2.8 :- use case description for Check expired date by pharmacist
24
Description Send drug requisition form to store manager
by listing absence drug in dispensary.
Precondition Pharmacist has to use username and
password.
25
Use case Receive cost
Actor Casher
Description Receive cost from the patient and print recite.
Precondition cashers has to be workers on pharmacy
A Sequence diagram in UML is a kind of interaction diagram that shows how process
operates with one another and in what order. It is a construct of message sequence chart. A
sequence diagram shows object interactions arranged in time sequence. It depicts the
objects and class involved in scenario and the sequence message exchange between the
objects ended to carry out the functionality of the scenario.
Fig 3.2 shows the interaction between the patient and object of the system, such as
pharmacist, pharmacist user interface, dispensary DB and casher.
Fig 3.3 shows the interaction between store manager, store manager interface and store
database.
Fig 3.4 shows the interaction between pharmacist, pharmacist UI, dispensary DB and
manager UI.
26
Fig 2.2 Sequence diagram of patient interaction
27
Fig. 2.3 Sequence diagram of store manager
28
Fig 2.4 Sequence diagram of pharmacist
29
2.4 Activity diagram
Activity diagram in fig 3.6 is activity diagram that show activity between pharmacist
and store manager.
Prescription
30
Fig 2.5 activity diagram of pharmacy and casher
31
Fig 2.6 activity diagram of pharmacist to store manager
32
2.5 State chart diagrams
State chart diagrams described all of the possible states that a particular object can get into
and how the objects state changes as a result of events that reach the object .To understand
complex classes better particularly those that act in different manners depending on their
state you should develop one or more UML state chart diagram state chart modeling are a
familiar technique to describe the behavior of the system it is evolved from system use case
model and has an initial state (creation state is the one that an object is in) when it is the
first time created, where as a final state is one in which no transition exit a transition is a
progression from one state to another and will be triggered by an event that is either
internal of external to the object.
33
Fig 2.7 state chart of patient registration
34
Fig 2.8 state chart for store manager
35
2.6 Class diagram
A class diagram describes the type of objects in the system and the various kinds of
static relationships that exist among them. Class models are created by using many
of the modeling concepts and notations. They show the class of the system. Their
interrelation ships (including inheritance, aggregation and association) and the
operations and attributes of the class and constraints those apply to the way objects
are operations and attributes of the class and constraints that apply to the way
objects are connected.
36
Fig 2.10 class diagram
37
Chapter three design analysis
3 Design analysis
3.1 Introduction
System design is focused on making high level decision concerning the overall structure of
the Red Cross society pharmacy management system. The main activity in system design of
Red Cross society pharmacy management system is including:-
Software architecture
Sub systems
Database design
User Interface
3.2 Purpose
Purpose of the design document is to define software architecture of Red Cross pharmacy
management system and describe database and their relationship between the entities.
This document provides overview of the user interface of the system. Simply this document
will highlight the system components, user interface, database relation, communication
and overall responsibility of each component.
38
3.3 Software architecture
Software architecture is a description of the sub system and components of a software
system and the relationship between them. Subsystem and components are typically
specified in different views to show the relevant functional and non functional properties of
software system.
User interface
39
Database
System database
3.4 Subsystem
Subsystem is typically group together elements of the system that share some common
properties. Sub division of information system in to subsystem has the following
advantages:-
40
Fig 3.1 software architecture
Drug table
41
Table 3.1 drug table
Employee table
Pharmacist table
42
Table 3.6 patient table
Requisition table
43
Table 3.9 supplier table
Pharmacy table
44
Fig 3.2 database schema
45
Fig 3.3 ER representation
46
Fig 3.5 interface diagram
47
Fig 3.5 Login form
48
Fig 3.7 External interface for recording drug
49
Fig 3.8 External interface for pharmacist
Term Definition
RCS Red Cross society
RCSP Red Cross society pharmacy
DBMS Database management system
ERCS Ethiopian red cross society
DRC Danish Refugee Council
MOH Minster of health
PMS Pharmacy Management System
SADM System analysis and design methods
UML Unified modeling language
SQL Search quarry language
UI User interface
DB Database
51
Reference
1. http://www.redcrosseth.org/
2. http://www.tutorialspoint.com/uml/index.html
3. http://www.tutorialspoint.com/uml/uml useful resources.htm
4. Designing object oriented software
5. Object-Oriented Systems Analysis and Design
52