Skip to main content
Version: v0.0.7

Interface: TransformedLocus

The transformed value of a locus after a de-id pass: the reduced/surrogate value, or null when the value was removed or blocked (fail-closed). Carries no secret and no original value.

Example

import { type TransformedLocus } from "@cosyte/deid";

const t: TransformedLocus = { path: "PID-3", kind: "identifier", value: null, disposition: "removed" };

Properties

disposition

readonly disposition: "transformed" | "removed" | "blocked" | "retained"

What happened to the value.


kind

readonly kind: LocusKind

The kind of value at this locus (unchanged from input).


path

readonly path: string

The format-neutral path (unchanged from input).


value

readonly value: string | null

The transformed value, or null when removed / blocked.