@inseefr/lunatic 3.5.6 → 3.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/components/CheckboxOne/CheckboxOne.spec.js +3 -2
  2. package/components/CheckboxOne/CheckboxOne.spec.js.map +1 -1
  3. package/components/shared/Combobox/Combobox.stories.d.ts +3 -2
  4. package/components/shared/Combobox/Combobox.stories.js +26 -21
  5. package/components/shared/Combobox/Combobox.stories.js.map +1 -1
  6. package/components/type.d.ts +3 -0
  7. package/esm/components/CheckboxOne/CheckboxOne.spec.js +3 -2
  8. package/esm/components/CheckboxOne/CheckboxOne.spec.js.map +1 -1
  9. package/esm/components/shared/Combobox/Combobox.stories.d.ts +3 -2
  10. package/esm/components/shared/Combobox/Combobox.stories.js +28 -24
  11. package/esm/components/shared/Combobox/Combobox.stories.js.map +1 -1
  12. package/esm/components/type.d.ts +3 -0
  13. package/esm/hooks/useLocalStorage.d.ts +1 -0
  14. package/esm/hooks/useLocalStorage.js +31 -0
  15. package/esm/hooks/useLocalStorage.js.map +1 -0
  16. package/esm/type.source.d.ts +6 -0
  17. package/esm/use-lunatic/commons/compile-controls.js +22 -14
  18. package/esm/use-lunatic/commons/compile-controls.js.map +1 -1
  19. package/esm/use-lunatic/commons/fill-components/fill-component-expressions.js +4 -1
  20. package/esm/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
  21. package/esm/use-lunatic/hooks/use-page-has-response.js +1 -1
  22. package/esm/use-lunatic/hooks/use-page-has-response.js.map +1 -1
  23. package/esm/use-lunatic/hooks/useOverview.spec.js +2 -2
  24. package/esm/use-lunatic/hooks/useOverview.spec.js.map +1 -1
  25. package/esm/use-lunatic/props/getComponentTypeProps.d.ts +3 -0
  26. package/esm/utils/number.d.ts +4 -0
  27. package/esm/utils/number.js +12 -0
  28. package/esm/utils/number.js.map +1 -1
  29. package/esm/utils/object.d.ts +10 -0
  30. package/esm/utils/object.js +26 -0
  31. package/esm/utils/object.js.map +1 -1
  32. package/hooks/useLocalStorage.d.ts +1 -0
  33. package/hooks/useLocalStorage.js +34 -0
  34. package/hooks/useLocalStorage.js.map +1 -0
  35. package/package.json +76 -137
  36. package/src/components/CheckboxOne/CheckboxOne.spec.tsx +3 -0
  37. package/src/components/shared/Combobox/Combobox.stories.tsx +48 -49
  38. package/src/components/type.ts +1 -0
  39. package/src/hooks/useLocalStorage.ts +37 -0
  40. package/src/json.d.ts +16 -0
  41. package/src/stories/accordion/accordion.stories.tsx +21 -0
  42. package/src/stories/behaviour/cleaning/cleaning.stories.tsx +40 -0
  43. package/src/stories/behaviour/controls/controls.stories.tsx +51 -0
  44. package/src/stories/behaviour/disabled/disabled.stories.tsx +29 -0
  45. package/src/stories/behaviour/filter/filter.stories.tsx +34 -0
  46. package/src/stories/behaviour/missing/missing.stories.tsx +31 -0
  47. package/src/stories/behaviour/overview/overview.stories.tsx +61 -0
  48. package/src/stories/{overview/sourceWithHierarchy.json → behaviour/overview/source.json} +1 -1
  49. package/src/stories/{overview → behaviour/overview}/sourceLoop.json +1 -1
  50. package/src/stories/behaviour/performance/performance.stories.tsx +29 -0
  51. package/src/stories/behaviour/resizing/resizing.stories.tsx +34 -0
  52. package/src/stories/behaviour/slots.stories.tsx +34 -0
  53. package/src/stories/checkbox/checkbox.stories.tsx +75 -0
  54. package/src/stories/{checkbox-group/sourceLoop.json → checkbox/sourceGroupLoop.json} +1 -1
  55. package/src/stories/datepicker/datepicker.stories.tsx +21 -0
  56. package/src/stories/declaration/declaration.stories.tsx +27 -0
  57. package/src/stories/dropdown/dropdown.stories.tsx +27 -0
  58. package/src/stories/duration/duration.stories.tsx +27 -0
  59. package/src/stories/filter-description/filter-description.stories.tsx +28 -0
  60. package/src/stories/input/input.stories.tsx +21 -0
  61. package/src/stories/input-number/input-number.stories.tsx +35 -0
  62. package/src/stories/loop/loop.stories.tsx +35 -0
  63. package/src/stories/loop/roster-for-loop.stories.tsx +59 -0
  64. package/src/stories/pairwise/pairwise.stories.tsx +30 -0
  65. package/src/stories/paste.stories.tsx +85 -0
  66. package/src/stories/question/question.stories.tsx +21 -0
  67. package/src/stories/questionnaires/logement/logement.stories.tsx +26 -0
  68. package/src/stories/questionnaires/recensement/recensement.stories.tsx +28 -0
  69. package/src/stories/questionnaires/rp/rp.stories.tsx +21 -0
  70. package/src/stories/questionnaires/simpsons/simpsons.stories.tsx +31 -0
  71. package/src/stories/radio/radio.stories.tsx +53 -0
  72. package/src/stories/roundabout/roundabout.stories.tsx +37 -0
  73. package/src/stories/roundabout/source.json +1 -0
  74. package/src/stories/sequence/sequence.stories.tsx +28 -0
  75. package/src/stories/suggester/source-option-responses.json +1 -1
  76. package/src/stories/suggester/suggester.stories.tsx +68 -0
  77. package/src/stories/summary/source.json +22 -1
  78. package/src/stories/summary/summary.stories.tsx +31 -0
  79. package/src/stories/table/table.stories.tsx +35 -0
  80. package/src/stories/text/text.stories.tsx +38 -0
  81. package/src/stories/textarea/textarea.stories.tsx +21 -0
  82. package/src/stories/utils/Orchestrator.tsx +310 -0
  83. package/src/stories/utils/OrchestratorData.tsx +176 -0
  84. package/src/stories/utils/OrchestratorOverview.tsx +70 -0
  85. package/src/stories/utils/OrchestratorSidebar.tsx +119 -0
  86. package/src/stories/utils/SchemaValidator.tsx +29 -0
  87. package/src/stories/utils/referentiel.ts +9 -0
  88. package/src/type.source.ts +6 -0
  89. package/src/use-lunatic/commons/compile-controls.ts +36 -18
  90. package/src/use-lunatic/commons/fill-components/fill-component-expressions.ts +4 -1
  91. package/src/use-lunatic/hooks/use-page-has-response.ts +1 -1
  92. package/src/use-lunatic/hooks/useOverview.spec.ts +3 -2
  93. package/src/use-lunatic/use-lunatic.test.ts +53 -40
  94. package/src/utils/number.ts +13 -0
  95. package/src/utils/object.ts +40 -0
  96. package/tsconfig.build.tsbuildinfo +1 -1
  97. package/type.source.d.ts +6 -0
  98. package/use-lunatic/commons/compile-controls.js +21 -13
  99. package/use-lunatic/commons/compile-controls.js.map +1 -1
  100. package/use-lunatic/commons/fill-components/fill-component-expressions.js +5 -2
  101. package/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
  102. package/use-lunatic/hooks/use-page-has-response.js +2 -2
  103. package/use-lunatic/hooks/use-page-has-response.js.map +1 -1
  104. package/use-lunatic/hooks/useOverview.spec.js +8 -8
  105. package/use-lunatic/hooks/useOverview.spec.js.map +1 -1
  106. package/use-lunatic/props/getComponentTypeProps.d.ts +3 -0
  107. package/utils/number.d.ts +4 -0
  108. package/utils/number.js +13 -0
  109. package/utils/number.js.map +1 -1
  110. package/utils/object.d.ts +10 -0
  111. package/utils/object.js +30 -0
  112. package/utils/object.js.map +1 -1
  113. package/esm/stories/overview/sourceWithHierarchy.json +0 -5151
  114. package/esm/tests/utils/lunatic.d.ts +0 -15
  115. package/esm/tests/utils/lunatic.js +0 -27
  116. package/esm/tests/utils/lunatic.js.map +0 -1
  117. package/esm/use-lunatic/replace-component-sequence.d.ts +0 -36
  118. package/esm/use-lunatic/replace-component-sequence.js +0 -19
  119. package/esm/use-lunatic/replace-component-sequence.js.map +0 -1
  120. package/esm/use-lunatic/test.utils.d.ts +0 -2
  121. package/esm/use-lunatic/test.utils.js +0 -13
  122. package/esm/use-lunatic/test.utils.js.map +0 -1
  123. package/esm/utils/is-object.d.ts +0 -4
  124. package/esm/utils/is-object.js +0 -7
  125. package/esm/utils/is-object.js.map +0 -1
  126. package/esm/utils/to-number.d.ts +0 -4
  127. package/esm/utils/to-number.js +0 -13
  128. package/esm/utils/to-number.js.map +0 -1
  129. package/src/stories/accordion/accordion.stories.jsx +0 -17
  130. package/src/stories/behaviour/cleaning/cleaning.stories.jsx +0 -69
  131. package/src/stories/behaviour/controls/controls.stories.jsx +0 -81
  132. package/src/stories/behaviour/filter/dataLoop.json +0 -14
  133. package/src/stories/behaviour/filter/filter.stories.jsx +0 -36
  134. package/src/stories/behaviour/missing/missing.stories.jsx +0 -69
  135. package/src/stories/behaviour/others/V2_DeclarationsSimples.json +0 -908
  136. package/src/stories/behaviour/others/V2_MinMaxSum_Boucles.json +0 -489
  137. package/src/stories/behaviour/others/V2_QuestSimple_Boucles.json +0 -3919
  138. package/src/stories/behaviour/others/V2_TCMRallyeGames.json +0 -2760
  139. package/src/stories/behaviour/others/test-dylan.json +0 -538
  140. package/src/stories/behaviour/others/test.stories.jsx +0 -78
  141. package/src/stories/behaviour/paste/source.json +0 -32
  142. package/src/stories/behaviour/paste/test.stories.jsx +0 -62
  143. package/src/stories/behaviour/performance/performance.stories.jsx +0 -26
  144. package/src/stories/behaviour/resizing/resizing.stories.jsx +0 -60
  145. package/src/stories/behaviour/slots.stories.jsx +0 -32
  146. package/src/stories/checkbox-boolean/checkboxBoolean.stories.jsx +0 -17
  147. package/src/stories/checkbox-group/checkbox-group.stories.jsx +0 -77
  148. package/src/stories/checkbox-one/checkboxOne.stories.jsx +0 -53
  149. package/src/stories/date-picker/data.json +0 -3
  150. package/src/stories/date-picker/datepicker.stories.jsx +0 -26
  151. package/src/stories/declaration/data.json +0 -1
  152. package/src/stories/declaration/input.stories.jsx +0 -18
  153. package/src/stories/disabled/data.json +0 -16
  154. package/src/stories/disabled/disabled.stories.jsx +0 -18
  155. package/src/stories/dropdown/data.json +0 -8
  156. package/src/stories/dropdown/dropdown.stories.jsx +0 -25
  157. package/src/stories/duration/duration.stories.jsx +0 -25
  158. package/src/stories/filter-description/filter-description.stories.jsx +0 -37
  159. package/src/stories/input/data.json +0 -1
  160. package/src/stories/input/input.stories.jsx +0 -18
  161. package/src/stories/input-number/input-number.stories.jsx +0 -23
  162. package/src/stories/loop/loop.stories.jsx +0 -29
  163. package/src/stories/loop/roster-for-loop.stories.jsx +0 -46
  164. package/src/stories/markdown/markdown.stories.jsx +0 -20
  165. package/src/stories/overview/data.json +0 -1
  166. package/src/stories/overview/dataLoop.json +0 -93
  167. package/src/stories/overview/overview.stories.jsx +0 -44
  168. package/src/stories/overview/source.json +0 -25
  169. package/src/stories/pairwise/data.json +0 -12
  170. package/src/stories/pairwise/pairwise-links.stories.jsx +0 -48
  171. package/src/stories/question/question.stories.jsx +0 -16
  172. package/src/stories/questionnaires/logement/logement.stories.jsx +0 -59
  173. package/src/stories/questionnaires/recensement/data.json +0 -12
  174. package/src/stories/questionnaires/recensement/recensement.stories.jsx +0 -35
  175. package/src/stories/questionnaires/rp/data.json +0 -5
  176. package/src/stories/questionnaires/rp/rp.stories.jsx +0 -23
  177. package/src/stories/questionnaires/simpsons/simpsons.stories.jsx +0 -246
  178. package/src/stories/radio/radio.stories.jsx +0 -78
  179. package/src/stories/roundabout/data1.json +0 -13
  180. package/src/stories/roundabout/data2.json +0 -16
  181. package/src/stories/roundabout/roundabout.stories.jsx +0 -32
  182. package/src/stories/sequence/sequence.stories.jsx +0 -29
  183. package/src/stories/suggester/suggester.stories.jsx +0 -71
  184. package/src/stories/summary/data.json +0 -16
  185. package/src/stories/summary/summary.stories.jsx +0 -23
  186. package/src/stories/switch/README.md +0 -29
  187. package/src/stories/switch/data-forced.json +0 -40
  188. package/src/stories/switch/source.json +0 -64
  189. package/src/stories/switch/switch.stories.jsx +0 -17
  190. package/src/stories/table/data.json +0 -1
  191. package/src/stories/table/table.stories.jsx +0 -30
  192. package/src/stories/text/data-roster.json +0 -5
  193. package/src/stories/text/text.stories.jsx +0 -20
  194. package/src/stories/textarea/data.json +0 -1
  195. package/src/stories/textarea/textarea.stories.jsx +0 -18
  196. package/src/stories/utils/SchemaValidator.jsx +0 -40
  197. package/src/stories/utils/default-arg-types.js +0 -39
  198. package/src/stories/utils/default-args.js +0 -3
  199. package/src/stories/utils/options.js +0 -19
  200. package/src/stories/utils/orchestrator.jsx +0 -267
  201. package/src/stories/utils/orchestrator.scss +0 -66
  202. package/src/stories/utils/overview.jsx +0 -39
  203. package/src/stories/utils/overview.scss +0 -37
  204. package/src/stories/utils/referentiel.js +0 -7
  205. package/src/tests/utils/e2e.js +0 -91
  206. package/src/tests/utils/lunatic.ts +0 -33
  207. package/src/use-lunatic/replace-component-sequence.ts +0 -25
  208. package/src/use-lunatic/test.utils.ts +0 -17
  209. package/src/utils/is-object.ts +0 -6
  210. package/src/utils/to-number.ts +0 -12
  211. package/stories/overview/sourceWithHierarchy.json +0 -5151
  212. package/tests/utils/lunatic.d.ts +0 -15
  213. package/tests/utils/lunatic.js +0 -31
  214. package/tests/utils/lunatic.js.map +0 -1
  215. package/use-lunatic/replace-component-sequence.d.ts +0 -36
  216. package/use-lunatic/replace-component-sequence.js +0 -22
  217. package/use-lunatic/replace-component-sequence.js.map +0 -1
  218. package/use-lunatic/test.utils.d.ts +0 -2
  219. package/use-lunatic/test.utils.js +0 -17
  220. package/use-lunatic/test.utils.js.map +0 -1
  221. package/utils/is-object.d.ts +0 -4
  222. package/utils/is-object.js +0 -10
  223. package/utils/is-object.js.map +0 -1
  224. package/utils/to-number.d.ts +0 -4
  225. package/utils/to-number.js +0 -16
  226. package/utils/to-number.js.map +0 -1
  227. /package/src/stories/behaviour/cleaning/{loop.json → source-loop-scopes.json} +0 -0
  228. /package/src/stories/behaviour/controls/{boucles-n.json → source-boucles-n.json} +0 -0
  229. /package/src/stories/behaviour/controls/{loop.json → source-loop.json} +0 -0
  230. /package/src/stories/behaviour/controls/{roundabout.json → source-roundabout.json} +0 -0
  231. /package/src/stories/behaviour/controls/{simple-numeric.json → source-simple-numeric.json} +0 -0
  232. /package/src/stories/behaviour/controls/{simple.json → source-simple.json} +0 -0
  233. /package/src/stories/{disabled → behaviour/disabled}/source.json +0 -0
  234. /package/src/stories/{checkbox-boolean → checkbox}/source.json +0 -0
  235. /package/src/stories/{checkbox-group/source.json → checkbox/sourceGroup.json} +0 -0
  236. /package/src/stories/{checkbox-group/sourceCondition.json → checkbox/sourceGroupCondition.json} +0 -0
  237. /package/src/stories/{checkbox-group/sourceDetail.json → checkbox/sourceGroupDetail.json} +0 -0
  238. /package/src/stories/{checkbox-one/source.json → checkbox/sourceOne.json} +0 -0
  239. /package/src/stories/{checkbox-one/sourceDetail.json → checkbox/sourceOneDetail.json} +0 -0
  240. /package/src/stories/{date-picker → datepicker}/source.json +0 -0
  241. /package/src/stories/{markdown/source.json → declaration/sourceMarkdown.json} +0 -0
  242. /package/src/stories/duration/{mois.json → sourceMonths.json} +0 -0
  243. /package/src/stories/duration/{time.json → sourceTime.json} +0 -0
  244. /package/src/stories/filter-description/{source-options.json → sourceOptions.json} +0 -0
  245. /package/src/stories/table/{table-dynamique.json → source-dynamic.json} +0 -0
