calculate_dcs_1993_sig_cad_ptp {pretestcad} | R Documentation |
Calculate 1993 Duke Clinical Score for Significant CAD
Description
This function returns a patient's pre-test probability (PTP) of significant (>75% luminal diameter narrowing of at least one major coronary artery) coronary artery disease based on the 1993 Duke Clinical Score.
Usage
calculate_dcs_1993_sig_cad_ptp(
age,
sex,
chest_pain_type,
have_mi,
have_smoking_history,
have_dyslipidemia,
have_diabetes,
have_q_waves,
have_st_t_changes
)
Arguments
age |
Input integer 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 (typical, atypical, nonanginal) to indicate the chest pain characteristics of the patient.
|
have_mi |
Input characters (no, yes) to indicate if the patient has a previous history of Myocardial Infarction (MI).
|
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_diabetes |
Input characters (no, yes) to indicate if the patient has diabetes.
|
have_q_waves |
Input characters (no, yes) to indicate if the patient has Q waves on electrocardiogram (ECG).
|
have_st_t_changes |
Input characters (no, yes) to indicate if the patient has ST-T changes on electrocardiogram (ECG).
|
Details
The predictive model is based on patients referred for cardiac catheterisation between 1969 and 1983.
Value
A numeric value representing the patient's PTP for significant (>75% luminal diameter narrowing of at least one major coronary artery) CAD based on the 1993 Duke Clinical Score.
Examples
# 40 year old female with typical chest pain,
# previous history of MI,
# has diabetes but no dyslipidemia and a non-smoker.
# She has Q waves but no ST-T changes on ECG.
calculate_dcs_1993_sig_cad_ptp(
age = 40,
sex = "female",
chest_pain_type = "typical",
have_mi = "yes",
have_smoking_history = "no",
have_dyslipidemia = "no",
have_diabetes = "yes",
have_q_waves = "yes",
have_st_t_changes = "no"
)