A holistic Bayesian framework for modelling latent socio-economic health