PIMSS

24
- 1 - Table of Contents 1. Introduction .......................................................................................................... 5 1.1. Bid...................................... ................................................................................. 5 1.2. Cold chain ........................................................................................................... 5 1.3. Essential medicines ............................................................................................. 5 1.4. Kits ...................................................................................................................... 5 1.5. Lead time ............................................................................................................ 5 1.6. Pharmaceuticals .................................................................................................. 5 1.7. Push/pull systems ................................................................................................ 6 1.8. Rational medicine use ......................................................................................... 6 1.9. Standard treatment guidelines (STGs) ................................................................ 6 1.10. Tracer products........................ ........................................................................ 6 1.11. Tender...................... ........................................................................................ 6 2. Problem Statement .................. ............................................................................. 7 3. System Statement of Scope .................... ......................................... .................... . 8 3.1. General Requirements (functional) ..................................................................... 8 Interface Enhancements ................................................................................................. 8 Our web-based system needs about 30 interfaces to handle all the functions. .............. 8 3.1.1. General Requirements (non-functional) .......................................................... 9 3.1.1.1. Data concurrence ......................................................................................... 9 3.1.1.2. Transaction .................................................................................................. 9 3.1.1.3. Compatibility ............................................................................................... 9 4. Notations.......................... ............................................................ ....................... . 10 4.1. Notation of Use Case Diagram ......................................................................... 10 4.2. Notation of Class Diagram........................ ........................................................ 11 4.3. Notation of Sequence Diagram ......................................................................... 12 5. Analysis............................. ................................................................................... 13 5.1. Use case diagram .............................................................................................. 13 5.2. Class diagram .................................................................................................... 14 5.3. Sequence diagram ............................................................................................. 15 6. Test Cases .......................................................... ..................... ............................. 22 6.1. Purpose...................... ........................................................................................ 22 6.2. Test Case ........................................................................................................... 22 6.3. Chemist/Clinic Selection .................................................................................. 22 6.4. Medicine Selection....................... ..................................................................... 23 7. Conclusion ................................................................................................... ........ 25

Transcript of PIMSS

Page 1: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 1/24

- 1 -

Table of Contents1. Introduction .......................................................................................................... 5

1.1. Bid....................................................................................................................... 5

1.2. Cold chain ........................................................................................................... 5

1.3. Essential medicines ............................................................................................. 5

1.4. Kits ...................................................................................................................... 5

1.5. Lead time ............................................................................................................ 5

1.6. Pharmaceuticals .................................................................................................. 5

1.7. Push/pull systems ................................................................................................ 6

1.8. Rational medicine use ......................................................................................... 6

1.9. Standard treatment guidelines (STGs) ................................................................ 6

1.10. Tracer products................................................................................................ 6

1.11. Tender.............................................................................................................. 6

2. Problem Statement ............................................................................................... 7

3. System Statement of Scope .................................................................................. 8

3.1. General Requirements (functional) ..................................................................... 8

Interface Enhancements ................................................................................................. 8

Our web-based system needs about 30 interfaces to handle all the functions. .............. 8

3.1.1. General Requirements (non-functional) .......................................................... 9

3.1.1.1. Data concurrence ......................................................................................... 9

3.1.1.2. Transaction .................................................................................................. 9

3.1.1.3. Compatibility ............................................................................................... 9

4. Notations.............................................................................................................. 10

4.1. Notation of Use Case Diagram ......................................................................... 10

4.2. Notation of Class Diagram................................................................................ 11

4.3. Notation of Sequence Diagram ......................................................................... 125. Analysis................................................................................................................ 13

5.1. Use case diagram .............................................................................................. 13

5.2. Class diagram .................................................................................................... 14

5.3. Sequence diagram ............................................................................................. 15

6. Test Cases ............................................................................................................ 22

6.1. Purpose.............................................................................................................. 22

6.2. Test Case ........................................................................................................... 22

6.3. Chemist/Clinic Selection .................................................................................. 226.4. Medicine Selection............................................................................................ 23

7. Conclusion ........................................................................................................... 25

Page 2: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 2/24

- 2 -

1.Introduction

Carefu l m anagem ent of pharmaceuticals is directly relate d to a country’s abilityto address public health concerns. Even so, many health systems and programs run

into difficulty achieving their goals because they have not addressed how themedicines essential to saving lives and improving health will be managed, supplied,and used.

