A 78-year-old man presents after a fall with a displaced intertrochanteric hip fracture. He is in moderate pain, blood pressure 150/85 mm Hg and heart rate 88/min. According to best practice for geriatric hip fracture care, what is the optimal timing of surgery assuming he is medically optimised?