Skip to main content
Version: v0.0.8

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

readonly categoryCoverage: readonly CategoryCoverage[]

Coverage for all 18 Safe Harbor categories, in regulatory order (A→R).


determination

readonly determination: null

Always null: the library renders no determination.


disclaimer

readonly disclaimer: string

The prominent non-certification statement (EXPERT_DETERMINATION_DISCLAIMER).


dispositionSummary

readonly dispositionSummary: DispositionSummary

The disposition roll-up.


documentCount

readonly documentCount: number

How many documents' manifests this report summarizes (1 for a single manifest).


kind

readonly kind: "expert-determination-support"

A stable discriminant for the report shape.


outputLabel

readonly outputLabel: string

The output label the pass applied - "Safe-Harbor-transformed per the configured policy".


perLocus

readonly perLocus: readonly DeidManifestEntry[]

Every acted-on locus, aggregated and in a deterministic order - the value-free manifest, structured.


policy

readonly policy: string | null

The policy name applied, or null if not supplied.


quasiIdentifierStatistics

readonly quasiIdentifierStatistics: QuasiIdentifierStatistics | null

Descriptive quasi-identifier statistics, only when the consumer supplied class sizes; else null.


retainedQuasiIdentifiers

readonly retainedQuasiIdentifiers: readonly RetainedQuasiIdentifier[]

The retained-quasi-identifier residual inventory (coarse residuals the pass recorded as retained).


totals

readonly totals: object

Headline totals.

categoriesActedOn

readonly categoriesActedOn: number

How many of the 18 Safe Harbor categories were acted on.

loci

readonly loci: number

Count of distinct acted-on loci (distinct locus paths across the whole report).

rows

readonly rows: number

Count of aggregated perLocus rows (distinct category·transform·locus·disposition·code tuples).