Skip to main content
If a prescription is missing from a patient’s chart, it has usually arrived and simply failed to match. Blend does not silently discard prescriptions. Three causes account for nearly all of it: a typo in the patient’s name or date of birth, a patient who hasn’t been created in Blend yet, or a product code that isn’t mapped to one of your products. If a prescription you sent hasn’t matched, the Blend team will typically find and address it.
If the prescription shows up in the first query, it’s a patient-matching problem. If it shows up in the second, it’s a product-mapping problem.

The three typical mismatches

The patient doesn’t exist in Blend yet. A prescription can legitimately arrive before its patient. It waits, unmatched, until the patient is created — at which point Blend links it. Create the patient with POST /patients, ideally carrying the same external_id your prescriptions reference.
The product code isn’t mapped. Blend looks for your product_code, sku, id, or name in the inbound prescription. If none of those are set on the product in Blend, nothing matches. Set them with PATCH /products/prescription/{product_id}.
The name or date of birth is wrong on the prescription. Surescripts prescriptions match on name plus date of birth, so when the inbound data carries a typo — a transposed birth year, a misspelled surname — no automatic match is possible. Typos originate upstream, at the prescriber’s office or a transferring pharmacy, which is why the prescription itself is intact but unmatched.
Send external_id on your patients and reference it in your prescriptions. Identifier matching is definitive and immune to spelling — it removes this entire class of problem. See using your own IDs.

A prescription with no order is not a missing one

Blend receives far more prescriptions than orders. A prescription sitting with no order attached is usually just waiting for the patient to order, not lost. What’s worth escalating is an order that can’t ship — see finding orders missing prescriptions.

Get prescriptions

patient_id=null, prescription_product_id=null

Create a patient

POST /patients

Update a prescription product

Map product_code and sku

How matching works

Patient, product, and order rules