50inline std::optional<Role>
parse_role(std::string_view str) {
Role
User roles in the PACS system.
@ Technologist
Can upload/modify studies, but not delete.
@ Administrator
User management, system config.
@ System
Internal system operations.
@ Radiologist
Full clinical access (includes verification)
@ Viewer
Read-only access to studies.
std::optional< Role > parse_role(std::string_view str)
Parse Role from string.
constexpr auto to_string(anonymization_profile profile) noexcept -> std::string_view
Convert profile enum to string representation.
@ System
System configuration and services.