# Example 1: High Risk
# 70yo (+1), Confused (+1), BUN 25 (+1), SBP 85 (+1), RR 20
# Score = 4
curb65_pneumonia_severity(1, 25, 20, 85, 60, 70)
# Example 2: Low Risk
# 50yo, Alert, BUN 10, RR 18, BP 120/80
# Score = 0
curb65_pneumonia_severity(0, 10, 18, 120, 80, 50)
Run the code above in your browser using DataLab