AI analytics tools promise to make analytic work faster and enable anyone to pull data without knowing how to code. This adds the risk of reporting without context and with divergent definitions.
At a health system, "heart failure cohort" might mean a specific set of diagnosis codes, drawn from visit diagnoses but not the problem list. A data analyst draws on experience to apply "local" definitions like these, some documented and some remembered, making many decisions in every query. Even trained analysts are known to vary in their choices, leading to widely varying results (Silberzahn et al.).
How can we use AI to let anyone generate reports, while ensuring quality of reporting and adherence to an organization's own definitions?
Like the 29 analyst teams in Silberzahn et al., an AI agent given the same question makes defensible but different choices. Unlike human teams, it can be handed the institution's definitions every time, and it follows them: the SD of the reported proportion dropped from 18.3 to 4.2 points. Concordance held near 90% even when the eight rules sat among 1,000 items.
A knowledge library turns local knowledge from something each analyst carries in their head into something every query receives.
Limitations:This work focused on the precision of the answer, not accuracy. Future work will focus on query accuracy versus a human-defined gold standard. How performance scales with larger table schemas is critical to address next.