A Generative Approach for Semantic Auditing of Electronic Health Records
Not on the map. Why?
Abstract (arXiv)
The reliability of clinical artificial intelligence (AI) depends on high-quality data, yet Electronic Health Records are often inconsistent with existing scientific knowledge. Current quality assessments are limited: they either focus on syntax or rely on labor-intensive manual rules to capture semantic nuances. To overcome these scalability barriers, we propose Medical Data Pecking, a methodology that adopts software unit testing principles for medical data validation. It introduces Semantic Data Coverage, employing Large Language Models to generate context-aware tests that "peck" for inconsistencies between observed data and epidemiological evidence. To demonstrate this methodology, we implemented a reference tool using a Retrieval-Augmented Generation architecture that synthesizes medical literature into executable code. When applied to three datasets, this implementation generated dozens of tests per cohort, identifying discrepancies between observed distributions and epidemiological priors. These discrepancies encompass both genuine data inconsistencies and expected cohort-selection effects. This work provides an initial framework for scalable semantic auditing, shifting assurance from manual rules to the generative and context-sensitive verification required for trustworthy AI.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 5 of its 36 references that are in the map. First posted on arXiv 3 Jul 2025.
Builds on
5 of 36 references.
References · 5
- 2022Can Foundation Models Wrangle Your Data?cited by 175
- 2023Event Stream GPT: A Data Pre-processing and Modeling Library for Generative, Pre-trained Transformers over Continuous-time Sequences of Complex Eventscited by 46
- 2017Continuous Integration, Delivery and Deployment: A Systematic Review on Approaches, Tools, Challenges and Practicescited by 22
- 2023Enhancing Phenotype Recognition in Clinical Notes Using Large Language Models: PhenoBCBERT and PhenoGPTcited by 18
- 2023GenSpectrum Chat: Data Exploration in Public Health Using Large Language Modelscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026From Statistical Fidelity to Clinical Consistency: Scalable Generation and Auditing of Synthetic Patient Trajectories
- 2026CliniCARE-Bench: Clinical Calibrated Audit of Medical Reasoning in EHR
- 2025Beyond the Leaderboard: Rethinking Medical Benchmarks for Large Language Models
- 2026Generated Context versus Governed State: Functional Conditions for Accountable Longitudinal Clinical Reasoning
- 2026Synthetic Hospital: An Open, Verifiable, Physician-Validated Longitudinal EHR Benchmark
- 2025MediEval: A Unified Medical Benchmark for Patient-Contextual and Knowledge-Grounded Reasoning in LLMs
- 2025Leveraging Generative AI Through Prompt Engineering and Rigorous Validation to Create Comprehensive Synthetic Datasets for AI Training in Healthcare
- 2025SynLLM: A Comparative Analysis of Large Language Models for Medical Tabular Synthetic Data Generation via Prompt Engineering