RESUMO
PURPOSE: This study aimed to develop and validate clinical prediction models using machine learning (ML) algorithms for reliable prediction of subsequent hip fractures in older individuals, who had previously sustained a first hip fracture, and facilitate early prevention and diagnosis, therefore effectively managing rapidly rising healthcare costs in China. METHODS: Data were obtained from Grade A Tertiary hospitals for older patients (age ≥ 60 years) diagnosed with hip fractures in southwest China between 1 January 2009 and 1 April 2020. The database was built by collecting clinical and administrative data from outpatients and inpatients nationwide. Data were randomly split into training (80%) and testing datasets (20%), followed by six ML-based prediction models using 19 variables for hip fracture patients within 2 years of the first fracture. RESULTS: A total of 40,237 patients with a median age of 66.0 years, who were admitted to acute-care hospitals for hip fractures, were randomly split into a training dataset (32,189 patients) and a testing dataset (8,048 patients). Our results indicated that three of our ML-based models delivered an excellent prediction of subsequent hip fracture outcomes (the area under the receiver operating characteristics curve: 0.92 (0.91-0.92), 0.92 (0·92-0·93), 0.92 (0·92-0·93)), outperforming previous prediction models based on claims and cohort data. CONCLUSIONS: Our prediction models identify Chinese older people at high risk of subsequent hip fractures with specific baseline clinical and demographic variables such as length of hospital stay. These models might guide future targeted preventative treatments.