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

128 lines
6.3 KiB

<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="PMSI000009" label="PMSI. RSS sans facture PMSI" title="= 'Liste des RSS sans facture PMSI (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')'" database="iCTI" swf="*CTI_view1" softCode="iCTI_pmsi" globals="PMSI_globals.XML" componentsFile="PMSI_components.XML" helpDokuWIkiDir="pmsi:chiffre_d_affaires:divers" helpDokuWIkiFile="pmsi000009" helpFile="">
<VIEWPROPERTIES>
<PROPERTY name="PERIODE_MOIS_LIST" value="[EVAL
$month_list = '';
$m = 0;
$toTime = mktime(0,0,0,substr('[TOPERIODE]',5,2),substr('[TOPERIODE]',8,2),substr('[TOPERIODE]',0,4));
$fromTime = mktime(0,0,0,substr('[PERIODE]',5,2),substr('[PERIODE]',8,2),substr('[PERIODE]',0,4));
$month_list = date('Ym',$fromTime);
while ($fromTime &lt;= $toTime &amp;&amp; $m &lt;= 1000) {
$m = $m + 1;
$fromTime = mktime(0,0,0,substr('[PERIODE]',5,2) + $m ,substr('[PERIODE]',8,2),substr('[PERIODE]',0,4));
if ($fromTime &lt;= $toTime) {
$month_list = $month_list . ', ' . date('Ym',$fromTime);
}
}
return($month_list);
EVAL]"/>
</VIEWPROPERTIES>
<SELECTIONS label="Paramètres de l'analyse" displayText="">
<GROUP label="Période">
<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
<FIELD name="PERIODE" label="" UI="combo" tree="true" width="200" default="2014-01-01" printable="false" globalListProvider="DATE_DEBUT">
</FIELD>
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" printable="false" globalListProvider="DATE_FIN">
</FIELD>
</GROUP>
</SELECTIONS>
<QUERIES>
<QUERY label="">
<SQL optimizer="V_RSS_X" select="
SELECT v_rss_1.rss_id, v_rss_1.no_rss,
v_rss_1.no_sejour_administratif, v_rss_1.finess, identite_nom || ' ' || identite_prenom,
ghm_code, ligne_oap_code, medecin_reference_rss_nom, diagnostic_principal_code,
date_sortie, sexe, age,
nb_rsa, nb_rum, sejour_facture, t2a_facture, base_remboursement, dmi_facture,
phc_facture, ca_exh, ca_exb, duree_sejour, nb_seances, nb_exh, nb_exb
FROM #V_RSS_X#
WHERE
mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
AND v_rss_1.nb_factures_nulles = 1
AND v_rss_1.en_cours = '0'
ORDER BY v_rss_1.no_rss
">
<FIELDS>
<FIELD name="OID"/>
<FIELD name="RSS"/>
<FIELD name="SEJ"/>
<FIELD name="FIN"/>
<FIELD name="NOM" ifHideNames="Non autorisé"/>
<FIELD name="GHM"/>
<FIELD name="OAP"/>
<FIELD name="MED"/>
<FIELD name="DIAGP"/>
<FIELD name="DATE"/>
<FIELD name="SEX"/>
<FIELD name="AGE"/>
<FIELD name="NRSA"/>
<FIELD name="NRUM"/>
<FIELD name="CA"/>
<FIELD name="CT2A"/>
<FIELD name="CBR"/>
<FIELD name="CDMI"/>
<FIELD name="CPHC"/>
<FIELD name="CEXH"/>
<FIELD name="CEXB"/>
<FIELD name="NBJ"/>
<FIELD name="NSEA"/>
<FIELD name="NEXH"/>
<FIELD name="NEXB"/>
</FIELDS>
</SQL>
</QUERY>
</QUERIES>
<PRESENTATION>
<VIEWLINKS>
<VIEWLINK label="Détail RSS" shortLabel="Détail RSS" view="PMSI000006.XML">
<ARG name="OID" value="ROW.OID"/>
</VIEWLINK>
</VIEWLINKS>
<ONGLET excelLabel="Liste RSS">
<DATAGRID title="" total="true" key="RSS" headerHeight="36" printRatio="0.8">
<ROWSTYLE name="fontSize" value="11"/>
<FOOTERROWSTYLE name="fontSize" value="11"/>
<COLUMN dataField="OID" type="Char" visible="false">
</COLUMN>
<COLUMN dataField="FIN" width="60" type="Char" visible="true" headerText="Etablissement" textAlign="left" visibleCondition="ENV.CONSOLIDATION == '1'" otherFunction="text" totalFunction="text" totalComplement="">
</COLUMN>
<COLUMN dataField="RSS" width="60" type="Number" outputFormat="#" visible="true" headerText="N° RSS" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
</COLUMN>
<COLUMN dataField="SEJ" width="90" type="Char" outputFormat="#" visible="true" headerText="N° Séjour" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="">
</COLUMN>
<COLUMN dataField="NOM" minWidth="200" type="Char" visible="true" headerText="Nom" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="SEX" width="20" type="Char" visible="true" headerText="S" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="AGE" width="40" type="Number" outputFormat="#" visible="true" headerText="Age" textAlign="right" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="DATE" width="60" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date sortie" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="GHM" width="60" type="Char" visible="true" headerText="GHM" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="OAP" width="50" type="Char" visible="true" headerText="OAP" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="MED" width="60" type="Char" visible="true" headerText="Médecin" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="DIAGP" width="50" type="Char" visible="true" headerText="Diag P" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="NRSA" width="50" visible="true" type="Number" outputFormat="#" headerText="Nb RSA" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="NRUM" width="50" visible="true" type="Number" outputFormat="#" headerText="Nb RUM" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="NSEA" width="50" visible="true" type="Number" outputFormat="#" headerText="Nb séances" fixed="false" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="NBJ" width="50" visible="true" type="Number" outputFormat="#" headerText="Durée séjour" fixed="false" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
</DATAGRID>
</ONGLET>
</PRESENTATION>
</VUE>