EpiLedger: Privacy-Safe Disease Tracking, Clinical Text Screening, and Outbreak Monitoring

Author: Bryan P. White (ORCID: 0000-0003-4191-3511) • Affiliation: CRV Science Labs • Preprint ID: APP-PREPRINT-06 (v2.0.0 Empirical Preprint) • Categories: cs.CR • q-bio.PE • stat.AP
Canonical DOI: 10.5281/zenodo.24222382 • Apps Hub: https://crvscience.com/apps • Repository: https://github.com/bpwhite/crvscience-epiledger
Abstract — EpiLedger (v2.0.0) is an open-source public health informatics workstation designed so local clinics, epidemiologists, and regional health agencies can track infectious outbreaks accurately while protecting individual patient confidentiality. Releasing small-town case counts or cross-linking clinic databases poses severe re-identification hazards, yet withholding public health summaries blinds schools and hospitals when transmission accelerates. EpiLedger bridges privacy and surveillance inside one offline-first application uniting Laplace differential privacy with strict cumulative budget accountants, SHA-256 tamper-evident release ledgers, encrypted Bloom-filter record linkage across clinics, clinical triage note negation screening, real-time Cori reproduction-number (Rt) tracking, and wastewater viral variant estimation. Across 253 weeks of U.S. measles records, privacy noise stayed below one case per week (MAE = 0.972), ledger hashing flagged simulated single-cell edits immediately, encrypted record matching scored F1 = 1.00, clinical filtering excluded all 37 negated mentions with zero false alerts, Cori estimation captured peak Rt = 10.27, and wastewater variant estimation resolved a JN.1-to-XEC transition cleanly (mean L1 error 0.00765).

1. Real-World Context & Why This Problem Matters

The Privacy-Versus-Timeliness Dilemma in Public Health

Whenever a contagious outbreak—whether measles, seasonal influenza, respiratory syncytial virus, or an emerging viral variant—begins circulating across schools, clinics, and neighborhoods, county epidemiologists, school nurses, and hospital preparedness officers need reliable weekly situational clarity rapidly. Three urgent practical questions anchor almost every morning public health briefing: Is local transmission speeding up or cooling down, measured through the instantaneous reproduction number Rt where values above 1.0 warn that each infected resident passes illness to more than one successor[1]? Are hospital intake notes capturing genuine acute symptoms rather than reassuring negative statements such as "patient denies fever or cough"[3]? And which viral lineages are rising inside neighborhood sewage treatment samples before clinical hospitalizations crest[2]?

Why Informal Redaction Fails Under Cross-Tabulation

Sharing granular clinic figures from small towns or sparsely populated rural zip codes, however, introduces severe patient privacy risks. Classic informal masking rules—such as hiding table cells containing fewer than five cases—repeatedly unravel under basic cross-tabulation differencing: outside observers subtract neighboring urban figures from regional subtotals or line up consecutive weekly bulletins to deduce masked small-town counts cleanly. Equally challenging, reconciling duplicate clinic lab tests across independent hospitals historically pressured teams either to trade plaintext patient names over insecure spreadsheets or tolerate double-counted patients inflating perceived surges.

Modern privacy engineering resolves both dilemmas rigorously without blinding epidemic detection. Laplace differential privacy adds precisely scaled mathematical jitter managed by a strict finite query budget so any single patient's participation stays provably obscured; SHA-256 hash chaining constructs tamper-evident public logs proving released tables were never silently doctored after publication; and keyed Bloom-filter record linkage compares patient records across separated clinics completely blindly. EpiLedger packages these cryptographic guarantees directly beside real-time outbreak tracking offline.

2. Conceptual Design & How EpiLedger Works

Calibrated Differential Privacy, Audit Chains, and Blind Record Matching

EpiLedger (v2.0.0) maintains all sensitive clinic feeds strictly inside local health-department custody without third-party cloud transfers. At the privacy-stewardship layer in epi-store, dp_and_audit.rs applies calibrated Laplace statistical jitter proportional to maximum single-resident table contribution while debiting a cumulative privacy-loss accountant: once combined ε spending touches configured agency limits, unbudgeted follow-up queries halt automatically so repeated sampling cannot average noise out to zero. Simultaneously, every public data release chains cryptographically via SHA-256 digests so external auditors flag any altered cell instantaneously.

