replaced value_text with value_numeric in recalculate_adherence script