Frequent Pattern Mining for Early Risk Signal Detection in Population Health Data: Nationwide Retrospective Cohort Study

Background Many diseases often develop through sequences of related conditions over time. Identifying how diagnoses occur over time may help detect early risk signals before severe outcomes arise. Clinically significant patterns are limited because many population-level studies focus on disease co-occurrence rather than the temporal order of diagnoses. Objective The study aimed to identify and validate temporal disease associations using frequent pattern mining and statistical validation techniques in a nationwide patient-record database. Methods We analyzed health records of 3,987,382 Finnish patients. The records were transformed into patient timelines by using the date on which the first record was entered into the database. To identify the most common patterns for each unique disease, we applied the frequent pattern growth algorithm using a minimum support of 5% of patients with the target disease and at least 5 patients. To validate each pattern, we applied a combination of relative risk (RR), a 95% CI, and relative width to measure precision. Results We identified several clinically interpretable temporal disease connections. For example, acute kidney failure was most strongly preceded by unspecified kidney failure (RR 15.13, 95% CI 14.24‐16.07), chronic kidney disease (RR 11.02, 95% CI 10.53‐11.54), and sepsis (RR 9.76, 95% CI 9.27‐10.27). It was also grouped with heart failure–related combinations (RR 10.76, 95% CI 10.27‐11.27). Diabetic foot ulcer with type 1 or type 2 diabetes was strongly associated with osteomyelitis, with an RR of 157.02 (95% CI 137.03‐179.93) for type 1 and 84.84 (95% CI 77.07‐93.39) for type 2. At the block level, cerebrovascular diseases were linked to hypertension (RR 2.47; 95% CI 2.44‐2.49), atherosclerosis (RR 2.52; 95% CI 2.47‐2.58), and dementia (RR 2.96; 95% CI 2.90‐3.01). Drug poisoning patterns were also connected to psychiatric diagnoses, including mood disorders (RR 7.24, 95% CI 7.03-7.46) and combinations of alcohol and mood disorders (RR 18.25, 95% CI 17.51-19.01). The generated patterns and statistical measures are publicly available in a web interface for research purposes. Conclusions Frequent pattern mining, when integrated with RR/CI and precision filtering, produces clinically interpretable temporal connections that can support hypothesis generation. External validation with other datasets and cohorts is essential.

Authors

Publication Details

Journal
JMIR Medical Informatics
Published
2026-11-26
DOI
https://doi.org/10.2196/94284
Primary Topic
Data Mining Algorithms and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Frequent Pattern Mining for Early Risk Signal Detection in Population Health Data: Nationwide Retrospective Cohort Study

Tiina K. Laatikainen, Pasi Fränti, Jimi Tuononen, Sazid Nur Ratul
JMIR Medical Informatics
Data Mining Algorithms and Applications
article

Frequent Pattern Mining for Early Risk Signal Detection in Population Health Data: Nationwide Retrospective Cohort Study

Tiina K. Laatikainen, Pasi Fränti, Jimi Tuononen, Sazid Nur Ratul
article en

Abstract

Background Many diseases often develop through sequences of related conditions over time. Identifying how diagnoses occur over time may help detect early risk signals before severe outcomes arise. Clinically significant patterns are limited because many population-level studies focus on disease co-occurrence rather than the temporal order of diagnoses. Objective The study aimed to identify and validate temporal disease associations using frequent pattern mining and statistical validation techniques in a nationwide patient-record database. Methods We analyzed health records of 3,987,382 Finnish patients. The records were transformed into patient timelines by using the date on which the first record was entered into the database. To identify the most common patterns for each unique disease, we applied the frequent pattern growth algorithm using a minimum support of 5% of patients with the target disease and at least 5 patients. To validate each pattern, we applied a combination of relative risk (RR), a 95% CI, and relative width to measure precision. Results We identified several clinically interpretable temporal disease connections. For example, acute kidney failure was most strongly preceded by unspecified kidney failure (RR 15.13, 95% CI 14.24‐16.07), chronic kidney disease (RR 11.02, 95% CI 10.53‐11.54), and sepsis (RR 9.76, 95% CI 9.27‐10.27). It was also grouped with heart failure–related combinations (RR 10.76, 95% CI 10.27‐11.27). Diabetic foot ulcer with type 1 or type 2 diabetes was strongly associated with osteomyelitis, with an RR of 157.02 (95% CI 137.03‐179.93) for type 1 and 84.84 (95% CI 77.07‐93.39) for type 2. At the block level, cerebrovascular diseases were linked to hypertension (RR 2.47; 95% CI 2.44‐2.49), atherosclerosis (RR 2.52; 95% CI 2.47‐2.58), and dementia (RR 2.96; 95% CI 2.90‐3.01). Drug poisoning patterns were also connected to psychiatric diagnoses, including mood disorders (RR 7.24, 95% CI 7.03-7.46) and combinations of alcohol and mood disorders (RR 18.25, 95% CI 17.51-19.01). The generated patterns and statistical measures are publicly available in a web interface for research purposes. Conclusions Frequent pattern mining, when integrated with RR/CI and precision filtering, produces clinically interpretable temporal connections that can support hypothesis generation. External validation with other datasets and cohorts is essential.

JMIR Medical InformaticsVol. 14
Good health and well-being
Data Mining Algorithms and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon