Skip to main content
Version: v0.0.3

Interface: StatusObservation

A single Functional/Mental Status finding. domain is the section it came from; assessmentScale is true when the finding is an Assessment Scale Observation (a scored scale) rather than a plain status observation; code is the finding code (usually LOINC), value the typed result. negated and nullFlavor are kept distinct, never collapsed.

Example

import type { StatusObservation } from "@cosyte/ccda";
function isScale(o: StatusObservation): boolean {
return o.assessmentScale === true;
}

Properties

assessmentScale?

readonly optional assessmentScale?: boolean


code?

readonly optional code?: CD


domain

readonly domain: StatusDomain


effectiveTime?

readonly optional effectiveTime?: IVL_TS


ids

readonly ids: readonly II[]


narrative?

readonly optional narrative?: string


negated?

readonly optional negated?: boolean


nullFlavor?

readonly optional nullFlavor?: string


statusCode?

readonly optional statusCode?: string


supporting?

readonly optional supporting?: readonly SupportingObservation[]

The scored component observations of an Assessment Scale Observation (…22.4.86), present only when assessmentScale is true and the scale carries components (e.g. the individual PHQ-9 questions under the total score). Absent for a plain status observation.


value?

readonly optional value?: ObservationValue