Dograh

AI Voice Agents for Prescription Refill Reminders in Pharmacy

AI Voice Agents for Prescription Refill Reminders in Pharmacy
Use CaseSeptember 14, 2026·12 min read

AI Voice Agents for Prescription Refill Reminders in Pharmacy

Pritesh Kumar
Pritesh Kumar·Founder, Dograh AI

An AI voice agent for pharmacy refill reminders handles the inbound refill request and the outbound ready-for-pickup call without a technician picking up. HIPAA already permits these calls under the refill reminder exception. The harder question is which vendor holds the patient data while the call happens.

Key Takeaways

  • HIPAA permits refill reminder calls. The limit is on payment, not technology.
  • A BAA binds the vendor. It does not move the data or your liability.
  • Mid-call pharmacy lookups only fit the turn budget when the database is close.

Most pharmacies did not choose to become a call centre. The phone just kept ringing, and refills became the thing it rang about. We build Dograh, an open-source voice platform that pharmacies can run on their own servers, so this question reaches us often. Pharmacists tend to arrive already sure they want the calls automated. What they want settled is where the patient data ends up once a vendor sits in the call path.

Fewer pharmacies, the same number of refills

The call volume did not grow so much as it concentrated. More than 2,000 retail pharmacies closed in 2025 alone, leaving almost 8,000 fewer than in 2018. The prescriptions did not disappear with them. They moved to whichever counter was still open.

That shift lands hardest where there is no second option. MedPAC's April 2026 analysis found that 33% of rural Medicare Part D beneficiaries live in a ZIP code with no pharmacy at all, and IQVIA put the displacement rate at 54% for rural patients after a closure against 17% in metro areas. A pharmacy absorbing that load has the same staff it had last year.

Every refill call a technician answers is time taken from verification and counselling, which are the parts only a person can do. An IVR phone tree moves that queue without shortening it, because a caller who cannot find their option just presses zero. The same arithmetic drives voice automation in clinics dealing with missed appointments, and the refill line is a cleaner fit because the conversation is narrower.

What HIPAA actually says about refill reminders

Refill reminders are permitted, and the permission is older than any voice AI product. It sits in an exclusion from the definition of marketing at 45 CFR 164.501, which is what would otherwise require patient authorisation.

The regulation excludes communications made "to provide refill reminders or otherwise communicate about a drug or biologic that is currently being prescribed for the individual, only if any financial remuneration received by the covered entity in exchange for making the communication is reasonably related to the covered entity's cost of making the communication."

Read the condition carefully, because it is about money rather than method. The exception survives as long as any payment from a third party stays close to what the communication actually costs to send. OCR guidance on refill reminders extends the same treatment to generic equivalents, adherence prompts and prescriptions that lapsed within the last 90 days.

Nothing in that text cares whether a human or a voice agent places the call. A pharmacy calling its own patient about a drug that patient is already taking is not marketing to them. It stops being covered when a drug manufacturer pays the pharmacy more than cost to push a particular product. That is the line, and automation does not move it.

Your vendor signs a BAA and still holds the data

Any vendor whose software touches the audio of that call is handling protected health information. That makes it a business associate, and the arrangement needs a business associate agreement before a single call is placed. A BAA is a real instrument. It binds the vendor to safeguard PHI, report breaches, and return or destroy the data when the contract ends.

It also does something people misread. A BAA obliges the vendor and gives you a contract to enforce. It does not move your liability, since you stay answerable for a vendor you knew was failing, and it does not reduce the number of places your patients' records now live.

The numbers on that have moved fast. Business associates were involved in 43% of large healthcare breaches in the first half of 2026, against a 20% average across 2009 to 2017. Counted by people rather than incidents the shift is sharper still. In 2015, 5% of individuals affected by healthcare breaches were caught in a business associate incident. By 2025 that figure was 65%.

Regulators have noticed the same pattern. OCR has been running a dedicated risk analysis initiative and had closed twelve enforcement actions under it by early 2026, with vendor oversight a recurring theme in what it finds. The 2026 penalty tiers start at $141 per violation for a genuine lack of knowledge and run to $36,298, and a second tier for reasonable cause reaches $72,596. Those are per-violation figures, and a breach involving a vendor record set rarely produces a single violation.

This is where pharmacy differs from other regulated intake work. In legal intake, attorney-client privilege has no contractual equivalent to a BAA, and a waiver cannot be undone, so the obligation cannot be delegated at all. HIPAA is the opposite case. The BAA exists precisely so the obligation can be delegated, which means a hosted vendor with a signed agreement is lawful. Compliance is achievable either way. What differs is how many parties are holding the data when something goes wrong.

Dograh

Open Source Alternative to Vapi / Retell

