Skip to main content
Version: v0.0.3

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?

readonly optional description?: string


escalate?

readonly optional escalate?: readonly WarningCode[]


extends?

readonly optional extends?: Profile | readonly Profile[]


name

readonly name: string


privateTags?

readonly optional privateTags?: Readonly<Record<string, Readonly<Record<string, PrivateTagDefinition>>>>


suppress?

readonly optional suppress?: readonly WarningCode[]