When regional clinic partners must merge shared patients without disclosing names, birthdates, or addresses, pprl_bloom.rs conducts privacy-preserving record linkage (PPRL): participating clinics scramble text fragments locally into salted Bloom bit arrays, skip mismatched strangers rapidly via compact MinHash blocking signatures, and reconcile overlapping individuals accurately without exchanging plaintext identifiers.

Syndromic Screening, Outbreak Curves, and Wastewater Deconvolution

Upstream data adapters in epi-ingest (syndromic_essence.rs and cdc_soda.rs) standardize CDC, FHIR, and HL7 feeds while filtering clinical triage prose through NegEx linguistic negation parsing[3]—preventing phrases like "no shortness of breath" or "ruled out measles" from setting off phantom syndromic spikes. Downstream in epi-analytics, renewal_rt.rs and nowcast.rs transform aggregated weekly counts into daily delay-adjusted curves and solve Bayesian Cori Rt trajectories complete with 95% credible intervals[1], while wastewater_demix.rs resolves pooled municipal sewage sequencing frequencies into crisp circulating variant shares[2] viewable cleanly inside desktop cartograms and terminals (epi-app, epi-core).

Table 1. Software Modules, Descriptions, and Citations (EpiLedger)
Module / CrateWhat It DoesCitation
epi-store/dp_and_audit.rsAdds calibrated Laplace privacy noise, enforces privacy budgets, and signs SHA-256 logs.[4–20]
epi-store/pprl_bloom.rsMatches patient records across clinics using encrypted Bloom/MinHash filters.[4–20]
epi-ingest (syndromic_essence.rs, cdc_soda.rs)Reads CDC/FHIR/HL7 feeds and applies NegEx negation filtering to clinical text.[3]
epi-analytics/renewal_rt.rs & nowcast.rsEstimates outbreak Rt growth curves with 95% intervals and daily disaggregation.[1]
epi-analytics/wastewater_demix.rsEstimates variant shares (like JN.1 vs. XEC) from wastewater mutation frequencies.[2]
epi-app & epi-coreDesktop/CLI dashboards, cartograms, and epidemiological week schemas.[4–20]
Figure 1. Sample Screenshot: EpiLedger Rt Estimation & Outbreak Aberration Monitor
Sample Screenshot: EpiLedger Rt Estimation & Outbreak Aberration Monitor

3. Walkthrough of Capabilities & Quantitative Findings

Low Distortion Privacy and Instant Ledger Verification on Measles Records

Benchmarking EpiLedger across 253 weekly U.S. measles surveillance reports—deliberately stressed across 90 low-count table cells reporting nine or fewer patients where re-identification risk concentrates most severely—confirms that formal differential privacy retains crisp epidemiological legibility. Injecting Laplace jitter tuned at ε = 0.75 altered weekly totals by under a single patient on average (MAE = 0.9723 cases, RMSE = 1.6078), keeping major outbreak spikes clearly separated from quiet inter-epidemic stretches. Enforcing a cumulative ε cap of 2.0 immediately stopped an extra unauthorized budget-exceeding query, while SHA-256 ledger verification caught an injected single-cell tamper modification instantaneously right at sequence index 1.

Accurate Record Linkage, Zero False Alerts, Peak Rt, and Variants

Across partner-clinic record reconciliation spanning 80 noisy synthetic patient profiles carrying typographical variations and 40 genuine clinic overlaps, MinHash blocking skipped 91.77% of unnecessary pair checks while accurately recovering every single overlapping resident (F1 = 1.00). Evaluating emergency-triage prose across 68 clinical notes, NegEx linguistic screening isolated all 37 negated symptom mentions cleanly with zero false positives[3].

Feeding those protected tables directly into outbreak analytics revealed vivid epidemiological dynamics: Cori renewal modeling[1] traced the full 253-week measles series smoothly, quantifying an acute transmission burst reaching Rt = 10.27 (95% credible interval 3.33–21.03) before cooling safely below unity to Rt = 0.72 under public-health intervention. Concurrently, wastewater allele deconvolution[2] resolved a 10-week sewage transition cleanly from SARS-CoV-2 variant JN.1 (56.7% share in Week 1) to XEC (54.0% in Week 10) within mean L1 error 0.00765—archived inside cori_rt_and_dp_audit.csv.

