{
	"id": "mkb7cgp3",
	"label": {
		"type": "VTL|MD",
		"value": "feat: QCU basé sur une variable - QR"
	},
	"modele": "FEATQCUBAS",
	"maxPage": "7",
	"cleaning": {
		"PRENOM": {
			"QCUHORSBOU": [
				{
					"expression": false
				}
			],
			"QCUDANSBOU": [
				{
					"expression": false,
					"shapeFrom": "PRENOM",
					"shouldCheckAllIterations": true
				}
			]
		}
	},
	"resizing": {
		"NBHAB": {
			"size": "NBHAB",
			"variables": ["PRENOM", "AGE"]
		},
		"PRENOM": {
			"size": "count(PRENOM)",
			"variables": ["QCUDANSBOU"]
		}
	},
	"variables": [
		{
			"name": "NBHAB",
			"values": {
				"COLLECTED": null
			},
			"dimension": 0,
			"variableType": "COLLECTED"
		},
		{
			"name": "PRENOM",
			"values": {
				"COLLECTED": []
			},
			"dimension": 1,
			"variableType": "COLLECTED",
			"iterationReference": "mkb798x7"
		},
		{
			"name": "AGE",
			"values": {
				"COLLECTED": []
			},
			"dimension": 1,
			"variableType": "COLLECTED",
			"iterationReference": "mkb798x7"
		},
		{
			"name": "QCUHORSBOU",
			"values": {
				"COLLECTED": null
			},
			"dimension": 0,
			"variableType": "COLLECTED"
		},
		{
			"name": "QCUDANSBOU",
			"values": {
				"COLLECTED": []
			},
			"dimension": 1,
			"variableType": "COLLECTED",
			"iterationReference": "mkb798x7"
		},
		{
			"name": "FILTER_RESULT_NBHAB",
			"dimension": 0,
			"expression": {
				"type": "VTL",
				"value": "true"
			},
			"variableType": "CALCULATED",
			"isIgnoredByLunatic": true
		},
		{
			"name": "FILTER_RESULT_PRENOM",
			"dimension": 1,
			"shapeFrom": ["PRENOM", "AGE"],
			"expression": {
				"type": "VTL",
				"value": "true"
			},
			"variableType": "CALCULATED",
			"isIgnoredByLunatic": true,
			"iterationReference": "mkb798x7"
		},
		{
			"name": "FILTER_RESULT_AGE",
			"dimension": 1,
			"shapeFrom": ["PRENOM", "AGE"],
			"expression": {
				"type": "VTL",
				"value": "true"
			},
			"variableType": "CALCULATED",
			"isIgnoredByLunatic": true,
			"iterationReference": "mkb798x7"
		},
		{
			"name": "FILTER_RESULT_QCUHORSBOU",
			"dimension": 0,
			"expression": {
				"type": "VTL",
				"value": "true"
			},
			"variableType": "CALCULATED",
			"isIgnoredByLunatic": true
		},
		{
			"name": "FILTER_RESULT_QCUDANSBOU",
			"dimension": 1,
			"shapeFrom": ["PRENOM", "AGE"],
			"expression": {
				"type": "VTL",
				"value": "true"
			},
			"variableType": "CALCULATED",
			"isIgnoredByLunatic": true,
			"iterationReference": "mkb798x7"
		}
	],
	"components": [
		{
			"id": "mkb6zd6d",
			"page": "1",
			"label": {
				"type": "VTL",
				"value": "\"I - \" || \"S1\""
			},
			"componentType": "Sequence",
			"conditionFilter": {
				"type": "VTL",
				"value": "true"
			}
		},
		{
			"id": "question-mkb7hxy8",
			"page": "2",
			"label": {
				"type": "VTL|MD",
				"value": "\"Nombre d'habitants\""
			},
			"components": [
				{
					"id": "mkb7hxy8",
					"max": 10.0,
					"min": 0.0,
					"page": "2",
					"controls": [
						{
							"id": "mkb7hxy8-format-borne-inf-sup",
							"type": "SIMPLE",
							"control": {
								"type": "VTL",
								"value": "not(not(isnull(NBHAB)) and (0>NBHAB or 10<NBHAB))"
							},
							"criticality": "ERROR",
							"errorMessage": {
								"type": "VTL|MD",
								"value": "\" La valeur doit être comprise entre 0 et 10\""
							},
							"typeOfControl": "FORMAT"
						},
						{
							"id": "mkb7hxy8-format-decimal",
							"type": "SIMPLE",
							"control": {
								"type": "VTL",
								"value": "not(not(isnull(NBHAB))  and round(NBHAB,0)<>NBHAB)"
							},
							"criticality": "ERROR",
							"errorMessage": {
								"type": "VTL|MD",
								"value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule\""
							},
							"typeOfControl": "FORMAT"
						}
					],
					"decimals": 0,
					"response": {
						"name": "NBHAB"
					},
					"description": {
						"type": "TXT",
						"value": "Format attendu : un nombre entre 0 et 10"
					},
					"isMandatory": false,
					"componentType": "InputNumber"
				}
			],
			"componentType": "Question",
			"conditionFilter": {
				"type": "VTL",
				"value": "true"
			}
		},
		{
			"id": "mkb798x7",
			"page": "3",
			"depth": 1,
			"lines": {
				"max": {
					"type": "VTL",
					"value": "NBHAB"
				},
				"min": {
					"type": "VTL",
					"value": "NBHAB"
				}
			},
			"components": [
				{
					"id": "mkb6z1pv",
					"page": "3",
					"label": {
						"type": "VTL",
						"value": "\"II - \" || \"THL\"",
						"shapeFrom": "PRENOM"
					},
					"componentType": "Sequence",
					"conditionFilter": {
						"type": "VTL",
						"value": "true",
						"shapeFrom": "PRENOM"
					}
				},
				{
					"id": "question-mkb7180z",
					"page": "3",
					"label": {
						"type": "VTL|MD",
						"value": "\"Prénom\""
					},
					"components": [
						{
							"id": "mkb7180z",
							"page": "3",
							"response": {
								"name": "PRENOM"
							},
							"maxLength": 249,
							"isMandatory": false,
							"componentType": "Input"
						}
					],
					"componentType": "Question",
					"conditionFilter": {
						"type": "VTL",
						"value": "true"
					}
				},
				{
					"id": "question-mkb7gox2",
					"page": "3",
					"label": {
						"type": "VTL|MD",
						"value": "\"Âge\""
					},
					"components": [
						{
							"id": "mkb7gox2",
							"max": 100.0,
							"min": 0.0,
							"page": "3",
							"controls": [
								{
									"id": "mkb7gox2-format-borne-inf-sup",
									"type": "SIMPLE",
									"control": {
										"type": "VTL",
										"value": "not(not(isnull(AGE)) and (0>AGE or 100<AGE))"
									},
									"criticality": "ERROR",
									"errorMessage": {
										"type": "VTL|MD",
										"value": "\" La valeur doit être comprise entre 0 et 100\""
									},
									"typeOfControl": "FORMAT"
								},
								{
									"id": "mkb7gox2-format-decimal",
									"type": "SIMPLE",
									"control": {
										"type": "VTL",
										"value": "not(not(isnull(AGE))  and round(AGE,0)<>AGE)"
									},
									"criticality": "ERROR",
									"errorMessage": {
										"type": "VTL|MD",
										"value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule\""
									},
									"typeOfControl": "FORMAT"
								}
							],
							"decimals": 0,
							"response": {
								"name": "AGE"
							},
							"description": {
								"type": "TXT",
								"value": "Format attendu : un nombre entre 0 et 100"
							},
							"isMandatory": false,
							"componentType": "InputNumber"
						}
					],
					"componentType": "Question",
					"conditionFilter": {
						"type": "VTL",
						"value": "true"
					}
				}
			],
			"componentType": "Loop",
			"paginatedLoop": false,
			"conditionFilter": {
				"type": "VTL",
				"value": "(true)"
			},
			"loopDependencies": ["NBHAB"],
			"isPaginatedByIterations": false
		},
		{
			"id": "mkb7ed5t",
			"page": "4",
			"label": {
				"type": "VTL",
				"value": "\"III - \" || \"S2\""
			},
			"componentType": "Sequence",
			"conditionFilter": {
				"type": "VTL",
				"value": "true"
			}
		},
		{
			"id": "question-mkb7ktxx",
			"page": "5",
			"label": {
				"type": "VTL|MD",
				"value": "\"QCU hors boucle\""
			},
			"components": [
				{
					"id": "mkb7ktxx",
					"page": "5",
					"optionSource": "PRENOM",
					"optionFilter": {
						"type": "VTL",
						"value": "AGE >= 18",
						"shapeFrom": "PRENOM"
					},
					"response": {
						"name": "QCUHORSBOU"
					},
					"isMandatory": false,
					"orientation": "vertical",
					"componentType": "Radio"
				}
			],
			"declarations": [
				{
					"id": "mke55sef",
					"label": {
						"type": "VTL|MD",
						"value": "\"Les modalités de réponse sont les prénoms des individus ayant 18 ans ou plus\""
					},
					"position": "AFTER_QUESTION_TEXT",
					"declarationType": "HELP"
				}
			],
			"componentType": "Question",
			"conditionFilter": {
				"type": "VTL",
				"value": "true"
			}
		},
		{
			"id": "mkb71vg8",
			"page": "6",
			"depth": 1,
			"maxPage": "2",
			"components": [
				{
					"id": "mkb76y5x",
					"page": "6.1",
					"label": {
						"type": "VTL",
						"value": "\"IV - \" || \"S3\"",
						"shapeFrom": "PRENOM"
					},
					"componentType": "Sequence",
					"conditionFilter": {
						"type": "VTL",
						"value": "true",
						"shapeFrom": "PRENOM"
					}
				},
				{
					"id": "question-mkb73lyz",
					"page": "6.2",
					"label": {
						"type": "VTL|MD",
						"value": "\"QCU dans boucle\""
					},
					"components": [
						{
							"id": "mkb73lyz",
							"page": "6.2",
							"optionSource": "PRENOM",
							"optionFilter": {
								"type": "VTL",
								"value": "AGE >= 18",
								"shapeFrom": "PRENOM"
							},
							"response": {
								"name": "QCUDANSBOU"
							},
							"isMandatory": false,
							"orientation": "vertical",
							"componentType": "Radio"
						}
					],
					"declarations": [
						{
							"id": "mke5bdkv",
							"label": {
								"type": "VTL|MD",
								"value": "\"Les modalités de réponse sont les prénoms des individus ayant 18 ans ou plus\""
							},
							"position": "AFTER_QUESTION_TEXT",
							"declarationType": "HELP"
						}
					],
					"componentType": "Question",
					"conditionFilter": {
						"type": "VTL",
						"value": "true"
					}
				}
			],
			"iterations": {
				"type": "VTL",
				"value": "count(PRENOM)"
			},
			"componentType": "Loop",
			"paginatedLoop": true,
			"conditionFilter": {
				"type": "VTL",
				"value": "(true)"
			},
			"loopDependencies": ["PRENOM"]
		},
		{
			"id": "mkb7iuwp",
			"page": "7",
			"label": {
				"type": "VTL",
				"value": "\"V - \" || \"S4 - Fin\""
			},
			"componentType": "Sequence",
			"conditionFilter": {
				"type": "VTL",
				"value": "true"
			}
		}
	],
	"pagination": "question",
	"suggesters": [
		{
			"name": "L_DIPLOMES-2-1-0",
			"fields": [
				{
					"min": 3,
					"name": "label",
					"rules": ["[\\w-]+"],
					"stemmer": false,
					"language": "French"
				}
			],
			"version": 1,
			"queryParser": {
				"type": "tokenized",
				"params": {
					"min": 3,
					"pattern": "[\\w.-]+",
					"stemmer": false,
					"language": "French"
				}
			}
		}
	],
	"componentType": "Questionnaire",
	"enoCoreVersion": "3.59.0",
	"generatingDate": "14-01-2026 14:51:23",
	"lunaticModelVersion": "5.11.0"
}
