|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
<VUE name="PMSI000007" label="PMSI. Décomposition C.A." title="= 'Décomposition C.A. par ' + SELECT.GROUPBY_LABEL + ' (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ') - ' + SELECT.VERSION_GROUPAGE_LABEL" database="iCTI" swf="*CTI_view1" softCode="iCTI_pmsi" typeEts="" globals="PMSI_globals.XML" componentsFile="PMSI_components.XML" helpDokuWIkiDir="pmsi:sejours_analyse_globale:rss:chiffre_d_affaire_rss" helpDokuWIkiFile="pmsi000007" helpFile="iCTI_PMSI_PMSI000007.HTML">
|
|
|
<VIEWPROPERTIES componentName="PROPERTIES_RSS" />
|
|
|
<VIEWPROPERTIES componentName="PROPERTIES_SELECT_TABTREE" />
|
|
|
<VIEWPROPERTIES>
|
|
|
<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
|
|
|
</VIEWPROPERTIES>
|
|
|
<VIEWPROPERTIES>
|
|
|
<PROPERTY name="ORDERBY_CA">
|
|
|
<value><![CDATA[[EVAL
|
|
|
|
|
|
if ('[GROUPBY_3]' != '-1' &&'[GROUPBY_2]' != '-1' && '[GROUPBY]' != '-1' && '[GROUPBY_TAB]' != 'TAB') {
|
|
|
return 'ORDER BY 5,4,7,6';
|
|
|
}
|
|
|
else {
|
|
|
return 'ORDER BY 12,19 DESC,5,7';
|
|
|
}
|
|
|
EVAL]]]></value>
|
|
|
</PROPERTY>
|
|
|
<PROPERTY name="ORDERBY_T2A">
|
|
|
<value><![CDATA[[EVAL
|
|
|
|
|
|
if ('[GROUPBY_2]' != '-1' && '[GROUPBY]' != '-1' && '[GROUPBY_TAB]' != 'TAB') {
|
|
|
return 'ORDER BY 5,4,7,6';
|
|
|
}
|
|
|
else {
|
|
|
return 'ORDER BY 13,20 DESC,5,7';
|
|
|
}
|
|
|
EVAL]]]></value>
|
|
|
</PROPERTY>
|
|
|
</VIEWPROPERTIES>
|
|
|
<SELECTIONS label="Paramètres de l'analyse" displayText="">
|
|
|
<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" globalListProvider="DATE_DEBUT" />
|
|
|
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" globalListProvider="DATE_FIN" />
|
|
|
</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" treeLevel="1" />
|
|
|
<OPTION label="Options" data="" globalListProvider="RSS_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" treeLevel="1" />
|
|
|
<OPTION label="Options" data="" globalListProvider="RSS_GROUPBY_OPTIONS" />
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
<GROUP label="EXB">
|
|
|
<FIELD name="QEXB" label="" UI="combo" default="EXBOUI" printable="false">
|
|
|
<OPTION label="Ne pas mettre en évidence les EXB (Décomposition T2A)" data="EXBNON" />
|
|
|
<OPTION label="Mettre en évidence les EXB (Décomposition T2A)" data="EXBOUI" />
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
</SELECTIONS>
|
|
|
<SELECTIONS componentName="FILTRES_RSS_SOUSSELECTIONS" />
|
|
|
<SELECTIONS componentName="FILTRES_RSS_SELECTIONS" />
|
|
|
<QUERIES>
|
|
|
<QUERY label="">
|
|
|
<SQL optimizer="V_RSS_X" cacheEnabled="true">
|
|
|
<comment><![CDATA[
|
|
|
|
|
|
. Sélection de toutes les données dans w_tmp
|
|
|
|
|
|
. w_order_ca_total permet de classer les codes de la première rupture de w_tmp par CA Total décroissant.
|
|
|
Cet ordre est marqué dans le champ order_ca_total de la table w_tmp
|
|
|
|
|
|
. w_order_ca_t2a permet de classer les codes de la première rupture de w_tmp par CA T2A décroissant.
|
|
|
Cet ordre est marqué dans le champ order_ca_t2a de la table w_tmp
|
|
|
]]></comment>
|
|
|
<select><![CDATA[
|
|
|
CTISELECT_TREE
|
|
|
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.SELECT_TABTREE_ACTIVITE_SIGNIFICATIVE_DATA],, [ACTIVITE_SIGNIFICATIVE_MODE],, [ACTIVITE_SIGNIFICATIVE_NUMBER]}
|
|
|
INDICATORS{
|
|
|
0::bigint,
|
|
|
0::bigint,
|
|
|
count(DISTINCT patient_id),
|
|
|
count(v_rss_1.rss_id),
|
|
|
sum(nb_rsa),
|
|
|
sum(CASE WHEN duree_sejour = 0 THEN nb_rsa ELSE 0 END),
|
|
|
sum(duree_sejour),
|
|
|
case
|
|
|
when sum(case when cmd_code <> '28' then nb_rsa else 0 end) > 0
|
|
|
then base.cti_division(sum(case WHEN cmd_code <> '28' then duree_sejour else 0 end) , sum(case WHEN cmd_code <> '28' then nb_rsa else 0 end))
|
|
|
else 0 end ,
|
|
|
case
|
|
|
when sum(case when cmd_code <> '28' AND duree_sejour > 0 then nb_rsa else 0 end) > 0
|
|
|
then base.cti_division(sum(case WHEN cmd_code <> '28' AND duree_sejour > 0 then duree_sejour else 0 end) , sum(case WHEN cmd_code <> '28' AND duree_sejour > 0 then nb_rsa else 0 end))
|
|
|
else 0 end ,
|
|
|
sum(base_remboursement),
|
|
|
sum(t2a_facture),
|
|
|
sum(dmi_facture),
|
|
|
sum(phc_facture),
|
|
|
sum(forfait_facture),
|
|
|
sum(ca_ghs),
|
|
|
sum(ca_exh),
|
|
|
sum(ca_ghs_theorique),
|
|
|
sum(nb_exh),
|
|
|
sum(0 - CASE WHEN rehosp_meme_ghm = '1' THEN ca_perte_exb ELSE 0 END),
|
|
|
sum(0 - CASE WHEN rehosp_meme_ghm = '0' AND nb_ghsmin = '1' AND ca_perte_exb > 0 THEN ca_perte_exb ELSE 0 END),
|
|
|
sum(0 - CASE WHEN rehosp_meme_ghm = '0' AND nb_ghsmin = '0' AND ca_perte_exb > 0 THEN ca_perte_exb ELSE 0 END),
|
|
|
sum(honoraires_factures),
|
|
|
sum(CASE WHEN nb_seances > 0 OR nb_rsa_0n > 0 THEN base_remboursement ELSE 0 END),
|
|
|
sum(CASE WHEN nb_rsa_1n > 0 OR nb_rsa_2n > 0 OR nb_rsa_xn > 0 THEN base_remboursement ELSE 0 END),
|
|
|
count(distinct ghm_id),
|
|
|
count(distinct ghm5_id),
|
|
|
sum(nb_seances),
|
|
|
sum(v_rss_1.ca_ghs_sans_coefficient),
|
|
|
sum(CASE WHEN duree_sejour > 0 THEN nb_rsa ELSE 0 END)
|
|
|
|
|
|
}
|
|
|
ORDERBY{indicateurs[14],, DESC}
|
|
|
FROM #V_RSS_X#
|
|
|
WHERE mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'
|
|
|
[VIEW.FILTRE_RSS_SELECT]
|
|
|
;
|
|
|
|
|
|
]]>
|
|
|
</select>
|
|
|
<FIELDS>
|
|
|
<INSERT name="CTISELECT_TREE_FIELDS"/>
|
|
|
<FIELD name="SORT" />
|
|
|
<FIELD name="NB_P" />
|
|
|
<FIELD name="NB_PT" />
|
|
|
<FIELD name="NB_PAT" />
|
|
|
<FIELD name="NO_RSS" />
|
|
|
<FIELD name="NB_RSA" />
|
|
|
<FIELD name="NB_ON" />
|
|
|
<FIELD name="DUR" />
|
|
|
<FIELD name="DMSETS" />
|
|
|
<FIELD name="DMSHOSPI" />
|
|
|
<FIELD name="CA_SEJ" />
|
|
|
<FIELD name="CA_T2A" />
|
|
|
<FIELD name="CA_DMI" />
|
|
|
<FIELD name="CA_PHC" />
|
|
|
<FIELD name="CA_FOR" />
|
|
|
<FIELD name="CA_GHS" />
|
|
|
<FIELD name="CA_EXH" />
|
|
|
<FIELD name="CA_GHST" />
|
|
|
<FIELD name="NB_EXH" />
|
|
|
<FIELD name="CA_REHOSP" />
|
|
|
<FIELD name="CA_MINFOR" />
|
|
|
<FIELD name="CA_EXBP" />
|
|
|
<FIELD name="CA_HON" />
|
|
|
<FIELD name="CA_ON" />
|
|
|
<FIELD name="CA_XN" />
|
|
|
<FIELD name="NB_GHM" />
|
|
|
<FIELD name="NB_RGHM" />
|
|
|
<FIELD name="NB_SEA" />
|
|
|
<FIELD name="CA_GHS_BRUT" />
|
|
|
<FIELD name="NB_XN" />
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
|
|
|
<SQL>
|
|
|
<select><![CDATA[
|
|
|
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="PMSI000037.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="TYPE_COMPARAISON" value="'2'" />
|
|
|
<ARG name="DATA1" value="'1.1'" />
|
|
|
<ARG name="DATA2" value="'2.1'" />
|
|
|
<ARG name="DATA3" value="'2.4'" />
|
|
|
<ARG name="DATA4" value="'2.5'" />
|
|
|
<ARG name="DATA5" value="'2.2'" />
|
|
|
<ARG name="DATA6" value="'2.3'" />
|
|
|
<ARG name="DATA7" value="'1.11'" />
|
|
|
<ARG name="DATA8" value="'1.9'" />
|
|
|
<ARG name="DATA9" value="'3.1'" />
|
|
|
<ARG name="DATA010" value="'0'" />
|
|
|
<ARG name="DATA011" value="'0'" />
|
|
|
<ARG name="DATA012" value="'0'" />
|
|
|
<ARG name="DATA013" value="'0'" />
|
|
|
<ARG name="DATA014" value="'0'" />
|
|
|
<ARG name="DATA015" value="'0'" />
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Comparatif mensuel" shortLabel="Comp. Mensuel" view="PMSI000437.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="TYPE_COMPARAISON" value="'2'" />
|
|
|
<ARG name="DATA1" value="'1.1'" />
|
|
|
<ARG name="DATA2" value="'2.1'" />
|
|
|
<ARG name="DATA3" value="'2.4'" />
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Effets" shortLabel="Effets" view="PMSI000366.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.1'" />
|
|
|
<ARG name="DATA2" value="'2.2'" />
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Evolution comparative" shortLabel="Evol. comparative" view="PMSI000438.XML" rowContext="false" componentName="" enabled="true" buttonType="VIEWLINK_EVO_COMP_1" >
|
|
|
<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
|
|
|
<ARG name="GROUPBY" value="return SELECT.GROUPBY;" />
|
|
|
<ARG name="GROUPBY_2" value="return 'MSOR';" />
|
|
|
<ARG name="DATA1" value="'1.1'" />
|
|
|
<ARG name="DATA2" value="'2.1'" />
|
|
|
<ARG name="DATA3" value="'2.4'" />
|
|
|
<ARG name="DATA4" value="'2.5'" />
|
|
|
<ARG name="DATA5" value="'2.2'" />
|
|
|
<ARG name="DATA6" value="'2.3'" />
|
|
|
<ARG name="DATA7" value="'1.11'" />
|
|
|
<ARG name="DATA8" value="'1.9'" />
|
|
|
<ARG name="DATA9" value="'3.1'" />
|
|
|
<ARG name="DATA010" value="'0'" />
|
|
|
<ARG name="DATA011" value="'0'" />
|
|
|
<ARG name="DATA012" value="'0'" />
|
|
|
<ARG name="DATA013" value="'0'" />
|
|
|
<ARG name="DATA014" value="'0'" />
|
|
|
<ARG name="DATA015" value="'0'" />
|
|
|
<ARG name="GROUPBY_TAB" value="return 'TAB';" />
|
|
|
<ARG name="TYPE_COMPARAISON" value="'2'" />
|
|
|
<ARG name="LGROUPBY" value="return SELECT.GROUPBY;"/>
|
|
|
<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;"/>
|
|
|
<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;"/>
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Evolution" shortLabel="Evolution" view="PMSI000036.XML" enabled="true" rowContext="false" componentName="PERIODICITE_VIEWLINK" buttonType="EVOLUTION">
|
|
|
<ARG name="DATA" value="'1.1'" />
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="PMSI000213.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.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'" />
|
|
|
<ARG name="LGROUPBY" value="return SELECT.GROUPBY;"/>
|
|
|
<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;"/>
|
|
|
<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;"/>
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Analyse" shortLabel="Analyse" rowContext="false" buttonType="VIEWLINK_ANALYSE_MCO">
|
|
|
<VIEWITEM label="Analyse" shortLabel="Analyse" view="PMSI000007.XML" enabled="true" rowContext="false" buttonType="ANALYSE">
|
|
|
<ARG name="PERIODE" value="return VIEW.PERIODE;" />
|
|
|
<ARG name="TOPERIODE" value="return VIEW.TOPERIODE;" />
|
|
|
<ARG name="GROUPBY_TAB" value="'AUTO'" />
|
|
|
</VIEWITEM>
|
|
|
<VIEWITEM label="Prestations" shortLabel="Analyse prestations" view="PMSI000025.XML" enabled="true" rowContext="false" buttonType="ANALYSE">
|
|
|
<ARG name="PERIODE" value="return VIEW.PERIODE;" />
|
|
|
<ARG name="TOPERIODE" value="return VIEW.TOPERIODE;" />
|
|
|
<ARG name="GROUPBY" value="'PRECLS09'" />
|
|
|
<ARG name="GROUPBY_2" value="'PRESTA'" />
|
|
|
<ARG name="GROUPBY_TAB" value="'AUTO'" />
|
|
|
</VIEWITEM>
|
|
|
<VIEWITEM label="Analyse paramétrable" shortLabel="Analyse CA" view="PMSI000439.XML" enabled="true" rowContext="false" buttonType="ANALYSE">
|
|
|
<ARG name="PERIODE" value="return VIEW.PERIODE;" />
|
|
|
<ARG name="TOPERIODE" value="return VIEW.TOPERIODE;" />
|
|
|
<ARG name="GROUPBY_TAB" value="'AUTO'" />
|
|
|
<ARG name="LS_DATA" value="'-1'" />
|
|
|
<ARG name="DATA01" value="'1.1'" />
|
|
|
<ARG name="DATA02" value="'2.1'" />
|
|
|
<ARG name="DATA03" value="'2.4'" />
|
|
|
<ARG name="DATA04" value="'2.5'" />
|
|
|
<ARG name="DATA05" value="'2.2'" />
|
|
|
<ARG name="DATA06" value="'2.3'" />
|
|
|
<ARG name="DATA07" value="'1.11'" />
|
|
|
<ARG name="DATA08" value="'1.9'" />
|
|
|
<ARG name="DATA09" value="'3.1'" />
|
|
|
<ARG name="DATA10" value="'0'" />
|
|
|
<ARG name="DATA11" value="'0'" />
|
|
|
<ARG name="DATA12" value="'0'" />
|
|
|
<ARG name="DATA13" value="'0'" />
|
|
|
<ARG name="DATA14" value="'0'" />
|
|
|
<ARG name="DATA15" value="'0'" />
|
|
|
</VIEWITEM>
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Justificatif des RSS" shortLabel="Justificatif RSS" rowContext="false" buttonType="BUTTON_MCO_ZOOM">
|
|
|
<VIEWITEM label="Liste des RSS" shortLabel="Liste RSS" view="PMSI000038.XML" componentName="RSS_BASE_VIEWLINK" component2Name="DATE_COMP_2_VIEWLINK" />
|
|
|
<VIEWITEM label="Liste EXH par RSS" shortLabel="Liste EXH" view="PMSI000010.XML" componentName="RSS_BASE_VIEWLINK" component2Name="DATE_COMP_2_VIEWLINK">
|
|
|
<ARG name="DATA" value="'1'" />
|
|
|
</VIEWITEM>
|
|
|
<VIEWITEM label="Liste EXB par RSS" shortLabel="Liste EXB" view="PMSI000010.XML" componentName="RSS_BASE_VIEWLINK" component2Name="DATE_COMP_2_VIEWLINK">
|
|
|
<ARG name="DATA" value="'2'" />
|
|
|
</VIEWITEM>
|
|
|
</VIEWLINK>
|
|
|
</VIEWLINKS>
|
|
|
<ONGLET excelLabel="CA Total" label="C.A. Total" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
|
|
|
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CHART title="Nombre Séjours (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="NO_RSS" maxItemsSortSeq="D" sortField="NO_RSS" sortSeq="D" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="TXT" type="Char"/>
|
|
|
<SERIE field="NO_RSS" displayName="'Séjours'" displayNameCalc="true"/>
|
|
|
</CHART>
|
|
|
<CHART title="Répartition 0 nuit / Hospitalisés en C.A." type="columnChart" subType="stacked" maxItems="20" maxItemsSortOn="CA_SEJ" maxItemsSortSeq="D" sortField="CA_SEJ" sortSeq="D" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="COD" type="Char" />
|
|
|
<SERIE field="CA_ON" displayName="0 nuit" />
|
|
|
<SERIE field="CA_XN" displayName="Hospitalisés" />
|
|
|
</CHART>
|
|
|
</CHART>
|
|
|
<CHART title="Répartition 0 nuit / Hospitalisés en pourcentage" type="columnChart" subType="stacked" maxItems="20" maxItemsSortOn="CA_SEJ" maxItemsSortSeq="D" sortField="CA_SEJ" sortSeq="D" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="COD" type="Char" />
|
|
|
<SERIE field="P_ON" displayName="0 nuit" />
|
|
|
<SERIE field="P_XN" displayName="Hospitalisés" />
|
|
|
</CHART>
|
|
|
<CHART title="Répartition autour du C.A. Etablissement Moyen" type="mixedChart" ctiColors="true" showLegend="false" maxItems="20" maxItemsSortOn="CA_SEJ" maxItemsSortSeq="D" sortField="CA_SEJ" sortSeq="D" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="COD" type="Char" />
|
|
|
<SERIE field="COL" displayName="C.A. Ets Moyen" minField="COLTOT" type="column"/>
|
|
|
<SERIE field="COLTOT" displayName="C.A. Ets Moyen Total" type="line" />
|
|
|
</CHART>
|
|
|
<CHART title="Evolution mensuelle" 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="CA_T2A" displayName="T2A" />
|
|
|
<SERIE field="CA_DMI" displayName="DMI" />
|
|
|
<SERIE field="CA_PHC" displayName="PHC" />
|
|
|
<SERIE field="CA_AUT" displayName="Autres" />
|
|
|
</CHART>
|
|
|
<DATAGRID title="" total="true" showOthers="true" key="COD" headerHeight="54" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" sortable="= (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>
|
|
|
<COLUMN dataField="COD" width="70" 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="NB_PAT" type="Number" width="60" outputFormat="#" headerText="Patients" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Nombre de patients différents" />
|
|
|
<COLUMN dataField="NO_RSS" type="Number" width="60" outputFormat="#" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Nombre de séjours. Pour les séjours de la CMD 28, on compte le nombre de RSA, peu importe le nombre de séances dans le RSA" />
|
|
|
<COLUMN dataField="NB_RSA" type="Number" width="60" outputFormat="#" headerText="Séjours dont séa." textAlign="right" totalFunction="sum" otherFunction="sum" visibleCondition="VIEW.NB_SEANCES != '0'"
|
|
|
description="Nombre de RSS (pour la CMD 28, nombre de séances)" />
|
|
|
<COLUMN dataField="DUR" type="Number" width="60" outputFormat="#" headerText="Journées Hospit." textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme des durées de séjour" />
|
|
|
<COLUMN dataField="DMSETS" type="Number" width="37" outputFormat="#,0" headerText="DMS Ets" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum"
|
|
|
description="Pour les séjours hors CMD 28, rapport entre la somme des durées de séjour et le nombre de RSS" />
|
|
|
<COLUMN dataField="DMSHOSPI" type="Number" width="37" outputFormat="#,0" headerText="DMS hospi ets" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum"
|
|
|
description="Pour les séjours hors CMD 28 et ambulatoire, rapport entre la somme des durées de séjour et le nombre de RSS" />
|
|
|
<COLUMN dataField="NB_GHM" type="Number" width="55" outputFormat="#" headerText="GHM" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum"
|
|
|
description="Nombre de codes GHM différents" />
|
|
|
<COLUMN dataField="NB_RGHM" type="Number" width="55" outputFormat="#" headerText="Racines GHM" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum"
|
|
|
description="Nombre de racines GHM différentes" />
|
|
|
<COLUMN dataField="CA" type="Number" width="90" fixed="false" outputFormat="0#E" headerText="CA Total
Clin. + Hono." textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" visibleCondition="ENV.TYPEETS == '1'"
|
|
|
description="Somme des colonnes <b>CA Clinique</b> et <b>CA Honoraires</b>">
|
|
|
<CALC dataField="CA_SEJ" />
|
|
|
<CALC dataField="CA_HON" operator="+" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_SEJ" type="Number" width="90" fixed="false" outputFormat="0#E" headerTextCalc="true" headerText="if (ENV.TYPEETS == '1') {return 'CA\nClinique';} else {return 'CA\nEtablissement';}" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme des montants liés à la T2A (GHS, forfaits, suppléments) ainsi que des DMI et UCD en sus. Voir décomposition dans l'onglet <b>C.A. Détail</b>" />
|
|
|
<COLUMN dataField="CA_PER" type="Number" width="55" fixed="false" outputFormat="0#,0%" headerText="% CA Cli / Tot" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true" visibleCondition="ENV.TYPEETS == '1'"
|
|
|
description="Pourcentage de la colonne <b>CA Clinique</b> par rapport à la colonne <b>CA Total Clin. + Hono.</b>">
|
|
|
<CALC dataField="CA_SEJ" />
|
|
|
<CALC dataField="CA" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="COL" type="Number" width="55" fixed="false" outputFormat="0#E" headerTextCalc="true" headerText="if (ENV.TYPEETS == '1') {return 'CA moy.\nClinique';} else {return 'CA moy.\nEts';}" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="= var col:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Etablissement'; return "Chiffre d'affaires " + col + " moyen par séjour : rapport entre les colonnes <b>CA " + col + "</b> et <b>Séjours</b>";">
|
|
|
<CALC dataField="CA_SEJ" />
|
|
|
<CALC dataField="NO_RSS" operator="/" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="COLTOT" type="Number" width="55" fixed="false" outputFormat="0#E" visible="false" totalFunction="calc" otherFunction="calc" calc="true" visibleCondition="ENV.TYPEETS == '1'">
|
|
|
<CALC formula="TOTALROW.COL"/>
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_HON" type="Number" width="90" fixed="false" outputFormat="0#E" headerText="CA
Honoraires" textAlign="right" totalFunction="sum" otherFunction="sum" visibleCondition="ENV.TYPEETS == '1'"
|
|
|
description="Total des honoraires facturés, hors dépassements" />
|
|
|
<COLUMN dataField="P_HON" type="Number" width="55" fixed="false" outputFormat="0#,0%" headerText="% Hono. / Total" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true" visibleCondition="ENV.TYPEETS == '1'"
|
|
|
description="Part des honoraires facturés dans le chiffre d'affaires Total (clinique + honoraires)" >
|
|
|
<CALC dataField="CA_HON" />
|
|
|
<CALC dataField="*calc" operator="/">
|
|
|
<CALC dataField="CA_SEJ" />
|
|
|
<CALC dataField="CA_HON" operator="+" />
|
|
|
</CALC>
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="COL1" type="Number" width="67" fixed="false" outputFormat="0#E" headerTextCalc="true" headerText="return 'CA moy.\nHonoraires';" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description=" Chiffre d'affaires " Honoraires " moyen par séjour : rapport entre les colonnes <b>CA " Honoraires "</b> et <b>Séjours</b>"">
|
|
|
<CALC dataField="CA_HON" />
|
|
|
<CALC dataField="NO_RSS" operator="/" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="NB_ON" type="Number" width="60" outputFormat="#" headerText="Nb
0 nuit" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Nombre de RSS (pour la CMD 28, nombre de séances) pour les séjours 0 nuit" />
|
|
|
<COLUMN dataField="CA_ON" type="Number" width="90" fixed="false" outputFormat="0#E" headerTextCalc="true" headerText="if (ENV.TYPEETS == '1') {return 'CA Clinique\n0 nuit';} else {return 'CA Ets\n0 nuit';}" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="=if (ENV.TYPEETS == '1') {return "Chiffre d'affaires Clinique des séjours 0 nuit et des séances";} else {return "Chiffre d'affaires Etablissement des séjours 0 nuit et des séances";}" />
|
|
|
<COLUMN dataField="P_ON" type="Number" width="55" fixed="false" outputFormat="0#,0%" headerTextCalc="true" headerText="if (ENV.TYPEETS == '1') {return '% 0 nuit / CA Cli.';} else {return '% 0 nuit / CA Ets';}" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="=if (ENV.TYPEETS == '1') {return "Part du chiffre d'affaires des séjours 0 nuit dans le chiffre d'affaires Clinique : rapport entre les colonnes <b>CA Clinique 0 nuit</b> et <b>CA Clinique</b> multiplié par 100";} else {return "Part du chiffre d'affaires des séjours 0 nuit dans le chiffre d'affaires Etablissement : rapport entre les colonnes <b>CA Ets 0 nuit</b> et <b>CA Etablissement</b> multiplié par 100";}">
|
|
|
<CALC dataField="CA_ON" />
|
|
|
<CALC dataField="CA_SEJ" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="M_ON" type="Number" width="55" fixed="false" outputFormat="0#E" headerText="CA moy. 0 nuit" visible="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="= var m_on:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Ets'; return "Chiffre d'affaires moyen des séjours 0 nuit : rapport entre les colonnes <b>CA " + m_on + " 0 nuit</b> et <b>Nb 0 nuit</b>";">
|
|
|
<CALC dataField="CA_ON" />
|
|
|
<CALC dataField="NB_ON" operator="/" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="NB_XN" type="Number" width="60" outputFormat="#" headerText="Nb
Hosp." textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Nombre de séjours Hospitalisés : différence entre les colonnes <b>Séjours</b> et <b>Nb 0 nuit</b>">
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_XN" type="Number" width="90" fixed="false" outputFormat="0#E" headerTextCalc="true" headerText="if (ENV.TYPEETS == '1') {return 'CA Clinique Hospitalisés';} else {return 'CA Ets Hospitalisés';}" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="=if (ENV.TYPEETS == '1') {return "Chiffre d'affaires Clinique des séjours hospitalisés";} else {return "Chiffre d'affaires Etablissement des séjours hospitalisés";}" />
|
|
|
<COLUMN dataField="P_XN" type="Number" width="55" fixed="false" outputFormat="0#,0%" headerTextCalc="true" headerText="if (ENV.TYPEETS == '1') {return '% Hosp. / CA Cli.';} else {return '% Hosp. / CA Ets';}" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="=if (ENV.TYPEETS == '1') {return "Part du chiffre d'affaires des séjours hospitalisés dans le chiffre d'affaires Clinique : rapport entre les colonnes <b>CA Clinique Hospitalisés</b> et <b>CA Clinique</b> multiplié par 100";} else {return "Part du chiffre d'affaires des séjours hospitalisés dans le chiffre d'affaires Etablissement : rapport entre les colonnes <b>CA Ets Hospitalisés</b> et <b>CA Etablissement</b> multiplié par 100";}">
|
|
|
<CALC dataField="CA_XN" />
|
|
|
<CALC dataField="CA_SEJ" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="M_XN" type="Number" width="55" fixed="false" outputFormat="0#E" headerText="CA moy. Hosp." visible="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="= var m_xn:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Ets'; return "Chiffre d'affaires moyen des séjours hospitalisés : rapport entre les colonnes <b>CA " + m_xn + " Hospitalisés</b> et <b>Nb Hosp.</b>";">
|
|
|
<CALC dataField="CA_XN" />
|
|
|
<CALC dataField="NB_XN" operator="/" />
|
|
|
</COLUMN>
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET excelLabel="CA Détail" label="C.A. Détail" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
|
|
|
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CHART title="Nombre Séjours (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="NO_RSS" maxItemsSortSeq="D" sortField="NO_RSS" sortSeq="D" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="TXT" type="Char"/>
|
|
|
<SERIE field="NO_RSS" displayName="'Séjours'" displayNameCalc="true"/>
|
|
|
</CHART>
|
|
|
<CHART title="Décomposition des plus rémunérateurs" type="columnChart" subType="stacked" maxItems="20" maxItemsSortOn="CA_SEJ" maxItemsSortSeq="D" sortField="CA_SEJ" sortSeq="D" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="COD" type="Char" />
|
|
|
<SERIE field="CA_T2A" displayName="T2A" />
|
|
|
<SERIE field="CA_DMI" displayName="DMI" />
|
|
|
<SERIE field="CA_PHC" displayName="PHC" />
|
|
|
<SERIE field="CA_AUT" displayName="Autres" />
|
|
|
</CHART>
|
|
|
</CHART>
|
|
|
<DATAGRID title="" total="true" showOthers="true" key="COD" headerHeight="54" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" sortable="= (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>
|
|
|
<COLUMN dataField="COD" width="70" 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="NB_PAT" type="Number" width="60" outputFormat="#" headerText="Patients" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Nombre de patients différents" />
|
|
|
<COLUMN dataField="NO_RSS" type="Number" width="60" outputFormat="#" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Nombre de séjours. Pour les séjours de la CMD 28, on compte le nombre de RSA, peu importe le nombre de séances dans le RSA" />
|
|
|
<COLUMN dataField="NB_RSA" type="Number" width="60" outputFormat="#" headerText="Séjours dont séa." textAlign="right" totalFunction="sum" otherFunction="sum" visibleCondition="VIEW.NB_SEANCES != '0'"
|
|
|
description="Nombre de RSS (pour la CMD 28, nombre de séances)" />
|
|
|
<COLUMN dataField="DUR" type="Number" width="60" outputFormat="#" headerText="Journées Hospit." textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme des durées de séjour" />
|
|
|
<COLUMN dataField="DMSETS" type="Number" width="37" outputFormat="#,0" headerText="DMS Ets" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum"
|
|
|
description="Pour les séjours hors CMD 28, rapport entre la somme des durées de séjour et le nombre de RSS" />
|
|
|
<COLUMN dataField="DMSHOSPI" type="Number" width="37" outputFormat="#,0" headerText="DMS hospi Ets" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum"
|
|
|
description="Pour les séjours hors CMD 28 et ambulatoire, rapport entre la somme des durées de séjour et le nombre de RSS" />
|
|
|
<COLUMN dataField="NB_GHM" type="Number" width="45" outputFormat="#" headerText="Nb GHM" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum"
|
|
|
description="Nombre de codes GHM différents" />
|
|
|
<COLUMN dataField="CA_SEJ" type="Number" width="90" fixed="false" outputFormat="0#E" headerTextCalc="true" headerText="if (ENV.TYPEETS == '1') {return 'CA\nClinique';} else {return 'CA\nEtablissement';}" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme des colonnes <b>CA T2A</b>, <b>CA DMI</b>, <b>CA PHC</b> et <b>CA Autre</b>" />
|
|
|
<COLUMN dataField="CA_SEJ_TOT" type="Number" width="80" fixed="false" outputFormat="0#E" totalFunction="calc" otherFunction="calc" calc="true" visible="false">
|
|
|
<CALC formula="TOTALROW.CA_SEJ"/>
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_PER" type="Number" width="55" fixed="false" outputFormat="0#,0%" headerText="% CA Cli / Tot" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true" visibleCondition="ENV.TYPEETS == '1'"
|
|
|
description="Poids du chiffre d'affaires Clinique du critère de regroupement dans le chiffre d'affaires Clinique Total">
|
|
|
<CALC dataField="CA_SEJ" />
|
|
|
<CALC dataField="CA_SEJ_TOT" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="COL" type="Number" width="55" fixed="false" outputFormat="0#E" headerTextCalc="true" headerText="if (ENV.TYPEETS == '1') {return 'CA moy. Clinique'} else {return 'CA moy. Ets';}" visible="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="= var p_col:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Etablissement'; return "Chiffre d'affaires " + p_col + " moyen par séjour : rapport entre les colonnes <b>CA " + p_col + "</b> et <b>Séjours</b>";">
|
|
|
<CALC dataField="CA_SEJ" />
|
|
|
<CALC dataField="NO_RSS" operator="/" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="COLTOT" type="Number" width="80" fixed="false" outputFormat="0#E" totalFunction="calc" otherFunction="calc" calc="true" visible="false">
|
|
|
<CALC formula="TOTALROW.COL"/>
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_T2A" type="Number" width="90" fixed="false" outputFormat="0#E" headerText="CA T2A" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme du montant des prestations liées à la T2A (GHS, suppléments, forfaits). Voir le détail des prestations concernées dans la classe <b>Décomposition CA (CTI)</b> (Menu P.M.S.I. MCO | Paramètres | Classification | Classes | Prestations). Les prestations comprises dans le calcul du <i>CA T2A</i> sont celles des sections <b>T2A. GHS</b>, <b>T2A. EXH</b>, <b>T2A. Forfaits et suppléments</b> et <b>T2A. Autres</b>.<br/><br/>Voir décomposition dans l'onglet <b>C.A. Détail T2A</b>" />
|
|
|
<COLUMN dataField="P_T2A" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% T2A" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="= var p_t2a:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Etablissement'; return "Part du chiffre d'affaires T2A dans le chiffre d'affaires " + p_t2a + " : rapport entre les colonnes <b>CA T2A</b> et <b>CA " + p_t2a + " </b> multiplié par 100";">
|
|
|
<CALC dataField="CA_T2A" />
|
|
|
<CALC dataField="CA_SEJ" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_M_T2A" type="Number" width="50" fixed="false" outputFormat="#" headerText="CA moyen T2A" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="CA Moyen T2A;">
|
|
|
<CALC dataField="CA_T2A" />
|
|
|
<CALC dataField="NO_RSS" operator="/" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_DMI" type="Number" width="80" fixed="false" outputFormat="0#E" headerText="CA DMI" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme du montant des prestations liées aux dispositifs médicaux. Voir le détail des prestations concernées dans la classe <b>Décomposition CA (CTI)</b> (Menu P.M.S.I. MCO | Paramètres | Classification | Classes | Prestations). Les prestations comprises dans le calcul du <i>CA DMI</i> sont celles de la section <b>DMI</b>" />
|
|
|
<COLUMN dataField="P_DMI" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% DMI" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="= var p_dmi:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Etablissement'; return "Part du chiffre d'affaires DMI dans le chiffre d'affaires " + p_dmi + " : rapport entre les colonnes <b>CA DMI</b> et <b>CA " + p_dmi + " </b> multiplié par 100";">
|
|
|
<CALC dataField="CA_DMI" />
|
|
|
<CALC dataField="CA_SEJ" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_PHC" type="Number" width="80" fixed="false" outputFormat="0#E" headerText="CA PHC" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme du montant des prestations liées aux médicaments. Voir le détail des prestations concernées dans la classe <b>Décomposition CA (CTI)</b> (Menu P.M.S.I. MCO | Paramètres | Classification | Classes | Prestations). Les prestations comprises dans le calcul du <i>CA PHC</i> sont celles de la section <b>PHC</b>" />
|
|
|
<COLUMN dataField="P_PHC" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% PHC" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="= var p_phc:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Etablissement'; return "Part du chiffre d'affaires PHC dans le chiffre d'affaires " + p_phc + " : rapport entre les colonnes <b>CA PHC</b> et <b>CA " + p_phc + " </b> multiplié par 100";">
|
|
|
<CALC dataField="CA_PHC" />
|
|
|
<CALC dataField="CA_SEJ" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_AUT" type="Number" width="70" fixed="false" outputFormat="0#E" headerText="CA Autre" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="= var ca_aut:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Etablissement'; return "Chiffre d'affaires " + ca_aut + " qui n'apparaît ni dans <b>CA T2A</b>, ni dans <b>CA DMI</b>, ni dans <b>CA PHC</b>. Il s'agit généralement du chiffre d'affaires de l'activité externe et des GHS 9999";">
|
|
|
<CALC dataField="CA_SEJ" />
|
|
|
<CALC dataField="CA_T2A" operator="-" />
|
|
|
<CALC dataField="CA_DMI" operator="-" />
|
|
|
<CALC dataField="CA_PHC" operator="-" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="P_AUT" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% Autre" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="= var p_aut:String = ENV.TYPEETS == '1' ? 'Clinique' : 'Etablissement'; return "Part du chiffre d'affaires Autre dans le chiffre d'affaires " + p_aut + " : rapport entre les colonnes <b>CA Autre</b> et <b>CA " + p_aut + " </b> multiplié par 100";">
|
|
|
<CALC dataField="CA_AUT" />
|
|
|
<CALC dataField="CA_SEJ" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET excelLabel="CA Détail T2A" label="C.A. Détail T2A" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
|
|
|
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CHART title="Nombre Séjours (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="NO_RSS" maxItemsSortSeq="D" sortField="NO_RSS" sortSeq="D" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="TXT" type="Char"/>
|
|
|
<SERIE field="NO_RSS" displayName="'Séjours'" displayNameCalc="true"/>
|
|
|
</CHART>
|
|
|
<CHART title="Décomposition C.A. T2A des plus rémunérateurs" type="columnChart" subType="stacked" maxItems="20" maxItemsSortOn="CA_T2A" maxItemsSortSeq="D" sortField="CA_T2A" sortSeq="D" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="COD" type="Char" />
|
|
|
<SERIE field="CA_GHS" displayName="GHS" />
|
|
|
<SERIE field="CA_EXBP" displayName="EXB" visibleCondition="SELECT.QEXB == 'EXBOUI'" />
|
|
|
<SERIE field="CA_REHOSP" displayName="Rehosp" visibleCondition="SELECT.QEXB == 'EXBOUI'" />
|
|
|
<SERIE field="CA_MINFOR" displayName="Minor. forfait." visibleCondition="SELECT.QEXB == 'EXBOUI'" />
|
|
|
<SERIE field="CA_EXH" displayName="EXH" />
|
|
|
<SERIE field="CA_FOR" displayName="Forfaits" />
|
|
|
<SERIE field="CA_AUT" displayName="Autres" />
|
|
|
</CHART>
|
|
|
</CHART>
|
|
|
<CHART title="Répartition autour du C.A. T2A Moyen" type="mixedChart" ctiColors="true" showLegend="false" maxItems="20" maxItemsSortOn="CA_T2A" maxItemsSortSeq="D" sortField="CA_T2A" sortSeq="D" visibleCondition="SELECT.GROUPBY != 'AMSOR' && SELECT.GROUPBY != 'MSOR'" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="COD" type="Char" />
|
|
|
<SERIE field="COL" displayName="C.A. T2A Moyen" minField="COLTOT" type="column"/>
|
|
|
<SERIE field="COLTOT" displayName="C.A. T2A Moyen Total" type="line" />
|
|
|
</CHART>
|
|
|
<DATAGRID title="" total="true" showOthers="true" key="COD" headerHeight="54" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" sortable="= (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>
|
|
|
<COLUMN dataField="COD" width="70" 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="CODTXT" type="Char" visible="false" totalFunction="text" otherFunction="text" calc="true">
|
|
|
<CALC formula="ROW.COD + ' ' + ROW.TXT.toString().substr(0,10) + '.'"/>
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="NO_RSS" type="Number" width="60" outputFormat="#" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Nombre de séjours. Pour les séjours de la CMD 28, on compte le nombre de RSA, peu importe le nombre de séances dans le RSA" />
|
|
|
<COLUMN dataField="NB_RSA" type="Number" width="60" outputFormat="#" headerText="Séjours dont séa." textAlign="right" totalFunction="sum" otherFunction="sum" visibleCondition="VIEW.NB_SEANCES != '0'"
|
|
|
description="Nombre de RSS (pour la CMD 28, nombre de séances)" />
|
|
|
<COLUMN dataField="DUR" type="Number" width="60" outputFormat="#" currency="" currencyAlign="right" headerText="Journées Hospit." textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme des durées de séjour" />
|
|
|
<COLUMN dataField="CA_T2A" type="Number" width="90" fixed="false" outputFormat="0#E" headerText="CA T2A" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Somme du montant des prestations liées à la T2A (GHS, suppléments, forfaits). Voir le détail des prestations concernées dans la classe <b>Décomposition CA (CTI)</b> (Menu P.M.S.I. MCO | Paramètres | Classification | Classes | Prestations). Les prestations comprises dans le calcul du <i>CA T2A</i> sont celles des sections <b>T2A. GHS</b>, <b>T2A. EXH</b>, <b>T2A. Forfaits et suppléments</b> et <b>T2A. Autres</b>" />
|
|
|
<COLUMN dataField="COL" type="Number" width="55" fixed="false" outputFormat="0#E" headerText="CA T2A moyen" visible="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="Chiffre d'affaires T2A moyen par séjour : rapport entre les colonnes <b>CA T2A</b> et <b>Séjours</b>">
|
|
|
<CALC dataField="CA_T2A" />
|
|
|
<CALC dataField="NO_RSS" operator="/" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="DAYS" type="Number" width="60" fixed="false" outputFormat="#" headerText="Nbre jours d'hospitalisations" visible="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="Nombre de jours total <b>Journées Hospitalisés</b> + <b>le Nombre de 0 nuits</b> sur la période">
|
|
|
<CALC dataField="DUR" />
|
|
|
<CALC dataField="NB_ON" operator="+" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="COLDAY" type="Number" width="60" fixed="false" outputFormat="0#E" headerText="CA T2A journalier" visible="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="Chiffre d'affaires T2A journalier : rapport entre la colonne <b>CA T2A</b> et <b>le Nombre de jours D'hospitalisations</b>">
|
|
|
<CALC dataField="CA_T2A" />
|
|
|
<CALC dataField="DAYS" operator="/" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="COLTOT" type="Number" width="55" fixed="false" outputFormat="0#E" visible="false" totalFunction="calc" otherFunction="calc" calc="true">
|
|
|
<CALC formula="TOTALROW.COL"/>
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CAGHSMOY" type="Number" width="55" fixed="false" outputFormat="0#E" headerText="CA GHS moyen" visible="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="Chiffre d'affaires GHS moyen par séjour : rapport entre les colonnes <b>CA GHS avec coefficients</b> et <b>Séjours</b>">
|
|
|
<CALC dataField="CA_GHS" />
|
|
|
<CALC dataField="NB_RSA" operator="/" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_GHS_BRUT" type="Number" width="90" fixed="false" outputFormat="0#E" headerText="CA GHS Brut" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Chiffre d'affaires théorique des prestations GHS. N'est pris en compte que le tarif unitaire du GHS brut sans coefficients."/>
|
|
|
<COLUMN dataField="CA_GHS" type="Number" width="90" fixed="false" outputFormat="0#E" headerText="CA GHS facturé avec coefficients" visibleCondition="SELECT.QEXB != 'EXBOUI'" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Chiffre d'affaires des prestations GHS avec prise en compte des coefficients, des EXB mais sans la part liée aux EXH." />
|
|
|
<COLUMN dataField="P_GHS" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% CA GHS avec coefficients" visibleCondition="SELECT.QEXB != 'EXBOUI'" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="Part du chiffre d'affaires GHS dans le chiffre d'affaires T2A : rapport entre les colonnes <b>GHS avec coefficients</b> et <b>CA T2A</b> multiplié par 100">
|
|
|
<CALC dataField="CA_GHS" />
|
|
|
<CALC dataField="CA_T2A" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_GHST" type="Number" width="90" fixed="false" outputFormat="0#E" headerText="CA GHS théorique avec coefficients" visibleCondition="SELECT.QEXB == 'EXBOUI'" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Chiffre d'affaires des prestations GHS avec prise en compte des coefficients mais sans la part liée aux EXB ni celle liée aux EXH."/>
|
|
|
<COLUMN dataField="P_GHST" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% CA GHS avec coefficients" visibleCondition="SELECT.QEXB == 'EXBOUI'" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="Rapport entre les colonnes <b>GHS avec coefficients</b> et <b>CA T2A</b> multiplié par 100">
|
|
|
<CALC dataField="CA_GHST" />
|
|
|
<CALC dataField="CA_T2A" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_EXBP" type="Number" width="75" fixed="false" outputFormat="0#E" headerText="CA EXB" visibleCondition="SELECT.QEXB == 'EXBOUI'" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Manque à gagner EXB<br/>Total des forfaits et des montants EXB retirés du tarif du GHS pour les séjours dont la durée est inférieure à la borne basse"/>
|
|
|
<COLUMN dataField="P_EXBP" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% CA EXB-Rehosp" visibleCondition="SELECT.QEXB == 'EXBOUI'" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="Poids du manque à gagner EXB/Rehosp dans le chiffre d'affaires T2A : rapport entre les colonnes <b>EXB ou Rehosp</b> et <b>CA T2A</b> multiplié par 100">
|
|
|
<CALC dataField="CA_EXBP" />
|
|
|
<CALC dataField="CA_T2A" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_REHOSP" type="Number" width="75" fixed="false" outputFormat="0#E" headerText="CA Rehosp même GHM" visibleCondition="SELECT.QEXB == 'EXBOUI'" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Manque à gagner Rehosp.<br/>Total des minorations pour les séjours de réhospitalisation dans le même GHM"/>
|
|
|
<COLUMN dataField="CA_MINFOR" type="Number" width="80" fixed="false" outputFormat="0#E" headerText="CA Minoration forfaitaire" visibleCondition="SELECT.QEXB == 'EXBOUI'" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Manque à gagner Minoration forfaitaire liste en sus.<br/>Total des minorations pour les séjours de chimiothérapie pour lesquels un UCD a été facturé en SUS"/>
|
|
|
<COLUMN dataField="NB_EXH" type="Number" width="75" fixed="false" outputFormat="#" headerText="Jours EXH" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Total des journées extrêmement hauts"/>
|
|
|
<COLUMN dataField="CA_EXH" type="Number" width="75" fixed="false" outputFormat="0#E" headerText="CA EXH" textAlign="right" totalFunction="sum" otherFunction="sum"
|
|
|
description="Total des montant extrêmement hauts"/>
|
|
|
<COLUMN dataField="P_EXH" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% CA EXH" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="Part du chiffre d'affaires des montants EXH dans le chiffre d'affaires T2A : rapport entre les colonnes <b>EXH</b> et <b>CA T2A</b> multiplié par 100">
|
|
|
<CALC dataField="CA_EXH" />
|
|
|
<CALC dataField="CA_T2A" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_FOR" type="Number" width="80" fixed="false" outputFormat="0#E" headerText="CA Forfaits" textAlign="right" totalFunction="calc" otherFunction="calc"
|
|
|
description="Chiffre d'affaires des forfaits et suppléments présents dans la section <b>CT2A. Forfaits et suppléments</b> de la classe de prestations <b>Décomposition CA (CTI)</b> (Menu P.M.S.I. MCO | Paramètres | Classification | Classes | Prestations | Décomposition CA (CTI)" />
|
|
|
<COLUMN dataField="P_FOR" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% CA Forfaits" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="Part du chiffre d'affaires des forfaits et suppléments dans le chiffre d'affaires T2A : rapport entre les colonnes <b>Forfaits</b> et <b>CA T2A</b> multiplié par 100">
|
|
|
<CALC dataField="CA_FOR" />
|
|
|
<CALC dataField="CA_T2A" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CA_AUT" type="Number" width="70" fixed="false" outputFormat="0#E" headerText="CA Autre" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
|
|
|
description="Chiffre d'affaires T2A qui n'apparaît ni dans <b>GHS</b>, ni dans <b>EXH</b>, ni dans <b>Forfaits</b>">
|
|
|
<CALC dataField="CA_T2A" />
|
|
|
<CALC dataField="CA_GHS" operator="-" />
|
|
|
<CALC dataField="CA_EXH" operator="-" />
|
|
|
<CALC dataField="CA_FOR" operator="-" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="P_AUT" type="Number" width="50" fixed="false" outputFormat="0#,0%" headerText="% CA Autres" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="Part du chiffre d'affaires Autre dans le chiffre d'affaires T2A : rapport entre les colonnes <b>Autre</b> et <b>CA T2A</b> multiplié par 100">
|
|
|
<CALC dataField="CA_AUT" />
|
|
|
<CALC dataField="CA_T2A" operator="/" />
|
|
|
<CALC dataField="*constant" value="100" operator="*" />
|
|
|
</COLUMN>
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
</PRESENTATION>
|
|
|
</VUE>
|