Skip to main content
Version: v0.0.3

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

readonly dataset: TDataset


report

readonly report: DeidentifyReport