Am creating a tool to monitor a few sites. If variable meets the criteria , i want, there is a calculation that determines the site as High risk, medium Risk or Low risk
I however have a repeat group and am failing to compute risk leve inside the
repeat group for number of times equal to the number of people the enumerator will interview at each site. Specific questions need to be evaluated inside the repeat, then i can combine the risk level from the repeat to the calculation outside the repeat.
Here is what i tried
Inside Repeat: once(if( ${d_hh_pay}= 1 or ${HHFraudConcerns} = 1 or ${HHAsstSecurity} = 1 or ${market_diversion}=1 or ${Pay_ent}= 1 , "High Risk", if(${HHAsstPayTrsp}= 1 or ${Received_Ass} = 0 or ${HHDTPTimeWalk} = 3 or ${HHDTPTimeWalk} = 4 or ${HHAsstTrvlDay} = 0 or ${corr_ent} = 0 or ${HHAsstKnowEnt} = 0 or ${HHAsstRecInfo} = 0 or ${HHAsstKnowPeople} = 0 , "Medium Risk ","Low Risk")))
Oustide repeat: if(${HHAsstKnowFreq}= 0 or ${sale_traders}= 1 or ${MOFraudConcerns}= 1 or ${sale_traders} = 1 or ${MOAsstArmed} = 1 or ${MOFraudConcerns} = 1 or ${p_diverting} = 1 or ${repeat_risk} = "High Risk" , "High Risk", if(${HHDTPTimely}= 1 or ${repeat_risk} = "Medium Risk" , "Medium Risk","Low Risk"))
After using these calculations, i found out the repeat was evaluating the risk level for only the last interviewed person.
seeking support on how best i can implement the repeat part to evaluate for everyone interviewed.
Even if 10 people are interviewed, but one answered triggered High risk, i want the tool to evaulate as High risk inside the repeat