On this page

E-Prescribe Decision Guide

Use this guide to choose an e-prescribing integration and plan the workflow around it. Work through hosted versus custom prescribing workflows, prescriber enrollment, controlled substances, and practice structure to define what your application builds, what the vendor handles, and what must be ready before go-live.

Companion to the E-Prescribe (eRx) docs.

E-prescribing in Medplum is part of the Medplum EHR, not a standalone product. It runs through an integration with a vendor connected to the e-prescribing network. See Related Integrations for the available first-party options.

Choose the prescribing experience, then plan what supports it:

  1. Choose hosted or custom prescribing. Decide which workflow your application builds and which interface the integration provides.
  2. Plan enrollment and staff roles. Define onboarding, identity requirements, supervision, and evidence that each user is ready to prescribe or assist.
  3. Plan EPCS enrollment if prescribers will send controlled-substance prescriptions.
  4. Define prescribing and follow-up. Identify required benefits and authorization checks, refills, presets, pediatric workflows, and medication history.
  5. Define practice structure and transition. Choose practice context; address multiple locations, independent clients, or migration from an existing system where applicable.

Use the questions below to establish your use case, then follow the relevant sections. Add requirements beyond these examples where needed.

Plan with this guide

Copy this prompt into your AI agent. It will use this guide and your existing project context, ask about missing requirements, and save decisions for later development. See setup and examples.

Help me plan this part of my Medplum application using this guide:
E-Prescribe Decision Guide
https://www.medplum.com/docs/decision-guides/e-prescribe
Local source, if cloned: medplum-link/packages/docs/content/docs/decision-guides/e-prescribe.md

