Delayed surgery is associated with adverse outcomes in patients with hip fracture undergoing hip arthroplasty