Interface: DeidentifyResult<TDataset>
The result of deidentify: a new dataset plus its audit report.
Example
import { deidentify, parseDicom, serializeDicom, type DeidentifyResult } from "@cosyte/dicom";
const { dataset, report }: DeidentifyResult<ReturnType<typeof parseDicom>> = deidentify(parseDicom(buf));
const safe = serializeDicom(dataset); // input dataset is never mutated
void report;
Type Parameters
TDataset
TDataset
Properties
dataset
readonlydataset:TDataset
report
readonlyreport:DeidentifyReport