JMIR Medical Informatics (Nov 2022)

Linking Biomedical Data Warehouse Records With the National Mortality Database in France: Large-scale Matching Algorithm

  • Vianney Guardiolle,
  • Adrien Bazoge,
  • Emmanuel Morin,
  • Béatrice Daille,
  • Delphine Toublant,
  • Guillaume Bouzillé,
  • Youenn Merel,
  • Morgane Pierre-Jean,
  • Alexandre Filiot,
  • Marc Cuggia,
  • Matthieu Wargny,
  • Antoine Lamer,
  • Pierre-Antoine Gourraud

DOI
https://doi.org/10.2196/36711
Journal volume & issue
Vol. 10, no. 11
p. e36711

Abstract

Read online

BackgroundOften missing from or uncertain in a biomedical data warehouse (BDW), vital status after discharge is central to the value of a BDW in medical research. The French National Mortality Database (FNMD) offers open-source nominative records of every death. Matching large-scale BDWs records with the FNMD combines multiple challenges: absence of unique common identifiers between the 2 databases, names changing over life, clerical errors, and the exponential growth of the number of comparisons to compute. ObjectiveWe aimed to develop a new algorithm for matching BDW records to the FNMD and evaluated its performance. MethodsWe developed a deterministic algorithm based on advanced data cleaning and knowledge of the naming system and the Damerau-Levenshtein distance (DLD). The algorithm’s performance was independently assessed using BDW data of 3 university hospitals: Lille, Nantes, and Rennes. Specificity was evaluated with living patients on January 1, 2016 (ie, patients with at least 1 hospital encounter before and after this date). Sensitivity was evaluated with patients recorded as deceased between January 1, 2001, and December 31, 2020. The DLD-based algorithm was compared to a direct matching algorithm with minimal data cleaning as a reference. ResultsAll centers combined, sensitivity was 11% higher for the DLD-based algorithm (93.3%, 95% CI 92.8-93.9) than for the direct algorithm (82.7%, 95% CI 81.8-83.6; P98% in all subgroups. Our algorithm matched tens of millions of death records from BDWs, with parallel computing capabilities and low RAM requirements. We used the Inseehop open-source R script for this measurement. ConclusionsOverall, sensitivity/recall was 11% higher using the DLD-based algorithm than that using the direct algorithm. This shows the importance of advanced data cleaning and knowledge of a naming system through DLD use. Statistically significant differences in sensitivity between groups could be found and must be considered when performing an analysis to avoid differential biases. Our algorithm, originally conceived for linking a BDW with the FNMD, can be used to match any large-scale databases. While matching operations using names are considered sensitive computational operations, the Inseehop package released here is easy to run on premises, thereby facilitating compliance with cybersecurity local framework. The use of an advanced deterministic matching algorithm such as the DLD-based algorithm is an insightful example of combining open-source external data to improve the usage value of BDWs.