Interface: SupportingObservation
One scored component of an Assessment Scale Observation, an Assessment Scale
Supporting Observation (…22.4.86), such as a single PHQ-9 question or a
Glasgow Coma sub-score. code is the item code (LOINC/SNOMED), value its
scored answer (usually an integer). Modeled so the scale's detail is never
silently dropped on parse.
Example
import type { SupportingObservation } from "@cosyte/ccda";
function itemScore(o: SupportingObservation): number | undefined {
return o.value?.kind === "integer" ? o.value.value : undefined;
}
Properties
code?
readonlyoptionalcode?:CD
ids
readonlyids: readonlyII[]
narrative?
readonlyoptionalnarrative?:string
value?
readonlyoptionalvalue?:ObservationValue