Large language models as medical code selectors: a benchmark using the International Classification of Primary Care

Vinicius Anjos de Almeida1, Vinicius de Camargo2, Raquel Gómez-Bravo3

  • 1Medical School, University of São Paulo, Av. Dr. Arnaldo, 455, São Paulo, São Paulo, 01246-903, Brazil.

JAMIA Open
|February 23, 2026
PubMed
Summary

Large language models (LLMs) show significant potential for automating medical coding, specifically assigning International Classification of Primary Care, 2nd edition (ICPC-2) codes. Top-performing LLMs achieved high accuracy, demonstrating a promising avenue for efficient healthcare data management.

Related Concept Videos

Classification of Illness01:17

Classification of Illness

The meaning of illness is individualized to each person who experiences an alteration in health. In contrast, disease is a medical term indicating a pathological change in the structure and function of the body or mind. It is a condition that has specific symptoms and boundaries.
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
9.0K
Methods of Documentation VI: Case Management Model01:15

Methods of Documentation VI: Case Management Model

The case management model is a multidisciplinary approach that involves healthcare professionals from diverse disciplines, such as physicians, nurses, therapists, social workers, and pharmacists, working collaboratively to address the various needs of patients. Each healthcare professional brings unique expertise and perspectives, contributing to a more comprehensive understanding of the patient's condition and tailoring treatment plans accordingly.
For example, a patient with a chronic...
978
Models of Health Promotion and Illness Prevention II01:18

Models of Health Promotion and Illness Prevention II

The person's health status fluctuates continually, varying from being in good health to becoming ill and returning to being healthy. To understand the concept of illness prevention, there are two models. First, the health-illness continuum model is a graphic representation of an individual's wellness. It states that a person is considered healthy in the absence of physical disease and the presence of good emotional health.
The agent-host-environment model states that disease results...
2.2K
Models of Health Promotion and Illness Prevention I01:25

Models of Health Promotion and Illness Prevention I

A model is a theoretical way to understand a concept or an idea. Models can overcome barriers to health regardless of diverse economic and cultural backgrounds. In addition, models make the task easier by providing different ways to approach complex issues. There are two major health promotion models: the health belief model and the health promotion model.
The health belief model (HBM) attempts to predict health-related behavior in specific belief patterns. According to the HBM, a person's...
2.9K
Secondary Healthcare System01:11

Secondary Healthcare System

Secondary healthcare is offered by a specialist, generally in hospitals or clinics for patients referred by primary healthcare providers. It occurs when a person has an illness or injury that requires specific medical care. Secondary care is often referred to as acute care. Secondary care can range from uncomplicated care to repair a minor laceration or treat a strep throat infection to more complicated emergent care, such as treating a head injury sustained in an automobile accident. Whatever...
2.1K
Nursing Interventions II: Selecting and Classifying the Nursing Interventions01:29

Nursing Interventions II: Selecting and Classifying the Nursing Interventions

Creating and executing a nursing diagnosis helps nurses plan care and guide patient, family, and community interventions. They are developed based on a patient's physical evaluation and support measuring the outcomes. It is not recommended to select random interventions throughout the planning process. Instead, consider the following six essential factors when choosing interventions:
3.5K