SMAES04400_핵의학체내장비별통합통계.xfdl 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES04400" position="absolute 0 0 1205 739" titletext="장비별 통합 통계" oninit="SMAES04400_oninit" onload="SMAES04400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 68 1195 733" anchor="all" onchanged="switch1_onchanged">
  8. <Tabpages>
  9. <Tabpage id="case1" text="일별">
  10. <Layouts>
  11. <Layout>
  12. <Grid id="grd_daylist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 11 1193 634" anchor="all">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="19"/>
  17. <Column size="110"/>
  18. <Column size="120"/>
  19. <Column size="38"/>
  20. <Column size="38"/>
  21. <Column size="38"/>
  22. <Column size="38"/>
  23. <Column size="38"/>
  24. <Column size="38"/>
  25. <Column size="38"/>
  26. <Column size="38"/>
  27. <Column size="38"/>
  28. <Column size="38"/>
  29. <Column size="38"/>
  30. <Column size="38"/>
  31. <Column size="38"/>
  32. <Column size="38"/>
  33. <Column size="38"/>
  34. <Column size="38"/>
  35. <Column size="38"/>
  36. <Column size="38"/>
  37. <Column size="38"/>
  38. <Column size="38"/>
  39. <Column size="38"/>
  40. <Column size="38"/>
  41. <Column size="38"/>
  42. <Column size="38"/>
  43. <Column size="38"/>
  44. <Column size="38"/>
  45. <Column size="38"/>
  46. <Column size="38"/>
  47. <Column size="38"/>
  48. <Column size="38"/>
  49. <Column size="38"/>
  50. <Column size="60"/>
  51. </Columns>
  52. <Rows>
  53. <Row size="24" band="head"/>
  54. <Row size="24"/>
  55. </Rows>
  56. <Band id="head">
  57. <Cell/>
  58. <Cell col="1" text="검사실"/>
  59. <Cell col="2" text="장비명"/>
  60. <Cell col="3" text="1일"/>
  61. <Cell col="4" text="2일"/>
  62. <Cell col="5" text="3일"/>
  63. <Cell col="6" text="4일"/>
  64. <Cell col="7" text="5일"/>
  65. <Cell col="8" text="6일"/>
  66. <Cell col="9" text="7일"/>
  67. <Cell col="10" text="8일"/>
  68. <Cell col="11" text="9일"/>
  69. <Cell col="12" text="10일"/>
  70. <Cell col="13" text="11일"/>
  71. <Cell col="14" text="12일"/>
  72. <Cell col="15" text="13일"/>
  73. <Cell col="16" text="14일"/>
  74. <Cell col="17" text="15일"/>
  75. <Cell col="18" text="16일"/>
  76. <Cell col="19" text="17일"/>
  77. <Cell col="20" text="18일"/>
  78. <Cell col="21" text="19일"/>
  79. <Cell col="22" text="20일"/>
  80. <Cell col="23" text="21일"/>
  81. <Cell col="24" text="22일"/>
  82. <Cell col="25" text="23일"/>
  83. <Cell col="26" text="24일"/>
  84. <Cell col="27" text="25일"/>
  85. <Cell col="28" text="26일"/>
  86. <Cell col="29" text="27일"/>
  87. <Cell col="30" text="28일"/>
  88. <Cell col="31" text="29일"/>
  89. <Cell col="32" text="30일"/>
  90. <Cell col="33" text="31일"/>
  91. <Cell col="34" text="합계"/>
  92. </Band>
  93. <Band id="body">
  94. <Cell celltype="head" expr="currow+1"/>
  95. <Cell col="1" text="bind:systkey1"/>
  96. <Cell col="2" text="bind:systkey2"/>
  97. <Cell col="3" displaytype="number" text="bind:item01"/>
  98. <Cell col="4" displaytype="number" text="bind:item02"/>
  99. <Cell col="5" displaytype="number" text="bind:item03"/>
  100. <Cell col="6" displaytype="number" text="bind:item04"/>
  101. <Cell col="7" displaytype="number" text="bind:item05"/>
  102. <Cell col="8" displaytype="number" text="bind:item06"/>
  103. <Cell col="9" displaytype="number" text="bind:item07"/>
  104. <Cell col="10" displaytype="number" text="bind:item08"/>
  105. <Cell col="11" displaytype="number" text="bind:item09"/>
  106. <Cell col="12" displaytype="number" text="bind:item10"/>
  107. <Cell col="13" displaytype="number" text="bind:item11"/>
  108. <Cell col="14" displaytype="number" text="bind:item12"/>
  109. <Cell col="15" displaytype="number" text="bind:item13"/>
  110. <Cell col="16" displaytype="number" text="bind:item14"/>
  111. <Cell col="17" displaytype="number" text="bind:item15"/>
  112. <Cell col="18" displaytype="number" text="bind:item16"/>
  113. <Cell col="19" displaytype="number" text="bind:item17"/>
  114. <Cell col="20" displaytype="number" text="bind:item18"/>
  115. <Cell col="21" displaytype="number" text="bind:item19"/>
  116. <Cell col="22" displaytype="number" text="bind:item20"/>
  117. <Cell col="23" displaytype="number" text="bind:item21"/>
  118. <Cell col="24" displaytype="number" text="bind:item22"/>
  119. <Cell col="25" displaytype="number" text="bind:item23"/>
  120. <Cell col="26" displaytype="number" text="bind:item24"/>
  121. <Cell col="27" displaytype="number" text="bind:item25"/>
  122. <Cell col="28" displaytype="number" text="bind:item26"/>
  123. <Cell col="29" displaytype="number" text="bind:item27"/>
  124. <Cell col="30" displaytype="number" text="bind:item28"/>
  125. <Cell col="31" displaytype="number" text="bind:item29"/>
  126. <Cell col="32" displaytype="number" text="bind:item30"/>
  127. <Cell col="33" displaytype="number" text="bind:item31"/>
  128. <Cell col="34" displaytype="number" text="bind:total"/>
  129. </Band>
  130. </Format>
  131. </Formats>
  132. </Grid>
  133. </Layout>
  134. </Layouts>
  135. </Tabpage>
  136. <Tabpage id="case2" text="월별">
  137. <Layouts>
  138. <Layout>
  139. <Grid id="grd_monthlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 11 1193 634" anchor="all" oncellclick="switch1_case2_grd_monthlist_oncellclick" onheadclick="switch1_case2_grd_monthlist_onheadclick">
  140. <Formats>
  141. <Format id="default">
  142. <Columns>
  143. <Column size="23"/>
  144. <Column size="110"/>
  145. <Column size="120"/>
  146. <Column size="47"/>
  147. <Column size="47"/>
  148. <Column size="47"/>
  149. <Column size="47"/>
  150. <Column size="47"/>
  151. <Column size="47"/>
  152. <Column size="47"/>
  153. <Column size="47"/>
  154. <Column size="47"/>
  155. <Column size="47"/>
  156. <Column size="47"/>
  157. <Column size="47"/>
  158. <Column size="100"/>
  159. <Column size="100"/>
  160. <Column size="100"/>
  161. </Columns>
  162. <Rows>
  163. <Row size="24" band="head"/>
  164. <Row size="24" band="head"/>
  165. <Row size="24"/>
  166. </Rows>
  167. <Band id="head">
  168. <Cell rowspan="2" taborder="undefined"/>
  169. <Cell col="1" rowspan="2" text="검사실" taborder="undefined"/>
  170. <Cell col="2" rowspan="2" text="장비명" taborder="undefined"/>
  171. <Cell col="3" colspan="12" text="2006년" taborder="undefined"/>
  172. <Cell col="15" rowspan="2" text="합계" taborder="undefined"/>
  173. <Cell col="16" rowspan="2" text="전년도합계" taborder="undefined"/>
  174. <Cell col="17" rowspan="2" text="증감율(%)" taborder="undefined"/>
  175. <Cell row="1" col="3" text="1월"/>
  176. <Cell row="1" col="4" text="2월"/>
  177. <Cell row="1" col="5" text="3월"/>
  178. <Cell row="1" col="6" text="4월"/>
  179. <Cell row="1" col="7" text="5월"/>
  180. <Cell row="1" col="8" text="6월"/>
  181. <Cell row="1" col="9" text="7월"/>
  182. <Cell row="1" col="10" text="8월"/>
  183. <Cell row="1" col="11" text="9월"/>
  184. <Cell row="1" col="12" text="10월"/>
  185. <Cell row="1" col="13" text="11월"/>
  186. <Cell row="1" col="14" text="12월"/>
  187. </Band>
  188. <Band id="body">
  189. <Cell celltype="head" expr="currow+1"/>
  190. <Cell col="1" text="bind:systkey1"/>
  191. <Cell col="2" text="bind:systkey2"/>
  192. <Cell col="3" text="bind:item01"/>
  193. <Cell col="4" text="bind:item02"/>
  194. <Cell col="5" text="bind:item03"/>
  195. <Cell col="6" text="bind:item04"/>
  196. <Cell col="7" text="bind:item05"/>
  197. <Cell col="8" text="bind:item06"/>
  198. <Cell col="9" text="bind:item07"/>
  199. <Cell col="10" text="bind:item08"/>
  200. <Cell col="11" text="bind:item09"/>
  201. <Cell col="12" text="bind:item10"/>
  202. <Cell col="13" text="bind:item11"/>
  203. <Cell col="14" text="bind:item12"/>
  204. <Cell col="15" text="bind:total"/>
  205. <Cell col="16" text="bind:comparecnt"/>
  206. <Cell col="17" text="bind:comparerate"/>
  207. </Band>
  208. </Format>
  209. </Formats>
  210. </Grid>
  211. </Layout>
  212. </Layouts>
  213. </Tabpage>
  214. <Tabpage id="case3" text="분기별">
  215. <Layouts>
  216. <Layout>
  217. <Grid id="grd_qurtlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 11 1193 634" anchor="all">
  218. <Formats>
  219. <Format id="default">
  220. <Columns>
  221. <Column size="23"/>
  222. <Column size="110"/>
  223. <Column size="120"/>
  224. <Column size="73"/>
  225. <Column size="73"/>
  226. <Column size="73"/>
  227. <Column size="73"/>
  228. <Column size="73"/>
  229. <Column size="73"/>
  230. <Column size="73"/>
  231. <Column size="73"/>
  232. <Column size="100"/>
  233. <Column size="100"/>
  234. <Column size="100"/>
  235. </Columns>
  236. <Rows>
  237. <Row size="24" band="head"/>
  238. <Row size="24" band="head"/>
  239. <Row size="24"/>
  240. </Rows>
  241. <Band id="head">
  242. <Cell rowspan="2" taborder="undefined"/>
  243. <Cell col="1" rowspan="2" text="검사실" taborder="undefined"/>
  244. <Cell col="2" rowspan="2" text="장비명" taborder="undefined"/>
  245. <Cell col="3" colspan="2" text="1분기" taborder="undefined"/>
  246. <Cell col="5" colspan="2" text="2분기" taborder="undefined"/>
  247. <Cell col="7" colspan="2" text="3분기" taborder="undefined"/>
  248. <Cell col="9" colspan="2" text="4분기" taborder="undefined"/>
  249. <Cell col="11" rowspan="2" text="합계" taborder="undefined"/>
  250. <Cell col="12" rowspan="2" text="전년도합계" taborder="undefined"/>
  251. <Cell col="13" rowspan="2" text="증감율(%)" taborder="undefined"/>
  252. <Cell row="1" col="3" text="환자수"/>
  253. <Cell row="1" col="4" text="증감율"/>
  254. <Cell row="1" col="5" text="환자수"/>
  255. <Cell row="1" col="6" text="증감율"/>
  256. <Cell row="1" col="7" text="환자수"/>
  257. <Cell row="1" col="8" text="증감율"/>
  258. <Cell row="1" col="9" text="환자수"/>
  259. <Cell row="1" col="10" text="증감율"/>
  260. </Band>
  261. <Band id="body">
  262. <Cell celltype="head" expr="currow+1"/>
  263. <Cell col="1" text="bind:systkey1"/>
  264. <Cell col="2" text="bind:systkey2"/>
  265. <Cell col="3" displaytype="number" text="bind:item01"/>
  266. <Cell col="4" displaytype="number" text="bind:item02"/>
  267. <Cell col="5" displaytype="number" text="bind:item03"/>
  268. <Cell col="6" displaytype="number" text="bind:item04"/>
  269. <Cell col="7" displaytype="number" text="bind:item05"/>
  270. <Cell col="8" displaytype="number" text="bind:item06"/>
  271. <Cell col="9" displaytype="number" text="bind:item07"/>
  272. <Cell col="10" displaytype="number" text="bind:item08"/>
  273. <Cell col="11" displaytype="number" text="bind:total"/>
  274. <Cell col="12" displaytype="number" text="bind:comparecnt"/>
  275. <Cell col="13" displaytype="number" text="bind:comparerate"/>
  276. </Band>
  277. </Format>
  278. </Formats>
  279. </Grid>
  280. </Layout>
  281. </Layouts>
  282. </Tabpage>
  283. <Tabpage id="case4" text="년도별">
  284. <Layouts>
  285. <Layout>
  286. <Grid id="grd_yearlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 11 1193 634" anchor="all">
  287. <Formats>
  288. <Format id="default">
  289. <Columns>
  290. <Column size="24"/>
  291. <Column size="110"/>
  292. <Column size="120"/>
  293. <Column size="100"/>
  294. <Column size="100"/>
  295. <Column size="100"/>
  296. <Column size="100"/>
  297. <Column size="100"/>
  298. <Column size="100"/>
  299. <Column size="100"/>
  300. <Column size="100"/>
  301. </Columns>
  302. <Rows>
  303. <Row size="24" band="head"/>
  304. <Row size="24"/>
  305. </Rows>
  306. <Band id="head">
  307. <Cell/>
  308. <Cell col="1" text="검사실"/>
  309. <Cell col="2" text="장비명"/>
  310. <Cell col="3" text="2005년"/>
  311. <Cell col="4" text="2006년"/>
  312. <Cell col="5" text="2007년"/>
  313. <Cell col="6" text="2008년"/>
  314. <Cell col="7" text="2009년"/>
  315. <Cell col="8" text="합계"/>
  316. <Cell col="9" text="전년도합계"/>
  317. <Cell col="10" text="증감율(%)"/>
  318. </Band>
  319. <Band id="body">
  320. <Cell celltype="head" expr="currow+1"/>
  321. <Cell col="1" text="bind:systkey1"/>
  322. <Cell col="2" text="bind:systkey2"/>
  323. <Cell col="3" displaytype="number" text="bind:item01"/>
  324. <Cell col="4" displaytype="number" text="bind:item02"/>
  325. <Cell col="5" displaytype="number" text="bind:item03"/>
  326. <Cell col="6" displaytype="number" text="bind:item04"/>
  327. <Cell col="7" displaytype="number" text="bind:item05"/>
  328. <Cell col="8" displaytype="number" text="bind:total"/>
  329. <Cell col="9" displaytype="number" text="bind:comparecnt"/>
  330. <Cell col="10" displaytype="number" text="bind:comparerate"/>
  331. </Band>
  332. </Format>
  333. </Formats>
  334. </Grid>
  335. </Layout>
  336. </Layouts>
  337. </Tabpage>
  338. </Tabpages>
  339. </Tab>
  340. <Static id="caption6" text="장비별 통합 통계" class="tit_1" position="absolute 0 0 207 23"/>
  341. <Shape id="line1" class="line_10" position="absolute -1 100 1194 106" anchor="left top right"/>
  342. <Div id="grp_sea" taborder="2" class="div_SA" position="absolute 0 24 1195 54" anchor="left top right">
  343. <Layouts>
  344. <Layout>
  345. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 5 1113 25" anchor="top right"/>
  346. <Button id="btn_sea" taborder="7" text="조회" class="btn1" position="absolute 1120 4 1176 26" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  347. <Static id="caption3" text="기준년월 :" class="search_name" position="absolute 255 7 341 24"/>
  348. <Static id="caption5" text="통계구분 :" class="search_name" position="absolute 10 7 96 24"/>
  349. <Combo id="cmb_statsflag" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 105 6 230 25" onitemchanged="grp_sea_cmb_statsflag_onitemchanged">
  350. <Dataset id="innerdataset">
  351. <ColumnInfo>
  352. <Column id="codecolumn"/>
  353. <Column id="datacolumn"/>
  354. </ColumnInfo>
  355. <Rows>
  356. <Row>
  357. <Col id="codecolumn">S</Col>
  358. <Col id="datacolumn">가동시간</Col>
  359. </Row>
  360. <Row>
  361. <Col id="codecolumn">A</Col>
  362. <Col id="datacolumn">가동율</Col>
  363. </Row>
  364. <Row>
  365. <Col id="codecolumn">P</Col>
  366. <Col id="datacolumn">환자수</Col>
  367. </Row>
  368. </Rows>
  369. </Dataset>
  370. </Combo>
  371. <Calendar id="input4" taborder="9" class="input_default" position="absolute 345 6 435 25" mask="yyyy-mm" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" autoselect="true" onchanged="grp_sea_input4_onchanged"/>
  372. <Combo id="cmb_excuroomgrp" taborder="10" innerdataset="@ds_init_initexcuroomgrp" codecolumn="basecdcnts" datacolumn="basecdcnts2" class="combo_default" position="absolute 530 6 648 25" onitemchanged="grp_sea_cmb_excuroomgrp_onitemchanged"/>
  373. <Combo id="cmb_excuroom" taborder="11" innerdataset="@ds_init_cmb_info_excuroom_initexcuroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_default" position="absolute 650 6 780 25" onitemchanged="grp_sea_cmb_excuroom_onitemchanged"/>
  374. <Static id="caption7" text="검사실 :" class="search_name" position="absolute 450 7 530 24"/>
  375. <Static id="caption12" text="구분 :" class="search_name" visible="false" position="absolute 845 7 907 24"/>
  376. <Radio id="radio2" taborder="12" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 909 5 1045 23" onitemchanged="grp_sea_radio2_onitemchanged">
  377. <Dataset id="innerdataset">
  378. <ColumnInfo>
  379. <Column id="codecolumn"/>
  380. <Column id="datacolumn"/>
  381. </ColumnInfo>
  382. <Rows>
  383. <Row>
  384. <Col id="codecolumn">A</Col>
  385. <Col id="datacolumn">전체</Col>
  386. </Row>
  387. <Row>
  388. <Col id="codecolumn">I</Col>
  389. <Col id="datacolumn">입원</Col>
  390. </Row>
  391. <Row>
  392. <Col id="codecolumn">O</Col>
  393. <Col id="datacolumn">외래</Col>
  394. </Row>
  395. </Rows>
  396. </Dataset>
  397. </Radio>
  398. </Layout>
  399. </Layouts>
  400. </Div>
  401. <Button id="btn_excsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 1114 71 1194 90" anchor="top right" onclick="btn_excsave_onclick"/>
  402. <Radio id="rdo_srchioflag" taborder="4" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 260 71 375 89" onitemchanged="rdo_srchioflag_onitemchanged">
  403. <Dataset id="innerdataset">
  404. <ColumnInfo>
  405. <Column id="codecolumn"/>
  406. <Column id="datacolumn"/>
  407. </ColumnInfo>
  408. <Rows>
  409. <Row>
  410. <Col id="codecolumn">G</Col>
  411. <Col id="datacolumn">일반</Col>
  412. </Row>
  413. <Row>
  414. <Col id="codecolumn">H</Col>
  415. <Col id="datacolumn">회기별</Col>
  416. </Row>
  417. </Rows>
  418. </Dataset>
  419. </Radio>
  420. </Layout>
  421. </Layouts>
  422. <Objects>
  423. <Dataset id="ds_init_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  424. <ColumnInfo>
  425. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사그룹코드"/>
  426. <Column id="basecdcnts2" type="STRING" size="256" sumtext="검사그룹코드명"/>
  427. </ColumnInfo>
  428. </Dataset>
  429. <Dataset id="ds_init_cmb_info_excuroom_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  430. <ColumnInfo>
  431. <Column id="basecd" type="STRING" size="256" sumtext="검사실코드"/>
  432. <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검사실코드"/>
  433. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실코드"/>
  434. </ColumnInfo>
  435. </Dataset>
  436. <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  437. <ColumnInfo>
  438. <Column id="systkey1" type="STRING" size="256" sumtext="구분1"/>
  439. <Column id="systkey2" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
  440. <Column id="systkey3" type="STRING" size="256" sumtext="구분3"/>
  441. <Column id="item01" type="BIGDECIMAL" size="256" sumtext="1일"/>
  442. <Column id="item02" type="BIGDECIMAL" size="256" sumtext="2일"/>
  443. <Column id="item03" type="BIGDECIMAL" size="256" sumtext="3일"/>
  444. <Column id="item04" type="BIGDECIMAL" size="256" sumtext="4일"/>
  445. <Column id="item05" type="BIGDECIMAL" size="256" sumtext="5일"/>
  446. <Column id="item06" type="BIGDECIMAL" size="256" sumtext="6일"/>
  447. <Column id="item07" type="BIGDECIMAL" size="256" sumtext="7일"/>
  448. <Column id="item08" type="BIGDECIMAL" size="256" sumtext="8일"/>
  449. <Column id="item09" type="BIGDECIMAL" size="256" sumtext="9일"/>
  450. <Column id="item10" type="BIGDECIMAL" size="256" sumtext="10일"/>
  451. <Column id="item11" type="BIGDECIMAL" size="256" sumtext="11일"/>
  452. <Column id="item12" type="BIGDECIMAL" size="256" sumtext="12일"/>
  453. <Column id="item13" type="BIGDECIMAL" size="256" sumtext="13일"/>
  454. <Column id="item14" type="BIGDECIMAL" size="256" sumtext="14일"/>
  455. <Column id="item15" type="BIGDECIMAL" size="256" sumtext="15일"/>
  456. <Column id="item16" type="BIGDECIMAL" size="256" sumtext="16일"/>
  457. <Column id="item17" type="BIGDECIMAL" size="256" sumtext="17일"/>
  458. <Column id="item18" type="BIGDECIMAL" size="256" sumtext="18일"/>
  459. <Column id="item19" type="BIGDECIMAL" size="256" sumtext="19일"/>
  460. <Column id="item20" type="BIGDECIMAL" size="256" sumtext="20일"/>
  461. <Column id="item21" type="BIGDECIMAL" size="256" sumtext="21일"/>
  462. <Column id="item22" type="BIGDECIMAL" size="256" sumtext="22일"/>
  463. <Column id="item23" type="BIGDECIMAL" size="256" sumtext="23일"/>
  464. <Column id="item24" type="BIGDECIMAL" size="256" sumtext="24일"/>
  465. <Column id="item25" type="BIGDECIMAL" size="256" sumtext="25일"/>
  466. <Column id="item26" type="BIGDECIMAL" size="256" sumtext="26일"/>
  467. <Column id="item27" type="BIGDECIMAL" size="256" sumtext="27일"/>
  468. <Column id="item28" type="BIGDECIMAL" size="256" sumtext="28일"/>
  469. <Column id="item29" type="BIGDECIMAL" size="256" sumtext="29일"/>
  470. <Column id="item30" type="BIGDECIMAL" size="256" sumtext="30일"/>
  471. <Column id="item31" type="BIGDECIMAL" size="256" sumtext="31일"/>
  472. <Column id="total" type="BIGDECIMAL" size="256" sumtext="합계"/>
  473. <Column id="comparecnt" type="BIGDECIMAL" size="256" sumtext="전년도합계"/>
  474. <Column id="comparerate" type="BIGDECIMAL" size="256" sumtext="증감율"/>
  475. </ColumnInfo>
  476. </Dataset>
  477. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  478. <ColumnInfo>
  479. <Column id="excuroomgrpcdid" type="STRING" size="256" sumtext="검사실그룹코드"/>
  480. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  481. <Column id="rbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,검사실"/>
  482. <Column id="kbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,장비코드"/>
  483. <Column id="nbasecdflag" type="STRING" size="256" sumtext="핵종코드"/>
  484. <Column id="initflag" type="STRING" size="256" sumtext="astlib,병동병실코드구분,1:병동조회"/>
  485. <Column id="alladdyn" type="STRING" size="256" sumtext="검사살전체선택"/>
  486. <Column id="flag" type="STRING" size="256" sumtext="검사살전체선택"/>
  487. <Column id="baseroomflag" type="STRING" size="256" sumtext="검사실구분코드"/>
  488. <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
  489. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실그룹코드"/>
  490. <Column id="ebasecdflag" type="STRING" size="256" sumtext="실시자기본코드구분"/>
  491. </ColumnInfo>
  492. <Rows>
  493. <Row/>
  494. </Rows>
  495. </Dataset>
  496. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  497. <ColumnInfo>
  498. <Column id="suppdeptcd" type="STRING" size="256"/>
  499. <Column id="srchdate" type="STRING" size="256"/>
  500. <Column id="srchioflag" type="STRING" size="256"/>
  501. <Column id="srchstatsflag" type="STRING" size="256"/>
  502. <Column id="excuroomgrpcdid" type="STRING" size="256"/>
  503. <Column id="excuroomcdid" type="STRING" size="256"/>
  504. <Column id="srchseanflag" type="STRING" size="256"/>
  505. <Column id="srchflag" type="STRING" size="256"/>
  506. </ColumnInfo>
  507. <Rows>
  508. <Row>
  509. <Col id="srchstatsflag">A</Col>
  510. <Col id="srchioflag">A</Col>
  511. <Col id="srchflag">D</Col>
  512. <Col id="srchseanflag">G</Col>
  513. </Row>
  514. </Rows>
  515. </Dataset>
  516. </Objects>
  517. <Bind>
  518. <BindItem id="item0" compid="grp_sea.cmb_statsflag" propid="value" datasetid="ds_send" columnid="srchstatsflag"/>
  519. <BindItem id="item1" compid="grp_sea.input4" propid="value" datasetid="ds_send" columnid="srchdate"/>
  520. <BindItem id="item2" compid="grp_sea.radio2" propid="value" datasetid="ds_send" columnid="srchioflag"/>
  521. <BindItem id="item3" compid="grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcdid"/>
  522. <BindItem id="item4" compid="grp_sea.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="excuroomgrpcdid"/>
  523. <BindItem id="item5" compid="rdo_srchioflag" propid="value" datasetid="ds_send" columnid="srchseanflag"/>
  524. </Bind>
  525. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  526. * System Name :
  527. * Job Name :
  528. * Creator :
  529. * Make Date : 2015-11-13
  530. * Description :
  531. *---------------------------------------------------------------------------------------
  532. * Modify Date Modifier Modify Description
  533. *---------------------------------------------------------------------------------------
  534. * 2015-11-13 Live Converter TF->XP
  535. *
  536. *---------------------------------------------------------------------------------------
  537. ****************************************************************************************/
  538. include "com_commonxp::comm_main.xjs";
  539. include "ast_examcurexp::AEZ0001.xjs";
  540. var vSuppdeptcd;
  541. function SMAES04400_oninit(obj:Form, e:InitEventInfo)
  542. {
  543. frmf_initForm(obj);
  544. }
  545. function SMAES04400_onload(obj:Form, e:LoadEventInfo)
  546. {
  547. grdf_initGrid(switch1.case1.grd_daylist);
  548. grdf_initGrid(switch1.case2.grd_monthlist);
  549. grdf_initGrid(switch1.case3.grd_qurtlist);
  550. grdf_initGrid(switch1.case4.grd_yearlist);
  551. lf_aezfSetSuppDeptcd();
  552. vSuppdeptcd = frmf_getPrestDeptCd();
  553. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  554. ds_send.setColumn(0, "srchdate", String(utlf_getCurrentDate()).substr(0,6));
  555. ds_send.setColumn(0, "srchstatsflag", "A");
  556. ds_send.setColumn(0, "srchioflag", "A");
  557. ds_req.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
  558. switch1.tabindex = 0;
  559. dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,baseroomflag:1,srchflag:A");
  560. var oParam = {};
  561. oParam.id = "TRAES09001";
  562. oParam.service = "examcurestatsapp.NmedStats";
  563. oParam.method = "reqGetCode";
  564. oParam.inds = "req=ds_req";
  565. oParam.outds = "ds_init_initexcuroomgrp=initexcuroomgrp";
  566. oParam.async = false;
  567. //oParam.callback = "cf_TRAES09001";
  568. tranf_submit(oParam);
  569. frmf_addComboItem("grp_sea.cmb_excuroomgrp","--전체--","","above");
  570. grp_sea.cmb_excuroomgrp.index = 0;
  571. setTitle();
  572. rdo_srchioflag.visible = false;
  573. }
  574. function setTitle()
  575. {
  576. var srchstatsflag = ds_send.getColumn(0, "srchstatsflag");
  577. var baseDate = ds_send.getColumn(0, "srchdate") + "01";
  578. ds_main_list_item.clearData();
  579. if(srchstatsflag == "S")
  580. {
  581. switch1.case1.grd_daylist.setCellProperty("Head", 34, "text", "합계");
  582. switch1.case2.grd_monthlist.setCellProperty("Head", 4, "text", "합계");
  583. switch1.case2.grd_monthlist.setCellProperty("Head", 5, "text", "전년도합계");
  584. switch1.case3.grd_qurtlist.setCellProperty("Head", 10, "text", "환자수");
  585. switch1.case3.grd_qurtlist.setCellProperty("Head", 11, "text", "증감율");
  586. switch1.case3.grd_qurtlist.setCellProperty("Head", 12, "text", "환자수");
  587. switch1.case3.grd_qurtlist.setCellProperty("Head", 13, "text", "증감율");
  588. switch1.case3.grd_qurtlist.setCellProperty("Head", 14, "text", "환자수");
  589. switch1.case3.grd_qurtlist.setCellProperty("Head", 15, "text", "증감율");
  590. switch1.case3.grd_qurtlist.setCellProperty("Head", 16, "text", "환자수");
  591. switch1.case3.grd_qurtlist.setCellProperty("Head", 17, "text", "증감율");
  592. switch1.case3.grd_qurtlist.setCellProperty("Head", 7, "text", "합계");
  593. switch1.case3.grd_qurtlist.setCellProperty("Head", 8, "text", "전년도합계");
  594. switch1.case4.grd_yearlist.setCellProperty("Head", 8, "text", "합계");
  595. switch1.case4.grd_yearlist.setCellProperty("Head", 9, "text", "전년도합계");
  596. }
  597. else if(srchstatsflag == "A")
  598. {
  599. switch1.case1.grd_daylist.setCellProperty("Head", 34, "text", "가동율");
  600. switch1.case2.grd_monthlist.setCellProperty("Head", 4, "text", "평균가동율");
  601. switch1.case2.grd_monthlist.setCellProperty("Head", 5, "text", "전년도가동율");
  602. switch1.case3.grd_qurtlist.setCellProperty("Head", 10, "text", "가동율");
  603. switch1.case3.grd_qurtlist.setCellProperty("Head", 11, "text", "증감율");
  604. switch1.case3.grd_qurtlist.setCellProperty("Head", 12, "text", "가동율");
  605. switch1.case3.grd_qurtlist.setCellProperty("Head", 13, "text", "증감율");
  606. switch1.case3.grd_qurtlist.setCellProperty("Head", 14, "text", "가동율");
  607. switch1.case3.grd_qurtlist.setCellProperty("Head", 15, "text", "증감율");
  608. switch1.case3.grd_qurtlist.setCellProperty("Head", 16, "text", "가동율");
  609. switch1.case3.grd_qurtlist.setCellProperty("Head", 17, "text", "증감율");
  610. switch1.case3.grd_qurtlist.setCellProperty("Head", 7, "text", "평균가동율");
  611. switch1.case3.grd_qurtlist.setCellProperty("Head", 8, "text", "전년도가동율");
  612. switch1.case4.grd_yearlist.setCellProperty("Head", 8, "text", "평균가동율");
  613. switch1.case4.grd_yearlist.setCellProperty("Head", 9, "text", "전년도가동율");
  614. }
  615. else
  616. {
  617. switch1.case1.grd_daylist.setCellProperty("Head", 34, "text", "합계");
  618. switch1.case2.grd_monthlist.setCellProperty("Head", 4, "text", "합계");
  619. switch1.case2.grd_monthlist.setCellProperty("Head", 5, "text", "전년도합계");
  620. switch1.case3.grd_qurtlist.setCellProperty("Head", 10, "text", "환자수");
  621. switch1.case3.grd_qurtlist.setCellProperty("Head", 11, "text", "증감율");
  622. switch1.case3.grd_qurtlist.setCellProperty("Head", 12, "text", "환자수");
  623. switch1.case3.grd_qurtlist.setCellProperty("Head", 13, "text", "증감율");
  624. switch1.case3.grd_qurtlist.setCellProperty("Head", 14, "text", "환자수");
  625. switch1.case3.grd_qurtlist.setCellProperty("Head", 15, "text", "증감율");
  626. switch1.case3.grd_qurtlist.setCellProperty("Head", 16, "text", "환자수");
  627. switch1.case3.grd_qurtlist.setCellProperty("Head", 17, "text", "증감율");
  628. switch1.case3.grd_qurtlist.setCellProperty("Head", 7, "text", "합계");
  629. switch1.case3.grd_qurtlist.setCellProperty("Head", 8, "text", "전년도합계");
  630. switch1.case4.grd_yearlist.setCellProperty("Head", 8, "text", "합계");
  631. switch1.case4.grd_yearlist.setCellProperty("Head", 9, "text", "전년도합계");
  632. }
  633. var sDayCnt = baseDate.toDate().getMonthDay();
  634. var baseYear = baseDate.substr(0,4);
  635. if(sDayCnt > 30)
  636. {
  637. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
  638. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
  639. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 38);
  640. }
  641. else if(sDayCnt == 29)
  642. {
  643. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
  644. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
  645. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
  646. }
  647. else if(sDayCnt < 29)
  648. {
  649. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 0);
  650. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
  651. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
  652. }
  653. else
  654. {
  655. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
  656. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
  657. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
  658. }
  659. switch1.case2.grd_monthlist.setCellProperty("Head", 3, "text", baseYear);
  660. for(var i = 7; i > 3; i--)
  661. {
  662. switch1.case4.grd_yearlist.setCellProperty("Head", i, "text", baseYear);
  663. baseYear = parseInt(baseYear)-1;
  664. }
  665. }
  666. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  667. {
  668. getNmedSytsStatsCaseList();
  669. }
  670. function getNmedSytsStatsCaseList()
  671. {
  672. if(switch1.tabindex == 0)
  673. {
  674. ds_send.setColumn(0, "srchflag", "D");
  675. }
  676. else if(switch1.tabindex == 1)
  677. {
  678. ds_send.setColumn(0, "srchflag", "M");
  679. }
  680. else if(switch1.tabindex == 2)
  681. {
  682. ds_send.setColumn(0, "srchflag", "Q");
  683. }
  684. else if(switch1.tabindex == 3)
  685. {
  686. ds_send.setColumn(0, "srchflag", "Y");
  687. }
  688. ds_main_list_item.clearData();
  689. var oParam = {};
  690. oParam.id = "TRAES04401";
  691. oParam.service = "examcurestatsapp.NmedStats";
  692. oParam.method = "reqGetNmedEqmtSytsStatsCaseList";
  693. oParam.inds = "req=ds_send";
  694. oParam.outds = "ds_main_list_item=item";
  695. oParam.async = false;
  696. oParam.callback = "cf_TRAES04401";
  697. tranf_submit(oParam);
  698. }
  699. function cf_TRAES04401(sSvcId, nErrorCode, sErrorMsg)
  700. {
  701. if(nErrorCode < 0)
  702. {
  703. return;
  704. }
  705. else
  706. {
  707. var cnt = ds_main_list_item.rowcount;
  708. if (cnt > 1)
  709. {
  710. var srchstatsflag = ds_send.getColumn(0, "srchstatsflag");
  711. }
  712. }
  713. }
  714. function grp_sea_cmb_statsflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  715. {
  716. setTitle();
  717. }
  718. function grp_sea_input4_onchanged(obj:Calendar, e:ChangeEventInfo)
  719. {
  720. ds_send.setColumn(0, "srchdate", String(obj.value).substr(0,6))
  721. setTitle();
  722. }
  723. function grp_sea_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  724. {
  725. var excuroomgrpcdid = obj.value;
  726. if (utlf_isNull(excuroomgrpcdid))
  727. {
  728. grp_sea.cmb_excuroom.enable = false;
  729. }
  730. else
  731. {
  732. grp_sea.cmb_excuroom.enable = true;
  733. }
  734. ds_req.setColumn(0, "excuroomgrpcdid", excuroomgrpcdid);
  735. ds_req.setColumn(0, "basecdcnts", excuroomgrpcdid);
  736. dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,flag:nuclear,baseroomflag:1,srchflag:P,ebasecdflag:E");
  737. var oParam = {};
  738. oParam.id = "TRAEA01418";
  739. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  740. oParam.method = "reqGetInitNuclExamCureInfo";
  741. oParam.inds = "reqparam=ds_req";
  742. oParam.outds = "ds_init_cmb_info_excuroom_initexcuroom=initexcuroom";
  743. oParam.async = false;
  744. //oParam.callback = "cf_TRAEA01418";
  745. tranf_submit(oParam);
  746. ds_main_list_item.clearData();
  747. }
  748. function grp_sea_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  749. {
  750. getNmedSytsStatsCaseList();
  751. }
  752. function grp_sea_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  753. {
  754. getNmedSytsStatsCaseList();
  755. }
  756. function rdo_srchioflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  757. {
  758. getNmedSytsStatsCaseList();
  759. }
  760. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  761. {
  762. if(obj.tabindex == 0)
  763. {
  764. ds_main_list_item.clearData();
  765. rdo_srchioflag.visible = false;
  766. getNmedSytsStatsCaseList();
  767. }
  768. else if(obj.tabindex == 1)
  769. {
  770. ds_main_list_item.clearData();
  771. rdo_srchioflag.visible = false;
  772. getNmedSytsStatsCaseList();
  773. }
  774. else if(obj.tabindex == 2)
  775. {
  776. ds_main_list_item.clearData();
  777. rdo_srchioflag.visible = true;
  778. getNmedSytsStatsCaseList();
  779. }
  780. else if(obj.tabindex == 3)
  781. {
  782. ds_main_list_item.clearData();
  783. rdo_srchioflag.visible = false;
  784. getNmedSytsStatsCaseList();
  785. }
  786. }
  787. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  788. {
  789. if(switch1.tabindex == 0)
  790. {
  791. grdf_exportExcel(switch1.case1.grd_daylist, "", "see");
  792. }
  793. else if(switch1.tabindex == 1)
  794. {
  795. grdf_exportExcel(switch1.case2.grd_monthlist, "", "");
  796. }
  797. else if(switch1.tabindex == 2)
  798. {
  799. grdf_exportExcel(switch1.case3.grd_qurtlist, "", "");
  800. }
  801. else if(switch1.tabindex == 3)
  802. {
  803. grdf_exportExcel(switch1.case4.grd_yearlist, "", "");
  804. }
  805. }
  806. ]]></Script>
  807. </Form>
  808. </FDL>