Returns matching source rows without collection or aggregation. Uses the same dot/case/whitespace normalization and literal exact/prefix policy as [icd_flag()], including its error for unsupported range, wildcard, regex and list notation. Missing/blank codes do not match. Select source fields before this function if desired; filters remain part of the lazy query.
Usage
thip_filter_icd(data, codes, cols, match = c("exact", "prefix"))