Self-hosted voice agent platform — no per-minute fees

dograh-hq/dograh

Star on GitHub

What a refill call has to handle

A refill request sounds simple until you write down what has to be true before the pharmacy can act on it. The caller has to be matched to a patient record before anything else happens. Date of birth and a name get you close, and the failure cases are the interesting ones. Households share surnames, and caregivers call on behalf of parents, so the agent needs a path for a caller who is legitimately not the patient. It also needs to stop rather than guess when the match is weak.

Two checks then decide most of these calls. The prescription either has refills left or it does not, which sends the call toward the prescriber instead of the shelf. After that, the plan's day-supply threshold decides whether a refill this early will be rejected. Telling a patient on the call that a refill is too soon, and when to call back, prevents a wasted trip to a counter that may now be several towns away.

Controlled substances need their own handling. Schedule II prescriptions cannot be refilled at all, and an agent that offers to process one is wrong in a way worth designing against explicitly. The reliable fix is a fixed response and a handoff rather than a generated one, which is the same reasoning that pushes any high-stakes utterance out of the model's discretion and into a fixed node. Each of those checks is a lookup against the pharmacy system, whether that is PioneerRx, QS/1, PDX or Winpharm.

The lookup that happens mid-call

The lookup has a deadline, and the deadline is conversational rather than technical. A caller asks whether their blood pressure medication is ready. The agent now has to reach the pharmacy system and come back inside the window where a reply still sounds like a reply.

Our working bar for natural conversation is end-to-end under 800 milliseconds, and the speech pipeline itself already consumes most of that. What is left for a mid-call lookup is closer to two hundred milliseconds. A database in the same availability zone fits inside that. A third-party API call across the public internet does not, and no amount of prompt engineering shortens it.

Short lookups can be held silently, because a brief pause reads as thinking. Longer ones need the agent to say something first, otherwise the caller is left in dead air. Past a certain stretch of silence the caller assumes the call dropped and hangs up, which is worse than a slow answer. The practical consequence is that the store of patient data and the thing answering the phone want to be close together.

Join the Dograh Community

Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.

Where hosted platforms stop

A hosted voice platform gets a pharmacy live quickly, and for a single-location store that speed is worth something real. The agent works, the BAA is signed, and the calls get answered.

The line it cannot cross is architectural. A hosted platform runs in its own cloud, which means your PHI lands there, your call recordings land there, and your pharmacy system lookup crosses a network boundary every time. Colocating the agent with your dispensing system is not a feature the vendor can enable, because their infrastructure is the product.

Pricing follows the same shape. The hosted vendors publish a platform fee of roughly five to seven cents a minute, and speech, language and telephony are billed separately on top. Their own published all-in ranges stretch from about seven cents to over thirty cents a minute depending on which models you pick. That is a per-minute tax on a call type that is almost entirely repetitive. Dograh is BSD-licensed and self-hostable, so the platform fee goes away and the deployment target is yours.

Running the stack on your own infrastructure

Self-hosting means every layer runs where you decide, and it is worth being precise about which layers those are. The workflow engine, the call recordings and the transcripts sit on pharmacy-controlled infrastructure. Telephony is the layer to watch. It only stays yours if you run Asterisk ARI against your own PBX, since the hosted carriers most deployments start with are third parties holding call audio like any other vendor.

The speech and language models are the part that needs care. Bringing your own key to a commercial provider moves the contract, not the data, because those models still run in the provider's cloud. Genuine colocation is only available for models you can actually host, which means open-source speech and language models running on your own hardware. Dograh supports both paths, and the choice changes what your network diagram looks like more than what the caller hears.

For a pharmacy chain already running its own systems, this is the same argument that applies to on-prem voice AI anywhere in a regulated setting. The patient data never leaves, the lookup is local, and the vendor is no longer a party holding your records. The refill line is a good first candidate precisely because it is boring. The conversation is narrow, the checks are deterministic, and the failure modes are known before you start.

Glossary

Financial remuneration
Payment to a pharmacy from a third party whose product is being described in a call. It is the only thing the HIPAA refill reminder exception turns on, and payment for treating the patient does not count toward it.
Asterisk ARI
The programming interface to Asterisk, an open-source phone system, which lets a voice agent control calls on a PBX the pharmacy runs itself. It is what makes the telephony layer self-hosted rather than rented from a carrier.
Turn budget
The total time available between a caller finishing a sentence and the agent replying, inside which every lookup and model call has to complete.
Colocation
Running speech and language models on the same server or availability zone as the application to remove network hops, which is only possible for models you can self-host.

Frequently Asked Questions

Get started with Dograh

Build, deploy, and scale AI agents with Dograh. Join the community of developers building the future.