Follow medplum-link/packages/docs/static/ai/planning.md
(or https://www.medplum.com/ai/planning.md), including its Medplum rules.
Ask before creating or changing my app's project instruction files.

Read my existing requirements and decisions, then ask me about consequential missing requirements; do not invent answers. Save and summarize the decisions in my app's repo before implementation.

Before you start​

What are you prescribing?​

  • Non-controlled medications only
  • Controlled substances too (Schedule II–V)
  • Not sure / depends on specialty

Why: controlled substances require EPCS, which adds a per-prescriber enrollment path (DEA, identity proofing, two-factor auth). If you never prescribe them, skip the controlled-substance decision (EPCS) and enrollment shrinks substantially.

Do you want the hosted flow, or a custom workflow?​

  • Hosted iframe — embed the vendor's prescribing screens. Drug search, dosing, pharmacy, and send all happen inside the vendor's flow.
  • Custom workflow — prescribe from the chart using Medplum's FHIR operations and bots. Only the final, regulation-required review-and-send step stays a hosted widget.
  • Not sure

Why: the iframe is fastest to live, and the steps stay the vendor's. A custom workflow keeps prescribing in the chart. Presets — clinic favorites and order sets — standardize repeat orders on either path. Either way, transmission stays on the vendor's review-and-send step. See Prescribing workflow.

New build or replacing an existing e-Rx system?​

  • New — no e-prescribing today
  • Replacing another EHR or e-Rx vendor
  • Adding alongside an existing clinical system

Why: replacing an existing system requires coordinating a Change of Vendor with the prescribing network so refills and history follow prescribers over, a distinct migration workstream (Transition).

Who is involved in prescribing?​

  • Prescribers (sign and send)
  • Clinicians prescribing under supervision
  • Non-prescribing proxies or staff who stage orders
  • Administrators (enroll prescribers, manage practices, configure favorites)
  • Any offshore or non-US staff using e-prescribing?

Why: enrollment and permissions depend on the vendor and role (Identity and roles). Supervised prescribing and non-prescribing order preparation are different responsibilities. Confirm which roles can stage, sign, send, or administer, and the vendor's requirements for non-US staff before designing the workflow.

Hosted or custom prescribing?​

Whether prescribing follows the vendor's hosted flow or a custom workflow in the chart. This choice shapes almost every section below.

Questions:

  • Do prescribers write prescriptions from inside the chart, or is the vendor's hosted flow enough?
  • Do you want presets — clinic favorites and order sets — for medications the practice sends often?
  • Is the vendor's standard sequence of steps acceptable?
SituationApproach
Hosted flow is enoughHosted iframe — the vendor's screens, embedded. Fastest to live; the steps are the vendor's.
Prescribe from the chartCustom workflow — stage the order with FHIR operations and bots; the prescriber stays in the chart until the final send.
Repeat medicationsPresets — clinic favorites and order sets (Presets and pediatrics). These are configuration, not a separate prescribing interface.
Either pathThe final review-and-send step is always vendor-hosted and compliance-controlled. A custom workflow does not replace transmission.

⚠ Choose deliberately. This is expensive to reverse — it determines whether prescribers stay in the chart, and how enrollment and presets surface. Align on Hosted or custom workflow before you commit to a workflow.

Enrollment and staff roles​

Who drives enrollment, and how is readiness tracked?​

Every prescriber must be enrolled before transmitting. Choose who drives enrollment and how much your platform automates. Map the selected integration's states to actionable progress; an invitation, account registration, and readiness to prescribe are different milestones.

Questions:

  • Who initiates enrollment — an ops admin, or the prescriber on first login?
  • Do prescribers send controlled substances (which adds identity proofing and 2FA — see EPCS)?
  • How will you see which prescribers are stuck mid-enrollment?
SituationApproach
Admin-driven enrollmentUse the integration's supported administrative workflow. Define caller permissions, required credentials, and which steps still need prescriber participation
Provider self-serviceChoose a supported invite or embedded enrollment flow. Track completion and link the vendor user account to the Medplum user; launching the flow alone is not completed enrollment
Bulk onboarding or profile updatesConfirm support for administrative sync, activation, and network registration. Decide who approves changes and handles failed or incomplete records
Non-controlled onlyComplete the requirements for non-controlled prescribing; track additional EPCS enrollment separately if controlled substances are later added
Track enrollment stateShow progress, errors, the next required action, and its owner. Keep basic registration and EPCS readiness distinct

What identity data, roles, and supervision relationships are required?​

Accurate provider identity data prevents the most common enrollment failures.

Questions:

  • Do Practitioner records satisfy the selected vendor's required profile and role?
  • Do controlled-substance prescribers have a valid DEA number with issuing state?
  • Which roles do users need: independent prescriber, supervised prescribing clinician, non-prescribing proxy, or admin?
  • Who validates and maintains supervising-prescriber relationships for each clinic?
  • Do non-prescriber staff (front desk, MAs) need to perform prescribing-adjacent tasks — searching pharmacies, setting a preferred pharmacy, viewing history — without an NPI?
  • Are any of those staff offshore or otherwise outside the US?
SituationApproach
Prescriber profilePopulate the selected integration's required Practitioner fields and identifiers. Validate demographic, contact, NPI, and license data before enrollment; required fields vary by vendor
Controlled-substance prescriberComplete the selected vendor's EPCS requirements, including its required DEA data and issuing-state representation
Staff who stage but do not prescribeUse a non-prescribing role and confirm its permitted actions. Order preparation must not imply authority to sign or send
Clinician requiring supervisionConfirm supported prescribing and supervising roles, then configure the relationship for the intended clinic. Assign ownership for eligibility checks, updates, and removal
Users who enroll othersProvision the required administrative role and credentials to manage prescribers and favorites (Presets and pediatrics); confirm the scope of that access
Non-prescriber staff running pharmacy/history opsConfirm which operations staff need and whether each requires a vendor account, identifier, or additional permission. Provision the supported non-prescribing role
Offshore / non-US staffConfirm permitted activities, enrollment requirements, and administrative access with the selected vendor before designing the staffing model

Validate both clinicians' eligibility before assigning a supervisor, and confirm what the integration checks itself. Successfully linking enrolled accounts does not by itself establish that the relationship is appropriate for the intended clinic.

How will EPCS enrollment work?​

Read only if Medication scope includes controlled substances. Otherwise skip to Benefits and authorization.

Supported, but a regulated, multi-step enrollment on top of basic registration. Treat it as its own workstream.

Questions:

  • Which prescribers will send controlled substances, and does each have a valid, active DEA registration (with state)?
  • Are prescribers ready to complete identity proofing and set up two-factor auth?
  • Have any prescribers previously enrolled in EPCS with this vendor under another organization?
SituationApproach
EPCS enrollmentFollow the selected vendor's registration, required agreements, identity proofing, and two-factor activation workflow. Track completion before allowing controlled-substance prescribing
Readiness checkConfirm EPCS activation for each prescriber in the selected integration. Stage names and identity-proofing providers vary; basic enrollment is not proof of EPCS readiness
Missing DEA dataResolve the selected vendor's required DEA data and state information before EPCS enrollment (Identity and roles)
Prior enrollment elsewhereCan cause verification conflicts (e.g. reused phone number). Identify these prescribers up front so vendor support can resolve them before onboarding.

⚠ EPCS is a one-way gate on go-live. Identity proofing and 2FA are per-prescriber, take real calendar time, and are the most common onboarding delay. Start early and build admin visibility into each prescriber's stage (Enrollment). Controlled-substance prescriptions also require effective dates and often a diagnosis — confirm your workflow captures these.

Prescribing and follow-up​

Will prescribers need benefit checks and prior authorization?​

Whether prescribers see coverage and cost at the point of prescribing, and how prior auth is handled.

Questions:

  • Do prescribers need formulary status, patient cost, and covered alternatives while prescribing?
  • Do you need to initiate electronic prior authorization (ePA) — through the eRx vendor, the standards-based payer path, or both?
  • Is your timeline driven by upcoming e-prescribing mandates?
SituationApproach
Show coverage & costThe vendor pulls active benefit info from pharmacy-benefit data via patient demographics and surfaces formulary status, cost, and alternatives. Coverage comes from the benefit network, not insurance data stored only in Medplum, and prescription cost is not retrievable via the Medplum API — keep demographics accurate so the match succeeds.
ePA via the eRx vendorThe e-prescribing vendor can initiate ePA from the medication when formulary data flags it's required. This may require separate enablement with the vendor rather than being part of the base integration — confirm it's in scope.
Standards-based ePA (payer path)The emerging FHIR path for payer-connected prior auth — CDS Hooks with CRD / DTR / PAS (ONC criteria (g)(31)–(g)(33)). Currently alpha.
Compliance-driven timelineHTI-4 (effective Oct 1, 2025) mandates NCPDP SCRIPT v2023011 with ePA in the prescribing workflow and RTPB v13 for real-time cost display. Payer ePA APIs are due Jan 1, 2027; eRx modules must be certified to SCRIPT v2023011 by Jan 1, 2028. Factor these into Prescribing workflow. See HTI-4 & CMS-0057-F.

How will refills, reorders, and discontinuation be handled?​

How prescribers handle prescriptions after the first send.

Questions:

  • Do prescribers respond to pharmacy-initiated refill requests?
  • Do they re-prescribe previously prescribed medications?
  • Do you need to discontinue or expire prescriptions — automatically on change?
SituationApproach
RefillsPharmacy-initiated requests for more of an existing prescription; prescribers approve or deny.
ReordersPrescriber-initiated new prescription for a previously prescribed medication.
Discontinuation / expiryManual today — no automatic discontinue-on-change or auto-expire. High-polypharmacy populations should plan an explicit medication-reconciliation workflow.

Are favorites, order sets, or pediatric workflows needed?​

Questions:

  • Does the practice repeatedly prescribe a common set of medications worth curating?
  • Do you prescribe to pediatric patients?
SituationApproach
Common medication setConfigure supported clinic favorites / order sets, including specialty/compounded configurations where available. Confirm which administrative role may create and edit them (Identity and roles).
Highly variable prescribingSkip favorites — the maintenance overhead isn't worth it.
Pediatric patientsThe prescriber is responsible for dosages within guidelines for the patient's height and weight; vendors often add pediatric validation — confirm requirements before go-live.

Whether prescribers can see a patient's external medication history, and the consent required to retrieve it.

Questions:

  • Do prescribers need a patient's medication history from outside your system (pharmacy fill history, active prescriptions elsewhere)?
  • Can you capture and record the patient consent required to query external history?
  • Are you importing prescription history from a prior system?
SituationApproach
Need external historyConfirm the integration's access to network medication history, including pharmacy fill history and/or active prescriptions. This is a distinct capability from writing prescriptions, so scope it explicitly.
Consent gateExternal history retrieval requires patient consent; capture and record it (e.g. a Consent resource) before querying, and confirm the consent language your workflow presents.
Importing prior historyHistory migrated from a prior system generally loses prescriber/pharmacy linkage and may not appear in the vendor's native "past prescriptions" view — set expectations accordingly.

Practices and transition​

How will prescriptions resolve to the correct practice?​

Read when prescribers work across more than one location or legal entity.

Questions:

  • Do prescribers prescribe on behalf of more than one practice?
  • How should the system know which practice a prescription belongs to?
  • Do you need a default pharmacy per patient or per clinic?
SituationApproach
Multiple practices/locationsModel practices as Organization resources and prescriber affiliations with PractitionerRole. Map that structure to the vendor's practice hierarchy and enrollment requirements
Resolving the practice per prescriptionSelect the intended practice explicitly when a prescriber has multiple affiliations. Confirm how the integration accepts that context and handles missing or ambiguous selections
Default pharmacyDecide whether pharmacy preferences belong to the patient or clinic, confirm supported behavior, and allow the correct pharmacy to be selected for each prescription

How will independent clients be isolated and administered?​

Read when one Medplum project serves multiple downstream clients that prescribe independently (a platform or enablement model) — distinct from one organization's own locations (Practice selection). This is an architecture fork worth settling before the second client onboards.

Questions:

  • Does a single Medplum project serve multiple downstream clients or brands that prescribe independently?
  • Must each client's prescribers and patients be isolated from the others?
  • Does the originating clinic's identity or branding need to reach the pharmacy?
  • Do downstream clients' admins need scoped self-service access to manage their own prescribers?
SituationApproach
One organization, many sitesNot multi-tenant — use Multi-Location (Practice selection).
Platform serving independent clientsModel each downstream client as its own practice/tenant so prescribers, patients, and rosters are scoped per client rather than pooled.
Roster / patient isolation requiredScope prescriber pickers and patient lists to the client's tenant — a single shared tenant can expose one client's prescribers or patients to another. Decide isolation before onboarding the second client.
Origin branding at the pharmacyIf the medication must reach the pharmacy carrying the originating clinic's identity/branding, model a distinct tenant per client rather than one shared tenant.
Scoped admin accessConfirm whether the selected hosted or custom workflow can restrict client admins to their own prescribers and patients. Define and verify those permissions in Medplum and the vendor system before granting access; include this in Prescribing workflow
Shared vs. per-client tenantA single shared tenant is simplest but limits isolation and branding; a tenant-per-client isolates cleanly but adds enrollment and ops overhead (prescribers may need enrolling in each). Choose based on how much the clients must be kept apart.

How will prescribers transition from an existing e-Rx system?​

Read only when replacing an existing EHR or e-Rx vendor (Existing systems).

Questions:

  • Are prescribers currently sending through another system on the prescribing network?
  • Do pending refills and history need to follow prescribers over?
  • Can migration be phased prescriber-by-prescriber, or must it be all at once?
SituationApproach
Already prescribing through another systemCoordinate the network's Change of Vendor process so the new system is recognized; without it, new prescriptions may work while refills and edits fail.
Preserving pending refillsThe approach depends on whether pending refills must be preserved vs. whether the old system must keep operating during cutover — these pull opposite ways. Scope with the vendor before scheduling.
Phased rolloutMigration can generally be coordinated per prescriber, enabling a phased cutover.

See the integration docs for setup and implementation details:

  • ScriptSure: custom prescribing workflows using FHIR operations and Bots, with hosted review and send.
  • DoseSpot: embedded prescribing through a hosted iframe.