# Example 1: DVT Likely
# Cancer (+1), Swelling >3cm (+1), Tenderness (+1)
# Score = 3
wells_dvt_score(1, 0, 0, 1, 0, 1, 0, 0, 0, 0)
# Example 2: DVT Unlikely
# Recent surgery (+1), but alternative diagnosis likely (-2)
# Score = -1
wells_dvt_score(0, 0, 1, 0, 0, 0, 0, 0, 0, 1)
Run the code above in your browser using DataLab