Repeat group question

Need your teams help in a case which is mentioned below :
We have two group one is Begin group and the other is Repeat group
First group of question of begin group in which 6 variables are there in select_one (type) where responses are as 1 = yes and 0 = no.
And the another one is repeat group where 5 variables are in select_one (type)
where responses are as 1 = yes and 0 = no.
CASE :
if in first group we select more then one "yes" then the loop will move according to it.
But in every loop if any one response is selected yes then in rest others loops it can not be selected "Yes".

For the same google drive link is shared below :

Hi @ravird4,

That's quite challenging, I advise you to check out the guide on who to reference items from outside repeat.

https://docs.opendatakit.org/form-repeats/#referencing-responses-from-outside-the-repeat-loop