Examining the mortality risk of a population with mental illness