Pharmacy Inventory Movement Dataset
This dataset provides detailed records of pharmacy inventory movements, including receipts, dispenses, adjustments, returns, and transfers. Each transaction is linked to pharmacy, product, supplier, and patient entities, with granular tracking of stock levels, costs, and transaction types. Ideal for inventory optimization, demand forecasting, and stockout prevention in healthcare supply chains.
Sample rows
preview · 8 of 200 rows · all 29 columns| transaction_idstring | pharmacy_countrystring | stock_afterinteger | pharmacy_statestring | pharmacy_idstring | pharmacy_namestring | pharmacy_street_addressstring | pharmacy_citystring | pharmacy_postal_codestring | product_idstring | product_namestring | product_categorystring | product_unitstring | batch_numberstring | expiry_datedate | transaction_typestring | transaction_datetimedatetime | quantityinteger | unit_costfloat | total_costfloat | supplier_idstring | supplier_namestring | destination_pharmacy_idstring | destination_pharmacy_namestring | prescription_idstring | patient_idstring | stock_beforeinteger | is_stockoutboolean | commentsstring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TXN000001 | USA | 2000 | MA | PH001 | Main Street Pharmacy | 123 Main St | Boston | 02115 | PRD001 | Metformin Hydrochloride | diabetic | tablet | PRD001-2024-USA | 2026-06-15 | receipt | 2024-06-01T09:12:45 | 1200 | 0.19 | 228 | SUP001 | HealthSource Distributors | blank | blank | blank | blank | 800 | false | Routine restocking for diabetic meds |
| TXN000002 | USA | 120 | WA | PH002 | Westlake Drugs | 45 Westlake Ave | Seattle | 98109 | PRD002 | Amoxicillin | antibiotic | capsule | PRD002-2024-USA | 2025-11-25 | dispense | 2024-06-01T10:19:05 | -30 | 0.21 | 6.3 | blank | blank | blank | blank | RXUS0010 | PA10021 | 150 | false | Prescription filled for patient |
| TXN000003 | Canada | 215 | ON | PH003 | Toronto General Pharmacy | 19 Queen St E | Toronto | M5C2B7 | PRD003 | Ibuprofen | analgesic | tablet | PRD003-2024-CAN | 2027-01-20 | adjustment | 2024-06-01T08:59:30 | 15 | 0.12 | 1.8 | blank | blank | blank | blank | blank | blank | 200 | false | Inventory correction after recount |
| TXN000004 | Greenland | 15 | GL | PH004 | Greenland Health Central | 5 Nuuk Ave | Nuuk | 3900 | PRD004 | Artemether Injection | antimalarial | ampoule | PRD004-2023-GL | 2024-11-30 | return | 2024-06-01T08:03:11 | -10 | 17.5 | 175 | SUP004 | Global Pharma Supply | blank | blank | blank | blank | 25 | false | Return expired batch to supplier |
| TXN000005 | Australia | 80 | NSW | PH005 | Sydney Health Hub | 88 George St | Sydney | 2000 | PRD005 | Salbutamol Inhaler | emergency | device | PRD005-2024-AUS | blank | receipt | 2024-06-01T11:25:34 | 60 | 19.7 | 1182 | SUP005 | Aussie Med Supplies | blank | blank | blank | blank | 20 | false | Emergency devices restocked |
| TXN000006 | Norway | 1250 | NO | PH006 | Stavanger Hospital Pharmacy | 3 Hospitalgata | Stavanger | 4006 | PRD006 | Insulin Glargine | diabetic | vial | PRD006-2024-NO | 2026-12-30 | receipt | 2024-06-01T07:45:55 | 800 | 16.3 | 13040 | SUP002 | Nordic Med Partners | blank | blank | blank | blank | 450 | false | Bulk hospital order for diabetic supplies |
| TXN000007 | Brazil | 1700 | RJ | PH007 | RioCare Hospital | 110 Avenida Brasil | Rio de Janeiro | 22041-001 | PRD007 | Paracetamol | analgesic | tablet | PRD007-2024-BR | 2026-08-05 | dispense | 2024-06-01T15:20:18 | -500 | 0.09 | 45 | blank | blank | blank | blank | RXBR0021 | PA10455 | 2200 | false | Issued for mass pain relief in ward |
| TXN000008 | Canada | 240 | AB | PH008 | Highland Pharmacy | 210 Highland Blvd | Edmonton | T5J2P2 | PRD008 | Vitamin C | supplement | tablet | PRD008-2024-CAN | 2027-03-10 | receipt | 2024-06-01T13:05:20 | 180 | 0.17 | 30.6 | SUP003 | Canadian VitaSource | blank | blank | blank | blank | 60 | false | Seasonal restock for supplements |
| TXN000009 | UK | 17 | ENG | PH009 | UK Express Chemist | 66 Oxford Rd | Manchester | M13 9PL | PRD009 | EpiPen Auto-Injector | emergency | device | PRD009-2024-UK | blank | adjustment | 2024-06-01T07:47:09 | 2 | 89.2 | 178.4 | blank | blank | blank | blank | blank | blank | 15 | false | Correction for device malfunction |
| TXN000010 | Canada | 55 | QC | PH010 | Montreal Medical Supplies | 28 Sherbrooke St | Montreal | H2X4C9 | PRD010 | Lisinopril | cardiovascular | tablet | PRD010-2023-CAN | 2025-09-18 | return | 2024-06-01T08:12:27 | -15 | 0.28 | 4.2 | SUP006 | Montreal Pharma Group | blank | blank | blank | blank | 70 | false | Expired tablets returned |
| TXN000011 | USA | 1850 | MA | PH001 | Main Street Pharmacy | 123 Main St | Boston | 02115 | PRD001 | Metformin Hydrochloride | diabetic | tablet | PRD001-2024-USA | 2026-06-15 | dispense | 2024-06-01T15:45:12 | -150 | 0.19 | 28.5 | blank | blank | blank | blank | RXUS0011 | PA10022 | 2000 | false | Mass dispense for diabetic patients |
| TXN000012 | UK | 52 | ENG | PH011 | Liverpool Pharmacy | 37 Albert St | Liverpool | L1 1LG | PRD011 | Glucose Test Strips | device | box | PRD011-2024-UK | blank | receipt | 2024-06-01T16:19:33 | 40 | 18.4 | 736 | SUP007 | UK Medical Devices | blank | blank | blank | blank | 12 | false | Routine restocking of test strips |
| TXN000013 | USA | 103 | FL | PH012 | Sunshine Drugs | 55 Sunshine Ave | Miami | 33133 | PRD012 | Hydrochlorothiazide | cardiovascular | tablet | PRD012-2024-USA | 2027-04-12 | adjustment | 2024-06-01T17:01:23 | 5 | 0.15 | 0.75 | blank | blank | blank | blank | blank | blank | 98 | false | Adjustment after end-of-day count |
| TXN000014 | Australia | 30 | VIC | PH013 | Melbourne Family Pharmacy | 14 Swanston St | Melbourne | 3000 | PRD013 | Azithromycin | antibiotic | tablet | blank | 2026-12-08 | dispense | 2024-06-01T14:34:56 | -20 | 0.76 | 15.2 | blank | blank | blank | blank | RXAU0012 | PA10023 | 50 | false | Outpatient prescription filled |
| TXN000015 | Norway | 80 | NO | PH014 | Bergen Hospital Pharmacy | 7 Strandgaten | Bergen | 5004 | PRD014 | Quinine Sulfate | antimalarial | tablet | PRD014-2023-NO | 2024-07-15 | return | 2024-06-01T09:03:42 | -40 | 0.41 | 16.4 | SUP008 | Norsk Pharma | blank | blank | blank | blank | 120 | false | Return of expired antimalarial stock |
| TXN000016 | Canada | 350 | BC | PH015 | Vancouver Pharmacy | 33 Granville St | Vancouver | V6Z1L6 | PRD015 | Aspirin | analgesic | tablet | PRD015-2024-CAN | 2026-11-18 | receipt | 2024-06-01T10:32:47 | 250 | 0.11 | 27.5 | SUP009 | Maple Leaf Pharma | blank | blank | blank | blank | 100 | false | Restock for analgesic tablets |
| TXN000017 | Norway | 950 | NO | PH016 | Oslo Medical Center | 8 Pilestredet | Oslo | 0164 | PRD016 | Chloroquine | antimalarial | tablet | PRD016-2024-NO | 2027-05-19 | receipt | 2024-06-01T08:23:14 | 700 | 0.37 | 259 | SUP010 | ScandiMed | blank | blank | blank | blank | 250 | false | Bulk order for malaria season |
| TXN000018 | USA | 80 | TX | PH017 | Southside Pharmacy | 199 Southside Rd | Dallas | 75201 | PRD017 | Omeprazole | supplement | capsule | PRD017-2024-USA | 2028-01-12 | dispense | 2024-06-01T16:00:09 | -40 | 0.36 | 14.4 | blank | blank | blank | blank | RXUS0012 | PA10024 | 120 | false | Dispensed for patient with prescription |
| TXN000019 | Australia | 70 | QLD | PH018 | Brisbane Chemist | 92 Queen St | Brisbane | 4000 | PRD018 | Erythromycin | antibiotic | tablet | PRD018-2024-AUS | 2025-10-02 | adjustment | 2024-06-01T09:31:28 | 7 | 0.82 | 5.74 | blank | blank | blank | blank | blank | blank | 63 | false | Adjustment for missing tablets |
| TXN000020 | Canada | 226 | ON | PH019 | Ottawa General Pharmacy | 12 Bank St | Ottawa | K1P5N2 | PRD019 | Losartan | cardiovascular | tablet | PRD019-2024-CAN | 2026-03-22 | receipt | 2024-06-01T11:44:36 | 180 | 0.29 | 52.2 | SUP011 | Ontario Pharma | blank | blank | blank | blank | 46 | false | Routine cardiovascular restocking |
What the 200 rows show
from the 200-row sampleNorway (pharmacy country) stands out: mean stock_
- 71median stock_
after - 5transaction types
- 10product categories
- 10product units
- 48pharmacies
- 49pharmacy cities
Median 71, from 2 to 5,020.
- string 21
- integer 3
- float 2
- date 1
- datetime 1
- boolean 1
Columns
29 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 21 columns | |||
transaction_id | string | Unique identifier for each inventory movement transactionunique | TXN000001 |
pharmacy_id | string | Unique identifier for the pharmacy where the transaction occurred | PH001 |
pharmacy_name | string | Name of the pharmacy | Main Street Pharmacy |
pharmacy_street_address | string | Street address of the pharmacy | 123 Main St |
pharmacy_city | string | City where the pharmacy is located | Boston |
pharmacy_state | string | State or province where the pharmacy is located | MA |
pharmacy_postal_code | string | Postal code of the pharmacy | 02115 |
pharmacy_country | string | Country where the pharmacy is located7 countries | USA |
product_id | string | Unique identifier for the product (medication or supply) | PRD001 |
product_name | string | Name of the product (medication or supply) | Metformin Hydrochloride |
product_category | string | Category of the product (e.g., antibiotic, analgesic, device)10 categories | diabetic |
product_unit | string | Unit of measurement for the product (e.g., tablet, vial, box)10 units | tablet |
batch_number | string | Batch or lot number of the productoptional | PRD001-2024-USA |
transaction_type | string | Type of inventory movement (e.g., receipt, dispense, adjustment, return, transfer)receipt · dispense · adjustment · return · transfer | receipt |
supplier_id | string | Unique identifier for the supplier (for receipts and returns)optional | SUP001 |
supplier_name | string | Name of the supplieroptional | Global Pharma Supply |
destination_pharmacy_id | string | Unique identifier for the destination pharmacy (for transfers)optional | PH026 |
destination_pharmacy_name | string | Name of the destination pharmacy (for transfers)optional | Boston Chain Central |
prescription_id | string | Unique identifier for the prescription (for dispense transactions)optional | RXUS0010 |
patient_id | string | Unique identifier for the patient (for dispense transactions)optional | PA10021 |
comments | string | Additional notes or comments about the transactionoptional | Expired tablets returned |
| Numbers 5 columns | |||
quantity | integer | Number of product units moved in the transaction (positive for receipt, negative for dispense/return) | 1200 |
unit_cost | float | Cost per unit of the product at the time of transaction0 or more · optional | 0.19 |
total_cost | float | Total cost for the transaction (unit_cost * quantity)0 or more · optional | 228 |
stock_before | integer | Stock level of the product before the transaction0 or more · optional | 800 |
stock_after | integer | Stock level of the product after the transaction0 or more · optional | 2000 |
| Dates and times 2 columns | |||
expiry_date | date | Expiry date of the product batchoptional | 2026-06-15 |
transaction_datetime | datetime | Date and time when the transaction occurred | 2024-06-01T09:12:45 |
| True or false 1 column | |||
is_stockout | boolean | Indicates if the transaction resulted in a stockout (true if stock_after is zero)optional | false |
Use it for
A healthcare dashboard
Stock_
after by pharmacy_ country and a breakdown of pharmacy_ state. Excel, Power BI or Tableau. Why do the 20 Norway rows have a mean stock_
after of 1,120? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Transactions200TXN0000012000USATXN000002120USATXN000003215Canada
A software demo
Believable transactions with pharmacy_
id, pharmacy_ name and pharmacy_ street_ address to fill a screen in front of a buyer.
blueprint · pharmacy-inventory-movement-dataset
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 29 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.
- SKU and batch tracked
- Transactions timestamped
- Stockout status flagged
- Supplier delivery lag measured
1 credit per row. New accounts start with 25 free credits.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- pharmacy-inventory-movement-dataset