Associations of medical comorbidity, psychosis, pain, and capacity with psychiatric hospital length of stay in geriatric inpatients with and without dementia. (21st October 2014)