# Example 1: Low Complexity
# 300mm2, 80mm tract, Mild Hydro, 1 calyx, 800 HU
# Score = 1 + 1 + 1 + 1 + 1 = 5
stone_nephrolithometry_score(300, 80, "none_mild", "1_or_2", 800)
# Example 2: High Complexity
# 1700mm2, 120mm tract, Severe Hydro, Staghorn, 1200 HU
# Score = 4 + 2 + 2 + 3 + 2 = 13
stone_nephrolithometry_score(1700, 120, "moderate_severe", "staghorn", 1200)
Run the code above in your browser using DataLab