RepositoryPythonDEGermany
theislab

theislab/ehrapy

Electronic Health Record Analysis with Python.

376stars
55forks
5issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: clinical-data

#1 Repository of the week

1
TINIX TRENDING·Topic: electronic-medical-record

#1 Repository of the week

1
TINIX TRENDING·Topic: epidemiology

#1 Repository of the week

Build Codecov License PyPI Python Version Read the Docs Test pre-commit

ehrapy logo

ehrapy overview

ehrapy is a modular open-source Python framework for exploratory analysis of heterogeneous epidemiological and EHR data. It supports a full pipeline from data ingestion and quality control to advanced analyses such as clustering, survival, trajectory, causal inference, deep learning, and more.

fig1

Documentation

Please read the documentation for installation, tutorials, use cases, and more.

Installation

You can install ehrapy via pip from PyPI:

$ pip install ehrapy

API

Please have a look at the API documentation and the tutorials.

import ehrapy as ep

Citation

fig2

Read more about ehrapy in the associated publication.

@article{Heumos2024,
  author = {Heumos, Lukas and Ehmele, Philipp and Treis, Tim and Upmeier zu Belzen, Julius and Roellin, Eljas and May, Lilly and Namsaraeva, Altana and Horlava, Nastassya and Shitov, Vladimir A. and Zhang, Xinyue and Zappia, Luke and Knoll, Rainer and Lang, Niklas J. and Hetzel, Leon and Virshup, Isaac and Sikkema, Lisa and Curion, Fabiola and Eils, Roland and Schiller, Herbert B. and Hilgendorff, Anne and Theis, Fabian J.},
  year = {2024},
  month = {11},
  day = {01},
  title = {An open-source framework for end-to-end analysis of electronic health record data},
  journal = {Nature Medicine},
  volume = {30},
  number = {11},
  pages = {3369--3380},
  issn = {1546-170X},
  doi = {10.1038/s41591-024-03214-0},
  url = {https://doi.org/10.1038/s41591-024-03214-0}
}

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
sunlabuiuc/PyHealth

A deep learning toolkit for healthcare AI: EHR (MIMIC, eICU, OMOP), clinical text, signals and imaging. 30+ models, reproducible pipelines.

1.7k
Dec 2, 2026
RepositoryHTML
MIT-LCP/mimic.mit.edu

Website for the MIMIC Critical Care Database

162
Jul 27, 2026
RepositoryPython
rvandewater/YAIB

🧪Yet Another ICU Benchmark: a holistic framework for the standardization of clinical prediction model experiments. Provide custom datasets, cohorts, prediction tasks, endpoints, preprocessing, and models. Paper: https://arxiv.org/abs/2306.05109

113
Nov 8, 2026
RepositoryPython
VectorInstitute/cyclops

A toolkit for evaluating and monitoring AI models in clinical settings

97
Oct 20, 2026
RepositoryTypeScript
medplum/medplum

Medplum is a healthcare platform that helps you quickly develop high-quality compliant applications.

2.8k
Nov 30, 2026
RepositoryJava
ehrbase/ehrbase

An open source openEHR server

390
Nov 26, 2026
RepositoryTypeScript
masslight/ottehr

Modular, Production-Ready, Open-Source EHR

349
Dec 2, 2026
RepositoryPHP
goinvo/EHR

The code repository for the prototypes included in the eBook "Inspired EHRs - Designing for Clinicians" (inspiredEHRs.gov). The code of the prototypes is made available under the Apache 2.0 open source license. This license agreement allows anyone to freely use the code and ideas presented in this book, subject to the conditions listed at http://opensource.org/licenses/Apache-2.0.

136
Mar 17, 2021
RepositoryRust
FerroHEALTH/FerroEHR

A pure-Rust openEHR Clinical Data Repository: ITS-REST 1.1.0, AQL 1.1, PostgreSQL 18-native storage.

66
Nov 30, 2026