# Example 1: High Difficulty
# Male (+1), 75yo (+2), Hx Acute Chole (+1), BMI 36 (+2), ASA III (+1)
# Score = 7
choles_score_duration("male", 75, 1, 36, 1)
# Example 2: Low Difficulty
# Female (0), 45yo (0), No Hx (0), BMI 28 (0), ASA I (0)
# Score = 0
choles_score_duration("female", 45, 0, 28, 0)
Run the code above in your browser using DataLab