Activity Duration Analysis on a Discrete-Time Framework for Recurrent Events, Multiple-States, and Competing-Risks