# Example 1: Severe ARDS
# Acute onset, Bilateral infiltrates, Non-cardiac, PF Ratio 80, PEEP 10
berlin_ards_criteria(1, 1, 1, 80, 10)
# Example 2: Not ARDS (PF Ratio too high)
# PF Ratio 350
berlin_ards_criteria(1, 1, 1, 350, 5)
# Example 3: Not ARDS (PEEP too low)
# PEEP 2
berlin_ards_criteria(1, 1, 1, 150, 2)
Run the code above in your browser using DataLab