Pharmaceuticals can be expensive to purchase and distribute, but shortages of essential medicines, improper use of medicines, and spending on unnecessary or low-quality medicines also have a high cost—wasted resources and preventable illness anddeath. Because medicines are so important and resources so limited, ways have beendeveloped to improve the supply and use of medicines while minimizing costs.Pharmaceutical management represents the whole set of activities aimed at ensuringthe timely availability and appropriate use of safe, effective quality medicines andrelated products and services in any health care setting. The following terms are used

in pharmaceutical management.

1.1.BidA bid is document prepared in response to an expression of procurement needs (also

known as a tender ).

1.2.ColdchainThe distribution system used for the storage and transport of pharmaceuticals that

require refrigeration (e.g., certain vaccines) is called a cold chain. In some countries a

formal cold chain is also managed through a vertical program such as animmunization program (e.g., Expanded Programme on Immunization [EPI]).

1.3.EssentialmedicinesThe World Health Organization (WHO) defines essential medicines as the limited

number of medicines that satisfy the needs of the majority of the population and that

should be available at all times. Countries often publish a national essential medicines

list (NEML) that identifies the medicines considered to be most important and

relevant for the public health needs of that population.

1.4.

KitsKits are standardized packages of essential medicines and supplies that are delivered

to the facility. Type and quantities of contents are determined by expected utilization

rates for predefined services. Kits are generally part of a push distribution system that

does not use requisitions.

1.5.Lead

timeThe time needed to prepare bids, the time required to make an award and place an

order, the time required to receive the delivery, and the time between receipt and

payment are all defined as lead time.

Page 3: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 3/24

- 3 -

1.6.PharmaceuticalsThe term pharmaceutical encompasses medicinal products, vaccines, contraceptives,

diagnostics, and medical supplies.

Page 4: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 4/24

- 4 -

1.7.Push/pullsystemsPush and pull are two types of distribution systems. In push systems, quantities of 

supplies and the schedule for their delivery to facilities are determined at a higher 

(usually central) level with little to no input from lower levels. In pull systems,

facilities provide information on actual consumption and needs estimates to higher levels.

1.8.Rational medicineuseRational medicine use occurs when clients/patients are prescribed and dispensed the

full amount of the appropriate, quality medicines at the lowest cost to them, to their 

communities, and to the system, and when clients/patients take the medicines

correctly and without interruption.

1.9.Standard treatment guidelines(STGs)STGs are disease-oriented guidelines that reflect a consensus on the treatments of 

choice for common medical conditions. They help practitioners make decisions about

appropriate treatments and help to minimize variation in treatments offered by

practitioners in the health care system.

1.10. TracerproductsApproximately 20 pharmaceuticals or commodities that are selected to evaluate

availability of essential products. The items to be selected for a tracer list should berelevant for public health priorities and should be expected to be available able at all

times in the level of facilities of interest (e.g., clinics or hospitals).

1.11.

Tender

Same as bid .

Page 5: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 5/24

- 5 -

2. ProblemStatement

Pharmaceutical management is the set of practices aimed at ensuring the timely

availability and appropriate use of safe, effective, quality medicines, health products,

and services in any health care setting. These activities are organized according to

functional components of a cycle or system and may take place at various levels of 

the health system according to the design of the health system. The components are

the same for all sectors although procedures and activities within each component

may differ. Activities in the pharmaceutical management system are related to the

selection of products that are to circulate in the supply system and to their 

procurement, distribution, and use The pharmaceutical management cycle operates

within and is affected by a political, legal, and regulatory framework. This framework defines health priorities that have an impact on the following—

The types of products and services that can or should be offered at different types of 

Facilities

The types of personnel needed and required qualifications for carrying out various

responsibilities related to the functioning of the cycle

Quality assurance standards and financial requirements to be met

This cycle applies to the public and private sectors. The capacity to carry out these

activities is mediated by the level of management support that is available.

Management support includes information systems, human resource capacity, and

financial resources.

To provide a anytime anyplace service for the customer To provide refund which is not available in the existing system

To minimize the number of staff at the chemist/clinics

To promote the clinic/chemist on the internet

To increase the profit

To obtain statistic information from the booking record.

Page 6: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 6/24

- 6 -

3.System Statement of Scope

3.1. General Requirements (functional)1. The web page (e.g. The time table page, the main page) will be generated

automatically according to the data in database.

2. A way in which the customer can create its own account(member 

registration).

3. A way in which the users (both customer and staff) can login to the system

to perform different operation.

4. A way in which the customer can modify its own data.

5. A way in which the customer can commit order by just clicking the seat

(which is shown on the screen) and insert some card data.(some simple

operation)6. A way in which the customer can cancel the order and get the refund.

