Interface: RetainedQuasiIdentifier
One entry in the retained-quasi-identifier residual inventory - a coarse identifying element the
pass deliberately kept for analytic utility and recorded as DEID_RESIDUAL_RETAINED: a
year-only date, a retained safe 3-digit ZIP prefix, an exact age ≤ 89. These are exactly the residuals
an expert reasons about under the §164.514(b)(2)(ii) actual-knowledge test.
Example
import { buildExpertDeterminationSupportReport, SAFE_HARBOR_CATEGORIES } from "@cosyte/deid";
const report = buildExpertDeterminationSupportReport([
{ category: SAFE_HARBOR_CATEGORIES.DATES, transform: "generalize", locus: "PID-7", count: 1,
disposition: "transformed", code: "DEID_RESIDUAL_RETAINED" },
]);
report.retainedQuasiIdentifiers[0]?.locus; // => "PID-7"
Properties
category
readonlycategory:SafeHarborCategory
The Safe Harbor category of the retained residual.
count
readonlycount:number
How many values at this locus retained a residual.
locus
readonlylocus:string
The format-neutral locus (segment/field index · path · tag) - never a value.