# Example 1: High Risk
# 82yo (+4), Prior Fx (+1), Uses arms (+1)
# Score = 6
fracture_index_score(82, 1, 0, 0, 0, 1)
# Example 2: Low Risk
# 60yo (0), No risk factors
# Score = 0
fracture_index_score(60, 0, 0, 0, 0, 0)
Run the code above in your browser using DataLab