# Example 1: High Risk
# Hypertension (+1), Age 65 (+1), Hyperlipidemia (+2) -> Score 4
aub_has2_cardiovascular_risk(1, 65, 0, 1)
# Example 2: Low Risk
# Smoking only (+1), Age 40, No HTN/Lipids
# Score = 1
aub_has2_cardiovascular_risk(0, 40, 1, 0)
Run the code above in your browser using DataLab