I have created four (4) boxes for outcome code (visits) for a survey in SS and those will be used for single time or multiple time depends upon appointment of the respondent.
If the respondent will be agreed by first time visit then the first box will be used by 1 and the survey will be completed. If the respondent will not be agreed with first time visit; but, given an appointment to the interviewer for second visit then the first box will be used by 1 and the second box will be used by 2 and survey will be completed and so on for third and fourth and fifth visits also.
What code/syntax I will be used? The screenshot is attached for your reference.