文献速递医学人工智能与信息学流行病学与生物统计基础与转化研究

电子健康记录数据端到端分析的开源框架

An open-source framework for end-to-end analysis of electronic health record data.
PubMed 文献 · Nat Med · 2024-09-12

本文介绍ehrapy,一个模块化开源Python框架,用于异构流行病学和电子健康记录(EHR)数据的探索性分析,涵盖从数据提取、质量控制到低维表示生成等分析步骤,并辅以统计模块支持患者与疾病状态关联、聚类间差异比较、生存分析、轨迹推断和因果推断等。作者通过六个示例展示ehrapy功能,包括将未明确分类肺炎患者分层为更精细表型并揭示生存显著差异的生物标志物、量化肺炎药物类别对住院时间的影响、分析不同数据模态的心血管风险、基于影像数据重建SARS-CoV-2患者疾病状态轨迹,以及检测和缓解EHR数据偏倚的案例研究。

要点

  • ehrapy是模块化开源Python框架,用于异构EHR数据探索性分析。
  • 框架涵盖数据提取、质量控制至低维表示生成等分析步骤。
  • 统计模块支持患者-疾病关联、聚类比较、生存分析、轨迹与因果推断。

核心结论

  • ehrapy框架有望标准化EHR数据分析流程,并成为社区基石。

研究设计与样本

  • 研究设计与样本:原文未报告。

主要发现

  • 将未明确分类肺炎患者分层为更精细表型,并揭示这些组间生存显著差异的生物标志物。
  • 量化肺炎药物类别对住院时间的影响。
  • 分析不同数据模态的心血管风险。
  • 基于影像数据重建SARS-CoV-2患者的疾病状态轨迹。
  • 案例研究展示ehrapy可检测和缓解EHR数据偏倚。

关键数值与推荐

  • 原文未报告关键数值与推荐。

临床怎么用

  • 原文未据此给出推荐。

局限性

  • 原文未报告局限性。

以上解读依据论文摘要(全文未开放获取或许可不允许翻译转载)。

原文

With progressive digitalization of healthcare systems worldwide, large-scale collection of electronic health records (EHRs) has become commonplace. However, an extensible framework for comprehensive exploratory analysis that accounts for data heterogeneity is missing. Here we introduce ehrapy, a modular open-source Python framework designed for exploratory analysis of heterogeneous epidemiology and EHR data. ehrapy incorporates a series of analytical steps, from data extraction and quality control to the generation of low-dimensional representations. Complemented by rich statistical modules, ehrapy facilitates associating patients with disease states, differential comparison between patient clusters, survival analysis, trajectory inference, causal inference and more. Leveraging ontologies, ehrapy further enables data sharing and training EHR deep learning models, paving the way for foundational models in biomedical research. We demonstrate ehrapy's features in six distinct examples. We applied ehrapy to stratify patients affected by unspecified pneumonia into finer-grained phenotypes. Furthermore, we reveal biomarkers for significant differences in survival among these groups. Additionally, we quantify medication-class effects of pneumonia medications on length of stay. We further leveraged ehrapy to analyze cardiovascular risks across different data modalities. We reconstructed disease state trajectories in patients with severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) based on imaging data. Finally, we conducted a case study to demonstrate how ehrapy can detect and mitigate biases in EHR data. ehrapy, thus, provides a framework that we envision will standardize analysis pipelines on EHR data and serve as a cornerstone for the community.

来源:Nat Med,查看原文。版权归原作者所有。

引用

  1. Heumos L, Ehmele P, Treis T, et al. An open-source framework for end-to-end analysis of electronic health record data. Nat Med. 2024. PMID: 39266748. doi:10.1038/s41591-024-03214-0

供执业医师工作参考,不替代临床判断;数值与分级以指南原文为准。