Factors associated with poor self-reported function and quality of life in patients with end-stage knee or hip osteoarthritis immediately prior to total joint arthroplasty