Garbage codes in mortality records and their applicability
in microsimulation models: Protocol for a scoping reviewObjective: To systematically map and synthesize the scientific evidence on the quantitative methodologies used for the identification, cleaning and redistribution of junk codes in population-based mortality registries in low- and middle-income countries (LMICs), evaluating their technical applicability for the parameterization of microsimulation models in health.
Inclusion criteria: This review will consider studies utilizing population-based mortality records or vital statistics from low- and middle-income countries (Population). Eligible literature must describe or apply traditional statistical methods, multiple imputation, Bayesian models, record linkage, or machine learning algorithms to correct ill-defined causes of death and “garbage codes” (Concept). The context includes health information systems characterized by scarce or heterogeneous data, specifically where the feasibility of disaggregating results to the individual level to parameterize stochastic microsimulation models is analyzed (Context).
Methods: This scoping review will follow the JBI
methodology and the PRISMA Extension for Scoping Reviews (PRISMA-ScR).
Comprehensive searches will be performed across PubMed, Scopus, Web of
Science, LILACS, and SciELO, supplemented by grey literature from the
WHO, PAHO, and IHME. To ensure reproducibility, the workflow will be
executed within the R statistical environment. We will utilize
litsearchr for search syntax optimization,
synthesisr for deduplication, and revtools for
blinded screening supported by latent Dirichlet allocation topic
clustering. Discrepancies will be resolved by discussion or a third
reviewer. Following paired data extraction, findings will be synthesized
narratively and visualized using ggplot2 matrix heatmaps
and igraph flow networks.
Keywords: health information systems; causes of death; vital statistics; data quality; machine learning algorithms; proportional redistribution; Computer simulation.
Mortality statistics derived from Civil Registration and Vital Statistics (CRVS) systems serve as the bedrock of global epidemiological surveillance and public health planning1. However, their utility is frequently undermined by inconsistencies in the medical certification of causes of death.
A critical challenge is the assignment of deaths to “garbage codes”, defined in the Global Burden of Disease (GBD) literature as International Classification of Diseases (ICD) codes that represent ambiguous, non-specific, or biologically implausible underlying causes2. These include ill-defined symptoms (e.g., R-codes), intermediate conditions (e.g., heart failure, septicemia), or unspecified tumor sites3,4.
To standardize the assessment of these data quality issues, garbage codes are systematically classified into four hierarchical levels based on their degree of specificity and their potential to distort public health inferences. Level 1 codes are the least specific, encompassing broad categories that can hinder identification across major disease groups, while Levels 2 through 4 represent increasing, yet still insufficient, degrees of specificity—ranging from intermediate or immediate causes of death to unspecified sites within larger disease groupings. By categorizing these unusable codes, researchers can better prioritize redistribution efforts, focusing on the most damaging “major” garbage codes (Levels 1 and 2) that pose the greatest risk to accurate health policy and planning4.
The prevalence of “garbage codes” within official mortality databases severely obscures population health trends, underestimating the true burden of critical pathologies—such as ischemic heart disease and specific malignancies5,6. To mitigate these systematic biases, a diverse array of correction and redistribution methodologies has evolved over the last two decades. These approaches range from traditional proportional redistribution stratified by age and sex to multiple imputation and regression modeling. More recently, sophisticated methods have emerged, involving record linkage with clinical datasets and advanced machine learning algorithms7–9.
Despite the proliferation of “garbage code” redistribution algorithms spearheaded by international bodies like the WHO and IHME, the extant literature remains fragmented. Current research is predominantly localized, focusing on specific causes or geographical regions in isolation. Consequently, systematic mapping is lacking to consolidate the methodological diversity, underlying mathematical assumptions, and data structures of these approaches. This review aims to bridge this gap by synthesizing the existing evidence and evaluating the technical transferability of these methodologies to microsimulation models.
This knowledge gap becomes critical when addressing the transition from population-level mortality records to stochastic microsimulation models. Unlike aggregated demographic models that rely on macroscopic trends, microsimulation platforms operate at the individual level. They simulate single life trajectories, chronic disease progression, and the dynamic impact of public health interventions. To remain predictive, these frameworks require parameterization with highly disaggregated baseline mortality risks. Consequently, “garbage codes” create a fundamental barrier to valid modeling by obscuring the individual-level precision necessary for simulation. When input data used to calibrate microsimulation models incorporate “garbage codes”, the models inevitably propagate and exacerbate systematic biases in individual-level projections.
Currently, no evidence synthesis exists on how to adapt or transfer redistribution methodologies—originally designed for aggregated mortality data—to generate granular datasets suitable for stochastic microsimulation. Consequently, this scoping review will map the current state-of-the-art, evaluate the technical feasibility of these approaches within simulation environments, and provide a framework for future public health mathematical modeling.
This scoping review aims to systematically map and synthesize evidence on “garbage code” identification and redistribution methodologies in low- and middle-income country mortality registries. Concurrently, it will evaluate their technical characteristics and applicability for calibrating and parameterizing health microsimulation models.
This component defines eligible data records, populations, and geographic or demographic coverages.
This component delineates the core methodologies, algorithms, and analytical tools evaluated in this review.
This component defines the data environments and final fields of application toward which the evidence synthesis is oriented.
The search strategy will locate published academic literature and online grey literature. The search will focus on evidence published from 1996 onwards, corresponding to the global implementation and widespread adoption of the International Classification of Diseases, Tenth Revision (ICD-10)—a timeframe during which the term “garbage codes” became conceptually consolidated.
The first 100 results of each structured search will be screened. Identified organizational websites will be manually evaluated for technical reports. Finally, vital registration epidemiologists, public health officials, and key collaborators with expertise in health information systems within LMICs will be consulted to identify any additional missing sources.
To ensure the methodological reproducibility and transparency
required by the PRISMA-ScR guidelines, the information retrieval process
will be systematized within the R statistical environment (v4.5 or
higher). The litsearchr package will be employed for the
algorithmic optimization of Boolean syntax via term co-occurrence
networks. Indexed databases will be interrogated programmatically
through Application APIs using the rentrez and
rscopus libraries. Data consolidation and duplicate removal
will be managed via the synthesisr package using fuzzy
string-matching models, supplemented by manual verification of
borderline cases. Finally, title and abstract screening will be
conducted through the interactive graphical interface of the
revtools package, supported by Latent Dirichlet Allocation
(LDA) algorithms for topic modeling to optimize evidence selection in
accordance with the PCC framework.
To ensure integrity, traceability, and reproducibility, we will conduct data extraction programmatically within the R statistical environment (v4.5 or higher). This automated approach mitigates the transcription errors inherent in manual processes and ensures a standardized workflow. We have designed an electronic data charting form to capture information across six dimensions: study metadata, geographic and health system context, mortality database characteristics, “garbage code” typology, correction methodologies (including algorithmic and software ecosystems), and microsimulation applicability.
This form will be piloted with a random sample of three included
studies to refine consistency and ensure variable granularity. Two
reviewers will perform the extraction independently, resolving
discrepancies through consensus. The resulting data will be consolidated
into a relational structure (e.g., tibble or
data.frame) to facilitate transparent downstream analysis.
The full extraction schema (exported as JSON/CSV) and corresponding R
scripts will be made available via the Open Science Framework (OSF) upon
study completion. For a detailed breakdown of the variables and the
classification framework utilized, refer to the Data Charting Instrument
(Appendix II).
This scoping review adheres to the Joanna Briggs Institute (JBI) methodology and the PRISMA Extension for Scoping Reviews (PRISMA-ScR). Given the methodological scope, we will prioritize descriptive mapping, algorithmic categorization, and theoretical evaluation of data transfer flows from aggregate population (macro) levels to individual (micro) levels. We will conduct all data processing and visualization programmatically within the R statistical environment (v4.5 or higher).
ggplot2, igraph12,13, and tidyr:
ggplot2 to map analytical correction methods
against specific ICD Chapters. Color intensity will reflect literature
density, facilitating the identification of consolidated methodological
combinations versus underexplored areas.igraph,
we will construct network graphs where nodes represent correction
methods and links map their relationship with individual-level
variables. Nodes will be categorized by output granularity
(macro-aggregate vs. micro-individual), visually illustrating the
technical pathway required to connect traditional vital statistics with
microsimulation parameterization.Upon completing the data extraction process, we will synthesize the
retrieved information using both qualitative and quantitative
approaches. We will visualize the results by programming graphical
solutions in R with the ggplot2 and igraph
packages to generate the following: * Heatmaps: These
will cross-reference analytical methods (e.g., AI-based models, Bayesian
inference, proportional redistribution) with the medical causes or ICD
codes where they have been successfully applied in LMIC settings. *
Co-occurrence Network Diagrams: These will map the
methodological transitions from macro-level algorithms to
individual-level parameters, illustrating their scalability for
microsimulation models. * Structured Evidence Tables:
These will hierarchically consolidate the advantages, limitations,
computational requirements, and theoretical assumptions associated with
each methodological approach.
The authors declare no competing interests. This scoping review was conducted for academic and methodological purposes only, with no commercial, financial, or institutional support that could be construed as a potential conflict of interest.
Database: MEDLINE (via Ovid)
Search conducted on: July 2026
Planned Limits: * Date restrictions:
from 1996 to present to capture historical development of algorithms
like GBD. * Language restrictions: None at search level
(any required filters based on reviewer capacities will be applied
during the programmatic screening stage). * Document
types: All source types (including technical notes, methodology
papers, and electronic articles).
| Line | Search Query (Terms, Truncations, and Syntax) | Conceptual Block / Target |
|---|---|---|
| #1 | exp Mortality/ or exp Cause of Death/ | PCC: Population / Focus (Core mortality registry filters) |
| #2 | (mortality data* or death certificate* or vital statistic* or vital registration or CRVS).tw,kf,ot. | Keywords for vital statistics and national death registry systems |
| #3 | 1 or 2 | Result: Core Mortality Data |
| #4 | (garbage code* or ill-defined or misclassified or misclassification* or undefined cause* or ill-defined cause* or unspecific cause* or vague code* or redistribution algorithm*).tw,kf,ot. | PCC: Concept (Block A) - Specific typology of Data Errors (“Garbage Codes”) |
| #5 | (data cleaning or data correction or diagnostic accuracy or underlying cause of death).tw,kf,ot. | Data quality attributes specific to mortality databases |
| #6 | 4 or 5 | Result: Garbage Code Concepts |
| #7 | exp Algorithms/ or exp Models, Statistical/ or exp Computer Simulation/ | MeSH Indexing for Analytical Methods |
| #8 | (demographic redistribution or multiple imputation or MICE or Bayesian model* or Markov chain* or machine learning or random forest* or neural network* or artificial intelligence or algorithmic correction or fractional assignment).tw,kf,ot. | PCC: Concept (Block B) - Specific statistical and computational correction frameworks |
| #9 | (microsimulation* or micro-simulation* or agent-based model* or stochastic simulation* or individual-level dynamic* or synthetic population*).tw,kf,ot. | PCC: Context / Transferability - Target micro-level application architectures |
| #10 | 7 or 8 or 9 | Result: Methodological Ecosystem |
| #11 | exp “Developing Countries”/ | MeSH Indexing for LMICs |
| #12 | (low income country or low-and-middle income countr* or LMIC or LMICs or developing nation* or resource-constrained setting* or transitional econom*).tw,kf,ot. | Geographic Context Keywords (Based on World Bank specifications) |
| #13 | (Africa* or Asia* or South America* or Central America* or Latin America*).tw,kf,ot. | Broad regional geographic filters |
| #14 | 11 or 12 or 13 | Result: Developing Context (LMIC) |
| #15 | 3 and 6 and 10 and 14 | COMBINED STRATEGY (Boolean Intersection) |
| Block | Variable | Description / Purpose | Suggested Format / Values |
|---|---|---|---|
| I. Identification & Metadata | Study ID | Unique identifier assigned by R workflow | Numeric (e.g., 001) |
| Bibliographic Data | Author, year, title, and journal/institution | Text | |
| Evidence Type | Original article, technical report, or method book | Dropdown | |
| II. Geographic & Health Context | Geographic Scope | Country, region, or sub-national area | Text |
| Economic Classification | World Bank income level | Dropdown (Low, Lower-Middle, Upper-Middle) | |
| CRVS System Status | Description of Civil Registration and Vital Statistics status | Text | |
| III. Mortality Database | Data Periodicity | Years covered by mortality records | Text / Numeric |
| Data Volume | Sample size (number of deaths analyzed) | Numeric | |
| Primary Source | Origin of data (e.g., forensic, hospital, surveys) | Text | |
| ICD Framework | Version of the ICD utilized (ICD-9, ICD-10, ICD-11) | Dropdown | |
| IV. Junk Code Typology | Definition Framework | Criteria used to identify “junk” (e.g., GBD list) | Text |
| Evaluated ICD Codes | Specific codes being targeted for correction | Text | |
| Baseline Magnitude | Percentage/volume of junk codes in original records | Percentage (%) | |
| V. Correction Methodology | Central Technique | Algorithmic classification | Dropdown (e.g., MICE, Bayesian, ML) |
| Theoretical Assumptions | Underlying mathematical principles/assumptions | Text | |
| Software Ecosystem | Tools used (R, SAS, Stata, etc.) | Text | |
| Uncertainty/Bias Report | Reported confidence intervals or limitations | Yes / No / Partial | |
| VI. Microsimulation Applicability | TRL (Technology Readiness Level) | Maturity of the development method (1-4) | Scale (1-4) |
| Output Format | Aggregate vs. individual-level data output | Dropdown | |
| Demographic Granularity | Consistency at sub-group/small-area levels | Scale (1-5) | |
| Parametrization Potential | Capability to feed agent-based/microsimulation models | Scale (1-5) | |
| Reviewer Notes | Professional notes on applicability and transferability | Free text |