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
Access Nature and 54 other Nature Portfolio journals
Get Nature+, our best-value online-access subscription
$29.99 / 30 days
cancel any time
Subscribe to this journal
Receive 12 print issues and online access
$209.00 per year
only $17.42 per issue
Buy this article
- Purchase on SpringerLink
- Instant access to full article PDF
Prices may be subject to local taxes which are calculated during checkout
References
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.
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.
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.
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
About this article
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
Published:
DOI: https://doi.org/10.1038/s41591-024-03298-8