Automated extraction of billing items from clinical records using large language models

Authors

DOI:

https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1816

Keywords:

Artificial Intelligence, Electronic Health Records, Hospital Billing

Abstract

Introduction: The digitalization of healthcare systems has increased the volume of unstructured clinical data, making the identification of billing items from electronic health records challenging. Objective: To investigate the use of large language models (LLMs) for automated billing item extraction, using the SIGTAP table as a reference. Method: A methodology based on text segmentation and procedure-guided inference was proposed. Four models (deepseek-r1:70b, llama3.3:70b, gemma3:27b, and qwen3:32b) were evaluated using a clinically validated dataset. Results: All models identify relevant procedures but consistently exhibit over-extraction. More computationally efficient models (gemma and qwen) generated larger outputs, while deepseek was more conservative and llama showed intermediate behavior. Conclusion: LLMs are promising as decision-support tools but still require human validation and are not suitable for fully automated hospital billing.

Downloads

Download data is not yet available.

Author Biographies

Eduardo Camargo de Siqueira, Instituto Federal de Educação, Ciência e Tecnologia de Brasília, Brasília (DF), Brasil

Instituto Federal de Educação, Ciência e Tecnologia de Brasília, Brasília (DF), Brasil.

Nilton Correia da Silva, Universidade de Brasília, Brasília (DF), Brasil

Universidade de Brasília, Brasília (DF), Brasil.

Rebeca da Nóbrega Lucena Pinho, Hospital Universitário de Brasília, Brasília (DF), Brasil

Hospital Universitário de Brasília, Brasília (DF), Brasil.

Maria Luisa Pontes de Assis, Universidade de Brasília, Brasília (DF), Brasil

Universidade de Brasília, Brasília (DF), Brasil.

Júlia Takaki Neves, Universidade de Brasília, Brasília (DF), Brasil

Universidade de Brasília, Brasília (DF), Brasil.

References

1. Ranchon F, Chanoine S, Lambert-Lacroix S, Bosson JL, Moreau-Gaudry A, Bedouch P. Development of artificial intelligence powered apps and tools for clinical pharmacy services: A systematic review. Int J Med Inform. 2023;172:104983. doi: https://doi.org/10.1016/j.ijmedinf.2022.104983

2. Singareddy S, Sn VP, Jaramillo AP, Yasir M, Iyer N, Hussein S, et al. Artificial Intelligence and Its Role in the Management of Chronic Medical Conditions: A Systematic Review. Cureus. 2023;15(9):e46066. doi: https://doi.org/10.7759/cureus.46066

3. Xie Y, Zhai Y, Lu G. Evolution of artificial intelligence in healthcare: a 30-year bibliometric study. Front Med (Lausanne). 2024;11:1505692. doi: https://doi.org/10.3389/fmed.2024.1505692

4. Lamem MFH, Sahid MI, Ahmed A. Artificial intelligence for access to primary healthcare in rural settings. Journal of Medicine, Surgery, and Public Health. 2025;5:100173. doi: https://doi.org/10.1016/j.glmedi.2024.100173

5. Chen S, Fan S, Qiao Z, Wu Z, Lin B, Li Z, et al. Transforming Healthcare: Intelligent Wearable Sensors Empowered by Smart Materials and Artificial Intelligence. Adv Mater. 2025;37(21):e2500412. doi: https://doi.org/10.1002/adma.202500412

6. Alowais SA, Alghamdi SS, Alsuhebany N, Alqahtani T, Alshaya AI, Almohareb SN, et al. Revolutionizing healthcare: the role of artificial intelligence in clinical practice. BMC Med Educ. 2023;23(1):689. doi: https://doi.org/10.1186/s12909-023-04698-z

7. Topol EJ. High-performance medicine: the convergence of human and artificial intelligence. Nat Med. 2019;25(1):44-56. doi: https://doi.org/10.1038/s41591-018-0300-7

8. Davenport T, Kalakota R. The potential for artificial intelligence in healthcare. Future Healthc J. 2019;6(2):94-8. doi: https://doi.org/10.7861/futurehosp.6-2-94

9. Hassan M, Borycki EM, Kushniruk AW. Artificial intelligence governance framework for healthcare. Healthc Manage Forum. 2025;38(2):125-30. doi: https://doi.org/10.1177/08404704241291226

