# https://github.com/r-lib/pkgdown/issues/2704

Skip to contents

This function returns a patient's pre-test probability (PTP) of obstructive coronary artery disease based on the 2019 Reeh et. al. clinical model.

Usage

calculate_reeh_2019_clinical_ptp(
  age,
  sex,
  symptom_type,
  have_dyslipidemia,
  have_family_history,
  have_diabetes
)

Arguments

age

Input integer value to indicate the age of the patient.

sex

Input characters (female, male) to indicate the sex of the patient.

  • female

  • male

symptom_type

Input characters (typical, atypical, nonanginal, dyspnoea) to indicate the symptom characteristics of the patient.

  • 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.

  • dyspnoea stands for the patient having dyspnoea.

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_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_diabetes

Input characters (no, yes) to indicate if the patient only has diabetes.

  • no stands for not having diabetes.

  • yes stands for having diabetes.

Value

A numeric value representing the patient's PTP for obstructive CAD based on the 2019 Reeh et. al. clinical model.

Details

The predictive model is based on 3903 patients free of CAD and heart failure and suspected of angina, who were referred to a single, large, urban university hospital for assessment in 2012–15.

Examples

# 40 year old female with typical chest pain
calculate_reeh_2019_clinical_ptp(
    age = 40,
    sex = "female",
    symptom_type = "typical",
    have_dyslipidemia = "no",
    have_family_history = "no",
    have_diabetes = "no"
)
#> [1] 0.02258556