# Example 1: High Probability
# Male (+2), Syncope (+3), Tryptase 20 (+1)
# Score = 6
rema_mastocytosis_score("male", "syncope_presyncope", 20)
# Example 2: Low Probability
# Female (-4), Urticaria (-4), Tryptase 10 (0)
# Score = -8
rema_mastocytosis_score("female", "pruritus_urticaria_angioedema", 10)
Run the code above in your browser using DataLab