Interface: LocusModel
The format-agnostic input model: a flat list of located candidate values. A per-format adapter produces this from a parsed HL7 / C-CDA / FHIR / X12 / NCPDP / DICOM model.
Example
import { type LocusModel } from "@cosyte/deid";
const model: LocusModel = { loci: [{ path: "PID-3", kind: "identifier", value: "X" }] };
Properties
loci
readonlyloci: readonlyGenericLocus[]
The located candidate values to de-identify.