Dear all
i am trying to collect cervical cancer data with two forms “Screening” and “Follow-up” forms where Follow-up form is dynamically attached to the screening form.
i am able to get the data from “screening” form using the attached code
because I am using this survey for many hospitals I will have duplicated Card Number value which i am using to match the data.
my question is if there are duplicated data how can i use the dynamic attachment filter to pick the right one.
is it possible to use this kind of code joined by the " And" phrase like this?
instance(‘screening’)/root/data[../scr_facilityID=../fol_facilityID and scr_cardNo=../fol_ca0rdNo]/demographics/scr_name
please advise