Skip to main content
Version: v0.0.6

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

readonly category: SafeHarborCategory

The Safe Harbor category of the retained residual.


count

readonly count: number

How many values at this locus retained a residual.


locus

readonly locus: string

The format-neutral locus (segment/field index · path · tag) - never a value.