-
Notifications
You must be signed in to change notification settings - Fork 1
/
bed_net.xml
990 lines (990 loc) · 35 KB
/
bed_net.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
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
<?xml version="1.0" encoding="UTF-8"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa">
<h:head>
<h:title>Bed Net</h:title>
<model>
<instance>
<data id="bed_net" version="201801">
<meta>
<instanceID/>
</meta>
<collectionDateTime/>
<entityUuid/>
<entityExtId/>
<fieldWorkerUuid/>
<fieldWorkerExtId/>
<householdSize/>
<locationExtId/>
<locationUuid/>
<distributionDateTime/>
<beds/>
<netsCurrent/>
<ITNsCurrent/>
<ITNGoodN/>
<netsRecommended/>
<netsSupplied/>
<netCode/>
<netsHung/>
<walls/>
<wallGaps/>
<roof/>
<roofGaps/>
<eaves/>
<patio/>
<doors/>
<windows/>
<aircondition/>
<electricity/>
<houseSprayed/>
<reasonWhyNotSprayed/>
<whyNotSprayed/>
</data>
</instance>
<itext>
<translation default="true()" lang="Español">
<text id="/data/fieldWorkerExtId:label">
<value>ID Externo del Encuestador</value>
</text>
<text id="/data/fieldWorkerExtId:hint">
<value/>
</text>
<text id="/data/distributionDateTime:label">
<value>Fecha de Distribucion</value>
</text>
<text id="/data/distributionDateTime:hint">
<value/>
</text>
<text id="/data/locationExtId:label">
<value>ID Externo del Domicilio</value>
</text>
<text id="/data/locationExtId:hint">
<value/>
</text>
<text id="/data/beds:label">
<value>¿Cuantas camas o lugares para dormir hay en el domicilio?</value>
</text>
<text id="/data/netsCurrent:label">
<value>¿Actualmente, Cuantas telas mosquiteras de cualquier tipo hay en el domicilio?</value>
</text>
<text id="/data/ITNsCurrent:label">
<value>¿Cuantas telas fueron recibidas gratuitamente en el centro de salud o a traves del PNLP?</value>
</text>
<text id="/data/ITNGoodN:label">
<value>¿Cuantas telas estan en buen estado (sin huecos o huecos del tamano del dedo pulgar)?</value>
</text>
<text id="/data/ITNGoodN:jr:constraintMsg">
<value>Las buenas telas deben ser inferiores o iguales al número de telas existentes</value>
</text>
<text id="/data/netsRecommended:label">
<value>Número recomendado de telas a distribuir</value>
</text>
<text id="/data/netsSupplied:label">
<value>Número de telas a distribuir</value>
</text>
<text id="/data/netCode:label">
<value>Codigo de la Tela Mosquitera (Marcar en la Tela)</value>
</text>
<text id="netCode:invalid_format">
<value>El formato del código de la tela mosquitera no es válido. Debe estar en el formato ##/M####S###E###.</value>
</text>
<text id="/data/netsHung:label">
<value>¿Cuántas telas fueron colgadas?</value>
</text>
<text id="/data/walls:label">
<value>Ingrese el tipo de material de construccion de la pared</value>
</text>
<text id="/data/walls:option0">
<value>Bloques</value>
</text>
<text id="/data/walls:option1">
<value>Madera</value>
</text>
<text id="/data/walls:option2">
<value>Cemento revocado</value>
</text>
<text id="/data/walls:option3">
<value>Tierra</value>
</text>
<text id="/data/walls:option4">
<value>Chapas</value>
</text>
<text id="/data/walls:option5">
<value>Otro</value>
</text>
<text id="/data/wallGaps:label">
<value>¿Hay espacio en la pared donde pueden entrar los mosquitos?</value>
</text>
<text id="/data/wallGaps:option0">
<value>No hay</value>
</text>
<text id="/data/wallGaps:option1">
<value>Sí (algunos)</value>
</text>
<text id="/data/wallGaps:option2">
<value>Sí (muchos)</value>
</text>
<text id="/data/roof:label">
<value>Ingrese el material de construccion del techo</value>
</text>
<text id="/data/roof:option0">
<value>Chapas</value>
</text>
<text id="/data/roof:option1">
<value>Cemento</value>
</text>
<text id="/data/roof:option2">
<value>Madera</value>
</text>
<text id="/data/roof:option3">
<value>Ñipas</value>
</text>
<text id="/data/roof:option4">
<value>Staff</value>
</text>
<text id="/data/roof:option5">
<value>Contre Plaque</value>
</text>
<text id="/data/roof:option6">
<value>Tapiz</value>
</text>
<text id="/data/roof:option7">
<value>Sacos/Telas viejas</value>
</text>
<text id="/data/roof:option8">
<value>Otro</value>
</text>
<text id="/data/roofGaps:label">
<value>¿Hay espacio en el techo (donde pueden entrar mosquitos)?</value>
</text>
<text id="/data/roofGaps:option0">
<value>No hay</value>
</text>
<text id="/data/roofGaps:option1">
<value>Sí (algunos)</value>
</text>
<text id="/data/roofGaps:option2">
<value>Sí (muchos)</value>
</text>
<text id="/data/eaves:label">
<value>Ingresa la condicion de los aleros</value>
</text>
<text id="/data/eaves:option0">
<value>Abierto</value>
</text>
<text id="/data/eaves:option1">
<value>Abierto con tela milimetrica</value>
</text>
<text id="/data/eaves:option2">
<value>Cerrado</value>
</text>
<text id="/data/patio:label">
<value>Ingrese si hay una terraza y su condicion</value>
</text>
<text id="/data/patio:option0">
<value>No hay terraza</value>
</text>
<text id="/data/patio:option1">
<value>La terraza NO tiene tela milimetrica</value>
</text>
<text id="/data/patio:option2">
<value>La terraza tiene tela milimetrica</value>
</text>
<text id="/data/doors:label">
<value>Ingrese si las puertas tienen tela milimetrica</value>
</text>
<text id="/data/doors:option0">
<value>Ninguna puerta</value>
</text>
<text id="/data/doors:option1">
<value>Algunas puertas</value>
</text>
<text id="/data/doors:option2">
<value>Todas las puertas</value>
</text>
<text id="/data/windows:label">
<value>Ingrese si las ventanas tienen tela milimetrica</value>
</text>
<text id="/data/windows:option0">
<value>Ninguna</value>
</text>
<text id="/data/windows:option1">
<value>Algunas ventanas</value>
</text>
<text id="/data/windows:option2">
<value>Todas las ventanas</value>
</text>
<text id="/data/aircondition:label">
<value>Ingrese si el domicilio tiene aire acondicionado</value>
</text>
<text id="/data/aircondition:option0">
<value>No</value>
</text>
<text id="/data/aircondition:option1">
<value>Algunos cuartos</value>
</text>
<text id="/data/aircondition:option2">
<value>Todos los cuartos</value>
</text>
<text id="/data/electricity:label">
<value>¿Que fuente de electricidad tiene el domicilio?</value>
</text>
<text id="/data/electricity:option0">
<value>No tiene luz</value>
</text>
<text id="/data/electricity:option1">
<value>L1</value>
</text>
<text id="/data/electricity:option2">
<value>L2</value>
</text>
<text id="/data/electricity:option3">
<value>Pagan al vecino por su luz (L1 o L2)</value>
</text>
<text id="/data/electricity:option4">
<value>Otro tipo de conexion pero gratuita</value>
</text>
<text id="/data/electricity:option5">
<value>Generador</value>
</text>
<text id="/data/electricity:option6">
<value>Paneles Solares</value>
</text>
<text id="/data/electricity:option7">
<value>Lampara de gas o querosene</value>
</text>
<text id="/data/electricity:option8">
<value>Velas</value>
</text>
<text id="/data/electricity:option9">
<value>Leña</value>
</text>
<text id="/data/electricity:option10">
<value>No sabe</value>
</text>
<text id="/data/electricity:option11">
<value>Otro</value>
</text>
<text id="/data/houseSprayed:label">
<value>¿Su domicilio fue rociada en los ultimos 12 meses?</value>
</text>
<text id="/data/houseSprayed:option0">
<value>No</value>
</text>
<text id="/data/houseSprayed:option1">
<value>Sí</value>
</text>
<text id="/data/houseSprayed:option2">
<value>No sabe / no esta seguro</value>
</text>
<text id="/data/reasonWhyNotSprayed:label">
<value>¿Por que no se rocio su domicilio en los ultimos 12 meses?</value>
</text>
<text id="/data/reasonWhyNotSprayed:option0">
<value>No me contactaron para rociar mi domicilio</value>
</text>
<text id="/data/reasonWhyNotSprayed:option1">
<value>Nadie regreso para rociar mi domicilio</value>
</text>
<text id="/data/reasonWhyNotSprayed:option2">
<value>No sabe / no esta seguro</value>
</text>
<text id="/data/reasonWhyNotSprayed:option3">
<value>No quiero que rocien mi domicilio</value>
</text>
<text id="/data/whyNotSprayed:label">
<value>¿Por qué no quieren que rocien su domicilio?</value>
</text>
<text id="/data/whyNotSprayed01:label">
<value>Causa efectos secundarios contra la salud</value>
</text>
<text id="/data/whyNotSprayed02:label">
<value>Peligroso para los animales</value>
</text>
<text id="/data/whyNotSprayed03:label">
<value>Perjudica, molesta o no estoy de acuerdo</value>
</text>
<text id="/data/whyNotSprayed04:label">
<value>El Comportamiento de los rociadores</value>
</text>
<text id="/data/whyNotSprayed05:label">
<value>Daña los muebles y/o paredes</value>
</text>
<text id="/data/whyNotSprayed06:label">
<value>No es efectivo</value>
</text>
<text id="/data/whyNotSprayed07:label">
<value>No sirve para nosotros</value>
</text>
<text id="/data/whyNotSprayed08:label">
<value>Usamos telas mosquiteras</value>
</text>
<text id="/data/whyNotSprayed09:label">
<value>No tenemos tiempo</value>
</text>
<text id="/data/whyNotSprayed10:label">
<value>La hora del rociamiento es inconveniente</value>
</text>
<text id="/data/whyNotSprayed11:label">
<value>Otro</value>
</text>
<text id="/data/whyNotSprayed12:label">
<value>No sabe / no esta seguro</value>
</text>
</translation>
<translation lang="English">
<text id="/data/fieldWorkerExtId:label">
<value>Field Worker Ext ID</value>
</text>
<text id="/data/fieldWorkerExtId:hint">
<value/>
</text>
<text id="/data/distributionDateTime:label">
<value>Date of Distribution</value>
</text>
<text id="/data/distributionDateTime:hint">
<value/>
</text>
<text id="/data/locationExtId:label">
<value>Location Ext ID</value>
</text>
<text id="/data/locationExtId:hint">
<value/>
</text>
<text id="/data/beds:label">
<value>How many beds or other sleeping areas does this household have?</value>
</text>
<text id="/data/netsCurrent:label">
<value>How many bed nets of any type does the household currently have?</value>
</text>
<text id="/data/ITNsCurrent:label">
<value>How many nets from BIMCP does the household currently have?</value>
</text>
<text id="/data/ITNGoodN:label">
<value>How many nets are in good condition (only thumb-sized holes or no holes)?</value>
</text>
<text id="/data/ITNGoodN:jr:constraintMsg">
<value>Good nets must be less than or equal to number of existing nets</value>
</text>
<text id="/data/netsRecommended:label">
<value>Recommended number of nets to distribute</value>
</text>
<text id="/data/netsSupplied:label">
<value>Number of bed nets to distribute</value>
</text>
<text id="/data/netCode:label">
<value>Bed Net Code</value>
</text>
<text id="netCode:invalid_format">
<value>Net code format is invalid. It must be in the format ##/M####S###E###.</value>
</text>
<text id="/data/netsHung:label">
<value>How many nets were hung?</value>
</text>
<text id="/data/walls:label">
<value>Enter the primary (most common) wall material</value>
</text>
<text id="/data/walls:option0">
<value>Brick</value>
</text>
<text id="/data/walls:option1">
<value>Wood</value>
</text>
<text id="/data/walls:option2">
<value>Cement</value>
</text>
<text id="/data/walls:option3">
<value>Mud</value>
</text>
<text id="/data/walls:option4">
<value>Tin Sheeting</value>
</text>
<text id="/data/walls:option5">
<value>Other</value>
</text>
<text id="/data/wallGaps:label">
<value>Are there gaps (open spaces where mosquitos can enter) in the walls?</value>
</text>
<text id="/data/wallGaps:option0">
<value>No</value>
</text>
<text id="/data/wallGaps:option1">
<value>Yes (a few)</value>
</text>
<text id="/data/wallGaps:option2">
<value>Yes (many)</value>
</text>
<text id="/data/roof:label">
<value>Enter the primary (most common) roofing material</value>
</text>
<text id="/data/roof:option0">
<value>Tin Sheeting</value>
</text>
<text id="/data/roof:option1">
<value>Cement</value>
</text>
<text id="/data/roof:option2">
<value>Wood</value>
</text>
<text id="/data/roof:option3">
<value>Palm or thatch</value>
</text>
<text id="/data/roof:option4">
<value>Cast/Cement</value>
</text>
<text id="/data/roof:option5">
<value>Clay Mold</value>
</text>
<text id="/data/roof:option6">
<value>Tapestry</value>
</text>
<text id="/data/roof:option7">
<value>Cloth</value>
</text>
<text id="/data/roof:option8">
<value>Other</value>
</text>
<text id="/data/roofGaps:label">
<value>Are there gaps (open spaces where mosquitos can enter) in the roof?</value>
</text>
<text id="/data/roofGaps:option0">
<value>No</value>
</text>
<text id="/data/roofGaps:option1">
<value>Yes (a few)</value>
</text>
<text id="/data/roofGaps:option2">
<value>Yes (many)</value>
</text>
<text id="/data/eaves:label">
<value>Enter the primary (most common) condition of the eaves</value>
</text>
<text id="/data/eaves:option0">
<value>Open</value>
</text>
<text id="/data/eaves:option1">
<value>Open but screened</value>
</text>
<text id="/data/eaves:option2">
<value>Closed</value>
</text>
<text id="/data/patio:label">
<value>Enter whether there is a patio and what its primary (most common) condition is</value>
</text>
<text id="/data/patio:option0">
<value>No patio</value>
</text>
<text id="/data/patio:option1">
<value>Unscreened patio</value>
</text>
<text id="/data/patio:option2">
<value>Screened patio</value>
</text>
<text id="/data/doors:label">
<value>Enter whether doors are screened</value>
</text>
<text id="/data/doors:option0">
<value>No doors screened</value>
</text>
<text id="/data/doors:option1">
<value>Some doors screened</value>
</text>
<text id="/data/doors:option2">
<value>All doors screened</value>
</text>
<text id="/data/windows:label">
<value>Enter whether windows are screened</value>
</text>
<text id="/data/windows:option0">
<value>No windows screened</value>
</text>
<text id="/data/windows:option1">
<value>Some windows screened</value>
</text>
<text id="/data/windows:option2">
<value>All windows screened</value>
</text>
<text id="/data/aircondition:label">
<value>Enter whether the house is airconditioned</value>
</text>
<text id="/data/aircondition:option0">
<value>No</value>
</text>
<text id="/data/aircondition:option1">
<value>Some rooms airconditioned</value>
</text>
<text id="/data/aircondition:option2">
<value>All rooms airconditioned</value>
</text>
<text id="/data/electricity:label">
<value>Enter electrical source</value>
</text>
<text id="/data/electricity:option0">
<value>None</value>
</text>
<text id="/data/electricity:option1">
<value>"L1" metered connection</value>
</text>
<text id="/data/electricity:option2">
<value>"L2" metered connection</value>
</text>
<text id="/data/electricity:option3">
<value>Paid connection to neighbor's L1 or L2 source</value>
</text>
<text id="/data/electricity:option4">
<value>Other free public electrical connection</value>
</text>
<text id="/data/electricity:option5">
<value>Private generator</value>
</text>
<text id="/data/electricity:option6">
<value>Solar panels</value>
</text>
<text id="/data/electricity:option7">
<value>Gas or kerosene lamps</value>
</text>
<text id="/data/electricity:option8">
<value>Candles</value>
</text>
<text id="/data/electricity:option9">
<value>Wood fire</value>
</text>
<text id="/data/electricity:option10">
<value>Don't know / not sure</value>
</text>
<text id="/data/electricity:option11">
<value>Other</value>
</text>
<text id="/data/houseSprayed:label">
<value>Was your house sprayed in the past 12 months?</value>
</text>
<text id="/data/houseSprayed:option0">
<value>No</value>
</text>
<text id="/data/houseSprayed:option1">
<value>Yes</value>
</text>
<text id="/data/houseSprayed:option2">
<value>Don't Know / Not Sure</value>
</text>
<text id="/data/reasonWhyNotSprayed:label">
<value>Why was your house not sprayed in the past 12 months?</value>
</text>
<text id="/data/reasonWhyNotSprayed:option0">
<value>Not contacted</value>
</text>
<text id="/data/reasonWhyNotSprayed:option1">
<value>Nobody came back to spray my house</value>
</text>
<text id="/data/reasonWhyNotSprayed:option2">
<value>Don't Know / Not Sure</value>
</text>
<text id="/data/reasonWhyNotSprayed:option3">
<value>Didn't want house sprayed</value>
</text>
<text id="/data/whyNotSprayed:label">
<value>Why didn't you want your house sprayed?</value>
</text>
<text id="/data/whyNotSprayed01:label">
<value>Causes ill health effects</value>
</text>
<text id="/data/whyNotSprayed02:label">
<value>Dangerous for animals</value>
</text>
<text id="/data/whyNotSprayed03:label">
<value>Disruptive, annoying or disagreeable</value>
</text>
<text id="/data/whyNotSprayed04:label">
<value>Attitude of sprayers</value>
</text>
<text id="/data/whyNotSprayed05:label">
<value>Damages furniture or walls</value>
</text>
<text id="/data/whyNotSprayed06:label">
<value>Not effective</value>
</text>
<text id="/data/whyNotSprayed07:label">
<value>Not applicable to us</value>
</text>
<text id="/data/whyNotSprayed08:label">
<value>Use bed nets instead</value>
</text>
<text id="/data/whyNotSprayed09:label">
<value>Don't have time</value>
</text>
<text id="/data/whyNotSprayed10:label">
<value>Time is inconvenient</value>
</text>
<text id="/data/whyNotSprayed11:label">
<value>Other</value>
</text>
<text id="/data/whyNotSprayed12:label">
<value>Don't know / not sure</value>
</text>
</translation>
</itext>
<bind nodeset="/data/meta/instanceID" type="string" readonly="true()" calculate="concat('uuid:', uuid())"/>
<bind nodeset="/data/householdSize" type="string" readonly="true()"/>
<bind nodeset="/data/fieldWorkerExtId" type="string" readonly="true()"/>
<bind nodeset="/data/distributionDateTime" type="datetime" readonly="true()"/>
<bind nodeset="/data/locationExtId" type="string" required="true()"/>
<bind nodeset="/data/beds" type="int" required="true()"/>
<bind nodeset="/data/netsCurrent" type="int" required="true()"/>
<bind nodeset="/data/ITNsCurrent" type="int" required="true()" relevant="/data/netsCurrent > 0"/>
<bind nodeset="/data/ITNGoodN" type="int" required="true()" relevant="/data/ITNsCurrent > 0" constraint="not(. > (/data/ITNsCurrent))" jr:constraintMsg="jr:itext('/data/ITNGoodN:jr:constraintMsg')"/>
<bind nodeset="/data/netsRecommended" type="int" readonly="true()" calculate="if((string(/data/ITNGoodN) = ''), /data/beds, (/data/beds - /data/ITNGoodN))"/>
<bind nodeset="/data/netsSupplied" type="int" required="true()"/>
<bind nodeset="/data/netCode" type="string" required="true()" constraint="regex(.,'\d{2}/M\d{4}S\d{3}E\d{3}')" jr:constraintMsg="jr:itext('netCode:invalid_format')"/>
<bind nodeset="/data/netsHung" type="int" required="true()"/>
<bind nodeset="/data/walls" type="select1" required="true()"/>
<bind nodeset="/data/wallGaps" type="select1" required="true()"/>
<bind nodeset="/data/roof" type="select1" required="true()"/>
<bind nodeset="/data/roofGaps" type="select1" required="true()"/>
<bind nodeset="/data/eaves" type="select1" required="true()"/>
<bind nodeset="/data/patio" type="select1" required="true()"/>
<bind nodeset="/data/doors" type="select1" required="true()"/>
<bind nodeset="/data/windows" type="select1" required="true()"/>
<bind nodeset="/data/aircondition" type="select1" required="true()"/>
<bind nodeset="/data/electricity" type="select1" required="true()"/>
<bind nodeset="/data/houseSprayed" type="select1" required="true()"/>
<bind nodeset="/data/reasonWhyNotSprayed" type="select1" required="selected(/data/houseSprayed, '0')" relevant="selected(/data/houseSprayed, '0')"/>
<bind nodeset="/data/whyNotSprayed" type="select" required="selected(/data/reasonWhyNotSprayed, '4')" relevant="selected(/data/reasonWhyNotSprayed, '4')"/>
</model>
</h:head>
<h:body>
<input ref="/data/beds">
<label ref="jr:itext('/data/beds:label')"/>
</input>
<input ref="/data/netsCurrent">
<label ref="jr:itext('/data/netsCurrent:label')"/>
</input>
<input ref="/data/ITNsCurrent">
<label ref="jr:itext('/data/ITNsCurrent:label')"/>
</input>
<input ref="/data/ITNGoodN">
<label ref="jr:itext('/data/ITNGoodN:label')"/>
</input>
<group appearance="field-list">
<input ref="/data/netsRecommended">
<label ref="jr:itext('/data/netsRecommended:label')"/>
</input>
<input ref="/data/netsSupplied">
<label ref="jr:itext('/data/netsSupplied:label')"/>
</input>
</group>
<group appearance="field-list">
<input ref="/data/netCode">
<label ref="jr:itext('/data/netCode:label')"/>
</input>
<input ref="/data/netsHung">
<label ref="jr:itext('/data/netsHung:label')"/>
</input>
</group>
<select1 ref="/data/electricity">
<label ref="jr:itext('/data/electricity:label')"/>
<item>
<label ref="jr:itext('/data/electricity:option0')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option1')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option2')"/>
<value>2</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option3')"/>
<value>3</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option4')"/>
<value>4</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option5')"/>
<value>5</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option6')"/>
<value>6</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option7')"/>
<value>7</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option8')"/>
<value>8</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option9')"/>
<value>9</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option10')"/>
<value>10</value>
</item>
<item>
<label ref="jr:itext('/data/electricity:option11')"/>
<value>99</value>
</item>
</select1>
<select1 ref="/data/houseSprayed">
<label ref="jr:itext('/data/houseSprayed:label')"/>
<item>
<label ref="jr:itext('/data/houseSprayed:option0')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/data/houseSprayed:option1')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/houseSprayed:option2')"/>
<value>3</value>
</item>
</select1>
<select1 ref="/data/reasonWhyNotSprayed">
<label ref="jr:itext('/data/reasonWhyNotSprayed:label')"/>
<item>
<label ref="jr:itext('/data/reasonWhyNotSprayed:option0')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/reasonWhyNotSprayed:option1')"/>
<value>2</value>
</item>
<item>
<label ref="jr:itext('/data/reasonWhyNotSprayed:option2')"/>
<value>3</value>
</item>
<item>
<label ref="jr:itext('/data/reasonWhyNotSprayed:option3')"/>
<value>4</value>
</item>
</select1>
<select ref="/data/whyNotSprayed">
<label ref="jr:itext('/data/whyNotSprayed:label')"/>
<item>
<label ref="jr:itext('/data/whyNotSprayed01:label')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed02:label')"/>
<value>2</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed03:label')"/>
<value>3</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed04:label')"/>
<value>4</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed05:label')"/>
<value>5</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed06:label')"/>
<value>6</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed07:label')"/>
<value>7</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed08:label')"/>
<value>8</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed09:label')"/>
<value>9</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed10:label')"/>
<value>10</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed11:label')"/>
<value>11</value>
</item>
<item>
<label ref="jr:itext('/data/whyNotSprayed12:label')"/>
<value>12</value>
</item>
</select>
<select1 ref="/data/walls">
<label ref="jr:itext('/data/walls:label')"/>
<item>
<label ref="jr:itext('/data/walls:option0')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/walls:option1')"/>
<value>2</value>
</item>
<item>
<label ref="jr:itext('/data/walls:option2')"/>
<value>3</value>
</item>
<item>
<label ref="jr:itext('/data/walls:option3')"/>
<value>4</value>
</item>
<item>
<label ref="jr:itext('/data/walls:option4')"/>
<value>5</value>
</item>
<item>
<label ref="jr:itext('/data/walls:option5')"/>
<value>99</value>
</item>
</select1>
<select1 ref="/data/wallGaps">
<label ref="jr:itext('/data/wallGaps:label')"/>
<item>
<label ref="jr:itext('/data/wallGaps:option0')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/data/wallGaps:option1')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/wallGaps:option2')"/>
<value>2</value>
</item>
</select1>
<select1 ref="/data/roof">
<label ref="jr:itext('/data/roof:label')"/>
<item>
<label ref="jr:itext('/data/roof:option0')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/roof:option1')"/>
<value>2</value>
</item>
<item>
<label ref="jr:itext('/data/roof:option2')"/>
<value>3</value>
</item>
<item>
<label ref="jr:itext('/data/roof:option3')"/>
<value>4</value>
</item>
<item>
<label ref="jr:itext('/data/roof:option4')"/>
<value>5</value>
</item>
<item>
<label ref="jr:itext('/data/roof:option5')"/>
<value>6</value>
</item>
<item>
<label ref="jr:itext('/data/roof:option6')"/>
<value>7</value>
</item>
<item>
<label ref="jr:itext('/data/roof:option7')"/>
<value>8</value>
</item>
<item>
<label ref="jr:itext('/data/roof:option8')"/>
<value>99</value>
</item>
</select1>
<select1 ref="/data/roofGaps">
<label ref="jr:itext('/data/roofGaps:label')"/>
<item>
<label ref="jr:itext('/data/roofGaps:option0')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/data/roofGaps:option1')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/roofGaps:option2')"/>
<value>2</value>
</item>
</select1>
<select1 ref="/data/eaves">
<label ref="jr:itext('/data/eaves:label')"/>
<item>
<label ref="jr:itext('/data/eaves:option0')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/eaves:option1')"/>
<value>2</value>
</item>
<item>
<label ref="jr:itext('/data/eaves:option2')"/>
<value>3</value>
</item>
</select1>
<select1 ref="/data/patio">
<label ref="jr:itext('/data/patio:label')"/>
<item>
<label ref="jr:itext('/data/patio:option0')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/data/patio:option1')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/patio:option2')"/>
<value>2</value>
</item>
</select1>
<select1 ref="/data/doors">
<label ref="jr:itext('/data/doors:label')"/>
<item>
<label ref="jr:itext('/data/doors:option0')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/data/doors:option1')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/doors:option2')"/>
<value>2</value>
</item>
</select1>
<select1 ref="/data/windows">
<label ref="jr:itext('/data/windows:label')"/>
<item>
<label ref="jr:itext('/data/windows:option0')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/data/windows:option1')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/windows:option2')"/>
<value>2</value>
</item>
</select1>
<select1 ref="/data/aircondition">
<label ref="jr:itext('/data/aircondition:label')"/>
<item>
<label ref="jr:itext('/data/aircondition:option0')"/>
<value>0</value>
</item>
<item>
<label ref="jr:itext('/data/aircondition:option1')"/>
<value>1</value>
</item>
<item>
<label ref="jr:itext('/data/aircondition:option2')"/>
<value>2</value>
</item>
</select1>
</h:body>
</h:html>