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.
 
 

260 lines
13 KiB

<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="PMSI000034" label="PMSI. Justificatif séjours par RSS" title="= 'Justificatif séjours par RSS (' + 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:sejours_analyse_globale:rss:sejours_rss:" helpDokuWIkiFile="pmsi000008" helpFile="iCTI_PMSI_PMSI000034.HTML">
<VIEWPROPERTIES>
<PROPERTYx dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
</VIEWPROPERTIES>
<SELECTIONS label="Paramètres de l'analyse" displayText="">
<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>
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" globalListProvider="DATE_FIN" printable="false">
</FIELD>
</GROUP>
</SELECTIONS>
<SELECTIONS componentName="FILTRES_RSS_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,
v_rss_1.no_patient,
sexe,
age,
ghm_code,
ghs_code,
ligne_oap_code,
medecin_reference_rss_nom,
diagnostic_principal_code,
date_entree,
date_sortie,
mode_sortie::text || destination::text,
mode_entree::text || provenance::text,
duree_sejour,
nb_rsa,
nb_rum,
nb_seances,
conversion_hp_hc_code,
raac_code,
rescrit_tarif_code,
adm_prod_reshospi_code,
contexte_pat_code,
nb_intervention_code,
np_code,
passage_urgences_code
FROM #V_RSS_X#
WHERE
date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
[VIEW.FILTRE_RSS_SELECT]
)
UNION ALL
(SELECT -9999999,
COUNT(DISTINCT v_rss_1.no_rss),
'',
'',
SUM(nb_rsa)::text || ' séjours, ' || COUNT(DISTINCT patient_id)::text || ' patients' ,
0,
'',
0,
'',
'',
'',
'',
'',
null,
null,
'',
'',
sum(duree_sejour),
sum(nb_rsa),
sum(nb_rum),
sum(nb_seances),
SUM(CASE WHEN conversion_hp_hc_code not in ('0','') THEN 1 ELSE 0 END)::text,
SUM(CASE WHEN raac_code not in ('0','') THEN 1 ELSE 0 END)::text,
SUM(CASE WHEN rescrit_tarif_code not in ('0','') THEN 1 ELSE 0 END)::text,
SUM(CASE WHEN adm_prod_reshospi_code not in ('0','') THEN 1 ELSE 0 END)::text,
SUM(CASE WHEN contexte_pat_code not in ('0','') THEN 1 ELSE 0 END)::text,
SUM(CASE WHEN nb_intervention_code not in ('0','') THEN 1 ELSE 0 END)::text,
SUM(CASE WHEN np_code = '1' THEN 1 ELSE 0 END)::text,
SUM(CASE WHEN passage_urgences_code not in ('0','') THEN 1 ELSE 0 END)::text
FROM #V_RSS_X#
WHERE
date_sortie &gt;= '[PERIODE]' AND date_sortie &lt;='[TOPERIODE]'
[VIEW.FILTRE_RSS_SELECT]
)
ORDER BY 2
">
<FIELDS>
<FIELD name="OID"/>
<FIELD name="RSS"/>
<FIELD name="SEJ"/>
<FIELD name="FIN"/>
<FIELD name="NOM" ifHideNames="Non autorisé"/>
<FIELD name="IPP"/>
<FIELD name="SEX"/>
<FIELD name="AGE"/>
<FIELD name="GHM"/>
<FIELD name="GHS"/>
<FIELD name="OAP"/>
<FIELD name="MED"/>
<FIELD name="DIAGP"/>
<FIELD name="DATE"/>
<FIELD name="DATS"/>
<FIELD name="MODS"/>
<FIELD name="PROV"/>
<FIELD name="NBJ"/>
<FIELD name="NRSA"/>
<FIELD name="NRUM"/>
<FIELD name="NSEA"/>
<FIELD name="COHPHC"/>
<FIELD name="RAAC"/>
<FIELD name="RESC_TARIF"/>
<FIELD name="ADM_PR_RES_HOSP"/>
<FIELD name="CONT_PAT"/>
<FIELD name="NB_INTERV"/>
<FIELD name="NP"/>
<FIELD name="PASSAGE_URGENCES"/>
</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" totalRowInRows="= ROW.OID == '-9999999'">
<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="Char" visible="true" headerText="N° RSS" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
</COLUMN>
<COLUMN dataField="SEJ" width="90" type="Char" visible="true" outputFormat="#" headerText="N° séjour" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="">
</COLUMN>
<COLUMN dataField="NOM" minWidth="150" type="Char" visible="true" headerText="Nom" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="*ROW">
</COLUMN>
<COLUMN dataField="IPP" width="90" type="Char" visible="true" headerText="IPP" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="*ROW">
</COLUMN>
<COLUMN dataField="SEX" width="40" type="Char" visible="true" headerText="Sexe" textAlign="right" otherFunction="text" totalFunction="text">
<CELLSTYLE name="cellIndicator" value="femme, 12,left middle , 0xEB76B1" condition="ROW.SEX == '2'" />
<CELLSTYLE name="cellIndicator" value="homme, 12,left middle , 0x75a0eb " condition="ROW.SEX == '1'" />
<CELLSTYLE name="cellIndicator" value="rectangle, 10,left middle , #FF5001 " condition="ROW.SEX == '3'" />
<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0x666666" condition="ROW.SEX != '2' &amp;&amp; ROW.SEX != '1' &amp;&amp; ROW.SEX != '3'" />
</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 entrée" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<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>
<COLUMN dataField="PROV" width="45" type="Char" visible="true" fixed="false" headerText="Prov." textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="PASSAGE_URGENCES" width="45" type="Char" visible="true" headerText="Urgences" textAlign="left" otherFunction="text" totalFunction="text">
<description><![CDATA[
<B>Passage urgence: </B>
- 0 ou vide : Non reinseigné
- 5 : Passage urgences même entité
- U : Passage urgences autre entité
- V : Passage urgences même et autre entité
]]>
</description>
</COLUMN>
<COLUMN dataField="MODS" width="45" type="Char" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" fixed="false" headerText="Mode Sortie" textAlign="left" otherFunction="text" totalFunction="text">
</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>
<COLUMN dataField="GHM" width="60" type="Char" visible="true" headerText="GHM" fixed="false" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="GHS" width="60" type="Char" visible="true" headerText="GHS" fixed="false" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="OAP" width="50" type="Char" visible="true" headerText="OAP" fixed="false" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="MED" width="60" type="Char" visible="true" headerText="Médecin" fixed="false" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="DIAGP" width="50" type="Char" visible="true" headerText="Diag P" fixed="false" textAlign="left" otherFunction="text" totalFunction="text">
</COLUMN>
<COLUMN dataField="NRSA" width="55" visible="false" type="Number" outputFormat="#" fixed="false" headerText="Nb séjours" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="NRUM" width="55" visible="true" type="Number" outputFormat="#" fixed="false" headerText="Nb RUM" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="NSEA" width="55" visible="true" type="Number" outputFormat="#" headerText="Nb séances" fixed="false" textAlign="right" totalFunction="sum" otherFunction="sum">
</COLUMN>
<COLUMN dataField="COHPHC" width="45" type="Char" visible="true" headerText="Conv. HP,HC" textAlign="center" otherFunction="text" totalFunction="text">
<description><![CDATA[
<B>Conversion (HP,HC): </B>
- 0 ou vide : Non renseigné
- 1 : Conversion HC
- 2 : Absence de conversion HC
]]> </description>
</COLUMN>
<COLUMN dataField="RAAC" width="45" type="Char" visible="true" headerText="RAAC" textAlign="center" otherFunction="text" totalFunction="text">
<description><![CDATA[
<B>RAAC: </B>
- 0 ou vide : Non renseigné
- 1 : Prise en charge RAAC
- 2 : Pas de prise en charge RAAC
]]> </description>
</COLUMN>
<COLUMN dataField="RESC_TARIF" width="45" type="Char" visible="true" headerText="RESC TARIF" textAlign="center" otherFunction="text" totalFunction="text">
<description><![CDATA[
<B>Rescrit tarif: </B>
- 0 ou vide : Non renseigné
- 1 : Situation relevant d'une hospitalisation de jour
- 2 : Pas de Situation relevant d'une hospitalisation de jour
]]> </description>
</COLUMN>
<COLUMN dataField="ADM_PR_RES_HOSP" width="45" type="Char" visible="true" headerText="ADM PROD RH" textAlign="center" otherFunction="text" totalFunction="text">
<description><![CDATA[
<B>Administration de produits de la réserve hospitalière: </B>
- 0 ou vide : Non renseigné
- 1 : Prise en charge avec administration de produit de la RH
- 2 : Pas de prise en charge avec administration de produit de la RH
]]> </description>
</COLUMN>
<COLUMN dataField="CONT_PAT" width="45" type="Char" visible="true" headerText="CONT PAT" textAlign="center" otherFunction="text" totalFunction="text">
<description><![CDATA[
<B>Contexte particulier ou surveillance particulière: </B>
- 0 ou vide : Non renseigné
- 1 : Prise en charge avec contexte particulier ou surveillance particulière
- 2 : Pas de prise en charge avec contexte particulier ou surveillance particulière
]]> </description>
</COLUMN>
<COLUMN dataField="NB_INTERV" width="45" type="Char" visible="true" headerText="NB INTER" textAlign="center" otherFunction="text" totalFunction="text">
<description><![CDATA[
<B>Nombre interventions: </B>
- 0 ou vide : Non renseigné
- A : Nombre d'interventions inférieur à 3
- B : Plus de 3 interventions
- C : 3 interventions
]]> </description>
</COLUMN>
<COLUMN dataField="NP" width="45" type="Char" visible="true" headerText="NP" textAlign="center" otherFunction="text" totalFunction="text">
<description><![CDATA[
<B>NP (la ligne total ne compte que les prises en charge non programmées): </B>
- 0 ou vide : Non renseigné
- 1 : Prise en charge non programmée
- 2 : Prise en charge programmée
]]> </description>
</COLUMN>
</DATAGRID>
</ONGLET>
</PRESENTATION>
</VUE>