Dicom.DeIdentification.Profile (Dicom v0.9.1)

Copy Markdown View Source

De-identification profile options (PS3.15 Table E.1-1 option columns).

The 10 standard boolean options mirror the PS3.15 profile flags and are applied to the supported tag set in Dicom.DeIdentification.

retain_private_tags is a library-specific switch that retains all private tags. retain_safe_private is kept as a compatibility alias for the same behavior, but it does not implement the PS3.15 Retain Safe Private Option.

When overlapping options target the same tag, Dicom.DeIdentification applies the more conservative override. For temporal tags, that means retain_long_full_dates takes precedence over retain_long_modified_dates.

Summary

Types

t()

@type t() :: %Dicom.DeIdentification.Profile{
  clean_descriptions: boolean(),
  clean_graphics: boolean(),
  clean_structured_content: boolean(),
  retain_device_identity: boolean(),
  retain_institution_identity: boolean(),
  retain_long_full_dates: boolean(),
  retain_long_modified_dates: boolean(),
  retain_patient_characteristics: boolean(),
  retain_private_tags: boolean(),
  retain_safe_private: boolean(),
  retain_uids: boolean()
}