PT - JOURNAL ARTICLE AU - Ramakrishnaiah, Yashpal AU - Macesic, Nenad AU - Peleg, Anton Y. AU - Tyagi, Sonika TI - EHR-QC: A streamlined pipeline for automated electronic health records standardisation and preprocessing to predict clinical outcomes AID - 10.1101/2023.05.30.23290765 DP - 2023 Jan 01 TA - medRxiv PG - 2023.05.30.23290765 4099 - http://medrxiv.org/content/early/2023/06/02/2023.05.30.23290765.short 4100 - http://medrxiv.org/content/early/2023/06/02/2023.05.30.23290765.full AB - The adoption of electronic health records (EHRs) has created opportunities to analyze historical data for predicting clinical outcomes and improving patient care. However, non-standardized data representations and anomalies pose major challenges to the use of EHRs in digital health research. To address these challenges, we have developed EHR-QC, a tool comprising two modules: the data standardization module and the preprocessing module. The data standardization module migrates source EHR data to a standard format using advanced concept mapping techniques, surpassing expert curation in benchmarking analysis. The preprocessing module includes several functions designed specifically to handle healthcare data subtleties. We provide automated detection of data anomalies and solutions to handle those anomalies. We believe that the development and adoption of tools like EHR-QC is critical for advancing digital health. Our ultimate goal is to accelerate clinical research by enabling rapid experimentation with data-driven observational research to generate robust, generalisable biomedical knowledge.HighlightsEHR-QC accepts EHR data from a relational database or as a flat file and provide an easy-to-use, customized, and comprehensive solution for data handling activities.It offers a modular standardization pipeline that can convert any EHR data to a standardized data model i.e. OMOP-CDM.It includes an innovative algorithmic solution for clinical concept mapping that surpasses the current expert curation process.We have demonstrated that the imputation performance depends on the nature and missing proportion, hence as part of EHR-QC we included a method that searches for the best imputation method for the given data.It also contains an end-to-end solution to handle other anomalies such as outliers, errors, and other inconsistencies in the EHR data.Competing Interest StatementThe authors have declared no competing interest.Funding StatementAP, NM, ST acknowledge Medical Research Future Fund funding for the SuperbugAI flagship project. YR received Monash Graduate Scholarship for his PhD.Author DeclarationsI confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.YesThe details of the IRB/oversight body that provided approval or exemption for the research described are given below:We have sourced EHR from MIMIC which is available for research purposes from this URL: https://mimic.mit.edu/. Another EHR source is the UK Biobank data obtained from a data standardisation study from this URL: https://ehden.github.io/ETL-UK-Biobank/I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.YesI understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).YesI have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.YesThe EHR-QC source code is now accessible to researchers for investigative purposes through the following Git repository: https://gitlab.com/superbugai/ehrqc. https://gitlab.com/superbugai/ehrqc