SMMNE02100_과별 환자 현황.xfdl 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNE02100" position="absolute 0 0 1195 743" titletext="과별 환자 현황" oninit="SMMNE02100_oninit" onload="SMMNE02100_onload" ontimer="SMMNE02100_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1195 743" id="grp_biz" scrollbars="autoboth" taborder="0" anchor="all">
  8. <Layouts>
  9. <Layout width="1195" height="744">
  10. <Static text="응급센터 환자현황(과별)(일별)" position="absolute 0 51 215 68" align="align:center middle;" id="caption1" class="tit_2" anchor="default"/>
  11. <Div position="absolute 0 11 1195 46" align="align:center top;" id="group2" class="div_SA" anchor="left top right">
  12. <Layouts>
  13. <Layout>
  14. <Static text="검색일자 :" position="absolute 15 10 106 30" id="caption2" class="search_name" anchor="default"/>
  15. <Calendar position="absolute 94 9 194 29" id="fromdd" class="input_s_essential" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" taborder="0" anchor="default"/>
  16. <Static text="~" position="absolute 196 11 211 31" id="caption5" class="search_no_b" anchor="default"/>
  17. <Calendar position="absolute 210 9 310 29" id="todd" class="input_s_essential" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" taborder="1" anchor="default"/>
  18. <Radio position="absolute 330 9 430 29" id="kindflag" class="radio_search" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_biz_group2_kindflag_onitemchanged" index="0" value="1" taborder="2" anchor="default">
  19. <Dataset id="innerdataset">
  20. <ColumnInfo>
  21. <Column id="codecolumn"/>
  22. <Column id="datacolumn"/>
  23. </ColumnInfo>
  24. <Rows>
  25. <Row>
  26. <Col id="codecolumn">1</Col>
  27. <Col id="datacolumn">일별</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">2</Col>
  31. <Col id="datacolumn">월별</Col>
  32. </Row>
  33. </Rows>
  34. </Dataset>
  35. </Radio>
  36. <Button position="absolute 1013 8 1069 28" id="button1" class="btn1" text="조회" onclick="grp_biz_group2_button1_onclick" taborder="3" anchor="top right"/>
  37. <Button position="absolute 1071 8 1127 28" id="button7" class="btn7" text="엑셀" onclick="grp_biz_group2_button7_onclick" taborder="4" anchor="top right"/>
  38. <Button position="absolute 1129 8 1183 28" id="button8" class="btn2" text="초기화" onclick="grp_biz_group2_button8_onclick" taborder="5" anchor="top right"/>
  39. <Shape position="absolute 992 7 998 29" linetype="vertical" id="line5" class="line_4" anchor="top right"/>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Static text="과별 통계" position="absolute 0 634 89 650" align="align:center middle;" id="caption45" class="tit_2" anchor="default"/>
  44. <Shape position="absolute 0 651 1195 657" linetype="horizontal" id="line7" class="line_10" anchor="left right bottom"/>
  45. <Grid position="absolute 0 657 1195 730" id="datagrid1" class="datagrid2" binddataset="ds_grd_sum" anchor="left right bottom">
  46. <Formats>
  47. <Format id="default">
  48. <Columns>
  49. <Column size="90"/>
  50. <Column size="40"/>
  51. <Column size="40"/>
  52. <Column size="40"/>
  53. <Column size="40"/>
  54. <Column size="40"/>
  55. <Column size="40"/>
  56. <Column size="40"/>
  57. <Column size="40"/>
  58. <Column size="40"/>
  59. <Column size="40"/>
  60. <Column size="40"/>
  61. <Column size="40"/>
  62. <Column size="40"/>
  63. <Column size="40"/>
  64. <Column size="40"/>
  65. <Column size="40"/>
  66. <Column size="40"/>
  67. <Column size="40"/>
  68. <Column size="40"/>
  69. <Column size="40"/>
  70. <Column size="40"/>
  71. <Column size="40"/>
  72. <Column size="40"/>
  73. <Column size="40"/>
  74. <Column size="40"/>
  75. <Column size="40"/>
  76. <Column size="40"/>
  77. <Column size="40"/>
  78. <Column size="40"/>
  79. <Column size="40"/>
  80. <Column size="61"/>
  81. <Column size="40"/>
  82. <Column size="40"/>
  83. <Column size="40"/>
  84. <Column size="40"/>
  85. <Column size="40"/>
  86. <Column size="40"/>
  87. <Column size="40"/>
  88. </Columns>
  89. <Rows>
  90. <Row size="24" band="head"/>
  91. <Row size="24"/>
  92. </Rows>
  93. <Band id="head">
  94. <Cell text="Total"/>
  95. <Cell col="1" text="MD"/>
  96. <Cell col="2" text="MH"/>
  97. <Cell col="3" text="MG"/>
  98. <Cell col="4" text="MI"/>
  99. <Cell col="5" text="ME"/>
  100. <Cell col="6" text="MC"/>
  101. <Cell col="7" text="MP"/>
  102. <Cell col="8" text="MN"/>
  103. <Cell col="9" text="MR"/>
  104. <Cell col="10" text="MO"/>
  105. <Cell col="11" text="NU"/>
  106. <Cell col="12" text="NP"/>
  107. <Cell col="13" text="GS"/>
  108. <Cell col="14" text="OS"/>
  109. <Cell col="15" text="NS"/>
  110. <Cell col="16" text="CS"/>
  111. <Cell col="17" text="PS"/>
  112. <Cell col="18" text="OBGY"/>
  113. <Cell col="19" text="OD"/>
  114. <Cell col="20" text="PD"/>
  115. <Cell col="21" text="EY"/>
  116. <Cell col="22" text="ET"/>
  117. <Cell col="23" text="DR"/>
  118. <Cell col="24" text="UR"/>
  119. <Cell col="25" text="DT"/>
  120. <Cell col="26" text="ETC"/>
  121. <Cell col="27" text="ED"/>
  122. <Cell col="28" text="RM"/>
  123. <Cell col="29" text="FM"/>
  124. <Cell col="30" text="HC"/>
  125. <Cell col="31" text="계"/>
  126. <Cell col="32" text="입원수"/>
  127. <Cell col="33" text="ICU"/>
  128. <Cell col="34" text="사망"/>
  129. <Cell col="35" text="DOA"/>
  130. <Cell col="36" text="수술입원수"/>
  131. <Cell col="37" text="CPR"/>
  132. <Cell col="38" text="외래처치건수"/>
  133. </Band>
  134. <Band id="body">
  135. <Cell text="bind:srctm"/>
  136. <Cell col="1" text="bind:deptmdcnt"/>
  137. <Cell col="2" text="bind:deptmhcnt"/>
  138. <Cell col="3" text="bind:deptmgcnt"/>
  139. <Cell col="4" text="bind:deptmicnt"/>
  140. <Cell col="5" text="bind:deptmecnt"/>
  141. <Cell col="6" text="bind:deptmccnt"/>
  142. <Cell col="7" text="bind:deptmpcnt"/>
  143. <Cell col="8" text="bind:deptmncnt"/>
  144. <Cell col="9" text="bind:deptmrcnt"/>
  145. <Cell col="10" text="bind:deptmocnt"/>
  146. <Cell col="11" text="bind:deptnucnt"/>
  147. <Cell col="12" text="bind:deptnpcnt"/>
  148. <Cell col="13" text="bind:deptgscnt"/>
  149. <Cell col="14" text="bind:deptoscnt"/>
  150. <Cell col="15" text="bind:deptnscnt"/>
  151. <Cell col="16" text="bind:deptcscnt"/>
  152. <Cell col="17" text="bind:deptpscnt"/>
  153. <Cell col="18" text="bind:deptobgycnt"/>
  154. <Cell col="19" text="bind:deptodcnt"/>
  155. <Cell col="20" text="bind:deptpdcnt"/>
  156. <Cell col="21" text="bind:depteycnt"/>
  157. <Cell col="22" text="bind:deptetcnt"/>
  158. <Cell col="23" text="bind:deptdrcnt"/>
  159. <Cell col="24" text="bind:depturcnt"/>
  160. <Cell col="25" text="bind:deptdtcnt"/>
  161. <Cell col="26" text="bind:deptetccnt"/>
  162. <Cell col="27" text="bind:deptedcnt"/>
  163. <Cell col="28" text="bind:deptrmcnt"/>
  164. <Cell col="29" text="bind:deptfmcnt"/>
  165. <Cell col="30" text="bind:depthccnt"/>
  166. <Cell col="31" text="bind:pattotal"/>
  167. <Cell col="32" text="bind:inpatcnt"/>
  168. <Cell col="33" text="bind:icupatcnt"/>
  169. <Cell col="34" text="bind:diepatcnt"/>
  170. <Cell col="35" text="bind:doapatcnt"/>
  171. <Cell col="36" text="bind:opinpatcnt"/>
  172. <Cell col="37" text="bind:cprpatcnt"/>
  173. <Cell col="38" text="bind:outcurecnt"/>
  174. </Band>
  175. </Format>
  176. </Formats>
  177. </Grid>
  178. <Grid position="absolute 0 73 1194 629" id="grd_monthlist" class="datagrid2" visible="false" binddataset="ds_grd_monthlist" oncelldblclick="grp_biz_grd_monthlist_oncelldblclick" anchor="all">
  179. <Formats>
  180. <Format id="default">
  181. <Columns>
  182. <Column size="25"/>
  183. <Column size="70"/>
  184. <Column size="40"/>
  185. <Column size="40"/>
  186. <Column size="40"/>
  187. <Column size="40"/>
  188. <Column size="40"/>
  189. <Column size="40"/>
  190. <Column size="41"/>
  191. <Column size="40"/>
  192. <Column size="40"/>
  193. <Column size="40"/>
  194. <Column size="40"/>
  195. <Column size="40"/>
  196. <Column size="40"/>
  197. <Column size="40"/>
  198. <Column size="40"/>
  199. <Column size="40"/>
  200. <Column size="40"/>
  201. <Column size="40"/>
  202. <Column size="40"/>
  203. <Column size="40"/>
  204. <Column size="40"/>
  205. <Column size="40"/>
  206. <Column size="40"/>
  207. <Column size="40"/>
  208. <Column size="40"/>
  209. <Column size="40"/>
  210. <Column size="40"/>
  211. <Column size="40"/>
  212. <Column size="40"/>
  213. <Column size="40"/>
  214. <Column size="61"/>
  215. <Column size="50"/>
  216. <Column size="40"/>
  217. <Column size="40"/>
  218. <Column size="40"/>
  219. <Column size="70"/>
  220. <Column size="40"/>
  221. <Column size="80"/>
  222. </Columns>
  223. <Rows>
  224. <Row size="24" band="head"/>
  225. <Row size="24"/>
  226. </Rows>
  227. <Band id="head">
  228. <Cell/>
  229. <Cell col="1" text="월"/>
  230. <Cell col="2" text="MD"/>
  231. <Cell col="3" text="MH"/>
  232. <Cell col="4" text="MG"/>
  233. <Cell col="5" text="MI"/>
  234. <Cell col="6" text="ME"/>
  235. <Cell col="7" text="MC"/>
  236. <Cell col="8" text="MP"/>
  237. <Cell col="9" text="MN"/>
  238. <Cell col="10" text="MR"/>
  239. <Cell col="11" text="MO"/>
  240. <Cell col="12" text="NU"/>
  241. <Cell col="13" text="NP"/>
  242. <Cell col="14" text="GS"/>
  243. <Cell col="15" text="OS"/>
  244. <Cell col="16" text="NS"/>
  245. <Cell col="17" text="CS"/>
  246. <Cell col="18" text="PS"/>
  247. <Cell col="19" text="OBGY"/>
  248. <Cell col="20" text="OD"/>
  249. <Cell col="21" text="PD"/>
  250. <Cell col="22" text="EY"/>
  251. <Cell col="23" text="ET"/>
  252. <Cell col="24" text="DR"/>
  253. <Cell col="25" text="UR"/>
  254. <Cell col="26" text="DT"/>
  255. <Cell col="27" text="ETC"/>
  256. <Cell col="28" text="ED"/>
  257. <Cell col="29" text="RM"/>
  258. <Cell col="30" text="FM"/>
  259. <Cell col="31" text="HC"/>
  260. <Cell col="32" text="계"/>
  261. <Cell col="33" text="입원수"/>
  262. <Cell col="34" text="ICU"/>
  263. <Cell col="35" text="사망"/>
  264. <Cell col="36" text="DOA"/>
  265. <Cell col="37" text="수술입원수"/>
  266. <Cell col="38" text="CPR"/>
  267. <Cell col="39" text="외래처치건수"/>
  268. </Band>
  269. <Band id="body">
  270. <Cell celltype="head" text="expr:currow + 1"/>
  271. <Cell col="1" displaytype="date" text="bind:srctm" mask="yyyy-MM"/>
  272. <Cell col="2" text="bind:deptmdcnt"/>
  273. <Cell col="3" text="bind:deptmhcnt"/>
  274. <Cell col="4" text="bind:deptmgcnt"/>
  275. <Cell col="5" text="bind:deptmicnt"/>
  276. <Cell col="6" text="bind:deptmecnt"/>
  277. <Cell col="7" text="bind:deptmccnt"/>
  278. <Cell col="8" text="bind:deptmpcnt"/>
  279. <Cell col="9" text="bind:deptmncnt"/>
  280. <Cell col="10" text="bind:deptmrcnt"/>
  281. <Cell col="11" text="bind:deptmocnt"/>
  282. <Cell col="12" text="bind:deptnucnt"/>
  283. <Cell col="13" text="bind:deptnpcnt"/>
  284. <Cell col="14" text="bind:deptgscnt"/>
  285. <Cell col="15" text="bind:deptoscnt"/>
  286. <Cell col="16" text="bind:deptnscnt"/>
  287. <Cell col="17" text="bind:deptcscnt"/>
  288. <Cell col="18" text="bind:deptpscnt"/>
  289. <Cell col="19" text="bind:deptobgycnt"/>
  290. <Cell col="20" text="bind:deptodcnt"/>
  291. <Cell col="21" text="bind:deptpdcnt"/>
  292. <Cell col="22" text="bind:depteycnt"/>
  293. <Cell col="23" text="bind:deptetcnt"/>
  294. <Cell col="24" text="bind:deptdrcnt"/>
  295. <Cell col="25" text="bind:depturcnt"/>
  296. <Cell col="26" text="bind:deptdtcnt"/>
  297. <Cell col="27" text="bind:deptetccnt"/>
  298. <Cell col="28" text="bind:deptedcnt"/>
  299. <Cell col="29" text="bind:deptrmcnt"/>
  300. <Cell col="30" text="bind:deptfmcnt"/>
  301. <Cell col="31" text="bind:depthccnt"/>
  302. <Cell col="32" text="bind:pattotal"/>
  303. <Cell col="33" text="bind:inpatcnt"/>
  304. <Cell col="34" text="bind:icupatcnt"/>
  305. <Cell col="35" text="bind:diepatcnt"/>
  306. <Cell col="36" text="bind:doapatcnt"/>
  307. <Cell col="37" text="bind:opinpatcnt"/>
  308. <Cell col="38" text="bind:cprpatcnt"/>
  309. <Cell col="39" text="bind:outcurecnt"/>
  310. </Band>
  311. </Format>
  312. </Formats>
  313. </Grid>
  314. <Static text="응급센터 환자현황(과별)(월별)" position="absolute 0 51 215 67" align="align:center middle;" id="caption3" class="tit_2" visible="false" anchor="default"/>
  315. <Grid position="absolute 0 73 1195 629" id="grd_daylist" class="datagrid2" binddataset="ds_grd_daylist" oncelldblclick="grp_biz_grd_daylist_oncelldblclick" anchor="all">
  316. <Formats>
  317. <Format id="default">
  318. <Columns>
  319. <Column size="25"/>
  320. <Column size="70"/>
  321. <Column size="40"/>
  322. <Column size="40"/>
  323. <Column size="40"/>
  324. <Column size="40"/>
  325. <Column size="40"/>
  326. <Column size="40"/>
  327. <Column size="40"/>
  328. <Column size="40"/>
  329. <Column size="40"/>
  330. <Column size="40"/>
  331. <Column size="40"/>
  332. <Column size="40"/>
  333. <Column size="40"/>
  334. <Column size="40"/>
  335. <Column size="40"/>
  336. <Column size="40"/>
  337. <Column size="40"/>
  338. <Column size="40"/>
  339. <Column size="40"/>
  340. <Column size="40"/>
  341. <Column size="40"/>
  342. <Column size="40"/>
  343. <Column size="40"/>
  344. <Column size="40"/>
  345. <Column size="40"/>
  346. <Column size="40"/>
  347. <Column size="40"/>
  348. <Column size="40"/>
  349. <Column size="40"/>
  350. <Column size="40"/>
  351. <Column size="61"/>
  352. <Column size="50"/>
  353. <Column size="40"/>
  354. <Column size="40"/>
  355. <Column size="40"/>
  356. <Column size="70"/>
  357. <Column size="40"/>
  358. <Column size="80"/>
  359. </Columns>
  360. <Rows>
  361. <Row size="24" band="head"/>
  362. <Row size="24"/>
  363. </Rows>
  364. <Band id="head">
  365. <Cell/>
  366. <Cell col="1" text="일"/>
  367. <Cell col="2" text="MD"/>
  368. <Cell col="3" text="MH"/>
  369. <Cell col="4" text="MG"/>
  370. <Cell col="5" text="MI"/>
  371. <Cell col="6" text="ME"/>
  372. <Cell col="7" text="MC"/>
  373. <Cell col="8" text="MP"/>
  374. <Cell col="9" text="MN"/>
  375. <Cell col="10" text="MR"/>
  376. <Cell col="11" text="MO"/>
  377. <Cell col="12" text="NU"/>
  378. <Cell col="13" text="NP"/>
  379. <Cell col="14" text="GS"/>
  380. <Cell col="15" text="OS"/>
  381. <Cell col="16" text="NS"/>
  382. <Cell col="17" text="CS"/>
  383. <Cell col="18" text="PS"/>
  384. <Cell col="19" text="OBGY"/>
  385. <Cell col="20" text="OD"/>
  386. <Cell col="21" text="PD"/>
  387. <Cell col="22" text="EY"/>
  388. <Cell col="23" text="ET"/>
  389. <Cell col="24" text="DR"/>
  390. <Cell col="25" text="UR"/>
  391. <Cell col="26" text="DT"/>
  392. <Cell col="27" text="ETC"/>
  393. <Cell col="28" text="ED"/>
  394. <Cell col="29" text="RM"/>
  395. <Cell col="30" text="FM"/>
  396. <Cell col="31" text="HC"/>
  397. <Cell col="32" text="계"/>
  398. <Cell col="33" text="입원수"/>
  399. <Cell col="34" text="ICU"/>
  400. <Cell col="35" text="사망"/>
  401. <Cell col="36" text="DOA"/>
  402. <Cell col="37" text="수술입원수"/>
  403. <Cell col="38" text="CPR"/>
  404. <Cell col="39" text="외래처치건수"/>
  405. </Band>
  406. <Band id="body">
  407. <Cell celltype="head" text="expr:currow + 1"/>
  408. <Cell col="1" displaytype="date" text="bind:srctm" mask="yyyy-MM-dd"/>
  409. <Cell col="2" text="bind:deptmdcnt"/>
  410. <Cell col="3" text="bind:deptmhcnt"/>
  411. <Cell col="4" text="bind:deptmgcnt"/>
  412. <Cell col="5" text="bind:deptmicnt"/>
  413. <Cell col="6" text="bind:deptmecnt"/>
  414. <Cell col="7" text="bind:deptmccnt"/>
  415. <Cell col="8" text="bind:deptmpcnt"/>
  416. <Cell col="9" text="bind:deptmncnt"/>
  417. <Cell col="10" text="bind:deptmrcnt"/>
  418. <Cell col="11" text="bind:deptmocnt"/>
  419. <Cell col="12" text="bind:deptnucnt"/>
  420. <Cell col="13" text="bind:deptnpcnt"/>
  421. <Cell col="14" text="bind:deptgscnt"/>
  422. <Cell col="15" text="bind:deptoscnt"/>
  423. <Cell col="16" text="bind:deptnscnt"/>
  424. <Cell col="17" text="bind:deptcscnt"/>
  425. <Cell col="18" text="bind:deptpscnt"/>
  426. <Cell col="19" text="bind:deptobgycnt"/>
  427. <Cell col="20" text="bind:deptodcnt"/>
  428. <Cell col="21" text="bind:deptpdcnt"/>
  429. <Cell col="22" text="bind:depteycnt"/>
  430. <Cell col="23" text="bind:deptetcnt"/>
  431. <Cell col="24" text="bind:deptdrcnt"/>
  432. <Cell col="25" text="bind:depturcnt"/>
  433. <Cell col="26" text="bind:deptdtcnt"/>
  434. <Cell col="27" text="bind:deptetccnt"/>
  435. <Cell col="28" text="bind:deptedcnt"/>
  436. <Cell col="29" text="bind:deptrmcnt"/>
  437. <Cell col="30" text="bind:deptfmcnt"/>
  438. <Cell col="31" text="bind:depthccnt"/>
  439. <Cell col="32" text="bind:pattotal"/>
  440. <Cell col="33" text="bind:inpatcnt"/>
  441. <Cell col="34" text="bind:icupatcnt"/>
  442. <Cell col="35" text="bind:diepatcnt"/>
  443. <Cell col="36" text="bind:doapatcnt"/>
  444. <Cell col="37" text="bind:opinpatcnt"/>
  445. <Cell col="38" text="bind:cprpatcnt"/>
  446. <Cell col="39" text="bind:outcurecnt"/>
  447. </Band>
  448. </Format>
  449. </Formats>
  450. </Grid>
  451. <Static text="사망은 D,O,A포함, 입원은 ICU 포함" position="absolute 230 52 510 69" align="align:center middle;" id="caption10" class="hand" anchor="default"/>
  452. <Static text="00:00 ~ 24:00 기준" position="absolute 495 52 735 69" align="align:center middle;" id="caption9" class="hand" anchor="default"/>
  453. <Shape id="line6" class="line_10" position="absolute 0 68 1195 74" anchor="left top right"/>
  454. </Layout>
  455. </Layouts>
  456. </Div>
  457. <Static id="caption6" text="과별 환자현황" class="tit_1" position="absolute 0 0 115 25"/>
  458. </Layout>
  459. </Layouts>
  460. <Objects>
  461. <Dataset id="ds_grd_monthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  462. <ColumnInfo>
  463. <Column id="srctm" type="STRING" size="256" sumtext="조회구분"/>
  464. <Column id="deptmdcnt" type="STRING" size="256" sumtext="내과방문환자수"/>
  465. <Column id="deptmhcnt" type="STRING" size="256" sumtext="혈액내과방문환자수"/>
  466. <Column id="deptmgcnt" type="STRING" size="256" sumtext="소화기내과방문환자수"/>
  467. <Column id="deptmicnt" type="STRING" size="256" sumtext="감염내과방문환자수"/>
  468. <Column id="deptmecnt" type="STRING" size="256" sumtext="내분비내과방문환자수"/>
  469. <Column id="deptmccnt" type="STRING" size="256" sumtext="순환기내과방문환자수"/>
  470. <Column id="deptmpcnt" type="STRING" size="256" sumtext="호흡기내과방문환자수"/>
  471. <Column id="deptmncnt" type="STRING" size="256" sumtext="신장내과방문환자수"/>
  472. <Column id="deptmrcnt" type="STRING" size="256" sumtext="류마티스내과방문환자수"/>
  473. <Column id="deptmocnt" type="STRING" size="256" sumtext="종양내과방문환자수"/>
  474. <Column id="deptnucnt" type="STRING" size="256" sumtext="신경과방문환자수"/>
  475. <Column id="deptnpcnt" type="STRING" size="256" sumtext="정신과방문환자수"/>
  476. <Column id="deptgscnt" type="STRING" size="256" sumtext="외과방문환자수"/>
  477. <Column id="deptoscnt" type="STRING" size="256" sumtext="정형외과방문환자수"/>
  478. <Column id="deptnscnt" type="STRING" size="256" sumtext="신경외과방문환자수"/>
  479. <Column id="deptcscnt" type="STRING" size="256" sumtext="흉부외과방문환자수"/>
  480. <Column id="deptpscnt" type="STRING" size="256" sumtext="성형외과방문환자수"/>
  481. <Column id="deptobgycnt" type="STRING" size="256" sumtext="산부인과방문환자수"/>
  482. <Column id="deptodcnt" type="STRING" size="256" sumtext="산업의학과방문환자수"/>
  483. <Column id="deptpdcnt" type="STRING" size="256" sumtext="소아과방문환자수"/>
  484. <Column id="depteycnt" type="STRING" size="256" sumtext="안과방문환자수"/>
  485. <Column id="deptetcnt" type="STRING" size="256" sumtext="이비인후과방문환자수"/>
  486. <Column id="deptdrcnt" type="STRING" size="256" sumtext="피부과방문환자수"/>
  487. <Column id="depturcnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
  488. <Column id="depthccnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
  489. <Column id="deptdtcnt" type="STRING" size="256" sumtext="치과방문환자수"/>
  490. <Column id="deptedcnt" type="STRING" size="256" sumtext="응급의학과방문환자수"/>
  491. <Column id="deptrmcnt" type="STRING" size="256" sumtext="재활의학과방문환자수"/>
  492. <Column id="deptfmcnt" type="STRING" size="256" sumtext="가정의학과방문환자수"/>
  493. <Column id="deptfmcnt" type="STRING" size="256" sumtext="호스피스과방문환자수"/>
  494. <Column id="deptetccnt" type="STRING" size="256" sumtext="기타학과방문환자수"/>
  495. <Column id="pattotal" type="STRING" size="256" sumtext="총환자수"/>
  496. <Column id="inpatcnt" type="STRING" size="256" sumtext="입원환자수"/>
  497. <Column id="icupatcnt" type="STRING" size="256" sumtext="중환자실입원환자수"/>
  498. <Column id="diepatcnt" type="STRING" size="256" sumtext="사망자수"/>
  499. <Column id="doapatcnt" type="STRING" size="256" sumtext="DAO환자수"/>
  500. <Column id="opinpatcnt" type="STRING" size="256" sumtext="수술입원환자수"/>
  501. <Column id="cprpatcnt" type="STRING" size="256" sumtext="CPR환자수"/>
  502. <Column id="outcurecnt" type="STRING" size="256" sumtext="외래처치환자수"/>
  503. </ColumnInfo>
  504. </Dataset>
  505. <Dataset id="ds_grd_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  506. <ColumnInfo>
  507. <Column id="srctm" type="STRING" size="256" sumtext="조회구분"/>
  508. <Column id="deptmdcnt" type="STRING" size="256" sumtext="내과방문환자수"/>
  509. <Column id="deptmhcnt" type="STRING" size="256" sumtext="혈액내과방문환자수"/>
  510. <Column id="deptmgcnt" type="STRING" size="256" sumtext="소화기내과방문환자수"/>
  511. <Column id="deptmicnt" type="STRING" size="256" sumtext="감염내과방문환자수"/>
  512. <Column id="deptmecnt" type="STRING" size="256" sumtext="내분비내과방문환자수"/>
  513. <Column id="deptmccnt" type="STRING" size="256" sumtext="순환기내과방문환자수"/>
  514. <Column id="deptmpcnt" type="STRING" size="256" sumtext="호흡기내과방문환자수"/>
  515. <Column id="deptmncnt" type="STRING" size="256" sumtext="신장내과방문환자수"/>
  516. <Column id="deptmrcnt" type="STRING" size="256" sumtext="류마티스내과방문환자수"/>
  517. <Column id="deptmocnt" type="STRING" size="256" sumtext="종양내과방문환자수"/>
  518. <Column id="deptnucnt" type="STRING" size="256" sumtext="신경과방문환자수"/>
  519. <Column id="deptnpcnt" type="STRING" size="256" sumtext="정신과방문환자수"/>
  520. <Column id="deptgscnt" type="STRING" size="256" sumtext="외과방문환자수"/>
  521. <Column id="deptoscnt" type="STRING" size="256" sumtext="정형외과방문환자수"/>
  522. <Column id="deptnscnt" type="STRING" size="256" sumtext="신경외과방문환자수"/>
  523. <Column id="deptcscnt" type="STRING" size="256" sumtext="흉부외과방문환자수"/>
  524. <Column id="deptpscnt" type="STRING" size="256" sumtext="성형외과방문환자수"/>
  525. <Column id="deptobgycnt" type="STRING" size="256" sumtext="산부인과방문환자수"/>
  526. <Column id="deptodcnt" type="STRING" size="256" sumtext="산업의학과방문환자수"/>
  527. <Column id="deptpdcnt" type="STRING" size="256" sumtext="소아과방문환자수"/>
  528. <Column id="depteycnt" type="STRING" size="256" sumtext="안과방문환자수"/>
  529. <Column id="deptetcnt" type="STRING" size="256" sumtext="이비인후과방문환자수"/>
  530. <Column id="deptdrcnt" type="STRING" size="256" sumtext="피부과방문환자수"/>
  531. <Column id="depturcnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
  532. <Column id="deptdtcnt" type="STRING" size="256" sumtext="치과방문환자수"/>
  533. <Column id="deptedcnt" type="STRING" size="256" sumtext="응급의학과방문환자수"/>
  534. <Column id="deptrmcnt" type="STRING" size="256" sumtext="재활의학과방문환자수"/>
  535. <Column id="deptfmcnt" type="STRING" size="256" sumtext="가정의학과방문환자수"/>
  536. <Column id="depthccnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
  537. <Column id="deptetccnt" type="STRING" size="256" sumtext="기타학과방문환자수"/>
  538. <Column id="pattotal" type="STRING" size="256" sumtext="총환자수"/>
  539. <Column id="inpatcnt" type="STRING" size="256" sumtext="입원환자수"/>
  540. <Column id="icupatcnt" type="STRING" size="256" sumtext="중환자실입원환자수"/>
  541. <Column id="diepatcnt" type="STRING" size="256" sumtext="사망자수"/>
  542. <Column id="doapatcnt" type="STRING" size="256" sumtext="DAO환자수"/>
  543. <Column id="opinpatcnt" type="STRING" size="256" sumtext="수술입원환자수"/>
  544. <Column id="cprpatcnt" type="STRING" size="256" sumtext="CPR환자수"/>
  545. <Column id="outcurecnt" type="STRING" size="256" sumtext="외래처치환자수"/>
  546. </ColumnInfo>
  547. </Dataset>
  548. <Dataset id="ds_grd_sum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  549. <ColumnInfo>
  550. <Column id="srctm" type="STRING" size="256" sumtext="조회구분"/>
  551. <Column id="deptmdcnt" type="STRING" size="256" sumtext="내과방문환자수"/>
  552. <Column id="deptmhcnt" type="STRING" size="256" sumtext="혈액내과방문환자수"/>
  553. <Column id="deptmgcnt" type="STRING" size="256" sumtext="소화기내과방문환자수"/>
  554. <Column id="deptmicnt" type="STRING" size="256" sumtext="감염내과방문환자수"/>
  555. <Column id="deptmecnt" type="STRING" size="256" sumtext="내분비내과방문환자수"/>
  556. <Column id="deptmccnt" type="STRING" size="256" sumtext="순환기내과방문환자수"/>
  557. <Column id="deptmpcnt" type="STRING" size="256" sumtext="호흡기내과방문환자수"/>
  558. <Column id="deptmncnt" type="STRING" size="256" sumtext="신장내과방문환자수"/>
  559. <Column id="deptmrcnt" type="STRING" size="256" sumtext="류마티스내과방문환자수"/>
  560. <Column id="deptmocnt" type="STRING" size="256" sumtext="종양내과방문환자수"/>
  561. <Column id="deptnucnt" type="STRING" size="256" sumtext="신경과방문환자수"/>
  562. <Column id="deptnpcnt" type="STRING" size="256" sumtext="정신과방문환자수"/>
  563. <Column id="deptgscnt" type="STRING" size="256" sumtext="외과방문환자수"/>
  564. <Column id="deptoscnt" type="STRING" size="256" sumtext="정형외과방문환자수"/>
  565. <Column id="deptnscnt" type="STRING" size="256" sumtext="신경외과방문환자수"/>
  566. <Column id="deptcscnt" type="STRING" size="256" sumtext="흉부외과방문환자수"/>
  567. <Column id="deptpscnt" type="STRING" size="256" sumtext="성형외과방문환자수"/>
  568. <Column id="deptobgycnt" type="STRING" size="256" sumtext="산부인과방문환자수"/>
  569. <Column id="deptodcnt" type="STRING" size="256" sumtext="산업의학과방문환자수"/>
  570. <Column id="deptpdcnt" type="STRING" size="256" sumtext="소아과방문환자수"/>
  571. <Column id="depteycnt" type="STRING" size="256" sumtext="안과방문환자수"/>
  572. <Column id="deptetcnt" type="STRING" size="256" sumtext="이비인후과방문환자수"/>
  573. <Column id="deptdrcnt" type="STRING" size="256" sumtext="피부과방문환자수"/>
  574. <Column id="depturcnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
  575. <Column id="deptdtcnt" type="STRING" size="256" sumtext="치과방문환자수"/>
  576. <Column id="deptedcnt" type="STRING" size="256" sumtext="응급의학과방문환자수"/>
  577. <Column id="deptrmcnt" type="STRING" size="256" sumtext="재활의학과방문환자수"/>
  578. <Column id="deptfmcnt" type="STRING" size="256" sumtext="가정의학과방문환자수"/>
  579. <Column id="depthccnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
  580. <Column id="deptetccnt" type="STRING" size="256" sumtext="기타학과방문환자수"/>
  581. <Column id="pattotal" type="STRING" size="256" sumtext="총환자수"/>
  582. <Column id="inpatcnt" type="STRING" size="256" sumtext="입원환자수"/>
  583. <Column id="icupatcnt" type="STRING" size="256" sumtext="중환자실입원환자수"/>
  584. <Column id="diepatcnt" type="STRING" size="256" sumtext="사망자수"/>
  585. <Column id="doapatcnt" type="STRING" size="256" sumtext="DAO환자수"/>
  586. <Column id="opinpatcnt" type="STRING" size="256" sumtext="수술입원환자수"/>
  587. <Column id="cprpatcnt" type="STRING" size="256" sumtext="CPR환자수"/>
  588. <Column id="outcurecnt" type="STRING" size="256" sumtext="외래처치환자수"/>
  589. </ColumnInfo>
  590. </Dataset>
  591. <Dataset id="ds_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  592. <ColumnInfo>
  593. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  594. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  595. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  596. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  597. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
  598. <Column id="orddept" type="STRING" size="256" sumtext="진료과"/>
  599. <Column id="chosdt" type="STRING" size="256" sumtext="내원일시"/>
  600. <Column id="outrmdt" type="STRING" size="256" sumtext="퇴실일시"/>
  601. <Column id="staytm" type="STRING" size="256" sumtext="체류시간"/>
  602. <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
  603. <Column id="srchdate" type="STRING" size="256" sumtext="조회일자"/>
  604. <Column id="outcure" type="STRING" size="256" sumtext="외래처치"/>
  605. </ColumnInfo>
  606. </Dataset>
  607. </Objects>
  608. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  609. * System Name :
  610. * Job Name :
  611. * Creator :
  612. * Make Date : 2015-11-13
  613. * Description :
  614. *---------------------------------------------------------------------------------------
  615. * Modify Date Modifier Modify Description
  616. *---------------------------------------------------------------------------------------
  617. * 2015-11-13 Live Converter TF->XP
  618. *
  619. *---------------------------------------------------------------------------------------
  620. ****************************************************************************************/
  621. //=======================================================================================
  622. // Lib Include
  623. //---------------------------------------------------------------------------------------
  624. include "com_commonxp::comm_main.xjs";
  625. //=======================================================================================
  626. // Function
  627. //---------------------------------------------------------------------------------------
  628. /****************************************************************************************
  629. * Argument :
  630. * Description :
  631. ****************************************************************************************/
  632. function fInit(){
  633. grp_biz.group2.fromdd.value = utlf_getCurrentDate();
  634. grp_biz.group2.todd.value = utlf_getCurrentDate();
  635. // 일별 캡션 활성화
  636. grp_biz.caption1.visible = true;
  637. grp_biz.caption3.visible = false;
  638. grp_biz.grd_daylist.visible = true;
  639. grp_biz.grd_monthlist.visible = false;
  640. //속도개선
  641. this.setTimer(0, 100);
  642. //fSearchList();
  643. }
  644. /****************************************************************************************
  645. * Argument :
  646. * Description :
  647. ****************************************************************************************/
  648. function fSearchList(){
  649. dsf_createDsRow("ds_send",
  650. [
  651. { col:"fromdd", type:"string", size:256, val: grp_biz.group2.fromdd.value },
  652. { col:"todd", type:"string", size:256, val: grp_biz.group2.todd.value },
  653. { col:"kindflag", type:"string", size:256, val: grp_biz.group2.kindflag.value }
  654. ],
  655. true);
  656. var oParam = {};
  657. oParam.id = "TRMNE02101";
  658. oParam.service = "ercareapp.ERPatMngt";
  659. oParam.method = "reqGetDeptPatPresCond";
  660. oParam.inds = "cond=ds_send";
  661. oParam.outds = "ds_grd_monthlist=deptinfomm ds_grd_daylist=deptinfodd ds_grd_sum=deptsum";
  662. oParam.async = false;
  663. //oParam.callback = "cf_TRMNE02101";
  664. tranf_submit(oParam);
  665. }
  666. var printSrcTitle = '';
  667. function fSrcPat(plag, col, row){
  668. var sSrcData = "";
  669. var sSrcData2 = "";
  670. var title = "";
  671. var srcdate = "";
  672. printSrcTitle = '조회(';
  673. if(plag == 'D'){
  674. srcdate = new String(ds_grd_daylist.getColumn(row, "srctm"));
  675. printSrcTitle += '일) : ' + srcdate.substr(0, 4) + '-' + srcdate.substr(4, 2) + '-' + srcdate.substr(6, 2);
  676. }
  677. else{
  678. srcdate = ds_grd_monthlist.getColumn(row, "srctm");
  679. printSrcTitle += '월) : ' + srcdate.substr(0, 4) + '-' + srcdate.substr(4, 2);
  680. }
  681. //sysf_trace("srcdate: " + srcdate);
  682. switch(col){
  683. case 2 : sSrcData = "E01"; break;//MD
  684. case 3 : sSrcData = "E07"; break;//MH
  685. case 4 : sSrcData = "E02"; break;//MG
  686. case 5 : sSrcData = "E09"; break;//MI
  687. case 6 : sSrcData = "E04"; break;//ME
  688. case 7 : sSrcData = "E03"; break;//MC
  689. case 8 : sSrcData = "E05"; break;//MP
  690. case 9 : sSrcData = "E06"; break;//MN
  691. case 10: sSrcData = "E10"; break;//MR
  692. case 11: sSrcData = "E08"; break;//MO
  693. case 12: sSrcData = "E11"; break;//NU
  694. case 13: sSrcData = "E12"; break;//NP
  695. case 14: sSrcData = "E13"; break;//GS
  696. case 15: sSrcData = "E14"; break;//OS
  697. case 16: sSrcData = "E15"; break;//NS
  698. case 17: sSrcData = "E16"; break;//CS
  699. case 18: sSrcData = "E17"; break;//PS
  700. case 19: sSrcData = "E19"; break;//OBGY
  701. case 20: sSrcData = "E34"; break;//OD
  702. case 21: sSrcData = "E20"; break;//PD
  703. case 22: sSrcData = "E21"; break;//EY
  704. case 23: sSrcData = "E22"; break;//ET
  705. case 24: sSrcData = "E23"; break;//DR
  706. case 25: sSrcData = "E24"; break;//UR
  707. case 26: sSrcData = "E32"; break;//DT
  708. case 27: sSrcData = "ETC"; break;//'E18', 'E25', 'E26', 'E27', 'E28', 'E29'
  709. case 28: sSrcData = "E33"; break;//ED
  710. case 29: sSrcData = "E30"; break;//RM
  711. case 30: sSrcData = "E31"; break;//FM
  712. case 31: sSrcData = "HC" ; sSrcData2 = "Y"; title = "호스피스"; break;
  713. case 32: sSrcData = "TT" ; titletotm = "전체"; break;// 계ㅇㅇ// ???????? what the?
  714. case 33: sSrcData = "INR"; sSrcData2 = "Y"; title = "입원"; break; // 입원수
  715. case 34: sSrcData = "ICU"; sSrcData2 = "Y"; title = "ICU"; break; // ICU
  716. case 35: sSrcData = "DIE"; sSrcData2 = "Y"; title = "사망"; break; // 사망
  717. case 36: sSrcData = "DOA"; sSrcData2 = "Y"; title = "DOA"; break; // DOA
  718. case 37: sSrcData = "OP" ; sSrcData2 = "Y"; title = "수술입원"; break; // 수술입원
  719. case 38: sSrcData = "CPR"; sSrcData2 = "Y"; title = "CPR"; break; // CPR
  720. case 39: sSrcData = "OUT"; sSrcData2 = "Y"; title = "외래처치"; break; // 외래처치ㅇㅇ
  721. }
  722. // 쿼리 전송 dataset
  723. dsf_createDsRow("ds_req",
  724. [
  725. { col:"srcdate", type:"string", size:256, val: srcdate },
  726. { col:"srcdata", type:"string", size:256, val: sSrcData },
  727. { col:"flag", type:"string", size:256, val: plag },
  728. { col:"srcdata2", type:"string", size:256, val: sSrcData2 }
  729. ],
  730. true);
  731. //sysf_trace("data: " + sSrcData + ", " + srcdate + ", " + plag + ", " + sSrcData2);
  732. // 팝업 화면의 그리드에 바인드 할 데이터를 쿼리
  733. var oParam = {};
  734. oParam.id = "TRMNE02102";
  735. oParam.service = "ercareapp.ERPatMngt";
  736. oParam.method = "reqGetDeptPatPresCondList";
  737. oParam.inds = "req=ds_req";
  738. oParam.outds = "ds_patlist=patlist";
  739. oParam.async = false;
  740. oParam.callback = "cf_TRMNE02102";
  741. tranf_submit(oParam);
  742. }
  743. function cf_TRMNE02102(sSvcId, nErrorCode, sErrorMsg) {
  744. if(nErrorCode < 0) return;
  745. fShowModal("SMMNE03400");
  746. }
  747. function fShowModal(pProgID) {
  748. var args = {};
  749. args.arg_ds_patlist = ds_patlist;
  750. //srctm = new String(srctm);
  751. args.arg_srchdate= printSrcTitle;
  752. frmf_modal(pProgID, pProgID, args, "", "", "", "", "", "", "", "", "", "M");
  753. }
  754. //=======================================================================================
  755. // Event
  756. //---------------------------------------------------------------------------------------
  757. /****************************************************************************************
  758. * Argument :
  759. * Description : oninit
  760. ****************************************************************************************/
  761. function SMMNE02100_oninit(obj:Form, e:InitEventInfo){
  762. }
  763. /****************************************************************************************
  764. * Argument :
  765. * Description : onload
  766. ****************************************************************************************/
  767. function SMMNE02100_onload(obj:Form, e:LoadEventInfo){
  768. // 화면공통
  769. frmf_initForm(obj);
  770. fInit();
  771. }
  772. /****************************************************************************************
  773. * Argument :
  774. * Description : 일별/월별 라디오 선택
  775. ****************************************************************************************/
  776. function grp_biz_group2_kindflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo){
  777. var checked = grp_biz.group2.kindflag.value;
  778. if(checked == '1'){
  779. grp_biz.caption1.visible = true;
  780. grp_biz.caption3.visible = false;
  781. grp_biz.grd_daylist.visible = true;
  782. grp_biz.grd_monthlist.visible = false;
  783. grp_biz.group2.fromdd.editformat = 'yyyy-MM-dd';
  784. grp_biz.group2.fromdd.dateformat = 'yyyy-MM-dd';
  785. grp_biz.group2.todd.editformat = 'yyyy-MM-dd';
  786. grp_biz.group2.todd.dateformat = 'yyyy-MM-dd';
  787. }
  788. else{
  789. grp_biz.caption1.visible = false;
  790. grp_biz.caption3.visible = true;
  791. grp_biz.grd_daylist.visible = false;
  792. grp_biz.grd_monthlist.visible = true;
  793. grp_biz.group2.fromdd.editformat = 'yyyy-MM';
  794. grp_biz.group2.fromdd.dateformat = 'yyyy-MM';
  795. grp_biz.group2.todd.editformat = 'yyyy-MM';
  796. grp_biz.group2.todd.dateformat = 'yyyy-MM';
  797. }
  798. fSearchList();
  799. }
  800. /****************************************************************************************
  801. * Argument :
  802. * Description : 조회버튼 클릭
  803. ****************************************************************************************/
  804. function grp_biz_group2_button1_onclick(obj:Button, e:ClickEventInfo){
  805. fSearchList();
  806. }
  807. /****************************************************************************************
  808. * Argument :
  809. * Description : 일별 그리드 셀 더블클릭
  810. ****************************************************************************************/
  811. function grp_biz_grd_daylist_oncelldblclick(obj:Grid, e:GridClickEventInfo){
  812. if(e.col > 1){
  813. fSrcPat('D', e.col, e.row);
  814. }
  815. }
  816. /****************************************************************************************
  817. * Argument :
  818. * Description : 월별 그리드 셀 더블클릭
  819. ****************************************************************************************/
  820. function grp_biz_grd_monthlist_oncelldblclick(obj:Grid, e:GridClickEventInfo){
  821. if(e.col > 1){
  822. fSrcPat('M', e.col, e.row);
  823. }
  824. }
  825. /****************************************************************************************
  826. * Argument :
  827. * Description : 엑셀 버튼 클릭
  828. ****************************************************************************************/
  829. function grp_biz_group2_button7_onclick(obj:Button, e:ClickEventInfo){
  830. var fromdd = new String(grp_biz.group2.fromdd.value);
  831. var todd = new String(grp_biz.group2.todd.value);
  832. var grd_export = grp_biz.grd_daylist;
  833. // 월별인 경우
  834. if(grp_biz.group2.kindflag.value == "2"){
  835. fromdd = fromdd.substr(0, 6);
  836. todd = todd.substr(0, 6);
  837. grd_export = grp_biz.grd_monthlist;
  838. }
  839. var fileString = (fromdd != todd) ? fromdd + "~" + todd : fromdd;
  840. grdf_exportExcel(grd_export, "과별환자현황(" + fileString + ")", "Sheet1", true, "", "user", true);
  841. }
  842. /****************************************************************************************
  843. * Argument :
  844. * Description : 초기화 버튼 클릭
  845. ****************************************************************************************/
  846. function grp_biz_group2_button8_onclick(obj:Button, e:ClickEventInfo){
  847. fInit();
  848. }
  849. function SMMNE02100_ontimer(obj:Form, e:TimerEventInfo)
  850. {
  851. if (e.timerid == 0) {
  852. this.killTimer(0);
  853. fSearchList();
  854. }
  855. }
  856. ]]></Script>
  857. </Form>
  858. </FDL>