# Example 1: Severe Failure (ECMO candidate)
# MAP 30, FiO2 100%, PaO2 60
# OI = (100 * 30) / 60 = 50
oxygenation_index(30, 100, 60)
# Example 2: Mild/Moderate
# MAP 15, FiO2 50%, PaO2 80
# OI = (50 * 15) / 80 = 9.38
oxygenation_index(15, 50, 80)
Run the code above in your browser using DataLab