Skip to main content
Version: v0.0.7

Type Alias: LocusKind

LocusKind = "identifier" | "date" | "age" | "zip" | "freetext" | "clinical" | "unknown"

The kind of value at a locus - drives which generalization applies and whether the engine must fail closed. clinical is the over-scrub guard: a clinical value (a lab result, a dose, a code, a status) is not an identifier and must survive untouched.

Example

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

const kind: LocusKind = "identifier";