TABLE V. Example of branching based on condition.
Type | Name | Label | Hint | constraint | constraint_message | Relevant |
begin group | locality_info | Locality Information | ${profession}='professional' | |||
select one from yes_no | Detected | Has infection been detected? | ||||
begin group | infection_info | Infection data | ${detected}='yes' | |||
decimal | Rate | Infection rate | Enter percentage of people infected | |||
select one from inf_types | Type | Type detected | Choose the influenza type | |||
select one from infection_type | Infection | Prevelent Infections | ||||
end group | ||||||
begin group | env_info | Environment information | ||||
Text | Food | Food | Enter comments on the food (dietary habits - meat?/vegetarian?, Livestock condition) | |||
Text | Water | Water | Enter comments on the water in the locality (hygiene, supply source etc) | |||
end group | ||||||
end group |