7. A way in which the customer can check the ticket record according to the

transaction number.

8. A way in which the staff can use the system to add data(e.g. medicine

description) to the database.

9. The system can verify the data before transaction.

10. The system can generate the time table automatically (by just input the

length of the film) or the time table is set by the staff. (2 operating mode for 

the staff to insert data).

11. The system can generate some statistic information according booking and

medicine selling record.12. Users can check medicine data by clicking on a certain medicine items on

main page (e.g. The chemist which have show this medicine).

Interface Enhancements

Our web-based system needs about 30 interfaces to handle all the functions.

Staff 

One of the main purpose of our system is to reduce the number of staff in

the chemist/clinics. So, most of the job is done by the system automatically.

Staff only need to insert new medicine data and due with the refund part.

Customer 

To make the system more user-friendly, customer need not to enter lots of 

data. An order will be commit step by step with guideline.

Page 7: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 7/24

- 7 -

3.1.1. General Requirements (non-functional)

3.1.1.1. Data concurrenceSince two or more customers may request for the same medicine at the same time. So,

the system needs to remove the chance for two customer get the same medicine.

3.1.1.2. TransactionWe cannot have a real bank account for the transaction. We can just simulate the

process.

3.1.1.3. CompatibilityThe new system need to be compatible with the existing medicine selling

system(original) in the chemist/clinic, because the web-base system and the original

system will run on the same time and use the same database.

Page 8: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 8/24

- 8 -

4.Notations

4.1. Notation of Use Case Diagram

Page 9: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 9/24

- 9 -

4.2. Notation of Class Diagram

Page 10: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 10/24

- 10 -

4.3. Notation of Sequence Diagram

Page 11: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 11/24

- 11 -

5.Analysis

5.1. Use case diagram

Overview

For the following Diagram, we will show overall view of our system. We just

show the basic function of our system without any detail.

Upda te Inventory

Restock ing

Manufactoryand vendo r 

Shipp ing

Customer DB

Apply Cred it

RegistrationSall

Depa rtment

Purchase

Buyer 

Track ing Orde r 

Promotions

Inventory

AdvertisingWizard(guru)

Searching

Get Advice

Customization Customer Servise

Get Suppo rt

Return

Store DB

Find Store

Page 12: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 12/24

5.2. Class diagram

Page 13: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 13/24

5.3. Sequence diagram

Sequence diagrams for Pharmaceutical Inventory System

Find Store (Store Location Service)

Cus tom er  Es tore StoreManager  

Connect()

FindStore()

FindStore()

Return (Return Policy)

Cus tom  e  r  Es  t o  r  e Cus tom er Data Manager  

InventoryDataManager  

Sales 

Connect()

Logon()

VerifyCus tomer()

ReturnItem ()

ReturnItem ()

CheckItem ()

CheckSale()

Confirm ation()

Confirm ation()

Page 14: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 14/24

Get Support (Customer Support)

Cus tom er  Es tore Cus tomerData

Manage r 

Cus tom er Serv ice

Connect()

Logon()

VerifyCus tomer()

Reques t Support()

Reques t Support()

Support Reply()

Customize

C us tom e r  Es  t o  r  e C us tom er D ata Ma n a g er 

Gur u Sales  Ma n uf acturin  g 

C onnect()

L o g on()

VerifyC ustomer()

C ustom ize()

C ustomize()

Create()

C ustom ize()

C ustum ize()

C ustomizedInfo()

C o nfirmatio n()

Page 15: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 15/24

Page 16: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 16/24

UpdateAdvertis ing()

UpdateProm os ()

Advertising (Company logo,links,Specials, Highlights, Cookies)

Sales

Logon()

Es tore InventoryData

Manager  

Pos tAdver tis ing()

Promotions (Promotions section (items on-sale) )

Sales Es tore InventoryData

Manage r 

Logon()

Pos tPromotion()

Track Order (Track Shipments Online,Status by Email)

Cus  tom  e  r  E  s  t o  r  e  Cus  tom  e  rD  a  t a Manager 

InventoryDataManager 

Manuf acturin  g Shi ppin  g 

Connect()

Logon()

CheckOrder Status ()

GetPurchas eData()

CHeckShippingInfo()

ChackManuf acturingInf o()

ChackInventoryFor Items ()

Pos tInf orm ation()

Page 17: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 17/24

Purchase (E-mail confirmation, Inventory Tracking,Store Billing Info)

Cus tom  er  Es  t o  r  e Cus tom er Data Manager 

