Handle an NCPDP SCRIPT RxChangeRequest to process a pharmacy change request

domain: ncpdp.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Receive the RxChangeRequest message routed from the pharmacy through Surescripts to your prescriber-facing application; parse the Message header for the original prescription reference and the pharmacy's NCPDP ID
  2. Inspect the RequestType element to determine the reason for the change request: common types include DrugUseEvaluation (requesting an alternative drug), Formulary (requesting a formulary alternative), PriorAuthorization (PA required), OutOfStock, and Prescriber Authorization (verifying prescriber identity)
  3. For formulary or drug substitution requests, extract the MedicationRequested element containing the pharmacy's proposed alternative drug including NDC, name, strength, and dosage form; present this information to the prescriber for clinical review
  4. Based on the prescriber's decision, construct either an RxChangeResponse (approve or deny with reason code) or a new RxRenewalResponse if the workflow merges into a renewal authorization
  5. For approvals, populate the approved drug information in the response — if approving the pharmacy's proposed alternative, include the alternative drug details; if approving the original as written, indicate denial of the change with an appropriate reason code
  6. Transmit the response back through Surescripts within the response time window specified by your Surescripts agreement (typically within a defined number of hours for non-urgent requests) and log the transaction for audit purposes

Known gotchas

Related routes

Implement an NCPDP SCRIPT 2017071 RxFill transaction flow to receive dispense status confirmations back at the prescriber's EHR from the pharmacy
ncpdp.org · 6 steps · unrated
Process an NCPDP SCRIPT RxRenewalRequest from a pharmacy to authorize a prescription renewal at the prescriber's EHR
ncpdp.org · 6 steps · unrated
Integrate NCPDP SCRIPT NewRx e-prescribing into an EHR workflow, transmitting a structured electronic prescription to a pharmacy and handling the RxFill status update response
ncpdp.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans