# Example 1: High Risk
# 45yo, SBP 85 (+2), Multilobar (+1), Alb 3.0 (+1),
#RR 30 (+1), HR 110 (0), Conf (0), Low O2 (+2), pH 7.30 (+2)
# Score = 9
smart_cop_score(45, 85, 1, 3.0, 30, 110, 0, 7.30, spo2_percent = 88)
# Example 2: Low Risk
# 60yo, SBP 120, Unilobar, Alb 4.0, RR 20, HR 80, Alert, Normal O2/pH
# Score = 0
smart_cop_score(60, 120, 0, 4.0, 20, 80, 0, 7.40, spo2_percent = 98)
Run the code above in your browser using DataLab