Featured Image

CropVision: AI Agriculture Yield Prediction Platform

Improved yield forecasting accuracy to 94% and reduced input waste by 22%

Author
Advenno TeamHealthcare Technology & Compliance Lead
March 12, 2026 9 months
Client
MedCare Pharmacy Network
Industry
Pharmacy & Healthcare
Duration
9 months
Completed
Feb 2025
Location
Minneapolis, Minnesota, United States

Advenno built PharmTrack, an intelligent pharmacy management system with AI drug interaction screening, barcode workflow verification, predictive inventory, and compliance automation for 28 pharmacies. Errors dropped 84%, fill time decreased to 12 minutes, and $340K in waste was eliminated.

The Challenge

MedCare Pharmacy Network had grown to 28 locations serving 180,000 patients, filling 2.1 million prescriptions annually. The legacy pharmacy system processed prescriptions in a linear workflow that hadn't been redesigned since installation 12 years earlier. Drug interaction checking was the most dangerous bottleneck: pharmacists manually cross-referenced each new prescription against reference databases, a process taking 4-6 minutes for patients on 5+ medications — who represented 34% of the patient base. The manual nature of this check meant interaction severity was sometimes underestimated or medications outside MedCare's system (filled at other pharmacies) weren't captured. The 0.8% dispensing error rate produced 16,800 potential errors annually across the network. While pharmacist verification caught most before dispensing, the Defense-in-depth approach had gaps — and a single error reaching a patient could have devastating consequences. Fill time averaged 45 minutes, driving patients to competitor pharmacies with faster service. Inventory management was reactive: technicians visually scanned shelves for low stock and expiring medications, missing items in less-trafficked areas. The company wrote off $340K annually in expired medications. Regulatory compliance for controlled substances, HIPAA, and state pharmacy board requirements consumed 6 full-time staff who manually compiled reports, tracked DEA logs, and prepared for inspections.

  • 0.8% dispensing error rate producing 16,800 potential errors annually across 28 pharmacies
  • 45-minute average fill time driving patients to faster competitors
  • Manual drug interaction checking taking 4-6 minutes per complex prescription
  • $340K annual loss from expired medications due to reactive inventory management
  • 6 full-time compliance staff manually compiling regulatory reports and tracking controlled substances
  • 12-year-old pharmacy system with linear workflow processing unable to meet modern volume demands

Our Solution

Advenno built PharmTrack as a comprehensive pharmacy platform that reimagines prescription fulfillment as a parallel, verified, and AI-augmented process. The AI drug interaction engine checks every prescription against the patient's complete medication profile — including medications filled at other pharmacies via SureScripts integration — allergies, diagnoses, lab values, and available pharmacogenomic data in under 2 seconds. Severity-graded alerts distinguish between life-threatening interactions requiring pharmacist intervention and informational warnings that can be acknowledged automatically. Barcode verification at every workflow step — scanning the prescription, the stock bottle, the dispensing count, and the patient pickup — creates a chain of verification that makes wrong-drug and wrong-patient errors nearly impossible. The workflow engine parallelizes independent steps: while one prescription is being counted, another is being verified, and a third is being checked for interactions. Predictive inventory analyzes prescription fill patterns, seasonal trends, new therapy initiations, and supplier lead times to maintain optimal stock levels — ordering automatically when replenishment is needed and flagging medications approaching expiration for return or transfer. Regulatory compliance automation generates controlled substance reports, tracks pseudoephedrine purchases, monitors suspicious patterns for DEA reporting, and produces pharmacy board inspection packages on demand.

  • AI drug interaction screening in under 2 seconds against complete medication profiles via SureScripts
  • Barcode verification chain ensuring right drug, right dose, right patient at every workflow step
  • Parallelized prescription workflow processing multiple orders simultaneously
  • Predictive inventory with automated ordering and expiration management
  • Controlled substance tracking with automated DEA reporting and suspicious pattern detection
  • Patient communication with fill status alerts, refill reminders, and medication adherence messaging
  • Pharmacogenomic integration enabling precision dosing alerts based on patient genetic profiles

Our Approach

1

Pharmacy Workflow Analysis

Embedded in 6 pharmacies over 3 weeks, timing every workflow step and documenting error-prone touchpoints. Discovered that 67% of fill time was wait time between sequential steps that could be parallelized.

2

AI Interaction Engine

Built the drug interaction database integrating FDA, First Databank, and clinical literature sources. Trained severity classification on pharmacist-validated interaction assessments. Connected to SureScripts for cross-pharmacy medication history.

3

Barcode Workflow Design

Designed the verification chain with pharmacists and technicians, optimizing scanner placement and screen positioning for speed. The workflow adds verification without adding time — barcode scanning replaces manual label reading.

4

Inventory Prediction Model

Analyzed 3 years of dispensing data to build prediction models for each medication at each location. The model accounts for seasonality, new therapy patterns, and supplier variability.

5

Phased Deployment

