<?xml version="1.0" encoding="ISO-8859-15"?>
<VUE name="ACTI000066" label="Activité. Etat des présents" title="= SELECT.DATA_LABEL + ' ' + SELECT.REAPRE2 + ' par ' +  SELECT.GROUPBY_LABEL + ' et ' + SELECT.COLUMNBY_LABEL + ' (le ' + SELECT.TOPERIODE_LABEL + ' à ' + SELECT.TOHEURE_LABEL + ')'" database="iCTI" swf="*CTI_view1" softCode="iCTI_activite" globals="ACTI_globals.XML" componentsFile="ACTI_components.XML" 
    helpFile="iCTI_ACTI_ACTI000123.HTML"
    helpDokuWIkiDir="activite:occupation_sejours:presents" 
    helpDokuWIkiFile="acti000066" 
>   
	<VIEWPROPERTIES componentName="PROPERTIES_OCCUPATION"/>
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
		
		
		<PROPERTY name="DATA_SELECT">
			<value><![CDATA[
						[EVAL 
							switch ('[DATA]') {
							case 'PRECP':
								return "AND est_chambre_particuliere = '1'";
								break;
							default:
								return "";
							}
						EVAL]
					]]></value>
		</PROPERTY>
		<PROPERTY name="REAPRE_SELECT">
			<value><![CDATA[
						[EVAL 
							if ('[REAPRE]' == '1') {return "";}
							if ('[REAPRE]' == '2') {return " AND est_mouvement_previsionnel = '1'";}
							return " AND est_mouvement_previsionnel <> '1'";
						EVAL]
					]]></value>
		</PROPERTY>
	</VIEWPROPERTIES>
	<SELECTIONS label="Paramètres de l'analyse">
		<GROUP label="Date">
			<FIELD name="TOPERIODE" label="" UI="combo" tree="true" width="200" default="2009-01-31" globalListProvider="DATE_FIN">
			</FIELD>
			<FIELD name="TOHEURE" label="à" UI="combo" tree="false" width="80" default="12">
				<OPTION label="toute heure" data="-1" />
				<OPTION label="0h" data="0" />
				<OPTION label="1h" data="1"/>
				<OPTION label="2h" data="2"/>
				<OPTION label="3h" data="3"/>
				<OPTION label="4h" data="4"/>
				<OPTION label="5h" data="5"/>
				<OPTION label="6h" data="6"/>
				<OPTION label="7h" data="7"/>
				<OPTION label="8h" data="8"/>
				<OPTION label="9h" data="9"/>
				<OPTION label="10h" data="10"/>
				<OPTION label="11h" data="11"/>
				<OPTION label="12h" data="12"/>
				<OPTION label="13h" data="13"/>
				<OPTION label="14h" data="14"/>
				<OPTION label="15h" data="15"/>
				<OPTION label="16h" data="16"/>
				<OPTION label="17h" data="17"/>
				<OPTION label="18h" data="18"/>
				<OPTION label="19h" data="19"/>
				<OPTION label="20h" data="20"/>
				<OPTION label="21h" data="21"/>
				<OPTION label="22h" data="22"/>
				<OPTION label="23h" data="23"/>
				<OPTION label="24h" data="24"/>
			</FIELD>
		</GROUP>
		<GROUP label="Regroupement">
			<FIELD name="GROUPBY" label="" UI="combo" width="200" default="SER" tree="true">
				<OPTION label="OCCUPATION_GROUPBY" data="" globalListProvider="OCCUPATION_GROUPBY"/>
			</FIELD>
			<FIELD name="GROUPBY_TAB" label="Présentation" UI="combo" default="AUTO" visible="= SELECT.GROUPBY_2 != '-1' ">
				<OPTION label="Automatique" data="AUTO"/>
				<OPTION label="Arbre" data="TREE"/>
				<OPTION label="Onglet" data="TAB"/>
			</FIELD>
		</GROUP>
		<GROUP label="">
			<FIELD name="GROUPBY_2" label="" UI="combo" width="200" default="-1" tree="true">
				<OPTION label="Pas de second niveau" data="-1"/>
				<OPTION label="OCCUPATION_GROUPBY" data="" globalListProvider="OCCUPATION_GROUPBY"/>
			</FIELD>
			<FIELD name="GROUPBY_3" label="" UI="combo" width="200" default="-1" tree="true">
				<OPTION label="Pas de troisième niveau" data="-1"/>
				<OPTION label="OCCUPATION_GROUPBY" data="" globalListProvider="OCCUPATION_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP label="">
			<FIELD name="COLUMNBY" label="Colonnes" UI="combo" width="200" default="ETA" tree="true">
				<OPTION label="OCCUPATION_GROUPBY" data="" globalListProvider="OCCUPATION_GROUPBY"/>
			</FIELD>
			<FIELD name="COLUMNBYCOUNT" label="Nombre" UI="combo" default="10" tree="false">
				<OPTION label="5" data="5"/>
				<OPTION label="6" data="6"/>
				<OPTION label="7" data="7"/>
				<OPTION label="8" data="8"/>
				<OPTION label="9" data="9"/>
				<OPTION label="10" data="10"/>
				<OPTION label="11" data="11"/>
				<OPTION label="12" data="12"/>
				<OPTION label="13" data="13"/>
				<OPTION label="14" data="14"/>
				<OPTION label="15" data="15"/>
				<OPTION label="16" data="16"/>
				<OPTION label="17" data="17"/>
				<OPTION label="18" data="18"/>
				<OPTION label="19" data="19"/>
				<OPTION label="20" data="20"/>
			</FIELD>
		</GROUP>
		<GROUP label="">
			<FIELD name="DATA" label="Données" UI="combo" width="200" default="PRE">
				<OPTION label="Présents" data="PRE"/>
				<OPTION label="Présents en chambre particulière" data="PRECP"/>
			</FIELD>
			<FIELD name="REAPRE" label="" UI="combo" default="0" visible="= [ENV.OPTADM_PREVUS] == '1'" showIfNotDefault="true">
				<OPTION data="0" label="Prévus exclus" data2=""/>
				<OPTION data="1" label="Prévus inclus" data2="(Réalisation et Prévisions)"/>
				<OPTION data="2" label="Uniquement prévus" data2="(Prévisions)"/>
			</FIELD>
		</GROUP>
	</SELECTIONS>
	<SELECTIONS componentName="FILTRES_MOUVEMENTS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_SEJOURS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PASSAGES_SELECTIONS" />
	<QUERIES>
		<QUERY label="">
			<SQL>
				<select><![CDATA[	
					CTIPREPAR_TREE
						WORKTABLE{acti000066_places}
						GROUPBY1{[VIEW.GROUPBY_PLACES_OID_FIELD],, [VIEW.GROUPBY_PLACES_COD_FIELD],, [VIEW.GROUPBY_PLACES_TXT_FIELD]}
						GROUPBY1MODE{[GROUPBY_TAB]}
						GROUPBY2{[VIEW.GROUPBY_2_PLACES_OID_FIELD],, [VIEW.GROUPBY_2_PLACES_COD_FIELD],, [VIEW.GROUPBY_2_PLACES_TXT_FIELD]}
						GROUPBY3{[VIEW.GROUPBY_3_PLACES_OID_FIELD],, [VIEW.GROUPBY_3_PLACES_COD_FIELD],, [VIEW.GROUPBY_3_PLACES_TXT_FIELD]}
					INDICATORS{
						SUM(CASE WHEN date = '[TOPERIODE]' THEN v_places_1.nb_lits_theoriques ELSE 0 END),,
						SUM(v_places_1.nb_lits_ouverts)
					}
					FROM activite.v_places_1
					WHERE date = '[TOPERIODE]'
						[VIEW.ETAGE_PLACES_SELECT]
				]]></select>
			</SQL>
			<SQL optimizer="V_SEJOURS_X" optimizer2="V_MOUVEMENTS_SEJOUR_X">
				<select><![CDATA[	
						CTISELECT_TREE
							WORKTABLE{acti000066}
							GROUPBY1{[VIEW.GROUPBY_OID_FIELD],, [VIEW.GROUPBY_COD_FIELD],, [VIEW.GROUPBY_TXT_FIELD]}
							GROUPBY1MODE{[GROUPBY_TAB]}
							GROUPBY2{[VIEW.GROUPBY_2_OID_FIELD],, [VIEW.GROUPBY_2_COD_FIELD],, [VIEW.GROUPBY_2_TXT_FIELD]}
							GROUPBY3{[VIEW.GROUPBY_3_OID_FIELD],, [VIEW.GROUPBY_3_COD_FIELD],, [VIEW.GROUPBY_3_TXT_FIELD]}
							COLUMNBYOID{[VIEW.COLUMNBY_OID_FIELD],, [VIEW.COLUMNBY_COD_FIELD] ,, [VIEW.COLUMNBY_TXT_FIELD],, 1 ,, [COLUMNBYCOUNT]}
							INDICATORS{
								0,,
								count(*),,
								SUM(CASE WHEN est_jour_hospitalisation = '1' OR nb_ambulatoires > 0 OR nb_seances_dans_taux > 0 THEN 1 ELSE 0 END)
							}
							INDICATORS_COLUMNS{SUM(CASE WHEN COLUMNCHECKSEQUENCE THEN 1 ELSE 0 END) }
							FROM #V_SEJOURS_X#
							JOIN #V_MOUVEMENTS_SEJOUR_X# ON v_mouvements_sejour_2.no_sejour = v_sejours_1.no_sejour 
							WHERE date = '[TOPERIODE]'
								AND (
									[TOHEURE] = -1 
									OR (v_mouvements_sejour_2.heure_debut <= [TOHEURE]0000 AND v_mouvements_sejour_2.heure_fin >= [TOHEURE]0000)
								)
								AND service_facturation_est_absence IS DISTINCT FROM '1'
								[VIEW.DATA_SELECT]
								[VIEW.SEJOURS_SELECT] [VIEW.PASSAGES_SELECT]
								[VIEW.MOUVEMENTS_SELECT] [VIEW.REAPRE_SELECT]
								AND v_sejours_1.type_sejour <> '9'
								AND (est_jour_hospitalisation = '1' OR nb_ambulatoires > 0 OR nb_externes > 0 OR nb_seances_dans_taux > 0)
								
						AFTER{
					
						UPDATE acti000066 SET 
							indicateurs[1] = acti000066_places.indicateurs[1],
							indicateurs[3] = base.cti_division(acti000066.indicateurs[3] , acti000066_places.indicateurs[2]) * 100
						FROM acti000066_places
						WHERE 
							(acti000066_places.oidt = acti000066.oidt OR acti000066_places.oidt = -111) AND
							(acti000066_places.oid1 = acti000066.oid1 OR acti000066_places.oid1 = -111) AND
							(acti000066_places.oid2 = acti000066.oid2 OR acti000066_places.oid2 = -111) AND
							(acti000066_places.oid3 = acti000066.oid3 OR acti000066_places.oid3 = -111)
						}

				]]></select>
				<FIELDS>
					<INSERT name="CTISELECT_TREE_FIELDS"/>
					<FIELD name="LIT"/>
					<FIELD name="N"/>
					<FIELD name="TAU"/>
					<FIELD name="N1"/>
					<FIELD name="N2"/>
					<FIELD name="N3"/>
					<FIELD name="N4"/>
					<FIELD name="N5"/>
					<FIELD name="N6"/>
					<FIELD name="N7"/>
					<FIELD name="N8"/>
					<FIELD name="N9"/>
					<FIELD name="N10"/>
					<FIELD name="N11"/>
					<FIELD name="N12"/>
					<FIELD name="N13"/>
					<FIELD name="N14"/>
					<FIELD name="N15"/>
					<FIELD name="N16"/>
					<FIELD name="N17"/>
					<FIELD name="N18"/>
					<FIELD name="N19"/>
					<FIELD name="N20"/>
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			
		</QUERY>
	</QUERIES>
	<PRESENTATION>
		<VIEWLINKS>
			<VIEWLINK label="Liste des présents" shortLabel="Liste présents" view="ACTI000065.XML" component3Name="STANDARD_BASE_VIEWLINK">
				<ARG name="TOHEURE" value="SELECT.TOHEURE"/>
				<ARG name="TOPERIODE" value="SELECT.TOPERIODE"/>
				
				<ARG name="LIT_MOUVEMENT" value="if (ROW != null &amp; SELECT.GROUPBY == 'LIT') {return 'LT' + ROW.OID} else {return SELECT.LIT_MOUVEMENT}"/>
				<ARG name="SERVICE_MOUVEMENT" value="
													if (ROW != null &amp; SELECT.GROUPBY == 'SER') {return 'SF' + ROW.OID} 
													if (ROW != null &amp; SELECT.GROUPBY == 'SERCLS01') {return 'LS01' + ROW.OID} 
													if (ROW != null &amp; SELECT.GROUPBY == 'SERCLS02') {return 'LS02' + ROW.OID} 
													if (ROW != null &amp; SELECT.GROUPBY == 'SERCLS03') {return 'LS03' + ROW.OID} 
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T01') {return 'SF' + VIEW.HOID1}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T02') {return 'SF' + VIEW.HOID2}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T03') {return 'SF' + VIEW.HOID3}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T04') {return 'SF' + VIEW.HOID4}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T05') {return 'SF' + VIEW.HOID5}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T06') {return 'SF' + VIEW.HOID6}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T07') {return 'SF' + VIEW.HOID7}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T08') {return 'SF' + VIEW.HOID8}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T09') {return 'SF' + VIEW.HOID9}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T10') {return 'SF' + VIEW.HOID10}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T11') {return 'SF' + VIEW.HOID11}
													if (SELECT.COLUMNBY == 'SER' &amp; COLUMN.NAME == 'T12') {return 'SF' + VIEW.HOID12}
													return SELECT.SERVICE_MOUVEMENT;

				"/>
				<ARG name="ACTIVITE_MOUVEMENT" value="
													if (ROW != null &amp; SELECT.GROUPBY == 'ACT') {return 'AC' + ROW.OID} 
													if (ROW != null &amp; SELECT.GROUPBY == 'ETACLS01') {return 'LS01' + ROW.OID} 
													if (ROW != null &amp; SELECT.GROUPBY == 'ETACLS02') {return 'LS02' + ROW.OID} 
													if (ROW != null &amp; SELECT.GROUPBY == 'ETACLS03') {return 'LS03' + ROW.OID} 
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T01') {return 'AC' + VIEW.HOID1}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T02') {return 'AC' + VIEW.HOID2}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T03') {return 'AC' + VIEW.HOID3}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T04') {return 'AC' + VIEW.HOID4}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T05') {return 'AC' + VIEW.HOID5}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T06') {return 'AC' + VIEW.HOID6}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T07') {return 'AC' + VIEW.HOID7}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T08') {return 'AC' + VIEW.HOID8}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T09') {return 'AC' + VIEW.HOID9}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T10') {return 'AC' + VIEW.HOID10}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T11') {return 'AC' + VIEW.HOID11}
													if (SELECT.COLUMNBY == 'ACT' &amp; COLUMN.NAME == 'T12') {return 'AC' + VIEW.HOID12}
													return SELECT.ACTIVITE_MOUVEMENT;
				
				"/>
				<ARG name="ETAGE_MOUVEMENT" value="if (ROW != null &amp; SELECT.GROUPBY == 'ETA') {return 'ET' + ROW.OID} 
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T01') {return 'ET' + VIEW.HOID1}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T02') {return 'ET' + VIEW.HOID2}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T03') {return 'ET' + VIEW.HOID3}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T04') {return 'ET' + VIEW.HOID4}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T05') {return 'ET' + VIEW.HOID5}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T06') {return 'ET' + VIEW.HOID6}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T07') {return 'ET' + VIEW.HOID7}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T08') {return 'ET' + VIEW.HOID8}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T09') {return 'ET' + VIEW.HOID9}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T10') {return 'ET' + VIEW.HOID10}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T11') {return 'ET' + VIEW.HOID11}
													if (SELECT.COLUMNBY == 'ETA' &amp; COLUMN.NAME == 'T12') {return 'ET' + VIEW.HOID12}
													return SELECT.ETAGE_MOUVEMENT;
				"/>
				<ARG name="UM_MOUVEMENT" value="if (ROW != null &amp; SELECT.GROUPBY == 'UM') {return 'UM' + ROW.OID} 
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T01') {return 'UM' + VIEW.HOID1}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T02') {return 'UM' + VIEW.HOID2}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T03') {return 'UM' + VIEW.HOID3}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T04') {return 'UM' + VIEW.HOID4}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T05') {return 'UM' + VIEW.HOID5}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T06') {return 'UM' + VIEW.HOID6}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T07') {return 'UM' + VIEW.HOID7}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T08') {return 'UM' + VIEW.HOID8}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T09') {return 'UM' + VIEW.HOID9}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T10') {return 'UM' + VIEW.HOID10}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T11') {return 'UM' + VIEW.HOID11}
													if (SELECT.COLUMNBY == 'UM' &amp; COLUMN.NAME == 'T12') {return 'UM' + VIEW.HOID12}
													return SELECT.UM_MOUVEMENT;
				"/>
				<ARG name="MEDECIN_MOUVEMENT" value="
					if (ROW != null &amp; SELECT.GROUPBY == 'MED') {return 'MD' + ROW.OID}
					if (ROW != null &amp; SELECT.GROUPBY == 'MDA') {return 'MA' + ROW.OID}
					if (ROW != null &amp; SELECT.GROUPBY == 'MDACLS01') {return 'LS01' + ROW.OID} 
					if (ROW != null &amp; SELECT.GROUPBY == 'MDACLS02') {return 'LS02' + ROW.OID} 
					if (ROW != null &amp; SELECT.GROUPBY == 'MDACLS03') {return 'LS03' + ROW.OID} 
					if (ROW != null &amp; SELECT.GROUPBY == 'SPM') {return 'SP' + ROW.OID}
					return SELECT.MEDECIN_MOUVEMENT "/>
			</VIEWLINK>
		</VIEWLINKS>
		<ONGLET excelLabel="Présents" label="Présents" multiTab="true">
			<CHARTx title="Entrées/sorties" type="pieChart2" subType="" maxItems="10" maxItemsSortOn="ENT" maxItemsSortSeq="D" sortField="TXT" sortSeq="A" condition="ROW.ENT != 0 || ROW.SOR != 0 ">
				<CATEGORY field="TXT" type="Char"/>
				<SERIE field="ENT" displayName="Entrées"/>
				<SERIE field="SOR" displayName="Sorties"/>
			</CHARTx>
			<CHARTx title="Externes / Ambulatoires" type="pieChart2" subType="" maxItems="10" maxItemsSortOn="EXTAMB" maxItemsSortSeq="D" sortField="TXT" sortSeq="A" condition="ROW.EXT != 0 || ROW.AMB != 0 ">
				<CATEGORY field="TXT" type="Char"/>
				<SERIE field="EXT" displayName="Externes"/>
				<SERIE field="AMB" displayName="Ambulatoires"/>
			</CHARTx>
			<CHARTx title="Journées" type="pieChart2" subType="" maxItems="10" maxItemsSortOn="JRN" maxItemsSortSeq="D" sortField="TXT" sortSeq="A" condition="ROW.JRN != 0">
				<CATEGORY field="TXT" type="Char"/>
				<SERIE field="JRN" displayName="Journées"/>
			</CHARTx>
			<DATAGRID title="" total="true" showOthers="true" headerHeight="36" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
				<INSERT name="DATAGRID_MULTITAB_STYLES"/>
				<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
				</COLUMN>
				<COLUMN dataField="COD" width="80" type="Char" visible="true" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text">
					<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
				</COLUMN>
				<COLUMN dataField="TXT" type="Char" minWidth="150" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" totalComplement="TOTAL" otherFunction="text" otherComplement="Autres">
				</COLUMN>
				<COLUMN dataField="LIT" type="Number" width="45" outputFormat="#" visible="true" headerText="Places" totalFunction="text" otherFunction="text" otherComplement="">
				</COLUMN>
				<COLUMN dataField="TAU" width="40" type="Number" visible="true" outputFormat="#,0%" fixed="false" headerText="Taux" textAlign="right" totalFunction="text" otherFunction="text">
					<CELLSTYLE name="fontWeight" value="bold"/>
				</COLUMN>
				<COLUMN dataField="N" width="80" visible="true" type="Number" outputFormat="= SELECT.DATA2" headerText="Total" textAlign="right" totalFunction="sum" otherFunction="sum">
				</COLUMN>
				<COLUMN dataField="N_P" type="Number" headerText="% / Total" width="40" outputFormat="0%" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="ROW.N / TOTALROW.N * 100"/>
				</COLUMN>
				<COLUMN dataField="N1" width="70" visibleCondition="VIEW.COLH1 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH1" columnData="= VIEW.COLI1" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N2" width="70" visibleCondition="VIEW.COLH2 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH2" columnData="= VIEW.COLI2" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N3" width="70" visibleCondition="VIEW.COLH3 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH3" columnData="= VIEW.COLI3" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N4" width="70" visibleCondition="VIEW.COLH4 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH4" columnData="= VIEW.COLI4" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N5" width="70" visibleCondition="VIEW.COLH5 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH5" columnData="= VIEW.COLI5" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N6" width="70" visibleCondition="VIEW.COLH6 != null" type="Number" selectable="true" outputFormat="#" fixed="false" headerText="VIEW.COLH6" columnData="= VIEW.COLI6" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N7" width="70" visibleCondition="VIEW.COLH7 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH7" columnData="= VIEW.COLI7" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N8" width="70" visibleCondition="VIEW.COLH8 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH8" columnData="= VIEW.COLI8" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N9" width="70" visibleCondition="VIEW.COLH9 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH9" columnData="= VIEW.COLI9" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N10" width="70" visibleCondition="VIEW.COLH10 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH10" columnData="= VIEW.COLI10" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N11" width="70" visibleCondition="VIEW.COLH11 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH11" columnData="= VIEW.COLI11" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N12" width="70" visibleCondition="VIEW.COLH12 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH12" columnData="= VIEW.COLI12" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N13" width="70" visibleCondition="VIEW.COLH13 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH13" columnData="= VIEW.COLI13" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N14" width="70" visibleCondition="VIEW.COLH14 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH14" columnData="= VIEW.COLI14" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N15" width="70" visibleCondition="VIEW.COLH15 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH15" columnData="= VIEW.COLI15" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N16" width="70" visibleCondition="VIEW.COLH16 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH16" columnData="= VIEW.COLI16" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N17" width="70" visibleCondition="VIEW.COLH17 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH17" columnData="= VIEW.COLI17" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N18" width="70" visibleCondition="VIEW.COLH18 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH18" columnData="= VIEW.COLI18" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N19" width="70" visibleCondition="VIEW.COLH19 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH19" columnData="= VIEW.COLI19" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
				<COLUMN dataField="N20" width="70" visibleCondition="VIEW.COLH20 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH20" columnData="= VIEW.COLI20" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
				</COLUMN>
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
