A realist evaluation of a self-management technology