# Example 1: High Risk
# Peritrochanteric (3), Functional pain (3), Lytic (3), >2/3 size (3)
# Score = 12
mirels_fracture_score("peritrochanteric", "functional", "lytic", "gt_two_thirds")
# Example 2: Low Risk
# Upper limb (1), Mild pain (1), Blastic (1), <1/3 size (1)
# Score = 4
mirels_fracture_score("upper_limb", "mild", "blastic", "lt_one_third")
Run the code above in your browser using DataLab