Skip to main content
Version: v0.0.3

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?

readonly optional code?: CD


ids

readonly ids: readonly II[]


narrative?

readonly optional narrative?: string


value?

readonly optional value?: ObservationValue