A 40-year-old man presents after a motor vehicle collision. He is hemodynamically stable but has an obvious deformity of the right femur. X-ray shows a closed midshaft femur fracture. Which is the most appropriate measure to reduce his risk of fat embolism and other complications while awaiting definitive fixation?