Think of an ε privacy budget like a community's protective confidentiality jar guarded across an entire respiratory season. Each time an analyst releases a weekly zip-code chart or county breakdown, a measured fraction of that budget gets spent permanently proportional to how sharply one resident's hospital visit could shift reported totals. Unlike naive hand-erased tables that curious outsiders routinely crack by comparing municipal counts against regional totals, calibrated Laplace jitter backed by strict budget enforcement makes any individual resident's participation mathematically indistinguishable—while SHA-256 hash chaining seals every published release publicly so silent edits fail audit immediately.

Likewise, translating linkage and clinical screening outputs into plain words clarifies their everyday public-health impact. Pruning 91.77% of fruitless pairwise checks with MinHash allows modest town servers to match overlapping clinic patients cleanly across hospital boundaries in fractions of a second without exposing names, while NegEx filtering spares health officers from waking up to bogus fever spikes triggered solely by negative emergency chart phrases. Reading Cori Rt fall cleanly from 10.27 down to 0.72 alongside sub-one-percent sewage variant error gives communities crisp actionable clarity well ahead of clinical hospital crowding.

Table 2. Representative Capabilities and Quantitative Findings (APP-PREPRINT-06)
Public Health ModuleSurveillance ScopeKey FindingData Output
Differential Privacy & Audit253w Measles; ε = 0.75 / cap 2.0MAE 0.972, RMSE 1.608; tamper caught at seq 1cori_rt_and_dp_audit.csv
Encrypted Linkage & NegEx80 noisy records; 68 clinical notesLinkage F1 = 1.00 (91.8% pruned); 0 NegEx FPPrivacy linkage log
Cori Rt & Wastewater253w Cori Rt + 10w variant shiftsPeak Rt = 10.27; JN.1 to XEC L1 err = 0.00765cori_rt_and_dp_audit.csv
Figure 2. EpiLedger (v2.0.0) privacy and outbreak tracking
Panel A | CDC Measles (2022-2026) Cori Rt & 95% CrI0510152050100150200250Peak Rt = 10.27 (95% CrI 3.33-21.03)Dashed: Rt = 1.0 | Terminal Rt = 0.72MMWR Epidemic Week Index (N = 253 Weeks)Instantaneous Reproduction Number (Rt) Panel B | Laplace DP Accuracy, PPRL & Wastewater ShiftPrivacy & Linkage Validation Benchmarks (eps = 0.75 / cap = 2.0)Theory Laplace RMSE1.842 casesObserved DP RMSE1.608 casesObserved DP MAE0.972 casesWastewater Freyja Deconvolution: JN.1 to XEC TakeoverWeek 1 (JN.1 Dom.)JN.1 56.7% | Mean Simplex L1 Loss = 0.00765Week 10 (XEC Dom.)XEC 54.0% | Mean Simplex L1 Loss = 0.00765End-to-End Governance & Extraction VerificationPPRL Blocking Reduction: 91.8% (260/3,160 pairs, Precision=1.0, Recall=1.0)ESSENCE NegEx: 100% Negation Accuracy (37 negations blocked, 0 FP)SHA-256 Ledger Audit: Tamper detected at seq_no 1 | Overrun rejected

4. Practical Scenarios: Who Uses EpiLedger & How

County Health Departments and Multi-Clinic Collaborations

County and municipal public health teams balance twin public obligations every week: keeping resident medical privacy legally inviolate while delivering honest local outbreak guidance to school boards, clinics, and assisted-living facilities on tight budgets. Running EpiLedger natively on local office machines lets small agencies deduplicate multi-clinic testing blindly through Bloom linkage, monitor unbiased Cori Rt bounds[1] and sewage variant shifts[2], and share weekly charts anchored by auditable SHA-256 integrity logs and finite privacy budgets. Because every file stays strictly offline inside institutional walls, even part-time district nurses run complete weekly dispatches without remote cloud vendor delays or legal compliance headaches.

Figure 3. Sample Screenshot: Wastewater Variant Deconvolution Module
Sample Screenshot: Wastewater Variant Deconvolution Module

Training Public Health Students in Data Ethics and Outbreak Math

In biostatistics and public-health informatics seminars, EpiLedger makes data-governance theory concrete and visual. Students observe firsthand why small ε budgets limit repeated queries, how NegEx linguistic rules spare syndromic dashboards from false hospital alarms[3], and how credible interval bands widen naturally whenever weekly incidence stays low.

