Cardiovascular Disease (CVD) family history
Source:R/family-history.R
determine_CVD_Family_History.Rd
This function evaluates a respondent's family history of cardiovascular disease (CVD), based on data about diagnoses of heart disease and stroke in immediate family members and the ages at which these diagnoses occurred. It identifies premature CVD if any diagnosis occurred before age 60.
Arguments
- FMH_11
Integer: Indicates whether an immediate family member was diagnosed with heart disease. - 1 for "Yes" - 2 for "No".
- FMH_12
Numeric: Represents the youngest age at diagnosis of heart disease in an immediate family member.
- FMH_13
Integer: Indicates whether an immediate family member was diagnosed with stroke. - 1 for "Yes" - 2 for "No".
- FMH_14
Numeric: Represents the youngest age at diagnosis of stroke in an immediate family member.
Value
An integer indicating the CVD family history:
1: "Yes" — Family history of premature CVD exists (diagnosis before age 60).
2: "No" — No family history of premature CVD.
NA(b)
: Missing/unknown — Due to non-responses, invalid inputs, or unknown diagnosis ages.
Details
If both
FMH_11
(heart disease history) andFMH_13
(stroke history) areNA
, the function returnsNA(b)
.If either
FMH_11
orFMH_13
indicates a diagnosis (1
for "Yes"), the corresponding age (FMH_12
for heart disease andFMH_14
for stroke) is evaluated:Ages between 0 and 59 indicate premature CVD.
Ages between 60 and 100 indicate late-onset CVD.
Ages outside this range or invalid inputs (997, 998, 999) result in
NA(b)
.
If both
FMH_11
andFMH_13
are2
("No"), there is no family history of CVD (2
).Any invalid inputs for
FMH_11
orFMH_13
(values greater than 2) also result inNA(b)
.