core.medicationcheckoutitemresult.replaced
Home > @medplum/core > MedicationCheckoutItemResult > replaced
MedicationCheckoutItemResult.replaced property
True when the draft changed after an earlier checkout staged it, so its old line was taken out of the vendor's cart and the draft was staged again. Only set on status: 'queued' items. vendorLineId is then the new line; with duplicate also set, the drug is already on another line, no line was added for this draft and vendorLineId is absent.
Signature:
readonly replaced?: boolean;