Text this: Generalized time-varying coefficient models for the analysis of longitudinal data in health: an application in HIV / AIDS and COVID-19