SMPMS01130_외래환자현황.xfdl 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SMPMS01130" position="absolute 0 0 1211 784" titletext="외래환자현황" onload="SMPMS01130_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" class="tit_1" position="absolute 0 0 189 14" style="" text="외래환자현황" />
  8. <Static id="caption4" class="patient_text_black" position="absolute 922 0 1194 200" style="" />
  9. <Div id="group4" scrollbars="autoboth" position="absolute 0 732 1190 765" style="">
  10. <Layouts>
  11. <Layout>
  12. <Shape id="line88" class="line_6" linetype="horizontal" position="absolute 0 0 1160 3" style="" anchor="default" />
  13. <Button id="btn_clear" class="btn4_letter3" position="absolute 1090 5 1158 27" style="" text="초기화" onclick="group4_btn_clear_onclick" />
  14. </Layout>
  15. </Layouts>
  16. </Div>
  17. <Div id="group6" position="absolute 0 70 1180 730" style="">
  18. <Layouts>
  19. <Layout>
  20. <Tab id="swt_outpatient" position="absolute 0 5 1160 640" style="border: solid #c7a3cf #c7a3cf;" anchor="default">
  21. <Tabpages>
  22. <Tabpage id="case_otpt" position="absolute 0 5 1210 653" style="" anchor="default">
  23. <Layouts>
  24. <Layout>
  25. <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 5 25 1155 28" style="" anchor="default" />
  26. <Button id="btn_cnclexcel" class="btn2_letter4" position="absolute 1088 3 1152 22" style="" text="엑셀저장" onclick="group6_swt_outpatient_case_otpt_btn_cnclexcel_onclick" />
  27. <Grid id="grd_change" binddataset="ds_main_otptordstatistic_otptordstatisticlist" class="datagrid2" visible="true" position="absolute 5 30 1155 615" style="">
  28. <Formats>
  29. <Format id="default">
  30. <Columns>
  31. <Column size="90" />
  32. <Column size="70" />
  33. <Column size="70" />
  34. <Column size="100" />
  35. <Column size="80" />
  36. <Column size="100" />
  37. <Column size="70" />
  38. <Column size="70" />
  39. <Column size="100" />
  40. <Column size="80" />
  41. <Column size="80" />
  42. <Column size="70" />
  43. <Column size="70" />
  44. <Column size="100" />
  45. <Column size="100" />
  46. <Column size="100" />
  47. </Columns>
  48. <Rows>
  49. <Row size="23" band="head" />
  50. <Row size="23" />
  51. </Rows>
  52. <Band id="head">
  53. <Cell text="임상과" />
  54. <Cell col="1" text="비교대상기간" />
  55. <Cell col="2" text="비교대상기간" />
  56. <Cell col="3" text="비교대상기간" />
  57. <Cell col="4" text="비교대상기간" />
  58. <Cell col="5" text="비교대상기간" />
  59. <Cell col="6" text="조회기간" />
  60. <Cell col="7" text="조회기간" />
  61. <Cell col="8" text="조회기간" />
  62. <Cell col="9" text="조회기간" />
  63. <Cell col="10" text="조회기간" />
  64. <Cell col="11" text="증 감" />
  65. <Cell col="12" text="증 감" />
  66. <Cell col="13" text="증 감" />
  67. <Cell col="14" text="증 감" />
  68. <Cell col="15" text="증 감|임상과" />
  69. <Cell col="16" text="초 진" />
  70. <Cell col="17" text="재 진" />
  71. <Cell col="18" text="합계" />
  72. <Cell col="19" text="일평균" />
  73. <Cell col="20" text="진료 Unit수" />
  74. <Cell col="21" text="초 진" />
  75. <Cell col="22" text="재 진" />
  76. <Cell col="23" text="합계" />
  77. <Cell col="24" text="일평균" />
  78. <Cell col="25" text="진료 Unit수" />
  79. <Cell col="26" text="초 진" />
  80. <Cell col="27" text="재 진" />
  81. <Cell col="28" text="합계" />
  82. <Cell col="29" text="일평균" />
  83. <Cell col="30" text="진료Unit수" />
  84. </Band>
  85. <Band id="body">
  86. <Cell text="bind:depthngnm" />
  87. <Cell col="1" text="bind:bffstord" />
  88. <Cell col="2" text="bind:bfreord" />
  89. <Cell col="3" text="bind:bfgnrnsum" />
  90. <Cell col="4" text="bind:bfdayavg" />
  91. <Cell col="5" text="bind:bfunitcnt" />
  92. <Cell col="6" text="bind:fstord" />
  93. <Cell col="7" text="bind:reord" />
  94. <Cell col="8" text="bind:gnrnsum" />
  95. <Cell col="9" text="bind:dayavg" />
  96. <Cell col="10" text="bind:unitcnt" />
  97. <Cell col="11" text="bind:calfstord" />
  98. <Cell col="12" text="bind:calreord" />
  99. <Cell col="13" text="bind:calgnrnsum" />
  100. <Cell col="14" text="bind:caldayavg" />
  101. <Cell col="15" text="bind:calunitcnt" />
  102. </Band>
  103. </Format>
  104. </Formats>
  105. </Grid>
  106. <Button id="button4" class="btn2_letter2" position="absolute 1038 3 1080 22" style="" text="출력" onclick="group6_swt_outpatient_case_otpt_button4_onclick" />
  107. </Layout>
  108. </Layouts>
  109. </Tabpage>
  110. </Tabpages>
  111. </Tab>
  112. </Layout>
  113. </Layouts>
  114. </Div>
  115. <Div id="group5" position="absolute 0 15 1180 65" style="align: top;">
  116. <Layouts>
  117. <Layout>
  118. <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 1160 47" style="" />
  119. <Button id="button1" class="btn1_letter2" taborder="6" position="absolute 1089 10 1145 32" style="" text="조회" onclick="group5_button1_onclick" />
  120. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1085 7 1088 40" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
  121. <Calendar id="ipt_fromdd" class="input_s_essential" taborder="2" position="absolute 305 14 400 33" style="" anchor="default" />
  122. <Static id="caption9" class="search_name" position="absolute 215 14 340 31" style="" text="조회기간 :" />
  123. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="statistic_gooboon" taborder="1" position="absolute 107 14 205 34" style="" onitemchanged="group5_statistic_gooboon_onitemchanged">
  124. <Dataset id="innerdataset">
  125. <ColumnInfo>
  126. <Column id="codecolumn" />
  127. <Column id="datacolumn" />
  128. </ColumnInfo>
  129. <Rows>
  130. <Row>
  131. <Col id="codecolumn">1</Col>
  132. <Col id="datacolumn">외래</Col>
  133. </Row>
  134. <Row>
  135. <Col id="codecolumn">2</Col>
  136. <Col id="datacolumn">입원</Col>
  137. </Row>
  138. </Rows>
  139. </Dataset>
  140. </Radio>
  141. <Static id="radio_goobun" class="search_name" position="absolute 17 14 110 31" style="" text="진료 구분 :" />
  142. <Static id="caption1" position="absolute 402 15 417 30" style="" text="~" />
  143. <Calendar id="ipt_todd" class="input_s_essential" taborder="3" position="absolute 415 14 510 33" style="" anchor="default" />
  144. <Static id="caption2" position="absolute 787 15 802 30" style="" text="~" />
  145. <Calendar id="input1" class="input_s_essential" taborder="5" position="absolute 800 14 895 33" style="" anchor="default" />
  146. <Static id="caption3" class="search_name" position="absolute 575 14 687 31" style="" text="비교대상기간 :" />
  147. <Calendar id="input2" class="input_s_essential" taborder="4" position="absolute 690 14 785 33" style="" anchor="default" />
  148. </Layout>
  149. </Layouts>
  150. </Div>
  151. </Layout>
  152. </Layouts>
  153. <Objects>
  154. <Dataset id="ds_init_comncdlist_P0010list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  155. <ColumnInfo />
  156. </Dataset>
  157. <Dataset id="ds_init_comncdlist_P0344list_P0344" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  158. <ColumnInfo>
  159. <Column id="cdnm" type="STRING" size="256" />
  160. <Column id="cdid" type="STRING" size="256" />
  161. </ColumnInfo>
  162. <Rows>
  163. <Row>
  164. <Col id="cdnm"></Col>
  165. <Col id="cdid"></Col>
  166. </Row>
  167. </Rows>
  168. </Dataset>
  169. <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  170. <ColumnInfo />
  171. </Dataset>
  172. <Dataset id="ds_init_comncdlist_P0341list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  173. <ColumnInfo />
  174. </Dataset>
  175. <Dataset id="ds_init_comncdlist_P0344list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  176. <ColumnInfo />
  177. </Dataset>
  178. <Dataset id="ds_init_comncdlist_P0021list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  179. <ColumnInfo />
  180. </Dataset>
  181. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  182. <ColumnInfo>
  183. <Column id="fromdd" type="STRING" size="256" />
  184. <Column id="todd" type="STRING" size="256" />
  185. <Column id="statisticgooboon" type="STRING" size="256" />
  186. <Column id="fromdata" type="STRING" size="256" />
  187. <Column id="todata" type="STRING" size="256" />
  188. </ColumnInfo>
  189. <Rows>
  190. <Row>
  191. <Col id="fromdd"></Col>
  192. <Col id="todd"></Col>
  193. <Col id="statisticgooboon"></Col>
  194. <Col id="fromdata"></Col>
  195. <Col id="todata"></Col>
  196. </Row>
  197. </Rows>
  198. </Dataset>
  199. <Dataset id="ds_init_comncdlist_P0029list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  200. <ColumnInfo />
  201. </Dataset>
  202. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  203. <ColumnInfo>
  204. <Column id="result" type="STRING" size="256" />
  205. <Column id="popupendflag" type="STRING" size="256" />
  206. </ColumnInfo>
  207. </Dataset>
  208. <Dataset id="ds_init_comncdlist_P0029list_P0029" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  209. <ColumnInfo>
  210. <Column id="cdnm" type="STRING" size="256" />
  211. <Column id="cdid" type="STRING" size="256" />
  212. </ColumnInfo>
  213. <Rows>
  214. <Row>
  215. <Col id="cdnm"></Col>
  216. <Col id="cdid"></Col>
  217. </Row>
  218. </Rows>
  219. </Dataset>
  220. <Dataset id="ds_init_comncdlist_P0022list_P0022" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  221. <ColumnInfo>
  222. <Column id="cdnm" type="STRING" size="256" />
  223. <Column id="cdid" type="STRING" size="256" />
  224. </ColumnInfo>
  225. <Rows>
  226. <Row>
  227. <Col id="cdnm"></Col>
  228. <Col id="cdid"></Col>
  229. </Row>
  230. </Rows>
  231. </Dataset>
  232. <Dataset id="ds_init_comncdlist_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  233. <ColumnInfo />
  234. </Dataset>
  235. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  236. <ColumnInfo>
  237. <Column id="hidden" type="STRING" size="256" />
  238. </ColumnInfo>
  239. <Rows>
  240. <Row>
  241. <Col id="hidden"></Col>
  242. </Row>
  243. </Rows>
  244. </Dataset>
  245. <Dataset id="ds_init_orddeptcd_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  246. <ColumnInfo>
  247. <Column id="nm" type="STRING" size="256" />
  248. <Column id="cd" type="STRING" size="256" />
  249. </ColumnInfo>
  250. <Rows>
  251. <Row>
  252. <Col id="nm"></Col>
  253. <Col id="cd"></Col>
  254. </Row>
  255. </Rows>
  256. </Dataset>
  257. <Dataset id="ds_init_comncdlist_P0020list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  258. <ColumnInfo />
  259. </Dataset>
  260. <Dataset id="ds_init_comncdlist_P0010list_P0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  261. <ColumnInfo>
  262. <Column id="cdnm" type="STRING" size="256" />
  263. <Column id="cdid" type="STRING" size="256" />
  264. </ColumnInfo>
  265. <Rows>
  266. <Row>
  267. <Col id="cdnm"></Col>
  268. <Col id="cdid"></Col>
  269. </Row>
  270. </Rows>
  271. </Dataset>
  272. <Dataset id="ds_init_comncdlist_P0341list_P0341" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  273. <ColumnInfo>
  274. <Column id="cdnm" type="STRING" size="256" />
  275. <Column id="cdid" type="STRING" size="256" />
  276. </ColumnInfo>
  277. <Rows>
  278. <Row>
  279. <Col id="cdnm"></Col>
  280. <Col id="cdid"></Col>
  281. </Row>
  282. </Rows>
  283. </Dataset>
  284. <Dataset id="ds_init_comncdlist_P0008list_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  285. <ColumnInfo>
  286. <Column id="cdnm" type="STRING" size="256" />
  287. <Column id="cdid" type="STRING" size="256" />
  288. <Column id="cdnm" type="STRING" size="256" />
  289. <Column id="cdid" type="STRING" size="256" />
  290. </ColumnInfo>
  291. <Rows>
  292. <Row>
  293. <Col id="cdnm"></Col>
  294. <Col id="cdid"></Col>
  295. </Row>
  296. <Row>
  297. <Col id="cdnm"></Col>
  298. <Col id="cdid"></Col>
  299. </Row>
  300. </Rows>
  301. </Dataset>
  302. <Dataset id="ds_init_comncdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  303. <ColumnInfo />
  304. </Dataset>
  305. <Dataset id="ds_main_inptordstatistic" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  306. <ColumnInfo>
  307. <Column id="inptordstatisticlist" type="STRING" size="256" />
  308. </ColumnInfo>
  309. <Rows>
  310. <Row>
  311. <Col id="inptordstatisticlist"></Col>
  312. </Row>
  313. </Rows>
  314. </Dataset>
  315. <Dataset id="ds_init_orddrid_orddridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  316. <ColumnInfo>
  317. <Column id="cd" type="STRING" size="256" />
  318. <Column id="nm" type="STRING" size="256" />
  319. <Column id="dp" type="STRING" size="256" />
  320. <Column id="sp" type="STRING" size="256" />
  321. </ColumnInfo>
  322. <Rows>
  323. <Row>
  324. <Col id="cd"></Col>
  325. <Col id="nm"></Col>
  326. <Col id="dp"></Col>
  327. <Col id="sp"></Col>
  328. </Row>
  329. </Rows>
  330. </Dataset>
  331. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  332. <ColumnInfo>
  333. <Column id="srchcond" type="STRING" size="256" />
  334. <Column id="pid" type="STRING" size="256" />
  335. <Column id="hngnm" type="STRING" size="256" />
  336. <Column id="rrgstno1" type="STRING" size="256" />
  337. <Column id="rrgstno2" type="STRING" size="256" />
  338. <Column id="acptdd" type="STRING" size="256" />
  339. </ColumnInfo>
  340. </Dataset>
  341. <Dataset id="ds_main_otptordstatistic" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  342. <ColumnInfo>
  343. <Column id="otptordstatisticlist" type="STRING" size="256" />
  344. </ColumnInfo>
  345. <Rows>
  346. <Row>
  347. <Col id="otptordstatisticlist"></Col>
  348. </Row>
  349. </Rows>
  350. </Dataset>
  351. <Dataset id="ds_init_comncdlist_P0020list_P0020" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  352. <ColumnInfo>
  353. <Column id="cdnm" type="STRING" size="256" />
  354. <Column id="cdid" type="STRING" size="256" />
  355. </ColumnInfo>
  356. <Rows>
  357. <Row>
  358. <Col id="cdnm"></Col>
  359. <Col id="cdid"></Col>
  360. </Row>
  361. </Rows>
  362. </Dataset>
  363. <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  364. <ColumnInfo />
  365. </Dataset>
  366. <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  367. <ColumnInfo>
  368. <Column id="patinfolist" type="STRING" size="256" />
  369. </ColumnInfo>
  370. <Rows>
  371. <Row>
  372. <Col id="patinfolist"></Col>
  373. </Row>
  374. </Rows>
  375. </Dataset>
  376. <Dataset id="ds_init_comncdlist_P0021list_P0021" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  377. <ColumnInfo>
  378. <Column id="cdnm" type="STRING" size="256" />
  379. <Column id="cdid" type="STRING" size="256" />
  380. </ColumnInfo>
  381. <Rows>
  382. <Row>
  383. <Col id="cdnm"></Col>
  384. <Col id="cdid"></Col>
  385. </Row>
  386. </Rows>
  387. </Dataset>
  388. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  389. <ColumnInfo />
  390. </Dataset>
  391. <Dataset id="ds_init_comncdlist_P0022list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  392. <ColumnInfo />
  393. </Dataset>
  394. </Objects>
  395. <Bind>
  396. <BindItem id="item0" compid="group5.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd" />
  397. <BindItem id="item1" compid="group5.statistic_gooboon" propid="value" datasetid="ds_send" columnid="statisticgooboon" />
  398. <BindItem id="item2" compid="group5.ipt_todd" propid="value" datasetid="ds_send" columnid="todd" />
  399. <BindItem id="item3" compid="group5.input1" propid="value" datasetid="ds_send" columnid="todata" />
  400. <BindItem id="item4" compid="group5.input2" propid="value" datasetid="ds_send" columnid="fromdata" />
  401. </Bind>
  402. <Script type="xscript4.0"><![CDATA[function SMPMS01130_onload(obj:Form, e:LoadEventInfo) {
  403. frmf_initForm(obj);
  404. //grdf_initGrid(grd_XXX);
  405. //grdf_setGridSort(grd_XXX);
  406. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  407. var arrParam = [ {dsNm: "ds_init_comncdlist_P0008list","ds_init_comncdlist_P0021list","ds_init_comncdlist_P0341list","ds_init_comncdlist_P0022list","ds_init_comncdlist_P0020list"
  408. ,"ds_init_comncdlist_P0029list","ds_init_comncdlist_P0344list", "ds_init_comncdlist_P0010list",
  409. cdGrpId: "P0008","P0021","P0341","P0022","P0020","P0029","P0344", "P0010" } ];
  410. appf_getCodeList(arrParam, );
  411. //진료과코드 진료의사ID 조회
  412. pamGetDeptCDDrIDList();
  413. //초기화 및 날자 입력 항목에 오늘 날자 세팅
  414. fInitialize();
  415. }
  416. include '../../.._com_commonweb_js_common.js'
  417. include '../../.._com_commonweb_js_tfHelper.js'
  418. include '../../.._com_commonweb_js_utilHelper.js'
  419. include '../../.._com_commonweb_js_dateHelper.js'
  420. include '../../.._com_basiccodeweb_js_ZBC001.js'
  421. include '../../.._pam_pamcomnweb_js_PAM.js'
  422. function fInitialize() {
  423. //날자 입력 항목에 오늘 날자 세팅
  424. var curDate = utlf_getCurrentDate();
  425. curDate = curDate.toDate().getAddDate(-1,"D");
  426. var nextDate = curDate.getFullYear();
  427. nextDate = nextDate.toString() + (( curDate.getMonth() + 1 > 9 ) ? curDate.getMonth() + 1 : "0" + (curDate.getMonth() + 1));
  428. nextDate = nextDate.toString() + (( curDate.getDate() > 9 ) ? curDate.getDate() : "0" + curDate.getDate()) ;
  429. ds_send.setColumn( 0, "todd", nextDate);
  430. var prviousDate = utlf_getCurrentDate();
  431. prviousDate = prviousDate.toDate().getAddDate(-7,"D");
  432. var previousDay = prviousDate.getFullYear();
  433. previousDay = previousDay.toString() + (( prviousDate.getMonth() + 1 > 9 ) ? prviousDate.getMonth() + 1 : "0" + (prviousDate.getMonth() + 1));
  434. previousDay = previousDay.toString() + (( prviousDate.getDate() > 9 ) ? prviousDate.getDate() : "0" + prviousDate.getDate()) ;
  435. ds_send.setColumn( 0, "fromdd", previousDay);
  436. // 비교 대상 기간의 from 과 to의 날자를 세팅한다..
  437. ds_send.setColumn( 0, "todata", previousDay);
  438. var tmpDate = utlf_getCurrentDate();
  439. tmpDate = tmpDate.toDate().getAddDate(-14,"D");
  440. var tmpToDate = tmpDate.getFullYear();
  441. tmpToDate = tmpToDate.toString() + (( tmpDate.getMonth() + 1 > 9 ) ? tmpDate.getMonth() + 1 : "0" + (tmpDate.getMonth() + 1));
  442. tmpToDate = tmpToDate.toString() + (( tmpDate.getDate() > 9 ) ? tmpDate.getDate() : "0" + tmpDate.getDate()) ;
  443. ds_send.setColumn( 0, "fromdata", tmpToDate);
  444. group5.statistic_gooboon.select(0);
  445. model.toggle("group6.swt_outpatient.case_otpt");
  446. //model.refresh();
  447. }
  448. function fSearch(){
  449. if( ds_main.getColumn(0, "popupendflag") == "ok" ){
  450. //인적사항에 변경이 있는지를 비교하기 위해서 tmp에 인적사항을 미리 저장해 놓는다.
  451. dsf_makeValue( ds_hidden, "tmpnode", "string", "" );
  452. ds_hidden_tmpnode.copyData(ds_main_patinfo);
  453. //보험_감면_진료기록_신생하*산모내역 조회
  454. ds_send.setColumn( 0, "pid", ds_main_patinfo_patinfolist.getColumn(0, "pid"));
  455. // submit("TRPMC01401");
  456. var oParam = {};
  457. oParam.id = "TRPMC01401";
  458. oParam.service = "patinfomngtapp.PatBaseInfo";
  459. oParam.method = "reqGetPatBaseInfo";
  460. oParam.inds = "req=ds_";
  461. oParam.outds = "ds_=patinsuinfolist ds_=patdiscinfolist ds_=patordrecinfolist ds_=nbabyinfolist";
  462. oParam.async = false;
  463. oParam.callback = "cf_TRPMC01401";
  464. tranf_submit(oParam);
  465. /*
  466. function cf_TRPMC01401(sSvcId, nErrorCode, sErrorMsg) {
  467. if(nErrorCode < 0) return;
  468. }
  469. function cf_TRPMC01401(sSvcId, nErrorCode, sErrorMsg) {
  470. arErrorCode.push(sSvcId, nErrorCode);
  471. }
  472. arErrorCode.pop("TRPMC01401") > -1
  473. arErrorCode.pop("TRPMC01401") < 0
  474. */
  475. //dsf_makeValue( ds_main, "popupendflag", "string", "" );
  476. }
  477. }
  478. function searchdepart(){
  479. for(var i=1; i<grd_reservationstatistic.rows ; i++){
  480. var tmpdepart = grd_reservationstatistic.valueMatrix(i , 1) ;
  481. var index =0;
  482. while(tmpdepart != (ds_init_orddeptcd_orddeptcdlist.getColumn(index, "cd")) ) ){
  483. index++;
  484. if(index > 300) break;
  485. }
  486. if(ds_init_orddeptcd_orddeptcdlist.getColumn(index, "nm")) ==""){
  487. sysf_messageBox("부서명과 " +ds_main_reservationstatistic_reservationstatisticlist.getColumn(i, "orddeptcd") +"이", "E004")
  488. }else if(ds_init_orddeptcd_orddeptcdlist.getColumn(index, "nm")) !="") {
  489. ds_main_reservationstatistic.setColumn( i , "orddeptcd",
  490. ds_init_orddeptcd_orddeptcdlist.getColumn(index, "nm")) );
  491. }
  492. }
  493. }
  494. function group4_btn_clear_onclick(obj:Button, e:ClickEventInfo) {
  495. fInitialize();
  496. }
  497. function group6_swt_outpatient_case_otpt_btn_cnclexcel_onclick(obj:Button, e:ClickEventInfo) {
  498. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  499. if (fileName != "")
  500. {
  501. group6.swt_outpatient.case_otpt.grd_change.saveExcel(fileName, "SheetName", true, true, "", "");
  502. }
  503. window.exec(fileName);
  504. }
  505. function group6_swt_outpatient_case_otpt_button4_onclick(obj:Button, e:ClickEventInfo) {
  506. var objDOM = rptf_createDOM();
  507. var objParam = new Object();
  508. rptf_setNodeListToDOM(objDOM, "/root/XXX" , ds_XXX);
  509. objParam.xml_data_XML1 = objDOM.documentElement.source;
  510. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  511. rptf_exeReportPreview30(["RPPAS02231"],[objParam], option);
  512. }
  513. function group5_button1_onclick(obj:Button, e:ClickEventInfo) {
  514. if (group5.statistic_gooboon.value == 1 ) {
  515. //group5.statistic_gooboon.select(0);
  516. model.toggle("group6.swt_outpatient.case_otpt");
  517. // submit("TRPMS01131");
  518. var oParam = {};
  519. oParam.id = "TRPMS01131";
  520. oParam.service = "planteamstatsapp.PlanTeamPatStats";
  521. oParam.method = "reqGetOtptPatStats";
  522. oParam.inds = "req=ds_";
  523. oParam.outds = "ds_=otptordstatisticlist";
  524. oParam.async = false;
  525. oParam.callback = "cf_TRPMS01131";
  526. tranf_submit(oParam);
  527. /*
  528. function cf_TRPMS01131(sSvcId, nErrorCode, sErrorMsg) {
  529. if(nErrorCode < 0) return;
  530. }
  531. function cf_TRPMS01131(sSvcId, nErrorCode, sErrorMsg) {
  532. arErrorCode.push(sSvcId, nErrorCode);
  533. }
  534. arErrorCode.pop("TRPMS01131") > -1
  535. arErrorCode.pop("TRPMS01131") < 0
  536. */
  537. }
  538. //model.refresh();
  539. }
  540. function group5_statistic_gooboon_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
  541. //group5.button1.dispatch("DOMActivate");
  542. ds_send.setColumn( 0, "statisticgooboon", group5.statistic_gooboon.value );
  543. switch(ds_send.getColumn(0, "statisticgooboon")){
  544. case 1 : model.toggle("group6.swt_outpatient.case_otpt");
  545. case 2 : model.totggle("case_ inpt");
  546. }
  547. }
  548. ]]></Script>
  549. </Form>
  550. </FDL>