Influences on perceived function of a nursing home resident.