<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="PMSI000262" label="PMSI. CaseMix GHS OVALIDE" title="= 'PMSI. CaseMix GHS OVALIDE : ' + VIEW.LAST_MAT2A_TEXT" database="iCTI" swf="*CTI_view1" softCode="iCTI_pmsi" skipFirstSelection="true" globals="PMSI_globals.XML" componentsFile="PMSI_components.XML" typeEts="23" helpDokuWIkiDir="" helpDokuWIkiFile="pmsi000262"  helpFile="iCTI_PMSI_PMSI000262.HTML">
	<CACHE cachable="false" />
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
		<PROPERTY name="ROWS">
			<value><![CDATA[[EVAL 
				
				if ('[OPTION]' == 'ERR' ) {
					return "WHERE (	cti_nb_ghm IS DISTINCT FROM mat2a_nb_ghm OR 
									cti_nb_j IS DISTINCT FROM mat2a_nb_j OR
									cti_nb_exb IS DISTINCT FROM mat2a_nb_exb OR
									cti_ca_exb IS DISTINCT FROM mat2a_ca_exb OR
									cti_nb_rehosp IS DISTINCT FROM mat2a_nb_rehosp OR
									cti_ca_rehosp IS DISTINCT FROM mat2a_ca_rehosp OR
									cti_nb_exh IS DISTINCT FROM mat2a_nb_exh OR
									cti_ca_exh IS DISTINCT FROM mat2a_ca_exh OR
									cti_ca_ghs_theorique IS DISTINCT FROM mat2a_ca_ghs_theorique OR
									cti_forfait_facture IS DISTINCT FROM mat2a_forfait_facture) " ;
				}
				else {
					return "";
				}
				
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="EPMSI">
			<value><![CDATA[[EVAL 
				
				if ('[ENV.TYPEETS]' != '1') {
					return " AND traitement_epmsi IN ('21','22','23','24','30') ";
				}
				else {
					return " AND traitement_epmsi = '30' ";
				}
				
			EVAL]]]></value>
		</PROPERTY>
	</VIEWPROPERTIES>
	<SELECTIONS label="" displayText="= var display:String = '';
					
					if (SELECT.OPTION  != 'ALL') {
						display = display + '#B#' + SELECT.OPTION_LABEL + '#/B# ';
					}
					
					if (display != '') {
					}
					return display;
					
					"> 
		<GROUP label="Lignes à afficher">
			<FIELD name="OPTION" width="200" label="" UI="combo" default="ALL">
				<OPTION label="Toutes les lignes" data="ALL" />
				<OPTION label="Uniquement les lignes en erreur" data="ERR" showIfNotDefault="true" />
			</FIELD>
		</GROUP>
	</SELECTIONS>
	<QUERIES>
		<QUERY label="">
			<SQL>
				<select><![CDATA[ 
					SELECT
						'1',
						COALESCE(rss.ghs_id, 0),
						mat2a.ghs_code,
						
						COALESCE(rss.ghm_id, 0),
						mat2a.ghm_code,
						
						rss.cti_nb_ghm,
						rss.cti_nb_j,
						rss.cti_nb_exb,
						rss.cti_ca_exb,
						rss.cti_nb_rehosp,
						rss.cti_ca_rehosp,
						rss.cti_nb_exh,
						rss.cti_ca_exh,
						rss.cti_ca_ghs_theorique,
						rss.cti_forfait_facture,

						mat2a.mat2a_nb_ghm,
						mat2a.mat2a_nb_j,
						mat2a.mat2a_nb_exb,
						mat2a.mat2a_ca_exb,
						mat2a.mat2a_nb_rehosp,
						mat2a.mat2a_ca_rehosp,
						mat2a.mat2a_nb_exh,
						mat2a.mat2a_ca_exh,
						mat2a.mat2a_ca_ghs_theorique,
						mat2a.mat2a_forfait_facture
					FROM
						(
							SELECT
								mt2.ghs_code::numeric,
								mt2.ghm_code,
								round(mt2.eff) AS mat2a_nb_ghm,
								round(mt2.nb_j) AS mat2a_nb_j,
								round(mt2.nb_exb) AS mat2a_nb_exb,
								round(mt2.mnt_exb) AS mat2a_ca_exb,
								round(mt2.nb_rehosp) AS mat2a_nb_rehosp,
								round(mt2.mnt_rehosp) AS mat2a_ca_rehosp,
								round(mt2.nbj_exh) AS mat2a_nb_exh,
								round(mt2.mnt_exh) AS mat2a_ca_exh,
								round(mt2.mnt_ghs) AS mat2a_ca_ghs_theorique,
								round((mt2.mnt_rdth + mt2.mnt_rdth_ped + mt2.mnt_rea + mt2.mnt_rep + mt2.mnt_si + mt2.mnt_sc + mt2.mnt_dia + mt2.mnt_nn1 +
									mt2.mnt_nn2 + mt2.mnt_nn3 + mt2.mnt_ant + mt2.mnt_po + mt2.mnt_hyp + mt2.mnt_9615)) AS mat2a_forfait_facture
							FROM
								pmsi.w_mat2a_dgf_casemix mt2
								JOIN pmsi.p_mat2a_import ON p_mat2a_import.oid = mt2.mat2a_id
							WHERE
								p_mat2a_import.mat2a_annee::text || lpad(p_mat2a_import.mat2a_mois, 2, 0) = '[VIEW.LAST_MAT2A]'
						) mat2a 
						LEFT JOIN   
						(
							SELECT
								v_rss_1.ghs_id AS ghs_id,
								v_rss_1.ghs_code::numeric AS ghs_code,
								v_rss_1.ghm_id AS ghm_id,
								v_rss_1.ghm_code AS ghm_code,
								SUM(CASE WHEN cmd_code = '28' THEN v_rss_1.nb_seances ELSE 1 END) AS cti_nb_ghm,
								round(sum(CASE WHEN cmd_code = '28' THEN v_rss_1.nb_seances ELSE v_rss_1.duree_sejour END)) AS cti_nb_j,
								round(sum(CASE WHEN v_rss_1.rehosp_meme_ghm = '0' THEN v_rss_1.nb_exb ELSE 0 END)) AS cti_nb_exb,
								round(sum(CASE WHEN v_rss_1.rehosp_meme_ghm = '0' THEN v_rss_1.ca_ghs - v_rss_1.ca_ghs_theorique ELSE 0 END)) AS cti_ca_exb,
								round(sum(CASE WHEN v_rss_1.rehosp_meme_ghm = '1' THEN v_rss_1.nb_exb ELSE 0 END)) AS cti_nb_rehosp,
								round(sum(CASE WHEN v_rss_1.rehosp_meme_ghm = '1' THEN v_rss_1.ca_ghs - v_rss_1.ca_ghs_theorique ELSE 0 END)) AS cti_ca_rehosp,
								round(sum(v_rss_1.nb_exh)) AS cti_nb_exh,
								round(sum(v_rss_1.ca_exh)) AS cti_ca_exh,
								round(sum(v_rss_1.ca_ghs_theorique)) AS cti_ca_ghs_theorique,
								round(sum(v_rss_1.forfait_facture)) AS cti_forfait_facture
							FROM pmsi.v_rss_1
							WHERE
								date_sortie between '[VIEW.LAST_MAT2A_FROM]'::date AND '[VIEW.LAST_MAT2A_TO]'::date
								AND traitement_epmsi = '30'
								AND cas_code <> '*'
								AND v_rss_1.en_cours = '0'
							GROUP BY 1, 2,3,4
						) rss ON mat2a.ghs_code = rss.ghs_code AND mat2a.ghm_code = rss.ghm_code
					[VIEW.ROWS]
					ORDER BY 2
					;
				]]>
				</select>
				<FIELDS>
					<FIELD name="LVL"/>
					
					<FIELD name="GHS_ID"/>
					<FIELD name="GHS_CODE"/>
					
					<FIELD name="GHM_ID"/>
					<FIELD name="GHM_CODE"/>
					
					<FIELD name="CTI_NB_GHM"/>
					<FIELD name="CTI_NB_J"/>
					<FIELD name="CTI_NB_EXB"/>
					<FIELD name="CTI_CA_EXB"/>
					<FIELD name="CTI_NB_REH"/>
					<FIELD name="CTI_CA_REH"/>
					<FIELD name="CTI_NB_EXH"/>
					<FIELD name="CTI_CA_EXH"/>
					<FIELD name="CTI_CA_GHS_THEORIQUE"/>
					<FIELD name="CTI_FORFAIT_FACTURE"/>
					
					<FIELD name="MAT2A_NB_GHM"/>
					<FIELD name="MAT2A_NB_J"/>
					<FIELD name="MAT2A_NB_EXB"/>
					<FIELD name="MAT2A_CA_EXB"/>
					<FIELD name="MAT2A_NB_REH"/>
					<FIELD name="MAT2A_CA_REH"/>
					<FIELD name="MAT2A_NB_EXH"/>
					<FIELD name="MAT2A_CA_EXH"/>
					<FIELD name="MAT2A_CA_GHS_THEORIQUE"/>
					<FIELD name="MAT2A_FORFAIT_FACTURE"/>
				</FIELDS>
			</SQL>
			
			<SQL>
				<select><![CDATA[ 
					SELECT
						'9',
						
						0,
						'',
						
						0,
						'',
						
						SUM(rss.cti_nb_ghm),
						SUM(rss.cti_nb_j),
						SUM(rss.cti_nb_exb),
						SUM(rss.cti_ca_exb),
						SUM(rss.cti_nb_rehosp),
						SUM(rss.cti_ca_rehosp),
						SUM(rss.cti_nb_exh),
						SUM(rss.cti_ca_exh),
						SUM(rss.cti_ca_ghs_theorique),
						SUM(rss.cti_forfait_facture),

						SUM(mat2a.mat2a_nb_ghm),
						SUM(mat2a.mat2a_nb_j),
						SUM(mat2a.mat2a_nb_exb),
						SUM(mat2a.mat2a_ca_exb),
						SUM(mat2a.mat2a_nb_rehosp),
						SUM(mat2a.mat2a_ca_rehosp),
						SUM(mat2a.mat2a_nb_exh),
						SUM(mat2a.mat2a_ca_exh),
						SUM(mat2a.mat2a_ca_ghs_theorique),
						SUM(mat2a.mat2a_forfait_facture)
					FROM
						(
							SELECT
								mt2.ghs_code::numeric,
								mt2.ghm_code,
								round(mt2.eff) AS mat2a_nb_ghm,
								round(mt2.nb_j) AS mat2a_nb_j,
								round(mt2.nb_exb) AS mat2a_nb_exb,
								round(mt2.mnt_exb) AS mat2a_ca_exb,
								round(mt2.nb_rehosp) AS mat2a_nb_rehosp,
								round(mt2.mnt_rehosp) AS mat2a_ca_rehosp,
								round(mt2.nbj_exh) AS mat2a_nb_exh,
								round(mt2.mnt_exh) AS mat2a_ca_exh,
								round(mt2.mnt_ghs) AS mat2a_ca_ghs_theorique,
								round((mt2.mnt_rdth + mt2.mnt_rdth_ped + mt2.mnt_rea + mt2.mnt_rep + mt2.mnt_si + mt2.mnt_sc + mt2.mnt_dia + mt2.mnt_nn1 +
									mt2.mnt_nn2 + mt2.mnt_nn3 + mt2.mnt_ant + mt2.mnt_po + mt2.mnt_hyp + mt2.mnt_9615)) AS mat2a_forfait_facture
							FROM
								pmsi.w_mat2a_dgf_casemix mt2
								JOIN pmsi.p_mat2a_import ON p_mat2a_import.oid = mt2.mat2a_id
							WHERE
								p_mat2a_import.mat2a_annee::text || lpad(p_mat2a_import.mat2a_mois, 2, 0) = '[VIEW.LAST_MAT2A]'
						) mat2a 
						LEFT JOIN   
						(
							SELECT
								v_rss_1.ghs_id AS ghs_id,
								v_rss_1.ghs_code::numeric AS ghs_code,
								v_rss_1.ghm_id AS ghm_id,
								v_rss_1.ghm_code AS ghm_code,
								SUM(CASE WHEN cmd_code = '28' THEN v_rss_1.nb_seances ELSE 1 END) AS cti_nb_ghm,
								round(sum(CASE WHEN cmd_code = '28' THEN v_rss_1.nb_seances ELSE v_rss_1.duree_sejour END)) AS cti_nb_j,
								round(sum(CASE WHEN v_rss_1.rehosp_meme_ghm = '0' THEN v_rss_1.nb_exb ELSE 0 END)) AS cti_nb_exb,
								round(sum(CASE WHEN v_rss_1.rehosp_meme_ghm = '0' THEN v_rss_1.ca_ghs - v_rss_1.ca_ghs_theorique ELSE 0 END)) AS cti_ca_exb,
								round(sum(CASE WHEN v_rss_1.rehosp_meme_ghm = '1' THEN v_rss_1.nb_exb ELSE 0 END)) AS cti_nb_rehosp,
								round(sum(CASE WHEN v_rss_1.rehosp_meme_ghm = '1' THEN v_rss_1.ca_ghs - v_rss_1.ca_ghs_theorique ELSE 0 END)) AS cti_ca_rehosp,
								round(sum(v_rss_1.nb_exh)) AS cti_nb_exh,
								round(sum(v_rss_1.ca_exh)) AS cti_ca_exh,
								round(sum(v_rss_1.ca_ghs_theorique)) AS cti_ca_ghs_theorique,
								round(sum(v_rss_1.forfait_facture)) AS cti_forfait_facture
							FROM pmsi.v_rss_1
							WHERE
								date_sortie between '[VIEW.LAST_MAT2A_FROM]'::date AND '[VIEW.LAST_MAT2A_TO]'::date
								AND traitement_epmsi = '30'
								AND cas_code <> '*'
								AND v_rss_1.en_cours = '0'
							GROUP BY 1, 2,3,4
						) rss ON mat2a.ghs_code = rss.ghs_code AND mat2a.ghm_code = rss.ghm_code
					ORDER BY 2
					;
				]]>
				</select>
				<FIELDS>
					<FIELD name="LVL"/>
					
					<FIELD name="GHS_ID"/>
					<FIELD name="GHS_CODE"/>
					
					<FIELD name="GHM_ID"/>
					<FIELD name="GHM_CODE"/>
					
					<FIELD name="CTI_NB_GHM"/>
					<FIELD name="CTI_NB_J"/>
					<FIELD name="CTI_NB_EXB"/>
					<FIELD name="CTI_CA_EXB"/>
					<FIELD name="CTI_NB_REH"/>
					<FIELD name="CTI_CA_REH"/>
					<FIELD name="CTI_NB_EXH"/>
					<FIELD name="CTI_CA_EXH"/>
					<FIELD name="CTI_CA_GHS_THEORIQUE"/>
					<FIELD name="CTI_FORFAIT_FACTURE"/>
					
					<FIELD name="MAT2A_NB_GHM"/>
					<FIELD name="MAT2A_NB_J"/>
					<FIELD name="MAT2A_NB_EXB"/>
					<FIELD name="MAT2A_CA_EXB"/>
					<FIELD name="MAT2A_NB_REH"/>
					<FIELD name="MAT2A_CA_REH"/>
					<FIELD name="MAT2A_NB_EXH"/>
					<FIELD name="MAT2A_CA_EXH"/>
					<FIELD name="MAT2A_CA_GHS_THEORIQUE"/>
					<FIELD name="MAT2A_FORFAIT_FACTURE"/>
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			<SQL>
				<select><![CDATA[	
				
						SELECT 'LAST_MAT2A'::text, coalesce(max(mat2a_annee::text || lpad(mat2a_mois, 2, 0)::text), '2099-12-31') FROM pmsi.p_mat2a_import
					UNION
						SELECT 'LAST_MAT2A_FROM'::text, coalesce(to_char(date_trunc('year', to_date(max(mat2a_annee::text || lpad(mat2a_mois, 2, 0)::text), 'YYYYMM')), 'YYYY-MM-DD'), '2099-12-31') FROM pmsi.p_mat2a_import
					UNION
						SELECT 'LAST_MAT2A_TO'::text, coalesce(to_char((to_date(max(mat2a_annee::text || lpad(mat2a_mois, 2, 0)::text), 'YYYYMM') + interval '1 month' - interval '1 day'), 'YYYY-MM-DD'), '2099-12-31') FROM pmsi.p_mat2a_import
					UNION
						SELECT 'LAST_MAT2A_TEXT'::text, base.cti_to_french(to_char((to_date(max(mat2a_annee::text || lpad(mat2a_mois, 2, 0)::text), 'YYYYMM') + interval '1 month' - interval '1 day'), 'Mon YYYY')) FROM pmsi.p_mat2a_import
				]]></select>
				<FIELDS>
					<FIELD name="name"/>
					<FIELD name="value"/>
				</FIELDS>
			</SQL>
		</QUERY>
	</QUERIES>
	<PRESENTATION>
		<VIEWLINKS>
			<VIEWLINK label="Liste RSS" shortLabel="Liste RSS" view="PMSI000005.XML">
				<ARG name="_OPTION_FORCEDEFAULT"><value><![CDATA[ return '1'; ]]></value></ARG>
				<ARG name="GHM"><value><![CDATA[ return 'GH' + ROW.GHM_ID; ]]></value></ARG>
				<ARG name="GHS"><value><![CDATA[ return 'GS' + ROW.GHS_ID; ]]></value></ARG>
				<ARG name="CAS_W"><value><![CDATA[ return '0'; ]]></value></ARG>
				<ARG name="CHAMP"><value><![CDATA[ return 'EXVA'; ]]></value></ARG>
				<ARG name="PERIODE"><value><![CDATA[ return VIEW.LAST_MAT2A_FROM; ]]></value></ARG>
				<ARG name="TOPERIODE"><value><![CDATA[ return VIEW.LAST_MAT2A_TO; ]]></value></ARG>
				<ARG name="GROUPBY"><value><![CDATA[ return 'GHS'; ]]></value></ARG>
				<ARG name="T_DUREE_SEJOUR"><value><![CDATA[ return '-1'; ]]></value></ARG>
			</VIEWLINK>
			<VIEWLINK label="C.A. RSS" shortLabel="C.A. RSS" view="PMSI000007.XML">
				<ARG name="_OPTION_FORCEDEFAULT"><value><![CDATA[ return '1'; ]]></value></ARG>
				<ARG name="GHM"><value><![CDATA[ return 'GH' + ROW.GHM_ID; ]]></value></ARG>
				<ARG name="GHS"><value><![CDATA[ return 'GS' + ROW.GHS_ID; ]]></value></ARG>
				<ARG name="CAS_W"><value><![CDATA[ return '0'; ]]></value></ARG>
				<ARG name="CHAMP"><value><![CDATA[ return 'EXVA'; ]]></value></ARG>
				<ARG name="PERIODE"><value><![CDATA[ return VIEW.LAST_MAT2A_FROM; ]]></value></ARG>
				<ARG name="TOPERIODE"><value><![CDATA[ return VIEW.LAST_MAT2A_TO; ]]></value></ARG>
				<ARG name="GROUPBY"><value><![CDATA[ return 'GHS'; ]]></value></ARG>
				<ARG name="QEXB"><value><![CDATA[ return 'EXBOUI'; ]]></value></ARG>
				<ARG name="T_DUREE_SEJOUR"><value><![CDATA[ return '-1'; ]]></value></ARG>
			</VIEWLINK>
		</VIEWLINKS>
		<ONGLET>
			<DATAGRID title="Chiffrier OVALIDE" headerHeight="48" total="true"
				totalRowInRows="= ROW.LVL == '9'">
				
				
				<COLUMN dataField="GHS_ID" type="Char" width="100" headerText="GHM id" visible="false" />
				<COLUMN dataField="GHS_CODE" type="Char" width="100" headerText="GHS" />
				
				
				
				<COLUMN dataField="GHM_ID" type="Char" width="100" headerText="GHM id" visible="false" />
				<COLUMN dataField="GHM_CODE" type="Char" width="100" headerText="GHM" />
				
				
				
				<COLUMN dataField="CTI_NB_GHM" type="Number" width="70" outputFormat="#" headerText="Nb RSA&#xD;CTI" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_NB_GHM != ROW.MAT2A_NB_GHM" />
				</COLUMN>
				<COLUMN dataField="MAT2A_NB_GHM" type="Number" width="70" outputFormat="#" headerText="Nb RSA&#xD;OVALIDE" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
				</COLUMN>
				
				
				
				<COLUMN dataField="CTI_NB_J" type="Number" width="70" outputFormat="#" headerText="Nb jours&#xD;CTI" textAlign="left">
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_NB_J != ROW.MAT2A_NB_J" />
				</COLUMN>
				<COLUMN dataField="MAT2A_NB_J" type="Number" width="70" outputFormat="#" headerText="Nb jours&#xD;OVALIDE" textAlign="left" />
				
				
				
				<COLUMN dataField="CTI_NB_EXB" type="Number" width="70" outputFormat="#" headerText="Nb EXB&#xD;CTI" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_NB_EXB != ROW.MAT2A_NB_EXB" />
				</COLUMN>
				<COLUMN dataField="MAT2A_NB_EXB" type="Number" width="70" outputFormat="#" headerText="Nb EXB&#xD;OVALIDE" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
				</COLUMN>
				
				
				
				<COLUMN dataField="CTI_CA_EXB" type="Number" width="80" outputFormat="0#E" headerText="CA EXB&#xD;CTI" textAlign="left">
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_CA_EXB != ROW.MAT2A_CA_EXB" />
				</COLUMN>
				<COLUMN dataField="MAT2A_CA_EXB" type="Number" width="80" outputFormat="0#E" headerText="CA EXB&#xD;OVALIDE" textAlign="left" />
				
				
				
				<COLUMN dataField="CTI_NB_REH" type="Number" width="70" outputFormat="#" headerText="Nb Rehosp&#xD;CTI" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_NB_REH != ROW.MAT2A_NB_REH" />
				</COLUMN>
				<COLUMN dataField="MAT2A_NB_REH" type="Number" width="70" outputFormat="#" headerText="Nb Rehosp&#xD;OVALIDE" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
				</COLUMN>
				
				
				
				<COLUMN dataField="CTI_CA_REH" type="Number" width="80" outputFormat="0#E" headerText="CA Rehosp&#xD;CTI" textAlign="left">
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_CA_REH != ROW.MAT2A_CA_REH" />
				</COLUMN>
				<COLUMN dataField="MAT2A_CA_REH" type="Number" width="80" outputFormat="0#E" headerText="CA Rehosp&#xD;OVALIDE" textAlign="left" />
				
				
				
				
				<COLUMN dataField="CTI_NB_EXH" type="Number" width="70" outputFormat="#" headerText="Nb EXH&#xD;CTI" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_NB_EXH != ROW.MAT2A_NB_EXH" />
				</COLUMN>
				<COLUMN dataField="MAT2A_NB_EXH" type="Number" width="70" outputFormat="#" headerText="Nb EXH&#xD;OVALIDE" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
				</COLUMN>
				
				
				
				<COLUMN dataField="CTI_CA_EXH" type="Number" width="80" outputFormat="0#E" headerText="CA EXH&#xD;CTI" textAlign="left">
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_CA_EXH != ROW.MAT2A_CA_EXH" />
				</COLUMN>
				<COLUMN dataField="MAT2A_CA_EXH" type="Number" width="80" outputFormat="0#E" headerText="CA EXH&#xD;OVALIDE" textAlign="left" />
				
				
				
				<COLUMN dataField="CTI_CA_GHS_THEORIQUE" type="Number" width="80" outputFormat="0#E" headerText="CA GHS&#xD;CTI" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_CA_GHS_THEORIQUE != ROW.MAT2A_CA_GHS_THEORIQUE" />
				</COLUMN>
				<COLUMN dataField="MAT2A_CA_GHS_THEORIQUE" type="Number" width="80" outputFormat="0#E" headerText="CA GHS&#xD;OVALIDE" textAlign="left">
					<HEADERCELLSTYLE name="backgroundColor" value="0xFFD393"/>
				</COLUMN>
				
				
				
				<COLUMN dataField="CTI_FORFAIT_FACTURE" type="Number" width="80" outputFormat="0#E" headerText="CA Forfaits&#xD;CTI" textAlign="left">
					<CELLSTYLE name="cellIndicator" value="circle, 5, right middle, 0xFFA500" condition="ROW.CTI_FORFAIT_FACTURE != ROW.MAT2A_FORFAIT_FACTURE" />
				</COLUMN>
				<COLUMN dataField="MAT2A_FORFAIT_FACTURE" type="Number" width="80" outputFormat="0#E" headerText="CA Forfaits&#xD;OVALIDE" textAlign="left" />
				
				
				<COLUMN dataField="" type="Char" width="100" headerText="" />
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
