Skip to main content
Version: v0.0.6

Variable: SAFE_HARBOR_PROFILE

const SAFE_HARBOR_PROFILE: DeidProfile

The Safe Harbor profile - the fail-closed default. Wraps SAFE_HARBOR_POLICY: direct identifiers removed, MRN/beneficiary/account pseudonymized, geography and dates generalized, the catch-all (R) blocked. Output is "Safe-Harbor-transformed per the configured policy", never "de-identified".

Example

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

SAFE_HARBOR_PROFILE.standard; // => "safe-harbor"