← Latest papers
📄 health informatics

DiabetIA: A Longitudinal Electronic Health Record Dataset for Diabetes Research from Mexico

This paper introduces DiabetIA, a freely available longitudinal dataset of over 136,000 adults from primary care records in Mexico spanning 2005 to 2020, designed to support research on chronic disease trajectories and prediction in an underrepresented Latin American population.

Original authors: Lopez Pineda, A., Tripp, J., Santana-Quinteros, D., Flores-Garrido, M., Garcia-Velazquez, L. M., Figueroa-Mora, K. M., Gomez-Garcia, A., Alvarez-Aguilar, C.

Published 2026-11-26
📖 4 min read☕ Coffee break read

Original authors: Lopez Pineda, A., Tripp, J., Santana-Quinteros, D., Flores-Garrido, M., Garcia-Velazquez, L. M., Figueroa-Mora, K. M., Gomez-Garcia, A., Alvarez-Aguilar, C.

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

For decades, the story of human health has been told largely through the lens of clinical trials and hospital records. These studies are powerful, but they often focus on specific groups of people who volunteer for research or on patients who are already very sick and in the hospital. This leaves a massive gap in our understanding of how ordinary people live with chronic conditions like diabetes over many years. In the real world, health is not a series of isolated events but a long, continuous journey of check-ups, medication, and daily life. To understand this journey, scientists need access to the routine records kept by doctors in community clinics. These records hold the secret to seeing how diseases develop, how treatments work in everyday settings, and how health systems serve the people who rely on them most.

A team of researchers in Mexico has now opened a window into this long-term journey by releasing a massive collection of medical records from the Mexican Institute of Social Security. This new dataset, called DiabetIA, gathers the health histories of nearly 137,000 adults who received care at six family medicine clinics in the state of Michoacán. The records span fifteen years, from 2005 to 2020, capturing more than three million visits. Instead of looking at single visits in isolation, the researchers organized this information into two-year windows for each person. This structure allows scientists to see the full arc of a patient's care, tracking how their weight, blood pressure, and blood sugar change over time, and how these changes relate to new diagnoses and prescriptions.

The data reveals a population carrying a heavy burden of chronic disease. At the start of their recorded history, nearly one in four adults in this group already had type 2 diabetes, while more than one-third had high blood pressure and nearly one-third were living with obesity. These numbers are significantly higher than what is seen in the general population of the region, reflecting the fact that these records come from people actively seeking care for these conditions. The dataset shows that for those with diabetes, the disease often travels with other health challenges. Among the patients with diabetes, more than half also had high blood pressure, and a significant portion had developed serious complications affecting the kidneys, eyes, or nerves.

What makes this collection unique is not just the size of the group, but the depth of its timeline. The researchers did not just record a diagnosis; they tracked the patient's path. They captured the moment a person was first diagnosed with diabetes, and then followed them through the years to see when complications appeared. They recorded the specific medicines prescribed, the results of blood tests, and the frequency of visits to the clinic. This level of detail allows researchers to study the coexistence of multiple diseases and to see how treatment patterns shift as a patient's condition changes. For example, the data shows that as patients developed complications, their visits became more frequent and their medication regimens became more complex.

The researchers were careful to ensure the data was reliable and safe to use. They removed all personal names and addresses, replacing them with anonymous codes so that no individual could be identified. They also checked the numbers for errors, finding that while most records were complete, some specific blood tests were only done for patients who already had a diabetes diagnosis. This is a common pattern in real-world medicine, where tests are ordered based on what the doctor suspects, rather than for everyone equally. The team also compared their findings with national health surveys and found that the rates of obesity in their data matched the broader population, giving them confidence that the measurements were accurate, even though the rates of diagnosed diabetes were higher because this group was already in the healthcare system.

This dataset is now available for scientists around the world to download and study. It fills a critical void, as most large medical databases come from wealthy countries or focus on hospital emergencies rather than community care. By making these records from Mexico freely available, the researchers hope to improve the understanding of how chronic diseases progress in Latin America and other underrepresented regions. The data offers a rare chance to learn from the long-term experiences of millions of people who are managing their health day by day, providing a clearer picture of what it takes to prevent and treat diabetes in the real world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →