calculate_winther_2020_rf_cl_ptp {pretestcad} | R Documentation |
Calculate 2020 Winther RF-CL PTP model for obstructive CAD
Description
This function returns a patient's pre-test probability (PTP) of obstructive coronary artery disease based on the 2020 Winther et. al. Risk Factor-Weighted Clinical Likelihood (RF-CL) model.
Usage
calculate_winther_2020_rf_cl_ptp(
age,
sex,
chest_pain_type,
have_dyspnoea,
have_family_history,
have_smoking_history,
have_dyslipidemia,
have_hypertension,
have_diabetes,
allow_na_symptom_score = TRUE,
max_na_num_of_rf = 0
)
Arguments
age |
Input numeric value to indicate the age of the patient. |
sex |
Input characters (female, male) to indicate the sex of the patient.
|
chest_pain_type |
Input characters (no chest pain, typical, atypical, nonanginal) to indicate the chest pain characteristics of the patient.
|
have_dyspnoea |
Input characters (no, yes) to indicate if the patient only has dyspnoea symptoms.
|
have_family_history |
Input characters (no, yes) to indicate if the patient has a family history of CAD.
|
have_smoking_history |
Input characters (no, yes) to indicate if the patient has a smoking history (current or past smoker).
|
have_dyslipidemia |
Input characters (no, yes) to indicate if the patient has dyslipidemia.
|
have_hypertension |
Input characters (no, yes) to indicate if the patient has hypertension.
|
have_diabetes |
Input characters (no, yes) to indicate if the patient has diabetes.
|
allow_na_symptom_score |
A logical evaluating to |
max_na_num_of_rf |
Input integer 0 to 5 to indicate the maximum number of
missing risk factors to tolerate before outputting an |
Details
The predictive model is based on > 40000 symptomatic patients from 2008 to 2017 from 13 hospitals in Western Denmark. These patients are registered under the Western Denmark Heart Registry.
Value
A numeric value representing the patient's PTP for obstructive CAD based on the 2020 Winther et. al. Risk Factor-Weighted Clinical Likelihood (RF-CL) model.
Examples
# 40 year old Male with nonanginal chest pain
calculate_winther_2020_rf_cl_ptp(
age = 40,
sex = "male",
chest_pain_type = "no chest pain",
have_dyspnoea = "no",
have_family_history = "no",
have_smoking_history = "no",
have_dyslipidemia = "no",
have_hypertension = "no",
have_diabetes = "no",
allow_na_symptom_score = TRUE,
max_na_num_of_rf = 0
)