Skip to main content
Version: v0.0.4

Interface: TimingQuantity

A composite-quantity (CQ) value on an order/medication timing: the TQ1-2 service quantity. value is strict-Number() parsed (undefined, never NaN); units carries any CQ.2 units. Both keys OMITTED when absent.

Example

import type { TimingQuantity } from "@cosyte/hl7";
const q: TimingQuantity = { value: 1, units: { identifier: "tablet" } };

Properties

units?

readonly optional units?: CWE

CQ.2 units.


value?

readonly optional value?: number

CQ.1 quantity numeric value (strict-parsed; never NaN).