Prescription to patient
- Sent via API — Blend looks for the patient’s
id(Blend UUID) orexternal_id(your identifier, stored on the Blend patient profile). This is definitive. - Sent via Surescripts — Blend matches on patient name (or preferred name) and date of birth, or on patient contact information and date of birth.
Only definitive matches are assigned automatically. Blend deliberately does not auto-assign a “possible” match — an ambiguous prescription waits for a human rather than attaching to the wrong chart.
Prescription to prescriber
Prescribers are matched on NPI or DEA number.Prescription to product
Blend works from highest confidence to lowest:product_code— your prescription-product codesku— your inventory identifier- Product name
- NDC, including NDCs related through RxNorm
- Drug name, with common abbreviations normalized before comparison
- Parsing the SCRIPT
<DrugDescription>field - Parsing the
<Note>field
<ProductCode>, <DrugDescription>, and <Note> looking for your products’ sku, product_code, id, or name.
Prescription to order
Because an order always carries a patient, Blend uses the patient match to tie orders and prescriptions together. Among the prescriptions eligible for an order line, a candidate must be:- not cancelled,
- have fills remaining, and
- not expired.
written_at and then by creation time.
Helping the match along
When you already know which prescriptions belong to an order, name them explicitly at creation time:electronic_prescription_ids is an optional convenience field that removes any ambiguity about which prescription an order should draw from.
Matching reference
The canonical field-level rules
Create an order
Accepts
electronic_prescription_idsGet prescriptions
Filter by patient, product, prescriber
Get orders
has_unmatched_prescriptions=true