Sequence of Functional Loss and Recovery in Nursing Homes.