Skip to main content
EJIFCC logoLink to EJIFCC
. 2025 Dec 5;36(4):618–623.

Leveraging AI to Enhance Electronic Health Records

Sanja Stankovic 1,2,*
PMCID: PMC12743341  PMID: 41459180

Abstract

The artificial intelligence (AI) integration in the medical field benefits both clinicians and patients. One of the most exciting applications of AI in healthcare is its role in electronic health records (EHRs). Leveraging AI to enhance EHR holds incredible potential for streamlining processes and reducing errors, enhancing clinical decision support and improving interoperability, contributing to more accurate, personalized, and effective healthcare, improved patient outcomes and quality of life. This article provides an overview of the role of AI in EHR, illustrates several examples of how AI incorporation into EHRs transforms healthcare delivery, illustrates how AI-powered EHRs impact healthcare stakeholders, and highlights the challenges and barriers of AI adoption in EHR systems.

Keywords: artificial intelligence, electronic health record, healthcare, medicine

Introduction

Electronic Health Record (EHR), essential part of modern healthcare systems, is comprehensive digitalized patient-centred record, that gives information instantly and securely to multiple healthcare care providers and healthcare organizations. EHRs contain a wide variety of data types. The main types of EHRs data that AI can analyse could be classified in: structured, semi-structured and unstructured data. Structured data are well-organized, easily quantifiable, often stored in predefined format and structure. They include demographics (age, gender, ethnicity, address, insurance status), as well as weight/height, heart rate, blood pressure, blood group, laboratory test results, medication records (current prescriptions, dosage, timing, history of use), diagnoses and codes, procedure codes, immunization records (vaccination type, dates), allergies, metadata, and information related to generation of data. Semistructured data are more flexible compared with structured data, mainly as a text describing smoking status, chronic disease, examination results, etc. Unstructured data, the most detailed form of data, lacks a defined structure, and includes clinical notes, surgical notes, radiology reports, audio, and video recordings [1, 2].

The history of EHRs is a story of gradual adoption over the last sixty years, accompanied by significant technological, financial, and policy-driven changes. EHRs have evolved significantly from simple data sources to integral components of the healthcare system, offering a lot of opportunities to enhance collaborative care, promote patient active engagement in their health management, and facilitate clinical research [3,4]. The projected global EHR market is $93 billion by 2035, with compound annual growth rate of 8.6% from 2024 to 2035. Growth is a consequence of increased adoption of EHR systems, rising demand for efficient healthcare data management, and integration of technologies [5]. The combination of AI with the wealth of data stored in EHR redefines its role, enabling greater benefits from digital records to improve diagnostic accuracy, reshape patient care strategies, support clinical decision-making to streamline operations, and enhance healthcare outcomes across various medical fields.

Role of AI in EHRs: Leveraging AI in EHRs improves it in different segments [6-10]

  • Data entry: AI can automatically enter data into EHR by extracting information from scanned documents, clinical notes, voice recordings, saving time, reducing manual effort, and improving quality of patients’ records, reducing errors.

  • Data organization: AI can help sort and organize data efficiently. It can categorize patient information, making it easier to access specific details (lab results, prescriptions, or medical histories), prioritize urgent tasks.

  • Virtual medical assistant is able to send reminders, answer simple patient questions.

  • Automating billing/coding: AI can automatically identify the correct codes based on clinical notes and test results, reducing human error and speeding up reimbursements.

  • Claims management: AI can also help in managing insurance claims by analysing patterns in rejected claims and helping healthcare providers to take proactive steps to avoid claim denials.

  • Data Analysis: AI models can analyse large volumes of EHR data, and can identify patterns and trends in patient data that are not immediately obvious to clinicians and help in patient’s diagnosis and management.

  • Predictive Analytics: AI models can analyse EHRs historical data and risk factors, with the aim to predict a patient’s likelihood of developing some disease/outcome, prioritizing the decision on the appropriate management

  • Natural language processing (NLP) helps extract valuable insights from unstructured data in EHRs, such as physician notes, discharge summaries, and patient narratives; assist with the automation of medical coding by interpreting physician notes and accurately applying ICD-10 codes; Improve the accuracy of clinical documentation by identifying missing information and suggesting relevant additions or corrections.

  • Automated Image and Signal Analysis: AI-driven EHRs can help in analysis of X-rays, MRIs, or CT scans, ECGs

  • Clinical Decision Support: AI-powered EHRs can issue clinicians with real-time evidence-based recommendations, assist in diagnosis, provide tailored recommendations and treatment plans, analysing patient data (medical history, genetics, lifestyle factors), flag potential drug interactions, adverse drug reactions.

  • Personalized Medicine: AI-driven EHR analyse clinical, genomic, proteomic data to give accurate diagnosis, optimize treatment strategies, predict drug responses, with the aim to reduce adverse reactions, improve patient outcomes personalizing care for every individual.

  • Reducing Healthcare Costs: AI/EHR integration can help reduce costs by reducing readmission rates (AI can predict readmission risks based on EHR data, allowing healthcare providers to take preventive action) and optimizing resource allocation (AI can help identify underused resources, optimize staffing, and streamline hospital workflows based on patient data).

