core.medicationcheckoutitemresult.vendorlineid
Home > @medplum/core > MedicationCheckoutItemResult > vendorLineId
MedicationCheckoutItemResult.vendorLineId property
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 rxId) or a per-prescription id for queue-based ones. Optional because the vendor may not mint one at add time. On a failed item it names the draft's out-of-date line, still in the vendor's cart, so the approval widget shows the draft's previous version.
Signature:
readonly vendorLineId?: string;