# Example 1: High Risk of Failure
# SpO2 88%, FiO2 1.0 (100%), RR 35
# Ratio = 88 / 1.0 = 88. Index = 88 / 35 = 2.51
rox_index_score(88, 100, 35)
# Example 2: Success Likely
# SpO2 95%, FiO2 0.4 (40%), RR 20
# Ratio = 95 / 0.4 = 237.5. Index = 237.5 / 20 = 11.88
rox_index_score(95, 40, 20)
Run the code above in your browser using DataLab