
Calculate 2020 Winther CACS-CL PTP model for obstructive CAD
Source:R/winther_ptp.R
calculate_winther_2020_cacs_cl_ptp.Rd
This function returns a patient's pre-test probability (PTP) of obstructive coronary artery disease based on 2020 Winther et. al. Coronary Artery Calcium Score-Weighted Clinical Likelihood (CACS-CL) model.
Usage
calculate_winther_2020_cacs_cl_ptp(
age,
sex,
chest_pain_type,
have_dyspnoea,
have_family_history,
have_smoking_history,
have_dyslipidemia,
have_hypertension,
have_diabetes,
coronary_calcium_score,
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.
female
male
- chest_pain_type
Input characters (no chest pain, typical, atypical, nonanginal) to indicate the chest pain characteristics of the patient.
no chest pain stands for the patient having no chest pain.
typical stands for the patient having typical chest pain.
atypical stands for the patient having atypical chest pain.
nonanginal stands for the patient having nonanginal or non-specific chest pain.
- have_dyspnoea
Input characters (no, yes) to indicate if the patient only has dyspnoea symptoms.
no stands for not having dyspnoea symptoms.
yes stands for having dyspnoea symptoms.
- have_family_history
Input characters (no, yes) to indicate if the patient only has a family history of CAD.
no stands for not having a family history of CAD.
yes stands for having a family history of CAD.
- have_smoking_history
Input characters (no, yes) to indicate if the patient only has a smoking history (current or past smoker).
no stands for not having a smoking history (non-smoker).
yes stands for having a smoking history (current or past smoker).
- have_dyslipidemia
Input characters (no, yes) to indicate if the patient only has dyslipidemia.
no stands for not having dyslipidemia.
yes stands for having a dyslipidemia.
- have_hypertension
Input characters (no, yes) to indicate if the patient only has hypertension.
no stands for not having hypertension.
yes stands for having a hypertension.
- have_diabetes
Input characters (no, yes) to indicate if the patient only has diabetes.
no stands for not having diabetes.
yes stands for having diabetes.
- coronary_calcium_score
Input non-negative numeric to indicate the total coronary calcium score of the patient.
- allow_na_symptom_score
A logical evaluating to
TRUE
orFALSE
indicating whether we can allowchest_pain_type
orhave_dyspnoea
to beNA
when calculating the score- max_na_num_of_rf
Input integer 0 to 5 to indicate the maximum number of missing risk factors to tolerate before outputting an
NA
. Default: 0
Value
A numeric value representing the patient's PTP for obstructive CAD based on the 2020 Winther et. al. Coronary Artery Calcium Score-Weighted Clinical Likelihood (CACS-CL) model.
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.
Examples
# 40 year old Male with nonanginal chest pain and coronary calcium score of 0
calculate_winther_2020_cacs_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",
coronary_calcium_score = 0,
allow_na_symptom_score = TRUE,
max_na_num_of_rf = 0
)
#> [1] 0.004159686