SearcharxivSearch

arXiv subjects

Luis Fernandez Lopez

Publications and source records attributed to Luis Fernandez Lopez.

5 recordsLinked to original sources

Large Language Models as Medical Codes Selectors: a benchmark using the International Classification of Primary Care

Background: Medical coding structures healthcare data for research, quality monitoring, and policy. This study assesses the potential of large language models (LLMs) to assign ICPC-2 codes using the output of a domain-specific search engine. Methods: A dataset of 437 Brazilian Portuguese clinical expressions, each annotated with ICPC-2 codes, was used. A semantic search engine (OpenAI's text-embedding-3-large) retrieved candidates from 73,563 labeled concepts. Thirty-three LLMs were prompted with each query and retrieved results to select the best-matching ICPC-2 code. Performance was evaluated using F1-score, along with token usage, cost, response time, and format adherence. Results: Twenty-eight models achieved F1-score > 0.8; ten exceeded 0.85. Top performers included gpt-4.5-preview, o3, and gemini-2.5-pro. Retriever optimization can improve performance by up to 4 points. Most models returned valid codes in the expected format, with reduced hallucinations. Smaller models (<3B) struggled with formatting and input length. Conclusions: LLMs show strong potential for automating ICPC-2 coding, even without fine-tuning. This work offers a benchmark and highlights challenges, but findings are limited by dataset scope and setup. Broader, multilingual, end-to-end evaluations are needed for clinical validation.

cs.CL

Estimating the Size of Aedes aegypti Populations from Dengue Incidence Data: Implications for the Risk of Yellow Fever, Zika Virus and Chikungunya Outbreaks

In this paper we present a model to estimate the density of aedes mosquitoes in a community affected by dengue. The model is based on the fitting of a continuous function to the incidence of dengue infections, from which the density of infected mosquitoes is derived straightforwardly. Further derivations allows the calculation of the latent and susceptible mosquitoes' densities, the sum of the three equals the total mosquitoes' density. The model is illustrated with the case of the risk of urban yellow fever resurgence in dengue infested areas but the same methods apply for other aedes-transmitted infections like Zika and chikungunya viruses.

q-bio.PE

Estimating the prevalence of infectious diseases from under-reported age-dependent compulsorily notification databases

Background: National or local laws, norms or regulations (sometimes and in some countries) require medical providers to report notifiable diseases to public health authorities. Reporting, however, is almost always incomplete. This is due to a variety of reasons, ranging from not recognizing the diseased to failures in the technical or administrative steps leading to the final official register in the disease notification system. The reported fraction varies from 9% to 99% and is strongly associated with the disease being reported. Methods: In this paper we propose a method to approximately estimate the full prevalence (and any other variable or parameter related to transmission intensity) of infectious diseases. The model assumes incomplete notification of incidence and allows the estimation of the non-notified number of infections and it is illustrated by the case of hepatitis C in Brazil. The method has the advantage that it can be corrected iteratively by comparing its findings with empirical results. Results: The application of the model for the case of hepatitis C in Brazil resulted in a prevalence of notified cases that varied between 163,902 and 169,382 cases; a prevalence of non-notified cases that varied between 1,433,638 and 1,446,771; and a total prevalence of infections that varied between 1,597,540 and 1,616,153 cases. Conclusions: We conclude that that the model proposed can be useful for estimation of the actual magnitude of endemic states of infectious diseases, particularly for those where the number of notified cases is only the tip of the iceberg. In addition, the method can be applied to other situations, such as the well known underreported incidence of criminality (for example rape), among others.

q-bio.PE

The Magnitude and Frequency Variations of Vector-Borne Infections Outbreaks with the Ross-Macdonald Model: Explaining and Predicting Outbreaks of Dengue Fever

It is possible to model vector-borne infection using the classical Ross-Macdonald model. This attempt, however fails in several respects. First, using measured (or estimated) parameters, the model predicts a much greater number of cases than what is usually observed. Second, the model predicts a single huge outbreaks that is followed after decades of much smaller outbreaks. This is not what is observed. Usually towns or cities report a number of cases that recur for many years, even when environmental changes cannot explain the disappearance of the infection in-between the peaks. In this paper we continue to examine the pitfalls in modeling this class of infections, and explain that, in fact, if properly used, the Ross-Macdonald model works, can be used to understand the patterns of epidemics and even, to some extents, to make some predictions. We model several outbreaks of dengue fever and show that the variable pattern of year recurrence (or absence of it) can be understood and explained by a simple Ross-Macdonald model modified to take into account human movement across a range of neighborhoods inside a city. In addition, we analyze the effect of seasonal variations in the parameters determining the number, longevity and biting behavior of mosquitoes. Based on the size of the first outbreak, we show that it is possible to estimate the proportion of the remaining susceptibles and predict the likelihood and magnitude of eventual subsequent outbreaks. The approach is exemplified by actual dengue outbreaks with different recurrence patterns from some Brazilian regions.

q-bio.PE

Modelling of immune cells as vectors of HIV spread inside a patient human body

The search to understand how the HIV virus spreads inside the human body and how the immune response works to control it has motivated studies related to Mathematical Immunology. Actually, researches include the idea of mathematical models representing the dynamics of healthy and infected cell populations and focusing on mechanisms used by HIV to invade target-host cells, viral dissemination (which leads to depletion of the T-cell pool and collapse of the immune system), and impairment of immune response. In this work, we show the importance of specific cells of immune response, as infection vectors involved in the dynamics of viral proliferation within an untreated patient, by using an ordinary differential equation model in which we considered that the virus infected target-cells such as macrophages, dendritic cells, and lymphocytes TCD4 and TCD8 populations. In conclusion, we demonstrate the importance of each cell-host and the threshold of viral establishment and posterior spread based on the presence of infected macrophages and dendritic cells in antigen-presenting processing, which leads to new infections (by wild or mutant virions) after immune response activation episodes. We presented an $R_0$ expression that provides the major parameters of HIV infection. Additionally, we suggest some possibilities of new targets for functional vaccines.

q-bio.PE