Reproduce “A medical coding language model trained on clinical narratives from a population-wide cohort of 1.8 million patients” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Joakim Edin, Sedrah Butt Balaganeshan, Annike Kjølby Kristensen, Lars Maaløe, Ioannis Louloudis, Søren Brunak
A medical coding language model trained on clinical narratives from 1.8 million patients in Denmark achieved a micro F1 score of 71.8% and a Recall@10 of 95.5%. This model revealed systematic under-coding of secondary diagnoses in human-generated records and highlighted impacts of documentation quality on coding accuracy.
Key insights
- Automated coding performance, particularly for rarer conditions, improves substantially with increasing training data size from a large, diverse, real-world patient population.
- Human medical coding practices in the studied cohort exhibit systematic under-coding of clinically relevant secondary diagnoses (e.g., suicide attempts, weight disorders, hypertension).
- The quality and specificity of clinical documentation directly influence coding accuracy, with imprecise or missing details leading to less specific or entirely missed diagnoses by human coders.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.