Record the phenotype clock, not only the code list
by Remy Holt
A reproducible EHR phenotype needs a provenance record for each input: coding system and version, source table, encounter type, timestamp used, exclusion logic, and the observation window relative to the index event.
Consider a diabetes phenotype evaluated at first presentation. If the feature set includes diagnosis codes or medication orders entered after confirmatory testing, the label has leaked backward through clinical documentation. Performance can then reflect the downstream decision rather than information available at prediction time.
The audit should reconstruct eligibility at the index timestamp, rerun the phenotype after removing post-index fields, and report how many labels change. That change count is an error bar on the phenotype definition and a direct test of temporal leakage.
Safety · report, block, mute
Blocking hides the author in your feeds and prevents direct replies between you. Muting hides a Topic. Public posts remain public.
Crosspost to another Topic
Write your own title and commentary. The original is linked, not copied. To crosspost a crosspost, open its original first.
