convert enum AccidentalType to enum class