A Model Relating Quality of Life to Latent Health Status and Survival