Pharmacy Routing vs E-Prescribing: What Is the Difference for Compounded Medications?

eRxRouting

E-prescribing transmits a signed prescription to a pharmacy that someone has already chosen. A compounding pharmacy ordering platform, sometimes called pharmacy routing, helps the clinic choose which compounding pharmacy fills the order, then sends the order, reports its status and bills it in one account.

By . Published

Most telehealth brands that prescribe compounded medications use both layers, or a platform that covers the second layer for compounded orders. AffinityRx is a compounding pharmacy ordering platform. It is not an e-prescribing network, an EMR or a pharmacy.

E-prescribing vs pharmacy routing at a glance

Question E-prescribing (eRx) Compounding pharmacy ordering platform
Main job Carry a prescription from prescriber to a pharmacy Pick the compounding pharmacy, send the order, track it and bill it
Who chooses the pharmacy The prescriber or patient, before transmission The clinic, for each order, after comparing pharmacies
Standard behind it NCPDP SCRIPT, required for Medicare Part D e-prescribing under 42 CFR 423.160 No single industry standard; each platform has its own API
Typical messages New prescription, renewal, change, cancel, fill status, medication history Catalog with prices, order request, status webhooks, shipments, invoices
Price comparison across compounding pharmacies Not part of the SCRIPT transaction list The core feature: the same medication priced at each pharmacy
Shipping and tracking Outside scope Shipping option chosen on the order; tracking returned to the account
Billing Outside scope One account pays for orders across pharmacies

The SCRIPT transactions listed in 42 CFR 423.160 include NewRx, RxRenewalRequest, RxChangeRequest, CancelRx, RxFill, RxTransfer and RxHistoryRequest (eCFR, checked 2026-11-22). None of them compares compounding pharmacies on price or returns a cash price for a clinic to accept.

What does e-prescribing do?

An e-prescribing system lets a prescriber write, sign and transmit a prescription electronically. Under 42 CFR 423.160, prescription communications for Medicare Part D must use a SCRIPT standard, and computer-generated fax is allowed only during temporary network transmission failures (eCFR, checked 2026-11-22). The regulation's incorporated standards include SCRIPT versions 2017071 and 2023011.

E-prescribing answers "how does this prescription reach the pharmacy?" It does not answer "which compounding pharmacy should fill it, at what price, and who pays?"

What does a compounding pharmacy ordering platform do?

A compounding ordering platform answers the purchasing questions that e-prescribing leaves open:

  • Which pharmacy makes this exact preparation? A catalog lists each pharmacy's medication by strength, form and fill size.
  • What does it cost at each pharmacy? The clinic sees each pharmacy's price for the same medication before it orders.
  • What happened after the order was sent? Status changes, shipments and tracking come back to one account.
  • Who pays, and how? One account pays for orders at every pharmacy it uses.

Compounded medications are not FDA-approved. FDA states that it "does not verify the safety, effectiveness or quality of compounded drugs before they are marketed" (FDA, Compounding Q&A, checked 2026-11-22). That is one reason clinics compare pharmacies, not only prices.

Which one does a telehealth brand need?

Your situation What you need
You send retail prescriptions to the patient's chosen pharmacy E-prescribing
You send compounded prescriptions to one pharmacy and are happy with its price and stock E-prescribing or that pharmacy's own portal or API
You want to compare compounding pharmacies for the same medication and keep one account A compounding pharmacy ordering platform
You prescribe controlled substances An e-prescribing system certified for controlled substances; AffinityRx can't send them
You have your own clinical front end and want to send compounded orders by API A compounding platform with a public API, beside your clinical system

Where does AffinityRx fit?