AI can help manage and streamline EHRs by automating administrative tasks and improving administrative efficiency. Streamlining administrative tasks, actually reducing healthcare workers′ burnout induced by increased administrative burden, “computer fatigue” and stress, EHRs that are not user/friendly, lack of adequate training, disruptions in patient-provider interaction, increase in workload outside of office hours, cognitive load and multitasking (interacting with patients, managing EHRs, reviewing laboratory results, etc.).

Application of AI in EHRs

The application of AI in EHR requires four steps that are important in preparing data for processing with AI [11]:

  • Data collection -AI for extracting data from different healthcare providers

  • Data cleaning - AI corrects errors (missing values, removes duplicates, fix inconsistencies)

  • Normalisation and standardisation- AI models normalize and standardize quantitative data with the aim to adjust data to a standard scale for the purpose of comparability

  • Data preservation- AI helps monitor and secure data throughout the process with the aim to enable data integrity/confidentiality.

AI-powered EHR impact on healthcare stakeholders

The impact of AI-powered EHRs spans across a variety of stakeholders (patients, healthcare providers, administrators, insurers, and policymakers). Here’s a breakdown of how each is affected [12]:

  • Patients benefit from improved diagnosis and treatment, faster service, reduced errors, better engagement

  • Healthcare professionals’ benefits from reducing administrative burden, clinical decision support, workflow optimisation

  • Hospital/Clinic Administrators- benefits from improvement in operational efficiency, financial performances, quality metrics

  • Developers of EHR Software - responsibility for creating systems, development, maintenance, and utilisation in clinical practice, compliance with regulative.

Integration of AI to EHR-based models: real-word implementation

There are several real-world examples of how AI is integrated with EHRs, specifically in cardiology field during last few years.

Recent evidence showed that AI tools applied to EHR data analysis enhanced accurate cardiovascular risk assessments, enable earlier interventions and personalized patients′ management, but also have implications for clinical trial design. It seems that AI models offer superior results compared with traditional risk algorithms for prediction of atherosclerotic cardiovascular disease risk, and overperformed cardiology trainees in the correct interpretation of ECG abnormalities. Literature data shows that coronary artery disease (CAD) prediction score using EHR clinical features (EHR score) predict CAD risk one year prior to diagnosis in health system [13]. Wu et al. [14] discovered the potential of natural language processing to improve the detection and diagnosis of heart failure (HF) with preserved ejection fraction patients from unstructured EHR data. It is very important because this is the predominant form of HF that is still underdiagnosed in clinical environment and connected with elevated mortality. Using deep neural network, Raghunath et al. [15] created AI model that can predict one-year all-cause mortality from large subset of ECG voltage–time traces, even in patients whose ECG was interpreted as normal. Further, they discovered that a deep neural network could predict new-onset AF in patients without a history of atrial fibrillation, from the resting 12-lead ECG, and that this prediction may help identify those at risk of atrial fibrillation-related stroke and prevent it [16]. A novel machine learning platform that uses 12-lead electrocardiogram data, age and sex was developed to identify patients with high risk of undiagnosed structural heart disease with excellent performance, i.e., any one of seven structural heart diseases that are diagnosable by echocardiography [17]. The first report on using machine learning and EHR data to predict EF changes across a large cohort of HF patients from three academic medical centers was recently published [18]. It was shown that EHR-based deep learning model can assist clinicians in early identification patients with HF who are at risk of severe decompensation or death, and help in decision about advanced HF surgical interventions [19].

Yang et al. [20] showed that AI based on EHRs can be useful for cancer care in neoplasm categorization, methods/algorithms, application in cancer care, and data/data sets. NLP has shown significant potential in cancer research using EHRs and clinical notes, especially in breast, lung, and colorectal cancers [21]. Integration of AI with EHRs, can contribute to the quick and precise recruitment of patients in clinical trial (monitoring patients’ data and determine eligibility), that can influence the effectiveness of clinical trials and receiving new cancer therapies [22].

