calculate_precise_2021_simple_ptp {pretestcad} | R Documentation |
Calculate 2021 PRECISE Simple PTP for obstructive CAD
Description
This function returns a patient's pre-test probability (PTP) of obstructive coronary artery disease based on the 2021 Predictive Risk scorE for CAD In Southeast Asians with chEst pain (PRECISE) simple model.
Usage
calculate_precise_2021_simple_ptp(
age,
sex,
chest_pain_type,
have_neck_radiation,
have_diabetes,
have_hypertension,
smoking_history_type
)
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_neck_radiation |
Input characters (no, yes) to indicate if the patient has chest pain radiating to the neck.
|
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.
|
smoking_history_type |
Input characters (current, past, none) to indicate the smoking history 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 2021 Predictive Risk scorE for CAD In Southeast Asians with chEst pain (PRECISE) simple model.
Examples
# 40 year old female with typical chest pain
# radiating to the neck, has diabetes
# but no hypertension and a non-smoker
calculate_precise_2021_simple_ptp(
age = 40,
sex = "female",
chest_pain_type = "typical",
have_neck_radiation = "yes",
have_diabetes = "yes",
have_hypertension = "no",
smoking_history_type = "none"
)