# Example 1: High Risk
# 75yo, 50kg, Prior Fracture (+2 negative points), No HRT
# Base = (50-75)*0.2 = -5. Fx = -2. Total = -7.
osiris_osteoporosis_score(75, 50, 1, 0)
# Example 2: Low Risk
# 55yo, 70kg, No Fracture, On HRT (+2 positive points)
# Base = (70-55)*0.2 = 3. HRT = +2. Total = 5.
osiris_osteoporosis_score(55, 70, 0, 1)
Run the code above in your browser using DataLab