Dynamics of participation in a community health project