calculate_lah_2022_extended_ptp {pretestcad} | R Documentation |
Calculate 2022 LAH Extended PTP for obstructive CAD
Description
This function returns a patient's pre-test probability (PTP) of obstructive coronary artery disease based on the 2022 Local Assessment of the Heart (LAH) extended model.
Usage
calculate_lah_2022_extended_ptp(
age,
sex,
chest_pain_type,
have_diabetes,
have_hypertension,
have_dyslipidemia,
have_smoking_history,
coronary_calcium_score
)
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 (typical, atypical, nonanginal) to indicate the chest pain characteristics of the patient.
|
have_diabetes |
Input characters (no, yes) to indicate if the patient has diabetes.
|
have_hypertension |
Input characters (no, yes) to indicate if the patient has hypertension.
|
have_dyslipidemia |
Input characters (no, yes) to indicate if the patient has dyslipidemia.
|
have_smoking_history |
Input characters (no, yes) to indicate if the patient has a smoking history (current or past smoker).
|
coronary_calcium_score |
Input non-negative numeric to indicate the total coronary calcium score of the patient. |
Details
The predictive model is based on patients a mixed Asian cohort within Singapore with stable chest pain.
Value
A numeric value representing the patient's PTP for obstructive CAD based on the 2022 Local Assessment of the Heart (LAH) extended model.
Examples
# 40 year old female with typical chest pain,
# diabetes but no hypertension, dyslipidemia,
# a non-smoker and a coronary calcium score of 0
calculate_lah_2022_extended_ptp(
age = 40,
sex = "female",
chest_pain_type = "typical",
have_diabetes = "yes",
have_hypertension = "no",
have_dyslipidemia = "no",
have_smoking_history = "no",
coronary_calcium_score = 0
)