SMSDT14000_진료협력월별통계.xfdl 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMSDT14000" position="absolute 0 0 1199 793" titletext="진료협력 월별 통계" oninit="SMSDT14000_oninit" onload="SMSDT14000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="진료협력 월별 통계" class="tit_1" position="absolute 0 0 150 24"/>
  8. <Tab id="tab_main" taborder="1" tabindex="0" scrollbars="autoboth" position="absolute 0 24 1195 760">
  9. <Tabpages>
  10. <Tabpage id="tab_summary" text=" 요 약 " style="anchor:default;margin:3 0 0 0;">
  11. <Layouts>
  12. <Layout>
  13. <Grid id="grd_hiecnt" class="datagrid2" taborder="6" binddataset="ds_summary_hiecnt" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 78 590 708" anchor="all">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="0"/>
  18. <Column size="100"/>
  19. <Column size="249"/>
  20. <Column size="125"/>
  21. <Column size="100"/>
  22. </Columns>
  23. <Rows>
  24. <Row size="24" band="head"/>
  25. <Row size="24"/>
  26. </Rows>
  27. <Band id="head">
  28. <Cell text="caption1"/>
  29. <Cell col="1" text="전송년월" taborder="undefined"/>
  30. <Cell col="2" text="병원명"/>
  31. <Cell col="3" text="구 분"/>
  32. <Cell col="4" text="건 수"/>
  33. </Band>
  34. <Band id="body">
  35. <Cell text="bind:coophospcd"/>
  36. <Cell col="1" style="align:center middle;padding:5 2 3 2;" text="bind:trnsym" wordwrap="word" mask="####.##" suppress="1" suppressalign="middle,over"/>
  37. <Cell col="2" style="align:left middle;padding:0 0 0 10;" text="bind:hospnm" suppress="1" suppressalign="middle,over"/>
  38. <Cell col="3" text="bind:reqnm"/>
  39. <Cell col="4" text="bind:cnt"/>
  40. </Band>
  41. </Format>
  42. </Formats>
  43. </Grid>
  44. <Button id="btn_excel" taborder="7" text="엑셀저장" onclick="btn_excel_onclick" class="btn7" position="absolute 1115 43 1195 62" anchor="top right"/>
  45. <Static id="caption00" text="HIE 전송건수" class="tit_2" position="absolute 0 57 232 79"/>
  46. <Shape id="line00" class="line_10" position="absolute 0 72 590 81" anchor="left top right"/>
  47. <Static id="caption01" text="진료협력센터 예약 건수" class="tit_2" position="absolute 605 57 837 79"/>
  48. <Shape id="line01" class="line_10" position="absolute 605 72 1195 81" anchor="left top right"/>
  49. <Grid id="grd_rsvcnt" class="datagrid2" taborder="8" binddataset="ds_summary_rsrvcnt" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 605 78 1195 198" anchor="all">
  50. <Formats>
  51. <Format id="default">
  52. <Columns>
  53. <Column size="0"/>
  54. <Column size="130"/>
  55. <Column size="204"/>
  56. <Column size="120"/>
  57. <Column size="120"/>
  58. </Columns>
  59. <Rows>
  60. <Row size="24" band="head"/>
  61. <Row size="24"/>
  62. </Rows>
  63. <Band id="head">
  64. <Cell text="caption1"/>
  65. <Cell col="1" text="접수년월" taborder="undefined"/>
  66. <Cell col="2" text="예약구분"/>
  67. <Cell col="3" text="예약건수"/>
  68. <Cell col="4" text="접수건수"/>
  69. </Band>
  70. <Band id="body">
  71. <Cell text="bind:coophospcd"/>
  72. <Cell col="1" style="align:center middle;padding:5 2 3 2;" text="bind:trnsym" wordwrap="word" mask="####.##"/>
  73. <Cell col="2" style="align:left middle;padding:0 0 0 10;" text="bind:rsrvnm"/>
  74. <Cell col="3" text="bind:cnt"/>
  75. <Cell col="4" text="bind:acptcnt"/>
  76. </Band>
  77. </Format>
  78. </Formats>
  79. </Grid>
  80. <Static id="caption02" text="처방별 구분별 건수" class="tit_2" position="absolute 605 206 837 228"/>
  81. <Shape id="line02" class="line_10" position="absolute 605 221 1195 230" anchor="left top right"/>
  82. <Grid id="grd_prcpcnt" class="datagrid2" taborder="9" binddataset="ds_summary_prcpcnt" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 605 227 1195 527" anchor="all">
  83. <Formats>
  84. <Format id="default">
  85. <Columns>
  86. <Column size="0"/>
  87. <Column size="130"/>
  88. <Column size="164"/>
  89. <Column size="180"/>
  90. <Column size="100"/>
  91. </Columns>
  92. <Rows>
  93. <Row size="24" band="head"/>
  94. <Row size="24"/>
  95. </Rows>
  96. <Band id="head">
  97. <Cell text="caption1"/>
  98. <Cell col="1" text="진료년월" taborder="undefined"/>
  99. <Cell col="2" text="처방코드"/>
  100. <Cell col="3" text="보험유형"/>
  101. <Cell col="4" text="건 수"/>
  102. </Band>
  103. <Band id="body">
  104. <Cell text="bind:coophospcd"/>
  105. <Cell col="1" style="align:center middle;padding:5 2 3 2;" text="bind:trnsym" wordwrap="word" mask="####.##"/>
  106. <Cell col="2" text="bind:prcpcd"/>
  107. <Cell col="3" text="bind:insukind"/>
  108. <Cell col="4" text="bind:cnt"/>
  109. </Band>
  110. </Format>
  111. </Formats>
  112. </Grid>
  113. <Static id="caption03" text="HIE 의뢰받아 회신건수" class="tit_2" position="absolute 605 535 837 557"/>
  114. <Shape id="line03" class="line_10" position="absolute 605 550 1195 559" anchor="left top right"/>
  115. <Grid id="grd_hiereplcnt" class="datagrid2" taborder="10" binddataset="ds_summary_hiereplcnt" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 605 556 1195 708" anchor="all">
  116. <Formats>
  117. <Format id="default">
  118. <Columns>
  119. <Column size="0"/>
  120. <Column size="130"/>
  121. <Column size="289"/>
  122. <Column size="155"/>
  123. </Columns>
  124. <Rows>
  125. <Row size="24" band="head"/>
  126. <Row size="24"/>
  127. </Rows>
  128. <Band id="head">
  129. <Cell text="caption1"/>
  130. <Cell col="1" text="진료년월" taborder="undefined"/>
  131. <Cell col="2" text="병원명"/>
  132. <Cell col="3" text="건 수"/>
  133. </Band>
  134. <Band id="body">
  135. <Cell text="bind:coophospcd"/>
  136. <Cell col="1" style="align:center middle;padding:5 2 3 2;" text="bind:trnsym" wordwrap="word" mask="####.##"/>
  137. <Cell col="2" style="align:left middle;padding:0 0 0 10;" text="bind:hospnm"/>
  138. <Cell col="3" style="align:center middle;" text="bind:cnt"/>
  139. </Band>
  140. </Format>
  141. </Formats>
  142. </Grid>
  143. <Div id="div_search" anchor="left top right" taborder="11" class="div_SA" position="absolute 0 0 1195 40">
  144. <Layouts>
  145. <Layout>
  146. <cp_monthCal id="ipt_searchym" titletext="monthCalendar" taborder="19" text="cp_monthCal" scrollbars="none" position="absolute 80 10 160 30"/>
  147. <Button id="btn_search" taborder="20" text="조회" onclick="tab_main_tab_summary_div_search_btn_search_onclick" class="btn1" position="absolute 1125 9 1181 31" anchor="top right"/>
  148. <Shape id="line2" linetype="vertical" position="absolute 1112 9 1118 31" anchor="top right"/>
  149. <Static id="caption2" text="조회년월" class="search_name" position="absolute 9 5 77 35"/>
  150. </Layout>
  151. </Layouts>
  152. </Div>
  153. </Layout>
  154. </Layouts>
  155. </Tabpage>
  156. <Tabpage id="tab_031" text=" 본 원 " scrollbars="none">
  157. <Layouts>
  158. <Layout>
  159. <Div id="div_search" anchor="left top right" taborder="4" class="div_SA" position="absolute 0 0 1195 40">
  160. <Layouts>
  161. <Layout>
  162. <cp_monthCal id="ipt_searchym" titletext="monthCalendar" taborder="21" text="cp_monthCal00" scrollbars="none" position="absolute 80 10 160 30"/>
  163. <Button id="btn_search" taborder="22" text="조회" onclick="tab_main_tab_031_div_search_btn_search_onclick" class="btn1" position="absolute 1125 9 1181 31" anchor="top right"/>
  164. <Shape id="line2" linetype="vertical" position="absolute 1112 9 1118 31" anchor="top right"/>
  165. <Static id="caption2" text="조회년월" class="search_name" position="absolute 9 5 77 35"/>
  166. </Layout>
  167. </Layouts>
  168. </Div>
  169. <Shape id="line37" class="line_6" position="absolute 0 761 1195 767" anchor="left right bottom"/>
  170. <Grid id="grd_profdesc" class="datagrid2" taborder="5" binddataset="ds_031_profdesc" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 78 590 708" anchor="all">
  171. <Formats>
  172. <Format id="default">
  173. <Columns>
  174. <Column size="0"/>
  175. <Column size="25"/>
  176. <Column size="125"/>
  177. <Column size="80"/>
  178. <Column size="100"/>
  179. <Column size="80"/>
  180. <Column size="100"/>
  181. <Column size="80"/>
  182. </Columns>
  183. <Rows>
  184. <Row size="24" band="head"/>
  185. <Row size="24"/>
  186. </Rows>
  187. <Band id="head">
  188. <Cell text="caption1"/>
  189. <Cell col="1" text="No."/>
  190. <Cell col="2" text="진료과명" taborder="undefined"/>
  191. <Cell col="3" text="사번"/>
  192. <Cell col="4" text="이름"/>
  193. <Cell col="5" text="처방코드"/>
  194. <Cell col="6" text="보험유형"/>
  195. <Cell col="7" text="처방건수"/>
  196. </Band>
  197. <Band id="body">
  198. <Cell text="bind:coophospcd"/>
  199. <Cell col="1" celltype="head" expr="currow + 1"/>
  200. <Cell col="2" style="align:left middle;padding:0 0 0 10;" text="bind:orddeptnm" wordwrap="word"/>
  201. <Cell col="3" text="bind:orddrid"/>
  202. <Cell col="4" text="bind:orddrnm"/>
  203. <Cell col="5" text="bind:prcpcd"/>
  204. <Cell col="6" text="bind:insukind"/>
  205. <Cell col="7" text="bind:cnt"/>
  206. </Band>
  207. </Format>
  208. </Formats>
  209. </Grid>
  210. <Button id="btn_excel" taborder="6" text="엑셀저장" onclick="btn_excel_onclick" class="btn7" position="absolute 1115 43 1195 62" anchor="top right"/>
  211. <Static id="caption00" text="교수별 처방내역(IA230)" class="tit_2" position="absolute 0 57 232 79"/>
  212. <Shape id="line00" class="line_10" position="absolute 0 72 590 81" anchor="left top right"/>
  213. <Static id="caption01" text="임상강사 회송수당" class="tit_2" position="absolute 605 57 837 79"/>
  214. <Shape id="line01" class="line_10" position="absolute 605 72 1195 81" anchor="left top right"/>
  215. <Grid id="grd_fellowdesc" class="datagrid2" taborder="7" binddataset="ds_031_fellowdesc" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 605 78 1195 708" anchor="all">
  216. <Formats>
  217. <Format id="default">
  218. <Columns>
  219. <Column size="0"/>
  220. <Column size="25"/>
  221. <Column size="100"/>
  222. <Column size="80"/>
  223. <Column size="80"/>
  224. <Column size="80"/>
  225. <Column size="80"/>
  226. <Column size="80"/>
  227. <Column size="80"/>
  228. <Column size="85"/>
  229. </Columns>
  230. <Rows>
  231. <Row size="24" band="head"/>
  232. <Row size="24"/>
  233. </Rows>
  234. <Band id="head">
  235. <Cell text="caption1"/>
  236. <Cell col="1" style="align:center;" text="No."/>
  237. <Cell col="2" text="진료과" taborder="undefined"/>
  238. <Cell col="3" text="사번"/>
  239. <Cell col="4" text="이름"/>
  240. <Cell col="5" text="처방년월"/>
  241. <Cell col="6" text="등록번호"/>
  242. <Cell col="7" text="처방코드"/>
  243. <Cell col="8" text="작성의사 사번"/>
  244. <Cell col="9" text="작성의사명"/>
  245. </Band>
  246. <Band id="body">
  247. <Cell text="bind:coophospcd"/>
  248. <Cell col="1" celltype="head" expr="currow+1"/>
  249. <Cell col="2" style="align:center middle;padding:5 2 3 2;" text="bind:deptnm" wordwrap="word"/>
  250. <Cell col="3" style="align:left middle;padding:0 0 0 10;" text="bind:orddrid"/>
  251. <Cell col="4" text="bind:orddrnm"/>
  252. <Cell col="5" text="bind:prcpyyyymm"/>
  253. <Cell col="6" text="bind:pid"/>
  254. <Cell col="7" text="bind:prcpcd"/>
  255. <Cell col="8" text="bind:issid"/>
  256. <Cell col="9" text="bind:issnm"/>
  257. </Band>
  258. </Format>
  259. </Formats>
  260. </Grid>
  261. </Layout>
  262. </Layouts>
  263. </Tabpage>
  264. <Tabpage id="tab_032" text=" 칠 곡 " scrollbars="none">
  265. <Layouts>
  266. <Layout>
  267. <Shape id="line37" class="line_6" position="absolute 0 761 1195 767" anchor="all"/>
  268. <Shape id="line00" class="line_6" position="absolute 8 769 1203 775" anchor="left right bottom"/>
  269. <Grid id="grd_hiedesc" class="datagrid2" taborder="5" binddataset="ds_032_hiedesc" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 78 590 708" anchor="all">
  270. <Formats>
  271. <Format id="default">
  272. <Columns>
  273. <Column size="0"/>
  274. <Column size="25"/>
  275. <Column size="70"/>
  276. <Column size="100"/>
  277. <Column size="100"/>
  278. <Column size="100"/>
  279. <Column size="140"/>
  280. <Column size="80"/>
  281. <Column size="40"/>
  282. <Column size="40"/>
  283. </Columns>
  284. <Rows>
  285. <Row size="24" band="head"/>
  286. <Row size="24"/>
  287. </Rows>
  288. <Band id="head">
  289. <Cell text="caption1"/>
  290. <Cell col="1" celltype="head" text="No."/>
  291. <Cell col="2" text="상태" taborder="undefined"/>
  292. <Cell col="3" text="발행일"/>
  293. <Cell col="4" text="등록번호"/>
  294. <Cell col="5" text="환자명"/>
  295. <Cell col="6" text="진료과"/>
  296. <Cell col="7" text="진료의사"/>
  297. <Cell col="8" style="align:center;" text="입/외"/>
  298. <Cell col="9" text="발행"/>
  299. </Band>
  300. <Band id="body">
  301. <Cell text="bind:coophospcd"/>
  302. <Cell col="1" celltype="head" expr="currow+1"/>
  303. <Cell col="2" style="align:left top;padding:5 2 3 2;" text="bind:stat" wordwrap="word"/>
  304. <Cell col="3" text="bind:formrecdd" mask="####.##.##"/>
  305. <Cell col="4" text="bind:pid"/>
  306. <Cell col="5" text="bind:hngnm"/>
  307. <Cell col="6" text="bind:orddeptnm"/>
  308. <Cell col="7" text="bind:orddrnm"/>
  309. <Cell col="8" text="bind:chosflag"/>
  310. <Cell col="9" text="bind:issflag"/>
  311. </Band>
  312. </Format>
  313. </Formats>
  314. </Grid>
  315. <Button id="btn_excel" taborder="6" text="엑셀저장" onclick="btn_excel_onclick" class="btn7" position="absolute 1115 43 1195 62" anchor="top right"/>
  316. <Static id="caption00" text="HIE 의뢰 내역" class="tit_2" position="absolute 0 57 232 79"/>
  317. <Shape id="line01" class="line_10" position="absolute 0 72 590 81" anchor="left top right"/>
  318. <Static id="caption01" text="회송 상세내역" class="tit_2" position="absolute 605 57 837 79"/>
  319. <Shape id="line02" class="line_10" position="absolute 605 72 1195 81" anchor="left top right"/>
  320. <Grid id="grd_repldesc" class="datagrid2" taborder="7" binddataset="ds_032_repldesc" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 605 78 1195 708" anchor="all">
  321. <Formats>
  322. <Format id="default">
  323. <Columns>
  324. <Column size="0"/>
  325. <Column size="25"/>
  326. <Column size="70"/>
  327. <Column size="60"/>
  328. <Column size="60"/>
  329. <Column size="75"/>
  330. <Column size="100"/>
  331. <Column size="80"/>
  332. <Column size="40"/>
  333. <Column size="80"/>
  334. </Columns>
  335. <Rows>
  336. <Row size="24" band="head"/>
  337. <Row size="24"/>
  338. </Rows>
  339. <Band id="head">
  340. <Cell text="caption1"/>
  341. <Cell col="1" text="No."/>
  342. <Cell col="2" text="상태" taborder="undefined"/>
  343. <Cell col="3" text="발행일"/>
  344. <Cell col="4" text="등록번호"/>
  345. <Cell col="5" text="환자명"/>
  346. <Cell col="6" text="진료과"/>
  347. <Cell col="7" text="진료의사"/>
  348. <Cell col="8" text="입/외"/>
  349. <Cell col="9" text="발행"/>
  350. </Band>
  351. <Band id="body">
  352. <Cell text="bind:coophospcd"/>
  353. <Cell col="1" celltype="head" expr="currow+1"/>
  354. <Cell col="2" style="align:left top;padding:5 2 3 2;" text="bind:stat" wordwrap="word"/>
  355. <Cell col="3" text="bind:formrecdd"/>
  356. <Cell col="4" text="bind:pid"/>
  357. <Cell col="5" text="bind:hngnm"/>
  358. <Cell col="6" text="bind:orddeptnm"/>
  359. <Cell col="7" text="bind:orddrnm"/>
  360. <Cell col="8" text="bind:chosflag"/>
  361. <Cell col="9" text="bind:issflag"/>
  362. </Band>
  363. </Format>
  364. </Formats>
  365. </Grid>
  366. <Div id="div_search" anchor="left top right" taborder="8" class="div_SA" position="absolute 0 0 1195 40">
  367. <Layouts>
  368. <Layout>
  369. <cp_monthCal id="ipt_searchym" titletext="monthCalendar" taborder="23" text="cp_monthCal00" scrollbars="none" position="absolute 80 10 160 30"/>
  370. <Button id="btn_search" taborder="24" text="조회" onclick="tab_main_tab_032_div_search_btn_search_onclick" class="btn1" position="absolute 1125 9 1181 31" anchor="top right"/>
  371. <Shape id="line2" linetype="vertical" position="absolute 1112 9 1118 31" anchor="top right"/>
  372. <Static id="caption2" text="조회년월" class="search_name" position="absolute 9 5 77 35"/>
  373. </Layout>
  374. </Layouts>
  375. </Div>
  376. </Layout>
  377. </Layouts>
  378. </Tabpage>
  379. </Tabpages>
  380. </Tab>
  381. </Layout>
  382. </Layouts>
  383. <Objects>
  384. <Dataset id="ds_main_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  385. <ColumnInfo>
  386. <Column id="summendym" type="STRING" size="256"/>
  387. <Column id="031endym" type="STRING" size="256"/>
  388. <Column id="032endym" type="STRING" size="256"/>
  389. </ColumnInfo>
  390. <Rows>
  391. <Row/>
  392. </Rows>
  393. </Dataset>
  394. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  395. <Dataset id="ds_summary_hiecnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  396. <Dataset id="ds_summary_rsrvcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  397. <Dataset id="ds_summary_prcpcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  398. <Dataset id="ds_summary_hiereplcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  399. <Dataset id="ds_031_profdesc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  400. <Dataset id="ds_031_fellowdesc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  401. <Dataset id="ds_032_hiedesc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  402. <Dataset id="ds_032_repldesc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  403. </Objects>
  404. <Bind/>
  405. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  406. * System Name :
  407. * Job Name :
  408. * Creator :
  409. * Make Date : 2020.02.03
  410. * Description :
  411. *---------------------------------------------------------------------------------------
  412. * Modify Date Modifier Modify Description
  413. *---------------------------------------------------------------------------------------
  414. *
  415. *---------------------------------------------------------------------------------------
  416. ****************************************************************************************/
  417. include "com_commonxp::comm_main.xjs";
  418. function SMSDT14000_oninit(obj:Form, e:InitEventInfo)
  419. {
  420. frmf_initForm(obj);
  421. }
  422. function SMSDT14000_onload(obj:Form, e:LoadEventInfo)
  423. {
  424. // 요약
  425. grdf_initGrid(tab_main.tab_summary.grd_hiecnt);
  426. grdf_initGrid(tab_main.tab_summary.grd_rsvcnt);
  427. grdf_initGrid(tab_main.tab_summary.grd_prcpcnt);
  428. grdf_initGrid(tab_main.tab_summary.grd_hiereplcnt);
  429. // 본원
  430. grdf_initGrid(tab_main.tab_031.grd_profdesc);
  431. grdf_initGrid(tab_main.tab_031.grd_fellowdesc);
  432. // 칠곡
  433. grdf_initGrid(tab_main.tab_032.grd_hiedesc);
  434. grdf_initGrid(tab_main.tab_032.grd_repldesc);
  435. fInit();
  436. }
  437. function fn_Cal_endym1()
  438. {
  439. var endym = tab_main.tab_summary.div_search.ipt_searchym.getData();
  440. ds_main_search.setColumn(0, "summendym", endym);
  441. }
  442. function fn_Cal_endym2()
  443. {
  444. var endym = tab_main.tab_031.div_search.ipt_searchym.getData();
  445. ds_main_search.setColumn(0, "031endym", endym);
  446. }
  447. function fn_Cal_endym3()
  448. {
  449. var endym = tab_main.tab_032.div_search.ipt_searchym.getData();
  450. ds_main_search.setColumn(0, "032endym", endym);
  451. }
  452. function fInit()
  453. {
  454. tab_main.tab_summary.div_search.ipt_searchym.setCallEvent("fn_Cal_endym1");
  455. tab_main.tab_031.div_search.ipt_searchym.setCallEvent("fn_Cal_endym2");
  456. tab_main.tab_032.div_search.ipt_searchym.setCallEvent("fn_Cal_endym3");
  457. var CurrentDate = utlf_getCurrentDate();
  458. var LastDate = CurrentDate.toDate().getAddDate(-1,"M").getDateFormat();
  459. var LastDateYM = LastDate.substr(0,6);
  460. tab_main.tab_summary.div_search.ipt_searchym.setData(LastDateYM);
  461. tab_main.tab_031.div_search.ipt_searchym.setData(LastDateYM);
  462. tab_main.tab_032.div_search.ipt_searchym.setData(LastDateYM);
  463. ds_main_search.setColumn(0, "summendym", LastDateYM);
  464. ds_main_search.setColumn(0, "031endym", LastDateYM);
  465. ds_main_search.setColumn(0, "032endym", LastDateYM);
  466. var instcd = sysf_getUserInfo("dutplceinstcd");
  467. if(instcd == "031"){
  468. // 본원
  469. tab_main.removeTabpage(2);
  470. } else {
  471. // 칠곡
  472. tab_main.removeTabpage(1);
  473. }
  474. }
  475. // 요약탭 조회
  476. function tab_main_tab_summary_div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
  477. {
  478. fSearch("01"); // 요약탭
  479. }
  480. // 본원탭 조회
  481. function tab_main_tab_031_div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
  482. {
  483. fSearch("02"); // 본원탭
  484. }
  485. // 칠곡탭 조회
  486. function tab_main_tab_032_div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
  487. {
  488. fSearch("03"); // 칠곡탭
  489. }
  490. function fSearch(reqflag)
  491. {
  492. ds_send_reqdata.clearData();
  493. if(reqflag == "01"){
  494. dsf_makeValue(ds_send_reqdata, "endym", "string", ds_main_search.getColumn(0, "summendym"));
  495. } else if(reqflag == "02"){
  496. dsf_makeValue(ds_send_reqdata, "endym", "string", ds_main_search.getColumn(0, "031endym"));
  497. } else {
  498. dsf_makeValue(ds_send_reqdata, "endym", "string", ds_main_search.getColumn(0, "032endym"));
  499. }
  500. dsf_makeValue(ds_send_reqdata, "reqflag", "string", reqflag);
  501. var oParam = {};
  502. oParam.id = "TRSDT14001";
  503. oParam.service = "stscmcnwapp.CoopEndStats";
  504. oParam.method = "reqGetHealCareCoopMonthly";
  505. oParam.inds = "req=ds_send_reqdata";
  506. if(reqflag == "01")
  507. {
  508. oParam.outds = "ds_summary_hiecnt=hiecnt ds_summary_rsrvcnt=rsrvcnt ds_summary_prcpcnt=prcpcnt ds_summary_hiereplcnt=hiereplcnt";
  509. }
  510. else if(reqflag == "02")
  511. {
  512. oParam.outds = "ds_031_profdesc=profdesc ds_031_fellowdesc=fellowdesc";
  513. }
  514. else
  515. {
  516. oParam.outds = "ds_032_hiedesc=hiedesc ds_032_repldesc=repldesc";
  517. }
  518. oParam.async = false;
  519. oParam.callback = "cf_TRSDT14001";
  520. tranf_submit(oParam);
  521. }
  522. function cf_TRSDT14001(sSvcId, nErrorCode, sErrorMsg)
  523. {
  524. if(nErrorCode < 0)
  525. {
  526. return;
  527. }
  528. else
  529. {
  530. }
  531. }
  532. // 엑셀저장
  533. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  534. {
  535. fExcel();
  536. }
  537. function fExcel()
  538. {
  539. var title = "Excel";
  540. var gridID;
  541. var sheetNm;
  542. var instcd = sysf_getUserInfo("dutplceinstcd");
  543. if(instcd == "031") {
  544. if((tab_main.tabindex == 0 && ds_summary_hiecnt.rowcount == 0) ||
  545. (tab_main.tabindex == 1 && ds_031_profdesc.rowcount == 0)){
  546. sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
  547. return;
  548. }
  549. } else {
  550. if((tab_main.tabindex == 0 && ds_summary_hiecnt.rowcount == 0) ||
  551. (tab_main.tabindex == 1 && ds_032_hiedesc.rowcount == 0)){
  552. sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
  553. return;
  554. }
  555. }
  556. if(tab_main.tabindex == 0) // 요약
  557. {
  558. title = "요약";
  559. sheetNm = "HIE전송건수, 진료협력센터 예약 건수,처방별 구분별 건수,HIE 의뢰받아 회신건수";
  560. gridID = "tab_main.tab_summary.grd_hiecnt,tab_main.tab_summary.grd_rsvcnt,tab_main.tab_summary.grd_prcpcnt,tab_main.tab_summary.grd_hiereplcnt";
  561. }
  562. else if(instcd == "031" && tab_main.tabindex == 1) // 본원
  563. {
  564. title = "본원";
  565. sheetNm = "교수별 처방내역(IA230),임상강사 회송수당";
  566. gridID = "tab_main.tab_031.grd_profdesc,tab_main.tab_031.grd_fellowdesc";
  567. }
  568. else // 칠곡
  569. {
  570. title = "칠곡";
  571. sheetNm = "HIE 의뢰 내역,회송 상세내역";
  572. gridID = "tab_main.tab_032.grd_hiedesc,tab_main.tab_032.grd_repldesc";
  573. }
  574. grdf_exportExcelMulti(gridID, title, sheetNm);
  575. }]]></Script>
  576. </Form>
  577. </FDL>