Challenges and opportunities to developing a frailty index using electronic health record data.