# Example 1: COPD Patient (Scale 2)
# RR 22 (+2), SpO2 90% (0 on Scale 2), On O2 (+2), SBP 130, HR 80, Alert, Temp 37
# Score = 4
news2_score(22, 90, 1, 130, 80, "alert", 37.0, hypercapnic_respiratory_failure = TRUE)
# Example 2: Standard Patient (Scale 1)
# RR 12, SpO2 93% (+2), No O2, SBP 100 (+2), HR 115 (+2), New Confusion (+3), Temp 38.5 (+1)
# Score = 10
news2_score(12, 93, 0, 100, 115, "confusion", 38.5)
Run the code above in your browser using DataLab