pyhealth
Build clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer, RETAIN, GAMENet, SafeDrug, MICRON, StageNet, AdaCare, CNN/RNN/MLP), training with the PyHealth Trainer, computing clinical metrics, and using medical code utilities (ICD/ATC/NDC/RxNorm lookup and cross-mapping). Use this skill whenever the user mentions PyHealth, MIMIC, eICU, OMOP, EHR modeling, clinical prediction, drug recommendation, sleep staging, medical code mapping, ICD/ATC codes, or any healthcare ML pipeline that fits the dataset → task → model → trainer → metrics pattern, even if "PyHealth" isn't named explicitly.
Author
Category
Development ToolsInstall
Download and extract to your skills directory
Copy command and send to AI Agent for auto-install:
PyHealth - Clinical Deep Learning Toolkit
Skills Overview
PyHealth is a Python toolkit specifically designed for clinical and medical deep learning. It provides a unified 5-stage pipeline (Dataset → Task → Model → Trainer → Metrics) to handle electronic health records, physiological signals, and medical imaging data.
Suitable Scenarios
Core Features
FAQ
How does PyHealth handle privacy and access issues for MIMIC data?
PyHealth provides a synthetic MIMIC-III dataset for demonstrations and learning, without requiring access credentials. For real MIMIC data, users must apply for access through PhysioNet, and then provide the local CSV data path to PyHealth. The toolkit also supports caching to avoid repeated parsing.
How is PyHealth different from other medical AI frameworks?
PyHealth focuses on the clinical deep learning 5-stage pipeline and provides stable interfaces from datasets to tasks. Compared with general-purpose frameworks, it includes built-in medical dataset loaders, clinical task definitions, and medical code utilities, reducing redundant work in medical data preprocessing. Unlike FHIR tools, PyHealth is oriented toward modeling rather than data interoperability.
Is PyHealth suitable for developers without a medical background?
PyHealth is more suitable for developers who understand medical data or collaborate with medical experts. Although the toolkit simplifies technical implementation, the correctness of clinical prediction tasks depends on understanding the medical domain (e.g., meanings of ICD codes, patient grouping logic, and choice of clinical metrics). It’s recommended to start with the synthetic datasets and the examples in the documentation.