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.
 
 

12 KiB

oid|controle_code|numero|sqlcmd_where|sqlcmd_justificatif|tab
1|CTI_0ETS|2|||0
1|CTI_0ETS|3|||0
1|CTI_AMB_DE_X_DS|1|nb_ambulatoires = 1 AND date != date_sortie||1
1|CTI_AMB_DE_X_DS|2|||0
1|CTI_AMB_DE_X_DS|3|||0
1|CTI_DEL_FAC_30|2|||0
1|CTI_DEL_FAC_30|3|||0
1|CTI_DTEXP_DTFAC|1|date_expedition < date_facture|date_expedition, date_facture|0
1|CTI_DTEXP_DTFAC|2|||0
1|CTI_DTEXP_DTFAC|3|||0
1|CTI_DTFAC_DTSOR|1|date_facture < date_sortie and date_sortie is distinct from null|date_facture|0
1|CTI_DTFAC_DTSOR|2|||0
1|CTI_DTFAC_DTSOR|3|||0
1|CTI_DTVEN_DTFAC|1|date_vente < date_facture|date_vente, date_facture|2
1|CTI_DTVEN_DTFAC|2|||0
1|CTI_DTVEN_DTFAC|3|||0
1|CTI_DUR_SUP_60|1|type_t2a <> 2 and type_t2a <> 3 and duree>60||2
1|CTI_DUR_SUP_60|2|||0
1|CTI_DUR_SUP_60|3|||0
AND date != date_sortie
1|CTI_EXT_DE_X_DS|2|||0
1|CTI_EXT_DE_X_DS|3|||0
1|CTI_LPP_INC_80|2|||0
1|CTI_LPP_INC_80|3|||0
1|CTI_LPP_NON_FAC|2|||0
1|CTI_LPP_NON_FAC|3|||0
1|CTI_MULTI_TYPES|2|||0
1|CTI_MULTI_TYPES|3|||0
1|CTI_MVT_ETA_KO|1|lieu_etage_id IN [LI:CTI_ETA_KO]|lieu_etage_code|1
1|CTI_MVT_ETA_KO|2|||0
1|CTI_MVT_ETA_KO|3|||0
1|CTI_MVT_ETA_NULL|1|lieu_etage_id = 0 OR lieu_etage_id is null||1
1|CTI_MVT_ETA_NULL|2|||0
1|CTI_MVT_ETA_NULL|3|||0
1|CTI_MVT_SER_EXT|1|lieu_service_code = 'FSEH_04' OR lieu_service_code = 'SEUR_04'|lieu_service_code|1
1|CTI_MVT_SER_EXT|2|||0
1|CTI_MVT_SER_EXT|3|||0
1|CTI_MVT_SER_KO|1|lieu_service_id IN [LI:CTI_SER_KO]|lieu_service_code|1
1|CTI_MVT_SER_KO|2|||0
1|CTI_MVT_SER_KO|3|||0
1|CTI_MVT_SER_NULL|1|lieu_service_id = 0 OR lieu_service_id is null||1
1|CTI_MVT_SER_NULL|2|||0
1|CTI_MVT_SER_NULL|3|||0
1|CTI_PRE_SUP_30|2|||0
1|CTI_PRE_SUP_30|3|||0
FROM
WHERE
1|CTI_SEJ_AMB_03|2|||0
1|CTI_SEJ_AMB_03|3|||0
1|CTI_SEJ_DUR_30|1|duree > 30|duree|0
1|CTI_SEJ_DUR_30|2|||0
1|CTI_SEJ_DUR_30|3|||0
1|CTI_SEJ_DUR_NEG|1|date_sortie < date_entree|duree|0
1|CTI_SEJ_DUR_NEG|2|||0
1|CTI_SEJ_DUR_NEG|3|||0
1|CTI_SEJ_MED_KO|1|medecin_adm_sejour_id IN [LI:CTI_MED_KO]|medecin_adm_sejour_code|0
1|CTI_SEJ_MED_KO|2|||0
1|CTI_SEJ_MED_KO|3|||0
1|CTI_SEJ_MED_NULL|1|((medecin_adm_sejour_id = 0 OR medecin_adm_sejour_id is null)AND (type_sejour<>9))||0
1|CTI_SEJ_MED_NULL|2|||0
1|CTI_SEJ_MED_NULL|3|||0
FROM
WHERE
1|CTI_SEJ_SER_FINESS|2|||0
1|CTI_SEJ_SER_FINESS|3|||0
1|CTI_UCD_INC_80|2|||0
1|CTI_UCD_INC_80|3|||0
1|CTI_UCD_NON_FACT|2|||0
1|CTI_UCD_NON_FACT|3|||0
1|CTI_VAL_SUP_20K|1|montant_encours>20000||2
1|CTI_VAL_SUP_20K|2|||0
1|CTI_VAL_SUP_20K|3|||0