-
Notifications
You must be signed in to change notification settings - Fork 0
/
FF-JA1117.xml
400 lines (400 loc) · 18.3 KB
/
FF-JA1117.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<?xml version="1.0"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:orx="http://openrosa.org/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<h:head>
<h:title>FF-JA1117</h:title>
<model>
<itext>
<translation lang="English">
<text id="/FF-JA1117/gps_initial:label">
<value>Take GPS point.</value>
</text>
<text id="/FF-JA1117/sex/1:label">
<value>Male</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m_other:label">
<value>Specify other:</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/direct_care:label">
<value>Direct care</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/sleep:label">
<value>Sleeping</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/other:label">
<value>Other</value>
</text>
<text id="/FF-JA1117/sex/0:label">
<value>Female</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/other:label">
<value>Other</value>
</text>
<text id="/FF-JA1117/pid:jr:constraintMsg">
<value>ID must be 6 characters long</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/eat:label">
<value>Eating</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/fish_type/other:label">
<value>Other</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/fish_type/net:label">
<value>Net</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/play:label">
<value>Playing</value>
</text>
<text id="/FF-JA1117/name_check:label">
<value>CHECK: is this the right name? If not, double-check PID. <output value=" /FF-JA1117/name_pull "/></value></text>
<text id="/FF-JA1117/sex:label">
<value>Participant sex</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/fish_type/hook:label">
<value>Hook and line</value>
</text>
<text id="/FF-JA1117/pid:label">
<value>Participant ID</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group:label">
<value>Female focal</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f_other:label">
<value>Specify other:</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/eat:label">
<value>Eating</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/sleep:label">
<value>Sleeping</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1:label">
<value>Which things is he doing?</value>
</text>
<text id="/FF-JA1117/repeat_follow/new_gps_needed:label">
<value>Change in location since last time point?</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/fish_type:label">
<value>Which kind of fishing is he doing?</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group:label">
<value>Male focal</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/play:label">
<value>Playing</value>
</text>
<text id="/FF-JA1117/consent:label">
<value>I give my consent to participate.</value>
</text>
<text id="/FF-JA1117/repeat_follow/new_gps_needed/yes:label">
<value>Yes</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f:label">
<value>Which things is she doing?</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/fish:label">
<value>Fishing</value>
</text>
<text id="/FF-JA1117/repeat_follow:label">
<value>Focal follow</value>
</text>
<text id="/FF-JA1117/repeat_follow/reminder:label">
<value>Do not advance page until ready to mark next time stamp!</value>
</text>
<text id="/FF-JA1117/repeat_follow/gps_obs:label">
<value>Take GPS point.</value>
</text>
<text id="/FF-JA1117/repeat_follow/new_gps_needed/no:label">
<value>No</value>
</text>
</translation>
<translation lang="Espanol">
<text id="/FF-JA1117/gps_initial:label">
<value>Marca la ubicacion con GPS</value>
</text>
<text id="/FF-JA1117/sex/1:label">
<value>Masculino</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m_other:label">
<value>Indica otro:</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/direct_care:label">
<value>Cuidando</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/sleep:label">
<value>Durmiendo</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/other:label">
<value>Otro</value>
</text>
<text id="/FF-JA1117/sex/0:label">
<value>Feminino</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/other:label">
<value>Otro</value>
</text>
<text id="/FF-JA1117/pid:jr:constraintMsg">
<value>ID debe ser 6 caracteres de larga.</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/eat:label">
<value>Comiendo</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/fish_type/other:label">
<value>Otro</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/fish_type/net:label">
<value>Cesta</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/play:label">
<value>Jugando</value>
</text>
<text id="/FF-JA1117/name_check:label">
<value>AVERIGUAR: es este nombre correcto? Si no, hay que averiguar el PID otra vez. <output value=" /FF-JA1117/name_pull "/></value></text>
<text id="/FF-JA1117/sex:label">
<value>Sexo del participe</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/fish_type/hook:label">
<value>Ancha con linea</value>
</text>
<text id="/FF-JA1117/pid:label">
<value>ID de participe</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group:label">
<value>Feminino</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f_other:label">
<value>Indica otro:</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/eat:label">
<value>Comiendo</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/sleep:label">
<value>Durmiendo</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1:label">
<value>Cuales cosas hace?</value>
</text>
<text id="/FF-JA1117/repeat_follow/new_gps_needed:label">
<value>Ha cambiado la ubicacion desde la ultima punta?</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/fish_type:label">
<value>Que tipo de pescar hace?</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group:label">
<value>Macho</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f/play:label">
<value>Jugando</value>
</text>
<text id="/FF-JA1117/consent:label">
<value>Doy mi consentimiento de participar.</value>
</text>
<text id="/FF-JA1117/repeat_follow/new_gps_needed/yes:label">
<value>Si</value>
</text>
<text id="/FF-JA1117/repeat_follow/female_group/things_doing_f:label">
<value>Cuales cosas hace?</value>
</text>
<text id="/FF-JA1117/repeat_follow/male_group/things_doing_m1/fish:label">
<value>Pescando</value>
</text>
<text id="/FF-JA1117/repeat_follow:label">
<value>Seguimiento del focal</value>
</text>
<text id="/FF-JA1117/repeat_follow/reminder:label">
<value>No siga hasta cuando estas listo para marcar la proxima observacion!</value>
</text>
<text id="/FF-JA1117/repeat_follow/gps_obs:label">
<value>Marca la ubicacion con GPS</value>
</text>
<text id="/FF-JA1117/repeat_follow/new_gps_needed/no:label">
<value>No</value>
</text>
</translation>
</itext>
<instance>
<FF-JA1117 id="FF-JA1117">
<start_consent/>
<consent/>
<pid/>
<name_pull/>
<name_check/>
<sex/>
<sex_other/>
<gps_initial/>
<repeat_follow jr:template="">
<start_obs/>
<new_gps_needed/>
<gps_obs/>
<male_group>
<things_doing_m1/>
<fish_type/>
<things_doing_m_other/>
</male_group>
<female_group>
<things_doing_f/>
<things_doing_f_other/>
</female_group>
<reminder/>
</repeat_follow>
<meta>
<instanceID/>
<instanceName/>
</meta>
</FF-JA1117>
</instance>
<bind jr:preload="timestamp" jr:preloadParams="start" nodeset="/FF-JA1117/start_consent" type="dateTime"/>
<bind nodeset="/FF-JA1117/consent" type="binary"/>
<bind constraint="string-length(.)=6" jr:constraintMsg="jr:itext('/FF-JA1117/pid:jr:constraintMsg')" nodeset="/FF-JA1117/pid" type="string"/>
<bind calculate="pulldata('IDs','name','pid_key', /FF-JA1117/pid )" nodeset="/FF-JA1117/name_pull" type="string"/>
<bind nodeset="/FF-JA1117/name_check" readonly="true()" type="string"/>
<bind nodeset="/FF-JA1117/sex" type="select1"/>
<bind nodeset="/FF-JA1117/sex_other" relevant="selected(../sex, 'other')" type="string"/>
<bind nodeset="/FF-JA1117/gps_initial" type="geopoint"/>
<bind jr:preload="timestamp" jr:preloadParams="start" nodeset="/FF-JA1117/repeat_follow/start_obs" type="dateTime"/>
<bind nodeset="/FF-JA1117/repeat_follow/new_gps_needed" type="select1"/>
<bind nodeset="/FF-JA1117/repeat_follow/gps_obs" relevant=" /FF-JA1117/repeat_follow/new_gps_needed ='yes'" type="geopoint"/>
<bind nodeset="/FF-JA1117/repeat_follow/male_group" relevant=" /FF-JA1117/sex ='1'"/>
<bind nodeset="/FF-JA1117/repeat_follow/male_group/things_doing_m1" type="select"/>
<bind nodeset="/FF-JA1117/repeat_follow/male_group/fish_type" relevant="selected( /FF-JA1117/repeat_follow/male_group/things_doing_m1 ,'fish')" type="select1"/>
<bind nodeset="/FF-JA1117/repeat_follow/male_group/things_doing_m_other" relevant="selected( /FF-JA1117/repeat_follow/male_group/things_doing_m1 ,'other')" type="string"/>
<bind nodeset="/FF-JA1117/repeat_follow/female_group" relevant=" /FF-JA1117/sex ='0'"/>
<bind nodeset="/FF-JA1117/repeat_follow/female_group/things_doing_f" type="select"/>
<bind nodeset="/FF-JA1117/repeat_follow/female_group/things_doing_f_other" relevant="selected( /FF-JA1117/repeat_follow/female_group/things_doing_f ,'other')" type="string"/>
<bind nodeset="/FF-JA1117/repeat_follow/reminder" readonly="true()" type="string"/>
<bind calculate="concat('uuid:', uuid())" nodeset="/FF-JA1117/meta/instanceID" readonly="true()" type="string"/>
<bind calculate="concat( /FF-JA1117/pid ,'-', /FF-JA1117/start_consent )" nodeset="/FF-JA1117/meta/instanceName" type="string"/>
</model>
</h:head>
<h:body class="pages">
<upload appearance="signature" mediatype="image/*" ref="/FF-JA1117/consent">
<label ref="jr:itext('/FF-JA1117/consent:label')"/>
</upload>
<input ref="/FF-JA1117/pid">
<label ref="jr:itext('/FF-JA1117/pid:label')"/>
</input>
<input ref="/FF-JA1117/name_check">
<label ref="jr:itext('/FF-JA1117/name_check:label')"/>
</input>
<select1 ref="/FF-JA1117/sex">
<label ref="jr:itext('/FF-JA1117/sex:label')"/>
<hint>Pregunta al participe sobre su identidad sexual.</hint>
<item>
<label ref="jr:itext('/FF-JA1117/sex/0:label')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/sex/1:label')"/>
<value>1</value>
</item>
<item>
<label>Other</label>
<value>other</value>
</item>
</select1>
<input ref="/FF-JA1117/sex_other">
<label>Specify other.</label>
</input>
<input accuracyThreshold="10" ref="/FF-JA1117/gps_initial">
<label ref="jr:itext('/FF-JA1117/gps_initial:label')"/>
<hint>GPS coordinates can only be collected when outside.</hint>
</input>
<group ref="/FF-JA1117/repeat_follow">
<label ref="jr:itext('/FF-JA1117/repeat_follow:label')"/>
<repeat nodeset="/FF-JA1117/repeat_follow">
<select1 ref="/FF-JA1117/repeat_follow/new_gps_needed">
<label ref="jr:itext('/FF-JA1117/repeat_follow/new_gps_needed:label')"/>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/new_gps_needed/yes:label')"/>
<value>yes</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/new_gps_needed/no:label')"/>
<value>no</value>
</item>
</select1>
<input accuracyThreshold="10" ref="/FF-JA1117/repeat_follow/gps_obs">
<label ref="jr:itext('/FF-JA1117/repeat_follow/gps_obs:label')"/>
<hint>GPS coordinates can only be collected when outside.</hint>
</input>
<group ref="/FF-JA1117/repeat_follow/male_group">
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group:label')"/>
<select appearance="minimal" ref="/FF-JA1117/repeat_follow/male_group/things_doing_m1">
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/things_doing_m1:label')"/>
<hint>Indica todas las cosas que ha hecho durante el ultimo miuto.</hint>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/things_doing_m1/fish:label')"/>
<value>fish</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/things_doing_m1/play:label')"/>
<value>play</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/things_doing_m1/eat:label')"/>
<value>eat</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/things_doing_m1/sleep:label')"/>
<value>sleep</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/things_doing_m1/other:label')"/>
<value>other</value>
</item>
</select>
<select1 ref="/FF-JA1117/repeat_follow/male_group/fish_type">
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/fish_type:label')"/>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/fish_type/hook:label')"/>
<value>hook</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/fish_type/net:label')"/>
<value>net</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/fish_type/other:label')"/>
<value>other</value>
</item>
</select1>
<input ref="/FF-JA1117/repeat_follow/male_group/things_doing_m_other">
<label ref="jr:itext('/FF-JA1117/repeat_follow/male_group/things_doing_m_other:label')"/>
</input>
</group>
<group ref="/FF-JA1117/repeat_follow/female_group">
<label ref="jr:itext('/FF-JA1117/repeat_follow/female_group:label')"/>
<select appearance="minimal" ref="/FF-JA1117/repeat_follow/female_group/things_doing_f">
<label ref="jr:itext('/FF-JA1117/repeat_follow/female_group/things_doing_f:label')"/>
<hint>Indica todas las cosas que ha hecho durante el ultimo miuto.</hint>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/female_group/things_doing_f/direct_care:label')"/>
<value>direct_care</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/female_group/things_doing_f/play:label')"/>
<value>play</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/female_group/things_doing_f/eat:label')"/>
<value>eat</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/female_group/things_doing_f/sleep:label')"/>
<value>sleep</value>
</item>
<item>
<label ref="jr:itext('/FF-JA1117/repeat_follow/female_group/things_doing_f/other:label')"/>
<value>other</value>
</item>
</select>
<input ref="/FF-JA1117/repeat_follow/female_group/things_doing_f_other">
<label ref="jr:itext('/FF-JA1117/repeat_follow/female_group/things_doing_f_other:label')"/>
</input>
</group>
<input ref="/FF-JA1117/repeat_follow/reminder">
<label ref="jr:itext('/FF-JA1117/repeat_follow/reminder:label')"/>
</input>
</repeat>
</group>
</h:body>
</h:html>