Interface: VitalSign
A single Vital Sign Observation. code is the LOINC vital; value is the
typed reading (normally a UCUM-checked quantity); interpretation is the
H/L/N flag; effectiveTime is when the reading was taken.
Example
import type { VitalSign } from "@cosyte/ccda";
function systolic(v: VitalSign): number | undefined {
return v.code?.code === "8480-6" && v.value?.kind === "physicalQuantity"
? v.value.quantity.value
: undefined;
}
Properties
code?
readonlyoptionalcode?:CD
effectiveTime?
readonlyoptionaleffectiveTime?:IVL_TS
ids
readonlyids: readonlyII[]
interpretation?
readonlyoptionalinterpretation?:CD
narrative?
readonlyoptionalnarrative?:string
value?
readonlyoptionalvalue?:ObservationValue