MedRep: Medical Concept Representation for General Electronic Health Record Foundation Models

Junmo Kim, Namkyeong Lee, Jiwon Kim, Kwangsoo Kim
4/11/2025
cs.AIcs.CLcs.LG

No official code found. Best implementation: kicarussays/MedRep (9 stars, MIT, last commit 2026-04-10).

Abstract

Electronic health record (EHR) foundation models have been an area ripe for exploration with their improved performance in various medical tasks. Despite the rapid advances, there exists a fundamental limitation: Processing unseen medical codes out of vocabulary. This problem limits the generalizability of EHR foundation models and the integration of models trained with different vocabularies. To alleviate this problem, we propose a set of novel medical concept representations (MedRep) for EHR foundation models based on the observational medical outcome partnership (OMOP) common data model (CDM). For concept representation learning, we enrich the information of each concept with a minimal definition through large language model (LLM) prompts and complement the text-based representations through the graph ontology of OMOP vocabulary. Our approach outperforms the vanilla EHR foundation model and the model with a previously introduced medical code tokenizer in diverse prediction tasks. We also demonstrate the generalizability of MedRep through external validation.

View on arXivView PDF

Code Implementations(1)

kicarussays/MedRepCommunity100%
MIT
90Shell, PythonApr 8, 20256 months agoMIT

Similar Papers

Cite this paper

@article{kim2025medrep,
  title  = {MedRep: Medical Concept Representation for General Electronic Health Record Foundation Models},
  author = {Junmo Kim and Namkyeong Lee and Jiwon Kim and Kwangsoo Kim},
  year   = {2025},
  eprint = {2504.08329},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.08329v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.08329.svg)](https://codeofpaper.com/paper/2504.08329)

Discussion