10. Shimabukuro DW, Barton CW, Feldman MD, Mataraso SJ, Das R. Effect of a machine learning-based severe sepsis prediction algorithm on patient survival and hospital length of stay: a randomised clinical trial. BMJ Open Respir Res. 2017;4(1):e000234. doi: https://doi.org/10.1136/bmjresp-2017-000234

11. Arbabshirani MR, Fornwalt BK, Mongelluzzo GJ, Suever JD, Geise BD, Patel AA, et al. Advanced machine learning in action: identification of intracranial hemorrhage on computed tomography scans of the head with clinical workflow integration. NPJ Digit Med. 2018;1:9. doi: https://doi.org/10.1038/s41746-017-0015-z

12. Voermans AM, Mewes JC, Broyles MR, Steuten LMG. Cost-Effectiveness Analysis of a Procalcitonin-Guided Decision Algorithm for Antibiotic Stewardship Using Real-World U.S. Hospital Data. OMICS. 2019;23(10):508-15. doi: https://doi.org/10.1089/omi.2019.0113

13. Connell A, Montgomery H, Martin P, Nightingale C, Sadeghi-Alavijeh O, King D, et al. Evaluation of a digitally-enabled care pathway for acute kidney injury management in hospital emergency admissions. NPJ Digit Med. 2019;2:67. doi: https://doi.org/10.1038/s41746-019-0100-6

14. Segal G, Segev A, Brom A, Lifshitz Y, Wasserstrum Y, Zimlichman E. Reducing drug prescription errors and adverse drug events by application of a probabilistic, machine-learning based clinical decision support system in an inpatient setting. J Am Med Inform Assoc. 2019;26(12):1560-5. doi: https://doi.org/10.1093/jamia/ocz135

15. Li Y, Mamouei M, Salimi-Khorshidi G, Rao S, Hassaine A, Canoy D, et al. Hi-BEHRT: Hierarchical Transformer-Based Model for Accurate Prediction of Clinical Events Using Multimodal Longitudinal Electronic Health Records. IEEE J Biomed Health Inform. 2023;27(2):1106-17. doi: https://doi.org/10.1109/JBHI.2022.3224727

16. Lee CS, Lee AY. Clinical applications of continual learning machine learning. Lancet Digit Health. 2020;2(6):e279-e281. doi: https://doi.org/10.1016/S2589-7500(20)30102-3

17. Yin J, Ngiam KY, Teo HH. Role of Artificial Intelligence Applications in Real-Life Clinical Practice: Systematic Review. J Med Internet Res. 2021;23(4):e25759. doi: https://doi.org/10.2196/25759

18. Babu A, Boddu SB. BERT-Based Medical Chatbot: Enhancing Healthcare Communication through Natural Language Understanding. Explor Res Clin Soc Pharm. 2024;13:100419. doi: https://doi.org/10.1016/j.rcsop.2024.100419

19. Fahim YA, Hasani IW, Kabba S, Ragab WM. Artificial intelligence in healthcare and medicine: clinical applications, therapeutic advances, and future perspectives. Eur J Med Res. 2025;30(1):848. doi: https://doi.org/10.1186/s40001-025-03196-w

20. Chong PL, Vaigeshwari V, Mohammed Reyasudin BK, Noor Hidayah RA, Tatchanaamoorti P, Yeow JA, et al. Integrating artificial intelligence in healthcare: applications, challenges, and future directions. Future Sci OA. 2025;11(1):2527505. doi: https://doi.org/10.1080/20565623.2025.2527505

21. Silva RPD, Pazin-Filho A. Dataset of anonymized discharge summaries of sepsis patients from a Brazilian tertiary hospital for NLP applications. Data Brief. 2025;61:111804. doi: https://doi.org/10.1016/j.dib.2025.111804

Downloads

Published

2026-11-26

How to Cite

de Siqueira, E. C., da Silva, N. C., Pinho, R. da N. L., de Assis, M. L. P., & Neves, J. T. (2026). Automated extraction of billing items from clinical records using large language models. Journal of Health Informatics, 18(Especial), 1816. https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1816

Similar Articles

<< < 1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.