I have a problem. When I register an index case patient’s contacts, I get the error below.
Display Condition Error: Error in calculation for /data/caso_index XPath nodeset has more than one node[/data/caso_index/contactos/paciente_adulto_ou_criana;/data/caso_index/contactos/paciente_adulto_ou_criana]; cannot convert multiple nodes to a raw value. Refine path expression to match only one node.
I have a question which asks: how many contacts live with you? I dragged this into repeat-count.
If the answer to the question is, for example, 2, I have to register two contacts. What happens is that I register the first contact normally, but when I register the second contact, I get the aforementioned error.
Can you help me understand why this happens?