Cognitive Status of Older Adults on Admission to a Skilled Nursing Facility According to a Hospital Discharge Diagnosis of Dementia.