Skip to main navigation Skip to search Skip to main content

Prompt Engineering of GPT-3.5 for Extracting Signs and Symptoms and Their Assertions in Maternal Electronic Health Records: A Pilot Study

  • Dylan Montoya-Lora
  • , Andrés F. Giraldo-Forero
  • , Ever A. Torres-Silva
  • , Santiago Rua
  • , Sara Arango-Valencia
  • , Juan G. Barrientos-Gómez
  • , Jose F. Florez-Arango
  • , Andrés Orozco-Duque

Research output: Chapter in Book/Conference proceedingConference and proceedingspeer-review

2 Scopus citations

Abstract

Extracting Named Entity Recognition (NER) associated with signs and symptoms, diseases and syndromes, or health care activities from raw text in maternal electronic health records (EHR) can help in the management of high maternal risk. In addition, identify if the entity is present, absent, or is only a possibility is important to avoid misinterpretation. In this paper, we present an implementation of an automatic information extraction scheme from text in EHR oriented to detect entities and assertions in maternal electronic health records using GPT-3.5 turbo through a few shot architecture. Additionally, we developed a prompt-based approach to interact with the model and obtain NER responses in JSON format, enabling integration with existing healthcare systems and workflows. Our results show an F1-score of 0.75 for NER and 0.76 for assertions. These results show that large languaje models can be used to extract information from EHRs which can improve patient follow-up.

Original languageEnglish
Title of host publicationX Latin American Conference on Biomedical Engineering - Proceedings of CLAIB 2024
EditorsFabiola M. Martinez-Licona, Virginia L. Ballarin, Ernesto A. Ibarra-Ramírez, Sandra M. Pérez-Buitrago, Luis R. Berriere
PublisherSpringer Science and Business Media Deutschland GmbH
Pages53-62
Number of pages10
ISBN (Print)9783031895135
DOIs
StatePublished - 2025
Event10th Latin American Conference on Biomedical Engineering, CLAIB 2024 - Panama City, Panama
Duration: 2 Oct 20245 Oct 2024

Publication series

NameIFMBE Proceedings
Volume121
ISSN (Print)1680-0737
ISSN (Electronic)1433-9277

Conference

Conference10th Latin American Conference on Biomedical Engineering, CLAIB 2024
Country/TerritoryPanama
CityPanama City
Period2/10/245/10/24

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.

Keywords

  • Electronic Health Records
  • Large Language Models
  • Named Entity Recognition
  • Retrieval Augmented Generation

Types Minciencias

  • Scientific events with a public engagement component

Fingerprint

Dive into the research topics of 'Prompt Engineering of GPT-3.5 for Extracting Signs and Symptoms and Their Assertions in Maternal Electronic Health Records: A Pilot Study'. Together they form a unique fingerprint.

Cite this