Skip to main content
Version: v0.0.8

Interface: DeidPolicy

A de-identification policy: a name plus a per-category transform assignment covering all 18 categories.

Example

import { SAFE_HARBOR_POLICY } from "@cosyte/deid";

SAFE_HARBOR_POLICY.name; // => "safe-harbor"

Properties

name

readonly name: string

The policy name - surfaced in output labelling ("Safe-Harbor-transformed per the configured policy").


transforms

readonly transforms: Readonly<Record<SafeHarborCategory, TransformName>>

The transform applied to each Safe Harbor category.