Book a demo
Buying ·

Build or buy a voice agent for a single infusion clinic

A single infusion clinic can build a voice agent from public APIs: a phone carrier, speech recognition, a language model, text-to-speech and the scheduling system's API. We think most single clinics should not. The work does not get smaller because the clinic has six chairs, and the clinic then owns a system that patients depend on at all hours.

The checklist below lists what a build includes. Each item is also a question to ask a vendor, because a vendor must cover the same items.

1. Telephony

  • Phone numbers, a carrier or SIP account, and forwarding from the clinic's current phone system.
  • The caller's number passed through to the agent, so it can find the patient record.
  • Transfers to staff, with a summary that staff can read or hear before they take the call.
  • A final route when the agent is down or a transfer is not answered.
  • Outbound calling for day-before reminders, missed-dose calls and open chair offers, with retry limits and caller ID that patients recognize.
  • Outbound rules. The FCC ruled that calls with AI-generated voices are artificial voice calls under the TCPA (FCC 24-17), so the consent and opt-out rules for those calls apply. The build must record consent and stop calls to patients who opt out.
  • Call recording, if used, with a consent notice. Federal law allows one-party consent (18 U.S.C. 2511), but some states require consent from everyone on the call. Check the law of each state the clinic calls into.

2. Speech

  • Speech recognition that handles phone audio, background noise, accents and older callers.
  • Correct capture of names, dates of birth, phone numbers, insurance member IDs and drug names such as infliximab and vedolizumab, with read-back to confirm.
  • Text-to-speech that patients can understand on a poor line.
  • Low delay between the caller stopping and the agent starting. Long pauses make callers talk over the agent or hang up.
  • Barge-in: the agent stops talking when the caller interrupts.
  • A second language, if the clinic's patients need one.

3. Call logic

  • Instructions for the model that cover every call type the clinic accepts.
  • Escalation rules: a reaction after an infusion, emergencies, upset callers and unclear requests go to a person.
  • Day-before instructions (eat, hydrate, bring the medication list) read word for word from approved text, not generated by the model.
  • Identity checks before the agent gives out or changes appointment details.
  • Clinic facts the agent may state: hours, locations, parking, how long each infusion takes, what to bring, accepted insurance plans. Someone must keep these current.

4. Scheduling write-back

  • API access to the scheduling or practice management system. Some vendors charge for it, require a partner agreement, or offer only read access.
  • The clinic's real booking rules in code: chair length by drug, which chair and which infusion nurse each visit needs, the signed order and prior authorization a first dose needs, and dose spacing such as weeks 0, 2 and 6, then every 8 weeks.
  • Checks that stop a double-booked chair when staff and the agent book the same slot at the same time.
  • Reschedule and cancel flows that update the same record, not a new one.
  • A plan for when the scheduling system is down or its API changes after an upgrade.

5. The BAA chain

  • A business associate agreement with every vendor that receives patient information: the carrier, speech recognition, the language model provider, text-to-speech, hosting, logging and call recording storage.
  • Under HIPAA, a business associate must get the same assurances from its own subcontractors (45 CFR 164.502(e)). When the clinic builds its own agent, the clinic finds and signs each of these agreements itself, and some API providers do not sign one on every plan.
  • A security risk analysis that covers the new system (45 CFR 164.308(a)(1)), with access controls, audit logs and a data retention rule for recordings and transcripts.

6. Testing

  • A set of test calls for every call type, including hard ones: a caller who changes their mind, a caller with labs and an infusion on the same day, a caller who mentions a rash since their last dose halfway through a reschedule.
  • A test run after every change to instructions, booking rules or any provider. Model providers update and retire models on their own schedule, and the agent's behavior can change with no change on the clinic's side.
  • Review of real calls each week: chairs booked, transfers, hang-ups and wrong answers.
  • A way to correct a booking error and contact the patient.

7. On-call and upkeep

  • Monitoring that detects when calls fail, when the scheduling write-back fails, or when a provider has an outage.
  • A named person who responds at night and on weekends, because the agent runs at those times.
  • Upkeep for provider API changes, model retirements, carrier changes and price changes from each provider.
  • Records of what changed and when, so a bad call can be traced to a cause.
  • A plan for when the person who built it leaves.

8. Running costs

  • Usage bills from each provider: carrier minutes, speech recognition, model tokens, text-to-speech and hosting. Each provider bills in its own unit, and the clinic adds them up to know the cost of one call.
  • Limits and alerts, so a loop of failed outbound retries or a flood of spam calls does not produce a large bill.
  • Staff time for call review, rule changes and fixes, which does not appear on any provider bill.

Why most single clinics should buy

Most items on this list are fixed work. An infusion center with one location does items 1 through 8 in full, the same as a vendor does once for many clinics. The on-call duty is the hardest part for a small clinic: the agent answers calls at 2 a.m., so a failure at 2 a.m. needs a person who can fix it. Few single clinics have an engineer on staff, and a contractor who built the system is not on call for it.

Building can fit a practice group with its own engineering team, infusion suites at several locations, and a scheduling system that no vendor connects to. For one clinic without those, the build is a second job for someone who already has one.

What to ask a vendor instead

  • Which carrier, speech, model and hosting providers do you use, and do you have a BAA with each one?
  • Will you sign a BAA with the clinic?
  • Does the agent write bookings into our scheduling system, and which booking rules can you enforce, such as chair length by drug and dose spacing?
  • How do you read day-before instructions, and can the model change them?
  • What are your escalation rules, and can we change them?
  • How do you test changes before they reach our calls?
  • Who responds when the agent fails at night, and how do our calls reach staff while it is down?
  • How do we stop using the agent, and what happens to recordings and transcripts when we do?
All posts