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.
 
 

1356 lines
102 KiB

<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="ACTI000057" label="Activité. Suivi des délais de traitements" title="= 'Suivi des délais de traitements par ' + SELECT.GROUPBY_LABEL + ' (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')'" database="iCTI" swf="*CTI_view1" softCode="iCTI_activite" globals="ACTI_globals.XML" componentsFile="ACTI_components.XML"
helpFile="iCTI_ACTI_ACTI000123.HTML"
helpDokuWIkiDir="activite:etat_des_dossiers_superviseur_activite"
helpDokuWIkiFile="acti000057"
>
<VIEWPROPERTIES componentName="PROPERTIES_ETATDOSSIERS"/>
<VIEWPROPERTIES>
<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value" />
<PROPERTY name="ORDERBY">
<value><![CDATA[[EVAL
$groupbys = array(
'[GROUPBY]',
'[GROUPBY_2]',
'[GROUPBY_3]',
substr('[GROUBY]', 0, 6),
substr('[GROUBY_2]', 0, 6),
substr('[GROUBY_3]', 0, 6)
);
$exceptions = array('ANNEE', 'TRIM', 'TRIM', 'JOUR', 'NUMEROTRIM', 'NUMEROMOIS', 'NUMEROJOUR','SEMAINEANNE','JOURS','SEMAINEWE','ANNEEF', 'TRIMF', 'MOISF', 'JOURF', 'NUMEROTRIMF', 'NUMEROMOISF', 'NUMEROJOURF','SEMAINEANNEF','JOURSF','SEMAINEWEF','ANNEEEX', 'TRIMEX', 'MOISEX', 'JOUREX', 'NUMEROTRIMEX', 'NUMEROMOISEX', 'NUMEROJOUREX','SEMAINEANNEEX','JOURSEX','SEMAINEWEEX','EDS');
$result = array_intersect($groupbys, $exceptions);
if (count($result) > 0) {
return "DEFAULT";
}
else {
return "indicateurs[52]";
}
EVAL]]]></value>
</PROPERTY>
<PROPERTY name="CHART_ORDER_BY">
<value><![CDATA[[EVAL
$groupbys = array(
'[GROUPBY]',
'[GROUPBY_2]',
'[GROUPBY_3]',
substr('[GROUBY]', 0, 6),
substr('[GROUBY_2]', 0, 6),
substr('[GROUBY_3]', 0, 6)
);
$exceptions = array('ANNEE', 'TRIM', 'TRIM', 'JOUR', 'NUMEROTRIM', 'NUMEROMOIS', 'NUMEROJOUR','SEMAINEANNE','JOURS','SEMAINEWE','ANNEEF', 'TRIMF', 'MOISF', 'JOURF', 'NUMEROTRIMF', 'NUMEROMOISF', 'NUMEROJOURF','SEMAINEANNEF','JOURSF','SEMAINEWEF','ANNEEEX', 'TRIMEX', 'MOISEX', 'JOUREX', 'NUMEROTRIMEX', 'NUMEROMOISEX', 'NUMEROJOUREX','SEMAINEANNEEX','JOURSEX','SEMAINEWEEX');
$result = array_intersect($groupbys, $exceptions);
if (count($result) > 0) {
return "1";
}
else {
return "-1";
}
EVAL]]]></value>
</PROPERTY>
</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="Période de sortie" UI="combo" tree="true" width="150" default="2009-01-01" globalListProvider="DATE_DEBUT" >
</FIELD>
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="150" default="2009-01-31" globalListProvider="DATE_FIN" >
</FIELD>
</GROUP>
<GROUP>
<FIELD name="GROUPBY" label="Regroupement" UI="combo" default="UFS" width="210" tree="true">
<OPTION label="ETATDOSSIERS_GROUPBY" data="" globalListProvider="ETATDOSSIERS_GROUPBY"/>
</FIELD>
<FIELD name="GROUPBY_TAB" 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>
<FIELD name="GROUPBY_2" label="" UI="combo" default="-1" width="210" tree="true">
<OPTION label="" data="-1"/>
<OPTION label="ETATDOSSIERS_GROUPBY" data="" globalListProvider="ETATDOSSIERS_GROUPBY"/>
</FIELD>
<FIELD name="GROUPBY_3" label="" UI="combo" default="-1" width="210" tree="true">
<OPTION label="" data="-1"/>
<OPTION label="ETATDOSSIERS_GROUPBY" data="" globalListProvider="ETATDOSSIERS_GROUPBY"/>
</FIELD>
</GROUP>
<GROUP>
<FIELD name="LGROUPBY" label="" UI="combo" default="-1" width="210" tree="true" visible="false">
<OPTION label="" data="-1"/>
<OPTION label="ETATDOSSIERS_GROUPBY" data="" globalListProvider="ETATDOSSIERS_GROUPBY"/>
</FIELD>
<FIELD name="LGROUPBY_2" label="" UI="combo" default="-1" width="210" tree="true" visible="false">
<OPTION label="" data="-1"/>
<OPTION label="ETATDOSSIERS_GROUPBY" data="" globalListProvider="ETATDOSSIERS_GROUPBY"/>
</FIELD>
<FIELD name="LGROUPBY_3" label="" UI="combo" default="-1" width="210" tree="true" visible="false">
<OPTION label="" data="-1"/>
<OPTION label="ETATDOSSIERS_GROUPBY" data="" globalListProvider="ETATDOSSIERS_GROUPBY"/>
</FIELD>
</GROUP>
</SELECTIONS>
<SELECTIONS componentName="FILTRES_ETAT_SEJOURS_SOUSSELECTIONS"/>
<SELECTIONS componentName="FILTRES_ETATDOSSIERS_SELECTIONS"/>
<SELECTIONS componentName="FILTRES_SEJOURS_SELECTIONS"/>
<SELECTIONS componentName="FILTRES_PATIENTS_SELECTIONS"/>
<SELECTIONS componentName="FILTRES_PASSAGES_SELECTIONS" />
<QUERIES>
<QUERY label="">
<SQL optimizer="V_SEJOURS_X">
<select><![CDATA[
CTISELECT_TREE
WORKTABLE{acti000057}
LEVEL0_PROPERTIES{VIEWNAME=[VIEW.LEVEL0_VIEW]}
LEVEL1_PROPERTIES{VIEWNAME=[VIEW.LEVEL1_VIEW]}
LEVEL2_PROPERTIES{VIEWNAME=[VIEW.LEVEL2_VIEW]}
LEVEL3_PROPERTIES{VIEWNAME=[VIEW.LEVEL3_VIEW]}
GROUPBY1{[VIEW.GROUPBY_OID_FIELD],, [VIEW.GROUPBY_COD_FIELD],, [VIEW.GROUPBY_TXT_FIELD]}
GROUPBY1MODE{[GROUPBY_TAB]}
GROUPBY2{[VIEW.GROUPBY_2_OID_FIELD],, [VIEW.GROUPBY_2_COD_FIELD],, [VIEW.GROUPBY_2_TXT_FIELD]}
GROUPBY3{[VIEW.GROUPBY_3_OID_FIELD],, [VIEW.GROUPBY_3_COD_FIELD],, [VIEW.GROUPBY_3_TXT_FIELD]}
SIGNIFDATA{[VIEW.ACTIVITE_SIGNIFICATIVE_DATA],, [ACTIVITE_SIGNIFICATIVE_MODE],, [ACTIVITE_SIGNIFICATIVE_NUMBER]}
INDICATORS{
COUNT(DISTINCT v_factures_reference_1.no_sejour),,
COUNT(DISTINCT CASE WHEN v_factures_reference_1.code_sorti = '1' AND v_factures_reference_1.date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]' THEN v_factures_reference_1.no_sejour ELSE NULL END),,
COUNT(DISTINCT no_facture_reference),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_factures::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_factures_regularisation::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_rejets::text]),,
base.cti_division(SUM(v_factures_reference_1.delai_groupage),SUM(v_factures_reference_1.nb_groupe)),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_groupe::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.retard_groupage::text]),,
AVG(CASE WHEN v_factures_reference_1.nb_non_groupe = 1 THEN ((SELECT valeur_date FROM activite.t_divers where code = 'NOW')::date - v_factures_reference_1.date_sortie) ELSE NULL END),,
base.cti_division(SUM(v_factures_reference_1.delai_facture),SUM(v_factures_reference_1.nb_calcules)),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_facture_reference, v_factures_reference_1.nb_calcules::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_calcules::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_calcules_bg::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_calcules_horsbg::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.retard_facture::text]),,
AVG(CASE WHEN v_factures_reference_1.nb_non_calcules = 1 THEN ((SELECT valeur_date FROM activite.t_divers where code = 'NOW')::date - v_factures_reference_1.date_sortie) ELSE NULL END),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_calcules_non_groupes::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN v_factures_reference_1.nb_non_groupe = 0 AND v_factures_reference_1.nb_non_calcules > 0 THEN 1 ELSE 0 END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_encours[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_encours_non_groupes[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_encours_groupes[VIEW.CLIHON]::text]),,
AVG(v_factures_reference_1.delai_expedition),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_expedie[VIEW.CLIHON]::text]),,
0::numeric,,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_non_expedie[VIEW.CLIHON]::text]),,
AVG(v_factures_reference_1.delai_expedition_1),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_expedie_1[VIEW.CLIHON]::text]),,
0::numeric,,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_non_expedie_1[VIEW.CLIHON]::text]),,
AVG(v_factures_reference_1.delai_expedition_2),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_expedie_2[VIEW.CLIHON]::text]),,
0::numeric,,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_non_expedie_2[VIEW.CLIHON]::text]),,
base.cti_division(SUM(v_factures_reference_1.delai_solde_c),SUM(CASE WHEN nb_non_solde_0_c <> 0 or nb_non_solde_1_c <> 0 or nb_non_solde_2_c <> 0 THEN 0 ELSE 1 END)),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_facture_reference, v_factures_reference_1.nb_non_solde[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_cloture[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN v_factures_reference_1.nb_non_solde[VIEW.CLIHON] <> 0 THEN v_factures_reference_1.montant_facture[VIEW.CLIHON] ELSE NULL END )::text]),,
AVG(v_factures_reference_1.delai_solde_0[VIEW.CLIHON]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_solde_0[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_cloture_0[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN v_factures_reference_1.nb_non_solde_0[VIEW.CLIHON] <> 0 THEN v_factures_reference_1.montant_solde_0[VIEW.CLIHON] ELSE 0 END)::text]),,
AVG(v_factures_reference_1.delai_solde_1[VIEW.CLIHON]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_solde_1[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_cloture_1[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN v_factures_reference_1.nb_non_solde_1[VIEW.CLIHON] <> 0 then v_factures_reference_1.montant_solde_1[VIEW.CLIHON] ELSE 0 END)::text]),,
AVG(v_factures_reference_1.delai_solde_2[VIEW.CLIHON]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_solde_2[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.nb_non_cloture_2[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN v_factures_reference_1.nb_non_solde[VIEW.CLIHON] <> 0 THEN v_factures_reference_1.montant_solde_2[VIEW.CLIHON] ELSE 0 END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (v_factures_reference_1.montant_comptabilise[VIEW.CLIHON] - v_factures_reference_1.montant_non_expedie[VIEW.CLIHON])::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_facture[VIEW.CLIHON]::text]),,
COUNT(DISTINCT CASE WHEN v_factures_reference_1.date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND v_factures_reference_1.nb_non_expedie[VIEW.CLIHON] <> 1 THEN v_factures_reference_1.no_sejour ELSE NULL END),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_comptabilise[VIEW.CLIHON]::text]),,
COUNT(DISTINCT CASE WHEN v_factures_reference_1.date_fin_facture BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND v_factures_reference_1.nb_non_solde[VIEW.CLIHON] <> 1 THEN v_factures_reference_1.no_sejour ELSE NULL END),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN v_factures_reference_1.nb_non_solde[VIEW.CLIHON] <> 1 THEN v_factures_reference_1.montant_facture[VIEW.CLIHON] ELSE NULL END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_encours[VIEW.CLIHON]::text]) + base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, v_factures_reference_1.montant_facture[VIEW.CLIHON]::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_facture_reference, (CASE WHEN v_factures_reference_1.date_sortie - v_factures_reference_1.date_entree = 0 THEN 1 ELSE v_factures_reference_1.date_sortie - v_factures_reference_1.date_entree END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '1' THEN 1 ELSE 0 END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '2' OR type_sejour = '5' THEN 1 ELSE 0 END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '1' THEN v_factures_reference_1.montant_facture[VIEW.CLIHON] ELSE NULL END)::text]) + base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '1' THEN v_factures_reference_1.montant_encours[VIEW.CLIHON] ELSE NULL END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '2' OR type_sejour = '5' THEN v_factures_reference_1.montant_facture[VIEW.CLIHON] ELSE NULL END)::text]) + base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '2' OR type_sejour = '5' THEN v_factures_reference_1.montant_encours[VIEW.CLIHON] ELSE NULL END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '3' THEN 1 ELSE 0 END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '3' THEN v_factures_reference_1.montant_facture ELSE NULL END)::text]) + base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '3' THEN v_factures_reference_1.montant_encours ELSE NULL END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '1' AND nb_non_calcules <> 1 THEN 1 ELSE NULL END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN (type_sejour = '2' OR type_sejour = '5') AND nb_non_calcules <> 1 THEN 1 ELSE 0 END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '3' AND nb_non_calcules <> 1 THEN 1 ELSE 0 END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '1' THEN v_factures_reference_1.montant_facture[VIEW.CLIHON] ELSE NULL END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '2' OR type_sejour = '5' THEN v_factures_reference_1.montant_facture[VIEW.CLIHON] ELSE NULL END)::text]),,
base.cti_sum_distinct_on(distinct array[v_factures_reference_1.no_sejour, (CASE WHEN type_sejour = '3' THEN v_factures_reference_1.montant_facture ELSE NULL END)::text]),,
}
ORDERBY{[VIEW.ORDERBY],, DESC}
FROM activite.[LEVELPROPERTY.VIEWNAME] v_factures_reference_1
JOIN #V_SEJOURS_X# ON (v_factures_reference_1.no_sejour = v_sejours_1.no_sejour)
WHERE
[VIEW.DATE_GBY] BETWEEN '[PERIODE]' AND '[TOPERIODE]'
[VIEW.SEJOURS_SELECT]
[VIEW.ETATDOSSIERS_SELECT]
[VIEW.PASSAGES_SELECT]
[VIEW.PATIENTS_SELECT]
]]></select>
<FIELDS>
<INSERT name="CTISELECT_TREE_FIELDS"/>
<FIELD name="SORT" />
<FIELD name="NSEJ"/>
<FIELD name="NSEJS"/>
<FIELD name="NSEJF"/>
<FIELD name="NFACS"/>
<FIELD name="NREGS"/>
<FIELD name="NREJS"/>
<FIELD name="DGRP"/>
<FIELD name="NNGRP"/>
<FIELD name="TGRP"/>
<FIELD name="RGRP"/>
<FIELD name="DFAC"/>
<FIELD name="NFACF"/>
<FIELD name="NNFAC"/>
<FIELD name="NNFACBG"/>
<FIELD name="NNFACHBG"/>
<FIELD name="TFAC"/>
<FIELD name="RFAC"/>
<FIELD name="NNFACA"/>
<FIELD name="NNFACB"/>
<FIELD name="MNFAC"/>
<FIELD name="MNFACA"/>
<FIELD name="MNFACB"/>
<FIELD name="DEXP"/>
<FIELD name="NNEXP"/>
<FIELD name="NNEXPF"/>
<FIELD name="MNEXP"/>
<FIELD name="DEXP1"/>
<FIELD name="NNEXP1"/>
<FIELD name="NNEXPF1"/>
<FIELD name="MNEXP1"/>
<FIELD name="DEXP2"/>
<FIELD name="NNEXP2"/>
<FIELD name="NNEXPF2"/>
<FIELD name="MNEXP2"/>
<FIELD name="DSOL"/>
<FIELD name="NNSOL"/>
<FIELD name="NNCLO"/>
<FIELD name="MNSOL"/>
<FIELD name="DSOL0"/>
<FIELD name="NNSOL0"/>
<FIELD name="NNCLO0"/>
<FIELD name="MNSOL0"/>
<FIELD name="DSOL1"/>
<FIELD name="NNSOL1"/>
<FIELD name="NNCLO1"/>
<FIELD name="MNSOL1"/>
<FIELD name="DSOL2"/>
<FIELD name="NNSOL2"/>
<FIELD name="NNCLO2"/>
<FIELD name="MNSOL2"/>
<FIELD name="MEXP"/>
<FIELD name="MFAC"/>
<FIELD name="NFCTEXP"/>
<FIELD name="MCPT"/>
<FIELD name="NBSOL"/>
<FIELD name="MTSOL"/>
<FIELD name="MFACV"/>
<FIELD name="JHOSP"/>
<FIELD name="SEJHC"/>
<FIELD name="SEJHJ"/>
<FIELD name="MFPVHC"/>
<FIELD name="MFPVHJ"/>
<FIELD name="SEJAUT"/>
<FIELD name="MFPVAUT"/>
<FIELD name="SEJFHC"/>
<FIELD name="SEJFHJ"/>
<FIELD name="SEJFAUT"/>
<FIELD name="MFACHC"/>
<FIELD name="MFACHJ"/>
<FIELD name="MFACAUT"/>
</FIELDS>
</SQL>
</QUERY>
<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
<SQL>
<select><![CDATA[
SELECT 'X_PERIODE', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL '3 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM activite.p_factures ))::text;
]]></select>
<FIELDS>
<FIELD name="name"/>
<FIELD name="value"/>
</FIELDS>
</SQL>
</QUERY>
</QUERIES>
<PRESENTATION>
<VIEWLINKS>
<VIEWLINK label="(&#8721;) Dernier Mois/Année " shortLabel="Mois/Année" rowContext="false" buttonType="VIEWLINKPOPUP">
<VIEWITEM label="Dernier mois" data="1" shortLabel="dernier mois" view="ACTI000060.XML" enabled="true" >
<ARG name="ALIAS_PERIODE" value="return '-1';" />
<ARG name="PERIODE_D" value="return VIEW.COMP_PERIODE_D;" />
<ARG name="TOPERIODE_D" value="return VIEW.COMP_TOPERIODE_D;" />
<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,8)+'01';" />
<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE;" />
<ARG name="GROUPBY" value="return 'JOURS'" />
<ARG name="GROUPBY_2" value="return '-1'" />
<ARG name="GROUPBY_3" value="return '-1'" />
<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;" />
<ARG name="DATA1" value="'NSEJ'" />
<ARG name="DATA2" value="'MVFAC'" />
<ARG name="DATA3" value="'DELFAC'" />
<ARG name="TYPE_COMPARAISON" value="'2'" />
</VIEWITEM>
<VIEWITEM label="&#8721; dernier mois" data="2" shortLabel="&#8721; dernier mois" view="ACTI000146.XML" enabled="true" rowContext="false" buttonType="COMPARATIF" >
<ARG name="ALIAS_PERIODE" value="return '-1';" />
<ARG name="PERIODE_D" value="return VIEW.COMP_PERIODE_D;" />
<ARG name="TOPERIODE_D" value="return VIEW.COMP_TOPERIODE_D;" />
<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,8) + '01';" />
<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE" />
<ARG name="GROUPBY" value="return 'JOURS'" />
<ARG name="GROUPBY_2" value="return '-1'" />
<ARG name="GROUPBY_3" value="return '-1'" />
<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;" />
<ARG name="DATA1" value="'NSEJ'" />
<ARG name="DATA2" value="'MVFAC'" />
<ARG name="DATA3" value="'DELFAC'" />
<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;" />
<ARG name="TYPE_COMPARAISON" value="'2'"/>
</VIEWITEM>
<VIEWITEM label="Dernière année" data="2" shortLabel="derniere année" view="ACTI000060.XML" enabled="true" rowContext="false" buttonType="COMPARATIF" >
<ARG name="ALIAS_PERIODE" value="return '-1';" />
<ARG name="PERIODE_D" value="return VIEW.COMP_PERIODE_D;" />
<ARG name="TOPERIODE_D" value="return VIEW.COMP_TOPERIODE_D;" />
<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE" />
<ARG name="GROUPBY" value="return 'NUMEROMOIS'" />
<ARG name="GROUPBY_2" value="return '-1'" />
<ARG name="GROUPBY_3" value="return '-1'" />
<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;" />
<ARG name="DATA1" value="'NSEJ'" />
<ARG name="DATA2" value="'MVFAC'" />
<ARG name="TYPE_COMPARAISON" value="'2'" />
</VIEWITEM>
<VIEWITEM label="&#8721; dernière Année" shortLabel="&#8721; derniere année" view="ACTI000146.XML" rowContext="false" enabled="true" buttonType="COMPARATIF">
<ARG name="ALIAS_PERIODE" value="return '-1';" />
<ARG name="PERIODE_D" value="return VIEW.COMP_PERIODE_D;" />
<ARG name="TOPERIODE_D" value="return VIEW.COMP_TOPERIODE_D;" />
<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE;" />
<ARG name="GROUPBY" value="return 'NUMEROMOIS'" />
<ARG name="GROUPBY_2" value="return '-1'" />
<ARG name="GROUPBY_3" value="return '-1'" />
<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;" />
<ARG name="DATA1" value="'NSEJ'" />
<ARG name="DATA2" value="'MVFAC'" />
<ARG name="TYPE_COMPARAISON" value="'2'" />
</VIEWITEM>
</VIEWLINK>
<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="ACTI000060.XML" rowContext="false" enabled="true" buttonType="COMPARATIF" >
<ARG name="PERIODE" value="return VIEW.COMP_PERIODE;" />
<ARG name="PERIODE_D" value="return VIEW.COMP_PERIODE_D;" />
<ARG name="TOPERIODE_D" value="return VIEW.COMP_TOPERIODE_D;" />
<ARG name="GROUPBY" value="if (SELECT.GROUPBY == 'JOUR' ) {return 'JOURS'}
if (SELECT.GROUPBY == 'JOURF' ) {return 'JOURSF'}
if (SELECT.GROUPBY == 'MOIS' ) {return 'NUMEROMOIS'}
if (SELECT.GROUPBY == 'MOISF' ) {return 'NUMEROMOISF'}
" />
<ARG name="DATA1" value="'NSEJ'"/>
<ARG name="DATA2" value="'MVFAC'"/>
<ARG name="DATA3" value="'NSEJHC'"/>
<ARG name="DATA4" value="'MVFHC'"/>
<ARG name="DATA5" value="'NSEJHJ'"/>
<ARG name="DATA6" value="'MVFHJ'"/>
<ARG name="DATA7" value="'0'" />
<ARG name="DATA8" value="'0'" />
<ARG name="DATA9" value="'0'" />
<ARG name="DATA10" value="'0'" />
<ARG name="DATA011" value="'0'" />
<ARG name="DATA012" value="'0'" />
<ARG name="DATA013" value="'0'" />
<ARG name="DATA014" value="'0'" />
<ARG name="DATA1015" value="'0'" />
<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;" />
<ARG name="TYPE_COMPARAISON" value="'2'" />
</VIEWLINK>
<VIEWLINK label="Comparatif mensuel" shortLabel="Comp. Mensuel" view="ACTI000161.XML" rowContext="false" enabled="true" buttonType="COMPARATIF" >
<ARG name="PERIODE" value="return VIEW.COMP_PERIODE;" />
<ARG name="PERIODE_D" value="return VIEW.COMP_PERIODE_D;" />
<ARG name="TOPERIODE_D" value="return VIEW.COMP_TOPERIODE_D;" />
<ARG name="GROUPBY" value="if (SELECT.GROUPBY == 'JOUR' ) {return 'JOURS'}
if (SELECT.GROUPBY == 'JOURF' ) {return 'JOURSF'}
if (SELECT.GROUPBY == 'MOIS' ) {return 'NUMEROMOIS'}
if (SELECT.GROUPBY == 'MOISF' ) {return 'NUMEROMOISF'}
" />
<ARG name="LGROUPBY" value="return SELECT.GROUPBY;" />
<ARG name="DATA1" value="'NSEJ'"/>
<ARG name="DATA2" value="'MVFAC'"/>
<ARG name="DATA3" value="'NSEJHC'"/>
<ARG name="TYPE_COMPARAISON" value="'2'" />
</VIEWLINK>
<VIEWLINK label="Effets" shortLabel="Effets" view="ACTI000140.XML" rowContext="false" enabled="true" buttonType="COMPARATIF" >
<ARG name="ALIAS_PERIODE" value="return '-1';" />
<ARG name="PERIODE" value="return VIEW.COMP_PERIODE;" />
<ARG name="GROUPBY" value="if (SELECT.GROUPBY == 'JOUR' ) {return 'JOURS'}
if (SELECT.GROUPBY == 'JOURF' ) {return 'JOURSF'}
if (SELECT.GROUPBY == 'MOIS' ) {return 'NUMEROMOIS'}
if (SELECT.GROUPBY == 'MOISF' ) {return 'NUMEROMOISF'}
" />
<ARG name="DATA01" value="'1.1'" />
<ARG name="TYPE_COMPARAISON" value="'2'" />
</VIEWLINK>
<VIEWLINK label="Evolution comparative" shortLabel="Evol. comparative" rowContext="false" buttonType="VIEWLINK_EVO_COMP" >
<VIEWITEM label="Standard" shortLabel="Evolution comparative" view="ACTI000162.XML" rowContext="false" enabled="true" buttonType="VIEWLINK_EVO_COMP">
<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" />
<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
<ARG name="GROUPBY" value="return SELECT.LGROUPBY;" />
<ARG name="GROUPBY_2" value="return 'NUMEROMOIS';" />
<ARG name="DATA1" value="'NSEJ'"/>
<ARG name="DATA2" value="'MVFAC'"/>
<ARG name="DATA3" value="'NSEJHC'"/>
<ARG name="DATA4" value="'MVFHC'"/>
<ARG name="DATA5" value="'NSEJHJ'"/>
<ARG name="DATA6" value="'MVFHJ'"/>
<ARG name="DATA7" value="'0'" />
<ARG name="DATA8" value="'0'" />
<ARG name="DATA9" value="'0'" />
<ARG name="DATA10" value="'0'" />
<ARG name="DATA011" value="'0'" />
<ARG name="DATA012" value="'0'" />
<ARG name="DATA013" value="'0'" />
<ARG name="DATA014" value="'0'" />
<ARG name="DATA1015" value="'0'" />
<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;" />
<ARG name="GROUPBY_TAB" value="return 'TAB';" />
<ARG name="TYPE_COMPARAISON" value="'2'" />
</VIEWITEM>
<VIEWITEM label="Détaillée" shortLabel="Evolution comparative" view="ACTI000162.XML" rowContext="false" enabled="true" buttonType="COMPARATIF">
<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" />
<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
<ARG name="GROUPBY" value="return SELECT.LGROUPBY;" />
<ARG name="GROUPBY_2" value="return 'NUMEROMOIS';" />
<ARG name="DATA1" value="'NSEJ'" />
<ARG name="DATA2" value="'MFAC'" />
<ARG name="DATA3" value="'DELGRP'" />
<ARG name="DATA4" value="'DELFAC'" />
<ARG name="DATA5" value="'MVFAC'" />
<ARG name="DATA6" value="'CAMFV'" />
<ARG name="DATA7" value="'MNFAC'" />
<ARG name="DATA8" value="'NSEJHC'" />
<ARG name="DATA9" value="'MVFHC'" />
<ARG name="DATA10" value="'CAMFVHC'" />
<ARG name="DATA011" value="'NSEJHJ'" />
<ARG name="DATA012" value="'MVFHJ'" />
<ARG name="DATA013" value="'CAMFVHJ'" />
<ARG name="DATA014" value="'NBNSOL'" />
<ARG name="DATA1015" value="'MTNSOL'" />
<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;" />
<ARG name="GROUPBY_TAB" value="return 'TAB';" />
<ARG name="TYPE_COMPARAISON" value="'2'" />
</VIEWITEM>
</VIEWLINK>
<VIEWLINK label="Evolution" shortLabel="Evolution" view="ACTI000059.XML" rowContext="false" enabled="true" buttonType="EVOLUTION" componentName="PERIODICITE_VIEWLINK" >
<ARG name="DATA" value="'MVFAC'"/>
</VIEWLINK>
<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="ACTI000137.XML" enabled="true" rowContext="false" buttonType="ANALYSE_CROISEE" >
<ARG name="ALIAS_PERIODE" value="return '-1'" />
<ARG name="PERIODE" value="return VIEW.X_PERIODE;" />
<ARG name="DATA" value="'MVFAC'" />
<ARG name="COLUMNBY" value="'NUMEROMOIS'" />
<ARG name="GROUPBY" value="'ANNEE'" />
<ARG name="GROUPBY_2" value="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" view="ACTI000057.XML" enabled="true" rowContext="false" buttonType="ANALYSE" >
<ARG name="ALIAS_PERIODE" value="return '-1'" />
<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01'" />
<ARG name="GROUPBY" value="if((SELECT.GROUPBY == 'JOURS') || (SELECT.GROUPBY == 'NUMEROMOIS')) {return SELECT.GROUPBY_2;}
else {return SELECT.GROUPBY;}" />
<ARG name="GROUPBY_2" value="return SELECT.GROUPBY_2" />
<ARG name="GROUPBY_3" value="return SELECT.GROUPBY_3" />
<ARG name="GROUPBY_TAB" value="'TAB'" />
<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="Liste des séjours" shortLabel="Séjours" view="ACTI000058.XML" componentName="ETA_DOS_BASE_VIEWLINK" component2Name="STANDARD_BASE_VIEWLINK">
<ARG name="PERIODE">
<value>
<![CDATA[
if (SELECT.GROUPBY == 'MOIS' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOIS' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOIS' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
if (SELECT.GROUPBY == 'MOISF' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOISF' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOISF' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
if (SELECT.GROUPBY == 'MOISEX' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOISEX' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOISEX' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
return SELECT.PERIODE;
]]>
</value>
</ARG>
<ARG name="TOPERIODE">
<value>
<![CDATA[
if (SELECT.GROUPBY == 'MOIS' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOIS' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOIS' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
if (SELECT.GROUPBY == 'MOISF' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOISF' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOISF' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
if (SELECT.GROUPBY == 'MOISEX' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOISEX' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOISEX' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
return SELECT.TOPERIODE;
]]>
</value>
</ARG>
<ARG name="QUELLEDATE">
<value>
<![CDATA[
if('[GROUPBY]' == 'ANNEEF' || '[GROUPBY]' == 'TRIMF' || '[GROUPBY]' == 'JOURF' || '[GROUPBY]' == 'NUMEROTRIMF' || '[GROUPBY]' == 'NUMEROMOISF' || '[GROUPBY]' == 'NUMEROJOURF' || '[GROUPBY]' == 'SEMAINEANNEF' || '[GROUPBY]' == 'JOURSF' || '[GROUPBY]' == 'SEMAINEWEF'
|| '[GROUPBY_2]' == 'ANNEEF' || '[GROUPBY_2]' == 'TRIMF' || '[GROUPBY_2]' == 'JOURF' || '[GROUPBY_2]' == 'NUMEROTRIMF' || '[GROUPBY_2]' == 'NUMEROMOISF' || '[GROUPBY_2]' == 'NUMEROJOURF' || '[GROUPBY_2]' == 'SEMAINEANNEF' || '[GROUPBY_2]' == 'JOURSF' || '[GROUPBY_2]' == 'SEMAINEWEF'
|| '[GROUPBY_3]' == 'ANNEEF' || '[GROUPBY_3]' == 'TRIMF' || '[GROUPBY_3]' == 'JOURF' || '[GROUPBY_3]' == 'NUMEROTRIMF' || '[GROUPBY_3]' == 'NUMEROMOISF' || '[GROUPBY_3]' == 'NUMEROJOURF' || '[GROUPBY_3]' == 'SEMAINEANNEF' || '[GROUPBY_3]' == 'JOURSF' || '[GROUPBY_3]' == 'SEMAINEWEF')
{return '2';}
if('[GROUPBY]' == 'ANNEEEX' || '[GROUPBY]' == 'TRIMEX' || '[GROUPBY]' == 'JOUREX' || '[GROUPBY]' == 'NUMEROTRIMEX' || '[GROUPBY]' == 'NUMEROMOISEX' || '[GROUPBY]' == 'NUMEROJOUREX' || '[GROUPBY]' == 'SEMAINEANNEEX' || '[GROUPBY]' == 'JOURSEX' || '[GROUPBY]' == 'SEMAINEWEEX'
|| '[GROUPBY_2]' == 'ANNEEEX' || '[GROUPBY_2]' == 'TRIMEX' || '[GROUPBY_2]' == 'JOUREX' || '[GROUPBY_2]' == 'NUMEROTRIMEX' || '[GROUPBY_2]' == 'NUMEROMOISEX' || '[GROUPBY_2]' == 'NUMEROJOUREX' || '[GROUPBY_2]' == 'SEMAINEANNEEX' || '[GROUPBY_2]' == 'JOURSEX' || '[GROUPBY_2]' == 'SEMAINEWEEX'
|| '[GROUPBY_3]' == 'ANNEEEX' || '[GROUPBY_3]' == 'TRIMEX' || '[GROUPBY_3]' == 'JOUREX' || '[GROUPBY_3]' == 'NUMEROTRIMEX' || '[GROUPBY_3]' == 'NUMEROMOISEX' || '[GROUPBY_3]' == 'NUMEROJOUREX' || '[GROUPBY_3]' == 'SEMAINEANNEEX' || '[GROUPBY_3]' == 'JOURSEX' || '[GROUPBY_3]' == 'SEMAINEWEEX')
{return '3';}
return '1';
]]>
</value>
</ARG>
<ARG name="QDETAIL_TIERS">
<value>
<![CDATA[
return '-1';
]]>
</value>
</ARG>
</VIEWLINK>
<VIEWLINK label="Liste des séjours par tiers " shortLabel="Tiers" view="ACTI000058.XML" componentName="ETA_DOS_BASE_VIEWLINK" component2Name="STANDARD_BASE_VIEWLINK">
<ARG name="PERIODE">
<value>
<![CDATA[
if (SELECT.GROUPBY == 'MOIS' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOIS' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOIS' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
if (SELECT.GROUPBY == 'MOISF' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOISF' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOISF' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
if (SELECT.GROUPBY == 'MOISEX' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOISEX' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOISEX' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
return SELECT.PERIODE;
]]>
</value>
</ARG>
<ARG name="TOPERIODE">
<value>
<![CDATA[
if (SELECT.GROUPBY == 'MOIS' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOIS' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOIS' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
if (SELECT.GROUPBY == 'MOISF' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOISF' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOISF' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
if (SELECT.GROUPBY == 'MOISEX' && ROW.OID1 != '-9999999') {return ROW.OID1;}
if (SELECT.GROUPBY_2 == 'MOISEX' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;}
if (SELECT.GROUPBY_3 == 'MOISEX' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;}
return SELECT.TOPERIODE;
]]>
</value>
</ARG>
<ARG name="QUELLEDATE">
<value>
<![CDATA[
if('[GROUPBY]' == 'ANNEEF' || '[GROUPBY]' == 'TRIMF' || '[GROUPBY]' == 'JOURF' || '[GROUPBY]' == 'NUMEROTRIMF' || '[GROUPBY]' == 'NUMEROMOISF' || '[GROUPBY]' == 'NUMEROJOURF' || '[GROUPBY]' == 'SEMAINEANNEF' || '[GROUPBY]' == 'JOURSF' || '[GROUPBY]' == 'SEMAINEWEF' ) {return '2';}
if('[GROUPBY]' == 'ANNEEEX' || '[GROUPBY]' == 'TRIMEX' || '[GROUPBY]' == 'JOUREX' || '[GROUPBY]' == 'NUMEROTRIMEX' || '[GROUPBY]' == 'NUMEROMOISEX' || '[GROUPBY]' == 'NUMEROJOUREX' || '[GROUPBY]' == 'SEMAINEANNEEX' || '[GROUPBY]' == 'JOURSEX' || '[GROUPBY]' == 'SEMAINEWEEX' ) {return '3';}
return '1';
]]>
</value>
</ARG>
<ARG name="QDETAIL_TIERS">
<value>
<![CDATA[
return '1';
]]>
</value>
</ARG>
</VIEWLINK>
</VIEWLINKS>
<ONGLET excelLabel="Synthèse" label="Synthèse" multiTab="true">
<CHART title="" type="group" subType="" percentHeight="100" visibleCondition="VIEW.CHART_ORDER_BY == '-1'">
<CHART title="C.A Facturé (10 premiers)" type="pieChart" subType="" maxItems="10" maxItemsSortOn="COD" maxItemsSortSeq="" sortField="MFAC" sortSeq="D" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char" />
<SERIE field="MFAC" displayName="C.A Facturé" />
</CHART>
<CHART title="Délai de traitement (10 premiers)" type="columnChart" subType="overlaid" maxItems="10" sortField="MFAC" sortSeq="D"
visibleCondition="VIEW.CHART_ORDER_BY == '-1'" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="DSOL" displayName="Délai solde"/>
<SERIE field="DEXP" displayName="Délai expédition"/>
<SERIE field="DFAC" displayName="Délai facturation"/>
<SERIE field="DGRP" displayName="Délai groupage"/>
</CHART>
</CHART>
<CHART title="" type="group" subType="" percentHeight="100" visibleCondition="VIEW.CHART_ORDER_BY == '1'">
<CHART title="C.A Facturé (10 premiers)" type="pieChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="COD" sortSeq="D" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char" />
<SERIE field="MFAC" displayName="C.A Facturé" />
</CHART>
<CHART title="Délai de traitement (10 premiers)" type="columnChart" subType="overlaid" maxItems="10" maxItemsSortOn="COD" maxItemsSortSeq="A" sortField="COD" sortSeq="A"
visibleCondition="VIEW.CHART_ORDER_BY == '1'" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="DSOL" displayName="Délai solde"/>
<SERIE field="DEXP" displayName="Délai expédition"/>
<SERIE field="DFAC" displayName="Délai facturation"/>
<SERIE field="DGRP" displayName="Délai groupage"/>
</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_3 == '-1' &amp;&amp; (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="90" 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="NSEJ" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJS" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Dont Séjours sortis" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours sortis sur la période (Long séjours avec facturation intermédiaire)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACS" width="60" type="Number" outputFormat="#" headerText="Factures créées" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures en tenant compte des compléments de factures(Avoir-Additif)">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFAC" width="90" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. facturé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé période">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NREGS" width="50" type="Number" outputFormat="#" fixed="false" headerText="Dont régul." textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures complémentaires (Avoir-Additif)">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PREGS" type="Number" headerText="% Réguls" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% de régularisations">
<CALC dataField="NREGS"/>
<CALC dataField="NFACS" operator="/"/>
<CALC dataField="*constant" value="100" operator="*"/>
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="DGRP" type="Number" headerText="Délai group." width="50" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Délai de groupage sur les séjours période déjà groupés calculé sur la date de sortie du séjour" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNGRP" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Reste à grouper" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours non groupés">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="TGRP" type="Number" headerText="Temps de groupage" width="65" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours non groupés / Nombre de séjours groupés par jour : Calcul par service">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="RGRP" type="Number" headerText="Retard de groupage" width="65" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Délai de groupage sur les séjours période non groupés calculé sur la date de dernier import">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNFAC" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Reste à facturer" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures de référence non facturées">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNFACB" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Dont Groupés &amp; hors PMSI" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures référence facturables: Groupés ou hors PMSI" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="DFAC" type="Number" headerText="Délai fact." width="50" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Délai de facturation sur les séjours période déjà facturés calculé sur la date de sortie du séjour">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNEXP" width="75" type="Number" visible="true" outputFormat="#" fixed="false" headerText="Reste à expédier" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="(Nombre de séjours ou de factures dans le cas de la facturation intermédiaire) non expédiés">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="DEXP" type="Number" headerText="Délai expéd." width="50" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Délai d'expédition sur les séjours période déjà expédiés calculé sur la date de sortie du séjour" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="DSOL" type="Number" headerText="Délai solde" width="50" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Délai de solde sur les séjours restant à solder calculé sur la date de sortie du séjour" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNSOL" width="65" type="Number" visible="true" outputFormat="#" fixed="false" headerText="Reste à solder" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours non soldés">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
</DATAGRID>
</ONGLET>
<ONGLET excelLabel="Facturation" label="Facturation" multiTab="true">
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="true" maxItems="10">
<CHART title="C.A Facturé (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="MFAC" maxItemsSortSeq="D" sortField="MFAC" sortSeq="D" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MFAC" displayName="'C.A. Facturé'" displayNameCalc="true"/>
</CHART>
<CHART title="Décomposition C.A facturé (10 premiers)" type="columnChart" subType="overlaid" maxItems="10" sortField="NSEJ" sortSeq="D"
visibleCondition="SELECT.GROUPBY != 'MOIA' &amp;&amp; SELECT.GROUPBY != 'MOIS' &amp;&amp; SELECT.GROUPBY != 'MOIV'" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MFACHC" displayName="C.A facturé HC"/>
<SERIE field="MFACHJ" displayName="C.A facturé HJ"/>
<SERIE field="MFACAUT" displayName="C.A facturé Autres"/>
</CHART>
</CHART>
<DATAGRID title="" total="true" showOthers="true" headerHeight="72" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')">
<INSERT name="DATAGRID_MULTITAB_STYLES"/>
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="COD" width="90" 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="NSEJ" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="JHOSP" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Journées Hospit" textAlign="right" totalFunction="sum" otherFunction="sum" description="Journées Hospitalisation" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJF" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Factures référence" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures référence : Identique au nombre de séjours pour les cours séjours * Différents pour les longs séjours avec facturation intermédiaire" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACS" width="60" type="Number" outputFormat="#" headerText="Factures créées" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures en tenant compte des compléments de facture(Avoir-Additif)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACF" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Déjà facturé" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures établies" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFAC" width="90" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. facturé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé sur la période" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFAC" type="Number" headerText="%@LF@Total" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total">
<CALC formula="ROW.MFAC * 100/ TOTALROW.MFAC" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="CAMG" type="Number" headerText="C.A. moyen" width="60" outputFormat="#E" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. moyen total">
<CALC formula="ROW.MFACV / ROW.NSEJ" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="DFAC" type="Number" headerText="Délai fact." width="50" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Délai de facturation sur les séjours période déjà facturés calculé sur la date de sortie du séjour" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="RFAC" type="Number" headerText="Retard de fact." width="65" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Retard de facturation" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNFAC" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Reste à facturer" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures de référence non facturées">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNFACBG" width="65" type="Number" outputFormat="#" fixed="false" visibleCondition="VIEW.NFACBG == '1'" headerText="Dont BG-T2A" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures de référence non facturées (Partie T2A ou BG)">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNFACHBG" width="65" type="Number" outputFormat="#" fixed="false" visibleCondition="VIEW.NFACBG == '1'" headerText="Dont hors BG-T2A" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures de référence non facturées (Sauf partie T2A ou BG)">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="TFAC" type="Number" headerText="Temps de fact." width="65" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Temps de traitement dossier à facturer" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="MNFAC" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. valorisé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. de la valorisation des factures de référence non facturées" >
</COLUMN>
<COLUMN dataField="MFACV" width="90" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. Total@LF@" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé + C.A. valorisé" >
</COLUMN> -->
<COLUMN dataField="SEJFHC" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours@LF@HC" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours hospitalisation complète" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFACHC" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A.@LF@HC" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé hospitalisation complète" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFACHC" type="Number" headerText="% Total@LF@HC" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total hospitalisation complète">
<CALC formula="ROW.MFACHC * 100 / TOTALROW.MFACHC" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="CAMHC" type="Number" headerText="C.A.Moyen@LF@HC" width="65" outputFormat="#E" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. moyen hospitalisation complète">
<CALC formula="ROW.MFACHC / ROW.SEJFHC" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="SEJFHJ" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours@LF@HJ" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours hospitalisation de jour" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFACHJ" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A.@LF@HJ" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé hospitalisation de jour" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFACHJ" type="Number" headerText="% Total@LF@HJ" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total hospitalisation de jour">
<CALC formula="ROW.MFACHJ * 100 / TOTALROW.MFACHJ" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="CAMHJ" type="Number" headerText="C.A.Moyen@LF@HJ" width="65" outputFormat="#E" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. moyen HJ:Hospitalisation de jour correspond au type de séjours '2'et '5'.">
<CALC formula="ROW.MFACHJ / ROW.SEJFHJ" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="SEJFAUT" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours@LF@Autres" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours autres. Autres = Type de séjours externes" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFACAUT" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A.@LF@Autres" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé (Autres) Autres = Type de séjours externes" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFPVAUT" type="Number" headerText="% Total@LF@Autres" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total (Autres)">
<CALC formula="ROW.MFACAUT * 100 / TOTALROW.MFACAUT" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="CAMAUT" type="Number" headerText="C.A.Moyen@LF@Autres" width="65" outputFormat="#E" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. moyen Autres = Type de séjours externes">
<CALC formula="ROW.MFACAUT / ROW.SEJFAUT" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
</DATAGRID>
</ONGLET>
<ONGLET excelLabel="Valorisation" label="Valorisation" multiTab="true">
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="true" maxItems="10">
<CHART title="Reste à facturer (10 premiers)" type="columnChart" subType="overlaid" maxItems="10" sortField="NSEJ" sortSeq="D"
visibleCondition="SELECT.GROUPBY != 'MOIA' &amp;&amp; SELECT.GROUPBY != 'MOIS' &amp;&amp; SELECT.GROUPBY != 'MOIV'" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="NNFAC" displayName="'Reste à facturer'" displayNameCalc="true" />
<SERIE field="NNFACA" displayName="'Dont non groupés'" displayNameCalc="true" />
<SERIE field="NNFACB" displayName="'Dont groupés et hors PMSI Montant'" displayNameCalc="true" />
</CHART>
<CHART title="C.A Valorisé (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="MNFAC" maxItemsSortSeq="D" sortField="MNFAC" sortSeq="D" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MNFAC" displayName="'C.A. valorisé'" displayNameCalc="true"/>
</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_3 == '-1' &amp;&amp; (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="90" 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="NSEJ" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJS" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Dont Séjours sortis" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours sortis sur la période (Long séjours avec facturation intermédiaire)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJF" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Factures référence" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures référence : Identique au nombre de séjours pour les cours séjours * Différents pour les longs séjours avec facturation intermédiaire" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACS" width="60" type="Number" outputFormat="#" headerText="Factures créées" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures en tenant compte des compléments de facture(Avoir-Additif)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NREGS" width="50" type="Number" outputFormat="#" fixed="false" headerText="Dont régul." textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures complémentaires (Avoir-Additif)">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PREGS" type="Number" headerText="% Réguls" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% de régularisations" >
<CALC dataField="NREGS"/>
<CALC dataField="NFACS" operator="/"/>
<CALC dataField="*constant" value="100" operator="*"/>
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NREJS" width="50" type="Number" outputFormat="#" fixed="false" headerText="Dont rejets." textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de rejets (Retour Noemie pour certains prestataires) sinon nombre d'Avoirs" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACF" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Nb de factures" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures de référence établies" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="MFAC" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. facturé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé sur la période" >
</COLUMN>
<COLUMN dataField="MCPT" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. comptabilisé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. comptabilisé sur la période : C.A. généré lors du traitemant comptable" >
</COLUMN> -->
<!-- <COLUMN dataField="DFAC" type="Number" headerText="Délai fact." width="50" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Délai de facturation sur les séjours période déjà facturés calculé sur la date de sortie du séjour" >
</COLUMN> -->
<COLUMN dataField="NNFAC" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Reste à facturer" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures de référence non facturées" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="TFAC" type="Number" headerText="Temps de fact." width="65" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Temps de traitement dossier à facturer" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNFAC" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. valorisé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. de la valorisation des factures de référence non facturées" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFAC" type="Number" headerText="%@LF@Total" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total">
<CALC formula="ROW.MNFAC * 100/ TOTALROW.MNFAC" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="RFAC" type="Number" headerText="Retard de fact." width="65" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Retard de facturation" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="MFACV" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. facturé et valorisé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé + C.A. valorisé non facturé" >
</COLUMN> -->
<COLUMN dataField="NNFACA" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Dont Non Groupés Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours non groupés" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNFACA" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="Dont Non Groupés C.A." textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. de la valorisation des séjours non groupés" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNFACB" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Dont Groupés &amp; hors PMSI" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Cumul Nombre de séjours groupé et des factures de référence hors champ PMSI" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNFACB" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="Dont Groupés &amp; hors PMSI" textAlign="right" totalFunction="sum" otherFunction="sum" description="Cumul C.A. de séjours groupé et des factures de référence hors champ PMSI" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
</DATAGRID>
</ONGLET>
<ONGLET excelLabel="Facturation et Valorisation" label="Facturation et Valorisation " multiTab="true">
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="true" maxItems="10">
<CHART title="C.A total (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="MFACV" maxItemsSortSeq="D" sortField="MFACV" sortSeq="D" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MFACV" displayName="'C.A. total'" displayNameCalc="true"/>
</CHART>
<CHART title="Décomposition C.A total (10 premiers)" type="columnChart" subType="overlaid" maxItems="10" sortField="NSEJ" sortSeq="D"
visibleCondition="SELECT.GROUPBY != 'MOIA' &amp;&amp; SELECT.GROUPBY != 'MOIS' &amp;&amp; SELECT.GROUPBY != 'MOIV'" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MFPVHC" displayName="C.A facturé HC"/>
<SERIE field="MFPVHJ" displayName="C.A facturé HJ"/>
<SERIE field="MFPVAUT" displayName="C.A facturé Autres"/>
</CHART>
</CHART>
<DATAGRID title="" total="true" showOthers="true" headerHeight="72" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')">
<INSERT name="DATAGRID_MULTITAB_STYLES"/>
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="COD" width="90" 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="NSEJ" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="JHOSP" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Journées Hospit" textAlign="right" totalFunction="sum" otherFunction="sum" description="Journées Hospitalisation" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJF" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Factures référence" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures référence : Identique au nombre de séjours pour les cours séjours * Différents pour les longs séjours avec facturation intermédiaire" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACS" width="60" type="Number" outputFormat="#" headerText="Factures créées" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures en tenant compte des compléments de facture(Avoir-Additif)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACF" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Déjà facturé" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures établies" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFAC" width="90" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. facturé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé sur la période" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNFAC" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Reste à facturer" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures de référence non facturées">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNFAC" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. valorisé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. de la valorisation des factures de référence non facturées" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFACV" width="90" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. Total@LF@" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé + C.A. valorisé" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFACV" type="Number" headerText="%@LF@Total" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total">
<CALC formula="ROW.MFACV * 100/ TOTALROW.MFACV" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="CAMG" type="Number" headerText="C.A. moyen" width="60" outputFormat="#E" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. moyen total">
<CALC formula="ROW.MFACV / ROW.NSEJ" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="SEJHC" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours@LF@HC" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours hospitalisation complète" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFPVHC" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A.@LF@HC" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé (HC) + C.A. valorisé non facturé HC" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFPV" type="Number" headerText="% Total@LF@HC" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total (HC)">
<CALC formula="ROW.MFPVHC * 100 / TOTALROW.MFPVHC" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="CAMHC" type="Number" headerText="C.A.Moyen@LF@HC" width="65" outputFormat="#E" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. moyen hospitalisation complète">
<CALC formula="ROW.MFPVHC / ROW.SEJHC" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="SEJHJ" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours@LF@HJ" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours hospitalisation de jour" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFPVHJ" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A.@LF@HJ" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé (HJ) + C.A. valorisé non facturé(HJ)" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFPVHJ" type="Number" headerText="% Total@LF@HJ" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total (HJ)">
<CALC formula="ROW.MFPVHJ * 100 / TOTALROW.MFPVHJ" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="CAMHJ" type="Number" headerText="C.A.Moyen@LF@HJ" width="65" outputFormat="#E" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. moyen HJ:Hospitalisation de jour correspond au type de séjours '2'et '5'.">
<CALC formula="ROW.MFPVHJ / ROW.SEJHJ" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="SEJAUT" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours@LF@Autres" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours autres. Autres = Type de séjours externes" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFPVAUT" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A.@LF@Autres" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé (Autres)+ C.A. valorisé non facturé (Autres). Autres = Type de séjours externes" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="PMFPVAUT" type="Number" headerText="% Total@LF@Autres" width="55" outputFormat="#,0%" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="% total (Autres)">
<CALC formula="ROW.MFPVAUT * 100 / TOTALROW.MFPVAUT" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="CAMAUT" type="Number" headerText="C.A.Moyen@LF@Autres" width="65" outputFormat="#E" fixed="false" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. moyen Autres = Type de séjours externes">
<CALC formula="ROW.MFPVAUT / ROW.SEJAUT" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
</DATAGRID>
</ONGLET>
<ONGLET excelLabel="Expédition" label="Expédition" multiTab="true">
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="true" maxItems="10">
<CHART title="C.A expédié (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="MEXP" maxItemsSortSeq="D" sortField="MEXP" sortSeq="D" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MEXP" displayName="'Montant expédié'" displayNameCalc="true"/>
</CHART>
<CHART title="Décomposition C.A (10 premiers)" type="columnChart" subType="overlaid" maxItems="10" sortField="NSEJ" sortSeq="D"
visibleCondition="SELECT.GROUPBY != 'MOIA' &amp;&amp; SELECT.GROUPBY != 'MOIS' &amp;&amp; SELECT.GROUPBY != 'MOIV'" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MEXP" displayName="C.A expedié"/>
<SERIE field="MNEXP" displayName="C.A reste à expédier"/>
</CHART>
</CHART>
<DATAGRID title="" total="true" showOthers="true" headerHeight="72" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')">
<INSERT name="DATAGRID_MULTITAB_STYLES"/>
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="COD" width="90" 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="NSEJ" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJS" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Dont Séjours sortis" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours sortis sur la période (Long séjours avec facturation intermédiaire)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJF" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Factures référence" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures référence : Identique au nombre de séjours pour les cours séjours * Différents pour les longs séjours avec facturation intermédiaire" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACS" width="60" type="Number" outputFormat="#" headerText="Factures créées" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures en tenant compte des compléments de facture (Avoir-Additif)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACF" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Déjà facturé" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures établies" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFAC" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. facturé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé sur la période" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!--<COLUMN dataField="NNEXPF" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="TOTAL@LF@Reste à exped.@LF@Factures" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
>
</COLUMN> -->
<COLUMN dataField="NFCTEXP" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="Déjà expédié" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures expédiées" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MEXP" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. expédié" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. expédié sur la période" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="DEXP" type="Number" headerText="Délai exped." width="60" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Délai d'expédition">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<FOOTERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNEXP" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="TOTAL@LF@Reste à exped.@LF@Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de factures à expédier">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNEXPTT" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="TOTAL@LF@Reste à exped.@LF@Tiers" selectable="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true"
description="Nombre de factures à expédier par tiers payant">
<CALC formula="ROW.NNEXP1 + ROW.NNEXP2" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNEXP" width="80" type="Number" outputFormat="#E" visible="true" fixed="false" headerText="TOTAL@LF@Reste à@LF@exped.@LF@C.A." selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="C.A. à expédier">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNEXP1" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="AMO@LF@Reste à exped.@LF@Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de séjours à expédier AMO: Régime général">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNEXP1" width="80" type="Number" outputFormat="#E" visible="true" fixed="false" headerText="AMO@LF@Reste à@LF@exped.@LF@C.A." selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="C.A. à expédier AMO: Régime général">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="DEXP1" type="Number" headerText="AMO@LF@Délai exped." width="60" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Délai d'expédition: Régime général">
</COLUMN> -->
<COLUMN dataField="NNEXP2" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="AMC@LF@Reste à exped.@LF@Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Nombre de séjours à expédier AMC: Régime complémentaire">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNEXP2" width="80" type="Number" outputFormat="#E" visible="true" fixed="false" headerText="AMC@LF@Reste à@LF@exped.@LF@C.A." selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="C.A. à expédier AMC: Régime complémentaire">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="DEXP2" type="Number" headerText="AMC@LF@Délai exped." width="60" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum"
description="Délai d'expédition: Régime complémentaire.">
</COLUMN> -->
</DATAGRID>
</ONGLET>
<ONGLET excelLabel="Solde" label="Solde" multiTab="true">
<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="true" maxItems="10">
<CHART title="C.A soldé (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="MTSOL" maxItemsSortSeq="D" sortField="MTSOL" sortSeq="D" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MTSOL" displayName="'C.A. soldé'" displayNameCalc="true"/>
</CHART>
<CHART title="Décomposition C.A (10 premiers)" type="columnChart" subType="overlaid" maxItems="10" sortField="NSEJ" sortSeq="D"
visibleCondition="SELECT.GROUPBY != 'MOIA' &amp;&amp; SELECT.GROUPBY != 'MOIS' &amp;&amp; SELECT.GROUPBY != 'MOIV'" condition="ROW.LVL == '1'">
<CATEGORY field="TXT" type="Char"/>
<SERIE field="MTSOL" displayName="C.A soldé"/>
<SERIE field="MNSOL" displayName="C.A reste à solder"/>
</CHART>
</CHART>
<DATAGRID title="" total="true" showOthers="true" headerHeight="72" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')">
<INSERT name="DATAGRID_MULTITAB_STYLES"/>
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
</COLUMN>
<COLUMN dataField="COD" width="90" 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="NSEJ" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Séjours" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJS" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Dont Séjours sortis" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de séjours sortis sur la période (Long séjours avec facturation intermédiaire)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NSEJF" width="65" type="Number" visible="true" outputFormat="#" currency="" currencyAlign="right" headerText="Factures référence" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures référence : Identique au nombre de séjours pour les cours séjours * Différents pour les longs séjours avec facturation intermédiaire" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACS" width="60" type="Number" outputFormat="#" headerText="Factures créées" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures en tenant compte des compléments de facture(Avoir-Additif)" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NFACF" width="65" type="Number" outputFormat="#" fixed="false" visible="true" headerText="Déjà facturé" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de factures établies" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MFAC" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. facturé" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. facturé sur la période" >
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NBSOL" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="Déjà soldé" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Nombre de facture soldés" >
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MTSOL" width="80" type="Number" visible="true" outputFormat="#E" fixed="false" headerText="C.A. soldé" selectable="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. soldé sur la période" >
<CALC formula="(ROW.MFAC - ((ROW.MNSOL1 + ROW.MNSOL2) + ROW.MNSOL0))" />
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="DSOL" type="Number" headerText="Délai solde" width="60" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Délai solde">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNSOL" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="TOTAL@LF@Reste à solder@LF@Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Séjours reste à solder">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="NNCLO" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="TOTAL@LF@Reste à cloturer@LF@Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN> -->
<COLUMN dataField="NNSOLT" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="TOTAL@LF@Reste à solder@LF@Tiers" selectable="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="Séjours reste à solder (Tiers)">
<CALC formula="(ROW.NNSOL1 + ROW.NNSOL2) + ROW.NNSOL0" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNSOL" width="90" type="Number" outputFormat="#E" visible="true" fixed="false" headerText="TOTAL@LF@Reste à@LF@solder@LF@C.A." selectable="true" textAlign="right" totalFunction="calc" otherFunction="calc" calc="true" description="C.A. reste à solder" >
<CALC formula="(ROW.MNSOL1 + ROW.MNSOL2) + ROW.MNSOL0" />
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="NNSOL1" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="AMO@LF@Reste à solder@LF@Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Séjours reste à solder (AMO)">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNSOL1" width="80" type="Number" outputFormat="#E" visible="true" fixed="false" headerText="AMO@LF@Reste à@LF@solder@LF@C.A." selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. reste à solder (AMO)">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="DSOL1" type="Number" headerText="AMO@LF@Délai solde" width="60" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN> -->
<COLUMN dataField="NNSOL2" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="AMC@LF@Reste à solder@LF@Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Séjours reste à solder (AMC)">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNSOL2" width="80" type="Number" outputFormat="#E" visible="true" fixed="false" headerText="AMC@LF@Reste à@LF@solder@LF@C.A." selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. reste à solder (AMC)">
<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="DSOL2" type="Number" headerText="AMC@LF@Délai solde" width="60" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN> -->
<COLUMN dataField="NNSOL0" width="60" type="Number" visible="true" outputFormat="#" fixed="false" headerText="PATIENT@LF@Reste à solder@LF@Séjours" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="Séjours reste à solder (PATIENT)">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<COLUMN dataField="MNSOL0" width="80" type="Number" outputFormat="#E" visible="true" fixed="false" headerText="PATIENT@LF@Reste à@LF@solder@LF@C.A." selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum" description="C.A. reste à solder (PATIENT)">
<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
<HEADERCELLSTYLE name="textAlign" value="center"/>
</COLUMN>
<!-- <COLUMN dataField="DSOL0" type="Number" headerText="PATIENT@LF@Délai solde" width="60" outputFormat="#,0j" fixed="false" selectable="true" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN> -->
</DATAGRID>
</ONGLET>
</PRESENTATION>
</VUE>