# Example 1: Investigate (Age >= 40)
# 45yo, No other symptoms
ottawa_sah_rule(45, 0, 0, 0, 0, 0)
# Example 2: Rule Out
# 30yo, No high risk features
ottawa_sah_rule(30, 0, 0, 0, 0, 0)
# Example 3: Investigate (Thunderclap)
# 25yo, Thunderclap headache
ottawa_sah_rule(25, 0, 0, 0, 1, 0)
Run the code above in your browser using DataLab