Learn R Programming

cliot (version 1.0.0)

seattle_heart_failure_model: Seattle Heart Failure Model (SHFM)

Description

Calculates the Seattle Heart Failure Model (SHFM) risk score to predict 1-, 2-, and 5-year survival and median life expectancy in patients with heart failure. The model integrates clinical status, pharmacological and device therapy, and laboratory parameters.

Usage

seattle_heart_failure_model(age, sex, nyha_class, ejection_fraction, systolic_bp,
                            ischemic_etiology, weight_kg,
                            diuretic_daily_furosemide_equiv_mg,
                            hemoglobin_g_dl, lymphocyte_percent, uric_acid_mg_dl,
                            sodium_meq_l, cholesterol_mg_dl, qrs_duration_ms,
                            ace_inhibitor, beta_blocker, statin, allopurinol,
                            aldosterone_blocker, icd_device, crt_device)

Value

A list containing:

SHFM_Score

The calculated log-hazard score.

Est_1_Year_Survival

Estimated survival probability at 1 year.

Est_2_Year_Survival

Estimated survival probability at 2 years.

Est_5_Year_Survival

Estimated survival probability at 5 years.

Est_Median_Survival

Estimated median life expectancy in years.

Arguments

age

Numeric. Patient age in years.

sex

String. "Male" or "Female".

nyha_class

Numeric. NYHA Functional Class (1-4).

ejection_fraction

Numeric. Left Ventricular Ejection Fraction (LVEF) in percent.

systolic_bp

Numeric. Systolic Blood Pressure in mmHg.

ischemic_etiology

Numeric (0 or 1). Ischemic etiology of heart failure (1 = Yes).

weight_kg

Numeric. Patient weight in kilograms.

diuretic_daily_furosemide_equiv_mg

Numeric. Total daily diuretic dose in furosemide equivalents (mg).

hemoglobin_g_dl

Numeric. Hemoglobin level in g/dL.

lymphocyte_percent

Numeric. Lymphocyte percentage of total WBC.

uric_acid_mg_dl

Numeric. Serum Uric Acid level in mg/dL.

sodium_meq_l

Numeric. Serum Sodium level in mEq/L.

cholesterol_mg_dl

Numeric. Total Cholesterol in mg/dL.

qrs_duration_ms

Numeric. QRS duration in ms (used for CRT benefit assessment).

ace_inhibitor

Numeric (0 or 1). Use of ACE Inhibitor or ARB. (1 = Yes).

beta_blocker

Numeric (0 or 1). Use of Beta-Blocker. (1 = Yes).

statin

Numeric (0 or 1). Use of Statin. (1 = Yes).

allopurinol

Numeric (0 or 1). Use of Allopurinol. (1 = Yes).

aldosterone_blocker

Numeric (0 or 1). Use of Aldosterone Blocker (e.g., Spironolactone). (1 = Yes).

icd_device

Numeric (0 or 1). Presence of Implantable Cardioverter Defibrillator (ICD). (1 = Yes).

crt_device

Numeric (0 or 1). Presence of Cardiac Resynchronization Therapy (CRT). (1 = Yes).

References

Levy WC, Mozaffarian D, Linker DT, et al. The Seattle Heart Failure Model: prediction of survival in heart failure. Circulation. 2006;113(11):1424-1433. doi:10.1161/CIRCULATIONAHA.105.584102

Examples

Run this code
# Example: High Risk Patient
seattle_heart_failure_model(
  age = 75, sex = "male", nyha_class = 3, ejection_fraction = 25,
  systolic_bp = 110, ischemic_etiology = 1, weight_kg = 80,
  diuretic_daily_furosemide_equiv_mg = 80, hemoglobin_g_dl = 11,
  lymphocyte_percent = 15, uric_acid_mg_dl = 8.0, sodium_meq_l = 135,
  cholesterol_mg_dl = 180, qrs_duration_ms = 120,
  ace_inhibitor = 1, beta_blocker = 0, statin = 0, allopurinol = 0,
  aldosterone_blocker = 0, icd_device = 0, crt_device = 0
)

Run the code above in your browser using DataLab