core.medicationcheckoutitemresult.duplicate | Medplum

MedicationCheckoutItemResult.duplicate property

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 status: 'queued' with this flag set so the caller can surface it.

Signature:

readonly duplicate?: boolean;