133 -> std::string_view {
138 return "clean_pixel";
140 return "clean_descriptions";
142 return "retain_longitudinal";
144 return "retain_patient_characteristics";
146 return "hipaa_safe_harbor";
148 return "gdpr_compliant";
159 -> std::optional<anonymization_profile> {
164 if (
name ==
"retain_patient_characteristics") {
constexpr auto to_string(anonymization_profile profile) noexcept -> std::string_view
Convert profile enum to string representation.
anonymization_profile
DICOM de-identification profiles based on PS3.15 Annex E.
@ clean_pixel
Clean Pixel Data - Remove burned-in annotations.
@ hipaa_safe_harbor
HIPAA Safe Harbor - 18 identifier removal.
@ gdpr_compliant
GDPR Compliant - European data protection.
@ retain_longitudinal
Retain Longitudinal - Preserve temporal relationships.
@ retain_patient_characteristics
Retain Patient Characteristics.
@ clean_descriptions
Clean Descriptions - Sanitize text fields.
@ basic
Basic Profile - Remove direct identifiers.
auto profile_from_string(std::string_view name) -> std::optional< anonymization_profile >
Parse profile from string.