Skip to main content

core.medicationsearchparams

Home > @medplum/core > MedicationSearchParams

MedicationSearchParams interface

Parameters for a drug search bot used by MedicationOrderRequest flows.

Signature:

export interface MedicationSearchParams

Properties

Property

Modifiers

Type

Description

gcnSeqnos?

readonly

number[]

(Optional) Vendor formulation keys under , from the name-search hit. Only used when the drug has no dose-level products: each key is resolved to its marketed strength so the caller still gets selectable formulations instead of an empty result. Ignored otherwise.

includeCode?

readonly

boolean

(Optional)

ndc?

readonly

string

(Optional)

quantityQualifiers?

readonly

boolean

(Optional) When true, drug-search bot returns quantity qualifiers from GET /v3/prescription/quantityqualifier instead of Medication[].

routedMedId?

readonly

number

(Optional)

rxNorm?

readonly

string

(Optional)

searchBrand?

readonly

boolean

(Optional)

searchGeneric?

readonly

boolean

(Optional)

searchOtc?

readonly

boolean

(Optional)

searchSupply?

readonly

boolean

(Optional)

term?

readonly

string

(Optional)