core.medicationcheckoutitemresult
Home > @medplum/core > MedicationCheckoutItemResult
MedicationCheckoutItemResult interface
Per-line outcome from a cart checkout. A single bad line is reported here as failed rather than rolling back the lines that already queued.
Signature:
export interface MedicationCheckoutItemResult
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| boolean | (Optional) True when the line was **not** added because the same drug was already in the vendor's cart (the vendor-recommended duplicate check matched). Reported as | |
| string | (Optional) | |
| string | ||
| 'queued' | 'failed' | ||
| string | (Optional) Vendor per-line reference returned at checkout, for diagnostics/audit. The concrete meaning is vendor-specific: a cart-item id for cart-based vendors (ScriptSure MedCart |