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.
 
 

160 lines
9.0 KiB

<?xml version="1.0" encoding="ISO-8859-15"?>
<VUE name="PMSI000030" label="PMSI. Justificatif Actes par RSS" title="= 'Justificatif Actes par RSS (' + SELECT.QUELLEDATE_LABEL + ' : ' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ') - ' + SELECT.VERSION_GROUPAGE_LABEL" database="iCTI" swf="*CTI_view1" softCode="iCTI_pmsi" globals="PMSI_globals.XML" componentsFile="PMSI_components.XML" helpDokuWIkiDir="pmsi:sejour_analyse_detaillee:actes" helpDokuWIkiFile="pmsi000029" helpFile="iCTI_PMSI_PMSI000030.HTML">
<VIEWPROPERTIES componentName="PROPERTIES_ACTES" />
<SELECTIONS label="Paramètres de l'analyse">
<GROUP label="Période">
<FIELD name="QUELLEDATE" label="" UI="combo" default="1" default2="date_fin" printable="false">
<OPTION label="Date sortie" data="1" data2="date_sortie" />
<OPTION label="Date acte" data="2" data2="date_acte" />
</FIELD>
<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
<FIELD name="PERIODE" label="de" UI="combo" tree="true" width="200" default="2014-01-01" default2="201401" printable="false" globalListProvider="DATE_DEBUT" />
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" default2="201412" printable="false" globalListProvider="DATE_FIN" />
</GROUP>
</SELECTIONS>
<SELECTIONS componentName="FILTRES_ACTE_SELECTIONS" />
<SELECTIONS componentName="FILTRES_RSS_SELECTIONS" />
<QUERIES>
<QUERY label="">
<SQL optimizer="V_RSS_X" optimizer2="V_RSS_ACTES_X" >
<select><![CDATA[
(SELECT
v_rss_1.rss_id,
v_rss_1.no_rss,
v_rss_1.finess,
v_rss_1.no_sejour_administratif,
identite_nom::text || ' '::text || identite_prenom::text,
date_acte,
medecin_reference_code,
medecin_reference_nom,
acte_ccam_descriptif_code,
acte_ccam_descriptif_texte,
nombre,
nombre_activite_1,
nombre_activite_4,
[VIEW.ICR_FIELD],
[VIEW.ICR_FIELD]_activite_1,
[VIEW.ICR_FIELD]_activite_4,
tarif,
date_entree,
date_sortie,
extension_ccam,
v_rss_1.date_naissance,
v_rss_actes_1.unite_fonctionnelle_code,
trim(v_rss_actes_1.modificateur_ccam_1::text || ' '::text || v_rss_actes_1.modificateur_ccam_2::text || ' '::text || v_rss_actes_1.modificateur_ccam_3::text
|| ' '::text || v_rss_actes_1.modificateur_ccam_4::text ),
v_rss_actes_1.association_nonprevue_ccam
FROM #V_RSS_X#
JOIN #V_RSS_ACTES_X# ON v_rss_1.rss_id = v_rss_actes_1.rss_id
WHERE [VIEW.QUELLEDATE] BETWEEN '[PERIODE]' AND '[TOPERIODE]'
[VIEW.FILTRE_ACTE_SELECT]
[VIEW.FILTRE_RSS_SELECT]
)
UNION ALL
(SELECT
-9999999,
COUNT(DISTINCT v_rss_1.no_rss),
'',
'',
COUNT(DISTINCT v_rss_1.rss_id)::text || ' séjours, '::text || COUNT(DISTINCT v_rss_1.patient_id)::text || ' patients'::text ,
null,
'',
COUNT(DISTINCT medecin_reference_id)::text || ' exécutants'::text ,
'',
COUNT(DISTINCT acte_id)::text || ' codes actes'::text ,
SUM(nombre),
SUM(nombre_activite_1),
SUM(nombre_activite_4),
SUM([VIEW.ICR_FIELD]),
SUM([VIEW.ICR_FIELD]_activite_1),
SUM([VIEW.ICR_FIELD]_activite_4),
SUM(tarif),
null,
null,
'',
null,'',
''::text,
''::text
FROM #V_RSS_X#
JOIN #V_RSS_ACTES_X# ON v_rss_1.rss_id = v_rss_actes_1.rss_id
WHERE [VIEW.QUELLEDATE] BETWEEN '[PERIODE]' AND '[TOPERIODE]'
[VIEW.FILTRE_ACTE_SELECT]
[VIEW.FILTRE_RSS_SELECT]
)
ORDER BY 2, 5, 8, 12
]]></select>
<FIELDS>
<FIELD name="OID" />
<FIELD name="RSS" />
<FIELD name="FIN" />
<FIELD name="SEJ" />
<FIELD name="NOM" ifHideNames="Non autorisé" />
<FIELD name="DAT" />
<FIELD name="CODM" />
<FIELD name="TXTM" />
<FIELD name="CODA" />
<FIELD name="TXTA" />
<FIELD name="NB" />
<FIELD name="NB1" />
<FIELD name="NB4" />
<FIELD name="ICR" />
<FIELD name="ICR1" />
<FIELD name="ICR4" />
<FIELD name="TARIF" />
<FIELD name="DE" />
<FIELD name="DS" />
<FIELD name="EXTDOC" />
<FIELD name="DTN" ifHideNames="Non autorisé"/>
<FIELD name="UF" />
<FIELD name="MCC" />
<FIELD name="ASSOC" />
</FIELDS>
</SQL>
</QUERY>
<QUERY type="propertiesLink" name="VIEWPROPERTIES" forRows="false" />
</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="Justificatif Actes" label="Justificatif Actes">
<DATAGRID title="" total="true" headerHeight="48" totalRowInRows="= ROW.OID == '-9999999'">
<COLUMN dataField="OID" type="Char" visible="false" />
<COLUMN dataField="FIN" frozen="left" width="60" type="Char" visible="true" headerText="Etablissement" textAlign="left" visibleCondition="ENV.CONSOLIDATION == '1'" otherFunction="text" totalFunction="text" totalComplement="" />
<COLUMN dataField="RSS" frozen="left" width="60" type="Number" visible="true" outputFormat="#" headerText="N° RSS" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL" />
<COLUMN dataField="SEJ" frozen="left" width="90" type="Char" visible="true" outputFormat="#" headerText="N° séjour" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="" />
<COLUMN dataField="NOM" frozen="left" minWidth="150" type="Char" visible="true" headerText="Nom" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="*ROW" />
<COLUMN dataField="DTN" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date de naissance" width="60" textAlign="left"/>
<COLUMN dataField="DE" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Entrée" width="60" textAlign="left" />
<COLUMN dataField="DS" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Sortie" width="60" textAlign="left" />
<COLUMN dataField="CODM" type="Char" visibleCondition="SELECT.MEDECIN == '-1' || SELECT.MEDECIN.toString().substr(0,2) == 'LI' || SELECT.MEDECIN.toString().substr(0,2) == 'D2'" headerText="Code médecin" fixed="false" width="60" textAlign="left" />
<COLUMN dataField="TXTM" type="Char" visibleCondition="SELECT.MEDECIN == '-1' || SELECT.MEDECIN.toString().substr(0,2) == 'LI' || SELECT.MEDECIN.toString().substr(0,2) == 'D2'" headerText="Nom médecin" fixed="false" minWidth="100" textAlign="left" totalFunction="text" totalComplement="*ROW" />
<COLUMN dataField="CODA" type="Char" visibleCondition="SELECT.ACTE.toString().substr(0,2) != 'AC'" headerText="Code acte" fixed="false" width="80" textAlign="left" />
<COLUMN dataField="TXTA" type="Char" visibleCondition="SELECT.ACTE.toString().substr(0,2) != 'AC'" headerText="Texte acte" fixed="false" minWidth="100" textAlign="left" totalFunction="text" totalComplement="*ROW" />
<COLUMN dataField="EXTDOC" type="Char" visible="true" outputFormat="#" headerText="Ext.&#xD;Doc." fixed="false" width="50" textAlign="left" totalFunction="sum" />
<COLUMN dataField="DAT" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date" fixed="false" width="70" textAlign="left" />
<COLUMN dataField="MCC" width="80" type="char" headerText="Modifictaurs CCAM" textAlign="right" />
<COLUMN dataField="ASSOC" width="80" type="char" headerText="Assoc. non prévue" textAlign="right" />
<COLUMN dataField="UF" type="Char" visibleCondition="SELECT.UF == '-1' || SELECT.UF.toString().substr(0,2) == 'LI' || SELECT.UF.toString().substr(0,2) == 'LS'" headerText="UF Exec" fixed="false" width="50" textAlign="left" />
<COLUMN dataField="NB" type="Number" visible="true" outputFormat="#" headerText="Nb total" fixed="false" width="60" textAlign="left" totalFunction="sum" />
<COLUMN dataField="NB1" type="Number" visible="true" outputFormat="#" headerText="Nb hors anesth." fixed="false" width="60" textAlign="left" totalFunction="sum" />
<COLUMN dataField="NB4" type="Number" visible="true" outputFormat="#" headerText="Nb anesth." fixed="false" width="60" textAlign="left" totalFunction="sum" />
<COLUMN dataField="ICR" type="Number" visible="true" outputFormat="#" headerText="ICR" fixed="false" width="70" textAlign="left" totalFunction="sum" />
<COLUMN dataField="ICR1" type="Number" visible="true" outputFormat="#" headerText="ICR hors anest." fixed="false" width="70" textAlign="left" totalFunction="sum" />
<COLUMN dataField="ICR4" type="Number" visible="true" outputFormat="#" headerText="ICR anest." fixed="false" width="70" textAlign="left" totalFunction="sum" />
<COLUMN dataField="TARIF" width="80" type="Number" outputFormat="#E" headerText="Valorisation tarif" textAlign="right" totalFunction="sum" otherFunction="" />
</DATAGRID>
</ONGLET>
</PRESENTATION>
</VUE>