| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | type | name | label | hint | default | appearance | constraint | relevance | disabled | repeat_count | calculation | constraint message | required | required message | read only | media:image | media:audio | media:video | choice_filter | note | response_note | publishable | minimum_seconds | length | 
| 2 | start | starttime | ||||||||||||||||||||||
| 3 | end | endtime | ||||||||||||||||||||||
| 4 | deviceid | deviceid | ||||||||||||||||||||||
| 5 | subscriberid | subscriberid | ||||||||||||||||||||||
| 6 | simserial | simid | ||||||||||||||||||||||
| 7 | phonenumber | devicephonenum | ||||||||||||||||||||||
| 8 | comments | comments | ||||||||||||||||||||||
| 9 | begin group | id | ID | |||||||||||||||||||||
| 10 | calculate | randnum1_id | once(random()) | |||||||||||||||||||||
| 11 | calculate | randnum2_id | once(random()) | |||||||||||||||||||||
| 12 | calculate | randnum3_id | once(random()) | |||||||||||||||||||||
| 13 | calculate | randnum4_id | once(random()) | |||||||||||||||||||||
| 14 | calculate | randnum5_id | once(random()) | |||||||||||||||||||||
| 15 | calculate | randnum6_id | once(random()) | |||||||||||||||||||||
| 16 | calculate | char1_id | substr('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', int(${randnum1_id}*36), int(${randnum1_id}*36)+1) | |||||||||||||||||||||
| 17 | calculate | char2_id | substr('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', int(${randnum2_id}*36), int(${randnum2_id}*36)+1) | |||||||||||||||||||||
| 18 | calculate | char3_id | substr('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', int(${randnum3_id}*36), int(${randnum3_id}*36)+1) | |||||||||||||||||||||
| 19 | calculate | char4_id | substr('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', int(${randnum4_id}*36), int(${randnum4_id}*36)+1) | |||||||||||||||||||||
| 20 | calculate | char5_id | substr('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', int(${randnum5_id}*36), int(${randnum5_id}*36)+1) | |||||||||||||||||||||
| 21 | calculate | char6_id | substr('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', int(${randnum6_id}*36), int(${randnum6_id}*36)+1) | |||||||||||||||||||||
| 22 | calculate | household_id | concat(${char1_id}, ${char2_id}, ${char3_id}, ${char4_id}, ${char5_id}, ${char6_id}) | |||||||||||||||||||||
| 23 | note | note_id | The household ID assigned to this house is ${household_id} | |||||||||||||||||||||
| 24 | end group | id | ||||||||||||||||||||||
| 25 | ||||||||||||||||||||||||
| 26 | integer | length | How long do you want the ID to be? | |||||||||||||||||||||
| 27 | begin repeat | id_rpt | ID | ${length} | ||||||||||||||||||||
| 28 | calculate | randnum | once(random()) | |||||||||||||||||||||
| 29 | calculate | char | substr('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', int(${randnum}*36), int(${randnum}*36)+1) | |||||||||||||||||||||
| 30 | end repeat | id_rpt | ||||||||||||||||||||||
| 31 | calculate | join_char | join('',${char}) | |||||||||||||||||||||
| 32 | note | note_id | The household ID assigned to this house is ${join_char} | |||||||||||||||||||||
| 33 | ||||||||||||||||||||||||
| 34 | ||||||||||||||||||||||||
| 35 | ||||||||||||||||||||||||
| 36 | ||||||||||||||||||||||||
| 37 | ||||||||||||||||||||||||
| 38 | ||||||||||||||||||||||||
| 39 | ||||||||||||||||||||||||
| 40 | ||||||||||||||||||||||||
| 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 |