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.
 
 

471 lines
32 KiB

<?xml version="1.0" encoding="ISO-8859-15"?>
<VUE name="PMSI000080" label="PMSI. Décomposition RUM" title="= 'RUM 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" helpDokuWIkiDir="pmsi:sejour_analyse_detaillee:rum:sejours_rum:" helpDokuWIkiFile="pmsi000080" helpFile="iCTI_PMSI_PMSI000080.HTML">
<VIEWPROPERTIES componentName="PROPERTIES_RUM" />
<VIEWPROPERTIES componentName="PROPERTIES_SELECT_TABTREE" />
<VIEWPROPERTIES>
<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value" />
</VIEWPROPERTIES>
<SELECTIONS label="Paramètres de l'analyse">
<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="de" UI="combo" tree="true" width="200" default="2014-01-01" printable="false" globalListProvider="DATE_DEBUT" />
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" printable="false" globalListProvider="DATE_FIN" />
</GROUP>
<GROUP label="Regroupements">
<FIELD name="GROUPBY" width="220" label="" UI="combo" default="UM" tree="true">
<OPTION label="Options" data="" globalListProvider="RUM_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="RUM_GROUPBY_OPTIONS" />
</FIELD>
</GROUP>
<GROUP label="">
<FIELD name="GROUPBY_3" width="220" label="" UI="combo" default="-1" tree="true">
<OPTION label="Pas de troisième niveau" data="-1" />
<OPTION label="Options" data="" globalListProvider="RUM_GROUPBY_OPTIONS" />
</FIELD>
</GROUP>
</SELECTIONS>
<SELECTIONS componentName="FILTRES_RUM_SELECTIONS" />
<SELECTIONS componentName="FILTRES_RUM_SOUSSELECTIONS" />
<SELECTIONS componentName="FILTRES_RSS_SELECTIONS" />
<QUERIES>
<QUERY label="">
<SQL optimizer="V_RSS_X">
<select><![CDATA[
CTISELECT_TREE
WORKTABLE{pmsi000080}
GROUPBY1{[VIEW.SELECT_TABTREE_OID_FIELD],, [VIEW.SELECT_TABTREE_COD_FIELD],, [VIEW.SELECT_TABTREE_TXT_FIELD]}
GROUPBY1MODE{[GROUPBY_TAB]}
GROUPBY2{[VIEW.SELECT_TABTREE_2_OID_FIELD],, [VIEW.SELECT_TABTREE_2_COD_FIELD],, [VIEW.SELECT_TABTREE_2_TXT_FIELD]}
GROUPBY3{[VIEW.SELECT_TABTREE_3_OID_FIELD],, [VIEW.SELECT_TABTREE_3_COD_FIELD],, [VIEW.SELECT_TABTREE_3_TXT_FIELD]}
SIGNIFDATA{[VIEW.ACTIVITE_SIGNIFICATIVE_DATA],, [ACTIVITE_SIGNIFICATIVE_MODE],, [ACTIVITE_SIGNIFICATIVE_NUMBER]}
ORDERBY{indicateurs[17],, DESC}
OPTIONS{NOTZERO=1}
INDICATORS{
COUNT(DISTINCT v_rss_1.patient_id),
COUNT(DISTINCT v_rss_rum_2.rss_id),
count(DISTINCT CASE WHEN nb_rum = 1 THEN v_rss_rum_2.rss_id ELSE NULL END),
count(DISTINCT CASE WHEN nb_rum <> 1 THEN v_rss_rum_2.rss_id ELSE NULL END),
sum(nb_rum_rum),
*%TOTAL[5],
sum(nb_rum_avec_autorisation),
sum(nb_rum_mode_entree_0),
sum(nb_rum_mode_entree_6),
sum(nb_rum_mode_entree_7),
sum(nb_rum_mode_entree_8),
sum(nb_rum_mode_sortie_0),
sum(nb_rum_mode_sortie_6),
sum(nb_rum_mode_sortie_7),
sum(nb_rum_mode_sortie_8),
sum(nb_rum_mode_sortie_9),
sum(duree_sejour_rum),
base.cti_division(
sum(duree_sejour_rum)
,
sum(CASE WHEN cmd_code <> '28' THEN nb_rum_rum ELSE 0 END)
),
sum(nb_seances_rum),
sum(igs2_rum),
sum(nb_rum_provenance_1),
sum(nb_rum_provenance_2),
sum(nb_rum_provenance_3),
sum(nb_rum_provenance_4),
sum(nb_rum_provenance_5),
sum(nb_rum_provenance_6),
sum(nb_rum_provenance_7),
sum(nb_rum_provenance_8),
sum(nb_rum_provenance_r),
sum(nb_rum_destination_1),
sum(nb_rum_destination_2),
sum(nb_rum_destination_3),
sum(nb_rum_destination_4),
sum(nb_rum_destination_5),
sum(nb_rum_destination_6),
sum(nb_rum_destination_7),
sum(nb_rum_destination_8),
sum(nb_rum_destination_r)
}
FROM #V_RSS_X#
JOIN pmsi.v_rss_rum_2 ON v_rss_1.rss_id = v_rss_rum_2.rss_id
WHERE
mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND
date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'
[VIEW.FILTRE_RUM_SELECT]
[VIEW.FILTRE_RSS_SELECT]
]]></select>
<FIELDS>
<INSERT name="CTISELECT_TREE_FIELDS" />
<FIELD name="SORT" />
<FIELD name="NBPAT" />
<FIELD name="NBSEJ" />
<FIELD name="NBSEJ_1" />
<FIELD name="NBSEJ_X" />
<FIELD name="NB" />
<FIELD name="NBP" />
<FIELD name="NBA" />
<FIELD name="NE0" />
<FIELD name="NE6" />
<FIELD name="NE7" />
<FIELD name="NE8" />
<FIELD name="NS0" />
<FIELD name="NS6" />
<FIELD name="NS7" />
<FIELD name="NS8" />
<FIELD name="NS9" />
<FIELD name="DU" />
<FIELD name="DMS" />
<FIELD name="SE" />
<FIELD name="IGS" />
<FIELD name="PR1" />
<FIELD name="PR2" />
<FIELD name="PR3" />
<FIELD name="PR4" />
<FIELD name="PR5" />
<FIELD name="PR6" />
<FIELD name="PR7" />
<FIELD name="PR8" />
<FIELD name="PRR" />
<FIELD name="DE1" />
<FIELD name="DE2" />
<FIELD name="DE3" />
<FIELD name="DE4" />
<FIELD name="DE5" />
<FIELD name="DE6" />
<FIELD name="DE7" />
<FIELD name="DE8" />
<FIELD name="DER" />
</FIELDS>
</SQL>
</QUERY>
<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
<SQL>
<select><![CDATA[
SELECT 'DE'::text || code::text, 'Dest. '::text || code::text || ' '::text || texte_court::text
FROM pmsi.t_destinations_sortie
UNION ALL
SELECT 'PR'::text || code::text, 'Prov. '::text || code::text || ' '::text || texte_court::text
FROM pmsi.t_provenances_entree
UNION ALL
SELECT 'ME'::text || code::text, 'ME '::text || code::text || ' '::text || texte_court::text
FROM pmsi.t_modes_entree
UNION ALL
SELECT 'MS'::text || code::text, 'MS '::text || code::text || ' '::text || texte_court::text
FROM pmsi.t_modes_sortie
UNION ALL
SELECT 'X_PERIODE_D', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL '1 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
UNION ALL
SELECT 'X_TOPERIODE_D', greatest(to_date(to_char('[TOPERIODE]'::date - INTERVAL '1 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
UNION ALL
SELECT 'X_PERIODE', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL '3 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
]]></select>
<FIELDS>
<FIELD name="name" />
<FIELD name="value" />
</FIELDS>
</SQL>
</QUERY>
</QUERIES>
<PRESENTATION>
<VIEWLINKS>
<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="PMSI000083.XML" enabled="true" rowContext="false" buttonType="COMPARATIF">
<ARG name="PERIODE_D" value="return VIEW.X_PERIODE_D;" />
<ARG name="TOPERIODE_D" value="return VIEW.X_TOPERIODE_D;" />
<ARG name="DATA1" value="'1'" />
<ARG name="DATA2" value="'2'" />
<ARG name="DATA3" value="'3'" />
</VIEWLINK>
<VIEWLINK label="Evolution" shortLabel="Evolution" view="PMSI000082.XML" enabled="true" rowContext="false" componentName="PERIODICITE_VIEWLINK" buttonType="EVOLUTION">
<ARG name="DATA" value="'1'" />
</VIEWLINK>
<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="PMSI000216.XML" enabled="true" rowContext="false" buttonType="ANALYSE_CROISEE">
<ARG name="ALIAS_PERIODE" value="'-1'" />
<ARG name="PERIODE" value="return VIEW.X_PERIODE;" />
<ARG name="DATA" value="'1'" />
<ARG name="COLUMNBY" value="'MSOR'" />
<ARG name="GROUPBY" value="'ASOR'" />
<ARG name="GROUPBY_2" value="if (SELECT.GROUPBY == 'ASOR') {return 'GHM';} else {return SELECT.GROUPBY;}" />
<ARG name="GROUPBY_TAB" value="'TAB'" />
<ARG name="COLUMNBYCOUNT" value="'12'" />
</VIEWLINK>
<VIEWLINK label="Justificatif par RUM" shortLabel="Liste RUM" view="PMSI000081.XML" componentName="RSS_BASE_VIEWLINK" component2Name="RUM_VIEWLINK" component3Name="">
<ARG name="UM_AUT" value="if (COLUMN.NAME == 'NBA') {return '1'}" />
<ARG name="MODE_ENTREE_RUM" value="
if (SELECT.GROUPBY == 'MENRUM') {return 'I'+ ROW.COD1}
if (SELECT.GROUPBY_2 == 'MENRUM') {return 'I'+ ROW.COD2}
if (COLUMN.NAME == 'NE0') {return 'I0'}
if (COLUMN.NAME == 'NE6') {return 'I6'}
if (COLUMN.NAME == 'NE7') {return 'I7'}
if (COLUMN.NAME == 'NE8') {return 'I8'}" />
<ARG name="MODE_SORTIE_RUM" value="
if (SELECT.GROUPBY == 'MSORUM') {return 'I'+ ROW.COD1}
if (SELECT.GROUPBY_2 == 'MSORUM') {return 'I'+ ROW.COD2}
if (COLUMN.NAME == 'NS0') {return 'I0'}
if (COLUMN.NAME == 'NS6') {return 'I6'}
if (COLUMN.NAME == 'NS7') {return 'I7'}
if (COLUMN.NAME == 'NS8') {return 'I8'}
if (COLUMN.NAME == 'NS9') {return 'I9'}" />
<ARG name="PROVENANCE_RUM" value="
if (COLUMN.NAME == 'PR1') {return 'I1'}
if (COLUMN.NAME == 'PR2') {return 'I2'}
if (COLUMN.NAME == 'PR3') {return 'I3'}
if (COLUMN.NAME == 'PR4') {return 'I4'}
if (COLUMN.NAME == 'PR5') {return 'I5'}
if (COLUMN.NAME == 'PR6') {return 'I6'}
if (COLUMN.NAME == 'PR7') {return 'I7'}
if (COLUMN.NAME == 'PR8') {return 'I8'}
if (COLUMN.NAME == 'PRR') {return 'IR'}" />
<ARG name="DESTINATION_RUM" value="
if (COLUMN.NAME == 'DE1') {return 'I1'}
if (COLUMN.NAME == 'DE2') {return 'I2'}
if (COLUMN.NAME == 'DE3') {return 'I3'}
if (COLUMN.NAME == 'DE4') {return 'I4'}
if (COLUMN.NAME == 'DE5') {return 'I5'}
if (COLUMN.NAME == 'DE6') {return 'I6'}
if (COLUMN.NAME == 'DE7') {return 'I7'}
if (COLUMN.NAME == 'DE8') {return 'I8'}
if (COLUMN.NAME == 'DER') {return 'IR'}" />
</VIEWLINK>
<VIEWLINK label="Liste des RSS" shortLabel="Liste RSS" view="PMSI000005.XML" componentName="RSS_BASE_VIEWLINK" component2Name="RSS_OTHERS_VIEWLINK" component3Name="">
<ARG name="MODE_ENTREE" value="
if (SELECT.GROUPBY == 'MENRUM') {return 'I'+ ROW.COD1}
if (SELECT.GROUPBY_2 == 'MENRUM') {return 'I'+ ROW.COD2}
if (COLUMN.NAME == 'NE0') {return 'I0'}
if (COLUMN.NAME == 'NE6') {return 'I6'}
if (COLUMN.NAME == 'NE7') {return 'I7'}
if (COLUMN.NAME == 'NE8') {return 'I8'}" />
<ARG name="MODE_SORTIE" value="
if (SELECT.GROUPBY == 'MSORUM') {return 'I'+ ROW.COD1}
if (SELECT.GROUPBY_2 == 'MSORUM') {return 'I'+ ROW.COD2}
if (COLUMN.NAME == 'NS0') {return 'I0'}
if (COLUMN.NAME == 'NS6') {return 'I6'}
if (COLUMN.NAME == 'NS7') {return 'I7'}
if (COLUMN.NAME == 'NS8') {return 'I8'}
if (COLUMN.NAME == 'NS9') {return 'I9'}" />
<ARG name="PROVENANCE" value="
if (COLUMN.NAME == 'PR1') {return 'I1'}
if (COLUMN.NAME == 'PR2') {return 'I2'}
if (COLUMN.NAME == 'PR3') {return 'I3'}
if (COLUMN.NAME == 'PR4') {return 'I4'}
if (COLUMN.NAME == 'PR5') {return 'I5'}
if (COLUMN.NAME == 'PR6') {return 'I6'}
if (COLUMN.NAME == 'PR7') {return 'I7'}
if (COLUMN.NAME == 'PR8') {return 'I8'}
if (COLUMN.NAME == 'PRR') {return 'IR'}" />
<ARG name="DESTINATION" value="
if (COLUMN.NAME == 'DE1') {return 'I1'}
if (COLUMN.NAME == 'DE2') {return 'I2'}
if (COLUMN.NAME == 'DE3') {return 'I3'}
if (COLUMN.NAME == 'DE4') {return 'I4'}
if (COLUMN.NAME == 'DE5') {return 'I5'}
if (COLUMN.NAME == 'DE6') {return 'I6'}
if (COLUMN.NAME == 'DE7') {return 'I7'}
if (COLUMN.NAME == 'DE8') {return 'I8'}
if (COLUMN.NAME == 'DER') {return 'IR'}" />
<ARG name="MEN_PROV_RSS_RUM" value="
if ((SELECT.GROUPBY == 'MENRUM') ||
((SELECT.GROUPBY_2 == 'MENRUM') &amp;&amp; ROW.OID2 != '0') ||
(COLUMN.NAME == 'NE0') ||
(COLUMN.NAME == 'NE6') ||
(COLUMN.NAME == 'NE7') ||
(COLUMN.NAME == 'NE8')
) {return 'RUM'}
else {return 'RSS'}" />
<ARG name="MSO_DEST_RSS_RUM" value="
if ((SELECT.GROUPBY == 'MSORUM') ||
((SELECT.GROUPBY_2 == 'MSORUM') &amp;&amp; ROW.OID2 != '0') ||
(COLUMN.NAME == 'NS0') ||
(COLUMN.NAME == 'NS6') ||
(COLUMN.NAME == 'NS7') ||
(COLUMN.NAME == 'NS8') ||
(COLUMN.NAME == 'NS9')
) {return 'RUM'}
else {return 'RSS'}" />
<ARG name="UM_RSS">
<value><![CDATA[
if (SELECT.UM != '-1') {return SELECT.UM}
]]></value>
</ARG>
<!-- On force UM à -1 car on veut utiliser UM_RSS -->
<ARG name="UM">
<value><![CDATA[
return -1;
]]></value>
</ARG>
</VIEWLINK>
</VIEWLINKS>
<ONGLET excelLabel="Analyse RUM" label="Analyse RUM" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
<CHART title="Durée séjour" type="pieChart" subType="" maxItems="10" maxItemsSortOn="DU" maxItemsSortSeq="D" sortField="DU" sortSeq="D" condition="ROW.LVL == '1'">
<CATEGORY field="CODTXT" type="Char" />
<SERIE field="DU" displayName="Durée" />
</CHART>
<DATAGRID title="" total="true" showOthers="true" headerHeight="48" variableRowHeight="true" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'"
sortable="= SELECT.GROUPBY_3 == '-1' || SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB'">
<INSERT name="DATAGRID_MULTITAB_STYLES" />
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid" />
<COLUMN dataField="COD" width="70" type="Char" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text">
<CELLSTYLE name="paddingLeft" value="15" condition="ROW.LVL == '2' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'" />
</COLUMN>
<COLUMN dataField="TXT" type="Char" minWidth="200" maxWidth="300" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" totalComplement="TOTAL" otherFunction="text" otherComplement="Autres" />
<COLUMN dataField="CODTXT" type="Char" visible="false" totalFunction="text" otherFunction="text" calc="true">
<CALC formula="ROW.COD + ' ' + ROW.TXT.toString().substr(0,20)" />
</COLUMN>
<COLUMN dataField="NBPAT" width="70" type="Number" outputFormat="#" headerText="Nb patients" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de patients différents" />
<COLUMN dataField="NBSEJ" width="70" type="Number" outputFormat="#" headerText="Nb Séjours" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de séjours différents. Les RSA multi séances comptent pour 1" />
<COLUMN dataField="NBSEJ_1" width="60" type="Number" outputFormat="#" currency="" currencyAlign="right" headerText="dont mono-RUM" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de séjours mono-RUM" />
<COLUMN dataField="NBSEJ_X" width="60" type="Number" outputFormat="#" currency="" currencyAlign="right" headerText="dont multi-RUM" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de séjours multi-RUM" />
<COLUMN dataField="NB" width="70" type="Number" outputFormat="#" headerText="Nb RUM" textAlign="right" totalFunction="sum" otherFunction=""
description="Nombre de RUM" />
<COLUMN dataField="NBP" type="Number" headerText="% / Total" width="45" outputFormat="0%" textAlign="right"
description="Poids du nombre de RUM du critère de regroupement dans le nombre de RUM Total" />
<COLUMN dataField="NBA" width="70" type="Number" outputFormat="#" headerText="Nb RUM avec Aut." textAlign="right" totalFunction="sum" otherFunction="sum" selectable="true" fixed="false"
description="Nombre de RUM réalisés dans une unité médicale disposante d'une autorisation" />
<COLUMN dataField="DU" width="70" type="Number" outputFormat="#j" headerText="Durée" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Somme des durées de séjours dans les RUM (date sortie - date entrée)" />
<COLUMN dataField="SE" width="70" type="Number" outputFormat="#" headerText="Séances" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de séances" />
<COLUMN dataField="DMS" width="50" type="Number" outputFormat="#,0j" headerText="DMS / RUM" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Rapport entre les colonnes &lt;b&gt;Durée&lt;/b&gt; et &lt;b&gt;Nb RUM&lt;/b&gt;. Pour les RUM de la CMD 28, cette rapport est forcé à 0" />
<COLUMN dataField="IGS" width="70" type="Number" outputFormat="#" headerText="IGS2" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Somme des &lt;i&gt;Scores de Gravité Simplifiés 2&lt;/i&gt;" />
</DATAGRID>
</ONGLET>
<ONGLET excelLabel="Modes E/S" label="Modes E/S" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
<DATAGRID title="" total="true" showOthers="true" headerHeight="64" variableRowHeight="true" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'"
sortable="= SELECT.GROUPBY_3 == '-1' || SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB'">
<INSERT name="DATAGRID_MULTITAB_STYLES" />
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid" />
<COLUMN dataField="COD" width="70" type="Char" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text">
<CELLSTYLE name="paddingLeft" value="15" condition="ROW.LVL == '2' &amp;&amp; SELECT.GROUPBY_TAB != 'TAB'" />
</COLUMN>
<COLUMN dataField="TXT" type="Char" minWidth="200" maxWidth="300" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" totalComplement="TOTAL" otherFunction="text" otherComplement="Autres" />
<COLUMN dataField="NBPAT" width="70" type="Number" outputFormat="#" headerText="Nb patients" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de patients différents" />
<COLUMN dataField="NBSEJ" width="70" type="Number" outputFormat="#" headerText="Nb Séjours" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de séjours différents. Les RSA multi séances comptent pour 1" />
<COLUMN dataField="NB" width="70" type="Number" outputFormat="#" headerText="Nb RUM" textAlign="right" totalFunction="sum" otherFunction=""
description="Nombre de RUM" />
<COLUMN dataField="DU" width="70" type="Number" outputFormat="#" headerText="Durée" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Somme des durées de séjours dans les RUM (date sortie - date entrée)" />
<COLUMN dataField="SE" width="70" type="Number" outputFormat="#" headerText="Séances" textAlign="right" totalFunction="sum" otherFunction="sum" fixed="false"
description="Nombre de séances" />
<!--
Les modes d'entrée et de sortie ne sont visibles que si un regroupement par mode d'entrée/sortie n'est pas sélectionné dans l'une ou l'autre
des comboBox de regroupement
-->
<COLUMN dataField="NE0" width="70" type="Number" outputFormat="#" headerText="VIEW.ME0" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode d'entrée &lt;b&gt;&lt;i&gt;0 (Transfert inter-établissement)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="NE6" width="70" type="Number" outputFormat="#" headerText="VIEW.ME6" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode d'entrée &lt;b&gt;&lt;i&gt;6 (Mutation vers unité court séjour)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="NE7" width="70" type="Number" outputFormat="#" headerText="VIEW.ME7" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode d'entrée &lt;b&gt;&lt;i&gt;7 (Transfert vers autre établissement)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="NE8" width="70" type="Number" outputFormat="#" headerText="VIEW.ME8" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode d'entrée &lt;b&gt;&lt;i&gt;8 (Domicile)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="NS0" width="70" type="Number" outputFormat="#" headerText="VIEW.MS0" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode de sortie &lt;b&gt;&lt;i&gt;0 (Transfert inter-établissement)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="NS6" width="70" type="Number" outputFormat="#" headerText="VIEW.MS6" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode de sortie &lt;b&gt;&lt;i&gt;6 (Mutation vers unité court séjour)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="NS7" width="70" type="Number" outputFormat="#" headerText="VIEW.MS7" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode de sortie &lt;b&gt;&lt;i&gt;7 (Transfert vers autre établissement)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="NS8" width="70" type="Number" outputFormat="#" headerText="VIEW.MS8" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode de sortie &lt;b&gt;&lt;i&gt;8 (Domicile)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="NS9" width="70" type="Number" outputFormat="#" headerText="VIEW.MS9" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY != 'MSORUM' &amp;&amp; SELECT.GROUPBY_2 != 'MENRUM' &amp;&amp; SELECT.GROUPBY_2 != 'MSORUM' &amp;&amp; SELECT.GROUPBY != 'MENRUM'"
description = "Nombre de RUM avec mode de sortie &lt;b&gt;&lt;i&gt;9 (Décès)&lt;/i&gt;&lt;/b&gt;" />
<!--
Les destinations et les provenances ne sont visibles qu'à partir du moment où le mode d'entrée ou le mode de sortie est sélectionné dans l'une ou l'autre des
ComboBox de regroupement.
Si aucun des deux modes n'est sélectionné dans aucune des ComboBox, les provenances et les destinations ne sont pas visibles
-->
<COLUMN dataField="PR1" width="70" type="Number" outputFormat="#" headerText="VIEW.PR1" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;1 (Unité court séjour)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="PR2" width="70" type="Number" outputFormat="#" headerText="VIEW.PR2" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;2 (Unité moyen séjour)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="PR3" width="70" type="Number" outputFormat="#" headerText="VIEW.PR3" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;3 (Unité long séjour)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="PR4" width="70" type="Number" outputFormat="#" headerText="VIEW.PR4" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;4 (Unité psychiatrique)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="PR5" width="70" type="Number" outputFormat="#" headerText="VIEW.PR5" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;5 (Urgence)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="PR6" width="70" type="Number" outputFormat="#" headerText="VIEW.PR6" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;6 (Domicile dans le cadre d'une hospitalisation à domicile)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="PR7" width="70" type="Number" outputFormat="#" headerText="VIEW.PR7" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;7 (Structure d'hébergement médico-social)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="PR8" width="70" type="Number" outputFormat="#" headerText="VIEW.PR8" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;8 (Urgences pour raisons organisationnelles)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="PRR" width="70" type="Number" outputFormat="#" headerText="VIEW.PRR" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MENRUM' || SELECT.GROUPBY_2 == 'MENRUM'"
description = "Nombre de RUM avec provenance &lt;b&gt;&lt;i&gt;R (Transfert à partir d'une unité de réanimation)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DE1" width="70" type="Number" outputFormat="#" headerText="VIEW.DE1" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;1 (Unité court séjour)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DE2" width="70" type="Number" outputFormat="#" headerText="VIEW.DE2" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;2 (Unité moyen séjour)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DE3" width="70" type="Number" outputFormat="#" headerText="VIEW.DE3" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;3 (Unité long séjour)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DE4" width="70" type="Number" outputFormat="#" headerText="VIEW.DE4" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;4 (Unité psychiatrique)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DE5" width="70" type="Number" outputFormat="#" headerText="VIEW.DE5" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;5 (Urgence)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DE6" width="70" type="Number" outputFormat="#" headerText="VIEW.DE6" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;6 (Domicile dans le cadre d'une hospitalisation à domicile)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DE7" width="70" type="Number" outputFormat="#" headerText="VIEW.DE7" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;7 (Structure d'hébergement médico-social)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DE8" width="70" type="Number" outputFormat="#" headerText="VIEW.DE8" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;8 (Urgences pour raisons organisationnelles)&lt;/i&gt;&lt;/b&gt;" />
<COLUMN dataField="DER" width="70" type="Number" outputFormat="#" headerText="VIEW.DER" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="" selectable="true"
visibleCondition="SELECT.GROUPBY == 'MSORUM' || SELECT.GROUPBY_2 == 'MSORUM'"
description = "Nombre de RUM avec destination &lt;b&gt;&lt;i&gt;R (Transfert à partir d'une unité de réanimation)&lt;/i&gt;&lt;/b&gt;" />
</DATAGRID>
</ONGLET>
</PRESENTATION>
</VUE>