Hospital Infection Control, School Districts, and Wastewater Alerts

Beyond county epidemiology desks, hospital infection-control nurses, municipal water utilities, and regional school districts increasingly watch the same local respiratory or gastrointestinal wave from totally different angles. When wastewater sampling plants detect rising viral signals days before pediatric clinics see fever spikes, keeping partners aligned usually stalls behind incompatible spreadsheets and strict medical privacy boundaries that bar emailing patient rosters across town. EpiLedger gives non-specialist staff a shared offline common language: duplicate visits across urgent-care centers collapse cleanly behind anonymized tokens, wastewater concentration curves sit cleanly beside clinic trends on one synchronized timeline, and smoothed reproduction estimates reveal whether community transmission is genuinely accelerating or simply catching up after a weekend holiday reporting gap.

Building Public Trust Through Verifiable Privacy Accounting

Ordinary residents, patient advocates, and city council members understandably ask whether community outbreak charts could accidentally reveal sensitive health details inside smaller towns or rural zip codes. By enforcing fixed privacy noise budgets directly inside every exported aggregate report and sealing transformation histories under cryptographic audit hashes, EpiLedger transforms vague legal privacy promises into concrete, inspectable safeguards that local oversight boards can verify independently without specialist cryptography degrees. Paired alongside ecological, demographic, and clinical companions in the public collection at crvscience.com/apps, the desktop suite lowers technical barriers so smaller municipalities gain disciplined, transparent epidemic situational awareness while keeping sensitive community records under strict local stewardship.

Clear uncertainty reporting matters equally when speaking to reporters and worried families: showing why small rural towns carry wider reproduction uncertainty bands discourages misleading single-day headlines while honoring real biological caution. Instead of treating statistical epidemiology as an opaque black box accessible only to state agencies, clear desktop workflows empower regional clinic partnerships to explain health recommendations calmly using verifiable local evidence.

Figure 4. Sample Screenshot: Differential Privacy & Audit Ledger
Sample Screenshot: Differential Privacy & Audit Ledger

5. Open Access & Connections Across the CRV Science App Network

Open Access and Connections Across the CRV Science App Network

All EpiLedger differential-privacy budget guards, SHA-256 audit chains, encrypted Bloom linkage modules, and outbreak solvers live open-source through the CRV Science Apps Hub at https://crvscience.com/apps for public civic adoption, academic instruction, and open verification.

Within the twelve-application CRV Science suite[4–20], EpiLedger links ethical public-health surveillance cleanly with molecular biology and urban preparedness: OSABT supplies Kaplan-Meier and Cox proportional-hazards models for individual cohort outcomes; Causal-Atlas explores host cellular signaling pathways perturbed during viral or bacterial illness; SAR-Atlas evaluates candidate antiviral drug pharmacokinetics and tissue exposure; and Urban-Grid models ambulance queueing coverage and disaster evacuation corridors across city streets during acute community surges.

