Interface: DefineProfileOptions
Options accepted by defineProfile. Only name is required; every
other field defaults to empty. With exactOptionalPropertyTypes, omit an
unset key rather than passing undefined.
Example
import { defineProfile, WARNING_CODES } from "@cosyte/dicom";
const lenientCd = defineProfile({
name: "lenient-cd",
description: "Tolerant of conformance-loose archive CDs",
suppress: [WARNING_CODES.DICOM_ODD_LENGTH_VALUE_PADDED],
});
Properties
description?
readonlyoptionaldescription?:string
escalate?
readonlyoptionalescalate?: readonlyWarningCode[]
extends?
name
readonlyname:string
privateTags?
readonlyoptionalprivateTags?:Readonly<Record<string,Readonly<Record<string,PrivateTagDefinition>>>>
suppress?
readonlyoptionalsuppress?: readonlyWarningCode[]