UNPKG

@umessen/dicom-deidentifier

Version:

DICOM de-identification library for TypeScript

21 lines (20 loc) 838 B
import type DicomDictionary from './DicomDictionary'; import type ExecutionOptions from './ExecutionOptions'; import type ProfileOption from './ProfileOption'; import DataElement from '../DataElement'; declare type DummyOptions = { lookup: Record<string, any>; default: string; }; declare type SpecialHandler = (dataElement: DataElement, executionOptions: ExecutionOptions) => boolean; declare type DeidentifyOptions = { profileOptions: ProfileOption[]; getReferenceDate?: (dictionary: DicomDictionary) => Date; getReferenceTime?: (dictionary: DicomDictionary) => Date; timeShiftFunction?: (refDate: Date, date: Date) => Date; dateShiftFunction?: (refDate: Date, date: Date) => Date; dummies?: DummyOptions; keep?: string[]; specialHandlers?: SpecialHandler[]; }; export default DeidentifyOptions;