| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | type | name | label | hint | default | appearance | constraint | constraint message | relevance | disabled | required | required message | read only | calculation | repeat_count | media:image | media:audio | media:video | choice_filter | note | response_note | publishable | minimum_seconds | |||
2 | start | starttime | ||||||||||||||||||||||||
3 | end | endtime | ||||||||||||||||||||||||
4 | deviceid | deviceid | ||||||||||||||||||||||||
5 | subscriberid | subscriberid | ||||||||||||||||||||||||
6 | simserial | simid | ||||||||||||||||||||||||
7 | phonenumber | devicephonenum | ||||||||||||||||||||||||
8 | username | username | ||||||||||||||||||||||||
9 | calculate | duration | duration() | |||||||||||||||||||||||
10 | caseid | caseid | ||||||||||||||||||||||||
11 | ||||||||||||||||||||||||||
12 | note | intronote | Welcome to the SurveyCTO sample form <b>Symptom Diary</b>. This form should be filled-out by close contacts on a daily basis. <i>It is part of our Use case: Contact Tracing.</i> | intro | ||||||||||||||||||||||
13 | note | no_case | <p><strong>Note: You will not be able to proceed. Please make sure you are using the correct and full URL link for the form "Symptom Diary".</strong></p> | ${caseid}=null | yes | |||||||||||||||||||||
14 | ||||||||||||||||||||||||||
15 | calculate | name | pulldata('contacts', 'name', 'contact_id', ${caseid}) | |||||||||||||||||||||||
16 | calculate | age | pulldata('contacts', 'age', 'contact_id', ${caseid}) | |||||||||||||||||||||||
17 | calculate | day | if(pulldata('contacts', 'total_days', 'contact_id', ${caseid})=null, 1, pulldata('contacts', 'total_days', 'contact_id', ${caseid})+1) | |||||||||||||||||||||||
18 | ||||||||||||||||||||||||||
19 | select_one yesno | confirm | You are reporting the symptoms of case ${caseid} with the following details:<br> <br> ${name}, ${age} <br> Can you confirm? | quick | yes | |||||||||||||||||||||
20 | note | warning | If your details are not correct, make sure you've opened the correct form and try again. | selected(${confirm}, '0') | yes | |||||||||||||||||||||
21 | ||||||||||||||||||||||||||
22 | note | day_info | You're reporting your symptoms for <b>day ${day}</b>. | |||||||||||||||||||||||
23 | begin group | symptoms | Symptoms | field-list | ||||||||||||||||||||||
24 | select_one yesno | label | Are you having any of these symptoms today? | label | ||||||||||||||||||||||
25 | select_one yesno | fever | Fever (>38º) | list-nolabel | yes | |||||||||||||||||||||
26 | select_one yesno | nose | Runny Nose | list-nolabel | yes | |||||||||||||||||||||
27 | select_one yesno | cough | Cough | list-nolabel | yes | |||||||||||||||||||||
28 | select_one yesno | throat | Sore throat | list-nolabel | yes | |||||||||||||||||||||
29 | select_one yesno | breath | Shortness breath | list-nolabel | yes | |||||||||||||||||||||
30 | select_one yesno | other | Other symptoms | list-nolabel | yes | |||||||||||||||||||||
31 | end group | symptoms | ||||||||||||||||||||||||
32 | text | other_symptoms | Specify the other symptoms: | selected(${other}, '1') | ||||||||||||||||||||||
33 | ||||||||||||||||||||||||||
34 | calculate | count_fever | if(pulldata('contacts', 'fever', 'contact_id', ${caseid})=null, 0, pulldata('contacts', 'fever', 'contact_id', ${caseid})+${fever}) | |||||||||||||||||||||||
35 | calculate | count_nose | if(pulldata('contacts', 'nose', 'contact_id', ${caseid})=null, 0, pulldata('contacts', 'nose', 'contact_id', ${caseid})+${nose}) | |||||||||||||||||||||||
36 | calculate | count_cough | if(pulldata('contacts', 'cough', 'contact_id', ${caseid})=null, 0, pulldata('contacts', 'cough', 'contact_id', ${caseid})+${cough}) | |||||||||||||||||||||||
37 | calculate | count_throat | if(pulldata('contacts', 'throat', 'contact_id', ${caseid})=null, 0, pulldata('contacts', 'throat', 'contact_id', ${caseid})+${throat}) | |||||||||||||||||||||||
38 | calculate | count_breath | if(pulldata('contacts', 'fever', 'contact_id', ${caseid})=null, 0, pulldata('contacts', 'fever', 'contact_id', ${caseid})+${fever}) | |||||||||||||||||||||||
39 | ||||||||||||||||||||||||||
40 | note | endnote | Thank you! You have reached the end of the form. <br> <br> Please swipe forward and submit this form. | |||||||||||||||||||||||
41 | ||||||||||||||||||||||||||
42 | ||||||||||||||||||||||||||
43 | ||||||||||||||||||||||||||
44 | ||||||||||||||||||||||||||
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 |