pour déploiement auto v2 via gitlab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

520 lines
26 KiB

<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="PMSI000177" label="PMSI. Simulation sévérité"
title="= 'Simulation taux sévérité par ' + SELECT.GROUPBY_LABEL + ' (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ') - ' + SELECT.VERSION_GROUPAGE_LABEL"
database="iCTI" swf="*CTI_view1" softCode="iCTI_pmsi"
globals="PMSI_globals.XML" componentsFile="PMSI_components.XML" visibleKeys="consolidationOnly"
helpDokuWIkiDir="pmsi:sejours_analyse_globale:severites"
helpDokuWIkiFile="pmsi000141">
<VIEWPROPERTIES componentName="PROPERTIES_RSS"/>
<VIEWPROPERTIES componentName="PROPERTIES_SELECT_TABTREE"/>
<VIEWPROPERTIES>
<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
<PROPERTY name="FINESS_COMP_SELECT" value="[EVAL
$select = '';
if ('[FINESS_COMP]' != '-1') {
$mode = substr('[FINESS_COMP]',0,2);
$oid = '[FINESS_COMP]';
if ($mode == 'LS') {
$section_id = PMSI_get_section_id('[FINESS_COMP]');
$oid = PMSI_get_classe_oid('[FINESS_COMP]');
}
if ($mode != 'LI' &amp;&amp; $mode != 'SL' &amp;&amp; $mode != 'LS' ) {
$mode = 'FI';
}
if ($mode == 'LI' || $mode == 'SL') {
$oid = substr('[FINESS_COMP]',2);
}
$subselect_select = '';
if ($mode == 'LI') {$subselect_select = &quot; v_rss_1.finess_id IN (SELECT to_id FROM base.t_listes_contenu WHERE liste_id = $oid)&quot;;}
if ($mode == 'SL') {$subselect_select = &quot; v_rss_1.finess_id NOT IN (SELECT to_id FROM base.t_listes_contenu WHERE liste_id = $oid)&quot;;}
if ($mode == 'LS') {$subselect_select = &quot; v_rss_1.finess_id IN (SELECT oid FROM base.t_finess WHERE $section_id = $oid)&quot;;}
if ($mode == 'FI') {$subselect_select = &quot; v_rss_1.finess = '$oid' &quot;;}
if ($subselect_select != '') {
$select = $select. &quot; AND $subselect_select &quot;;
}
}
return $select;
EVAL]" />
</VIEWPROPERTIES>
<SELECTIONS label="Paramètres de l'analyse" displayText="=
'Etablissement à étudier : ' + SELECT.FINESS_COMP_LABEL + ' (' + SELECT.NB_SEJ_SIGNIF_LABEL + ')'
">
<GROUP label="Période">
<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
<FIELD name="PERIODE" label="" UI="combo" tree="true" width="200" default="2014-01-01" printable="false" globalListProvider="DATE_DEBUT">
</FIELD>
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" printable="false" globalListProvider="DATE_FIN">
</FIELD>
</GROUP>
<GROUP label="Etablissement à étudier">
<FIELD name="FINESS_COMP" label="" UI="combo" tree="true" width="400" default="-1" showIfNotDefault="true" globalListProvider="Etablissement">
</FIELD>
</GROUP>
<GROUP label="Regroupements">
<FIELD name="GROUPBY" width="220" label="" UI="combo" default="4" tree="true">
<OPTION label="Options" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
</FIELD>
<FIELD name="GROUPBY_TAB" width="100" 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" width="220" label="" UI="combo" default="-1" tree="true">
<OPTION label="Pas de second niveau" data="-1"/>
<OPTION label="Options" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
</FIELD>
</GROUP>
<GROUP label="Sejours significatifs">
<FIELD name="NB_SEJ_SIGNIF" width="220" label="" UI="combo" default="10" tree="false">
<OPTION label="5 Séjours significatifs par racine de GHM" data="5"/>
<OPTION label="10 Séjours significatifs par racine de GHM" data="10"/>
<OPTION label="20 Séjours significatifs par racine de GHM" data="20"/>
<OPTION label="30 Séjours significatifs par racine de GHM" data="30"/>
<OPTION label="40 Séjours significatifs par racine de GHM" data="40"/>
<OPTION label="50 Séjours significatifs par racine de GHM" data="50"/>
</FIELD>
</GROUP>
</SELECTIONS>
<SELECTIONS componentName="FILTRES_RSS_SOUSSELECTIONS"/>
<SELECTIONS componentName="FILTRES_RSS_SELECTIONS"/>
<QUERIES>
<QUERY label="">
<SQL optimizer="V_RSS_X" cacheEnabled="true" select="
UPDATE [VIEW.TMPTABLEE] w_tablee SET
ref_taux_1 = w_table.ref_taux_1,
ref_taux_2 = w_table.ref_taux_2,
ref_taux_3 = w_table.ref_taux_3,
ref_taux_4 = w_table.ref_taux_4,
ref_pu_1 = w_table.ref_pu_1,
ref_pu_2 = w_table.ref_pu_2,
ref_pu_3 = w_table.ref_pu_3,
ref_pu_4 = w_table.ref_pu_4,
ref_pu_12 = w_table.ref_pu_12,
ref_pu_123 = w_table.ref_pu_123,
ref_pu_1234 = w_table.ref_pu_1234,
coeff_pu_12 = (w_table.ref_pu_12 / CASE WHEN ets_pu_12 &lt;&gt;0 THEN ets_pu_12 ELSE w_table.ref_pu_12 END) -1,
coeff_pu_123 = (w_table.ref_pu_123 / CASE WHEN ets_pu_123 &lt;&gt;0 THEN ets_pu_123 ELSE w_table.ref_pu_123 END) -1,
coeff_pu_1234 = (w_table.ref_pu_1234 / CASE WHEN ets_pu_1234 &lt;&gt;0 THEN ets_pu_1234 ELSE w_table.ref_pu_1234 END) -1
FROM [VIEW.TMPTABLE] w_table
WHERE w_table.ghm5_id = w_tablee.ghm5_id;
UPDATE [VIEW.TMPTABLEE] SET
coeff_pu_12 = 0
WHERE coeff_pu_12 &lt; 0;
UPDATE [VIEW.TMPTABLEE] SET
coeff_pu_123 = 0
WHERE coeff_pu_123 &lt; 0;
UPDATE [VIEW.TMPTABLEE] SET
coeff_pu_1234 = 0
WHERE coeff_pu_1234 &lt; 0;
">
</SQL>
<SQL optimizer="V_RSS_X" cacheEnabled="false" select="
SELECT
[VIEW.SELECT_TABTREE_COLUMNS],
count(DISTINCT v_rsf_detail_1.rss_id) AS nb,
count(CASE WHEN severite_ghm_code = '1' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_1,
count(CASE WHEN severite_ghm_code = '2' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_2,
count(CASE WHEN severite_ghm_code = '3' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_3,
count(CASE WHEN severite_ghm_code = '4' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_4,
SUM(prix_unitaire * coefficient_mco * coeff_pu_12) AS mt_ecart_12,
SUM(prix_unitaire * coefficient_mco * coeff_pu_123) AS mt_ecart_123,
SUM(prix_unitaire * coefficient_mco * coeff_pu_1234) AS mt_ecart_1234
FROM #V_RSS_X#
JOIN pmsi.v_rsf_detail_1 ON (v_rss_1.rss_id = v_rsf_detail_1.rss_id AND prestation_code = 'GHS')
JOIN [VIEW.TMPTABLEE] w_ref_sev ON (v_rss_1.finess = w_ref_sev.finess AND v_rss_1.ghm5_id = w_ref_sev.ghm5_id)
, [VIEW.SELECT_TABTREE_VIEW]
WHERE mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
AND duree_sejour > 2 AND severite_ghm_code IN ('1','2','3','4')
[VIEW.FILTRE_RSS_SELECT]
[VIEW.FINESS_COMP_SELECT]
[VIEW.SELECT_TABTREE_WHERE]
GROUP BY 1,2,3,4,5,6,7,8,9,10,11
ORDER BY 2,5,7
">
<FIELDS>
<FIELD name="TABD"/>
<FIELD name="TABDL"/>
<FIELD name="TABDLL"/>
<FIELD name="OID1"/>
<FIELD name="COD1"/>
<FIELD name="OID2"/>
<FIELD name="COD2"/>
<FIELD name="OID"/>
<FIELD name="COD"/>
<FIELD name="TXT"/>
<FIELD name="LVL"/>
<FIELD name="NB_RSA"/>
<FIELD name="TX_1"/>
<FIELD name="TX_2"/>
<FIELD name="TX_3"/>
<FIELD name="TX_4"/>
<FIELD name="MT_12"/>
<FIELD name="MT_123"/>
<FIELD name="MT_1234"/>
</FIELDS>
</SQL>
</QUERY>
<QUERY label="">
<SQL optimizer="V_RSS_X" cacheEnabled="false" select="
(SELECT
v_rss_1.ghm5_id,
v_rss_1.ghm5_code,
v_rss_1.ghm5_texte,
ref_taux_1,
ref_taux_2,
ref_taux_3,
ref_taux_4,
ref_pu_1,
ref_pu_2,
ref_pu_3,
ref_pu_4,
ref_pu_12,
ref_pu_123,
ref_pu_1234,
count(DISTINCT v_rsf_detail_1.rss_id) AS nb,
count(CASE WHEN severite_ghm_code = '1' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_1,
count(CASE WHEN severite_ghm_code = '2' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_2,
count(CASE WHEN severite_ghm_code = '3' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_3,
count(CASE WHEN severite_ghm_code = '4' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_4,
SUM(prix_unitaire * coefficient_mco * coeff_pu_12) AS mt_ecart_12,
SUM(prix_unitaire * coefficient_mco * coeff_pu_123) AS mt_ecart_123,
SUM(prix_unitaire * coefficient_mco * coeff_pu_1234) AS mt_ecart_1234
FROM #V_RSS_X#
JOIN pmsi.v_rsf_detail_1 ON (v_rss_1.rss_id = v_rsf_detail_1.rss_id AND prestation_code = 'GHS')
JOIN [VIEW.TMPTABLEE] w_ref_sev ON (v_rss_1.finess = w_ref_sev.finess AND v_rss_1.ghm5_id = w_ref_sev.ghm5_id)
WHERE mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
AND duree_sejour > 2 AND severite_ghm_code IN ('1','2','3','4')
[VIEW.FILTRE_RSS_SELECT]
[VIEW.FINESS_COMP_SELECT]
GROUP BY 1,2,3,4,5,6,7,8,9,10,11,12,13,14
)
UNION ALL
(SELECT
-9999999,
'TOTAL',
'',
ref_tot_taux_1,
ref_tot_taux_2,
ref_tot_taux_3,
ref_tot_taux_4,
ref_tot_pu_1,
ref_tot_pu_2,
ref_tot_pu_3,
ref_tot_pu_4,
0,
0,
0,
count(DISTINCT v_rsf_detail_1.rss_id) AS nb,
count(CASE WHEN severite_ghm_code = '1' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_1,
count(CASE WHEN severite_ghm_code = '2' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_2,
count(CASE WHEN severite_ghm_code = '3' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_3,
count(CASE WHEN severite_ghm_code = '4' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS taux_4,
SUM(prix_unitaire * coefficient_mco * coeff_pu_12) AS mt_ecart_12,
SUM(prix_unitaire * coefficient_mco * coeff_pu_123) AS mt_ecart_123,
SUM(prix_unitaire * coefficient_mco * coeff_pu_1234) AS mt_ecart_1234
FROM #V_RSS_X#
JOIN pmsi.v_rsf_detail_1 ON (v_rss_1.rss_id = v_rsf_detail_1.rss_id AND prestation_code = 'GHS')
JOIN [VIEW.TMPTABLEE] w_ref_sev ON (v_rss_1.finess = w_ref_sev.finess AND v_rss_1.ghm5_id = w_ref_sev.ghm5_id)
JOIN [VIEW.TMPTABLET] w_ref_sev_tot ON (1=1)
WHERE mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
AND duree_sejour > 2 AND severite_ghm_code IN ('1','2','3','4')
[VIEW.FILTRE_RSS_SELECT]
[VIEW.FINESS_COMP_SELECT]
GROUP BY 1,2,3,4,5,6,7,8,9,10,11,12,13
)
ORDER BY 2
">
<FIELDS>
<FIELD name="OID"/>
<FIELD name="COD"/>
<FIELD name="TXT"/>
<FIELD name="RTX_1"/>
<FIELD name="RTX_2"/>
<FIELD name="RTX_3"/>
<FIELD name="RTX_4"/>
<FIELD name="RPU_1"/>
<FIELD name="RPU_2"/>
<FIELD name="RPU_3"/>
<FIELD name="RPU_4"/>
<FIELD name="RPU_12"/>
<FIELD name="RPU_123"/>
<FIELD name="RPU_1234"/>
<FIELD name="NB_RSA"/>
<FIELD name="TX_1"/>
<FIELD name="TX_2"/>
<FIELD name="TX_3"/>
<FIELD name="TX_4"/>
<FIELD name="MT_12"/>
<FIELD name="MT_123"/>
<FIELD name="MT_1234"/>
</FIELDS>
</SQL>
</QUERY>
<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false" forRows="false">
<SQL optimizer="V_RSS_X" cacheEnabled="false" select="
SELECT 'TMPTABLE', cache_table FROM cache.cti_cache_create_table_from_select('[DOUBLEQUOTES(
SELECT
ghm5_id,
count(DISTINCT v_rsf_detail_1.rss_id) AS ref_nb,
count(CASE WHEN severite_ghm_code = '1' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS ref_taux_1,
count(CASE WHEN severite_ghm_code = '2' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS ref_taux_2,
count(CASE WHEN severite_ghm_code = '3' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS ref_taux_3,
count(CASE WHEN severite_ghm_code = '4' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS ref_taux_4,
AVG(CASE WHEN severite_ghm_code IN ('1','2') THEN prix_unitaire ELSE null END) AS ref_pu_12,
AVG(CASE WHEN severite_ghm_code IN ('1','2','3') THEN prix_unitaire ELSE null END) AS ref_pu_123,
AVG(CASE WHEN severite_ghm_code IN ('1','2','3','4') THEN prix_unitaire ELSE null END) AS ref_pu_1234,
AVG(CASE WHEN severite_ghm_code IN ('1') THEN prix_unitaire ELSE null END) AS ref_pu_1,
AVG(CASE WHEN severite_ghm_code IN ('2') THEN prix_unitaire ELSE null END) AS ref_pu_2,
AVG(CASE WHEN severite_ghm_code IN ('3') THEN prix_unitaire ELSE null END) AS ref_pu_3,
AVG(CASE WHEN severite_ghm_code IN ('4') THEN prix_unitaire ELSE null END) AS ref_pu_4
FROM #V_RSS_X#
JOIN pmsi.v_rsf_detail_1 ON (v_rss_1.rss_id = v_rsf_detail_1.rss_id AND prestation_code = 'GHS')
WHERE mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
AND duree_sejour > 2 AND severite_ghm_code IN ('1','2','3','4')
[VIEW.FILTRE_RSS_SELECT]
GROUP BY 1
)DOUBLEQUOTES]', 'iCTI_pmsi', false) AS (cache_table text, comment text)
">
<FIELDS>
<FIELD name="name"/>
<FIELD name="value"/>
</FIELDS>
</SQL>
<SQL optimizer="V_RSS_X" cacheEnabled="false" select="
SELECT 'TMPTABLEE', cache_table FROM cache.cti_cache_create_table_from_select('[DOUBLEQUOTES(
SELECT
v_rss_1.finess,
ghm5_id,
0.00000000 AS ref_taux_1,
0.00000000 AS ref_taux_2,
0.00000000 AS ref_taux_3,
0.00000000 AS ref_taux_4,
0.00000000 AS ref_pu_1,
0.00000000 AS ref_pu_2,
0.00000000 AS ref_pu_3,
0.00000000 AS ref_pu_4,
0.00000000 AS ref_pu_12,
0.00000000 AS ref_pu_123,
0.00000000 AS ref_pu_1234,
0.00000000 AS coeff_pu_12,
0.00000000 AS coeff_pu_123,
0.00000000 AS coeff_pu_1234,
AVG(CASE WHEN severite_ghm_code IN ('1','2') THEN prix_unitaire ELSE null END) AS ets_pu_12,
AVG(CASE WHEN severite_ghm_code IN ('1','2','3') THEN prix_unitaire ELSE null END) AS ets_pu_123,
AVG(CASE WHEN severite_ghm_code IN ('1','2','3','4') THEN prix_unitaire ELSE null END) AS ets_pu_1234
FROM #V_RSS_X#
JOIN pmsi.v_rsf_detail_1 ON (v_rss_1.rss_id = v_rsf_detail_1.rss_id AND prestation_code = 'GHS')
WHERE mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
AND duree_sejour > 2 AND severite_ghm_code IN ('1','2','3','4')
[VIEW.FILTRE_RSS_SELECT]
[VIEW.FINESS_COMP_SELECT]
GROUP BY 1,2
HAVING count(DISTINCT v_rsf_detail_1.rss_id) >= [NB_SEJ_SIGNIF]
)DOUBLEQUOTES]', 'iCTI_pmsi', false) AS (cache_table text, comment text)
">
<FIELDS>
<FIELD name="name"/>
<FIELD name="value"/>
</FIELDS>
</SQL>
<SQL optimizer="V_RSS_X" cacheEnabled="false" select="
SELECT 'TMPTABLET', cache_table FROM cache.cti_cache_create_table_from_select('[DOUBLEQUOTES(
SELECT
count(DISTINCT v_rsf_detail_1.rss_id) AS ref_tot_nb,
count(CASE WHEN severite_ghm_code = '1' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS ref_tot_taux_1,
count(CASE WHEN severite_ghm_code = '2' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS ref_tot_taux_2,
count(CASE WHEN severite_ghm_code = '3' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS ref_tot_taux_3,
count(CASE WHEN severite_ghm_code = '4' THEN 1 ELSE null END) * 100.00 / count(DISTINCT v_rsf_detail_1.rss_id) AS ref_tot_taux_4,
AVG(CASE WHEN severite_ghm_code IN ('1') THEN prix_unitaire ELSE null END) AS ref_tot_pu_1,
AVG(CASE WHEN severite_ghm_code IN ('2') THEN prix_unitaire ELSE null END) AS ref_tot_pu_2,
AVG(CASE WHEN severite_ghm_code IN ('3') THEN prix_unitaire ELSE null END) AS ref_tot_pu_3,
AVG(CASE WHEN severite_ghm_code IN ('4') THEN prix_unitaire ELSE null END) AS ref_tot_pu_4
FROM #V_RSS_X#
JOIN pmsi.v_rsf_detail_1 ON (v_rss_1.rss_id = v_rsf_detail_1.rss_id AND prestation_code = 'GHS')
WHERE mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
AND duree_sejour > 2 AND severite_ghm_code IN ('1','2','3','4')
[VIEW.FILTRE_RSS_SELECT]
)DOUBLEQUOTES]', 'iCTI_pmsi', false) AS (cache_table text, comment text)
">
<FIELDS>
<FIELD name="name"/>
<FIELD name="value"/>
</FIELDS>
</SQL>
</QUERY>
</QUERIES>
<PRESENTATION>
<VIEWLINKS>
<VIEWLINKx label="Liste des RSS" shortLabel="Liste RSS" view="PMSI000005.XML" componentName="RSS_BASE_VIEWLINK">
<ARG name="T_DUREE_SEJOUR" value=" if (COLUMN.NAME == 'NB_RS0') {return 'DU0'}
if (COLUMN.NAME == 'P_RS0') {return 'DU0'}
if (COLUMN.NAME == 'NB_RS1') {return 'DU1'}
if (COLUMN.NAME == 'P_RS1') {return 'DU1'}
if (COLUMN.NAME == 'NB_RS2') {return 'DU2'}
if (COLUMN.NAME == 'P_RS2') {return 'DU2'}
if (COLUMN.NAME == 'NB_RSX') {return 'X'}
if (COLUMN.NAME == 'P_RSX') {return 'X'}
if (COLUMN.NAME == 'NB_SEQ') {return 'S'}
if (COLUMN.NAME == 'P_SEA') {return 'S'}"/>
</VIEWLINKx>
</VIEWLINKS>
<ONGLET excelLabel="Simulation" label="Simulation" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
<CHARTx title="Décomposition des plus fréquents" type="columnChart" subType="stacked" maxItems="10" sortField="NB_RSA" sortSeq="D" visibleCondition="SELECT.GROUPBY != 'AMSOR' &amp;&amp; SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
<CATEGORY field="COD" type="Char"/>
<SERIE field="NB_RS0" displayName="0 nuit"/>
<SERIE field="NB_RS1" displayName="1 nuit"/>
<SERIE field="NB_RS2" displayName="2 nuits"/>
<SERIE field="NB_RSX" displayName="&gt; 2 nuits"/>
<SERIE field="NB_SEA" displayName="Séances"/>
</CHARTx>
<CHARTx title="Evolution" type="columnChart" subType="stacked" maxItems="36" maxItemsSortOn="COD" maxItemsSortSeq="D" sortField="COD" sortSeq="A" visibleCondition="SELECT.GROUPBY == 'AMSOR' || SELECT.GROUPBY == 'MSOR'" condition="ROW.LVL == '1'">
<CATEGORY field="COD" type="Char"/>
<SERIE field="NB_RS0" displayName="0 nuit"/>
<SERIE field="NB_RS1" displayName="1 nuit"/>
<SERIE field="NB_RS2" displayName="2 nuits"/>
<SERIE field="NB_RSX" displayName="&gt; 2 nuits"/>
<SERIE field="NB_SEA" displayName="Séances"/>
</CHARTx>
<DATAGRID title="" total="true" showOthers="true" headerHeight="36" variableRowHeight="true" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'"
sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')">
<ROWSTYLE name="fontSize" value="11"/>
<FOOTERROWSTYLE name="fontSize" value="11"/>
<ROWSTYLE name="rowHeight" value="20" condition="ROW.LVL == '1' &amp;&amp; SELECT.GROUPBY_2 != '-1' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'"/>
<ROWSTYLE name="backgroundColor" value="0xFFD393" condition="ROW.LVL == '1' &amp;&amp; SELECT.GROUPBY_2 != '-1' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'"/>
<ROWSTYLE name="fontWeight" value="bold" condition="ROW.LVL == '1' &amp;&amp; SELECT.GROUPBY_2 != '-1' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'"/>
<ROWSTYLE name="borderSides" value="top bottom" condition="ROW.LVL == '1' &amp;&amp; SELECT.GROUPBY_2 != '-1' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'"/>
<ROWSTYLE name="borderStyle" value="solid" condition="ROW.LVL == '1' &amp;&amp; SELECT.GROUPBY_2 != '-1' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'"/>
<ROWSTYLE name="borderThickness" value="2" condition="ROW.LVL == '1' &amp;&amp; SELECT.GROUPBY_2 != '-1' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'"/>
<COLUMN dataField="LVL" width="50" type="Char" visible="false" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="OID1" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="COD1" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="OID2" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="COD2" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="COD" width="70" type="Char" visible="true" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
<CELLSTYLE name="fontSize" value="11"/>
<CELLSTYLE name="paddingLeft" value="15" condition="ROW.LVL == '2' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'"/>
</COLUMN>
<COLUMN dataField="TXT" type="Char" minWidth="200" headerText="Texte" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="Autres">
<CELLSTYLE name="fontSize" value="11"/>
</COLUMN>
<COLUMN dataField="NB_RSA" fixed="false" width="60" type="Number" outputFormat="#" headerText="ETS Séjours" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="TX_2" width="60" type="Number" outputFormat="#%" headerText="ETS Taux 2" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="TX_3" width="60" type="Number" outputFormat="#%" headerText="ETS Taux 3" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="TX_4" width="60" type="Number" outputFormat="#%" headerText="ETS Taux 4" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="MT_12" width="100" type="Number" outputFormat="#E" currency="" currencyAlign="right" headerText="Gain (12)" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="MT_123" width="100" type="Number" outputFormat="#E" currency="" currencyAlign="right" headerText="Gain (123)" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="MT_1234" width="100" type="Number" outputFormat="#E" currency="" currencyAlign="right" headerText="Gain (1234)" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
</DATAGRID>
</ONGLET>
<ONGLET excelLabel="Justificatif par racine de GHM" label="Justificatif par racine de GHM" queryNumber="1">
<DATAGRID title="" total="true" showOthers="true" headerHeight="36" variableRowHeight="true" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
<ROWSTYLE name="fontSize" value="11"/>
<FOOTERROWSTYLE name="fontSize" value="11"/>
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="COD" width="70" type="Char" visible="true" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
</COLUMN>
<COLUMN dataField="TXT" type="Char" minWidth="200" headerText="Texte" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="Autres">
</COLUMN>
<COLUMN dataField="RPU_1" width="70" type="Number" outputFormat="#E" fixed="false" headerText="REF P.U. 1" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="RPU_2" width="70" type="Number" outputFormat="#E" headerText="REF P.U. 2" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="RPU_3" width="70" type="Number" outputFormat="#E" headerText="REF P.U. 3" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="RPU_4" width="60" type="Number" outputFormat="#E" headerText="REF P.U. 4" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="RTX_2" width="60" type="Number" outputFormat="#%" headerText="REF Taux 2" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="RTX_3" width="60" type="Number" outputFormat="#%" headerText="REF Taux 3" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="RTX_4" width="60" type="Number" outputFormat="#%" headerText="REF Taux 4" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="NB_RSA" width="60" type="Number" outputFormat="#" headerText="ETS Séjours" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="TX_2" width="60" type="Number" outputFormat="#%" headerText="ETS Taux 2" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="TX_3" width="60" type="Number" outputFormat="#%" headerText="ETS Taux 3" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="TX_4" width="60" type="Number" outputFormat="#%" headerText="ETS Taux 4" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="MT_12" width="100" type="Number" outputFormat="#E" currency="" currencyAlign="right" headerText="ETS Gain (12)" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="MT_123" width="100" type="Number" outputFormat="#E" currency="" currencyAlign="right" headerText="ETS Gain (123)" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
<COLUMN dataField="MT_1234" width="100" type="Number" outputFormat="#E" currency="" currencyAlign="right" headerText="ETS Gain (1234)" textAlign="right" totalFunction="sum" totalComplement="*ROW" otherFunction="sum">
</COLUMN>
</DATAGRID>
</ONGLET>
</PRESENTATION>
</VUE>