Demographic influences on quality of life among persons with chronic mental illnesses