Skip to main content
Version: v0.0.7

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

readonly loci: readonly GenericLocus[]

The located candidate values to de-identify.