References

  1. [1] Cori, A., et al. (2013). A New Framework and Software to Estimate Time-Varying Reproduction Numbers During Epidemics. American Journal of Epidemiology. https://doi.org/10.1093/aje/kwt133
  2. [2] Karthikeyan, S., et al. (2022). Wastewater sequencing reveals early cryptic SARS-CoV-2 variant transmission. Nature. https://doi.org/10.1038/s41586-022-05049-6
  3. [3] Chapman, W. W., et al. (2001). A Simple Algorithm for Identifying Negated Findings and Diseases in Discharge Summaries. Journal of Biomedical Informatics. https://doi.org/10.1006/jbin.2001.1029
  4. [4] White, B. P. (2026). The CRV Science App Network: Seventeen Open-Source Rust Programs for Science, Data, and Simulation. CRV Science App Preprint APP-PREPRINT-01 [cs.SE, cs.CE, q-bio.QM], v1.0.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222398
  5. [5] White, B. P. (2026). AeroFlyway: Tracking Bird Migration with Weather Radar, Skyglow Maps, and Nighttime Flight Calls. CRV Science App Preprint APP-PREPRINT-13 [q-bio.PE, physics.ao-ph, cs.GR], v0.6.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222366
  6. [6] White, B. P. (2026). BeoFold: Simulating How Proteins Fold Using Distributed Computing and State Networks. CRV Science App Preprint APP-PREPRINT-02 [q-bio.BM, physics.chem-ph, cs.DC], v1.4.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222370
  7. [7] White, B. P. (2026). Calc-Lab: Interactive Calculus, Linear Algebra, and Differential Equation Solver Workbench. CRV Science App Preprint APP-PREPRINT-03 [math.NA, cs.MS, cs.CY], v0.5.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222372
  8. [8] White, B. P. (2026). Causal-Atlas: Tracing How Genes and Drugs Turn Biological Pathways On and Off. CRV Science App Preprint APP-PREPRINT-04 [q-bio.MN, q-bio.GN, stat.ML], v0.2.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222376
  9. [9] White, B. P. (2026). Cit-Atlas: Mapping Citation Networks and Research Impact Across Scientific Papers. CRV Science App Preprint APP-PREPRINT-05 [cs.DL, cs.SI, physics.soc-ph], v1.8.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222380
  10. [10] White, B. P. (2026). ITME: Simulating Four Billion Years of Life, Oceans, and Atmosphere Evolution. CRV Science App Preprint APP-PREPRINT-07 [q-bio.PE, nlin.AO, physics.bio-ph], v2.3.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222386
  11. [11] White, B. P. (2026). OSABT: All-in-One Toolkit for Plant Physiology, Survival Curves, Genetics, and Enzyme Kinetics. CRV Science App Preprint APP-PREPRINT-08 [q-bio.QM, stat.AP, cs.SE], v2.0.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222388
  12. [12] White, B. P. (2026). SAR-Atlas: Drug Design, Body Distribution Modeling, and Candidate Screening in Rust. CRV Science App Preprint APP-PREPRINT-09 [physics.chem-ph, q-bio.BM, cs.LG], v3.8.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222390
  13. [13] White, B. P. (2026). TerraTwin: Fast Climate Projections for Global Warming, Sea-Level Rise, and Arctic Change. CRV Science App Preprint APP-PREPRINT-10 [physics.ao-ph, cs.CE, stat.AP], v2.5.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222392
  14. [14] White, B. P. (2026). Urban-Grid: Modeling City Traffic, Emergency Response Coverage, and Earthquake Evacuation. CRV Science App Preprint APP-PREPRINT-11 [physics.soc-ph, cs.MA, cs.CE], v5.2.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222394
  15. [15] White, B. P. (2026). WildFront BattleGrounds: Turn-Based Hex Strategy Game with Voxel Graphics and Procedural Map Generation. CRV Science App Preprint APP-PREPRINT-12 [cs.GT, cs.GR, math.CO], v3.4.1. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24222396
  16. [16] White, B. P. (2026). HelioProbe: Simulating Spacecraft Orbits, Deep-Space Telescopes, and Comet Tails in 3D. CRV Science App Preprint APP-PREPRINT-14 [astro-ph.EP, astro-ph.IM, cs.GR], v2.3.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24244083
  17. [17] White, B. P. (2026). PopBio-Studio: Interactive Population Biology, Adaptive Landscapes, and Genetic Skyline Simulator. CRV Science App Preprint APP-PREPRINT-15 [q-bio.PE, q-bio.QM, stat.AP], v1.2.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24244085
  18. [18] White, B. P. (2026). QuantaCrypt-Studio: Simulating Quantum Circuits, Quantum Key Distribution, and Post-Quantum Cryptography. CRV Science App Preprint APP-PREPRINT-16 [quant-ph, cs.CR, cs.MS], v2.2.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24244089
  19. [19] White, B. P. (2026). SonoWing: Analyzing Bat Echolocation and Bird Calls with Spectrograms and Harmonic Tracking. CRV Science App Preprint APP-PREPRINT-17 [q-bio.NC, q-bio.PE, cs.SD], v1.1.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24244091
  20. [20] White, B. P. (2026). SwarmForge: 3D Isometric Automated Factory and Swarm Robotics Simulation Game. CRV Science App Preprint APP-PREPRINT-18 [cs.MA, cs.RO, cs.GT], v1.3.0. Hosted via CRV Science Apps Hub (https://crvscience.com/apps). https://doi.org/10.5281/zenodo.24244093