Deep Learning With Electronic Health Records for Short-Term Fracture Risk Identification: Crystal Bone Algorithm Development and Validation
- PMID: 32956069
- PMCID: PMC7600029
- DOI: 10.2196/22550
Deep Learning With Electronic Health Records for Short-Term Fracture Risk Identification: Crystal Bone Algorithm Development and Validation
Abstract
Background: Fractures as a result of osteoporosis and low bone mass are common and give rise to significant clinical, personal, and economic burden. Even after a fracture occurs, high fracture risk remains widely underdiagnosed and undertreated. Common fracture risk assessment tools utilize a subset of clinical risk factors for prediction, and often require manual data entry. Furthermore, these tools predict risk over the long term and do not explicitly provide short-term risk estimates necessary to identify patients likely to experience a fracture in the next 1-2 years.
Objective: The goal of this study was to develop and evaluate an algorithm for the identification of patients at risk of fracture in a subsequent 1- to 2-year period. In order to address the aforementioned limitations of current prediction tools, this approach focused on a short-term timeframe, automated data entry, and the use of longitudinal data to inform the predictions.
Methods: Using retrospective electronic health record data from over 1,000,000 patients, we developed Crystal Bone, an algorithm that applies machine learning techniques from natural language processing to the temporal nature of patient histories to generate short-term fracture risk predictions. Similar to how language models predict the next word in a given sentence or the topic of a document, Crystal Bone predicts whether a patient's future trajectory might contain a fracture event, or whether the signature of the patient's journey is similar to that of a typical future fracture patient. A holdout set with 192,590 patients was used to validate accuracy. Experimental baseline models and human-level performance were used for comparison.
Results: The model accurately predicted 1- to 2-year fracture risk for patients aged over 50 years (area under the receiver operating characteristics curve [AUROC] 0.81). These algorithms outperformed the experimental baselines (AUROC 0.67) and showed meaningful improvements when compared to retrospective approximation of human-level performance by correctly identifying 9649 of 13,765 (70%) at-risk patients who did not receive any preventative bone-health-related medical interventions from their physicians.
Conclusions: These findings indicate that it is possible to use a patient's unique medical history as it changes over time to predict the risk of short-term fracture. Validating and applying such a tool within the health care system could enable automated and widespread prediction of this risk and may help with identification of patients at very high risk of fracture.
Keywords: AI; EHR; NLP; artificial intelligence; bone; deep learning; electronic health record; fracture; low bone mass; machine learning; natural language processing; osteoporosis; prediction.
©Yasmeen Adar Almog, Angshu Rai, Patrick Zhang, Amanda Moulaison, Ross Powell, Anirban Mishra, Kerry Weinberg, Celeste Hamilton, Mary Oates, Eugene McCloskey, Steven R Cummings. Originally published in the Journal of Medical Internet Research (http://www.jmir.org), 16.10.2020.
Conflict of interest statement
Conflicts of Interest: YA, PZ, RP, AM, KW, and MO are employees and stock owners at Amgen Inc, the funders of this study. AR, AWM, and CH are former employees and stock owners at Amgen Inc. EM is a consulting fee recipient, grant recipient, and speaker on behalf of Amgen Inc, as well as a member of the International Osteoporosis Foundation. SRC is a consulting fee recipient and grant recipient from Amgen Inc.
Figures




Similar articles
-
Folic acid supplementation and malaria susceptibility and severity among people taking antifolate antimalarial drugs in endemic areas.Cochrane Database Syst Rev. 2022 Feb 1;2(2022):CD014217. doi: 10.1002/14651858.CD014217. Cochrane Database Syst Rev. 2022. PMID: 36321557 Free PMC article.
-
Fracture risk prediction in postmenopausal women with traditional and machine learning models in a nationwide, prospective cohort study in Switzerland with validation in the UK Biobank.J Bone Miner Res. 2024 Aug 21;39(8):1103-1112. doi: 10.1093/jbmr/zjae089. J Bone Miner Res. 2024. PMID: 38836468
-
Development and Validation of a Routine Electronic Health Record-Based Delirium Prediction Model for Surgical Patients Without Dementia: Retrospective Case-Control Study.JMIR Perioper Med. 2025 Jan 9;8:e59422. doi: 10.2196/59422. JMIR Perioper Med. 2025. PMID: 39786865 Free PMC article.
-
COVID-19 Mortality Prediction From Deep Learning in a Large Multistate Electronic Health Record and Laboratory Information System Data Set: Algorithm Development and Validation.J Med Internet Res. 2021 Sep 28;23(9):e30157. doi: 10.2196/30157. J Med Internet Res. 2021. PMID: 34449401 Free PMC article.
-
What Are the Applications and Limitations of Artificial Intelligence for Fracture Detection and Classification in Orthopaedic Trauma Imaging? A Systematic Review.Clin Orthop Relat Res. 2019 Nov;477(11):2482-2491. doi: 10.1097/CORR.0000000000000848. Clin Orthop Relat Res. 2019. PMID: 31283727 Free PMC article.
Cited by
-
An electronic health record (EHR)-based risk calculator can predict fractures comparably to FRAX: a proof-of-concept study.Osteoporos Int. 2024 Dec;35(12):2117-2126. doi: 10.1007/s00198-024-07221-2. Epub 2024 Aug 15. Osteoporos Int. 2024. PMID: 39147872
-
Clinical applications of large language models in medicine and surgery: A scoping review.J Int Med Res. 2025 Jul;53(7):3000605251347556. doi: 10.1177/03000605251347556. Epub 2025 Jul 4. J Int Med Res. 2025. PMID: 40615349 Free PMC article.
-
Bridging the Gap: A narrative review of osteoporosis disability, adipokines, and the role of AI in postmenopausal women.Pak J Med Sci. 2024 Aug;40(7):1572-1577. doi: 10.12669/pjms.40.7.9072. Pak J Med Sci. 2024. PMID: 39092029 Free PMC article. Review.
-
Prediction of imminent fracture risk in Canadian women and men aged 45 years or older: external validation of the Fracture Risk Evaluation Model (FREM).Osteoporos Int. 2022 Jan;33(1):57-66. doi: 10.1007/s00198-021-06165-1. Epub 2021 Oct 1. Osteoporos Int. 2022. PMID: 34596704
-
Predictive value of machine learning on fracture risk in osteoporosis: a systematic review and meta-analysis.BMJ Open. 2023 Dec 9;13(12):e071430. doi: 10.1136/bmjopen-2022-071430. BMJ Open. 2023. PMID: 38070927 Free PMC article.
References
-
- Haczynski J, Jakimiuk A. Vertebral fractures: a hidden problem of osteoporosis. Med Sci Monit. 2001;7(5):1108–17. - PubMed
-
- Svedbom A, Hernlund E, Ivergård M, Compston J, Cooper C, Stenmark J, McCloskey EV, Jönsson B, Kanis JA, EU Review Panel of IOF Osteoporosis in the European Union: a compendium of country-specific reports. Arch Osteoporos. 2013 Oct 11;8(1-2):137. doi: 10.1007/s11657-013-0137-0. http://europepmc.org/abstract/MED/24113838 - DOI - PMC - PubMed
-
- Facts and Statistics 2015. International Osteoporosis Foundation. [2020-01-05]. https://www.iofbonehealth.org/facts-statistics#:~:text=Osteoporosis%20is...
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Medical