# Example 1: Sepsis (Score 2)
# On IMV (1 pt), Normal Labs, GCS 9 (1 pt)
phoenix_sepsis_score("invasive", NA, 98, 30, 0, 1.0, 0, 250, 1.0, 0.5, 200, 9, 0)
# Example 2: Septic Shock (High Score)
# On IMV with severe hypoxemia (3 pts), 2 Vasoactives (4 pts), Plt 50 (1 pt), GCS 15 (0 pts)
# Total = 8
phoenix_sepsis_score("invasive", 60, 90, 100, 2, 4.0, 1, 50, 1.2, 0.5, 200, 15, 0)
Run the code above in your browser using DataLab