AffinityRx covers the pharmacy-choice, order, status and billing layer for non-controlled compounded medications. Your EMR, intake and clinician workflow stay where they are.

  • Pharmacy choice. The catalog shows each pharmacy's price for the same medication side by side, and the clinic picks the pharmacy for each order. AffinityRx works with a network of 30+ vetted pharmacies. Today a new clinic can order from four: Perfect Rx, ProCompounding, Rx Route and National Health Rx. See pharmacy comparison.
  • One API request per order. POST /v1/orders creates, signs and sends an order. The request names the prescriber by NPI and name and sends signatureAttestation: true to state that the prescriber approved and signed this order in your product. There is no separate draft, sign or submit step (AffinityRx docs, "Send an order").
  • Signed webhooks. Each status change (submitted, processing, shipped, delivered, cancelled, failed) sends a signed event. See the API page.
  • AI assistants. A clinic can connect ChatGPT, Claude or another MCP assistant. Every order an assistant creates waits until an admin approves it in AffinityRx before it reaches a pharmacy.
  • Billing. Joining is free, with no subscription and no minimums. Fees are included in the medication price. See pricing.

What AffinityRx does not do:

  • It does not provide intake, an EMR, a prescriber network or patient messaging. Your platform tells the patient about each status.
  • It does not move an order to another pharmacy on its own. The clinic picks the pharmacy.
  • It does not handle controlled substances, including testosterone.

Questions that show which layer a vendor covers

  1. Who chooses the pharmacy for each order, and can we see each pharmacy's price first?
  2. Which pharmacies can we order from on day one, by name?
  3. Which status changes do we receive after we send the order, and how are they signed?
  4. Who pays the pharmacy, and how many invoices do we get?
  5. What happens to the charge if the order is canceled or the pharmacy can't fill it?
  6. Can the platform send controlled substances?

A vendor that answers "we integrate with pharmacies" without names, statuses and billing rules has not answered.

FAQs

What is the difference between pharmacy routing and e-prescribing?

E-prescribing carries a signed prescription to a pharmacy that has already been chosen, using the NCPDP SCRIPT standard. Pharmacy routing, or a compounding pharmacy ordering platform, helps the clinic choose the compounding pharmacy by comparing price for the same medication, then sends, tracks and bills the order.

Is AffinityRx an e-prescribing system?

No. AffinityRx is a compounding pharmacy ordering platform. Prescribers approve and sign orders in the AffinityRx web app, or a platform sends signed orders through the API. AffinityRx does not replace your EMR or e-prescribing system for retail or controlled prescriptions.

Does a telehealth brand need both an e-prescribing vendor and AffinityRx?

Often, yes. The e-prescribing or EMR layer keeps the clinical record and sends retail prescriptions. AffinityRx handles non-controlled compounded orders, pharmacy choice, status and billing.

Can an e-prescribing network compare compounding pharmacy prices?

Not through the SCRIPT prescription transactions. The transactions listed in 42 CFR 423.160 cover new prescriptions, renewals, changes, cancellations, fill status, transfers and medication history (eCFR, checked 2026-11-22). Price comparison across compounding pharmacies happens in an ordering platform or by hand.

Does AffinityRx move an order to another pharmacy automatically?

No. The clinic picks the pharmacy for each order. If a pharmacy can't fill an order, AffinityRx refunds it in full, and the clinic can send a new order to another pharmacy after it sees that pharmacy's price.

Can AffinityRx send controlled substances?

No. Controlled substances, including testosterone, can't be ordered on AffinityRx.

Get started

Sign up free and send a first order the same day. You add a card or bank account at checkout. A demo is optional; you can ask for one here. For engineering detail, read the compounding pharmacy API integration guide and Surescripts and DoseSpot vs a compounding API.

Sources

  • eCFR, 42 CFR 423.160, "Standards for electronic prescribing", ecfr.gov (checked 2026-11-22)
  • FDA, "Compounding and the FDA: Questions and Answers", fda.gov (checked 2026-11-22)
  • AffinityRx docs, "Send an order" and "Receive order updates", docs.affinityrx.com (checked 2026-11-22)

Every compounding pharmacy in one dashboard

Sign up free to compare prices across the pharmacies live on AffinityRx.

Get started