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.
 
 

121 lines
6.0 KiB

<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="PMSI000047" label="PMSI Cancérologie. Activités soumises à seuil" title="= 'Justificatif Cancérologie. Activités soumises à seuil (' + SELECT.CDC_LABEL + ') (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')'" database="iCTI" swf="*CTI_view1" softCode="iCTI_pmsi" globals="PMSI_globals.XML" componentsFile="PMSI_components.XML" helpDokuWIkiDir="pmsi" helpDokuWIkiFile="pmsi000047" helpFile="iCTI_PMSI_PMSI000047.HTML">
<SELECTIONS label="Paramètres de l'analyse">
<GROUP label="Date sortie">
<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
<FIELD name="PERIODE" label="" UI="combo" tree="true" width="200" default="2014-01-01" globalListProvider="DATE_DEBUT" printable="false" />
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" globalListProvider="DATE_FIN" printable="false" />
</GROUP>
<GROUP label="Cahier des charges">
<FIELD name="CDC" label="" UI="combo" default="2022" printable="false" visible="true">
<OPTION label="CDC Décembre 2017" data="2017" />
<OPTION label="CDC Avril 2022" data="2022" />
</FIELD>
</GROUP>
<GROUP label="Seuil Cancéro.">
<FIELD name="SEUIL_CANCERO" UI="combo" tree="true" width="400" default="-1" globalListProvider="SEUIL_CANCERO" showIfNotDefault="true" />
</GROUP>
</SELECTIONS>
<SELECTIONS componentName="FILTRES_RSS_SELECTIONS" />
<QUERIES>
<QUERY label="">
<SQL optimizer="V_RSS_X">
<select><![CDATA[
(
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,
v_rss_1.ghm_code,
diagnostic_principal_code || ' - ' || diagnostic_principal_texte,
diagnostic_relie_code || ' - ' || diagnostic_relie_texte,
v_rss_1.date_entree,
v_rss_1.date_sortie,
medecin_reference_rss_nom,
v_rss_1.age,
v_rss_cancero_1.cancero_code || ' - ' || v_rss_cancero_1.cancero_texte_court
FROM #V_RSS_X#
WHERE v_rss_cancero_1.cdc = '[CDC]'
AND v_rss_1.date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'
[VIEW.FILTRE_RSS_SELECT]
)
UNION ALL
(
SELECT
-9999999,
null,
'',
'',
COUNT(DISTINCT v_rss_1.rss_id)::text || ' séjours, ' || COUNT(DISTINCT v_rss_1.patient_id)::text || ' patients' ,
'',
'',
'',
null,
null,
null,
null,
''
FROM #V_RSS_X#
WHERE v_rss_cancero_1.cdc = '[CDC]'
AND v_rss_1.date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'
[VIEW.FILTRE_RSS_SELECT]
)
ORDER BY 2
;
]]></select>
<FIELDS>
<FIELD name="OID" />
<FIELD name="RSS" />
<FIELD name="ADM" />
<FIELD name="FIN" />
<FIELD name="NOM" ifHideNames="Non autorisé" />
<FIELD name="GHM" />
<FIELD name="DIAGP" />
<FIELD name="DIAGR" />
<FIELD name="DATE" />
<FIELD name="DATS" />
<FIELD name="MED"/>
<FIELD name="AGE" />
<FIELD name="CANCERO" />
</FIELDS>
</SQL>
</QUERY>
<QUERYx type="comboLink" name="INDICATEURS_CANCERO">
<SQL select="SELECT code, code || ' - ' || texte FROM pmsi.t_etude_6 GROUP BY 1, 2 ORDER BY code">
<FIELDS>
<FIELD name="cod" />
<FIELD name="txt" />
</FIELDS>
</SQL>
</QUERYx>
</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" totalRowInRows="= ROW.OID == '-9999999'">
<ROWSTYLE name="fontSize" value="11" />
<FOOTERROWSTYLE name="fontSize" value="11" />
<COLUMN dataField="OID" type="Char" visible="false" />
<COLUMN dataField="FIN" width="60" type="Char" visible="true" headerText="Etablissement" textAlign="left" visibleCondition="ENV.CONSOLIDATION == '1'" otherFunction="text" totalFunction="text" totalComplement="" />
<COLUMN dataField="RSS" width="60" type="Char" visible="true" headerText="N° RSS" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL" />
<COLUMN dataField="ADM" width="60" type="Char" visible="true" headerText="N° Séjour" textAlign="left" otherFunction="text" totalFunction="text" />
<COLUMN dataField="NOM" minWidth="100" maxWidth="200" type="Char" visible="true" headerText="Nom" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="*ROW" />
<COLUMN dataField="AGE" width="35" type="Char" visible="true" headerText="Age" textAlign="left" otherFunction="text" totalFunction="text" />
<COLUMN dataField="DATE" width="60" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date entrée" textAlign="left" otherFunction="text" totalFunction="text" />
<COLUMN dataField="DATS" width="60" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date sortie" textAlign="left" otherFunction="text" totalFunction="text" />
<COLUMN dataField="MED" width="60" type="Char" visible="true" headerText="Médecin" fixed="false" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="CANCERO" minWidth="230" type="Char" visible="true" headerText="Code Cancéro." textAlign="left" otherFunction="text" totalFunction="text" />
<COLUMN dataField="GHM" width="55" type="Char" visible="true" headerText="GHM" textAlign="left" otherFunction="text" totalFunction="text" />
<COLUMN dataField="DIAGP" minWidth="230" type="Char" visible="true" headerText="Diagnostic Principal" textAlign="left" otherFunction="text" totalFunction="text" />
<COLUMN dataField="DIAGR" minWidth="200" type="Char" visible="true" headerText="Diagnostic Relié" textAlign="left" otherFunction="text" totalFunction="text" />
</DATAGRID>
</ONGLET>
</PRESENTATION>
</VUE>