# Example 1: High Probability
# Male, Previous Attack, Rapid Onset, MTP1, HTN, High Uric Acid
# Score = 2 + 2 + 0.5 + 2.5 + 1.5 + 3.5 = 12
acute_gout_diagnosis("male", 1, 1, 0, 1, 1, 1)
# Example 2: Low Probability
# Female, Rapid Onset, Redness, No other features
# Score = 0.5 + 1 = 1.5
acute_gout_diagnosis("female", 0, 1, 1, 0, 0, 0)
Run the code above in your browser using DataLab