# Example 1: Child < 2 years, High Risk
# GCS 14, AMS
pecarn_head_injury_rule(1.5, 14, 1, 0, 0)
# Example 2: Child >= 2 years, Intermediate Risk
# 5yo, Vomiting, Normal GCS, No other signs
pecarn_head_injury_rule(5, 15, 0, 0, 0, history_of_vomiting = 1)
# Example 3: Child >= 2 years, Low Risk
# 8yo, No symptoms/signs
pecarn_head_injury_rule(8, 15, 0, 0, 0)
Run the code above in your browser using DataLab