Variable double completion rate (%) is introduced in this PR to keep track of the completion rate for each patient whenever the tasklist is modified (add, delete, mark or unmark). \
The completion rate is calculated by (number of marked tasks / number of tasks). If there is no task in the list, completion rate is 100%.
call getCompletionRate for double value (i.e, 0.5)
call completionRatePercentageToString for String value (i.e, 50.00%)
Variable
double
completion rate (%) is introduced in this PR to keep track of the completion rate for each patient whenever the tasklist is modified (add, delete, mark or unmark). \The completion rate is calculated by (number of marked tasks / number of tasks). If there is no task in the list, completion rate is 100%.
call
getCompletionRate
fordouble
value (i.e, 0.5) callcompletionRatePercentageToString
forString
value (i.e, 50.00%)