Is there a way I can add multiple conditions from same question to filter out the choices in the later question?

Is there a way I can add multiple conditions from same question to filter out the choices in the later question ?

@apulikkal, could you describe more so that the community could help you with this?

For example:
Let us assume that there are 2 questions Q10 and Q11
Q10 is about the gender and Q11 is about occupation

Q11 has 10 options to choose and out of those 10 options, 8 are same for male and female. however, 2 are only male specific and I do not want those 2 options to appear if Q10 is female.

My approach:
I would keep choice_filter of Q11 as ${Q10} = Q10 and then in the choice_list I will give the code. Furthermore, I will make a list of 18 options (10 for male and 8 for female) in Q11 instead and give q11’s options code as 1 for 10 options and 2 for rest 8.

My doubt:
This may not be the right way to resolve this issue so what will be the most efficient way to solve such scenarios ??