Skip to main content

core.medicationcartline

Home > @medplum/core > MedicationCartLine

MedicationCartLine interface

One reconciled line in a MedicationCartContentsResponse.

Signature:

export interface MedicationCartLine

Properties

Property

Modifiers

Type

Description

createdAt?

readonly

string

(Optional)

createdBy?

readonly

string

(Optional) Who staged the line, per the vendor. Identifies the source of an unexpected line.

drugName?

readonly

string

(Optional) Display fields off the vendor line; absent for not-staged drafts (render those from the draft).

medicationRequestId?

readonly

string

(Optional) Local draft id; absent for vendor-only lines.

ndc?

readonly

string

(Optional)

quantity?

readonly

number

(Optional)

rxnorm?

readonly

string

(Optional)

status

readonly

MedicationCartLineStatus

validationState?

readonly

string

(Optional) Vendor readiness hint (e.g. Ready, Incomplete); not a guarantee the line will send.

vendorLineId?

readonly

string

(Optional) Vendor cart-item reference; absent for not-staged drafts.