Skip to main content

core.medicationorderdruginput

Home > @medplum/core > MedicationOrderDrugInput

MedicationOrderDrugInput interface

Vendor-neutral drug line for MedicationOrderRequest.

Signature:

export interface MedicationOrderDrugInput

Properties

Property

Modifiers

Type

Description

drugName?

readonly

string

(Optional) Drug name, required for a -keyed line (no catalog row to name it).

drugOrder?

readonly

number

(Optional)

gcnSeqno?

readonly

number

(Optional) Vendor formulation key, paired with to order a drug that has no dose-level product to resolve an NDC from — OTC / topical / wide-multi-strength generics for which the vendor's dose-format lookup returns nothing. Supply alongside it, since there is no catalog row to derive a name from.

line1?

readonly

string

(Optional) Dose text for a -keyed line, e.g. "solution".

Optional, and only worth sending when the caller holds dose text *separate* from — a hand-entered form, say. Passing a full product label duplicates it in the description the vendor renders. When omitted, the vendor derives the dose from the formulation key or falls back to the sig.

ndc?

readonly

string

(Optional)

quantity

readonly

number

quantityQualifier?

readonly

string

(Optional)

refill?

readonly

number

(Optional)

routedMedId?

readonly

number

(Optional)

rxNorm?

readonly

string

(Optional)

sigLine3?

readonly

string

(Optional)

useSubstitution?

readonly

boolean

(Optional)