InventoryDataManager 

Sales  Manuf acturin  g 

Connect()

Logon()

VerifyCus tomer()

GetProducts ByNam e()

GetProductDetails ()

AddtoCart()

CheckInventory()

AddtoCart()

GetPaymentInfo()

PaymentInfo()

PaymentInform ation()

GetShippingInfo()

ProductPurchas ed()

Confirm Order()

OrderConfirm ation()

Register (Create Profile,Restration)

Cus tom er  Es tore Cus tom erData

Manage r 

Connect()

Regis ter()

Regis ter()

Confirm ation()

Confirm ation()

Logon()

VerifyCus tomer()

Page 18: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 18/24

Apply For Credit (Apply for Credit, E-mail confirmation,Financing)

Cus tom er  Es tore Cus tomerData

Manage r 

CreditCom pany

Connect()

Logon()

VerifyCus tomer()

ApplyForCredit()

GetCus tomerInfo()

ApplyForCredit()

Confirm ation()

Confirm ation()

Shipping(Store Shipping Info w/ Profile,Inventory

Tracking,Notification to Shipping Dept.,Multiple Shipping Options)

Cus tom  e  r EStor e  Cus tom  e  r  D  a  t a 

Manager Shi ppin  g Sales  InventoryData

Manager Manuf actur in  g 

Reques tShipping()

GetCus tomerInfo()

Reques tShipping()

CheckPayment()

CheckAvailability()

CheckAvailability()

ShippingConfirm  ation()

ShippingConfirm ation()

Page 19: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 19/24

Restock (Inventory Tracking)

Manufacturing Store Inventory DataManager  

Sales

Res tock()

UpdateInventory()

Inform Sales ()

Update Inventory (Inventory Tracking)Manufacturing EStore Inventory Data

Manager  Sales

Res tock()

UpdateInventory()

Inform Sales ()

Page 20: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 20/24

6.TestCases

6.1.

Purpose

This Booking Test Case Document identifies all conditions to be implemented within

the Booking tests. These conditions are mandatory for an acceptable and successful

implementation of the function, Booking.

6.2. TestCase

The following list the test case scenario for the Booking Test Case.

1. Chemist/Clinic Selection

2. Medicine Selection

6.3. Chemist/ClinicSelection

Test CaseTest Scenario Name Medicine Selection

Description This scenario covers the functionality of 

booking medicines.

Module Name Book medicines

Status Created

Test Information

Name of Tester

Page 21: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 21/24

Date of Test

Time of Test

O/S Windows XP Pro

Page 22: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 22/24

Input Validation

Test Cases Input

Data

Expected

Results

Actual

Results

P

A

S

s

F

A

I

L

Remarks

Unselected

Chemists/clinics

dropdown list

Chemist

selected

based on

default

chemist

(chemist 1)

Chemist

selected

based on

default

Chemist

(Chemist

1)

Unselected

Medicinedropdown list

Medicine

selectedbased on

first

Medicine

ID

available

Medicine

selectedbased on

first

Medicine

ID

available

6.4. Medicine Selection

Test caseTest Scenario Name Medicine Selection

Description This scenario covers the functionality of 

booking Medicines.

Module Name Book Medicines

Status

Test Information

Name of Tester

Date of Test

Time of Test

O/S Windows XP Pro

Page 23: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 23/24

Input Validation

Test

Cases

Input

Data

Expected

Results

Actual

Results

P

A

S

s

F

A

I

L

Remarks

Unselected

Medicines

Display

error 

message

―Pleaseselect a

item.‖

Display

error 

message

―Pleaseselect a

item.‖

Input Verification

Test

Cases

Input

Data

Expected

Results

Actual

Results

P

A

S

s

F

A

I

L

Remarks

More than

5

medicines

selected

Display

error 

message

―Youcannot

book 

more than

5

medicines

per session’

Display

error 

message

―Youcannot

book 

more than

5

Medicineper session’

Select red(booked)

coloured

items

Unable toselect

Unable toselect

Page 24: PIMSS

8/7/2019 PIMSS

http://slidepdf.com/reader/full/pimss 24/24

7.Conclusion

The aim of any pharmaceutical management system is to deliver the correct product

to the client/patient who needs it, and the steps of selection, procurement, and

distribution are necessary precursors to the rational use of medicines. The rational use

of medicines means that client/patients are prescribed and dispensed the full amount

of the appropriate, high-quality medicine when needed, at the lowest cost to them, to

their communities, and to the system, and that clients/patients take the medicines

correctly and without interruption.