core.medicationorderresponse | Medplum

MedicationOrderResponse interface [​](/content/docs/sdk/core.medicationorderresponse#medicationorderresponse-interface "Direct link to MedicationOrderResponse interface"/index.html)

Vendor-neutral output from an order-medication bot.

Signature:

export interface MedicationOrderResponse

Properties [​](/content/docs/sdk/core.medicationorderresponse#properties "Direct link to Properties"/index.html)

Property Modifiers Type Description
launchUrl readonly string
medicationRequestId? readonly string (Optional)
orderId readonly number
pendingOrderStatus? readonly 'queued' | 'reused' (Optional)
vendorPatientId readonly number Vendor-side patient id (numeric in ScriptSure today; other vendors may use a different shape). Kept as number for backwards compatibility with the ScriptSure bot output.