# Example 1: High Risk (Age)
# 70yo, minor fall
canadian_c_spine_rule(70, 0, 0, 0, 1, 1, 0, 0, 1)
# Example 2: Cleared (Low Risk Factor + Rotation)
# 30yo, Simple Rear End, No midline tenderness, Can rotate
canadian_c_spine_rule(30, 0, 0, 1, 1, 1, 1, 0, 1)
# Example 3: Imaging Needed (Cannot Rotate)
# 30yo, Simple Rear End, but cannot rotate 45 degrees
canadian_c_spine_rule(30, 0, 0, 1, 1, 1, 1, 0, 0)
Run the code above in your browser using DataLab