HIV continuum of care: bridging cross-sectional and longitudinal analyses