Comprehensive geriatric assessment of effects of hospitalization and long-term rehabilitation of patients following lower extremity arthroplasty