How does dementia correlate with other acute physical problems