On this page

core.medicationcheckoutrequest

Home > @medplum/core > MedicationCheckoutRequest

MedicationCheckoutRequest interface​

Vendor-neutral input for a cart-checkout bot: submit a set of draft MedicationRequests (the cart) to the vendor's electronic approval queue.

Signature:

export interface MedicationCheckoutRequest 

Properties​

Property

Modifiers

Type

Description

appId?

readonly

string

(Optional)

exclusive?

readonly

boolean

(Optional) Show only this request's lines in the approval widget. Other lines staged from drafts are taken out of the vendor cart first and their drafts are kept for a later checkout. Omit for the default whole-cart behavior; false is the same as omitting it.

medicationRequestIds

readonly

string[]

organization?

readonly

Reference<Organization>

(Optional) Selected practice location; omit for single-practice prescribers.

patientId

readonly

string