Fitness rooms and basketball courts will encourage physical activity at the hospital.