Skip to main content
Version: v0.0.3

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?

readonly optional dose?: PQ


doseRange?

readonly optional doseRange?: IVL_PQ


drug?

readonly optional drug?: CD


duration?

readonly optional duration?: IVL_TS


frequency?

readonly optional frequency?: MedicationFrequency


ids

readonly ids: readonly II[]


moodCode?

readonly optional moodCode?: string


narrative?

readonly optional narrative?: string


negated?

readonly optional negated?: boolean


nullFlavor?

readonly optional nullFlavor?: string


route?

readonly optional route?: CD


statusCode?

readonly optional statusCode?: string