Skip to main content
Version: v0.0.3

Interface: FamilyHistoryObservation

A single condition in a relative's history. condition is the coded problem (SNOMED CT / ICD-10-CM); ageAtOnset is the relative's age (a PQ in years) from the nested Age Observation; causeOfDeath is true when a Family History Death Observation marks this condition as the cause of death. negated and nullFlavor are kept distinct, never collapsed.

Example

import type { FamilyHistoryObservation } from "@cosyte/ccda";
function fatal(o: FamilyHistoryObservation): boolean {
return o.causeOfDeath === true;
}

Properties

ageAtOnset?

readonly optional ageAtOnset?: PQ


causeOfDeath?

readonly optional causeOfDeath?: boolean


condition?

readonly optional condition?: CD


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