On this page

core.medicationcheckoutresponse

Home > @medplum/core > MedicationCheckoutResponse

MedicationCheckoutResponse interface​

Vendor-neutral output from a cart-checkout bot: a single embeddable approval widget URL (the vendor's batch sign-off surface) plus per-line results.

Signature:

export interface MedicationCheckoutResponse 

Properties​

Property

Modifiers

Type

Description

approvalUrl

readonly

string

exclusive?

readonly

boolean

(Optional) Set only for exclusive requests: true when the approval widget shows exactly this request's lines. When false, see retainedItems and failed unstagedItems for what else the prescriber will see. Absent when the deployed bot predates the option (it ignores the input), so treat absent as false.

items

readonly

MedicationCheckoutItemResult[]

retainedItems?

readonly

MedicationCheckoutRetainedItem[]

(Optional) Exclusive requests only.

unstagedItems?

readonly

MedicationCheckoutUnstagedItem[]

(Optional) Exclusive requests only.

vendorPatientId

readonly

number

Vendor-side patient id (numeric in ScriptSure today).