# Example 1: Total Dependence
# All 0s
barthel_index_adl(0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
# Example 2: Moderate Dependence
# Feeding 10, Bathing 0, Grooming 5, Dressing 5, Bowels 10, Bladder 10,
# Toilet 5, Transfers 10, Mobility 10, Stairs 5
# Score = 70
barthel_index_adl(10, 0, 5, 5, 10, 10, 5, 10, 10, 5)
Run the code above in your browser using DataLab