## 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:**

```typescript
export interface MedicationCheckoutItemResult
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [duplicate?](/content/docs/sdk/core.medicationcheckoutitemresult.duplicate) | `readonly` | 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 `status: 'queued'` with this flag set so the caller can surface it. |
| [error?](/content/docs/sdk/core.medicationcheckoutitemresult.error) | `readonly` | string | _(Optional)_ |
| [medicationRequestId](/content/docs/sdk/core.medicationcheckoutitemresult.medicationrequestid) | `readonly` | string |  |
| [status](/content/docs/sdk/core.medicationcheckoutitemresult.status) | `readonly` | 'queued' \| 'failed' |  |
| [vendorLineId?](/content/docs/sdk/core.medicationcheckoutitemresult.vendorlineid) | `readonly` | 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 `rxId`) or a per-prescription id for queue-based ones. Optional because the vendor may not mint one at add time.
