orders.drafttoolAssemble line items, sig, and shipping into a draft order. Nothing reaches the pharmacy — the draft sits in the queue.
Parameters
clinic_idstring- The clinic placing the order.
patient_refstring- Opaque patient reference. No raw PHI is passed over MCP.
itemsarray<{ sku, qty, sig }>- Line items. sku is the formulary code, qty an integer, sig the dosing instruction.
shipping{ method, to }- Shipping method (standard, expedited, cold_chain) and an address reference.
Returns
The draft order object with status "draft". No provider has seen it yet; it is fully editable.