← Back to catalog

FEMR Adopt

Python framework for large-scale self-supervised learning on electronic health records. Provides tooling for converting raw EHR data to the MEDS (Medical Event Data Standard) format, building code ontologies (SNOMED, LOINC, ICD), and training clinical foundation models — including MOTOR, a BERT-style model pretrained on structured EHR events. Supports labelling functions, feature extraction pipelines, and evaluation utilities. Designed to lower the barrier to reproducing and extending EHR foundation model research. Apache 2.0. From the Shah Lab at Stanford Medicine.

Judgement: Adopt

Adopt — committed within 3 months; 2022 monthly downloads; permissive licence (Apache-2.0).

Derived deterministically by the MACH scorer from the signals below — not written prose.

Repository

Active — committed within the last month; has tests, CI, releases

★ 185 stars · 37 forks · 10 open issues

Python 87% Jupyter Notebook 13%

Signals & lineage

Every value records the source it was harvested from.

FieldValueSource
descriptionFEMR (Framework for Electronic Medical Records) provides tooling for large-scale, self-supervised learning using electronic health recordsgithub_api
discovered_condanot_founddiscovery
discovered_crannot_founddiscovery
discovered_doinot_founddiscovery
discovered_hfnot_founddiscovery
discovered_npmnot_founddiscovery
discovered_pypifemrdiscovery
has CITruegithub_api
has docsTruegithub_api
has releasesTruegithub_api
has testsTruegithub_api
HuggingFace downloads (monthly)not_foundhuggingface
judgementAdoptmach_scorer
judgement reasonAdopt — committed within 3 months; 2022 monthly downloads; permissive licence (Apache-2.0).mach_scorer
licenseApache-2.0github_api
PyPI downloads (monthly)2022pypi
archivedFalsegithub_api
repository created2022-06-28T13:16:45Zgithub_api
GitHub forks37github_api
repo healthActivemach_health
repo health reasoncommitted within the last month; has tests, CI, releasesmach_health
homepageokgithub_api
languagesPython:87,Jupyter Notebook:13github_api
last commit2026-11-16T18:58:04Zgithub_api
open issues10github_api
primary languagePythongithub_api
repo_size_kb44591github_api
GitHub stars185github_api
topicselectronic-health-records,foundation-models,healthcare,self-supervised-learninggithub_api

Change history

Recorded deviations — when a harvested value changed between runs.

WhenFieldWasNowSource
2026-11-20T21:53:45.272169repo_health—Activemach_health
2026-11-20T21:53:45.272169repo_health_reason—committed within the last month; has tests, CI, releasesmach_health
2026-11-20T21:53:45.272083judgement—Adoptmach_scorer
2026-11-20T21:53:45.272083judgement_reason—Adopt — committed within 3 months; 2022 monthly downloads; permissive licence (Apache-2.0).mach_scorer
2026-11-20T21:48:41.286369hf_downloads——huggingface
2026-11-20T21:48:41.229332pypi_downloads—2022pypi
2026-11-20T21:48:41.229280discovered_conda——discovery
2026-11-20T21:48:41.229280discovered_cran——discovery
2026-11-20T21:48:41.229280discovered_doi——discovery
2026-11-20T21:48:41.229280discovered_hf——discovery
2026-11-20T21:48:41.229280discovered_npm——discovery
2026-11-20T21:48:41.229280discovered_pypi—femrdiscovery
2026-11-20T21:48:39.417666has_ci—Truegithub_api
2026-11-20T21:48:39.417666has_docs—Truegithub_api
2026-11-20T21:48:39.417666has_releases—Truegithub_api
2026-11-20T21:48:39.417666has_tests—Truegithub_api
2026-11-20T21:48:39.417666repo_languages—Python:87,Jupyter Notebook:13github_api
2026-11-20T21:48:39.417595description—FEMR (Framework for Electronic Medical Records) provides tooling for large-scale, self-supervised learning using electronic health recordsgithub_api
2026-11-20T21:48:39.417595license—Apache-2.0github_api
2026-11-20T21:48:39.417595repo_archived—Falsegithub_api
2026-11-20T21:48:39.417595repo_created—2022-06-28T13:16:45Zgithub_api
2026-11-20T21:48:39.417595repo_forks—37github_api
2026-11-20T21:48:39.417595repo_homepage——github_api
2026-11-20T21:48:39.417595repo_last_commit—2026-11-16T18:58:04Zgithub_api
2026-11-20T21:48:39.417595repo_open_issues—10github_api
2026-11-20T21:48:39.417595repo_primary_language—Pythongithub_api
2026-11-20T21:48:39.417595repo_size_kb—44591github_api
2026-11-20T21:48:39.417595repo_stars—185github_api
2026-11-20T21:48:39.417595repo_topics—electronic-health-records,foundation-models,healthcare,self-supervised-learninggithub_api