Sarwal et al. [23] developed NLP algorithm that with high sensitivity automatically identify familial and genetic risk of pancreatic cancer from unstructured clinical notes within the EHR, that can contribute. This algorithm is the first step in identification high-risk patients who will benefit from risk-based PC screening in early, asymptomatic stage that can positively impact survival rates. Li et al. [24] established the first deep learning application to predict brain metastases in lung cancer patients diagnosed on the basis of EHR data. Last month, a new machine learning model developed to enhance prostate cancer screening by predicting the likelihood of an abnormal prostate MRI using EHR, was announced. The model analyses factors from EHR including age, prostate-specific antigen levels, prostate size (volume), and body mass index. At the same time, this model can potentially optimize the MRI utilization, potentially reducing wait times and minimizing unnecessary biopsies [25].

One of the newest applications of AI is in cardio-oncology, focused on the identification of patients at high risk for cardiovascular problems during cancer treatment who need timely to refer to cardio-oncologists and expand access to appropriate cardiovascular care. Using a large dataset of deidentified EHRs of patients with breast, kidney, B-cell lymphoma cancers and patients who receive immunotherapy, Al-Droubi et al. [26] trained/tested the machine learning model to identify oncology patients who are at risk for cardiovascular problems during cancer treatment.

Machine learning models that use EHRs’ clinical data can predict the risk of sepsis before the onset of symptoms, in early detection, diagnosis, subtyping analysis, prognosis assessment, and management of treatment [27,28]. The observational study that included non-ICU patients revealed that a machine learning causal probabilistic network algorithm model can predict sepsis within 48 hours using EHR data [29]. Nemati et al. [30] constructed a deep learning model to predict sepsis 4 hours in advance using EHR data together with high-resolution time series dynamics of heart rate and blood pressure.

In the past couple of years, studies about rare diseases and AI have the potential to significantly enhance the management of rare diseases by improving early and more accurate detection, personalizing treatment, optimizing care, predicting the progression of the disease and supporting clinical research. The integration of AI into EHR systems offers a comprehensive approach to managing these complex, multi-system disorders, ultimately improving patient outcomes and quality of life. As EHRs are wide, precious source of information it can be used to develop and evaluate ML-based screening and NLP methods to identify rare diseases. Phenotypes and clinical signs are extracted from EHRs, and obtained data are processed to calculate phenotypic distances. Rare disease expert physicians decide whether or not to perform complementary tests to confirm the diagnosis. The rapid redirection of patients to rare disease experts via chatbots, and consultations via telemedicine should ensure faster management. The emergence of large language models opens new perspectives for the reuse of textual data that are still unexplored [31].

About fourteen EHR-based familial hypercholesterolemia screening algorithms and/or tools have described to enhance identification of familial hypercholesterolemia. Although there is no sufficient evidence supporting the use of this algorithms/tools, they show the potential for improving population-level detection and management of patients with familial hypercholesterolemia [32].

Challenges and barriers to AI adoption in EHR While the integration of EHRs and AI offers many benefits, there are still several challenges ranging from technical to organizational issues [11]:

  • Data Privacy and Security: EHRs contain sensitive patient information, and patients′ data should always be protected according to the regulations like HIPPA and GDPR.

  • Interoperability: Integration with existing systems often requires substantial technical upgrades which are expensive and time-consuming;

  • Bias in AI models: In the case the AI model is trained on incomplete or non-representative dataset, it can influence the effectiveness of AI algorithms, and influence clinical decisions;

  • Workforce trust, training and adaptation-Healthcare workers must be adequately trained on user-friendly interfaces and convinced that AI is a helpful tool rather than a replacement, which may require overcoming resistance to change. demystify the processes behind AI applications and build a foundation of trust and confidence.

Conclusion

The use of artificial intelligence is shaping electronic health records, paving the way for improved clinical practice and better patient outcomes.

Funding Statement

None.

Footnotes

Declaration of conflict of interest

The author of this article declares that there is no conflict of interest with regard to the content of this manuscript.

Submission declaration

The work described has not been published previously in this form. The article is not under consideration for publication elsewhere.

Data Availability Statement

Data will be provided on request.