@@ -1,2760 +0,0 @@
1
- {
2
- "id": "l4cgtrsi",
3
- "modele": "THL-RG",
4
- "enoCoreVersion": "2.3.7-dev-lunatic-v2",
5
- "lunaticModelVersion": "2.2.13-dev-lunatic-v2",
6
- "generatingDate": "19-07-2022 10:45:19",
7
- "missing": false,
8
- "pagination": "question",
9
- "maxPage": "5",
10
- "label": { "value": "THL - TCM - Rallye game", "type": "VTL|MD" },
11
- "components": [
12
- {
13
- "id": "kfxmfvwj",
14
- "componentType": "Sequence",
15
- "page": "1",
16
- "label": {
17
- "value": "Tableau des habitants du logement",
18
- "type": "VTL|MD"
19
- },
20
- "declarations": [
21
- {
22
- "id": "kfxmfvwj-l0v2ckjm",
23
- "declarationType": "HELP",
24
- "position": "AFTER_QUESTION_TEXT",
25
- "label": { "value": "THL", "type": "VTL|MD" }
26
- }
27
- ],
28
- "conditionFilter": { "value": "true", "type": "VTL" },
29
- "hierarchy": {
30
- "sequence": {
31
- "id": "kfxmfvwj",
32
- "page": "1",
33
- "label": {
34
- "value": "Tableau des habitants du logement",
35
- "type": "VTL|MD"
36
- }
37
- }
38
- }
39
- },
40
-
41
- {
42
- "id": "l0v2t2lc",
43
- "componentType": "InputNumber",
44
- "isMandatory": false,
45
- "page": "2",
46
- "min": 1,
47
- "max": 20,
48
- "decimals": 0,
49
- "label": {
50
- "value": "\"➡ 1. \" || \"En vous comptant, combien de personnes habitent dans le logement situé à l’adresse \" || ADR || \" ?\"",
51
- "type": "VTL|MD"
52
- },
53
- "conditionFilter": { "value": "true", "type": "VTL" },
54
- "hierarchy": {
55
- "sequence": {
56
- "id": "kfxmfvwj",
57
- "page": "1",
58
- "label": {
59
- "value": "Tableau des habitants du logement",
60
- "type": "VTL|MD"
61
- }
62
- }
63
- },
64
- "bindingDependencies": ["ADR", "NHAB"],
65
- "response": { "name": "NHAB" }
66
- },
67
-
68
- {
69
- "id": "l0v3gfcr",
70
- "componentType": "Loop",
71
- "page": "3",
72
- "depth": 1,
73
- "paginatedLoop": false,
74
- "conditionFilter": { "value": "true", "type": "VTL" },
75
- "hierarchy": {
76
- "sequence": {
77
- "id": "kfxmfvwj",
78
- "page": "1",
79
- "label": {
80
- "value": "Tableau des habitants du logement",
81
- "type": "VTL|MD"
82
- }
83
- }
84
- },
85
- "bindingDependencies": ["NBHAB", "G_PRENOM"],
86
- "loopDependencies": ["NBHAB"],
87
- "lines": {
88
- "min": { "value": "cast(NBHAB, integer)", "type": "VTL" },
89
- "max": { "value": "cast(NBHAB, integer)", "type": "VTL" }
90
- },
91
- "components": [
92
- {
93
- "id": "l0mkvvru",
94
- "componentType": "Subsequence",
95
- "page": "3",
96
- "goToPage": "3",
97
- "label": { "value": "Prénoms des habitants", "type": "VTL|MD" },
98
- "declarations": [
99
- {
100
- "id": "l0mkvvru-l2yohc5k",
101
- "declarationType": "HELP",
102
- "position": "AFTER_QUESTION_TEXT",
103
- "label": {
104
- "value": "\" Si plusieurs habitants ont le même prénom, ajouter une initiale pour pouvoir les distinguer dans la suite du questionnaire.\"",
105
- "type": "VTL|MD"
106
- }
107
- }
108
- ],
109
- "conditionFilter": { "value": "true", "type": "VTL" },
110
- "hierarchy": {
111
- "sequence": {
112
- "id": "kfxmfvwj",
113
- "page": "1",
114
- "label": {
115
- "value": "Tableau des habitants du logement",
116
- "type": "VTL|MD"
117
- }
118
- },
119
- "subSequence": {
120
- "id": "l0mkvvru",
121
- "page": "3",
122
- "label": { "value": "Prénoms des habitants", "type": "VTL|MD" }
123
- }
124
- },
125
- "bindingDependencies": ["NBHAB"]
126
- },
127
-
128
- {
129
- "id": "l0v3g11i",
130
- "componentType": "Input",
131
- "isMandatory": false,
132
- "page": "3",
133
- "maxLength": 40,
134
- "label": {
135
- "value": "\"➡ 2. \" || \"Prénom (en commençant par le vôtre)\"",
136
- "type": "VTL|MD"
137
- },
138
- "conditionFilter": { "value": "true", "type": "VTL" },
139
- "controls": [
140
- {
141
- "id": "l0v3g11i-CI-0",
142
- "criticality": "WARN",
143
- "control": {
144
- "value": "not((nvl(G_PRENOM, \"\") = \"\") and (not(isnull(NBHAB)) and cast(NBHAB,integer)>1))",
145
- "type": "VTL"
146
- },
147
- "errorMessage": {
148
- "value": "\"Merci d’indiquer l’ensemble des prénoms (initiales ou autre) afin de pouvoir vous repérer dans la suite du questionnaire lorsque les questions porteront sur une personne en particulier.\"",
149
- "type": "VTL|MD"
150
- },
151
- "bindingDependencies": ["G_PRENOM", "NBHAB"]
152
- },
153
-
154
- {
155
- "id": "l0v3g11i-CI-1",
156
- "criticality": "WARN",
157
- "control": {
158
- "value": "not((nvl(G_PRENOM, \"\") = \"\") and (isnull(NBHAB) or cast(NBHAB,integer)=1))",
159
- "type": "VTL"
160
- },
161
- "errorMessage": {
162
- "value": "\"Votre réponse est importante pour le bon déroulement du questionnaire. Merci d’indiquer votre prénom (ou vos initiales, ou autre) pour pouvoir poursuivre le questionnaire.\"",
163
- "type": "VTL|MD"
164
- },
165
- "bindingDependencies": ["G_PRENOM", "NBHAB"]
166
- }
167
- ],
168
- "hierarchy": {
169
- "sequence": {
170
- "id": "kfxmfvwj",
171
- "page": "1",
172
- "label": {
173
- "value": "Tableau des habitants du logement",
174
- "type": "VTL|MD"
175
- }
176
- },
177
- "subSequence": {
178
- "id": "l0mkvvru",
179
- "page": "3",
180
- "label": { "value": "Prénoms des habitants", "type": "VTL|MD" }
181
- }
182
- },
183
- "bindingDependencies": ["G_PRENOM", "NBHAB"],
184
- "response": { "name": "G_PRENOM" }
185
- }
186
- ]
187
- },
188
-
189
- {
190
- "id": "l0v43iz7",
191
- "componentType": "Loop",
192
- "page": "4",
193
- "maxPage": "16",
194
- "depth": 1,
195
- "paginatedLoop": true,
196
- "conditionFilter": { "value": "true", "type": "VTL" },
197
- "hierarchy": {
198
- "sequence": {
199
- "id": "kfxmfvwj",
200
- "page": "1",
201
- "label": {
202
- "value": "Tableau des habitants du logement",
203
- "type": "VTL|MD"
204
- }
205
- }
206
- },
207
- "bindingDependencies": [
208
- "PRENOM",
209
- "PRENOMREF",
210
- "TRAGE",
211
- "LIB_E",
212
- "LIB_PR",
213
- "DATEDEPART",
214
- "DATENAIS",
215
- "DATERETOUR",
216
- "LIB_SON",
217
- "ANNARIV",
218
- "ANNAIS",
219
- "SEXE",
220
- "LNAIS",
221
- "DEPNAIS",
222
- "PAYSNAIS",
223
- "NATION1",
224
- "NATION2",
225
- "NATION3",
226
- "NATION4",
227
- "NATIONETR",
228
- "VECUE",
229
- "AGRETOUR",
230
- "AGARRIV"
231
- ],
232
- "loopDependencies": ["G_PRENOM"],
233
- "components": [
234
- {
235
- "id": "l0v3oeqn",
236
- "componentType": "Subsequence",
237
- "page": "4.1",
238
- "goToPage": "4.1",
239
- "label": {
240
- "value": "Description des habitants du logement",
241
- "type": "VTL|MD"
242
- },
243
- "declarations": [
244
- {
245
- "id": "l0v3oeqn-l0v3ldcs",
246
- "declarationType": "HELP",
247
- "position": "AFTER_QUESTION_TEXT",
248
- "label": {
249
- "value": "if (PRENOM = PRENOMREF) then PRENOM ||\", nous allons rapidement vous décrire.\" else \"Nous allons décrire rapidement \" || PRENOM || \".\"",
250
- "type": "VTL|MD"
251
- }
252
- }
253
- ],
254
- "conditionFilter": { "value": "true", "type": "VTL" },
255
- "hierarchy": {
256
- "sequence": {
257
- "id": "kfxmfvwj",
258
- "page": "1",
259
- "label": {
260
- "value": "Tableau des habitants du logement",
261
- "type": "VTL|MD"
262
- }
263
- },
264
- "subSequence": {
265
- "id": "l0v3oeqn",
266
- "page": "4.1",
267
- "label": {
268
- "value": "Description des habitants du logement",
269
- "type": "VTL|MD"
270
- }
271
- }
272
- },
273
- "bindingDependencies": ["PRENOM", "PRENOMREF", "G_PRENOM"]
274
- },
275
-
276
- {
277
- "id": "l0v4b34m",
278
- "componentType": "Radio",
279
- "isMandatory": false,
280
- "page": "4.2",
281
- "label": {
282
- "value": "\"➡ 3. \" || \"Quel est \" || if (PRENOM = PRENOMREF) then \"votre sexe ?\" else \"le sexe de \" || PRENOM || \" ?\"",
283
- "type": "VTL|MD"
284
- },
285
- "conditionFilter": { "value": "true", "type": "VTL" },
286
- "hierarchy": {
287
- "sequence": {
288
- "id": "kfxmfvwj",
289
- "page": "1",
290
- "label": {
291
- "value": "Tableau des habitants du logement",
292
- "type": "VTL|MD"
293
- }
294
- },
295
- "subSequence": {
296
- "id": "l0v3oeqn",
297
- "page": "4.1",
298
- "label": {
299
- "value": "Description des habitants du logement",
300
- "type": "VTL|MD"
301
- }
302
- }
303
- },
304
- "bindingDependencies": ["PRENOM", "PRENOMREF", "SEXE", "G_PRENOM"],
305
- "options": [
306
- { "value": "1", "label": { "value": "Homme", "type": "VTL|MD" } },
307
-
308
- { "value": "2", "label": { "value": "Femme", "type": "VTL|MD" } }
309
- ],
310
- "response": { "name": "SEXE" }
311
- },
312
-
313
- {
314
- "id": "l0v4oi1v",
315
- "componentType": "Datepicker",
316
- "isMandatory": false,
317
- "page": "4.3",
318
- "min": "1900-01-01",
319
- "max": "2022-03-17",
320
- "label": {
321
- "value": "\"➡ 4. \" || \"Quelle est \" || if (PRENOM = PRENOMREF) then \"votre date de naissance ?\" else \"la date de naissance de \" || PRENOM || \" ?\"",
322
- "type": "VTL|MD"
323
- },
324
- "conditionFilter": { "value": "true", "type": "VTL" },
325
- "hierarchy": {
326
- "sequence": {
327
- "id": "kfxmfvwj",
328
- "page": "1",
329
- "label": {
330
- "value": "Tableau des habitants du logement",
331
- "type": "VTL|MD"
332
- }
333
- },
334
- "subSequence": {
335
- "id": "l0v3oeqn",
336
- "page": "4.1",
337
- "label": {
338
- "value": "Description des habitants du logement",
339
- "type": "VTL|MD"
340
- }
341
- }
342
- },
343
- "bindingDependencies": [
344
- "PRENOM",
345
- "PRENOMREF",
346
- "DATENAIS",
347
- "G_PRENOM"
348
- ],
349
- "dateFormat": "YYYY-MM-DD",
350
- "response": { "name": "DATENAIS" }
351
- },
352
-
353
- {
354
- "id": "l11z2too",
355
- "componentType": "Radio",
356
- "isMandatory": false,
357
- "page": "4.4",
358
- "label": {
359
- "value": "\"➡ 5. \" || \"Vous n’avez pas indiqué de date de naissance, pouvez-vous indiquer \" || if (PRENOM = PRENOMREF) then \" votre âge ?\" else \"l’âge de \" || PRENOM || \" ?\"",
360
- "type": "VTL|MD"
361
- },
362
- "conditionFilter": {
363
- "value": "(isnull(DATENAIS))",
364
- "type": "VTL",
365
- "bindingDependencies": ["DATENAIS"]
366
- },
367
- "controls": [
368
- {
369
- "id": "l11z2too-CI-0",
370
- "criticality": "INFO",
371
- "control": {
372
- "value": "not(isnull(TRAGE) and (PRENOM = PRENOMREF))",
373
- "type": "VTL"
374
- },
375
- "errorMessage": {
376
- "value": "Votre réponse est importante pour le bon déroulement du questionnaire. La connaissance de votre âge permet de filtrer la suite du questionnaire et d’éviter de vous poser des questions qui ne vous concerneraient pas. Merci de renseigner votre âge.",
377
- "type": "VTL|MD"
378
- },
379
- "bindingDependencies": ["TRAGE", "PRENOM", "PRENOMREF"]
380
- },
381
-
382
- {
383
- "id": "l11z2too-CI-1",
384
- "criticality": "INFO",
385
- "control": {
386
- "value": "not(isnull(TRAGE) and PRENOM <> PRENOMREF)",
387
- "type": "VTL"
388
- },
389
- "errorMessage": {
390
- "value": "Cette réponse est importante pour le bon déroulement du questionnaire. La connaissance de l’âge permet de filtrer la suite du questionnaire et d’éviter de poser des questions hors de propos. Merci de renseigner l’âge.",
391
- "type": "VTL|MD"
392
- },
393
- "bindingDependencies": ["TRAGE", "PRENOM", "PRENOMREF"]
394
- }
395
- ],
396
- "hierarchy": {
397
- "sequence": {
398
- "id": "kfxmfvwj",
399
- "page": "1",
400
- "label": {
401
- "value": "Tableau des habitants du logement",
402
- "type": "VTL|MD"
403
- }
404
- },
405
- "subSequence": {
406
- "id": "l0v3oeqn",
407
- "page": "4.1",
408
- "label": {
409
- "value": "Description des habitants du logement",
410
- "type": "VTL|MD"
411
- }
412
- }
413
- },
414
- "bindingDependencies": ["PRENOM", "PRENOMREF", "TRAGE", "G_PRENOM"],
415
- "options": [
416
- {
417
- "value": "1",
418
- "label": { "value": "Moins de 15 ans", "type": "VTL|MD" }
419
- },
420
-
421
- {
422
- "value": "2",
423
- "label": { "value": "De 15 à 18 ans", "type": "VTL|MD" }
424
- },
425
-
426
- {
427
- "value": "3",
428
- "label": { "value": "De 18 à 25 ans", "type": "VTL|MD" }
429
- },
430
-
431
- {
432
- "value": "4",
433
- "label": { "value": "De 25 à 40 ans", "type": "VTL|MD" }
434
- },
435
-
436
- {
437
- "value": "5",
438
- "label": { "value": "De 40 à 60 ans", "type": "VTL|MD" }
439
- },
440
-
441
- {
442
- "value": "6",
443
- "label": { "value": "Plus de 60 ans", "type": "VTL|MD" }
444
- }
445
- ],
446
- "response": { "name": "TRAGE" }
447
- },
448
-
449
- {
450
- "id": "l11zznh4",
451
- "componentType": "Radio",
452
- "isMandatory": false,
453
- "page": "4.5",
454
- "label": {
455
- "value": "\"➡ 6. \" || if (PRENOM = PRENOMREF) then \"Où êtes-vous né\"|| LIB_E || \" ?\" else \"Où est né\" || LIB_E || \" \" || PRENOM || \" ?\"",
456
- "type": "VTL|MD"
457
- },
458
- "declarations": [
459
- {
460
- "id": "l11zznh4-l120k8go",
461
- "declarationType": "HELP",
462
- "position": "AFTER_QUESTION_TEXT",
463
- "label": {
464
- "value": "\"Prendre en compte les frontières actuelles.\"",
465
- "type": "VTL|MD"
466
- }
467
- }
468
- ],
469
- "conditionFilter": { "value": "true", "type": "VTL" },
470
- "hierarchy": {
471
- "sequence": {
472
- "id": "kfxmfvwj",
473
- "page": "1",
474
- "label": {
475
- "value": "Tableau des habitants du logement",
476
- "type": "VTL|MD"
477
- }
478
- },
479
- "subSequence": {
480
- "id": "l0v3oeqn",
481
- "page": "4.1",
482
- "label": {
483
- "value": "Description des habitants du logement",
484
- "type": "VTL|MD"
485
- }
486
- }
487
- },
488
- "bindingDependencies": [
489
- "PRENOM",
490
- "PRENOMREF",
491
- "LIB_E",
492
- "LNAIS",
493
- "G_PRENOM"
494
- ],
495
- "options": [
496
- {
497
- "value": "1",
498
- "label": {
499
- "value": "\"En France (Métropole, DOM et COM)\"",
500
- "type": "VTL|MD"
501
- }
502
- },
503
-
504
- {
505
- "value": "2",
506
- "label": { "value": "\"A l’étranger\"", "type": "VTL|MD" }
507
- }
508
- ],
509
- "response": { "name": "LNAIS" }
510
- },
511
-
512
- {
513
- "id": "l120kmks",
514
- "componentType": "Dropdown",
515
- "isMandatory": false,
516
- "page": "4.6",
517
- "label": {
518
- "value": "\"➡ 7. \" || \"Dans quel département \" || if (PRENOM = PRENOMREF) then \"êtes-vous né\" || LIB_E || \" ?\" else \"est né\" || LIB_E || \" \" || PRENOM || \" ?\"",
519
- "type": "VTL|MD"
520
- },
521
- "declarations": [
522
- {
523
- "id": "l120kmks-l120ef3t",
524
- "declarationType": "HELP",
525
- "position": "AFTER_QUESTION_TEXT",
526
- "label": {
527
- "value": "\"Saisir le numéro ou les premières lettres du département puis sélectionner le département de naissance dans la liste proposée.\"",
528
- "type": "VTL|MD"
529
- }
530
- }
531
- ],
532
- "conditionFilter": {
533
- "value": "(LNAIS = \"1\")",
534
- "type": "VTL",
535
- "bindingDependencies": ["LNAIS"]
536
- },
537
- "hierarchy": {
538
- "sequence": {
539
- "id": "kfxmfvwj",
540
- "page": "1",
541
- "label": {
542
- "value": "Tableau des habitants du logement",
543
- "type": "VTL|MD"
544
- }
545
- },
546
- "subSequence": {
547
- "id": "l0v3oeqn",
548
- "page": "4.1",
549
- "label": {
550
- "value": "Description des habitants du logement",
551
- "type": "VTL|MD"
552
- }
553
- }
554
- },
555
- "bindingDependencies": [
556
- "PRENOM",
557
- "PRENOMREF",
558
- "LIB_E",
559
- "DEPNAIS",
560
- "G_PRENOM"
561
- ],
562
- "options": [
563
- {
564
- "value": "1",
565
- "label": {
566
- "value": "\"Recherche sur liste des départements\"",
567
- "type": "VTL|MD"
568
- }
569
- }
570
- ],
571
- "response": { "name": "DEPNAIS" }
572
- },
573
-
574
- {
575
- "id": "l120lqns",
576
- "componentType": "Dropdown",
577
- "isMandatory": false,
578
- "page": "4.7",
579
- "label": {
580
- "value": "\"➡ 8. \" || \"Dans quel pays \" || if(PRENOM = PRENOMREF) then \"êtes-vous né\" || LIB_E || \" ?\" else \"est né\"|| LIB_E || \" \" || PRENOM || \" ?\"",
581
- "type": "VTL|MD"
582
- },
583
- "declarations": [
584
- {
585
- "id": "l120lqns-l1210yn3",
586
- "declarationType": "HELP",
587
- "position": "AFTER_QUESTION_TEXT",
588
- "label": {
589
- "value": "\"Saisir les premières lettres du pays puis sélectionner le pays de naissance\"",
590
- "type": "VTL|MD"
591
- }
592
- }
593
- ],
594
- "conditionFilter": {
595
- "value": "(LNAIS = \"2\")",
596
- "type": "VTL",
597
- "bindingDependencies": ["LNAIS"]
598
- },
599
- "hierarchy": {
600
- "sequence": {
601
- "id": "kfxmfvwj",
602
- "page": "1",
603
- "label": {
604
- "value": "Tableau des habitants du logement",
605
- "type": "VTL|MD"
606
- }
607
- },
608
- "subSequence": {
609
- "id": "l0v3oeqn",
610
- "page": "4.1",
611
- "label": {
612
- "value": "Description des habitants du logement",
613
- "type": "VTL|MD"
614
- }
615
- }
616
- },
617
- "bindingDependencies": [
618
- "PRENOM",
619
- "PRENOMREF",
620
- "LIB_E",
621
- "PAYSNAIS",
622
- "G_PRENOM"
623
- ],
624
- "options": [
625
- {
626
- "value": "1",
627
- "label": {
628
- "value": "Recherche sur liste des pays",
629
- "type": "VTL|MD"
630
- }
631
- }
632
- ],
633
- "response": { "name": "PAYSNAIS" }
634
- },
635
-
636
- {
637
- "id": "l120zrhs",
638
- "componentType": "CheckboxGroup",
639
- "page": "4.8",
640
- "label": {
641
- "value": "\"➡ 9. \" || \"Quelle est \" || if (PRENOM = PRENOMREF) then \"votre nationalité ?\" else \"la nationalité de \" || PRENOM || \" ?\"",
642
- "type": "VTL|MD"
643
- },
644
- "declarations": [
645
- {
646
- "id": "l120zrhs-l121egbq",
647
- "declarationType": "HELP",
648
- "position": "AFTER_QUESTION_TEXT",
649
- "label": {
650
- "value": "Plusieurs réponses possibles",
651
- "type": "VTL|MD"
652
- }
653
- }
654
- ],
655
- "conditionFilter": { "value": "true", "type": "VTL" },
656
- "hierarchy": {
657
- "sequence": {
658
- "id": "kfxmfvwj",
659
- "page": "1",
660
- "label": {
661
- "value": "Tableau des habitants du logement",
662
- "type": "VTL|MD"
663
- }
664
- },
665
- "subSequence": {
666
- "id": "l0v3oeqn",
667
- "page": "4.1",
668
- "label": {
669
- "value": "Description des habitants du logement",
670
- "type": "VTL|MD"
671
- }
672
- }
673
- },
674
- "bindingDependencies": [
675
- "PRENOM",
676
- "PRENOMREF",
677
- "NATION1",
678
- "NATION2",
679
- "NATION3",
680
- "NATION4",
681
- "G_PRENOM"
682
- ],
683
- "responses": [
684
- {
685
- "id": "l120zrhs-QOP-l12109x8",
686
- "label": {
687
- "value": "Française de naissance ou par intégration",
688
- "type": "VTL|MD"
689
- },
690
- "response": { "name": "NATION1" }
691
- },
692
-
693
- {
694
- "id": "l120zrhs-QOP-l1216ug0",
695
- "label": {
696
- "value": "Française par déclaration, naturalisation, option à votre majorité",
697
- "type": "VTL|MD"
698
- },
699
- "response": { "name": "NATION2" }
700
- },
701
-
702
- {
703
- "id": "l120zrhs-QOP-l121i9v7",
704
- "label": { "value": "Etrangère", "type": "VTL|MD" },
705
- "response": { "name": "NATION3" }
706
- },
707
-
708
- {
709
- "id": "l120zrhs-QOP-l1217hj1",
710
- "label": {
711
- "value": "Apatride (pas de nationalité)",
712
- "type": "VTL|MD"
713
- },
714
- "response": { "name": "NATION4" }
715
- }
716
- ]
717
- },
718
-
719
- {
720
- "id": "l121ftlg",
721
- "componentType": "Dropdown",
722
- "isMandatory": false,
723
- "page": "4.9",
724
- "label": {
725
- "value": "\"➡ 10. \" || \"Quelle est \" || if (PRENOM = PRENOMREF) then \"votre nationalité étrangère ?\" else \"la nationalité étrangère de \" || PRENOM || \" ?\"",
726
- "type": "VTL|MD"
727
- },
728
- "declarations": [
729
- {
730
- "id": "l121ftlg-l121hdzg",
731
- "declarationType": "HELP",
732
- "position": "AFTER_QUESTION_TEXT",
733
- "label": {
734
- "value": "Entrez les premières lettres de la nationalité, et sélectionnez dans la liste la nationalité étrangère correspondante.",
735
- "type": "VTL|MD"
736
- }
737
- }
738
- ],
739
- "conditionFilter": {
740
- "value": "(NATION3 = true)",
741
- "type": "VTL",
742
- "bindingDependencies": ["NATION3"]
743
- },
744
- "hierarchy": {
745
- "sequence": {
746
- "id": "kfxmfvwj",
747
- "page": "1",
748
- "label": {
749
- "value": "Tableau des habitants du logement",
750
- "type": "VTL|MD"
751
- }
752
- },
753
- "subSequence": {
754
- "id": "l0v3oeqn",
755
- "page": "4.1",
756
- "label": {
757
- "value": "Description des habitants du logement",
758
- "type": "VTL|MD"
759
- }
760
- }
761
- },
762
- "bindingDependencies": [
763
- "PRENOM",
764
- "PRENOMREF",
765
- "NATIONETR",
766
- "G_PRENOM"
767
- ],
768
- "options": [
769
- {
770
- "value": "1",
771
- "label": {
772
- "value": "Recherche dans la liste des nationalités étrangères",
773
- "type": "VTL|MD"
774
- }
775
- }
776
- ],
777
- "response": { "name": "NATIONETR" }
778
- },
779
-
780
- {
781
- "id": "l126uoh0",
782
- "componentType": "Subsequence",
783
- "page": "4.10",
784
- "goToPage": "4.10",
785
- "label": {
786
- "value": "Vécu à l’étranger en dehors du temps de l’enquête",
787
- "type": "VTL|MD"
788
- },
789
- "declarations": [
790
- {
791
- "id": "l126uoh0-l1279j1h",
792
- "declarationType": "HELP",
793
- "position": "AFTER_QUESTION_TEXT",
794
- "label": {
795
- "value": "Questions optionnelles sur le vécu à l’étranger en dehors du champ de l’enquête.",
796
- "type": "VTL|MD"
797
- }
798
- }
799
- ],
800
- "conditionFilter": { "value": "true", "type": "VTL" },
801
- "hierarchy": {
802
- "sequence": {
803
- "id": "kfxmfvwj",
804
- "page": "1",
805
- "label": {
806
- "value": "Tableau des habitants du logement",
807
- "type": "VTL|MD"
808
- }
809
- },
810
- "subSequence": {
811
- "id": "l126uoh0",
812
- "page": "4.10",
813
- "label": {
814
- "value": "Vécu à l’étranger en dehors du temps de l’enquête",
815
- "type": "VTL|MD"
816
- }
817
- }
818
- },
819
- "bindingDependencies": ["G_PRENOM"]
820
- },
821
-
822
- {
823
- "id": "l1265ml0",
824
- "componentType": "Radio",
825
- "isMandatory": false,
826
- "page": "4.11",
827
- "label": {
828
- "value": "\"➡ 11. \" || (if (PRENOM = PRENOMREF) then \"Depuis votre naissance, avez-vous\" else \"Depuis sa naissance, \" || PRENOM || \" a-t-\" || LIB_PR ) || \" vécu au moins un an sans interruption à l’étranger ?\"",
829
- "type": "VTL|MD"
830
- },
831
- "conditionFilter": {
832
- "value": "(LNAIS = \"1\")",
833
- "type": "VTL",
834
- "bindingDependencies": ["LNAIS"]
835
- },
836
- "hierarchy": {
837
- "sequence": {
838
- "id": "kfxmfvwj",
839
- "page": "1",
840
- "label": {
841
- "value": "Tableau des habitants du logement",
842
- "type": "VTL|MD"
843
- }
844
- },
845
- "subSequence": {
846
- "id": "l126uoh0",
847
- "page": "4.10",
848
- "label": {
849
- "value": "Vécu à l’étranger en dehors du temps de l’enquête",
850
- "type": "VTL|MD"
851
- }
852
- }
853
- },
854
- "bindingDependencies": [
855
- "PRENOM",
856
- "PRENOMREF",
857
- "LIB_PR",
858
- "VECUE",
859
- "G_PRENOM"
860
- ],
861
- "options": [
862
- { "value": "1", "label": { "value": "Oui", "type": "VTL|MD" } },
863
-
864
- { "value": "2", "label": { "value": "Non", "type": "VTL|MD" } }
865
- ],
866
- "response": { "name": "VECUE" }
867
- },
868
-
869
- {
870
- "id": "l12b8hbj",
871
- "componentType": "Datepicker",
872
- "isMandatory": false,
873
- "page": "4.12",
874
- "min": "1900-01",
875
- "max": "2022-03",
876
- "label": {
877
- "value": "\"➡ 12. \" || \"Pouvez-vous indiquer la date de départ à l’étranger, au début de cette période à l’étranger ?\"",
878
- "type": "VTL|MD"
879
- },
880
- "declarations": [
881
- {
882
- "id": "l12b8hbj-l12b4ifa",
883
- "declarationType": "HELP",
884
- "position": "AFTER_QUESTION_TEXT",
885
- "label": {
886
- "value": "\"Indiquez le mois et l’année du départ\"",
887
- "type": "VTL|MD"
888
- }
889
- }
890
- ],
891
- "conditionFilter": {
892
- "value": "(VECUE = \"1\")",
893
- "type": "VTL",
894
- "bindingDependencies": ["VECUE"]
895
- },
896
- "controls": [
897
- {
898
- "id": "l12b8hbj-CI-0",
899
- "criticality": "WARN",
900
- "control": {
901
- "value": "not(cast(DATEDEPART,integer) < cast(DATENAIS, integer))",
902
- "type": "VTL"
903
- },
904
- "errorMessage": {
905
- "value": "La date de naissance est inférieure à la date de départ à l’étranger",
906
- "type": "VTL|MD"
907
- },
908
- "bindingDependencies": ["DATEDEPART", "DATENAIS"]
909
- }
910
- ],
911
- "hierarchy": {
912
- "sequence": {
913
- "id": "kfxmfvwj",
914
- "page": "1",
915
- "label": {
916
- "value": "Tableau des habitants du logement",
917
- "type": "VTL|MD"
918
- }
919
- },
920
- "subSequence": {
921
- "id": "l126uoh0",
922
- "page": "4.10",
923
- "label": {
924
- "value": "Vécu à l’étranger en dehors du temps de l’enquête",
925
- "type": "VTL|MD"
926
- }
927
- }
928
- },
929
- "bindingDependencies": ["DATEDEPART", "G_PRENOM"],
930
- "dateFormat": "YYYY-MM",
931
- "response": { "name": "DATEDEPART" }
932
- },
933
-
934
- {
935
- "id": "l126og4z",
936
- "componentType": "Datepicker",
937
- "isMandatory": false,
938
- "page": "4.13",
939
- "min": "1900-01",
940
- "max": "2022-03",
941
- "label": {
942
- "value": "\"➡ 13. \" || \"Pouvez-vous indiquer la date du retour en France, à l’issue de cette période à l’étranger ?\"",
943
- "type": "VTL|MD"
944
- },
945
- "declarations": [
946
- {
947
- "id": "l126og4z-l126o0z8",
948
- "declarationType": "HELP",
949
- "position": "AFTER_QUESTION_TEXT",
950
- "label": {
951
- "value": "\"Indiquez le mois et l’année du retour\"",
952
- "type": "VTL|MD"
953
- }
954
- }
955
- ],
956
- "conditionFilter": {
957
- "value": "(VECUE = \"1\")",
958
- "type": "VTL",
959
- "bindingDependencies": ["VECUE"]
960
- },
961
- "controls": [
962
- {
963
- "id": "l126og4z-CI-0",
964
- "criticality": "WARN",
965
- "control": {
966
- "value": "not(cast(DATERETOUR,integer) < cast(DATEDEPART, integer))",
967
- "type": "VTL"
968
- },
969
- "errorMessage": {
970
- "value": "\"La date de retour est antérieure à la date de départ\"",
971
- "type": "VTL|MD"
972
- },
973
- "bindingDependencies": ["DATERETOUR", "DATEDEPART"]
974
- }
975
- ],
976
- "hierarchy": {
977
- "sequence": {
978
- "id": "kfxmfvwj",
979
- "page": "1",
980
- "label": {
981
- "value": "Tableau des habitants du logement",
982
- "type": "VTL|MD"
983
- }
984
- },
985
- "subSequence": {
986
- "id": "l126uoh0",
987
- "page": "4.10",
988
- "label": {
989
- "value": "Vécu à l’étranger en dehors du temps de l’enquête",
990
- "type": "VTL|MD"
991
- }
992
- }
993
- },
994
- "bindingDependencies": ["DATERETOUR", "G_PRENOM"],
995
- "dateFormat": "YYYY-MM",
996
- "response": { "name": "DATERETOUR" }
997
- },
998
-
999
- {
1000
- "id": "l1uxyne3",
1001
- "componentType": "InputNumber",
1002
- "isMandatory": false,
1003
- "page": "4.14",
1004
- "min": 0,
1005
- "max": 120,
1006
- "decimals": 0,
1007
- "label": {
1008
- "value": "\"➡ 14. \" || \"Vous n’avez pas indiqué de date de retour, quel âge \" || (if (PRENOM = PRENOMREF) then \"aviez-vous à \" else PRENOM || \" avait-\" ||LIB_PR) || \" à \" ||LIB_SON || \" retour de cette période à l’étranger ?\"",
1009
- "type": "VTL|MD"
1010
- },
1011
- "conditionFilter": {
1012
- "value": "(VECUE = \"1\") and (isnull(DATERETOUR))",
1013
- "type": "VTL",
1014
- "bindingDependencies": ["VECUE", "DATERETOUR"]
1015
- },
1016
- "hierarchy": {
1017
- "sequence": {
1018
- "id": "kfxmfvwj",
1019
- "page": "1",
1020
- "label": {
1021
- "value": "Tableau des habitants du logement",
1022
- "type": "VTL|MD"
1023
- }
1024
- },
1025
- "subSequence": {
1026
- "id": "l126uoh0",
1027
- "page": "4.10",
1028
- "label": {
1029
- "value": "Vécu à l’étranger en dehors du temps de l’enquête",
1030
- "type": "VTL|MD"
1031
- }
1032
- }
1033
- },
1034
- "bindingDependencies": [
1035
- "PRENOM",
1036
- "PRENOMREF",
1037
- "LIB_PR",
1038
- "LIB_SON",
1039
- "AGRETOUR",
1040
- "G_PRENOM"
1041
- ],
1042
- "response": { "name": "AGRETOUR" }
1043
- },
1044
-
1045
- {
1046
- "id": "l127ghn9",
1047
- "componentType": "Datepicker",
1048
- "isMandatory": false,
1049
- "page": "4.15",
1050
- "min": "1900",
1051
- "max": "2022",
1052
- "label": {
1053
- "value": "\"➡ 15. \" || \"En quelle année \" || (if (PRENOM = PRENOMREF) then \"vous êtes-vous installé\" || LIB_E else PRENOM || \" s’est-\" || LIB_PR || \" installé\" || LIB_E) || \" en France ?\"",
1054
- "type": "VTL|MD"
1055
- },
1056
- "declarations": [
1057
- {
1058
- "id": "l127ghn9-l1271ndw",
1059
- "declarationType": "HELP",
1060
- "position": "AFTER_QUESTION_TEXT",
1061
- "label": {
1062
- "value": "En cas de plusieurs installations en France, indiquer la plus récente",
1063
- "type": "VTL|MD"
1064
- }
1065
- }
1066
- ],
1067
- "conditionFilter": {
1068
- "value": "(LNAIS = \"2\")",
1069
- "type": "VTL",
1070
- "bindingDependencies": ["LNAIS"]
1071
- },
1072
- "controls": [
1073
- {
1074
- "id": "l127ghn9-CI-0",
1075
- "criticality": "WARN",
1076
- "control": {
1077
- "value": "not(substr(cast(ANNARIV,string,\"YYYY-MM-DD\"),1,4) < cast(ANNAIS, integer))",
1078
- "type": "VTL"
1079
- },
1080
- "errorMessage": {
1081
- "value": "L’année d’arrivée en France est antérieure à l’année de naissance",
1082
- "type": "VTL|MD"
1083
- },
1084
- "bindingDependencies": ["ANNARIV", "ANNAIS"]
1085
- }
1086
- ],
1087
- "hierarchy": {
1088
- "sequence": {
1089
- "id": "kfxmfvwj",
1090
- "page": "1",
1091
- "label": {
1092
- "value": "Tableau des habitants du logement",
1093
- "type": "VTL|MD"
1094
- }
1095
- },
1096
- "subSequence": {
1097
- "id": "l126uoh0",
1098
- "page": "4.10",
1099
- "label": {
1100
- "value": "Vécu à l’étranger en dehors du temps de l’enquête",
1101
- "type": "VTL|MD"
1102
- }
1103
- }
1104
- },
1105
- "bindingDependencies": [
1106
- "PRENOM",
1107
- "PRENOMREF",
1108
- "LIB_E",
1109
- "LIB_PR",
1110
- "ANNARIV",
1111
- "G_PRENOM"
1112
- ],
1113
- "dateFormat": "YYYY",
1114
- "response": { "name": "ANNARIV" }
1115
- },
1116
-
1117
- {
1118
- "id": "l1283pqp",
1119
- "componentType": "InputNumber",
1120
- "isMandatory": false,
1121
- "page": "4.16",
1122
- "min": 0,
1123
- "max": 120,
1124
- "decimals": 0,
1125
- "label": {
1126
- "value": "\"➡ 16. \" || \"A quel âge \" || ( if (PRENOM = PRENOMREF) then \"vous êtes-vous installé\" || LIB_E else PRENOM || \" s’est-\" || LIB_PR || \" installé\" || LIB_E ) || \" en France ?\"",
1127
- "type": "VTL|MD"
1128
- },
1129
- "conditionFilter": {
1130
- "value": "(LNAIS = \"2\") and (isnull(ANNARIV))",
1131
- "type": "VTL",
1132
- "bindingDependencies": ["LNAIS", "ANNARIV"]
1133
- },
1134
- "hierarchy": {
1135
- "sequence": {
1136
- "id": "kfxmfvwj",
1137
- "page": "1",
1138
- "label": {
1139
- "value": "Tableau des habitants du logement",
1140
- "type": "VTL|MD"
1141
- }
1142
- },
1143
- "subSequence": {
1144
- "id": "l126uoh0",
1145
- "page": "4.10",
1146
- "label": {
1147
- "value": "Vécu à l’étranger en dehors du temps de l’enquête",
1148
- "type": "VTL|MD"
1149
- }
1150
- }
1151
- },
1152
- "bindingDependencies": [
1153
- "PRENOM",
1154
- "PRENOMREF",
1155
- "LIB_E",
1156
- "LIB_PR",
1157
- "AGARRIV",
1158
- "G_PRENOM"
1159
- ],
1160
- "response": { "name": "AGARRIV" }
1161
- }
1162
- ],
1163
- "iterations": { "value": "count(G_PRENOM)", "type": "VTL" }
1164
- },
1165
-
1166
- {
1167
- "id": "l13ntyek",
1168
- "componentType": "Loop",
1169
- "page": "5",
1170
- "maxPage": "11",
1171
- "depth": 1,
1172
- "paginatedLoop": true,
1173
- "conditionFilter": { "value": "true", "type": "VTL" },
1174
- "hierarchy": {
1175
- "sequence": {
1176
- "id": "kfxmfvwj",
1177
- "page": "1",
1178
- "label": {
1179
- "value": "Tableau des habitants du logement",
1180
- "type": "VTL|MD"
1181
- }
1182
- }
1183
- },
1184
- "bindingDependencies": [
1185
- "PRENOM",
1186
- "PRENOMREF",
1187
- "ADR",
1188
- "LIB_PR",
1189
- "LIB_SES",
1190
- "LIB_SA",
1191
- "LIB_SON",
1192
- "MAJLOGENQ",
1193
- "UNLOG",
1194
- "DURLOG",
1195
- "MINLOGENQ1",
1196
- "MINLOGENQ2",
1197
- "MINLOGENQ3",
1198
- "MINLOGENQ4",
1199
- "MINLOGENQ5",
1200
- "MINLOGAUT",
1201
- "GARDE",
1202
- "DORM",
1203
- "MAJLOGAUT",
1204
- "LOGCO",
1205
- "TYPLOGCO"
1206
- ],
1207
- "loopDependencies": ["G_PRENOM"],
1208
- "components": [
1209
- {
1210
- "id": "l13np0wv",
1211
- "componentType": "Subsequence",
1212
- "page": "5.1",
1213
- "goToPage": "5.1",
1214
- "label": { "value": "Lieux de vie", "type": "VTL|MD" },
1215
- "declarations": [
1216
- {
1217
- "id": "l13np0wv-l13nsvaw",
1218
- "declarationType": "HELP",
1219
- "position": "AFTER_QUESTION_TEXT",
1220
- "label": {
1221
- "value": "\"Nous allons maintenant poser quelques questions concernant \" || (if (PRENOM = PRENOMREF) then \"vos autres logements, \" ||PRENOM else \"les autres logements de \" || PRENOM ) || \" (en dehors de celui situé à l’adresse) \" || ADR || \".\"",
1222
- "type": "VTL|MD"
1223
- }
1224
- }
1225
- ],
1226
- "conditionFilter": { "value": "true", "type": "VTL" },
1227
- "hierarchy": {
1228
- "sequence": {
1229
- "id": "kfxmfvwj",
1230
- "page": "1",
1231
- "label": {
1232
- "value": "Tableau des habitants du logement",
1233
- "type": "VTL|MD"
1234
- }
1235
- },
1236
- "subSequence": {
1237
- "id": "l13np0wv",
1238
- "page": "5.1",
1239
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1240
- }
1241
- },
1242
- "bindingDependencies": ["PRENOM", "PRENOMREF", "ADR", "G_PRENOM"]
1243
- },
1244
-
1245
- {
1246
- "id": "l13nj6s2",
1247
- "componentType": "Radio",
1248
- "isMandatory": false,
1249
- "page": "5.2",
1250
- "label": {
1251
- "value": "\"➡ 17. \" || (if (PRENOM = PRENOMREF) then \"Vivez-vous\" else PRENOM || \" vit-\" || LIB_PR ) || \" aussi dans un autre logement ?\"",
1252
- "type": "VTL|MD"
1253
- },
1254
- "declarations": [
1255
- {
1256
- "id": "l13nj6s2-l13ouetk",
1257
- "declarationType": "HELP",
1258
- "position": "AFTER_QUESTION_TEXT",
1259
- "label": {
1260
- "value": "(if (PRENOM=PRENOMREF) then \"Si vous êtes \" else \"Si \" || PRENOM || \" est un enfant \") || \"en résidence alternée, répondre Oui.\"",
1261
- "type": "VTL|MD"
1262
- }
1263
- },
1264
-
1265
- {
1266
- "id": "l13nj6s2-l13o92e6",
1267
- "declarationType": "HELP",
1268
- "position": "AFTER_QUESTION_TEXT",
1269
- "label": {
1270
- "value": "(if(PRENOM=PRENOMREF) then \"Vous vivez \" else PRENOM || \" vit \") || \"dans un autre logement (résidence secondaire, internat, foyer, caserne, maison de retraite ...) \" || (if(PRENOM=PRENOMREF) then \"si vous disposez d’un autre endroit où vous êtes chez vous : vous pouvez y aller sans prévenir, un lit vous est réservé, vous pouvez y recevoir du courrier ...\" else \"si \" ||LIB_PR || \" dispose d’un autre endroit où \" ||LIB_PR ||\" est chez \" ||LIB_PR || \" : \" ||LIB_PR || \" peut y aller sans prévenir, un lit lui est réservé, \" ||LIB_PR || \" peut y recevoir du courrier ...\")",
1271
- "type": "VTL|MD"
1272
- }
1273
- }
1274
- ],
1275
- "conditionFilter": { "value": "true", "type": "VTL" },
1276
- "hierarchy": {
1277
- "sequence": {
1278
- "id": "kfxmfvwj",
1279
- "page": "1",
1280
- "label": {
1281
- "value": "Tableau des habitants du logement",
1282
- "type": "VTL|MD"
1283
- }
1284
- },
1285
- "subSequence": {
1286
- "id": "l13np0wv",
1287
- "page": "5.1",
1288
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1289
- }
1290
- },
1291
- "bindingDependencies": [
1292
- "PRENOM",
1293
- "PRENOMREF",
1294
- "LIB_PR",
1295
- "UNLOG",
1296
- "G_PRENOM"
1297
- ],
1298
- "options": [
1299
- { "value": "1", "label": { "value": "Oui", "type": "VTL|MD" } },
1300
-
1301
- { "value": "2", "label": { "value": "Non", "type": "VTL|MD" } }
1302
- ],
1303
- "response": { "name": "UNLOG" }
1304
- },
1305
-
1306
- {
1307
- "id": "l13nyqwe",
1308
- "componentType": "Radio",
1309
- "isMandatory": false,
1310
- "page": "5.3",
1311
- "label": {
1312
- "value": "\"➡ 18. \" || \"Combien de temps \" || if (PRENOM = PRENOMREF) then \"vivez vous dans le logement situé à l’adresse \" || ADR || \" ?\" else PRENOM || \" vit-\" || LIB_PR || \" dans le logement situé à l’adresse \" || ADR || \" ?\"",
1313
- "type": "VTL|MD"
1314
- },
1315
- "conditionFilter": {
1316
- "value": "(UNLOG = \"1\")",
1317
- "type": "VTL",
1318
- "bindingDependencies": ["UNLOG"]
1319
- },
1320
- "hierarchy": {
1321
- "sequence": {
1322
- "id": "kfxmfvwj",
1323
- "page": "1",
1324
- "label": {
1325
- "value": "Tableau des habitants du logement",
1326
- "type": "VTL|MD"
1327
- }
1328
- },
1329
- "subSequence": {
1330
- "id": "l13np0wv",
1331
- "page": "5.1",
1332
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1333
- }
1334
- },
1335
- "bindingDependencies": [
1336
- "PRENOM",
1337
- "PRENOMREF",
1338
- "ADR",
1339
- "LIB_PR",
1340
- "DURLOG",
1341
- "G_PRENOM"
1342
- ],
1343
- "options": [
1344
- {
1345
- "value": "1",
1346
- "label": {
1347
- "value": "Plus de la moitié du temps",
1348
- "type": "VTL|MD"
1349
- }
1350
- },
1351
-
1352
- {
1353
- "value": "2",
1354
- "label": { "value": "La moitié du temps", "type": "VTL|MD" }
1355
- },
1356
-
1357
- {
1358
- "value": "3",
1359
- "label": {
1360
- "value": "Moins de la moitié du temps",
1361
- "type": "VTL|MD"
1362
- }
1363
- }
1364
- ],
1365
- "response": { "name": "DURLOG" }
1366
- },
1367
-
1368
- {
1369
- "id": "l13ok7fx",
1370
- "componentType": "CheckboxGroup",
1371
- "page": "5.4",
1372
- "label": {
1373
- "value": "\"➡ 19. \" || \"Pour quelles raisons \" || (if (PRENOM = PRENOMREF) then \"vivez-vous\" else PRENOM || \" vit-\" || LIB_PR ) || \" dans le logement situé à l’adresse \" ||ADR ||\" sans \" ||LIB_SES || \" parents ?\"",
1374
- "type": "VTL|MD"
1375
- },
1376
- "conditionFilter": {
1377
- "value": "(MINEUR = \"1\" and $NBPARL$ = \"0\")",
1378
- "type": "VTL",
1379
- "bindingDependencies": ["MINEUR", "TRAGE6", "DATENAIS", "TRAGE"]
1380
- },
1381
- "hierarchy": {
1382
- "sequence": {
1383
- "id": "kfxmfvwj",
1384
- "page": "1",
1385
- "label": {
1386
- "value": "Tableau des habitants du logement",
1387
- "type": "VTL|MD"
1388
- }
1389
- },
1390
- "subSequence": {
1391
- "id": "l13np0wv",
1392
- "page": "5.1",
1393
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1394
- }
1395
- },
1396
- "bindingDependencies": [
1397
- "PRENOM",
1398
- "PRENOMREF",
1399
- "LIB_PR",
1400
- "ADR",
1401
- "LIB_SES",
1402
- "LIB_SA",
1403
- "LIB_SON",
1404
- "MINLOGENQ1",
1405
- "MINLOGENQ2",
1406
- "MINLOGENQ3",
1407
- "MINLOGENQ4",
1408
- "MINLOGENQ5",
1409
- "G_PRENOM"
1410
- ],
1411
- "responses": [
1412
- {
1413
- "id": "l13ok7fx-QOP-l13p1gvt",
1414
- "label": {
1415
- "value": "\"Pour suivre \" ||LIB_SA|| \" scolarité ou \" ||LIB_SES|| \" études.\"",
1416
- "type": "VTL|MD"
1417
- },
1418
- "response": { "name": "MINLOGENQ1" }
1419
- },
1420
-
1421
- {
1422
- "id": "l13ok7fx-QOP-l13pbmo5",
1423
- "label": {
1424
- "value": "Pour des raisons de santé ou de handicap",
1425
- "type": "VTL|MD"
1426
- },
1427
- "response": { "name": "MINLOGENQ2" }
1428
- },
1429
-
1430
- {
1431
- "id": "l13ok7fx-QOP-l13oz5s4",
1432
- "label": {
1433
- "value": "\"Pour \" ||LIB_SON|| \" travail ou une formation professionnelle\"",
1434
- "type": "VTL|MD"
1435
- },
1436
- "response": { "name": "MINLOGENQ3" }
1437
- },
1438
-
1439
- {
1440
- "id": "l13ok7fx-QOP-l13pcs6r",
1441
- "label": {
1442
- "value": "Suite à une décision de l’aide sociale à l’enfance ou du juge des enfants",
1443
- "type": "VTL|MD"
1444
- },
1445
- "response": { "name": "MINLOGENQ4" }
1446
- },
1447
-
1448
- {
1449
- "id": "l13ok7fx-QOP-l13p5fws",
1450
- "label": { "value": "Pour une autre raison", "type": "VTL|MD" },
1451
- "response": { "name": "MINLOGENQ5" }
1452
- }
1453
- ]
1454
- },
1455
-
1456
- {
1457
- "id": "l13on6tn",
1458
- "componentType": "Radio",
1459
- "isMandatory": false,
1460
- "page": "5.5",
1461
- "label": {
1462
- "value": "\"➡ 20. \" || if (PRENOM = PRENOMREF) then \"L’autre logement dans lequel vous vivez est-il ... ?\" else \"Pour \" || PRENOM || \", l’autre logement dans lequel \" || LIB_PR || \" vit, est-il ... ?\"",
1463
- "type": "VTL|MD"
1464
- },
1465
- "declarations": [
1466
- {
1467
- "id": "l13on6tn-l13p60fc",
1468
- "declarationType": "HELP",
1469
- "position": "AFTER_QUESTION_TEXT",
1470
- "label": {
1471
- "value": "if(PRENOM=PRENOMREF) then \"Si vous vivez dans plusieurs autres logements, décrivez l’autre logement dans lequel vous passez le plus de temps.\" else \"Si \" || PRENOM || \" vit dans plusieurs autres logements, décrire l’autre logement dans lequel \" ||LIB_PR || \" passe le plus de temps.\"",
1472
- "type": "VTL|MD"
1473
- }
1474
- }
1475
- ],
1476
- "conditionFilter": {
1477
- "value": "(MINEUR = \"1\" and UNLOG = \"1\")",
1478
- "type": "VTL",
1479
- "bindingDependencies": [
1480
- "MINEUR",
1481
- "TRAGE6",
1482
- "DATENAIS",
1483
- "TRAGE",
1484
- "UNLOG"
1485
- ]
1486
- },
1487
- "hierarchy": {
1488
- "sequence": {
1489
- "id": "kfxmfvwj",
1490
- "page": "1",
1491
- "label": {
1492
- "value": "Tableau des habitants du logement",
1493
- "type": "VTL|MD"
1494
- }
1495
- },
1496
- "subSequence": {
1497
- "id": "l13np0wv",
1498
- "page": "5.1",
1499
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1500
- }
1501
- },
1502
- "bindingDependencies": [
1503
- "PRENOM",
1504
- "PRENOMREF",
1505
- "LIB_PR",
1506
- "LIB_SON",
1507
- "LIB_SES",
1508
- "MINLOGAUT",
1509
- "G_PRENOM"
1510
- ],
1511
- "options": [
1512
- {
1513
- "value": "1",
1514
- "label": {
1515
- "value": "\"Le logement de \" ||LIB_SON|| \" ou de \" ||LIB_SES|| \" parent(s)\"",
1516
- "type": "VTL|MD"
1517
- }
1518
- },
1519
-
1520
- {
1521
- "value": "2",
1522
- "label": {
1523
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour \" ||LIB_SES|| \" études.\"",
1524
- "type": "VTL|MD"
1525
- }
1526
- },
1527
-
1528
- {
1529
- "value": "3",
1530
- "label": {
1531
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour \" ||LIB_SON|| \" travail ou une formation professionnelle.\"",
1532
- "type": "VTL|MD"
1533
- }
1534
- },
1535
-
1536
- {
1537
- "value": "4",
1538
- "label": {
1539
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour des raissons de santé ou de handicap.\"",
1540
- "type": "VTL|MD"
1541
- }
1542
- },
1543
-
1544
- {
1545
- "value": "5",
1546
- "label": {
1547
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" suite à une décision de l’aide sociale à l’enfance ou du juge des enfants.\"",
1548
- "type": "VTL|MD"
1549
- }
1550
- },
1551
-
1552
- {
1553
- "value": "6",
1554
- "label": {
1555
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour une autre raison.\"",
1556
- "type": "VTL|MD"
1557
- }
1558
- }
1559
- ],
1560
- "response": { "name": "MINLOGAUT" }
1561
- },
1562
-
1563
- {
1564
- "id": "l13oux5e",
1565
- "componentType": "Radio",
1566
- "isMandatory": false,
1567
- "page": "5.6",
1568
- "label": {
1569
- "value": "\"➡ 21. \" || (if (PRENOM = PRENOMREF) then \"Etes-vous\" else PRENOM || \" est-\" ||LIB_PR ) || \" en résidence alternée entre ses deux parents ?\"",
1570
- "type": "VTL|MD"
1571
- },
1572
- "conditionFilter": {
1573
- "value": "(DURLOG = \"2\" and $NBPARL$ = \"1\" and MINLOGAUT = \"1\")",
1574
- "type": "VTL",
1575
- "bindingDependencies": ["DURLOG", "MINLOGAUT"]
1576
- },
1577
- "hierarchy": {
1578
- "sequence": {
1579
- "id": "kfxmfvwj",
1580
- "page": "1",
1581
- "label": {
1582
- "value": "Tableau des habitants du logement",
1583
- "type": "VTL|MD"
1584
- }
1585
- },
1586
- "subSequence": {
1587
- "id": "l13np0wv",
1588
- "page": "5.1",
1589
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1590
- }
1591
- },
1592
- "bindingDependencies": [
1593
- "PRENOM",
1594
- "PRENOMREF",
1595
- "LIB_PR",
1596
- "GARDE",
1597
- "G_PRENOM"
1598
- ],
1599
- "options": [
1600
- { "value": "1", "label": { "value": "Oui", "type": "VTL|MD" } },
1601
-
1602
- { "value": "2", "label": { "value": "Non", "type": "VTL|MD" } }
1603
- ],
1604
- "response": { "name": "GARDE" }
1605
- },
1606
-
1607
- {
1608
- "id": "l13pabqu",
1609
- "componentType": "Radio",
1610
- "isMandatory": false,
1611
- "page": "5.7",
1612
- "label": {
1613
- "value": "\"➡ 22. \" || (if (PRENOM = PRENOMREF) then \"Où avez-vous\" else \"Où \" || PRENOM || \" a-t-\" || LIB_PR ) || \" dormi la nuit derière ?\"",
1614
- "type": "VTL|MD"
1615
- },
1616
- "declarations": [
1617
- {
1618
- "id": "l13pabqu-l13pckb2",
1619
- "declarationType": "HELP",
1620
- "position": "AFTER_QUESTION_TEXT",
1621
- "label": {
1622
- "value": "\"Si \" || PRENOM || \" a dormi chez un(e) ami(e), indiquez le logement où il devait normalement dormir.\"",
1623
- "type": "VTL|MD"
1624
- }
1625
- }
1626
- ],
1627
- "conditionFilter": {
1628
- "value": "(GARDE = \"1\")",
1629
- "type": "VTL",
1630
- "bindingDependencies": ["GARDE"]
1631
- },
1632
- "hierarchy": {
1633
- "sequence": {
1634
- "id": "kfxmfvwj",
1635
- "page": "1",
1636
- "label": {
1637
- "value": "Tableau des habitants du logement",
1638
- "type": "VTL|MD"
1639
- }
1640
- },
1641
- "subSequence": {
1642
- "id": "l13np0wv",
1643
- "page": "5.1",
1644
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1645
- }
1646
- },
1647
- "bindingDependencies": [
1648
- "PRENOM",
1649
- "PRENOMREF",
1650
- "LIB_PR",
1651
- "ADR",
1652
- "LIB_SON",
1653
- "DORM",
1654
- "G_PRENOM"
1655
- ],
1656
- "options": [
1657
- {
1658
- "value": "1",
1659
- "label": {
1660
- "value": "\"Dans le logement situé à l’adresse \" || ADR || \".\"",
1661
- "type": "VTL|MD"
1662
- }
1663
- },
1664
-
1665
- {
1666
- "value": "2",
1667
- "label": {
1668
- "value": "\"Dans le logement de \" ||LIB_SON|| \" autre parent.\"",
1669
- "type": "VTL|MD"
1670
- }
1671
- }
1672
- ],
1673
- "response": { "name": "DORM" }
1674
- },
1675
-
1676
- {
1677
- "id": "l13pbxr1",
1678
- "componentType": "Radio",
1679
- "isMandatory": false,
1680
- "page": "5.8",
1681
- "label": {
1682
- "value": "\"➡ 23. \" || (if (PRENOM = PRENOMREF) then \"Pour vous\" else \"Pour \" || PRENOM ) || \", le logement situé à l’adresse \" || ADR || \" est-il ... ?\"",
1683
- "type": "VTL|MD"
1684
- },
1685
- "conditionFilter": {
1686
- "value": "(UNLOG = \"1\" and MINEUR = \"2\")",
1687
- "type": "VTL",
1688
- "bindingDependencies": [
1689
- "UNLOG",
1690
- "MINEUR",
1691
- "TRAGE6",
1692
- "DATENAIS",
1693
- "TRAGE"
1694
- ]
1695
- },
1696
- "hierarchy": {
1697
- "sequence": {
1698
- "id": "kfxmfvwj",
1699
- "page": "1",
1700
- "label": {
1701
- "value": "Tableau des habitants du logement",
1702
- "type": "VTL|MD"
1703
- }
1704
- },
1705
- "subSequence": {
1706
- "id": "l13np0wv",
1707
- "page": "5.1",
1708
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1709
- }
1710
- },
1711
- "bindingDependencies": [
1712
- "PRENOM",
1713
- "PRENOMREF",
1714
- "ADR",
1715
- "LIB_PR",
1716
- "LIB_SES",
1717
- "LIB_SON",
1718
- "MAJLOGENQ",
1719
- "G_PRENOM"
1720
- ],
1721
- "options": [
1722
- {
1723
- "value": "1",
1724
- "label": {
1725
- "value": "(if(PRENOM = PRENOMREF) then \"Votre \" else \"Sa \") || \"résidence principale\"",
1726
- "type": "VTL|MD"
1727
- }
1728
- },
1729
-
1730
- {
1731
- "value": "2",
1732
- "label": {
1733
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR || \" occupe\") || \" pour \" ||LIB_SES || \" études.\"",
1734
- "type": "VTL|MD"
1735
- }
1736
- },
1737
-
1738
- {
1739
- "value": "3",
1740
- "label": {
1741
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez \" else \"qu’\" || LIB_PR || \"occupe \") || \"pour \" ||LIB_SON|| \" travail ou une formation professionnelle.\"",
1742
- "type": "VTL|MD"
1743
- }
1744
- },
1745
-
1746
- {
1747
- "value": "4",
1748
- "label": {
1749
- "value": "\"Une résidence secondaire, un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez \" else \"qu’\" || LIB_PR || \"occupe \") || \"pour le week-end, les vacances ou pour \" ||LIB_SES|| \" loisirs.\"",
1750
- "type": "VTL|MD"
1751
- }
1752
- },
1753
-
1754
- {
1755
- "value": "5",
1756
- "label": {
1757
- "value": "\"Le logement d’un ou de \" ||LIB_SES|| \" parent(s).\"",
1758
- "type": "VTL|MD"
1759
- }
1760
- },
1761
-
1762
- {
1763
- "value": "6",
1764
- "label": {
1765
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez \" else \"qu’\" || LIB_PR || \" occupe \") || \"pour une autre raison.\"",
1766
- "type": "VTL|MD"
1767
- }
1768
- }
1769
- ],
1770
- "response": { "name": "MAJLOGENQ" }
1771
- },
1772
-
1773
- {
1774
- "id": "l13pyw1k",
1775
- "componentType": "Radio",
1776
- "isMandatory": false,
1777
- "page": "5.9",
1778
- "label": {
1779
- "value": "\"➡ 24. \" || if (PRENOM = PRENOMREF) then \"L’autre logement dans lequel vous vivez est-il ... ?\" else \"Pour \" || PRENOM || \", l’autre logement dans lequel \" || LIB_PR || \" vit, est-il ... ?\"",
1780
- "type": "VTL|MD"
1781
- },
1782
- "declarations": [
1783
- {
1784
- "id": "l13pyw1k-l13q4e9k",
1785
- "declarationType": "HELP",
1786
- "position": "AFTER_QUESTION_TEXT",
1787
- "label": {
1788
- "value": "\"Si \" || PRENOM || \" vit dans plusieurs autres logements, décrivez l’autre logement dans lequel il passe le plus de temps.\"",
1789
- "type": "VTL|MD"
1790
- }
1791
- }
1792
- ],
1793
- "conditionFilter": {
1794
- "value": "(UNLOG = \"1\" and MINEUR = \"2\")",
1795
- "type": "VTL",
1796
- "bindingDependencies": [
1797
- "UNLOG",
1798
- "MINEUR",
1799
- "TRAGE6",
1800
- "DATENAIS",
1801
- "TRAGE"
1802
- ]
1803
- },
1804
- "hierarchy": {
1805
- "sequence": {
1806
- "id": "kfxmfvwj",
1807
- "page": "1",
1808
- "label": {
1809
- "value": "Tableau des habitants du logement",
1810
- "type": "VTL|MD"
1811
- }
1812
- },
1813
- "subSequence": {
1814
- "id": "l13np0wv",
1815
- "page": "5.1",
1816
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1817
- }
1818
- },
1819
- "bindingDependencies": [
1820
- "PRENOM",
1821
- "PRENOMREF",
1822
- "LIB_PR",
1823
- "MAJLOGENQ",
1824
- "LIB_SES",
1825
- "LIB_SON",
1826
- "MAJLOGAUT",
1827
- "G_PRENOM"
1828
- ],
1829
- "options": [
1830
- {
1831
- "value": "1",
1832
- "label": {
1833
- "value": "if cast(MAJLOGENQ,integer) <> 1 then ( if (PRENOM = PRENOMREF) then \"Votre résidence principale.\" else \"Sa résidence principale.\") else \"\"",
1834
- "type": "VTL|MD"
1835
- }
1836
- },
1837
-
1838
- {
1839
- "value": "2",
1840
- "label": {
1841
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour \" ||LIB_SES|| \" études.\"",
1842
- "type": "VTL|MD"
1843
- }
1844
- },
1845
-
1846
- {
1847
- "value": "3",
1848
- "label": {
1849
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour \" ||LIB_SON|| \" travail ou une formation professionnelle.\"",
1850
- "type": "VTL|MD"
1851
- }
1852
- },
1853
-
1854
- {
1855
- "value": "4",
1856
- "label": {
1857
- "value": "\"Une résidence secondaire, un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" le week-end, les vacances ou pour \" ||LIB_SES|| \" loisirs.\"",
1858
- "type": "VTL|MD"
1859
- }
1860
- },
1861
-
1862
- {
1863
- "value": "5",
1864
- "label": {
1865
- "value": "\"Le logement d’un ou de \" ||LIB_SES|| \" parent(s)\"",
1866
- "type": "VTL|MD"
1867
- }
1868
- },
1869
-
1870
- {
1871
- "value": "6",
1872
- "label": {
1873
- "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR || \" occupe\") || \" pour \" ||LIB_SON|| \" pour une autre raison.\"",
1874
- "type": "VTL|MD"
1875
- }
1876
- }
1877
- ],
1878
- "response": { "name": "MAJLOGAUT" }
1879
- },
1880
-
1881
- {
1882
- "id": "l13q9a24",
1883
- "componentType": "Radio",
1884
- "isMandatory": false,
1885
- "page": "5.10",
1886
- "label": {
1887
- "value": "\"➡ 25. \" || \"L’autre logement \" || (if (PRENOM = PRENOMREF) then \"dans lequel vous vivez\" else \"où vit \" || PRENOM ) || \" est-il une chambre dans une structure collective (internat, résidence étudiante, foyer de l’enfance, foyer de jeunes travailleurs) ?\"",
1888
- "type": "VTL|MD"
1889
- },
1890
- "conditionFilter": {
1891
- "value": "(MINLOGAUT =\"2\" or MINLOGAUT =\"3\" or MINLOGAUT =\"4\" or MINLOGAUT =\"5\" or MINLOGAUT =\"6\" or MAJLOGAUT=\"1\" or MAJLOGAUT=\"2\" or MAJLOGAUT=\"3\" or MAJLOGAUT=\"6\")",
1892
- "type": "VTL",
1893
- "bindingDependencies": ["MINLOGAUT", "MAJLOGAUT"]
1894
- },
1895
- "hierarchy": {
1896
- "sequence": {
1897
- "id": "kfxmfvwj",
1898
- "page": "1",
1899
- "label": {
1900
- "value": "Tableau des habitants du logement",
1901
- "type": "VTL|MD"
1902
- }
1903
- },
1904
- "subSequence": {
1905
- "id": "l13np0wv",
1906
- "page": "5.1",
1907
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1908
- }
1909
- },
1910
- "bindingDependencies": ["PRENOM", "PRENOMREF", "LOGCO", "G_PRENOM"],
1911
- "options": [
1912
- { "value": "1", "label": { "value": "Oui", "type": "VTL|MD" } },
1913
-
1914
- { "value": "2", "label": { "value": "Non", "type": "VTL|MD" } }
1915
- ],
1916
- "response": { "name": "LOGCO" }
1917
- },
1918
-
1919
- {
1920
- "id": "l13qc9n8",
1921
- "componentType": "Radio",
1922
- "isMandatory": false,
1923
- "page": "5.11",
1924
- "label": {
1925
- "value": "\"➡ 26. \" || \"De quelle structure s’agit-il ?\"",
1926
- "type": "VTL|MD"
1927
- },
1928
- "conditionFilter": {
1929
- "value": "(LOGCO = \"1\")",
1930
- "type": "VTL",
1931
- "bindingDependencies": ["LOGCO"]
1932
- },
1933
- "hierarchy": {
1934
- "sequence": {
1935
- "id": "kfxmfvwj",
1936
- "page": "1",
1937
- "label": {
1938
- "value": "Tableau des habitants du logement",
1939
- "type": "VTL|MD"
1940
- }
1941
- },
1942
- "subSequence": {
1943
- "id": "l13np0wv",
1944
- "page": "5.1",
1945
- "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1946
- }
1947
- },
1948
- "bindingDependencies": ["TYPLOGCO", "G_PRENOM"],
1949
- "options": [
1950
- {
1951
- "value": "1",
1952
- "label": {
1953
- "value": "\"Un internat, une résidence étudiante ou un foyer d’étudiants\"",
1954
- "type": "VTL|MD"
1955
- }
1956
- },
1957
-
1958
- {
1959
- "value": "2",
1960
- "label": {
1961
- "value": "\"Un établissement pour personnes âgées (maison de retraite, Ehpad)\"",
1962
- "type": "VTL|MD"
1963
- }
1964
- },
1965
-
1966
- {
1967
- "value": "3",
1968
- "label": {
1969
- "value": "\"Un foyer ou une résidence sociale (CADA, structure gérée par Adoma...), foyer de réinsertion ou foyer de travailleurs\"",
1970
- "type": "VTL|MD"
1971
- }
1972
- },
1973
-
1974
- {
1975
- "value": "4",
1976
- "label": {
1977
- "value": "\"Une structure d’aide sociale à l’enfance ou de protection judiciaire\"",
1978
- "type": "VTL|MD"
1979
- }
1980
- },
1981
-
1982
- {
1983
- "value": "5",
1984
- "label": {
1985
- "value": "\"Une structure pour personne nécessitant des soins médicaux (hôpital, maison de repos, centre de rééducation)\"",
1986
- "type": "VTL|MD"
1987
- }
1988
- },
1989
-
1990
- {
1991
- "value": "6",
1992
- "label": {
1993
- "value": "\"Une caserne, un camp militaire\"",
1994
- "type": "VTL|MD"
1995
- }
1996
- },
1997
-
1998
- {
1999
- "value": "7",
2000
- "label": {
2001
- "value": "\"Une autre structure (prison, communauté religieuse, hébergement d’urgence ...)\"",
2002
- "type": "VTL|MD"
2003
- }
2004
- }
2005
- ],
2006
- "response": { "name": "TYPLOGCO" }
2007
- }
2008
- ],
2009
- "iterations": { "value": "count(G_PRENOM)", "type": "VTL" }
2010
- }
2011
- ],
2012
- "variables": [
2013
- { "variableType": "EXTERNAL", "name": "ADR", "value": null },
2014
-
2015
- {
2016
- "variableType": "COLLECTED",
2017
- "name": "NHAB",
2018
- "values": {
2019
- "COLLECTED": null
2020
- }
2021
- },
2022
-
2023
- {
2024
- "variableType": "COLLECTED",
2025
- "name": "G_PRENOM",
2026
- "values": {
2027
- "COLLECTED": [null]
2028
- }
2029
- },
2030
-
2031
- {
2032
- "variableType": "COLLECTED",
2033
- "name": "SEXE",
2034
- "values": {
2035
- "COLLECTED": [null]
2036
- }
2037
- },
2038
-
2039
- {
2040
- "variableType": "COLLECTED",
2041
- "name": "DATENAIS",
2042
- "values": {
2043
- "COLLECTED": [null]
2044
- }
2045
- },
2046
-
2047
- {
2048
- "variableType": "COLLECTED",
2049
- "name": "TRAGE",
2050
- "values": {
2051
- "COLLECTED": [null]
2052
- }
2053
- },
2054
-
2055
- {
2056
- "variableType": "COLLECTED",
2057
- "name": "LNAIS",
2058
- "values": {
2059
- "COLLECTED": [null]
2060
- }
2061
- },
2062
-
2063
- {
2064
- "variableType": "COLLECTED",
2065
- "name": "DEPNAIS",
2066
- "values": {
2067
- "COLLECTED": [null]
2068
- }
2069
- },
2070
-
2071
- {
2072
- "variableType": "COLLECTED",
2073
- "name": "PAYSNAIS",
2074
- "values": {
2075
- "COLLECTED": [null]
2076
- }
2077
- },
2078
-
2079
- {
2080
- "variableType": "COLLECTED",
2081
- "name": "NATION1",
2082
- "values": {
2083
- "COLLECTED": [null]
2084
- }
2085
- },
2086
-
2087
- {
2088
- "variableType": "COLLECTED",
2089
- "name": "NATION2",
2090
- "values": {
2091
- "COLLECTED": [null]
2092
- }
2093
- },
2094
-
2095
- {
2096
- "variableType": "COLLECTED",
2097
- "name": "NATION3",
2098
- "values": {
2099
- "COLLECTED": [null]
2100
- }
2101
- },
2102
-
2103
- {
2104
- "variableType": "COLLECTED",
2105
- "name": "NATION4",
2106
- "values": {
2107
- "COLLECTED": [null]
2108
- }
2109
- },
2110
-
2111
- {
2112
- "variableType": "COLLECTED",
2113
- "name": "NATIONETR",
2114
- "values": {
2115
- "COLLECTED": [null]
2116
- }
2117
- },
2118
-
2119
- {
2120
- "variableType": "COLLECTED",
2121
- "name": "VECUE",
2122
- "values": {
2123
- "COLLECTED": [null]
2124
- }
2125
- },
2126
-
2127
- {
2128
- "variableType": "COLLECTED",
2129
- "name": "DATEDEPART",
2130
- "values": {
2131
- "COLLECTED": [null]
2132
- }
2133
- },
2134
-
2135
- {
2136
- "variableType": "COLLECTED",
2137
- "name": "DATERETOUR",
2138
- "values": {
2139
- "COLLECTED": [null]
2140
- }
2141
- },
2142
-
2143
- {
2144
- "variableType": "COLLECTED",
2145
- "name": "AGRETOUR",
2146
- "values": {
2147
- "COLLECTED": [null]
2148
- }
2149
- },
2150
-
2151
- {
2152
- "variableType": "COLLECTED",
2153
- "name": "ANNARIV",
2154
- "values": {
2155
- "COLLECTED": [null]
2156
- }
2157
- },
2158
-
2159
- {
2160
- "variableType": "COLLECTED",
2161
- "name": "AGARRIV",
2162
- "values": {
2163
- "COLLECTED": [null]
2164
- }
2165
- },
2166
-
2167
- {
2168
- "variableType": "COLLECTED",
2169
- "name": "UNLOG",
2170
- "values": {
2171
- "COLLECTED": [null]
2172
- }
2173
- },
2174
-
2175
- {
2176
- "variableType": "COLLECTED",
2177
- "name": "DURLOG",
2178
- "values": {
2179
- "COLLECTED": [null]
2180
- }
2181
- },
2182
-
2183
- {
2184
- "variableType": "COLLECTED",
2185
- "name": "MINLOGENQ1",
2186
- "values": {
2187
- "COLLECTED": [null]
2188
- }
2189
- },
2190
-
2191
- {
2192
- "variableType": "COLLECTED",
2193
- "name": "MINLOGENQ2",
2194
- "values": {
2195
- "COLLECTED": [null]
2196
- }
2197
- },
2198
-
2199
- {
2200
- "variableType": "COLLECTED",
2201
- "name": "MINLOGENQ3",
2202
- "values": {
2203
- "COLLECTED": [null]
2204
- }
2205
- },
2206
-
2207
- {
2208
- "variableType": "COLLECTED",
2209
- "name": "MINLOGENQ4",
2210
- "values": {
2211
- "COLLECTED": [null]
2212
- }
2213
- },
2214
-
2215
- {
2216
- "variableType": "COLLECTED",
2217
- "name": "MINLOGENQ5",
2218
- "values": {
2219
- "COLLECTED": [null]
2220
- }
2221
- },
2222
-
2223
- {
2224
- "variableType": "COLLECTED",
2225
- "name": "MINLOGAUT",
2226
- "values": {
2227
- "COLLECTED": [null]
2228
- }
2229
- },
2230
-
2231
- {
2232
- "variableType": "COLLECTED",
2233
- "name": "GARDE",
2234
- "values": {
2235
- "COLLECTED": [null]
2236
- }
2237
- },
2238
-
2239
- {
2240
- "variableType": "COLLECTED",
2241
- "name": "DORM",
2242
- "values": {
2243
- "COLLECTED": [null]
2244
- }
2245
- },
2246
-
2247
- {
2248
- "variableType": "COLLECTED",
2249
- "name": "MAJLOGENQ",
2250
- "values": {
2251
- "COLLECTED": [null]
2252
- }
2253
- },
2254
-
2255
- {
2256
- "variableType": "COLLECTED",
2257
- "name": "MAJLOGAUT",
2258
- "values": {
2259
- "COLLECTED": [null]
2260
- }
2261
- },
2262
-
2263
- {
2264
- "variableType": "COLLECTED",
2265
- "name": "LOGCO",
2266
- "values": {
2267
- "COLLECTED": [null]
2268
- }
2269
- },
2270
-
2271
- {
2272
- "variableType": "COLLECTED",
2273
- "name": "TYPLOGCO",
2274
- "values": {
2275
- "COLLECTED": [null]
2276
- }
2277
- },
2278
-
2279
- {
2280
- "variableType": "CALCULATED",
2281
- "name": "FILTER_RESULT_NHAB",
2282
- "expression": { "value": "true", "type": "VTL" },
2283
- "inFilter": "false"
2284
- },
2285
-
2286
- {
2287
- "variableType": "CALCULATED",
2288
- "name": "FILTER_RESULT_G_PRENOM",
2289
- "expression": { "value": "true", "type": "VTL" },
2290
- "shapeFrom": "G_PRENOM",
2291
- "inFilter": "false"
2292
- },
2293
-
2294
- {
2295
- "variableType": "CALCULATED",
2296
- "name": "ANNAIS",
2297
- "expression": {
2298
- "value": "substr(cast(DATENAIS,string,\"YYYY-MM-DD\"),1,4)",
2299
- "type": "VTL"
2300
- },
2301
- "bindingDependencies": ["DATENAIS"],
2302
- "shapeFrom": "G_PRENOM",
2303
- "inFilter": "true"
2304
- },
2305
-
2306
- {
2307
- "variableType": "CALCULATED",
2308
- "name": "AGE",
2309
- "expression": {
2310
- "value": "cast((2022 - cast(ANNAIS,integer)), string)",
2311
- "type": "VTL"
2312
- },
2313
- "bindingDependencies": ["ANNAIS", "DATENAIS"],
2314
- "shapeFrom": "G_PRENOM",
2315
- "inFilter": "true"
2316
- },
2317
-
2318
- {
2319
- "variableType": "CALCULATED",
2320
- "name": "TRAGE6",
2321
- "expression": {
2322
- "value": "isnull(DATENAIS) then TRAGE else if not(isnull(DATENAIS)) and cast(AGE,integer) < 15 then \"1\" else if not(isnull(DATENAIS)) and cast(AGE,integer) > 14 and cast(AGE,integer) < 18 then \"2\" else if not(isnull(DATENAIS)) and cast(AGE,integer) > 17 and cast(AGE,integer) < 25 then \"3\" else if not(isnull(DATENAIS)) and cast(AGE,integer) > 24 and cast(AGE,integer) < 40 then \"4\" else if not(isnull(DATENAIS)) and cast(AGE,integer) > 39 and cast(AGE,integer) < 60 then \"5\" else if isnull(DATENAIS) and isnull(TRAGE) then null else \"6\"",
2323
- "type": "VTL"
2324
- },
2325
- "bindingDependencies": ["DATENAIS", "TRAGE", "AGE"],
2326
- "shapeFrom": "G_PRENOM",
2327
- "inFilter": "true"
2328
- },
2329
-
2330
- {
2331
- "variableType": "CALCULATED",
2332
- "name": "LIB_PR",
2333
- "expression": {
2334
- "value": "if isnull(SEXE) then \"il/elle\" else if SEXE = \"1\" then \"il\" else \"elle\"",
2335
- "type": "VTL"
2336
- },
2337
- "bindingDependencies": ["SEXE"],
2338
- "shapeFrom": "G_PRENOM",
2339
- "inFilter": "false"
2340
- },
2341
-
2342
- {
2343
- "variableType": "CALCULATED",
2344
- "name": "PRENOM",
2345
- "expression": { "value": "G_PRENOM", "type": "VTL" },
2346
- "bindingDependencies": ["G_PRENOM"],
2347
- "shapeFrom": "G_PRENOM",
2348
- "inFilter": "false"
2349
- },
2350
-
2351
- {
2352
- "variableType": "CALCULATED",
2353
- "name": "LIB_SON",
2354
- "expression": {
2355
- "value": "if (PRENOM = PRENOMREF) then \"votre\" else \"son\"",
2356
- "type": "VTL"
2357
- },
2358
- "bindingDependencies": ["PRENOM", "PRENOMREF", "G_PRENOM"],
2359
- "shapeFrom": "G_PRENOM",
2360
- "inFilter": "false"
2361
- },
2362
-
2363
- {
2364
- "variableType": "CALCULATED",
2365
- "name": "LIB_SA",
2366
- "expression": {
2367
- "value": "if (PRENOM = PRENOMREF) then \"votre\" else \"sa\"",
2368
- "type": "VTL"
2369
- },
2370
- "bindingDependencies": ["PRENOM", "PRENOMREF", "G_PRENOM"],
2371
- "shapeFrom": "G_PRENOM",
2372
- "inFilter": "false"
2373
- },
2374
-
2375
- {
2376
- "variableType": "CALCULATED",
2377
- "name": "LIB_E",
2378
- "expression": {
2379
- "value": "if isnull(SEXE) then \"(e)\" else if SEXE = \"1\" then \"\" else \"e\"",
2380
- "type": "VTL"
2381
- },
2382
- "bindingDependencies": ["SEXE"],
2383
- "shapeFrom": "G_PRENOM",
2384
- "inFilter": "false"
2385
- },
2386
-
2387
- {
2388
- "variableType": "CALCULATED",
2389
- "name": "LIB_SES",
2390
- "expression": {
2391
- "value": "if (PRENOM = PRENOMREF) then \"vos\" else \"ses\"",
2392
- "type": "VTL"
2393
- },
2394
- "bindingDependencies": ["PRENOM", "PRENOMREF", "G_PRENOM"],
2395
- "shapeFrom": "G_PRENOM",
2396
- "inFilter": "false"
2397
- },
2398
-
2399
- {
2400
- "variableType": "CALCULATED",
2401
- "name": "MINEUR",
2402
- "expression": {
2403
- "value": "if (cast(TRAGE6 ,integer) <= 2) then \"1\" else \"2\"",
2404
- "type": "VTL"
2405
- },
2406
- "bindingDependencies": ["TRAGE6", "DATENAIS", "TRAGE"],
2407
- "shapeFrom": "G_PRENOM",
2408
- "inFilter": "true"
2409
- },
2410
-
2411
- {
2412
- "variableType": "CALCULATED",
2413
- "name": "FILTER_RESULT_SEXE",
2414
- "expression": { "value": "true", "type": "VTL" },
2415
- "shapeFrom": "SEXE",
2416
- "inFilter": "false"
2417
- },
2418
-
2419
- {
2420
- "variableType": "CALCULATED",
2421
- "name": "FILTER_RESULT_DATENAIS",
2422
- "expression": { "value": "true", "type": "VTL" },
2423
- "shapeFrom": "SEXE",
2424
- "inFilter": "false"
2425
- },
2426
-
2427
- {
2428
- "variableType": "CALCULATED",
2429
- "name": "FILTER_RESULT_TRAGE",
2430
- "expression": { "value": "(isnull(DATENAIS))", "type": "VTL" },
2431
- "bindingDependencies": ["DATENAIS"],
2432
- "shapeFrom": "SEXE",
2433
- "inFilter": "false"
2434
- },
2435
-
2436
- {
2437
- "variableType": "CALCULATED",
2438
- "name": "FILTER_RESULT_LNAIS",
2439
- "expression": { "value": "true", "type": "VTL" },
2440
- "shapeFrom": "SEXE",
2441
- "inFilter": "false"
2442
- },
2443
-
2444
- {
2445
- "variableType": "CALCULATED",
2446
- "name": "FILTER_RESULT_DEPNAIS",
2447
- "expression": { "value": "(LNAIS = \"1\")", "type": "VTL" },
2448
- "bindingDependencies": ["LNAIS"],
2449
- "shapeFrom": "SEXE",
2450
- "inFilter": "false"
2451
- },
2452
-
2453
- {
2454
- "variableType": "CALCULATED",
2455
- "name": "FILTER_RESULT_PAYSNAIS",
2456
- "expression": { "value": "(LNAIS = \"2\")", "type": "VTL" },
2457
- "bindingDependencies": ["LNAIS"],
2458
- "shapeFrom": "SEXE",
2459
- "inFilter": "false"
2460
- },
2461
-
2462
- {
2463
- "variableType": "CALCULATED",
2464
- "name": "FILTER_RESULT_NATION",
2465
- "expression": { "value": "true", "type": "VTL" },
2466
- "shapeFrom": "SEXE",
2467
- "inFilter": "false"
2468
- },
2469
-
2470
- {
2471
- "variableType": "CALCULATED",
2472
- "name": "FILTER_RESULT_NATIONETR",
2473
- "expression": { "value": "(NATION3 = true)", "type": "VTL" },
2474
- "bindingDependencies": ["NATION3"],
2475
- "shapeFrom": "SEXE",
2476
- "inFilter": "false"
2477
- },
2478
-
2479
- {
2480
- "variableType": "CALCULATED",
2481
- "name": "FILTER_RESULT_VECUE",
2482
- "expression": { "value": "(LNAIS = \"1\")", "type": "VTL" },
2483
- "bindingDependencies": ["LNAIS"],
2484
- "shapeFrom": "SEXE",
2485
- "inFilter": "false"
2486
- },
2487
-
2488
- {
2489
- "variableType": "CALCULATED",
2490
- "name": "FILTER_RESULT_DATEDEPART",
2491
- "expression": { "value": "(VECUE = \"1\")", "type": "VTL" },
2492
- "bindingDependencies": ["VECUE"],
2493
- "shapeFrom": "SEXE",
2494
- "inFilter": "false"
2495
- },
2496
-
2497
- {
2498
- "variableType": "CALCULATED",
2499
- "name": "FILTER_RESULT_DATERETOUR",
2500
- "expression": { "value": "(VECUE = \"1\")", "type": "VTL" },
2501
- "bindingDependencies": ["VECUE"],
2502
- "shapeFrom": "SEXE",
2503
- "inFilter": "false"
2504
- },
2505
-
2506
- {
2507
- "variableType": "CALCULATED",
2508
- "name": "FILTER_RESULT_AGRETOUR",
2509
- "expression": {
2510
- "value": "(VECUE = \"1\") and (isnull(DATERETOUR))",
2511
- "type": "VTL"
2512
- },
2513
- "bindingDependencies": ["VECUE", "DATERETOUR"],
2514
- "shapeFrom": "SEXE",
2515
- "inFilter": "false"
2516
- },
2517
-
2518
- {
2519
- "variableType": "CALCULATED",
2520
- "name": "FILTER_RESULT_ANNARIV",
2521
- "expression": { "value": "(LNAIS = \"2\")", "type": "VTL" },
2522
- "bindingDependencies": ["LNAIS"],
2523
- "shapeFrom": "SEXE",
2524
- "inFilter": "false"
2525
- },
2526
-
2527
- {
2528
- "variableType": "CALCULATED",
2529
- "name": "FILTER_RESULT_AGARRIV",
2530
- "expression": {
2531
- "value": "(LNAIS = \"2\") and (isnull(ANNARIV))",
2532
- "type": "VTL"
2533
- },
2534
- "bindingDependencies": ["LNAIS", "ANNARIV"],
2535
- "shapeFrom": "SEXE",
2536
- "inFilter": "false"
2537
- },
2538
-
2539
- {
2540
- "variableType": "CALCULATED",
2541
- "name": "FILTER_RESULT_UNLOG",
2542
- "expression": { "value": "true", "type": "VTL" },
2543
- "shapeFrom": "UNLOG",
2544
- "inFilter": "false"
2545
- },
2546
-
2547
- {
2548
- "variableType": "CALCULATED",
2549
- "name": "FILTER_RESULT_DURLOG",
2550
- "expression": { "value": "(UNLOG = \"1\")", "type": "VTL" },
2551
- "bindingDependencies": ["UNLOG"],
2552
- "shapeFrom": "UNLOG",
2553
- "inFilter": "false"
2554
- },
2555
-
2556
- {
2557
- "variableType": "CALCULATED",
2558
- "name": "FILTER_RESULT_MINLOGENQ",
2559
- "expression": {
2560
- "value": "(MINEUR = \"1\" and $NBPARL$ = \"0\")",
2561
- "type": "VTL"
2562
- },
2563
- "bindingDependencies": ["MINEUR"],
2564
- "shapeFrom": "UNLOG",
2565
- "inFilter": "false"
2566
- },
2567
-
2568
- {
2569
- "variableType": "CALCULATED",
2570
- "name": "FILTER_RESULT_MINLOGAUT",
2571
- "expression": {
2572
- "value": "(MINEUR = \"1\" and UNLOG = \"1\")",
2573
- "type": "VTL"
2574
- },
2575
- "bindingDependencies": ["MINEUR", "UNLOG"],
2576
- "shapeFrom": "UNLOG",
2577
- "inFilter": "false"
2578
- },
2579
-
2580
- {
2581
- "variableType": "CALCULATED",
2582
- "name": "FILTER_RESULT_GARDE",
2583
- "expression": {
2584
- "value": "(DURLOG = \"2\" and $NBPARL$ = \"1\" and MINLOGAUT = \"1\")",
2585
- "type": "VTL"
2586
- },
2587
- "bindingDependencies": ["DURLOG", "MINLOGAUT"],
2588
- "shapeFrom": "UNLOG",
2589
- "inFilter": "false"
2590
- },
2591
-
2592
- {
2593
- "variableType": "CALCULATED",
2594
- "name": "FILTER_RESULT_DORM",
2595
- "expression": { "value": "(GARDE = \"1\")", "type": "VTL" },
2596
- "bindingDependencies": ["GARDE"],
2597
- "shapeFrom": "UNLOG",
2598
- "inFilter": "false"
2599
- },
2600
-
2601
- {
2602
- "variableType": "CALCULATED",
2603
- "name": "FILTER_RESULT_MAJLOGENQ",
2604
- "expression": {
2605
- "value": "(UNLOG = \"1\" and MINEUR = \"2\")",
2606
- "type": "VTL"
2607
- },
2608
- "bindingDependencies": ["UNLOG", "MINEUR"],
2609
- "shapeFrom": "UNLOG",
2610
- "inFilter": "false"
2611
- },
2612
-
2613
- {
2614
- "variableType": "CALCULATED",
2615
- "name": "FILTER_RESULT_MAJLOGAUT",
2616
- "expression": {
2617
- "value": "(UNLOG = \"1\" and MINEUR = \"2\")",
2618
- "type": "VTL"
2619
- },
2620
- "bindingDependencies": ["UNLOG", "MINEUR"],
2621
- "shapeFrom": "UNLOG",
2622
- "inFilter": "false"
2623
- },
2624
-
2625
- {
2626
- "variableType": "CALCULATED",
2627
- "name": "FILTER_RESULT_LOGCO",
2628
- "expression": {
2629
- "value": "(MINLOGAUT =\"2\" or MINLOGAUT =\"3\" or MINLOGAUT =\"4\" or MINLOGAUT =\"5\" or MINLOGAUT =\"6\" or MAJLOGAUT=\"1\" or MAJLOGAUT=\"2\" or MAJLOGAUT=\"3\" or MAJLOGAUT=\"6\")",
2630
- "type": "VTL"
2631
- },
2632
- "bindingDependencies": ["MINLOGAUT", "MAJLOGAUT"],
2633
- "shapeFrom": "UNLOG",
2634
- "inFilter": "false"
2635
- },
2636
-
2637
- {
2638
- "variableType": "CALCULATED",
2639
- "name": "FILTER_RESULT_TYPLOGCO",
2640
- "expression": { "value": "(LOGCO = \"1\")", "type": "VTL" },
2641
- "bindingDependencies": ["LOGCO"],
2642
- "shapeFrom": "UNLOG",
2643
- "inFilter": "false"
2644
- },
2645
-
2646
- {
2647
- "variableType": "CALCULATED",
2648
- "name": "PRENOMREF",
2649
- "expression": { "value": "first_value(G_PRENOM over())", "type": "VTL" },
2650
- "bindingDependencies": ["G_PRENOM"],
2651
- "inFilter": "false"
2652
- },
2653
-
2654
- {
2655
- "variableType": "CALCULATED",
2656
- "name": "NBHAB",
2657
- "expression": {
2658
- "value": "if isnull(NHAB) then \"1\" else NHAB",
2659
- "type": "VTL"
2660
- },
2661
- "bindingDependencies": ["NHAB"],
2662
- "inFilter": "true"
2663
- }
2664
- ],
2665
- "cleaning": {
2666
- "DATENAIS": {
2667
- "TRAGE": "(isnull(DATENAIS))",
2668
- "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2669
- "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2670
- "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2671
- },
2672
- "LNAIS": {
2673
- "DEPNAIS": "(LNAIS = \"1\")",
2674
- "PAYSNAIS": "(LNAIS = \"2\")",
2675
- "VECUE": "(LNAIS = \"1\")",
2676
- "ANNARIV": "(LNAIS = \"2\")",
2677
- "AGARRIV": "(LNAIS = \"2\") and (isnull(ANNARIV))"
2678
- },
2679
- "NATION3": { "NATIONETR": "(NATION3 = true)" },
2680
- "VECUE": {
2681
- "DATEDEPART": "(VECUE = \"1\")",
2682
- "DATERETOUR": "(VECUE = \"1\")",
2683
- "AGRETOUR": "(VECUE = \"1\") and (isnull(DATERETOUR))"
2684
- },
2685
- "DATERETOUR": { "AGRETOUR": "(VECUE = \"1\") and (isnull(DATERETOUR))" },
2686
- "ANNARIV": { "AGARRIV": "(LNAIS = \"2\") and (isnull(ANNARIV))" },
2687
- "UNLOG": {
2688
- "DURLOG": "(UNLOG = \"1\")",
2689
- "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2690
- "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2691
- "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2692
- },
2693
- "MINEUR": {
2694
- "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2695
- "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2696
- "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2697
- },
2698
- "TRAGE6": {
2699
- "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2700
- "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2701
- "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2702
- },
2703
- "TRAGE": {
2704
- "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2705
- "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2706
- "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2707
- },
2708
- "DURLOG": {
2709
- "GARDE": "(DURLOG = \"2\" and $NBPARL$ = \"1\" and MINLOGAUT = \"1\")"
2710
- },
2711
- "MINLOGAUT": {
2712
- "GARDE": "(DURLOG = \"2\" and $NBPARL$ = \"1\" and MINLOGAUT = \"1\")",
2713
- "LOGCO": "(MINLOGAUT =\"2\" or MINLOGAUT =\"3\" or MINLOGAUT =\"4\" or MINLOGAUT =\"5\" or MINLOGAUT =\"6\" or MAJLOGAUT=\"1\" or MAJLOGAUT=\"2\" or MAJLOGAUT=\"3\" or MAJLOGAUT=\"6\")"
2714
- },
2715
- "GARDE": { "DORM": "(GARDE = \"1\")" },
2716
- "MAJLOGAUT": {
2717
- "LOGCO": "(MINLOGAUT =\"2\" or MINLOGAUT =\"3\" or MINLOGAUT =\"4\" or MINLOGAUT =\"5\" or MINLOGAUT =\"6\" or MAJLOGAUT=\"1\" or MAJLOGAUT=\"2\" or MAJLOGAUT=\"3\" or MAJLOGAUT=\"6\")"
2718
- },
2719
- "LOGCO": { "TYPLOGCO": "(LOGCO = \"1\")" }
2720
- },
2721
- "resizing": {
2722
- "NHAB": {
2723
- "size": "cast(NBHAB, integer)",
2724
- "variables": [
2725
- "G_PRENOM",
2726
- "SEXE",
2727
- "DATENAIS",
2728
- "TRAGE",
2729
- "LNAIS",
2730
- "DEPNAIS",
2731
- "PAYSNAIS",
2732
- "NATION1",
2733
- "NATION2",
2734
- "NATION3",
2735
- "NATION4",
2736
- "NATIONETR",
2737
- "VECUE",
2738
- "DATEDEPART",
2739
- "DATERETOUR",
2740
- "AGRETOUR",
2741
- "ANNARIV",
2742
- "AGARRIV",
2743
- "UNLOG",
2744
- "DURLOG",
2745
- "MINLOGENQ1",
2746
- "MINLOGENQ2",
2747
- "MINLOGENQ3",
2748
- "MINLOGENQ4",
2749
- "MINLOGENQ5",
2750
- "MINLOGAUT",
2751
- "GARDE",
2752
- "DORM",
2753
- "MAJLOGENQ",
2754
- "MAJLOGAUT",
2755
- "LOGCO",
2756
- "TYPLOGCO"
2757
- ]
2758
- }
2759
- }
2760
- }