EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Prompt engineering for epidemiological surveillance: A step toward wider access to public health data analysis through natural language processing

Gabriel S Mouta, Sarah P R Freire, Giorgio Montesi, Luis G E Souza, José D A Araújo, Vanderson S Sampaio, Donata Medaglini, Helder I Nakaya

Public Health · 2026-12 · 261 · 106534

DOI: 10.1016/j.puhe.2026.106534 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Public Health, 2026-12. Verfasst von Gabriel S Mouta und 7 weiteren Autor:innen. Beteiligte Einrichtung: Laboratory of Molecular Microbiology and Biotechnology, Department of Medical Biotechnology, University of Siena, Siena, 53100, Italy. Die Arbeit nennt 9 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: State of Sao Paulo Research Foundation, National Council for Scientific and Technological Development.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

OBJECTIVES: The aim of this study was to describe and assess a framework that generates epidemiological analysis scripts from natural-language queries constrained by surveillance data dictionaries. STUDY DESIGN: Methodological framework development with internal consistency assessment. METHODS: PEFES (Prompt Engineering for Epidemiological Surveillance) restricts large language model output to dictionary-declared variables and coding schemes, validates scope before generating a script, and does not execute code. Two authors with prior programming experience ('raters') submitted identical sets of 22 in-scope and 22 scope-control queries across three case studies (respiratory syncytial virus, influenza A and dengue) using Claude Opus 4.8 and Gemini 3.7 Flash against OpenDataSUS datasets. RESULTS: The two raters agreed on the behavior for all 22 scope-control queries: the 17 queries that were expected to be declined did not produce a script, and all 5 in-scope counterparts produced a script. Every source field read was dictionary-declared. Reported values were identical for 14 of the 22 in-scope queries and divergent for 8 (all where a prompt left a choice unstated). One session compared a declared field against wrong-type values, returning empty tables under formatted headings. CONCLUSIONS: Dictionary constraints restricted which data a generated script could analyze, but not how it was analyzed: reproducibility was dependent on both the prompt and dictionary, not the constraint mechanism alone. Errors within the declared set were identified by rater review, not by the framework, motivating pre-execution type checks or returning unstated choices as clarification requests. PEFES accelerates epidemiological work rather than replacing it, and it is a step toward wider access to surveillance data analysis.

Schlagwörter

Stichwörter der Autor:innen

Data dictionaryEpidemiological surveillanceLarge language modelsNatural language processingPrompt engineeringPublic health informatics

Autor:innen und Institutionen

  • Laboratory of Molecular Microbiology and Biotechnology, Department of Medical Biotechnology, University of Siena, Siena, 53100, Italy.
  • Faculdade Israelita de Ciências da Saúde Albert Einstein, Hospital Israelita Albert Einstein, São Paulo, 056529000, SP, Brazil.
  • Department of Clinical and Toxicological Analyses, School of Pharmaceutical Sciences, University of São Paulo, 05508900, São Paulo, Brazil.
  • Instituto Todos Pela Saúde (ITpS), São Paulo, 01310942, Brazil.
  • Instituto Todos Pela Saúde (ITpS), São Paulo, 01310942, Brazil; Fundação de Medicina Tropical Dr. Heitor Vieira Dourado, Manaus, 69036595, Brazil; School of Health Sciences, Amazonas State University, Manaus, 69065001,…
  • Department of Clinical and Toxicological Analyses, School of Pharmaceutical Sciences, University of São Paulo, 05508900, São Paulo, Brazil; Hospital Israelita Albert Einstein, São Paulo, 056529000, SP, Brazil. Electroni…

Förderung

  • State of Sao Paulo Research Foundation
  • National Council for Scientific and Technological Development

Zitieren

APA

Mouta, G. S., Freire, S. P. R., Montesi, G., Souza, L. G. E., Araújo, J. D. A., Sampaio, V. S., Medaglini, D., & Nakaya, H. I. (2026). Prompt engineering for epidemiological surveillance: A step toward wider access to public health data analysis through natural language processing. Public Health, 261, 106534. https://doi.org/10.1016/j.puhe.2026.106534

Vancouver

Mouta GS, Freire SPR, Montesi G, Souza LGE, Araújo JDA, Sampaio VS, et al. Prompt engineering for epidemiological surveillance: A step toward wider access to public health data analysis through natural language processing. Public Health. 2026;261:106534. doi:10.1016/j.puhe.2026.106534

BibTeX
@article{Mouta2026,
  author = {Mouta, Gabriel S and Freire, Sarah P R and Montesi, Giorgio and Souza, Luis G E and Araújo, José D A and Sampaio, Vanderson S and Medaglini, Donata and Nakaya, Helder I},
  title = {Prompt engineering for epidemiological surveillance: A step toward wider access to public health data analysis through natural language processing},
  journal = {Public Health},
  year = {2026},
  volume = {261},
  pages = {106534},
  doi = {10.1016/j.puhe.2026.106534}
}
Kostenlos starten →