References

  • 1.Lee S, Kim HS. Prospect of Artificial Intelligence Based on Electronic Medical Record. J Lipid Atheroscler. 2021;10(3):282-290. doi: 10.12997/jla.2021.10.3.282. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Paraschiv E, Cîrnu C, Vevera A. (2024). Integrating Artificial Intelligence and Cybersecurity in Electronic Health Records: Addressing Challenges and Optimizing Healthcare Systems.. In: Parimala VK. Electronic Health Records - Issues and Challenges in Healthcare Systems. IntechOpen; 2024. p. 1-24. doi:10.5772/intechopen.1007041 [Google Scholar]
  • 3.Kim E, Rubinstein SM, Nead KT, Wojcieszynski AP, Gabriel PE, Warner JL. The Evolving Use of Electronic Health Records (EHR) for Research. Semin Radiat Oncol. 2019;29(4):354-361. doi: 10.1016/j.semradonc.2019.05.010. PMID: 31472738. [DOI] [PubMed] [Google Scholar]
  • 4.Cowie MR, Blomster JI, Curtis LH, Duclaux S, Ford I, Fritz F, et al. Electronic health records to facilitate clinical research. Clin Res Cardiol. 2017;106(1):1-9. doi: 10.1007/s00392-016-1025-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Roots Analysis business research & consulting. Electronic Health Records Market. Available from: https://www.rootsanalysis.com/reports/electronic-health-records-market.html (accessed: 12/06/2025)
  • 6.Madden A, Bekker A. Artificial intelligence for EHR: use cases, costs, challenges. ScienceSoft Healthcare. Available from: https://www.scnsoft.com/healthcare/ehr/artificial-intelligence. (accessed 24/06/2025)
  • 7.Tuan J. Role of AI in Electronic Health Records: Insights for Transforming Healthcare Delivery. Topflight. Available from: https://topflightapps.com/ideas/ai-in-ehr/. (accessed: 20/06/2025)
  • 8.Munivel R. How Artificial Intelligence is Revolutionizing EHR/EMR Systems in Modern Healthcare. Kanini. Available from: https://kanini.com/blog/ai-in-ehr/. (accessed: 24/06/2025)
  • 9.Chauhan A. AI-Driven EHR: Transforming Healthcare with Intelligent Data Solutions. Techahead. Available from: https://www.techaheadcorp.com/blog/ai-driven-ehr-transforming-healthcare-with-intelligent-data-solutions/. (accessed: 24/06/2025)
  • 10.Parekh AE, Shaikh OA, Simran Manan S, Hasibuzzaman MA. Artificial intelligence (AI) in personalized medicine: AI-generated personalized therapy regimens based on genetic and medical history: short communication. Ann Med Surg (Lond). 2023;85(11):5831-5833. doi: 10.1097/MS9.0000000000001320. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Chen YM, Hsiao TH, Lin CH, Fann YC. Unlocking precision medicine: clinical applications of integrating health records, genetics, and immunology through artificial intelligence. J Biomed Sci. 2025;32(1):16. doi: 10.1186/s12929-024-01110-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Chanallawala M. How AI-Powered EHR Systems Are Shaping the Future of Healthcare author image. Healthray. https://healthray.com/blog/ehr/impact-ai-ehr-hospital-systems-patient-outcomes/ (accessed: 22/06/2025)
  • 13.Petrazzini BO, Chaudhary K, Márquez-Luna C, Forrest IS, Rocheleau G, Cho J, et al. Coronary Risk Estimation Based on Clinical Data in Electronic Health Records. J Am Coll Cardiol. 2022;79(12):1155-1166. doi: 10.1016/j.jacc.2022.01.021 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Wu J, Biswas D, Ryan M, Bernstein BS, Rizvi M, Fairhurst N, et al. Artificial intelligence methods for improved detection of undiagnosed heart failure with preserved ejection fraction. Eur J Heart Fail. 2024;26(2):302-310. doi: 10.1002/ejhf.3115. [DOI] [PubMed] [Google Scholar]
  • 15.Raghunath S, Ulloa Cerna AE, Jing L, vanMaanen DP, Stough J, Hartzel DN, et al. Prediction of mortality from 12-lead electrocardiogram voltage data using a deep neural network. Nat Med. 2020;26(6):886-891. doi: 10.1038/s41591-020-0870-z. [DOI] [PubMed] [Google Scholar]
  • 16.Raghunath S, Pfeifer JM, Ulloa-Cerna AE, Nemani A, Carbonati T, Jing L, et al. Deep Neural Networks Can Predict New-Onset Atrial Fibrillation From the 12-Lead ECG and Help Identify Those at Risk of Atrial Fibrillation-Related Stroke. Circulation. 2021;143(13):1287-1298. doi: 10.1161/CIRCULATIONAHA.120.047829. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Ulloa-Cerna AE, Jing L, Pfeifer JM, Raghunath S, Ruhl JA, Rocha DB, et al. rECHOmmend: An ECG-Based Machine Learning Approach for Identifying Patients at Increased Risk of Undiagnosed Structural Heart Disease Detectable by Echocardiography. Circulation. 2022;146(1):36-47. doi: 10.1161/CIRCULATIONAHA.121.057869. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Adekkanattu P, Rasmussen LV, Pacheco JA, Kabariti J, Stone DJ, Yu Y, et al. Prediction of left ventricular ejection fraction changes in heart failure patients using machine learning and electronic health records: a multi-site study. Sci Rep. 2023;13(1):294. doi: 10.1038/s41598-023-27493-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.McGilvray MMO, Heaton J, Guo A, Masood MF, Cupps BP, Damiano M, et al. Electronic Health Record-Based Deep Learning Prediction of Death or Severe Decompensation in Heart Failure Patients. JACC Heart Fail. 2022;10(9):637-647. doi: 10.1016/j.jchf.2022.05.010. [DOI] [PubMed] [Google Scholar]
  • 20.Yang X, Mu D, Peng H, Li H, Wang Y, Wang P, et al. Research and Application of Artificial Intelligence Based on Electronic Health Records of Patients with Cancer: Systematic Review. JMIR Med Inform. 2022;10(4):e33799. doi: 10.2196/33799. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Bilal M, Hamza A, Malik N. NLP for Analyzing Electronic Health Records and Clinical Notes in Cancer Research: A Review. J Pain Symptom Manage. 2025;69(5):e374-e394. doi: 10.1016/j.jpainsymman.2025.01.019. [DOI] [PubMed] [Google Scholar]
  • 22.Nashwan AJ, Hani SB. Transforming cancer clinical trials: The integral role of artificial intelligence in electronic health records for efficient patient recruitment. Contemp Clin Trials Commun. 2023;36:101223. doi: 10.1016/j.conctc.2023.101223. PMID: 38034843; PMCID: PMC10682526. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Sarwal D, Wang L, Gandhi S, Sagheb Hossein Pour E, Janssens LP, Delgado AM, et al. Identification of pancreatic cancer risk factors from clinical notes using natural language processing. Pancreatology. 2024;24(4):572-578. doi: 10.1016/j.pan.2024.03.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Li Z, Li R, Zhou Y, Rasmy L, Zhi D, Zhu P, et al. Prediction of Brain Metastases Development in Patients With Lung Cancer by Explainable Artificial Intelligence From Electronic Health Records. JCO Clin Cancer Inform. 2023;7:e2200141. doi: 10.1200/CCI.22.00141. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.NYU Langone urologists present at AUA’s 2025 annual meeting. News release. NYU Langone Health. April 25, 2025. Available from: https://tinyurl.com/563jhau6 (accessed: 24/06/2025) [Google Scholar]
  • 26.Al-Droubi SS, Jahangir E, Kochendorfer KM, Krive M, Laufer-Perl M, Gilon D, et al. Artificial intelligence modelling to assess the risk of cardiovascular disease in oncology patients. Eur Heart J Digit Health. 2023;4(4):302-315. doi: 10.1093/ehjdh/ztad031. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Yang J, Hao S, Huang J, Chen T, Liu R, Zhang P, et al. The application of artificial intelligence in the management of sepsis. Med Rev (2021). 2023;3(5):369-380. doi: 10.1515/mr-2023-0039. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Islam KR, Prithula J, Kumar J, Tan TL Reaz MBI, Sumon MSI, et al. Machine Learning-Based Early Prediction of Sepsis Using Electronic Health Records: A Systematic Review. J Clin Med. 2023;12(17):5658. doi: 10.3390/jcm12175658. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Valik JK, Ward L, Tanushi H, Johansson AF, Färnert A, Mogensen ML, et al. Predicting sepsis onset using a machine learned causal probabilistic network algorithm based on electronic health records data. Sci Rep. 2023;13(1):11760. doi: 10.1038/s41598-023-38858-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Nemati S, Holder A, Razmi F, Stanley MD, Clifford GD, Buchman TG. An Interpretable Machine Learning Model for Accurate Prediction of Sepsis in the ICU. Crit Care Med. 2018;46(4):547-553. doi: 10.1097/CCM.0000000000002936. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Germain DP, Gruson D, Malcles M, Garcelon N. Applying artificial intelligence to rare diseases: a literature review highlighting lessons from Fabry disease. Orphanet J Rare Dis. 2025;20(1):186. doi: 10.1186/s13023-025-03655-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Osei J, Razavi AC, Otchere B, Bonful G, Akoto N, Akyea RK, et al. A Scoping Review of Electronic Health Records-Based Screening Algorithms for Familial Hypercholesterolemia. JACC Adv. 2024;3(12):101297. doi: 10.1016/j.jacadv.2024.101297. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Data will be provided on request.


Articles from EJIFCC are provided here courtesy of International Federation of Clinical Chemistry and Laboratory Medicine

RESOURCES