convert enum AccidentalRole to enum class