To the Editor,
We enjoyed reading Kiskaddon and colleague’s (2025) Reference Kiskaddon, Do and Amankwah1 recently published analysis of thromboembolism events in children who underwent cardiac surgery between 2017 and 2024. While the TriNetX network is an excellent tool to conduct high-powered retrospective observational studies, Reference Palchuk, London and Perez-Rey2 its streamlined analytic capabilities can occasionally result in methodological oversights. Reference Chen and Wang3 An issue of particular importance to paediatric studies is how age filters are used at the cohort design stage. Here, we repeat a small portion of Kiskaddon’s and colleagues research design and propose a more accurate method to capture paediatric patient populations.
Kiskaddon and colleagues included patients aged <18 years without reference to which particular timepoint patient age was determined. It is therefore likely that during their design, they chose to filter patients by their current age (i.e. the patient’s last known age on the day the data were gathered; Supplementary Table 1). While convenient, this age filtering method has limitations when analysing historical patient data. For example, a 14-year-old who underwent cardiac surgery in 2018 would be suitable for inclusion in this study, however by 2024 when the study was conducted, that patient would already be 20 years of age and would therefore be excluded by the current age filter. This is likely the reason why the study’s mean ages at the time of thromboembolism are so low (e.g., 1.4 ± 3.82 years for the arterial thromboembolism group).
A less intuitive but more accurate approach is to filter age based on the patient’s age at the time of the event of interest (e.g. cardiac surgery, thromboembolism diagnosis). This process involves manually adding term filters to each of the billing codes used in the cohort design stage (Supplementary table 2), rather than adding a universal current age filter. To demonstrate the improved accuracy of this approach, we compared how these techniques filter the ages of paediatric patients who underwent cardiac surgery between 2017 and 2024 (using Kiskaddon and colleague’s list of procedural codes; Table 1). Our findings demonstrate that using a current age filter greatly biases data from earlier years, unnecessarily excluding older paediatric patients. As a result, the mean age of patients included due to a 2023 cardiac surgery is nearly double that of patients included due to a 2017 cardiac surgery.
Table 1. Comparison of two age filtering techniques on the inclusion of paediatric patients who underwent cardiac surgery between 2017 and 2024

This example analysis demonstrates that using a current age filter in TriNetX excludes older patients from earlier years, resulting in a lower sample size and introducing temporal biases into cohorts. Instead, we would encourage users of TriNetX to filter by age at the index event by adding term filters to each relevant billing code in the query builder (Supplementary Table 2). We would also encourage journal editors and reviewers of paediatric-based TriNetX studies to closely examine the wording of how age was defined and filtered to generate patient cohorts. We hope that these suggestions help ensure that future paediatric retrospective cohort studies capture all relevant paediatric patient data.
Supplementary material
The supplementary material for this article can be found at https://doi.org/10.1017/S1047951125109190.
Acknowledgements
None.
Financial support
This research received no specific grant from any funding agency, commercial, or not-for-profit sectors.
Competing interests
None.