On this page

core.medicationorderrequest

Home > @medplum/core > MedicationOrderRequest

MedicationOrderRequest interface​

Vendor-neutral input for an order-medication bot (matches the ScriptSure bot shape).

Signature:

export interface MedicationOrderRequest 

Properties​

Property

Modifiers

Type

Description

appId?

readonly

string

(Optional)

combinationMed?

readonly

boolean

(Optional)

compoundQuantity?

readonly

number

(Optional)

compoundQuantityQualifier?

readonly

string

(Optional)

compoundSigs?

readonly

{ readonly sigOrder: number; readonly line3: string; readonly drugId?: number; }[]

(Optional)

compoundTitle?

readonly

string

(Optional)

conditionIds?

readonly

string[]

(Optional)

coverageId?

readonly

string

(Optional)

diagnoses?

readonly

{ readonly icdId: string; readonly name: string; }[]

(Optional)

drugs?

readonly

MedicationOrderDrugInput[]

(Optional)

durationDays?

readonly

number

(Optional) Days supply for ScriptSure pending order duration (used when no draft MR, e.g. compound).

fillDate?

readonly

string

(Optional)

medicationRequestId?

readonly

string

(Optional)

organization?

readonly

Reference<Organization>

(Optional) Selected practice location for multi-practice deployments.

patientId

readonly

string

patientInstruction?

readonly

string

(Optional) Free-text patient instructions (additional sig); maps to dosageInstruction[0].patientInstruction when using MR path.

payerOrganizationId?

readonly

string

(Optional)

pharmacyName?

readonly

string

(Optional)

pharmacyNcpdpId?

readonly

string

(Optional)

pharmacyNote?

readonly

string

(Optional) Notes to pharmacist (ScriptSure pending-order pharmacyNote); also stored on draft MR as note.

pharmacyOrganizationId?

readonly

string

(Optional)

writtenDate?

readonly

string

(Optional)