ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
typenamelabelhintdefaultappearanceconstraint
constraint message
relevancedisabledrequiredrequired messageread onlycalculationrepeat_countmedia:imagemedia:audiomedia:videochoice_filternoteresponse_notepublishableminimum_seconds
2
startstarttime
3
endendtime
4
deviceiddeviceid
5
subscriberidsubscriberid
6
simserialsimid
7
phonenumberdevicephonenum
8
usernameusername
9
calculatedurationduration()
10
caseidcaseid
11
12
noteintronote
Welcome to the SurveyCTO sample form <b>Contact Listing</b>. This form lists all persons that were in contact with a confirmed case, and should be followed-up.

<i>It is part of our Use case: Contact Tracing.</i>
intro
13
noteno_case
<p><strong>Note: You will not be able to proceed. Please open this form from the <em>Manage Cases</em> menu, not from <em>Fill Blank Form</em>.</strong></p>
<br>
<p>This form has been designed to work with <a title="Case management" href="https://docs.surveycto.com/03-collecting-data/03-data-collection-workflow/02.case-management.html" target="_blank" rel="noopener">case management</a>&nbsp;and will work only if it has been opened from the <em>Manage Cases</em> menu.</p>
<br>
<p>If you do not see the <em>Manage Cases</em> option on SurveyCTO Collect, open <em>Admin Settings</em> (tap on the 3 dot icon in the top left) and enable <em>Manage Cases</em> under the&nbsp;<em>USER CAN ACCESS MAIN MENU ITEMS</em> header.</p>
${caseid}=nullyes
14
15
calculatelastday_contact
format-date-time(today()-14, '%Y-%b-%e')
16
17
noteintro
Now I would like to discuss your close contacts and identify who may need to be notified of exposure so that they can get tested and quarantine to prevent the spread of the disease.<br>
<br>
<b>ENUMERATOR:</b> In the next screen, you will be prompted to add a new <b>Contact</b>. Click "Yes" to add information about each <strong>person</strong> that had close contact with the confirmed case <b>${caseid}</b>.<br>
<br>
You should register all persons, one by one, that were in close contact with <strong>case ${caseid}</strong> in the <strong>last 14 days</strong> (since <i><u>${lastday_contact}</u></i>).
18
19
begin repeatcontactsContact: ${contact_name}table-labeled
20
calculatecontact_id
Generates a contact ID, based on the "caseid".
concat(${caseid}, '_', index())
21
begin grouppersonal_infoPersonal Informationfield-list
22
textcontact_nameNameyes
23
select_one gendercontact_genderGenderyes
24
calculatecontact_gender_labelRetrieves the gender label.
choice-label(${contact_gender}, ${contact_gender})
25
integercontact_ageAgeyes
26
textcontact_phonenumberPhone numbernumbers_phoneyes
27
end grouppersonal_info
28
begin groupcontact_infoContact informationfield-list
29
select_one relationshipcontact_relationshipRelationship with the caseyes
30
datelast_contact
When was the last contact with the case?
.>=today()-14 and .<=today()
Enter a date inside the past 14 days.
yes
31
end groupcontact_info
32
text
contact_relationship_othr
Type the other relationship
selected(${contact_relationship}, '555')
yes
33
calculate
contact_relationship_label
Retrieves the label of the field "contact_relationship".
coalesce(${contact_relationship_othr}, choice-label(${contact_relationship}, ${contact_relationship}))
34
calculatecontact_followup1
Updates the "contacts" dataset with status "no" for the 1st followup.
"no"
35
calculatecontact_followup2
Updates the "contacts" dataset with status "no" for the 2nd followup.
"no"
36
end repeatcontacts
37
38
calculateformids
Removes "Contact listing" from the list of forms to be completed by this case.
"case_followup"
39
calculatefollowup
Updates the "followup" date for 14 days from today.
format-date-time(today()+14, '%e-%b-%Y')
40
calculatesortbyNew sortby value, directly based on the followup date, but in a purely numeric format so it can be sorted.
format-date-time(today(), '%d%m')
41
42
notesummary
Please confirm with the respondent that all contacts are registered. If not, go backwards and "Add a new Group". Otherwise, if you would like to change information about any of the already registered contacts, click on it to replace any information:

${contacts}
43
noteend_info
Thank you for your collaboration! We will now contact all these persons, to ensure they get tested and closely monitored.
44
noteendnote
You have reached the end of the <b>Contact Listing</b>.
<br>
<br>
Please swipe forward and submit this form to register all contacts for case ${caseid}.
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100