import{o as e}from"./ctiAxios-BIVP6fGU.js";var t=`pmsi`,n=`pmsissr`,r=`pmsihad`,i=`pmsipsy`,a=`iCTI_pmsi`,o=`iCTI_pmsissr`,s=`iCTI_pmsihad`,c=`iCTI_pmsipsy`,l={[a]:t,[o]:n,[s]:r,[c]:i},u={[t]:{title:`RSS`,dataKey:`nb_rss`},[n]:{title:`RHS`,dataKey:`nb_rhs`},[i]:{title:`RPS`,dataKey:`nb_rps`},[r]:{title:`RPSS`,dataKey:`nb_rpss`}},d={[t]:{title:`RUM`,dataKey:`nb_rum`},[n]:{title:`RHS Générés`,dataKey:`nb_ref`},[i]:{title:`RPA`,dataKey:`nb_rpa`},[r]:{title:`RAPSS`,dataKey:`nb_rapss`}},f=[{key:`ZIN`,label:`RSS IN.ZIP`},{key:`ZOU`,label:`RSS OUT.ZIP`},{key:`ZIF`,label:`RSF IN.ZIP`},{key:`DRUIDE_OQN`,label:`DRUIDES OQN`},{key:`DRUIDE_SEJ`,label:`DRUIDES SEJOURS`},{key:`DRUIDE_ACE`,label:`DRUIDES RSF ACE`},{key:`MED`,label:`Médecins`},{key:`RSSMED`,label:`RSS - Médecins`},{key:`RSSNOM`,label:`RSS - Noms`},{key:`ACTMED`,label:`Actes Médecins`},{key:`VSJ`,label:`Valorisation séjours`},{key:`VSE`,label:`Valorisation ACE`}],p=[{key:`ZIN`,label:`RHS IN.ZIP`},{key:`ZOU`,label:`RHS OUT.ZIP`},{key:`ZIF`,label:`RSF IN.ZIP`},{key:`DRUIDE_OQN`,label:`DRUIDES OQN`},{key:`DRUIDE_SEJ`,label:`DRUIDES SEJOURS`},{key:`RHS`,label:`RHS`},{key:`RSF`,label:`RSF`},{key:`VAL`,label:`Valorisation séjours`}],m=[{key:`ZIN`,label:`RPSS IN.ZIP`},{key:`ZOU`,label:`RPSS OUT.ZIP`},{key:`ZIF`,label:`RSF IN.ZIP`},{key:`RPS`,label:`RPSS`},{key:`RSF`,label:`RSF`}],h={[t]:f,[n]:p,[r]:m,[i]:m};function g(e){let t=``;switch(e){case`mco`:t=`modules/pmsi/php/PMSI_getImportsMat2a.php`;break;case`ssr`:t=`modules/pmsissr/php/PMSI_getImportsMat2a.php`;break;default:break}return t}function _(e){let t=``;switch(e){case`mco`:t=`/modules/pmsi/php/PMSI_getFile_Mat2a.php?mat2a_import_id=`;break;case`ssr`:t=`/modules/pmsissr/php/getFileMat2a.php?mat2a_import_id=`;break;default:break}return t}function v(e,t,n){return`modules/${e}/php/${e===`pmsi`?n:t}`}function y(e){let t;switch(e){case`./CTI_ACTI_TablesManager.swf`:t=`modules/activite/php/httpService_ACTI_tableManager_copyRef.php`;break;case`./CTI_PMSI_TablesManager.swf`:t=`modules/pmsi/php/httpService_PMSI_tableManager_copyRef.php`;break;case`./CTI_RH_TablesManager.swf`:t=`modules/rh/php/httpService_RH_tableManager_copyRef.php`;break;case`./CTI_ACTI_ConsoManager.swf`:t=`modules/activite/php/httpService_ACTI_consoManager_setData.php`;break;default:break}return t}function b(e){let t;switch(e){case`./CTI_BASE_TablesManager.swf`:t=`modules/base/php/BASE_setTableRecord.php`;break;case`./CTI_ECO_TablesManager.swf`:t=`modules/eco/php/httpService_tablesManager_setData.php`;break;case`./CTI_ACTI_TablesManager.swf`:t=`modules/activite/php/ACTI_setTableRecord.php`;break;case`./CTI_RH_TablesManager.swf`:t=`modules/rh/php/httpService_tablesManager_setData.php`;break;case`./CTI_PMSI_TablesManager.swf`:t=`modules/pmsi/php/PMSI_setTableRecord.php`;break;case`./CTI_PMSISSR_TablesManager.swf`:t=`modules/pmsissr/php/PMSISSR_setTableRecord.php`;break;case`./CTI_COMPTA_TablesManager.swf`:t=`modules/compta/php/COMPTA_setTableRecord.php`;break;case`./CTI_SSAE_TablesManager.swf`:t=`modules/ssae/php/SSAE_setTableRecord.php`;break;case`./CTI_DPI_TablesManager.swf`:t=`modules/dpi/php/DPI_setTableRecord.php`;break;default:break}return t}async function x(t,n,r){let i={oids:n,tableName:t};switch(r){case`iCTI_rh`:await e(`modules/rh/php/httpService_RH_tableManager_getSqlScript.php`,i);break;case`iCTI_pmsi`:await e(`modules/pmsi/php/httpService_PMSI_tableManager_getSqlScript.php`,i);break;case`iCTI_activite`:await e(`modules/activite/php/httpService_ACTI_tableManager_getSqlScript.php`,i);break;case`iCTI_pmsissr`:await e(`modules/PMSISSR/php/httpService_PMSISSRtableManager_getSqlScript.php`,i);break;default:await e(`modules/base/php/httpService_listesManager_getSqlScript.php`,i);break}}export{x as a,r as c,h as d,l as f,v as i,i as l,d as m,y as n,b as o,u as p,g as r,t as s,_ as t,n as u};