Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

  • Research Briefing
  • Published:

An open-source framework for electronic health record and patient fate exploration

We developed ehrapy, an open-source Python software framework for the exploratory analysis of electronic health record data. Ehrapy handles various widely used data formats, preprocessing tasks such as imputation of missing data and bias detection, and offers tools for analyses including patient stratification, survival analysis, causal inference and trajectory inference.

This is a preview of subscription content, access via your institution

Access options

Buy this article

Prices may be subject to local taxes which are calculated during checkout

Fig. 1: Data handling and analysis in electronic health records using ehrapy.

References

  1. Cios, K. J. & Moore, G. W. Uniqueness of medical data mining. Artif. Intell. Med. 26, 1–24 (2002). A review article that presents the challenges and opportunities of medical data.

    Article  PubMed  Google Scholar 

  2. Virshup, I. et al. The scverse project provides a computational ecosystem for single-cell omics data analysis. Nat. Biotechnol. 41, 604–606 (2023). This paper reports the scverse open-source consortium that our solution builds upon.

    Article  CAS  PubMed  Google Scholar 

  3. Moor, M. et al. Foundation models for generalist medical artificial intelligence. Nature 616, 259–265 (2023). A review article that presents the potential of foundation models in medicine.

    Article  CAS  PubMed  Google Scholar 

Download references

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This is a summary of: Heumos, L. et al. An open-source framework for end-to-end analysis of electronic health record data. Nat. Med. https://doi.org/10.1038/s41591-024-03214-0 (2024).

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

An open-source framework for electronic health record and patient fate exploration. Nat Med (2024). https://doi.org/10.1038/s41591-024-03298-8

Download citation

  • Published:

  • DOI: https://doi.org/10.1038/s41591-024-03298-8

Search

Quick links

Nature Briefing: Translational Research

Sign up for the Nature Briefing: Translational Research newsletter — top stories in biotechnology, drug discovery and pharma.

Get what matters in translational research, free to your inbox weekly. Sign up for Nature Briefing: Translational Research