Master's Thesis

Automating Clinical Coding with AI

Madalena Mendes Gaspar Branco da Cunha — 2025

Key information

Authors:

Madalena Mendes Gaspar Branco da Cunha (Madalena Mendes Gaspar Branco da Cunha)

Supervisors:

Luís Miguel Velez Lapão; Miguel Leitão Bignolas Mira da Silva (Miguel Mira da Silva)

Published in

October 24, 2025

Abstract

Clinical coding is a fundamental process in healthcare, translating medical records into standardized codes used for billing, research, and patient care management. Despite its importance, clinical coding is often performed manually, making it time-consuming, costly, and prone to errors. The increasing complexity of clinical data, particularly in unstructured formats, further complicates this process. Automation offers a promising solution to these challenges by leveraging advanced technologies to improve accuracy and efficiency, thus supporting and enhancing coders' decision-making. This study undertakes a systematic literature review to explore existing automated clinical coding solutions, identifying their benefits, limitations, and the techniques commonly used. The review highlights significant challenges, including the complexity of unstructured medical notes, lack of generalizability, and performance issues in existing automated solutions. Building on these findings and guided by the Design Science Research Methodology, three iterations were conducted. The first two applied GPT-based approaches to two real-world datasets, CodiEsp and MIMIC-IV, demonstrating the potential of large language models to extract and assign codes across diverse clinical settings. The third iteration focused on the design and development of a prototype system, tailored to the workflows of otorhinolaryngology hospitalizations, implemented with simulated data. The results emphasize the importance of balancing accuracy, efficiency and transparency, while underscoring the critical role of coders in validating outputs to ensure compliance and reliability in automated clinical coding.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

September 29, 2026

Institution name

Instituto Superior Técnico