# Example 1: Low Risk
# Infarct (0), LACS (0), 60yo (0), mRS 0 (0), NIHSS 3 (0)
# Score = 0
modified_soar_stroke_score("infarct", "lacs", 60, 0, 3)
# Example 2: High Risk
# Hemorrhage (1), TACS (2), 87yo (2), mRS 4 (1), NIHSS 15 (2)
# Score = 8
modified_soar_stroke_score("hemorrhage", "tacs", 87, 4, 15)
Run the code above in your browser using DataLab