Deployed to 4 high-volume pharmacies first, then rolled out in waves of 6 over 8 weeks. Each wave included pharmacist and technician training with simulated prescriptions before going live.

The Results

PharmTrack delivered immediate safety and efficiency improvements across MedCare's 28-pharmacy network. The dispensing error rate dropped from 0.8% to 0.13% — an 84% reduction — with the barcode verification chain catching errors that manual processes would have missed. Prescription fill time decreased from 45 minutes to 12 minutes through workflow parallelization and AI-powered interaction screening that replaced 4-6 minute manual checks with 2-second automated analysis. Patient satisfaction scores improved from 3.4 to 4.7/5, with faster fill times and proactive communication (fill status alerts, refill reminders) cited as the primary drivers. Expired medication waste was virtually eliminated through predictive inventory, saving $340K annually and ensuring medications were always in stock for patients who needed them. Compliance staffing decreased from 6 to 2 full-time positions as automated reporting, controlled substance tracking, and inspection package generation replaced manual processes — the 4 freed staff members transitioned to patient-facing pharmacist consultation roles. The AI interaction engine flagged 847 clinically significant interactions in its first quarter that the manual process would have taken 4-6 minutes each to identify — and in 23 cases, identified interactions involving medications filled at other pharmacies that MedCare's previous system couldn't see.

84
Error Reduction
12
Fill Time
4.7
Patient Satisfaction
340
Waste Eliminated
4
Compliance Staff Freed

Return on Investment

$340K annually
Medication Waste Eliminated
~$1.2M from faster service attracting patients
Patient Volume Growth
4 FTE from compliance to patient care
Staff Reallocation

Technologies Used

React
Python
Django
PostgreSQL
Redis
AWS
Docker
Elasticsearch
Celery
HL7 FHIR

Integrations

SureScripts
First Databank
McKesson Supply
Cardinal Health
Stripe Payments
Twilio SMS
HL7 FHIR
DEA ARCOS

PharmTrack made our pharmacies safer and faster simultaneously. The AI interaction engine catches things our pharmacists physically couldn't in the time available, the barcode chain has virtually eliminated dispensing errors, and our patients get their medications in 12 minutes instead of 45. Patient safety improved while patient experience improved — that's rare.

Dr. Lisa Chen - Chief Pharmacy Officer, MedCare Pharmacy Network

Project Gallery

Lessons Learned

  • AI interaction screening catching cross-pharmacy interactions was a safety improvement that manual processes physically couldn't replicate
  • Workflow parallelization was simpler than expected — 67% of fill time was just sequential waiting
  • Predictive inventory needed location-specific models — prescription patterns varied significantly by geography and demographics
  • Compliance automation was the easiest feature to justify financially but patient safety was the most important outcome

Summary

Advenno built PharmTrack for MedCare's 28 pharmacies filling 2.1M annual prescriptions. AI drug interaction screening, barcode workflow verification, predictive inventory, and compliance automation reduced errors 84%, cut fill time to 12 minutes, and eliminated $340K in medication waste.

Key Takeaways

  • AI interaction screening in 2 seconds replaced 4-6 minute manual checks while catching cross-pharmacy interactions
  • Barcode verification chain added safety without adding time by replacing manual label reading
  • Workflow parallelization was the primary fill time improvement — 67% of previous time was sequential wait
  • Predictive inventory eliminated $340K in annual expired medication waste
  • Compliance automation freed 4 FTE for patient-facing care roles

Frequently Asked Questions

The engine checks every prescription against the patient's complete medication profile — including medications filled at other pharmacies via SureScripts — allergies, diagnoses, and lab values in under 2 seconds. Severity-graded alerts distinguish life-threatening interactions from informational warnings.
A chain of barcode scans verifies the prescription, stock bottle NDC, counted quantity, and patient identity at pickup. If any scan doesn't match expected values, the system blocks progression with an alert.
$340K in eliminated medication waste, 4 compliance staff freed for patient care, and significantly reduced liability risk from the 84% error reduction. Fill time improvement drove patient volume increases estimated at $1.2M in annual revenue growth.
9 months including workflow analysis, AI training, and phased rollout across all 28 pharmacies.

Key Terms

Drug Interaction
A situation where one medication affects the activity of another when taken together, potentially causing adverse effects, reduced efficacy, or dangerous toxicity.
SureScripts
The largest health information network in the US, connecting pharmacies, PBMs, and prescribers to share medication history, eligibility, and prescription data electronically.
Pharmacogenomics
The study of how genetic variation affects drug response, enabling personalized medication selection and dosing based on a patient's genetic profile.

Facts & Statistics

Sources & Citations

  1. ISMP: Medication Safety Report
  2. NCPA: Pharmacy Technology Survey

Facing a similar challenge in healthcare?

No two clinical environments are the same. Compliance scope, workflow complexity and integration requirements all shape what the right solution looks like. Share your context and we will share what we know.

Walk Us Through Your Situation

Related Resources

References

Related Blog Posts

Related Case Studies

Get a Project Estimate