|
|
<?xml version="1.0" encoding="ISO-8859-15"?>
|
|
|
<VUE name="PMSI000029" label="PMSI. Actes" title="= 'Actes par ' + SELECT.GROUPBY_LABEL + ' (' + SELECT.QUELLEDATE_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:actes" helpDokuWIkiFile="pmsi000029" helpFile="iCTI_PMSI_PMSI000029.HTML">
|
|
|
<VIEWPROPERTIES componentName="PROPERTIES_ACTES" />
|
|
|
<VIEWPROPERTIES componentName="PROPERTIES_SELECT_TABTREE" />
|
|
|
<VIEWPROPERTIES>
|
|
|
<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value" />
|
|
|
<PROPERTY name="SORTBY">
|
|
|
<value><![CDATA[[EVAL
|
|
|
|
|
|
if ('[GROUPBY_2]' != '-1' && '[GROUPBY]' != '-1' && '[GROUPBY_TAB]' != 'TAB') {
|
|
|
return 'ORDER BY 2,5,7';
|
|
|
}
|
|
|
else {
|
|
|
return 'ORDER BY 12,16 DESC,5,7';
|
|
|
}
|
|
|
EVAL]]]></value>
|
|
|
</PROPERTY>
|
|
|
|
|
|
</VIEWPROPERTIES>
|
|
|
<SELECTIONS label="Paramètres de l'analyse">
|
|
|
<GROUP label="Période">
|
|
|
<FIELD name="QUELLEDATE" label="" UI="combo" default="1" default2="date_fin" printable="false">
|
|
|
<OPTION label="Date sortie" data="1" data2="date_sortie" />
|
|
|
<OPTION label="Date acte" data="2" data2="date_acte" />
|
|
|
</FIELD>
|
|
|
<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" default2="201401" printable="false" globalListProvider="DATE_DEBUT" />
|
|
|
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" default2="201412" printable="false" globalListProvider="DATE_FIN" />
|
|
|
</GROUP>
|
|
|
<GROUP label="Regroupements">
|
|
|
<FIELD name="GROUPBY" width="250" label="" UI="combo" default="ACTE" tree="true">
|
|
|
<OPTION label="Options" data="" globalListProvider="ACTE_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="250" label="" UI="combo" default="-1" tree="true">
|
|
|
<OPTION label="Pas de second niveau" data="-1" />
|
|
|
<OPTION label="Options" data="" globalListProvider="ACTE_GROUPBY_OPTIONS" />
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
<GROUP label="">
|
|
|
<FIELD name="GROUPBY_3" width="250" label="" UI="combo" default="-1" tree="true">
|
|
|
<OPTION label="Pas de troisième niveau" data="-1" />
|
|
|
<OPTION label="Options" data="" globalListProvider="ACTE_GROUPBY_OPTIONS" />
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
</SELECTIONS>
|
|
|
<SELECTIONS componentName="FILTRES_ACTE_SELECTIONS" />
|
|
|
<SELECTIONS componentName="FILTRES_ACTE_SOUSSELECTIONS" />
|
|
|
<SELECTIONS componentName="FILTRES_RSS_SELECTIONS" />
|
|
|
<QUERIES>
|
|
|
<QUERY label="">
|
|
|
<SQL optimizer="V_RSS_X" cacheEnabled="true">
|
|
|
<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{
|
|
|
COUNT(DISTINCT v_rss_1.patient_id),
|
|
|
COUNT(DISTINCT v_rss_1.rss_id),
|
|
|
COUNT(DISTINCT v_rss_actes_1.medecin_reference_id),
|
|
|
sum(nombre),
|
|
|
sum(nombre_activite_1),
|
|
|
sum(nombre_activite_4),
|
|
|
sum([VIEW.ICR_FIELD]),
|
|
|
sum([VIEW.ICR_FIELD]_activite_1),
|
|
|
sum([VIEW.ICR_FIELD]_activite_4),
|
|
|
sum(tarif),
|
|
|
COUNT(DISTINCT CASE WHEN duree_sejour = 0 THEN v_rss_1.rss_id ELSE NULL END)
|
|
|
}
|
|
|
ORDERBY{indicateurs[12],, DESC}
|
|
|
FROM #V_RSS_X#
|
|
|
JOIN #V_RSS_ACTES_X# ON v_rss_1.rss_id = v_rss_actes_1.rss_id
|
|
|
|
|
|
WHERE [VIEW.QUELLEDATE] BETWEEN '[PERIODE]' AND '[TOPERIODE]'
|
|
|
|
|
|
[VIEW.FILTRE_ACTE_SELECT]
|
|
|
[VIEW.FILTRE_RSS_SELECT]
|
|
|
;
|
|
|
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<INSERT name="CTISELECT_TREE_FIELDS"/>
|
|
|
<FIELD name="SORT" />
|
|
|
<FIELD name="NPAT" />
|
|
|
<FIELD name="NRSS" />
|
|
|
<FIELD name="NMED" />
|
|
|
<FIELD name="NB" />
|
|
|
<FIELD name="NB1" />
|
|
|
<FIELD name="NB4" />
|
|
|
<FIELD name="ICR" />
|
|
|
<FIELD name="ICR1" />
|
|
|
<FIELD name="ICR4" />
|
|
|
<FIELD name="TARIF" />
|
|
|
<FIELD name="NBAMBU" />
|
|
|
</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="PMSI000032.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="if (SELECT.GROUPBY == 'ACTCLS09') { return '7';} else {return '1';}" />
|
|
|
<ARG name="DATA2" value="if (SELECT.GROUPBY == 'ACTCLS09') { return '8';} else {return '2';}" />
|
|
|
<ARG name="DATA3" value="if (SELECT.GROUPBY == 'ACTCLS09') { return '9';} else {return '3';}" />
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Evolution" shortLabel="Evolution" view="PMSI000031.XML" enabled="true" rowContext="false" componentName="PERIODICITE_VIEWLINK" buttonType="EVOLUTION">
|
|
|
<ARG name="DATA" value="if (SELECT.GROUPBY == 'ACTCLS09') { return '9';} else {return '1';}" />
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="PMSI000219.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="if (SELECT.GROUPBY == 'ACTCLS09') { return '9';} else {return '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 Actes par RSS" shortLabel="Liste Actes" view="PMSI000030.XML" componentName="RSS_BASE_VIEWLINK" component2Name="ACTE_VIEWLINK" />
|
|
|
<VIEWLINK label="Liste des RSS" shortLabel="Liste RSS" view="PMSI000005.XML" componentName="RSS_BASE_VIEWLINK" component2Name="RSS_OTHERS_VIEWLINK" component3Name="" />
|
|
|
</VIEWLINKS>
|
|
|
<ONGLET excelLabel="Analyse actes" label="Analyse actes" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
|
|
|
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" condition="ROW.LVL == '1'">
|
|
|
<CHART title="Nombre d'actes (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="NB" maxItemsSortSeq="D" sortField="NB" sortSeq="D" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="CODTXT" type="Char" />
|
|
|
<SERIE field="NB" displayName="Nombre total d'actes" />
|
|
|
</CHART>
|
|
|
<CHART title="ICR (10 premiers)" type="columnChart" subType="stacked" maxItems="10" maxItemsSortOn="NB" maxItemsSortSeq="D" sortField="NB" sortSeq="D" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="COD" type="Char" />
|
|
|
<SERIE field="ICR" displayName="ICR" />
|
|
|
</CHART>
|
|
|
</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_2 == '-1' || SELECT.GROUPBY_3 == '-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" minWidth="200" visible="false" totalFunction="text" otherFunction="text" calc="true">
|
|
|
<CALC formula="ROW.COD + ' ' + ROW.TXT.toString().substr(0,20)" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="NPAT" width="60" type="Number" outputFormat="#" headerText="Patients" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="Nombre de patients différents" />
|
|
|
<COLUMN dataField="NRSS" width="60" type="Number" outputFormat="#" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="Nombre de séjours (RSS) différents" />
|
|
|
<COLUMN dataField="NBAMBU" width="60" type="Number" outputFormat="#" headerText="Séjours
0 nuit" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="Nombre de séjours de 0 nuit" />
|
|
|
<COLUMN dataField="TXBAMBU" width="60" type="Number" outputFormat="0#,00%" headerText="Taux
0 nuit" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="Taux de séjours 0 nuit : rapport entre les colonnes <b>Séjours 0 nuit</b> et <b>Séjours</b>">
|
|
|
<CALC formula="ROW.NBAMBU / ROW.NRSS * 100" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="NMED" width="75" type="Number" outputFormat="#" headerText="Exécutants" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="Nombre de médecins exécutants différents" />
|
|
|
<COLUMN dataField="NB" width="60" type="Number" outputFormat="#" headerText="Actes" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="Nombre d'actes réalisés : somme des colonnes <b>Hors anesthésie</b> et <b>Anesthésie</b>" />
|
|
|
<COLUMN dataField="NBP" type="Number" headerText="% / Total" width="45" outputFormat="0%" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true"
|
|
|
description="Poids du nombre d'actes du critère de regroupement dans le nombre d'actes total">
|
|
|
<CALC formula="ROW.NB / TOTALROW.NB * 100" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="NB1" width="75" type="Number" outputFormat="#" headerText="Hors anesthésie" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="Nombre d'actes hors activité d'anesthésie" />
|
|
|
<COLUMN dataField="NB4" width="75" type="Number" outputFormat="#" headerText="Anesthésie" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="Nombre d'actes d'anesthésie" />
|
|
|
<COLUMN dataField="ICR" width="80" type="Number" outputFormat="#" headerText="ICR" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="= return "Somme des ICR selon la classification <b>" + SELECT.ICR_CLASSIFICATION_LABEL + "</b>";" />
|
|
|
<COLUMN dataField="ICR1" width="80" type="Number" outputFormat="#" headerText="ICR hors anesthésie" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="= return "Somme des ICR hors anesthésie selon la classification <b>" + SELECT.ICR_CLASSIFICATION_LABEL + "</b>";" />
|
|
|
<COLUMN dataField="ICR4" width="80" type="Number" outputFormat="#" headerText="ICR anesthésie" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="= return "Somme des ICR d'anesthésie selon la classification <b>" + SELECT.ICR_CLASSIFICATION_LABEL + "</b>";" />
|
|
|
<COLUMN dataField="TARIF" width="80" type="Number" outputFormat="#E" headerText="Valorisation tarif" textAlign="right" totalFunction="sum" otherFunction=""
|
|
|
description="Valeur indicative : multiplication entre le nombre d'actes et leurs derniers tarifs CCAM connus, selon l'activité (1, 4 ou 5)" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
</PRESENTATION>
|
|
|
</VUE>
|