Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Previously submitted to: Journal of Medical Internet Research (no longer under consideration since Mar 30, 2026)

Date Submitted: Nov 8, 2025

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Are Today’s Large Language Models Ready to Take Over SNOMED Coding: A pilot study.

  • Jan Carlo Schmid; 
  • Eduardo Salgado; 
  • Alexander Bartschke; 
  • Sylvia Thun; 
  • Carina Nina Vorisek

ABSTRACT

High-quality semantic coding to standardized terminologies like SNOMED CT is essential for interoperability and the secondary use of health data for research and artificial intelligence applications. This task is typically done manually by trained coders, but recent advances in large language models (LLMs) have raised the question of whether these models can approximate expert-level performance. This study explores the capabilities of LLMs in semantic mapping using the German Corona Consensus Dataset (GECCO), a harmonized dataset used for research in COVID-19, as a benchmark. We selected 22 medical elements from GECCO, each previously coded to SNOMED CT by two experts. This high-confidence dataset served as the gold standard. Three prompting strategies were tested—few shot examples, chain-of-thought prompting, and reasoning-based prompts—applied to LLMs frequently used in medical applications, including Claude 3.5 Haiku, ChatGPT-4o, Perplexity (default configuration), Gemini Flash 2.5, and DeepSeek V3. In addition, we evaluated two open-weight models, LLaMA 2 7B Chat and Mixtral 7B Instruct, which we ran locally using the Ollama framework. The models were instructed to provide fully specified names (FSN) and SNOMED CT IDs (SCTID). Model outputs were compared to the GECCO reference using the ISO/TS 21564 Equivalence Assessment Score. Statistical comparisons were performed using the Mann–Whitney U test. None of the LLMs matched the performance of the human-coded gold standard. The best result, achieved by ChatGPT-4o with a reasoning-based prompt, yielded a mean ISO score of 2.95. However, only 31% of outputs matched both the FSN and the SCTID correctly. All models generated hallucinated results. The locally run models failed to produce a single fully correct coding. In conclusion, while LLMs show potential for supporting medical coding, their current limitations—particularly hallucination and lack of precision—render them unsuitable for unsupervised use. High-quality coding still requires expert validation. Domain-specific fine-tuning and rigorous benchmarking will be crucial for future improvements.


 Citation

Please cite as:

Schmid JC, Salgado E, Bartschke A, Thun S, Vorisek CN

Are Today’s Large Language Models Ready to Take Over SNOMED Coding: A pilot study.

JMIR Preprints. 08/11/2025:87398

DOI: 10.2196/preprints.87398

URL: https://preprints.jmir.org/preprint/87398

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.