Interface: ExpertDeterminationSupportReport
The structured, value-free Expert-Determination support report. Machine-readable (this object) and
human-readable (via formatExpertDeterminationSupportReport). It supports a determination
and is never one: determination is always null and disclaimer leads.
Example
import { buildExpertDeterminationSupportReport, SAFE_HARBOR_CATEGORIES } from "@cosyte/deid";
const report = buildExpertDeterminationSupportReport([
{ category: SAFE_HARBOR_CATEGORIES.NAMES, transform: "redact", locus: "PID-5", count: 1,
disposition: "removed", code: "DEID_CATEGORY_REMOVED" },
]);
report.determination; // => null (the library never renders one)
report.totals.categoriesActedOn; // => 1
Properties
categoryCoverage
readonlycategoryCoverage: readonlyCategoryCoverage[]
Coverage for all 18 Safe Harbor categories, in regulatory order (A→R).
determination
readonlydetermination:null
Always null: the library renders no determination.
disclaimer
readonlydisclaimer:string
The prominent non-certification statement (EXPERT_DETERMINATION_DISCLAIMER).
dispositionSummary
readonlydispositionSummary:DispositionSummary
The disposition roll-up.
documentCount
readonlydocumentCount:number
How many documents' manifests this report summarizes (1 for a single manifest).
kind
readonlykind:"expert-determination-support"
A stable discriminant for the report shape.
outputLabel
readonlyoutputLabel:string
The output label the pass applied - "Safe-Harbor-transformed per the configured policy".
perLocus
readonlyperLocus: readonlyDeidManifestEntry[]
Every acted-on locus, aggregated and in a deterministic order - the value-free manifest, structured.
policy
readonlypolicy:string|null
The policy name applied, or null if not supplied.
quasiIdentifierStatistics
readonlyquasiIdentifierStatistics:QuasiIdentifierStatistics|null
Descriptive quasi-identifier statistics, only when the consumer supplied class sizes; else null.
retainedQuasiIdentifiers
readonlyretainedQuasiIdentifiers: readonlyRetainedQuasiIdentifier[]
The retained-quasi-identifier residual inventory (coarse residuals the pass recorded as retained).
totals
readonlytotals:object
Headline totals.
categoriesActedOn
readonlycategoriesActedOn:number
How many of the 18 Safe Harbor categories were acted on.
loci
readonlyloci:number
Count of distinct acted-on loci (distinct locus paths across the whole report).
rows
readonlyrows:number
Count of aggregated perLocus rows (distinct category·transform·locus·disposition·code tuples).