<?xml version="1.0" encoding="ISO-8859-15"?>
<GLOBALS
	name="COMPTA_globals"
	database="iCTI"
	softCode="iCTI_compta"
	>

	<LISTPROVIDERS>
	
		<LISTPROVIDER name="MOIS" >
			<OPTION dataLink="MOIS" dataField="cod" data2Field="mois" labelField="txt" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="DATE_DEBUT" tree="true">
			<OPTION dataLink="DATE_DEBUT" treeLevelField="lvl" dataField="cod" aliasField="alias" labelField="txt" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="PERIODICITE">
			<OPTION label="Journalière" data="DAY" />
			<OPTION label="Hebdomadaire" data="WEEK2" aliasData="H" />
			<OPTION label="Mensuelle" data="MONTH" aliasData="M" />
			<OPTION label="Trimestrielle" data="QUARTER" />
			<OPTION label="Annuelle" data="YEAR" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="DATE_FIN" tree="true">
			<OPTION dataLink="DATE_FIN" treeLevelField="lvl" dataField="cod" aliasField="alias" labelField="txt" />
		</LISTPROVIDER>

		<LISTPROVIDER name="JOURNAUX_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="JOURNAUX_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="JOURNAUX_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="JOURNAUX_H" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="JOURNAUX_PAIEMENT_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="JOURNAUX_PAIEMENT_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="JOURNAUX_PAIEMENT_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="JOURNAUX_PAIEMENT_H" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="MODE_PAIEMENT_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="MODE_PAIEMENT_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="MODE_PAIEMENT_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="MODE_PAIEMENT_H" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="COMPTES_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="COMPTES_C" dataField="cod" labelField="txt" treeLevelField="lvl" aliasField="alias" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="COMPTES_BUDGET_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="COMPTES_BUDGET_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		
		<LISTPROVIDER name="COMPTES_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="COMPTES_H" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" /> 
		</LISTPROVIDER>
		
		<LISTPROVIDER name="COMPTES_EXTRA_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="COMPTES_EXTRA_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" /> 
		</LISTPROVIDER>
		
		<LISTPROVIDER name="COMPTES_EXTRA_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="COMPTES_EXTRA_H" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" /> 
		</LISTPROVIDER>
		
		<LISTPROVIDER name="COMPTES_BANQUE_C" >
			<OPTION label="Tous les comptes de Banques"  data="-1"  />
			<OPTION label="Saisie code"  data="SAISIECODE"   />
			<OPTION dataLink="COMPTES_BANQUE_C" dataField="cod" labelField="txt" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="COMPTES_BANQUE_H" >
			<OPTION label="Tous les comptes de Banques"  data="-1"  />
			<OPTION label="Saisie code"  data="SAISIECODE"  />
			<OPTION dataLink="COMPTES_BANQUE_H" dataField="cod" labelField="txt"  />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="TYPES_COMPTA_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION dataLink="TYPES_COMPTA_C" dataField="cod" labelField="txt" treeLevelField="lvl" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="TYPES_COMPTA_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION dataLink="TYPES_COMPTA_H" dataField="cod" labelField="txt" treeLevelField="lvl" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="TYPES_COMPTA_EXTRA_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION dataLink="TYPES_COMPTA_EXTRA_C" dataField="cod" labelField="txt" treeLevelField="lvl" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="TYPES_COMPTA_EXTRA_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION dataLink="TYPES_COMPTA_EXTRA_H" dataField="cod" labelField="txt" treeLevelField="lvl" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="SECTIONS_ANALYTIQUES_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="SECTIONS_ANALYTIQUES_2_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_2_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="SECTIONS_ANALYTIQUES_3_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_3_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="SECTIONS_ANALYTIQUES_4_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_4_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="SECTIONS_ANALYTIQUES_5_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_5_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="SECTIONS_ANALYTIQUES_6_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_6_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
        <LISTPROVIDER name="SECTIONS_ANALYTIQUES_7_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_7_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
        <LISTPROVIDER name="SECTIONS_ANALYTIQUES_8_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_8_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
        <LISTPROVIDER name="SECTIONS_ANALYTIQUES_9_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="SECTIONS_ANALYTIQUES_9_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="PARTENAIRES_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="PARTENAIRES_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>

		<LISTPROVIDER name="PARTENAIRES_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="PARTENAIRES_H" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="SITE" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="SITE" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
        
        <LISTPROVIDER name="POLE" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="POLE" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="SITE_C" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="SITE_C" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>

		<LISTPROVIDER name="SITE_H" tree="true">
			<OPTION label="Pas de sélection"  data="-1" treeLevel="1"  />
			<OPTION label="Saisie code"  data="SAISIECODE" treeLevel="1"  />
			<OPTION dataLink="SITE_H" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="SENS" >
			<OPTION label="Pas de sélection"  data="-1" />
			<OPTION label="Débit"  data="D" />
			<OPTION label="Crédit"  data="C"  />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="QINTER" >
			<OPTION label="Pas de sélection"  data="-1" />
			<OPTION label="Sauf écritures inter-site"  data="O" />
			<OPTION label="Uniquement écritures inter-site"  data="I"  />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="RAPPORTS" >
			<OPTION label="" data="-1"/>
			<OPTION dataLink="RAPPORTS" dataField="cod" labelField="txt" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="INDICATEURS" >
			<OPTION label="" data="-1"/>
			<OPTION dataLink="INDICATEURS" dataField="cod" labelField="txt" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="ETAPES" >
			<OPTION data="-1" label="Toutes les étapes" />
			<OPTION dataLink="ETAPES" dataField="cod" labelField="txt"  />
			<OPTION data="P" label="Après répartition" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="ETAPES_DATA" >
			<OPTION dataLink="ETAPES_DATA" dataField="cod" labelField="txt"  />
		</LISTPROVIDER>
		
		
		
		
		<LISTPROVIDER name="COUT_PATIENT_SHS_SERVICES" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_SERVICES" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_GHM" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_GHM" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_GHS" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_GHS" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_GHM5" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_GHM5" dataField="cod" labelField="txt" treeLevelField="lvl"  />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_GHM_SEVERITES" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_GHM_SEVERITES" dataField="cod" labelField="txt" treeLevelField="lvl"  />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_POLES_OAP" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_POLES_OAP" dataField="cod" labelField="txt" treeLevelField="lvl"  />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_LIGNES_OAP" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_LIGNES_OAP" dataField="cod" labelField="txt" treeLevelField="lvl"  />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_ACTIVITES" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_ACTIVITES" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_ETAGES" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_ETAGES" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_MEDECINS" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_MEDECINS" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_ELEMENTS" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_ELEMENTS" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		<LISTPROVIDER name="COUT_PATIENT_SHS_UNITES" tree="true" >
			<OPTION data="-1" label="Pas de sélection" />
			<OPTION label="Saisie code"  data="C*" treeLevel="1"  />
			<OPTION dataLink="COUT_PATIENT_SHS_UNITES" dataField="cod" labelField="txt" treeLevelField="lvl" ctiField="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="JPA_GROUPBY_OPTION" tree="true" >
			<OPTION label="Journal de paiement" data="JPA" treeLevel="1" aliasData="2" />
			<OPTION dataLink="JPA_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="MPA_GROUPBY_OPTION" tree="true" >
			<OPTION label="Mode de paiement" data="MPA" treeLevel="1" aliasData="2" />
			<OPTION dataLink="MPA_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CPT_GROUPBY_OPTION" tree="true" >
			<OPTION data="CPT" label="Compte général" treeLevel="1"/>
			<OPTION data="TYP" label="Type de compte" treeLevel="2" />
			<OPTION data="CL1" label="Classe" treeLevel="2" />
			<OPTION data="CL2" label="Sous Classe" treeLevel="2" />
			<OPTION data="CL3" label="Compte à 3 chiffres" treeLevel="2" />
			<OPTION dataLink="CPT_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
            <OPTION data="CPC" label="Contrepartie" treeLevel="1"/>
            <OPTION dataLink="CPC_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CPX_GROUPBY_OPTION" tree="true" >
			<OPTION data="CPX" label="Compte auxiliaire" treeLevel="1"/>
			<OPTION data="TYX" label="Type de compte auxiliaire" treeLevel="2" />
			<OPTION dataLink="CPX_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CPB_GROUPBY_OPTION" tree="true" >
			<OPTION data="CPB" label="Compte budgétaire" />
			<OPTION dataLink="CPB_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="ANA_GROUPBY_OPTION" tree="true" >
			<OPTION label="Section analytique" data="ANA" treeLevel="1" aliasData="2" />
			<OPTION dataLink="ANA_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
			<OPTION label="Autres niveaux" data="-1" treeLevel="2" />
			<OPTION label="Section (2)" data="AN2" treeLevel="3"  />
            <OPTION dataLink="AN2_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" />
			<OPTION label="Section (3)" data="AN3" treeLevel="3"  />
            <OPTION dataLink="AN3_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" />
			<OPTION label="Section (4)" data="AN4" treeLevel="3"  />
            <OPTION dataLink="AN4_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" />
			<OPTION label="Section (5)" data="AN5" treeLevel="3"  />
            <OPTION dataLink="AN5_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" />
			<OPTION label="Section (6)" data="AN6" treeLevel="3"  />
            <OPTION dataLink="AN6_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" />
            <OPTION label="Section (7)" data="AN7" treeLevel="3"  />
            <OPTION dataLink="AN7_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" />
            <OPTION label="Section (8)" data="AN8" treeLevel="3"  />
            <OPTION dataLink="AN8_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" />
            <OPTION label="Section (9)" data="AN9" treeLevel="3"  />
            <OPTION dataLink="AN9_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="AOR_GROUPBY_OPTION" tree="true" >
			<OPTION label="Section analytique origine" data="AOR" treeLevel="1" aliasData="2" />
			<OPTION dataLink="AOR_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CSG_GROUPBY_OPTION" tree="true" >
			<OPTION label="GHM" data="CSG" treeLevel="1" aliasData="2" />
			<OPTION label="Racine de GHM" data="CSG5" treeLevel="2" aliasData="2" />
			<OPTION label="Sévérité GHM" data="CSGSEV" treeLevel="2" aliasData="2" />
			<OPTION label="Pole OAP" data="CSGPOA" treeLevel="2" aliasData="2" />
			<OPTION label="Ligne OAP" data="CSGLOA" treeLevel="2" aliasData="2" />
			<OPTION dataLink="CSG_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
			<OPTION label="GHS" data="CSH" treeLevel="2" aliasData="2" />
			<OPTION dataLink="CSH_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CSF_GROUPBY_OPTION" tree="true" >
			<OPTION label="Service facturation" data="CSF" treeLevel="1" aliasData="2" />
			<OPTION dataLink="CSF_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CSA_GROUPBY_OPTION" tree="true" >
			<OPTION label="Activité" data="CSA" treeLevel="1" aliasData="2" />
			<OPTION dataLink="CSA_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CSE_GROUPBY_OPTION" tree="true" >
			<OPTION label="Etage" data="CSE" treeLevel="1" aliasData="2" />
			<OPTION dataLink="CSE_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CSM_GROUPBY_OPTION" tree="true" >
			<OPTION label="Médecin" data="CSM" treeLevel="1" aliasData="2" />
			<OPTION dataLink="CSm_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CSC_GROUPBY_OPTION" tree="true" >
			<OPTION label="Elément de coût" data="CSC" treeLevel="1" aliasData="2" />
			<OPTION dataLink="CSC_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
		
		<LISTPROVIDER name="CSU_GROUPBY_OPTION" tree="true" >
			<OPTION label="Unité d'oeuvre" data="CSU" treeLevel="1" aliasData="2" />
			<OPTION dataLink="CSU_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
		</LISTPROVIDER>
        
        <LISTPROVIDER name="COMPTA_GROUPBY_OPTION" tree="true" >
			<OPTION label="Site" data="SIT" treeLevel="1"  />
			<OPTION dataLink="SIT_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
            <OPTION label="Pole" data="POL" treeLevel="1"  />
			<OPTION dataLink="POL_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
            <OPTION label="Journal" data="JRN" treeLevel="1" aliasData="2" />
			<OPTION dataLink="JRN_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
            <OPTION label="Partenaire" data="PAR" treeLevel="1"  />
			<OPTION dataLink="PAR_CLASSES" dataField="cod" labelField="txt" treeLevelField="lvl" data2Field="cti" />
            <OPTION data="MOI" label="Exercice et Mois comptable" treeLevel="1"/>
            <OPTION data="MON" label="Mois comptable" treeLevel="2"/>
			<OPTION data="MOX" label="Exercice" treeLevel="2"/>
			<OPTION data="MOA" label="Année civile" treeLevel="2"/>
            <OPTION data="FAC" label="Facture - Dossier" treeLevel="1"/>
		</LISTPROVIDER>
	
	</LISTPROVIDERS>

	<QUERIES>
	
		<QUERY type="comboLink" name="MOIS" > 
			<SQL select="SELECT p_calendrier_mois_annee.mois, p_calendrier_mois_annee.texte 
				FROM compta.p_mois_comptables
				JOIN base.p_calendrier_mois ON mois_comptable = p_calendrier_mois.mois
				JOIN base.p_calendrier_mois p_calendrier_mois_annee ON p_calendrier_mois_annee.annee = p_calendrier_mois.annee
				GROUP BY 1,2
				ORDER BY 1 DESC" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="DATE_DEBUT" > 
			<SQL select="SELECT date, alias, texte, level FROM compta.v_calendrier_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="alias" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="DATE_FIN" > 
			<SQL select="SELECT date, alias, texte, level FROM compta.v_calendrier_2" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="alias" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
	
		<QUERY type="comboLink" name="JOURNAUX_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_journaux_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="JOURNAUX_H" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_journaux_h_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="JOURNAUX_PAIEMENT_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_journaux_paiement_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="JOURNAUX_PAIEMENT_H" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_journaux_paiement_h_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="MODE_PAIEMENT_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_mode_paiement_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="MODE_PAIEMENT_H" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_mode_paiement_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COMPTES_C" > 
			<SQL select="SELECT oid, texte, level, alias, is_cti FROM compta.v_comptes_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="alias" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COMPTES_H" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_comptes_h_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COMPTES_EXTRA_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_comptes_c_2" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COMPTES_EXTRA_H" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_comptes_h_2" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COMPTES_BUDGET_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_comptes_c_3" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COMPTES_BANQUE_C" > 
			<SQL select="SELECT 'CP' || oid, numero || ' ' || texte FROM compta.t_comptes WHERE clinique_honoraire = 'C' AND banque = '1' ORDER BY numero" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COMPTES_BANQUE_H" > 
			<SQL select="SELECT 'CP' || oid, numero || ' ' || texte FROM compta.t_comptes WHERE clinique_honoraire = 'H' AND banque = '1' ORDER BY numero" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="PARTENAIRES_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_partenaires_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="PARTENAIRES_H" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_partenaires_h_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="POLE" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_pole_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="SITE" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sites_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="SITE_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sites_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="SITE_H" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sites_h_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="TYPES_COMPTA_C" > 
			<SQL select="SELECT oid, texte, level FROM compta.v_types_compta_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
                
		<QUERY type="comboLink" name="TYPES_COMPTA_H" > 
			<SQL select="SELECT oid, texte, level FROM compta.v_types_compta_h_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		
        
		<QUERY type="comboLink" name="TYPES_COMPTA_EXTRA_C" > 
			<SQL select="SELECT oid, texte, level FROM compta.v_types_compta_c_2" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="TYPES_COMPTA_EXTRA_H" > 
			<SQL select="SELECT oid, texte, level FROM compta.v_types_compta_h_2" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_2_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_2_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_3_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_3_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_4_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_4_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_5_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_5_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_6_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_6_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
        <QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_7_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_7_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
        <QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_8_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_8_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
        <QUERY type="comboLink" name="SECTIONS_ANALYTIQUES_9_C" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_sections_analytiques_9_c_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="RAPPORTS" > 
			<SQL select="SELECT oid, texte FROM compta.t_rapports WHERE oid > 0 AND is_essentiel IS DISTINCT FROM '1' ORDER BY texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="INDICATEURS" > 
			<SQL select="SELECT oid, texte FROM compta.t_indicateurs WHERE oid > 0 AND table_name = 'v_historique_ecritures_1' ORDER BY texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="ETAPES" > 
			<SQL select="SELECT oid, code || ' ' || texte FROM compta.t_etapes_analytiques ORDER BY oid" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="ETAPES_DATA" > 
			<SQL select="SELECT 'P' || oid as oid, 'Prévisions. ' || code || ' ' || texte, '21' as tri FROM compta.t_etapes_analytiques WHERE oid > 0
				UNION
				SELECT 'R' || oid as oid, 'Réalisations. ' || code || ' ' || texte, '11' as tri FROM compta.t_etapes_analytiques WHERE oid > 0
				UNION
				SELECT 'PA' as oid, 'Prévisions. Avant répartition', '20' as tri 
				UNION
				SELECT 'RA' as oid, 'Réalisations. Avant répartition', '10' as tri 
				UNION
				SELECT 'PP' as oid, 'Prévisions. Après répartition', '29' as tri 
				UNION
				SELECT 'RP' as oid, 'Réalisations. Après répartition', '19' as tri 
				ORDER BY tri, oid" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_GHM" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_ghm_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_GHM5" > 
			<SQL select="SELECT oid, texte, level FROM compta.v_ghm5_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_GHM_SEVERITES" > 
			<SQL select="SELECT oid, texte, level FROM compta.v_ghm_severites_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_POLES_OAP" > 
			<SQL select="SELECT oid, texte, level FROM compta.v_poles_oap_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_LIGNES_OAP" > 
			<SQL select="SELECT oid, texte, level FROM compta.v_lignes_oap_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_GHS" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_ghs_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_SERVICES" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_services_facturation_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_ACTIVITES" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_activites_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_ETAGES" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_etages_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_MEDECINS" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_medecins_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_ELEMENTS" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_elements_cout_patient_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="comboLink" name="COUT_PATIENT_SHS_UNITES" > 
			<SQL select="SELECT oid, texte, level, is_cti FROM compta.v_unites_oeuvre_shs_1" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		
		
		<QUERY type="comboLink" name="JRN_CLASSES" > 
			<SQL select="SELECT 'JRNCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'JRN'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="JPA_CLASSES" > 
			<SQL select="SELECT 'JPACLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'JRN'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="MPA_CLASSES" > 
			<SQL select="SELECT 'MPACLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'MPA'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CPT_CLASSES" > 
			<SQL select="SELECT 'CPTCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CPT'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="CPC_CLASSES" > 
			<SQL select="SELECT 'CPCCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte || ' (ctp)', '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CPT'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CPX_CLASSES" > 
			<SQL select="SELECT 'CPXCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte || ' (aux)', '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CPT'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CPB_CLASSES" > 
			<SQL select="SELECT 'CPBCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte || ' (budget)', '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CPT'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="SIT_CLASSES" > 
			<SQL select="SELECT 'SITCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'SIT'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="POL_CLASSES" > 
			<SQL select="SELECT 'POLCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'POLE'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="PAR_CLASSES" > 
			<SQL select="SELECT 'PARCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'PAR'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="ANA_CLASSES" > 
			<SQL select="SELECT 'ANACLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="AN2_CLASSES" > 
			<SQL select="SELECT 'AN2CLS'::text || t_classes.sequence, t_classes.texte, '4'
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text 
							ORDER BY t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="AN3_CLASSES" > 
			<SQL select="SELECT 'AN3CLS'::text || t_classes.sequence, t_classes.texte, '4'
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text 
							ORDER BY t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="AN4_CLASSES" > 
			<SQL select="SELECT 'AN4CLS'::text || t_classes.sequence, t_classes.texte, '4'
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text 
							ORDER BY t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="AN5_CLASSES" > 
			<SQL select="SELECT 'AN5CLS'::text || t_classes.sequence, t_classes.texte, '4'
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text 
							ORDER BY t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="AN6_CLASSES" > 
			<SQL select="SELECT 'AN6CLS'::text || t_classes.sequence, t_classes.texte, '4'
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text 
							ORDER BY t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="AN7_CLASSES" > 
			<SQL select="SELECT 'AN7CLS'::text || t_classes.sequence, t_classes.texte, '4'
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text 
							ORDER BY t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="AN8_CLASSES" > 
			<SQL select="SELECT 'AN8CLS'::text || t_classes.sequence, t_classes.texte, '4'
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text 
							ORDER BY t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
        
        <QUERY type="comboLink" name="AN9_CLASSES" > 
			<SQL select="SELECT 'AN9CLS'::text || t_classes.sequence, t_classes.texte, '4'
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text 
							ORDER BY t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="AOR_CLASSES" > 
			<SQL select="SELECT 'AORCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte || ' (origine)', '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'ANA'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CSF_CLASSES" > 
			<SQL select="SELECT 'CSFCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CSF'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CSG_CLASSES" > 
			<SQL select="SELECT 'CSGCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CSG'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CSH_CLASSES" > 
			<SQL select="SELECT 'CSHCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '3', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CSH'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CSA_CLASSES" > 
			<SQL select="SELECT 'CSACLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CSA'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CSE_CLASSES" > 
			<SQL select="SELECT 'CSECLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CSE'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CSM_CLASSES" > 
			<SQL select="SELECT 'CSMCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CSM'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CSU_CLASSES" > 
			<SQL select="SELECT 'CSUCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CSU'::text AND sequence &gt; 0
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		<QUERY type="comboLink" name="CSC_CLASSES" > 
			<SQL select="SELECT 'CSCCLS'::text || lpad(t_classes.sequence::text, 2, '0'::text), t_classes.texte, '2', is_cti
							FROM compta.t_classes, compta.t_listes_tables
							WHERE t_classes.table_id = t_listes_tables.oid AND t_listes_tables.code::text = 'CSC'::text AND sequence &gt; 0 
							ORDER BY is_cti, t_classes.texte" >
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
					<FIELD name="cti" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		
		
		
	</QUERIES>
	
	
	
</GLOBALS>

			
