Information in the electronic health record (EHR), such as diagnoses, vital signs, utilization, medications, and laboratory values, may predict fractures well without the need to verbally ascertain risk factors. In our study, as a proof of concept, we developed and internally validated a fracture risk calculator using only information in the EHR.
Purpose: Fracture risk calculators, such as the Fracture Risk Assessment Tool, or FRAX, typically lie outside the clinician workflow. Conversely, the electronic health record (EHR) is at the center of the clinical workflow, and many variables in the EHR could predict fractures without having to verbally ascertain FRAX risk factors. We sought to evaluate the utility of EHR variables to predict fractures and, as a proof of concept, to create an EHR-based fracture risk model.
Methods: Routine clinical data from 24,189 subjects presenting to primary care from 2010 to 2018 was utilized. Major osteoporotic fractures (MOFs) were captured by physician diagnosis codes. Data was split into training (n = 18,141) and test sets (n = 6048). We fit Cox regression models for candidate risk factors in the training set, and then created a global model using a backward stepwise approach. We then applied the model to the test set and compared the discrimination and calibration to FRAX.
Results: We found variables related to vital signs, utilization, diagnoses, medications, and laboratory values to be associated with incident MOF. Our final model included 19 variables, including age, BMI, Parkinson's disease, chronic kidney disease, and albumin levels. When applied to the test set, we found the discrimination (AUC 0.73 vs. 0.70, p = 0.08) and calibration were comparable to FRAX.
Conclusion: Routinely collected data in EHR systems can generate adequate fracture predictions without the need to verbally ascertain fracture risk factors. In the future, this could allow for automated fracture prediction at the point of care to improve osteoporosis screening and treatment rates.