FEMR
Train models on patient histories over time.
Framework for Electronic Medical Records (Stanford Shah Lab) built around the MEDS standard for efficient patient-timeline storage, longitudinal foundation-model pretraining (CLMBR / MOTOR), and low-label clinical adaptation.
Primary Modality
Longitudinal Patient Timelines (MEDS / OMOP)
Language & Stack
Python / PyTorch
Primary Users
Health System AI Teams · EHR Foundation Model Researchers
License & Commercial Governance Audit (Apache-2.0)
Code is Apache-2.0; pretraining foundation models on institutional EHRs requires institutional IRB/privacy governance.
These licenses cover source code. Pre-trained model weights, clinical datasets, and commercial deployment terms can differ — always audit model cards and dataset DUAs before production use.
Common clinical & research workflows
- Pretraining patient-timeline foundation models on OMOP/MEDS
- Time-to-event clinical risk prediction (MOTOR)
- Few-shot adaptation for rare hospital clinical endpoints
Peer open-source alternatives to FEMR
Frequently asked about FEMR
What license does FEMR use?
FEMR source code is licensed under Apache-2.0 (verified 26 Nov 2026). Code is Apache-2.0; pretraining foundation models on institutional EHRs requires institutional IRB/privacy governance.
What clinical or biomedical data modalities does FEMR support?
FEMR focuses on Longitudinal Patient Timelines (MEDS / OMOP) using Python / PyTorch, primarily built for Health System AI Teams, EHR Foundation Model Researchers.
What are the top open-source alternatives to FEMR?
Common open-source peer projects in the Zavis Healthcare AI Directory include PyHealth (MIT), FIDDLE (MIT), TemporAI (Apache-2.0).