Datasets:
5 2 0 2
b e F 7 1
] I
A . s c [
2 v 0 4 6 9 0 . 1 0 5 2 : v i X r a
ELECTRONIC HEALTH RECORDS: TOWARDS DIGITAL TWINS IN HEALTHCARE
A PREPRINT
Muhammet Alkan School of Computing Science University of Glasgow Glasgow, Scotland, UK
Hester Huijsdens School of Computing Science University of Glasgow Glasgow, Scotland, UK
Yola Jones School of Computing Science University of Glasgow Glasgow, Scotland, UK
Fani Deligianni∗ School of Computing Science University of Glasgow Glasgow, Scotland, UK Fani.Deligianni@glasgow.ac.uk
February 18, 2025
“The good physician treats the disease; the great physician treats the patient who has the disease.” — William Osler
ABSTRACT
The pivotal shift from traditional paper-based records to sophisticated Electronic Health Records (EHR), enabled systematic collection and analysis of patient data through descriptive statistics, providing insight into patterns and trends across patient populations. This evolution continued toward predictive analytics, allowing healthcare providers to anticipate patient outcomes and potential complications before they occur. This progression from basic digital record-keeping to sophisticated predictive modelling and digital twins reflects healthcare’s broader evolution toward more integrated, patient-centred approaches that combine data-driven insights with personalized care delivery. This chapter explores the evolution and significance of healthcare information systems, beginning with an examination of the implementation of EHR in the UK and the USA. It provides a comprehensive overview of the International Classification of Diseases (ICD) system, tracing its development from ICD-9 to ICD-10. Central to this discussion is the MIMIC-III database, a landmark achievement in healthcare data sharing and arguably the most comprehensive critical care database freely available to researchers worldwide. MIMIC-III has democratized access to high-quality healthcare data, enabling unprecedented opportunities for research and analysis. The chapter examines its structure, clinical outcome analysis capabilities, and practical applications through case studies, with a particular focus on mortality and length of stay metrics, vital signs extraction, and ICD coding. Through detailed entity-relationship diagrams and practical examples, the text illustrates MIMIC’s complex data structure and demonstrates how different querying approaches can lead to subtly different results, emphasizing the critical importance of understanding the database’s architecture for accurate data extraction. The chapter concludes by discussing the progression from descriptive analytics to digital twins in healthcare, highlighting the transformation toward more sophisticated and personalized healthcare information systems.
Keywords EHR · ICD · MIMIC · descriptive statistics · predictive analytics · digital twins
∗Corresponding author, Fani Deligianni
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
1 Electronic Health Records
1.1 Electronic Health Records
Electronic Health Records (EHRs) are digital versions of a patient’s health information. EHRs exhibit a diverse composition, encompassing both structured and unstructured data types, such as medical images, Electrocardiograms (ECGs), laboratory results, narrative, diagnostic reports, medical interventions and hospitalisations.
Unlike clinical trials, which follow-up patients at regular intervals (e.g., 6 months, 1 year, 5 years), electronic health records capture data at irregular intervals by recording the dates of each event. For example, someone may be hospitalised for three days, receive extensive medical follow-up during these three days, and then not be seen by the medical system for the following year (see Figure 1 as an example).
Figure 1: Patient’s Timeline
1.2 The transition to Electronic Health Records in the UK and USA
The shift from paper-based to Electronic Health Records (EHRs) has profoundly influenced healthcare data management, enhanced the quality of clinical decision making and opened new avenues for biomedical research. It also signaled a transition from independent records to integrated databases.
An overview of the adoption of EHRs in the USA and UK healthcare systems are shown in Figure 2 and Figure 3, respectively. This transition took over the period of two decades and it highlights the challenges and requirements for a successful integration. The US and the UK health care systems are organised very differently [Wilson and Khansa, 2018]. UK has one of the largest public sector system. On the other hand, USA has the largest private-sector system and one of the largest health care expenditure in the world.
Health Insurance Portability and Accountability Act is the first of the USA laws to affect IT in healthcare [Ozair et al., 2015]. It was enacted in August of 1996. Part of this sets the rules and requirements for the privacy and security of information. This information was referred to as Protected Health Information. Rules were set in place for what and how it could be accessed and shared. The purpose was to encourage the use of electronic data interchange by explaining how data could safely be shared between parties. Part of it was to define standards for corporations to abide by and thus help building interoperability.
Despite HIPAA, by 2006, over 80% of US physicians lacked access to EHRs, leading to efforts to establish a nationwide health information network and the extension of Protected Health Information (PHI) responsibility to business associates.
2
1st April 2018 1st May 2018 HospitalisedRoutine Hospital Check-upGP VisitAdmissionDischargeBlood TestVital Signs CheckedBlood TestElectronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 2: The transition to EHRs in UK
The Patient Protection and Affordable Care Act in 2010 and the US Food and Drug Administration Safety and Innovation Act in 2012 further advanced public health, stakeholder engagement, and the safety of the drug supply chain.
On the other hand, the UK initiated the National Program for IT in 2002, aiming for digitization of health records and paperless operations by 2020, but faced challenges in meeting stakeholder expectations. While substantial advancements have been made, there is still complexity in the healthcare system that requires careful management to optimize the use of EHRs [Gamal et al., 2021].
Figure 3: The transition to EHRs in USA
1.3 Clinical Registries and Databases in Healthcare
Clinical registries play a crucial role in modern healthcare systems by serving as comprehensive repositories of patient data focused on specific conditions or diseases. These sophisticated systems are designed to collect, store, and analyze
3
2002NHS National Programme for IT (NPfIT) 2011Personalised Health and Care 2020 (PHC2020)2014100% EHR in primary care, hospitals, community care facilities•Digitizing patient health records•Promoting real-time access to EHR•Promoting interoperability•Enable healthcare research•Taking healthcare records paperless•Promote interoperability•Allow patients to make more informed decisions about their care•Improve research and enable transparency of research findings through publishing comparative data•Aims at reducing healthcare costs and improve value2019The institute of medicine publishes recommendations for the use of Electronic Health Records in clinical careThe Health Insurance Portability and Accountability Act (HIPPA) is published to standardize the use of EHRs (with an emphasis on security)Study published in the New England Journal of Medicine found that 83% of physicians did not yet have access to an EHR systemThe Affordable Care Act (ACA) published to encourage proper use of Electronic Health RecordsUS Food and Drug Administration Safety and Innovation Act (FDASIA) published aimed at safeguarding and advancing public health 21st Century Cures Act prohibits “Information blocking”, a practice which prevents access to EHRsMyHeathED initiative announced which will allow patients to easily access their own records1991199620082010201220182016Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
information over extended periods, offering invaluable insights into patient care and treatment outcomes. The primary functions of clinical registries include monitoring and enhancing the quality of care, evaluating the efficacy of various treatments, and providing a solid foundation for research initiatives in targeted medical areas.
Several notable examples of clinical registries have been established across Europe, each contributing significantly to their respective fields. The Dutch CONCOR Registry, initiated in 2005, stands as the national registry and DNA bank for patients with congenital heart disease in the Netherlands [Vander Velde et al., 2005]. This registry has been instrumental in advancing understanding and treatment of congenital heart conditions in the country. Similarly, SWEDCON, the Swedish National Registry on Congenital Heart Disease, exemplifies another comprehensive approach to data collection and analysis in this specialized field [Bodell et al., 2017]. By consolidating information from across Sweden, SWEDCON has become an essential tool for researchers and clinicians alike, driving improvements in patient care and outcomes. In Belgium, the BELCODAC (BELgian COngenital Heart Disease Database combining Administrative and Clinical data) represents a more recent development [Ombelet et al., 2020]. Established in 2020, this registry takes an innovative approach by merging administrative and clinical data, providing a more holistic view of patient experiences and treatment efficacy.
While clinical registries focus on specific conditions or diseases, clinical databases cast a wider net, encompassing health information from a broader range of sources. These databases are not limited to particular conditions but instead offer a comprehensive overview of patient health data. A prime example of this broader approach is the hospital database, which typically contains a wealth of information on various medical conditions, treatments, and patient outcomes within a single healthcare institution or network.
The distinction between clinical registries and databases lies in their scope and focus. Registries are tailored to specific conditions, allowing for deep, targeted analysis and research. Databases, on the other hand, offer a more expansive view of health information, facilitating broader studies and analyses across multiple conditions and patient populations. Both clinical registries and databases are invaluable tools in the healthcare landscape. They not only support day-to-day patient care but also drive medical research, inform policy decisions, and contribute to the overall advancement of medical knowledge and practice. As healthcare continues to evolve, these data collection and analysis systems will undoubtedly play an increasingly vital role in shaping the future of patient care and medical research.
2
International Classification of Disease System
2.1 The World Health Organisation and the International Classification of Disease System
The International Classification of Diseases (ICD) system, maintained by the World Health Organization (WHO) [Hardiker et al.], plays a crucial role in global healthcare. This standardized coding system enables the collection of reliable data for statistical and machine learning applications, facilitating comparisons across different locations and time periods [Centers for Disease Control and Prevention, 2024, Raminani, 2015]. The WHO, representing 194 member states, strives to promote optimal health standards for all individuals, regardless of their socioeconomic status, race, gender, religion, or political beliefs. At its core, the organization upholds the principle that access to affordable and comprehensive healthcare is a fundamental human right.
Health is influenced by various factors, including biomedical, genetic, behavioral, socioeconomic, and environmental determinants. To measure health and wellbeing effectively, common metrics are essential. These include objective measures like life expectancy and mortality rates, as well as subjective assessments of an individual’s perceived well-being. The ICD system serves as the international standard diagnostic tool for epidemiology, health management, and clinical purposes. It translates diagnoses and health problems into alphanumeric codes, enabling systematic storage, retrieval, and analysis of data. This standardization allows for meaningful comparisons of morbidity and mortality data across hospitals, nations, and time periods. Developed collaboratively between the WHO and international centers, the ICD system aims to group medical terms reported by physicians, medical examiners, and death certificates for statistical purposes. Its broad acceptance and official agreement for use have made it an invaluable tool for international health reporting.
The ICD system benefits various stakeholders in the healthcare sector. Clinicians, including physicians, nurses, and health workers, use it to support patient care decisions. Administrators, such as health information managers, policymakers, and insurers, rely on it for resource allocation and program management. Researchers and epidemiologists utilize the data for population health studies and the development of AI-based decision support systems.
4
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 4: Evolution of the International Classification of Diseases System
2.2 Evolution of the ICD System
The International Classification of Diseases (ICD) system has a rich history spanning nearly four centuries, Figure 4. Its roots can be traced back to 17th-century England, where epidemiologist John Graunt recognized the need to organize mortality data systematically [Boyce, 2020]. His pioneering work, the London Bills of Mortality, marked the first statistical study of disease, though it was limited by inconsistent nomenclature and poor data quality.
The modern era of disease classification began in the late 19th century with the efforts of William Farr, often regarded as the first medical statistician. Farr’s 1855 report on the nomenclature and statistical classification of diseases laid the groundwork for a more comprehensive approach, emphasizing the importance of classifying diseases based on the organic systems they affect.
In 1893, the International Statistical Institute adopted the first edition of the International List of Causes of Death, marking the birth of the modern ICD system. This classification, based on the work of Jacques Bertillon, distinguished between general diseases and those localized to specific organs or anatomical sites. The system was widely adopted by American and European countries, with an agreement to update it approximately every decade.
Throughout the 20th century, the ICD system underwent significant transformations [Moriyama et al., 2011, Hardiker et al.]. The sixth revision in 1948 marked a pivotal moment as the World Health Organization (WHO) adopted it as its official classification system. This version expanded beyond mortality to include morbidity, recognizing the importance of non-fatal but chronic conditions.
Subsequent revisions brought further refinements. The ninth revision introduced a dual classification system reflecting both etiology and manifestation, while the tenth revision implemented an alphanumeric coding structure for greater flexibility and expansion.
The latest iteration, ICD-11, adopted in 2019 and effective from 2022, represents a significant leap forward [Lancet, 2019]. Designed for the digital era, it aims to improve diagnostic accuracy, enhance the coding of healthcare quality and safety, and better account for socioeconomic factors influencing health. ICD-11 also simplifies diagnostic descriptions, particularly in mental health.
5
ILCDILCD 1ILCD 2ILCD 3ILCD 4ILCD 5ICD 6ICD 7ICD 8ICD 9ICD 10ICD 11. . . 1893 1899 1909 1920 1929 1938 1948 1955 1965 1975 1990 2022International Statistics Institute creates the International List of Causes of Death ILCD standard given formally to WHO (World Health Organisation) and becomes International Classification of DiseasesCorrections and amendments made to ICD-6Basic structure left unchanged, coding changed to reflect etiology rather than manifestation of disease Details added whilst maintaining the hierarchical structure to ensure those not needing detail could still use the code. Details not included in previous versions were added, in a re-structured format that allowed better opportunity for expansion Coding Scheme is reformatted to extend the coding system and allow conditions to be clustered more easilyElectronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 5: ICD09 and ICD10 Chapters
The ICD system’s evolution reflects the ongoing effort to create a comprehensive, flexible, and internationally accepted classification of diseases. Its widespread adoption has made it an indispensable tool for comparing health statistics across different countries and time periods, playing a crucial role in global health management and research.
2.3 Understanding ICD-9 and ICD-10 Coding Systems
2.3.1 ICD-9 Coding System
The ICD-9 coding system consists of a five-digit structure: the first three digits reflect a category, while the last two digits indicate the cause or location. Categories encompass a wide range of classifications, including epidemic diseases, constitutional or general diseases, local diseases arranged by system (e.g., circulatory, respiratory), developmental dis- eases, and injuries. The World Health Organization mandates a minimum of three-character categories for international reporting and comparison, with the fourth digit filled with ’X’ when no further subdivision information is available.
ICD-9 categories cover a broad spectrum of medical conditions, starting from epidemic diseases and progressing through various systemic disorders such as neoplasms, endocrine and metabolic diseases, blood disorders, mental disorders, and diseases of specific organ systems. The classification also includes developmental diseases, injuries, and poisoning. The last two categories use letters as the first digit and offer supplemental classifications.
2.3.2 From ICD-9 to ICD-10
The International Classification of Diseases (ICD) has evolved significantly from its ninth revision (ICD-9) to its tenth revision (ICD-10), resulting in substantial changes in disease classification and coding, as it is shown in Figure 5 and Figure 6. ICD-10 represents a major advancement over ICD-9, offering greater specificity and flexibility in disease classification [Organization, 2004]. While ICD-9 primarily used numeric codes with occasional use of letters E and V, ICD-10 adopts an alphanumeric system. The first character in ICD-10 is always alphabetic, followed by two numeric digits for the category. Subsequent characters can be either alphabetic or numeric, allowing for more detailed classification.
The structural differences between the two systems are significant as is also shown in Figure 5. ICD-10 contains 21 chapters compared to ICD-9’s 17, providing more comprehensive coverage of health conditions. The expanded structure of ICD-10 allows for more precise coding of diseases, injuries, and health status factors. For instance, ICD-10 separates sense organ disorders from nervous system disorders and reorganizes injury classifications by anatomical site.
6
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 6: ICD-9 VS ICD-10
One crucial aspect to understand is that there is not always a one-to-one mapping between ICD-9 and ICD-10 codes, Figure 6. A single ICD-9 code might correspond to multiple ICD-10 codes, or vice versa, depending on the specificity required. This lack of direct correlation can pose challenges when transitioning between the two systems or when analyzing historical data. ICD-10 introduces several special signs and symbols to enhance coding precision. The dagger (†) and asterisk (*) system is particularly noteworthy. The dagger code represents the underlying disease process, while the asterisk code indicates its manifestation in a particular organ or site. This dual coding allows for a more comprehensive description of complex medical conditions. Other important symbols in ICD-10 include parentheses for supplementary information, square brackets for synonyms or alternative phrases, and colons to indicate the need for additional digits to complete a code. The terms "Not Otherwise Specified" (NOS) and "Not Elsewhere Classified" (NEC) are used to handle cases where information is incomplete or a specific code is unavailable.
The transition to ICD-10 has significant implications for healthcare information systems. It allows for more detailed patient records, improved data analysis, and better tracking of health trends. However, it also requires substantial changes in coding practices and software systems.
Looking ahead, ICD-11 has been introduced to address some limitations of ICD-10. It offers improved functionality in digital environments, incorporates more detailed morbidity information, and provides better support for multilingual applications. These ongoing developments underscore the dynamic nature of disease classification systems and their critical role in modern healthcare management.
In conclusion, understanding the differences between ICD-9 and ICD-10, as well as the special features of ICD-10, is crucial for healthcare professionals, researchers, and information systems specialists. The increased specificity and flexibility of ICD-10 offer enhanced capabilities for disease classification and health data analysis, paving the way for more precise and effective healthcare management and research. ICD-10 was mandated for use in UK healthcare system in 1995. ICD-9 is still used in publicly available EHR databases such as MIMIC III.
3 Datasets for Research and MIMIC
3.1 MIMIC Critical Care Dataset: The Impact
The MIMIC (Medical Information Mart for Intensive Care) dataset stands as a cornerstone in healthcare research, offering a comprehensive collection of de-identified electronic health records from hospital and intensive care unit settings [Johnson et al., 2018, Bulgarelli et al., 2020, Johnson, 2014]. Developed by the Laboratory for Computational Physiology at MIT, MIMIC has evolved through several iterations. This dataset’s significance lies in its volume, quality, and representation of real-world hospital data spanning over a decade. It includes a wide range of clinical information such as lab tests, medical diagnoses, vital signs, and medications, providing researchers with a rich source of complex physiological signals and clinical data.
The creation of MIMIC was driven by the need to generate new knowledge from the vast amount of data captured daily in intensive care units. By making this de-identified dataset freely accessible under a data use agreement, MIMIC has opened up unprecedented opportunities for both academic and industrial research in healthcare and related fields [Saeed et al., 2002, 2011, Johnson et al., 2016]. MIMIC’s impact on research has been substantial and far-reaching. Since
7
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
its initial release, the dataset has garnered thousands of citations, with an exponential growth in its use across various disciplines. While its primary impact has been in medicine and critical care, MIMIC has also significantly influenced research in computer science and in particular in machine learning and natural language processing. The dataset’s comprehensive nature has enabled sophisticated research in deep learning models, clinical decision support systems, and big data analytics in healthcare. It has become a valuable resource for developing and validating new algorithms and technologies in medical informatics.
Moreover, MIMIC has set a standard for de-identifying free-text and clinical information, serving as a model for other clinical databases. Its public availability has facilitated reproducibility in clinical studies, a crucial aspect of advancing medical research.
In conclusion, the MIMIC dataset represents a significant advancement in healthcare data accessibility and has become an indispensable tool for researchers across multiple disciplines. Its continued growth and impact underscore its importance in driving innovation in healthcare analytics and clinical research.
3.2 An overview of MIMIC III: Data Linkage
Designing a database schema to encode the complexity of EHR information presents challenges cite [Moody, 2009]. The database must be accessible to doctors and other healthcare providers simultaneously and in a unified manner. Interoperability is crucial, involving enhanced quality, efficiency, and effectiveness of the healthcare system. Information should be provided in the appropriate format when needed, eliminating unnecessary duplication.
The choice of database and its schema architecture influences the effective management of medical data, flexibility, scalability, query performance, and interoperability. Non-proprietary standardized models are essential for building electronic health record systems that meet interoperability requirements. MIMIC-III serves as an excellent example in this regard, Figure 7.
During ICU stays, various signals are monitored, including vital signs, waveforms, alarms, fluids, medications, and progression reports from doctors. Hospital data includes billing details, International Classification of Disease codes related to pathology and symptoms, patient demographics, and other notes concerning medical images and discharge summaries.
A key step in building the MIMIC-III database was the de-identification process, ensuring compliance with the Health Insurance Portability and Accountability Act. All fields related to patient identification were removed, including names, telephone numbers, and addresses. Dates were shifted into the future by a random offset for each patient, preserving intervals while protecting privacy. This shift maintained seasonality, time of day, and day of the week. Special measures were taken to protect individuals with rare age characteristics, and text fields like diagnostic reports and physician notes were carefully processed to remove any protected health information.
It provides a wealth of In conclusion, MIMIC-III links data across hospitals, ICU units, and Death Registries. information, including lab examinations, medications, International Classification of Disease coding, and vital signals. As the only freely available database of its kind without major usage restrictions, MIMIC-III represents a valuable resource for healthcare research and analysis.
3.3 MIMIC-III as a Relational Database
This section explores the structure of MIMIC-III as a relational database, with the aim of providing an understanding of the database schema, its basic tables, Figure 7, and navigation methods. The MIMIC-III database contains over 53,000 distinct hospital admissions for patients aged 60 years and above, admitted to critical care between 2001 and 2012. It also includes data on more than 7,800 neonates from 2001 to 2008.
To effectively extract information from this electronic health record database, it’s crucial to understand both the database schema and the data sources. Most queries will involve joining information between the basic tables holding data for patient admissions in the hospital and ICU stays.
The MIMIC-III is a relational database comprises 26 tables, reflecting the inherent hospital information sources. Its structure closely represents the raw data, with only minor adjustments made based on user feedback. These tables can be categorized into four groups: patient tracking, ICU data, hospital data, and dictionary tables. The subject ID refers to a unique patient, the hospital admission ID to a unique hospital admission, and the icustay ID to a unique ICU admission.
The core tables of MIMIC-III are the patients table, the admissions table, and the icustays table. These tables form the foundation for extracting various summary statistics. The patients table contains a subject ID identifier linking it to the
8
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 7: MIMIC III as a relational database - Tables
admissions and ICU tables. It includes information such as date of birth (shifted for patients over 89 years old to protect privacy) and different versions of date of death. The admissions table records every unique hospitalization for each patient, including admission and discharge times, type of admission, and diagnosis information. The icustays table documents every unique ICU stay, with details like care unit, ward locations, and length of stay.
Other significant tables include the transfers table, which provides information on patient movements within the hospital, and the callout table, which records ICU discharge clearance and actual discharge times. The chartevents table is crucial for ICU data, containing all chart event observations for patients. The outputevents table focuses on patient output measurements.
When working with ICU data, particularly chartevents data, it’s essential to consider the dictionary tables. These provide definitions for identifiers, allowing researchers to cross-reference codes against their respective definitions.
In the hospital data category, frequently used tables include the labevents table, containing laboratory test results. It’s worth noting that in cases of disagreement between measurements, labevents should be considered the ground truth. The ’procedures_icd’ and ’diagnoses_icd’ tables contain procedure and diagnosis information coded using the International Statistical Classification of Diseases (ICD-9) system.
Researchers are advised to develop database views and transform data as needed rather than combining tables within the MIMIC data model. This approach maintains the integrity of the original data sources while allowing for flexible analysis.
3.4 MIMIC-III - Descriptive Statistics
Descriptive statistics serve as a powerful tool in retrospective studies, allowing researchers to overview historic data and explain trends. This section explores how to formulate simple yet effective queries using the MIMIC-III database. It’s important to note that extracting patient data can yield different estimations depending on which table identifier is used, underscoring the necessity of thoroughly understanding the database schema and its data encoding methods.
Descriptive statistics in MIMIC-III typically involve common queries that provide insights into the distribution of data within the database. These queries, while relatively simple, offer powerful ways to interrogate the database and generate intuitive summary visualizations. They often focus on patient characteristics, intensive care unit utilization, and patient outcomes such as mortality.
When estimating the number of patients, multiple approaches can lead to similar but not identical results. For instance, one can examine the number of distinct patients across care units, unique hospital admissions, or unique admissions to ICUs. Each method yields slightly different results, as some patients may have multiple admissions or transfers between units.
9
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
A fundamental query in electronic health record databases involves examining age distribution across different de- partments. In MIMIC-III, this is particularly useful for understanding age distribution across intensive care units. By combining the Patients and Icustays tables, researchers can compute age by subtracting the time of ICU admission from a patient’s date of birth. The first_careunit identifier in the Icustays table provides information about different care units.
Similarly, gender distribution across critical care units can be extracted by combining the Patient and Icustays tables based on the subject_id identifier. This query collects information about the ICU each patient was admitted to, along with gender, date of birth, and hospital admission time. These data points allow for age computation and filtering of patients older than 16 years, focusing the analysis on the adult population.
Visualizing these statistics can provide insights into which conditions that affect males and females differently across various critical care units. For instance, observations might reveal higher numbers of men in intensive care units related to cardiac problems and trauma surgery.
Another valuable descriptive statistic involves extracting distinct patient hospitalizations, Figure 8. This query combines the Patient and Icustays tables to obtain each patient’s unique identifier and corresponding ICU admission information. It’s worth noting that the Icustays identifier groups all ICU admissions within 24 hours of each other, meaning a patient transferred between ICU types might have the same Icustay ID.
Researchers might also be interested in the number of unique hospital admissions and their distribution across intensive care units, Figure 9. This query combines the Patients and Icustays tables based on each patient’s unique subject identifier, collecting information about patient identifiers, dates of birth, and unique hospital stay identifiers.
To identify distinct ICU admissions, a similar process is followed, but using the unique ICU stay identifier instead of the hospitalization identifier, Figure 10. This distinction is important because the MIMIC-III database was constructed by linking hospital and ICU information, resulting in unrelated identifiers between the two systems.
Comparing the results of these queries highlights the differences between unique patient admissions, unique hospital admissions, and unique ICU stays. Generally, the number of distinct patients across all care units is slightly less than the number of hospitalizations, which in turn is less than the number of ICU admissions across different units.
Descriptive analytics can provide valuable insights about patient numbers and resource utilization, revealing trends and anomalies over time. For example, studies based on descriptive statistics have shown steady increases in chronic illnesses like diabetes mellitus and hypertension, as well as an increasing proportion of elderly patients and women in hospital populations.
These analytics can also shed light on how emerging technologies impact patient outcomes, length of stay, associated risks of complications, and resource consumption. They can reveal trends such as declining hospital mortality from acute coronary syndromes or the increasing age of admitted patients over time.
While descriptive analytics offer substantial information about historic data and can explain trends, they are limited to retrospective studies. They cannot predict future outcomes or prevent diseases and high mortality rates. Nevertheless, they remain a crucial tool in understanding the complex landscape of critical care and hospital utilization patterns.
3.5 MIMIC III and Clinical Outcomes: Mortality and Length of Stay
3.5.1 Mortality as a clinical outcome
Mortality is the primary outcome measure employed in prediction studies across critical care and much of medicine. As a reliable indicator (surrogate) of illness severity, clinicians and researchers use this signal to identify trends and correlations between clinical data and patient outcomes. However, defining mortality is more complex than it might initially appear, particularly when dealing with retrospective data.
In the MIMIC database, complications arise from situations such as patients whose consecutive hospitalisations ultimately result in mortality. While these are considered as distinct hospital admissions, the underlying cause is the same. Mortality data is also prone to selection bias depending on the information source. For instance, hospital mortality records might not include deaths occurring after discharge to home care, potentially biasing any trained models if there’s a routine process for discharging patients with severe illnesses to home care.
Researchers have some control over how mortality is defined as an outcome. The definition of mortality as death during the first 30 days of admission provides a more robust signal for immediate physiological abnormalities associated with the patient’s admission. Conversely, one-year mortality emphasizes chronic illnesses and parallel conditions.
To extract mortality numbers for adult ICU patients in MIMIC, Figure 11, we combine the Patients and ’Icustays’ tables using the ’subject_id’. We extract the date of death, date of birth, ICU transfer time, and the type of ICU first admitted
10
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 8: MIMIC-III: Distinct Patients’ Hospitalisations
Figure 9: MIMIC-III: Hospital Admissions
11
MIMIC-III: Distinct Patients’ HospitalisationsTotal Patients: 38,597 Total hospital admissions: 49,785 Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 10: MIMIC-III: Distinct ICU Admissions
Figure 11: MIMIC-III: ICU Mortality as a clinical outcome
to. A patient is considered to have died in the ICU if their death was registered while in the ICU, or within six hours before admission or after leaving. This query focuses on patients older than 60 years. Visualizing these results shows that total ICU mortality is about 8.5%, corresponding to approximately 4,565 patients. The medical ICU accounts for 49% of these deaths, despite having only about 39% of total ICU patients, indicating a higher mortality rate in this unit compared to others.
For hospital mortality, we use the hospital_expire_flag in the admissions table, Figure 12. This query combines the ICU stays, patients, and admissions tables, filtering for patients older than 16. The results show an increase in total mortality to 11.5% when considering hospital-wide deaths, with 50% occurring in the medical ICU.
12
Total ICU stays: 53,423 Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 12: MIMIC-III: Hospital Mortality as a clinical outcome
Figure 13: MIMIC-III: Hospitalisation length as a clinical outcome
3.5.2 Length of Stay as a clinical outcome
Length of stay is another crucial metric, relating to both patient outcomes and resource utilization. To extract this data, we combine the patients, ICU stays, and admissions tables, focusing on patients older than 60. Length of stay is computed by subtracting the discharge time from the admission time, using the unique hospital admission identifier to ensure each admission corresponds to only one ICU stay, Figure 13.
In conclusion, while mortality and length of stay are the most common outcomes used in predictive models, their seemingly simple definitions can be deceptive. Small differences in estimation methods can lead to significantly different conclusions. The MIMIC-III database provides a valuable resource for understanding how to form queries and extract this critical data, offering researchers a robust platform for developing and refining predictive models in critical care settings.
3.6 MIMIC III: Exploring Patient Data - Vital Signs Extraction for a Single Patient
Understanding vital signs and medication data for individual patients admitted to intensive care units is crucial, as it forms the foundation for extracting clinical variables across multiple patients. These variables can include lab exams, signs and waveforms, as well as doctor reports and prescriptions.
13
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
To begin exploring patient data, we start by selecting a random ICU stay identifier and its corresponding subject identifier. This allows us to focus on data related to a specific patient and ICU admission. By combining the Admissions, ICU Stays, and Patients tables, we can create a comprehensive view of the patient’s stay, including their unique subject identifier, hospital identifier, admission type, diagnosis, ICU stay identifier, first and last care units, and ICU admission time, Figure 14.
The Chartevents table is a key source of data obtained from patients in the ICU. It contains information from both CareVue and MetaVision ICU databases, displaying routine vital signs and additional care-relevant information such as ventilator settings, laboratory values, code status, and mental status. To extract all charted events for a single patient, we combine the Chartevents table with ICU stays and the Dictionary Items table. This allows us to retrieve the time of charted events, the time elapsed since ICU admission, event labels, values, and measurement units.
Similarly, the Outputevents table provides crucial data on body fluids and other measurements, such as those from Foley catheters. We use a similar process to extract this data, joining the ICU stays table with the Outputevents table and the Dictionary table for item verification, Figure 15.
Medication intake during an ICU stay is recorded in the Inputevents_mv table. By joining this table with ICU stays and Dictionary Items, we can collect all input events for a single patient’s ICU stay, including start and end times, labels, amounts, measurement units, and administration frequency, Figure 16.
Lab events, which are part of the hospital database rather than the ICU stays database, are summarized in the Labevents table, Figure 17. These events might include measurements such as red blood cell count or magnesium levels. It is important to note that when there is a discrepancy between Labevents and Chartevents, the Labevents table should be considered the ground truth.
Visualizing this extracted data provides a comprehensive view of the patient’s condition over time. We can plot various measurements against the time since ICU admission, typically in hours. This visualization might include the Glasgow Coma Scale (which measures consciousness level), lab event results, medication administration (both frequent and sporadic), and vital signs such as heart rate, O2 saturation, respiratory rate, and output volume. An example is shown at Figure 18.
These visualizations allow clinicians to understand a patient’s progress in the intensive care unit over time. They provide a holistic view of the patient’s condition, combining various data points to create a comprehensive picture of the patient’s health status and treatment.
In summary, extracting data from MIMIC-III for a single patient in a single ICU stay involves examining charted events (primarily vital signs), output events (secretions and urine), input events (administered medications), and lab events (laboratory tests). This detailed exploration of individual patient data sets the stage for broader analyses across multiple patients, enabling researchers and clinicians to identify patterns, trends, and potential areas for improving patient care in intensive care settings.
14
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 14: MIMIC-III: Charted Events for a Single Patient
Figure 15: MIMIC-III: Output Events of ICU Stay for a Single Patient
15
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 16: MIMIC-III: Medication intakes during an ICU stay for a single patient
Figure 17: MIMIC-III: Lab events during an ICU stay for a single patient
16
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 18: MIMIC-III: Vital signs during an ICU stay for a single patient
3.7 MIMIC III and ICD Codes: ICD-9 in MIMIC-III
The International Classification of Diseases, 9th Revision (ICD-9) serves as the disease classification system used in the MIMIC-III database. This section demonstrates how ICD-9 codes can be utilized to extract summary statistics from the MIMIC-III database, such as the number and distribution of patients across age groups diagnosed with specific diseases.
In MIMIC-III, ICD codes are stored in the Diagnoses_icd table, which can be linked to the Patients and Admissions tables via the subject_id. To extract meaningful data, such as patients diagnosed with hypertension who are at least 30 years old, we need to join these tables, Figure 19. This allows us to find the age of patients based on their date of birth and admission date, filter for age, and then identify patients assigned specific ICD-9 codes related to hypertension. Visualizing these results can provide valuable insights. For instance, a histogram of age versus the number of patients with hypertension typically shows a peak between 60 and 80 years old, aligning with clinical expectations.
Another useful query involves extracting the distribution of ICD-9 codes across intensive care units in the MIMIC-III database. This process involves sorting ICD-9 codes by prevalence, selecting the top five codes, and focusing on patients older than 60 years admitted to an ICU. By combining the patient, admission, ICU stays, and diagnosis tables, we can extract information such as patient age, primary diagnosis, ICD-9 code description, and hospital admission identifier, Figure 20.
Visualizing these results across different ICU types reveals interesting patterns, Figure 21. For example, in coronary care units and cardiac surgery recovery units, diseases related to the circulatory system are most prevalent. Medical ICUs show a mix of circulatory and pulmonary diseases, while trauma surgery ICUs, as expected, feature more trauma-related diagnoses. Surgical and medical ICUs tend to display a more diverse profile of ICD codes.
It’s important to note that a single hospital admission can be assigned multiple ICD-9 codes, reflecting the fact that a patient may suffer from several diseases simultaneously upon admission. When querying, attention should be paid to the priority of each ICD-9 code to focus on primary diagnoses.
In summary, understanding the structure of ICD-9 codes and their implementation in MIMIC-III allows researchers to extract valuable information about disease distribution across age groups and ICU types. This knowledge forms a crucial foundation for more advanced analyses and can provide important insights into patient populations and care patterns in intensive care settings.
17
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 19: MIMIC-III: ICD-9 Code Queries in MIMIC-III
Figure 20: MIMIC-III: Extracting the distribution of ICD-9 Codes across ICUs
3.8 Clinical Concepts in MIMIC III
Clinical concepts in MIMIC III represent definitions and models that provide information about the severity of illness, based on pre-specified sets of clinical variables provided by field experts. These concepts were developed well before the success of machine learning models to quantify the severity of illness or organ failure, predict specific patient events, and allow for timely intervention and treatment to improve outcomes and provide better care administration.
The development of clinical concepts based on electronic health record databases is challenging and resource-intensive, requiring close collaboration between data scientists and domain experts. MIMIC provides an ideal substrate for building clinical concepts collaboratively, bridging the gap between those familiar with the database and clinical workflows, and data scientists or statisticians. These models are precursors to machine learning models, with some exploiting techniques such as regression to refine initial expert intuition.
Concepts in MIMIC include severity of illness scores, organ dysfunction scores, timing of treatment, definition of sepsis, and comorbidities. The inclusion of these concepts in the MIMIC repository helps remove barriers for data scientists unfamiliar with the clinical environment.
Severity of illness scores, such as the Acute Physiology Score (APS) and its variations, have been developed to assess patient acuity, particularly at the time of ICU admission. These scores examine disturbances in normal bodily functioning and typically comprise at least 10 independent components calculated using data from the first 24 hours of a patient’s stay. The APS, also known as APACHE (Acute Physiology, Age, and Chronic Health Evaluation), has
18
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 21: MIMIC-III: The distribution of ICD-9 Codes across ICUs
evolved through several versions, incorporating more sophisticated statistical techniques and expanding its applications to include risk stratification, mortality prediction, and benchmarking hospital performance.
The Simplified Acute Physiology Score (SAPS) aimed to streamline the APS by reducing the number of required physiological parameters. Its subsequent versions incorporated data-driven feature selection and expanded the geo- graphical scope of the data used in its development. Organ dysfunction scores, another important concept in MIMIC, assess multiple organ systems or focus on specific organs. Examples include the Sequential Organ Failure Assessment (SOFA), Logistic Organ Dysfunction System (LODS), Model for End-Stage Liver Disease (MELD), and various kidney disease assessment tools. These scores are used for prediction and prognosis, following a similar development pathway to illness severity scores.
The timing of treatment and sepsis detection are crucial concepts implemented in MIMIC. Sepsis, a life-threatening organ dysfunction caused by a dysregulated host response to infection, is a major concern in ICUs. MIMIC III provides case selection for sepsis based on ICD-9 codes, enabling the development of early warning systems using high-resolution physiological data and machine learning algorithms.
Comorbidities, referring to chronic conditions that patients have prior to ICU admission, are another important concept in MIMIC. The database defines 29 categories based on ICD-9 codes, recognizing the impact of these conditions on a patient’s probability of surviving significant illness.
While these clinical concepts provide valuable tools for population studies and quality of care assessments, their predictive power for individual patient outcomes is limited. This limitation stems partly from variant disease definitions and patient population heterogeneity. Advanced machine learning methods promise to deliver better warning systems and potentially outperform these traditional clinical concepts. In summary, concepts in MIMIC III implement well- known scores of illness severity and organ dysfunction, providing an ideal substrate for comparing their performance and enabling reproducibility. However, these concepts are primarily based on expert knowledge, and their prognostic power is limited. With the availability of big data, there is hope that state-of-the-art machine learning approaches will provide personalized outcome predictions, potentially outperforming the clinical concepts developed over the past few decades. This evolution in clinical prediction models represents an exciting frontier in critical care research and practice.
19
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
3.9 Flowchart of Patient Inclusion: Relation of Catheterization to Mortality - An Example Study
This section discusses a clinical study that utilizes the MIMIC database to estimate the relationship between mortality and an intervention in intensive care unit patients. The study serves as an example of a complex selection pipeline for patients and clinical variables, followed by the construction of a model that enables statistical comparisons between control and intervention groups.
Indwelling arterial catheters are widely used in intensive care units for continuous hemodynamic monitoring and blood gas analysis. While these catheters provide crucial information about oxygen delivery to tissues and organs, they also carry risks such as bloodstream infections and vascular complications. A study published in CHEST in 2015 aimed to test the hypothesis of whether catheterization was associated with mortality in the ICU, prompted by concerns about the high rate of bloodstream infections associated with central venous catheters and, to a lesser extent, indwelling arterial catheters [Hsu et al., 2015].
The study’s purpose was to examine the association between indwelling arterial catheters and outcomes in a large cohort of hemodynamically stable intensive care patients with respiratory failure undergoing mechanical ventilation. This cohort was extracted from the MIMIC database using specific selection criteria based on clinical expertise.
The patient inclusion flowchart began with all patients in MIMIC III older than 16 years with administration records, Figure 22. The study focused on patients requiring mechanical ventilation within 24 hours of ICU admission. To eliminate confounding factors, several exclusion criteria were applied. Patients with sepsis were excluded due to the life-threatening nature of this condition. Those administered vasopressor drugs were also excluded, as these drugs can cause further complications by constricting blood vessels. Patients with indwelling arterial catheterization placement prior to ICU admission and those in the cardiac surgery recovery unit were also removed from the study cohort. The final cohort was split into two groups: patients who received catheterization and those who did not, with the latter serving as the control group for comparison. This division allowed for hypothesis testing on the significance of the relationship between mortality and catheterization.
The primary outcome of the study was 28-day mortality, identifying which patients died within 28 days of ICU admission. Secondary outcomes included length of stay in the ICU and hospital, duration of mechanical ventilation, and the average number of arterial and venous blood gas measurements performed per day.
The study defined the presence of an indwelling arterial catheter as placement of the invasive catheter at any point after the initiation of mechanical ventilation. The developed model included variables reflecting patient demographics, comorbidities based on ICD-9 codes, vital signs, and laboratory results. The measurements used were those immediately preceding the onset of mechanical ventilation.
The model estimated a propensity score, representing the likelihood of catheter placement. A genetic algorithm was employed to select the most relevant clinical variables and optimize the performance of the propensity score model. The propensity score matching process paired each patient from the catheterization group with patients from the non-catheterization group, allowing for an estimation of the intervention’s impact.
The study’s findings revealed no significant differences in 28-day mortality between the two groups. However, patients with indwelling arterial catheterization had a lower likelihood of discharge from the ICU within 28 days.
In summary, this example demonstrates how the MIMIC database can be used to conduct complex clinical studies. It highlights the importance of careful patient selection criteria to focus on relevant patients while eliminating confounding parameters. The study also illustrates the definition of primary and secondary outcomes and the development of a propensity model to examine differences between intervention and control groups. This approach provides a framework for using large-scale electronic health record databases to investigate clinical interventions and their outcomes in critical care settings.
20
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 22: MIMIC-III: Flowchart of Patient Inclusion and Exclusion Criteria
Figure 23: MIMIC-III: Query to Extract All Patients at ICU and all administration records
21
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
3.9.1 Data Extraction from MIMIC-III for Catheterization and Mortality Study
This section provides a detailed guide to extracting and processing data from the MIMIC-III database for a study investigating the relationship between catheterization and mortality in intensive care units (ICUs). We will walk through each step of the data extraction pipeline, providing specific SQL queries and explanations to ensure reproducibility.
We begin by extracting vital data for patients over 16 years old. This involves joining multiple tables in the MIMIC-III database, Figure 23. This query creates a table adult_patients containing the ICU stay identifier, subject identi- fier, hospital admission identifier, ICU admission and discharge times, date of birth, and chart time for heart rate measurements.
Next, we exclude readmissions and ICU stays shorter than one day, Figure 24. This query creates a table eligible_stays that includes only ICU stays lasting at least 24 hours and marks the admission order for each patient.
We now identify patients who required mechanical ventilation within the first 24 hours of ICU admission, Figure 25. This query identifies patients who received mechanical ventilation within 24 hours of ICU admission.
We apply the following exclusion criteria:
• We exclude patients diagnosed with sepsis using ICD-9 codes, Figure 26. • we exclude patients with specific medications, Figure 27. • We exclude patients with catheters placed before ICU admission, Figure 28. • Lastly, we exclude patients with prior surgery or Coronary Care Unit stays, Figure 29.
We combine all criteria to create our final study cohort. Finally, we divide the cohort into catheterization and control groups, Figure 30. This query assigns patients to either the catheterization group (1) or the control group (0) based on the presence of catheterization events in their records.
The data extraction process described in this section provides a comprehensive framework for selecting a study cohort from the MIMIC-III database. By following these steps, researchers can reproduce the data extraction process for studies investigating the relationship between catheterization and mortality in ICU patients.
Figure 24: MIMIC-III: Query to exclude re-admissions
22
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 25: MIMIC-III: Query to include all patients with ventilation
Figure 26: MIMIC-III: Exclude patients with Sepsis
4 From Descriptive Analytics to Digital Twins: Advancing Healthcare Information Systems
4.1 From Descriptive Analytics to Prescriptive Analytics
We can conceptualize healthcare information retrieval processes as a pathway from descriptive analytics to diagnostic analytics, predictive analytics, and prescriptive analytics [Arjun, 2019, Gamal et al., 2021]. Descriptive analytics use techniques such as data aggregation, data mining, and intuitive visualizations to provide understanding of historic data. Descriptive analytics provide the answers to questions such as, how many patients were admitted to a hospital last year? How many patients died within 30 days? Or how many patients caught an infection? In other words, descriptive analytics offer intuitive ways to summarize the data via histograms and graphs and show the data distribution properties. Limitations of descriptive analytics are that it keeps limited ability to guide decision because it is based on a snapshot of the past.
23
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 27: MIMIC-III: Exclude patients with Vasopressors
Figure 28: MIMIC-III: Extract patients with IAC placed
Diagnostic analytics is a form of analytics that examines data to answer the question of why something happened. Diagnostic analytics could comprise of correlation techniques that discovers links between clinical variables, treatments, and drugs. Predictive analytics allow us to predict the outcome and likelihood of an event. We may like, for example, to predict the mortality risk of a patient, the length of hospitalization, or the risk for infection. Predictive analytics exploit historic values of the data with the aim to be able to provide useful information about critical events in the future. Predictive analytics are in demand because health care providers would like evidence based ways to predict and avoid adverse events. Importantly predictive analytics enable early intervention which can save patient lives and improve their quality of life. Prescriptive analytics aim to make decisions for optimal outcomes.
Prescriptive analytics attempt to quantify the effect of future decision to advise on possible outcomes before decisions are made. Therefore they provide recommendations regarding actions that consider the results of predictive analytics. In other words, prescriptive analytics are important to transition a prediction model to a clinical decision support model.
24
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 29: MIMIC-III: Exclude patients in CSRU or CCU
Figure 30: MIMIC-III: Divide Cohort
4.2 Digital Twins
Patients increasingly expect seamless management of their information across their healthcare providers. Currently, traditional healthcare models rely on disconnected systems, multiple sources of information. The new digital healthcare model will transition towards an inherent capability to ensure seamless information exchange across both clinical system and real-time biomarkers of well-being, Figure 31. In this way, they will update the records of each patient’s across of all these systems. This enables data mining and machine learning approaches to successfully applied and advance our knowledge with relation to clinical decision making systems.
‘Digital Twins’ (DTs) is a concept very well known in industrial/manufacturing scale applications and it is used as a virtualisation of physical assets and safety critical processes [Rasheed et al., 2019]. The aim is to simulate decision processes and optimise the design and the underlying operations in a safe and cost-efficient environment [Tao and Qi, 2019]. DTs definitions have been originally formalised by extensive work in large manufacturing companies and NASA, which used the technology to develop digital copies of spacecrafts and monitor its status. In this approach, virtual models are made to duplicate every aspect from design to operation in a safe and cost-efficient way. Originally, DTs were modelled based on three entities, namely, physical entities, virtual models and the connection between physical and virtual entities. This way though could not encompass recent advances in data science and it has been expanded to include DT data and services, which ensure high prognostic fidelity [Tao et al., 2018].
It is only recently that it has been realised that DTs have enormous potentials in healthcare and in particular in precision medicine [Voigt et al., 2021, Tao et al., 2018, Drummond et al., 2023, Sarris et al., 2023, Rasheed et al., 2019]. The reason behind this shift is that virtual copies of the patients can accelerate the analyses of large amounts of data derived from both clinical practice and sensing modalities in home environments. It has been emphasized that in chronic, multifaceted disorders and diseases such as multiple sclerosis and asthma, DTs can provide unprecedent capabilities
25
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Figure 31: Digital Twins in Healthcare
of patient centred disease preventive systems along with clinical decision support without increasing the burden on healthcare providers [Voigt et al., 2021, Drummond et al., 2023]. For example, telemonitoring devices and sensing technologies in wearables and smart watches can provide digital patient support tools for several diseases such as asthma, multiple sclerosis and diabetes [Drummond et al., 2023]. In asthma and diabetes, DTs technology encompasses machine learning models that will provide decision support to impel changes of lifestyle choices and other modifiable risk factors. In multiple sclerosis DTs can simulate therapeutic interventions and provide prognostic tools for disease progression [Voigt et al., 2021].
5 Conclusions
The transition to Electronic Health Records (EHRs) marks a significant milestone in the evolution of healthcare, offering unprecedented opportunities for improving patient care, enhancing clinical decision-making, and advancing biomedical research. By digitizing patient information, EHRs facilitate seamless data integration, enabling healthcare providers to access comprehensive patient histories and make informed decisions. This shift not only improves the efficiency and accuracy of healthcare delivery but also supports the development of personalized medicine and digital twins in healthcare.
The adoption of EHRs in the UK and USA highlights the complexities and challenges involved in transitioning from paper-based systems to digital records. Despite these challenges, the benefits of EHRs are evident in the improved quality of care, enhanced data management, and the potential for large-scale health data analysis. The integration of clinical registries and databases further enriches the healthcare landscape, providing valuable insights into patient outcomes and supporting evidence-based practice.
As we move towards a future where digital twins become an integral part of healthcare, the role of EHRs will continue to expand. These digital records will serve as the foundation for creating accurate and dynamic models of individual patients, enabling real-time monitoring and personalized treatment plans. The ongoing advancements in EHR technology and data analytics will undoubtedly drive innovation in healthcare, ultimately leading to better health outcomes and a more efficient healthcare system.
Acknowledgements Fani Deligianni is supported by funding from EPSRC (EP/W01212X/1) and Academy of Medical Sciences (NGR1/1678). She is also a member of the research team for NIHR (NIHR158303). This chapter builds upon content from the Coursera specialization ’Informed Clinical Decision Making using Deep Learning’.
26
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
References
Karen Wilson and Lara Khansa. Migrating to electronic health record systems: a comparative study between the united
states and the united kingdom. Health Policy, 122(11):1232–1239, 2018.
Fouzia F Ozair, Nayer Jamshed, Amit Sharma, and Praveen Aggarwal. Ethical issues in electronic health records: A
general overview. Perspectives in clinical research, 6(2):73–76, 2015.
Aya Gamal, Sherif Barakat, and Amira Rezk. Standardized electronic health record data modeling and persistence: A
comparative review. Journal of biomedical informatics, 114:103670, 2021.
ET Vander Velde, JWJ Vriend, MMAM Mannens, CSPM Uiterwaal, R Brand, and Barbara JM Mulder. Concor, an initiative towards a national registry and dna-bank of patients with congenital heart disease in the netherlands: rationale, design, and first results. European journal of epidemiology, 20:549–557, 2005.
Amanda Bodell, Gudrun Björkhem, Ulf Thilén, and Estelle Naumburg. National quality register of congenital heart
diseases–can we trust the data? Journal of Congenital Cardiology, 1:1–8, 2017.
Fouke Ombelet, Eva Goossens, Ruben Willems, Lieven Annemans, Werner Budts, Julie De Backer, Katya De Groote, Stéphane Moniotte, Liesbet Van Bulck, Ariane Marelli, et al. Creating the belgian congenital heart disease database combining administrative and clinical data (belcodac): rationale, design and methodology. International journal of cardiology, 316:72–78, 2020.
Nicholas R Hardiker, Ann-Helene Almborg, Lynn Bracewell, Christopher Chute, Coen van Gool, and Cassandra Linton.
Terminologies in the world health organisation family of international classifications (who-fic).
Centers for Disease Control and Prevention. Classification of diseases, functioning, and disability, 2024. URL
https://www.cdc.gov/nchs/icd/index.html. [Online; accessed 9-September-2024].
Sudha R Raminani. International classification of diseases. Encyclopaedia Britannica, 2015.
Niall Boyce. Bills of mortality: tracking disease in early modern london. The Lancet, 395(10231):1186–1187, 2020.
Iwao Milton Moriyama, Ruth M Loy, Alastair Hamish Tearloch Robb-Smith, Harry Michael Rosenberg, and Donna L
Hoyert. History of the statistical classification of diseases and causes of death. 2011.
The Lancet. Icd-11, 2019.
World Health Organization. International Statistical Classification of Diseases and related health problems: Alphabeti-
cal index, volume 3. World Health Organization, 2004.
Alistair EW Johnson, David J Stone, Leo A Celi, and Tom J Pollard. The mimic code repository: enabling reproducibility
in critical care research. Journal of the American Medical Informatics Association, 25(1):32–39, 2018.
Lucas Bulgarelli, Rodrigo Octávio Deliberato, and Alistair EW Johnson. Prediction on critically ill patients: the role of
“big data”. Journal of critical care, 60:64–68, 2020.
A Johnson. Mortality prediction and acuity assessment in critical care. PhD thesis, University of Oxford, 2014.
Mohammed Saeed, Christine Lieu, Greg Raber, and Roger G Mark. Mimic ii: a massive temporal icu patient database to support research in intelligent patient monitoring. In Computers in cardiology, pages 641–644. IEEE, 2002.
Mohammed Saeed, Mauricio Villarroel, Andrew T Reisner, Gari Clifford, Li-Wei Lehman, George Moody, Thomas Heldt, Tin H Kyaw, Benjamin Moody, and Roger G Mark. Multiparameter intelligent monitoring in intensive care ii: a public-access intensive care unit database. Critical care medicine, 39(5):952–960, 2011.
Alistair EW Johnson, Tom J Pollard, Lu Shen, Li-wei H Lehman, Mengling Feng, Mohammad Ghassemi, Benjamin Moody, Peter Szolovits, Leo Anthony Celi, and Roger G Mark. Mimic-iii, a freely accessible critical care database. Scientific data, 3(1):1–9, 2016.
George B Moody. Physionet: Research resource for complex physiologic signals. Jpn. J. Electrocardiol, 29:1–3, 2009.
Douglas J Hsu, Mengling Feng, Rishi Kothari, Hufeng Zhou, Kenneth P Chen, and Leo A Celi. The association between indwelling arterial catheters and mortality in hemodynamically stable patients with respiratory failure: a propensity score analysis. Chest, 148(6):1470–1476, 2015.
Panesar Arjun. Machine learning and ai for healthcare: Big data for improved health outcomes. Apress: London, UK,
Adil Rasheed, Omer San, and Trond Kvamsdal. Digital twin: Values, challenges and enablers. arXiv preprint
arXiv:1910.01719, 2019.
Fei Tao and Qinglin Qi. Make more digital twins. Nature, 573(7775):490–491, 2019.
27
Electronic Health Records: Towards Digital Twins in Healthcare
A PREPRINT
Fei Tao, Meng Zhang, Yushan Liu, and Andrew YC Nee. Digital twin driven prognostics and health management for
complex equipment. Cirp Annals, 67(1):169–172, 2018.
Isabel Voigt, Hernan Inojosa, Anja Dillenseger, Rocco Haase, Katja Akgün, and Tjalf Ziemssen. Digital twins for
multiple sclerosis. Frontiers in immunology, 12:669811, 2021.
David Drummond, Jolt Roukema, and Mariëlle Pijnenburg. Home monitoring in asthma: towards digital twins. Current
Opinion in Pulmonary Medicine, 29(4):270–276, 2023.
Anastasios Loukas Sarris, Efstathios Sidiropoulos, Evangelos Paraskevopoulos, and Panagiotis Bamidis. Towards a digital twin in human brain: Brain tumor detection using k-means. In Caring is Sharing–Exploiting the Value in Data for Health and Innovation, pages 1052–1056. IOS Press, 2023.
28