Interface: Medication
A Medication Activity. drug is the RxNorm coded product; dose/doseRange
is the amount per administration; route is the administration route;
duration is the therapy window (IVL_TS) and frequency the periodic
timing (PIVL_TS). moodCode distinguishes an actual administration (EVN)
from a planned/ordered one (INT/RQO), never conflated.
Example
import type { Medication } from "@cosyte/ccda";
function rxnorm(m: Medication): string | undefined {
return m.drug?.code;
}
Properties
dose?
readonlyoptionaldose?:PQ
doseRange?
readonlyoptionaldoseRange?:IVL_PQ
drug?
readonlyoptionaldrug?:CD
duration?
readonlyoptionalduration?:IVL_TS
frequency?
readonlyoptionalfrequency?:MedicationFrequency
ids
readonlyids: readonlyII[]
moodCode?
readonlyoptionalmoodCode?:string
narrative?
readonlyoptionalnarrative?:string
negated?
readonlyoptionalnegated?:boolean
nullFlavor?
readonlyoptionalnullFlavor?:string
route?
readonlyoptionalroute?:CD
statusCode?
readonlyoptionalstatusCode?:string