core.medicationcartitemresult | Medplum

MedicationCartItemResult interface

Per-item outcome from a cart remove/clear. removed = the vendor cart item was deleted; not-in-cart = the draft was not staged (nothing to remove); failed = the vendor delete failed (see error).

Signature:

export interface MedicationCartItemResult

Properties

Property Modifiers Type Description
error? readonly string (Optional)
medicationRequestId? readonly string (Optional)
status readonly 'removed' \ 'not-in-cart' \
vendorLineId? readonly string (Optional) Vendor cart-item reference that was removed (ScriptSure MedCart rxId), when known.