How to create a new filed from 3 other dichotomous fields ?

I have 3 fields/parameters : current smoker (0/1), former smoker (0/1), never smoked (0,1)
need to create a new single parameter of 3 levels: (0- never smoked, 1 - former smoker, 2-current smoker).
How should I do this please?
Thank you

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.