SMAES05400_핵의학체내병실가동율통계.xfdl 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES05400" position="absolute 0 0 1204 731" titletext="치료 병실 가동율 통계" oninit="SMAES05400_oninit" onload="SMAES05400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 65 1195 722" 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 12 1192 626" anchor="all">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="23"/>
  17. <Column size="80"/>
  18. <Column size="80"/>
  19. <Column size="39"/>
  20. <Column size="39"/>
  21. <Column size="39"/>
  22. <Column size="39"/>
  23. <Column size="39"/>
  24. <Column size="39"/>
  25. <Column size="39"/>
  26. <Column size="39"/>
  27. <Column size="39"/>
  28. <Column size="39"/>
  29. <Column size="39"/>
  30. <Column size="39"/>
  31. <Column size="39"/>
  32. <Column size="39"/>
  33. <Column size="39"/>
  34. <Column size="39"/>
  35. <Column size="39"/>
  36. <Column size="39"/>
  37. <Column size="39"/>
  38. <Column size="39"/>
  39. <Column size="39"/>
  40. <Column size="39"/>
  41. <Column size="39"/>
  42. <Column size="39"/>
  43. <Column size="39"/>
  44. <Column size="39"/>
  45. <Column size="39"/>
  46. <Column size="39"/>
  47. <Column size="39"/>
  48. <Column size="39"/>
  49. <Column size="39"/>
  50. <Column size="60"/>
  51. </Columns>
  52. <Rows>
  53. <Row size="24" band="head"/>
  54. <Row size="24"/>
  55. <Row size="24" band="summ"/>
  56. </Rows>
  57. <Band id="head">
  58. <Cell/>
  59. <Cell col="1" text="구분"/>
  60. <Cell col="2" text="병실"/>
  61. <Cell col="3" text="1일"/>
  62. <Cell col="4" text="2일"/>
  63. <Cell col="5" text="3일"/>
  64. <Cell col="6" text="4일"/>
  65. <Cell col="7" text="5일"/>
  66. <Cell col="8" text="6일"/>
  67. <Cell col="9" text="7일"/>
  68. <Cell col="10" text="8일"/>
  69. <Cell col="11" text="9일"/>
  70. <Cell col="12" text="10일"/>
  71. <Cell col="13" text="11일"/>
  72. <Cell col="14" text="12일"/>
  73. <Cell col="15" text="13일"/>
  74. <Cell col="16" text="14일"/>
  75. <Cell col="17" text="15일"/>
  76. <Cell col="18" text="16일"/>
  77. <Cell col="19" text="17일"/>
  78. <Cell col="20" text="18일"/>
  79. <Cell col="21" text="19일"/>
  80. <Cell col="22" text="20일"/>
  81. <Cell col="23" text="21일"/>
  82. <Cell col="24" text="22일"/>
  83. <Cell col="25" text="23일"/>
  84. <Cell col="26" text="24일"/>
  85. <Cell col="27" text="25일"/>
  86. <Cell col="28" text="26일"/>
  87. <Cell col="29" text="27일"/>
  88. <Cell col="30" text="28일"/>
  89. <Cell col="31" text="29일"/>
  90. <Cell col="32" text="30일"/>
  91. <Cell col="33" text="31일"/>
  92. <Cell col="34" text="합계"/>
  93. </Band>
  94. <Band id="body">
  95. <Cell celltype="head" expr="currow+1"/>
  96. <Cell col="1" text="bind:systkey1"/>
  97. <Cell col="2" text="bind:systkey2"/>
  98. <Cell col="3" displaytype="number" text="bind:item01"/>
  99. <Cell col="4" displaytype="number" text="bind:item02"/>
  100. <Cell col="5" displaytype="number" text="bind:item03"/>
  101. <Cell col="6" displaytype="number" text="bind:item04"/>
  102. <Cell col="7" displaytype="number" text="bind:item05"/>
  103. <Cell col="8" displaytype="number" text="bind:item06"/>
  104. <Cell col="9" displaytype="number" text="bind:item07"/>
  105. <Cell col="10" displaytype="number" text="bind:item08"/>
  106. <Cell col="11" displaytype="number" text="bind:item09"/>
  107. <Cell col="12" displaytype="number" text="bind:item10"/>
  108. <Cell col="13" displaytype="number" text="bind:item11"/>
  109. <Cell col="14" displaytype="number" text="bind:item12"/>
  110. <Cell col="15" displaytype="number" text="bind:item13"/>
  111. <Cell col="16" displaytype="number" text="bind:item14"/>
  112. <Cell col="17" displaytype="number" text="bind:item15"/>
  113. <Cell col="18" displaytype="number" text="bind:item16"/>
  114. <Cell col="19" displaytype="number" text="bind:item17"/>
  115. <Cell col="20" displaytype="number" text="bind:item18"/>
  116. <Cell col="21" displaytype="number" text="bind:item19"/>
  117. <Cell col="22" displaytype="number" text="bind:item20"/>
  118. <Cell col="23" displaytype="number" text="bind:item21"/>
  119. <Cell col="24" displaytype="number" text="bind:item22"/>
  120. <Cell col="25" displaytype="number" text="bind:item23"/>
  121. <Cell col="26" displaytype="number" text="bind:item24"/>
  122. <Cell col="27" displaytype="number" text="bind:item25"/>
  123. <Cell col="28" displaytype="number" text="bind:item26"/>
  124. <Cell col="29" displaytype="number" text="bind:item27"/>
  125. <Cell col="30" displaytype="number" text="bind:item28"/>
  126. <Cell col="31" displaytype="number" text="bind:item29"/>
  127. <Cell col="32" displaytype="number" text="bind:item30"/>
  128. <Cell col="33" displaytype="number" text="bind:item31"/>
  129. <Cell col="34" displaytype="number" text="bind:total"/>
  130. </Band>
  131. <Band id="summary">
  132. <Cell/>
  133. <Cell col="1" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
  134. <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
  135. <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
  136. <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
  137. <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
  138. <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
  139. <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item06')"/>
  140. <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item07')"/>
  141. <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item08')"/>
  142. <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item09')"/>
  143. <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item10')"/>
  144. <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item11')"/>
  145. <Cell col="14" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item12')"/>
  146. <Cell col="15" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item13')"/>
  147. <Cell col="16" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item14')"/>
  148. <Cell col="17" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item15')"/>
  149. <Cell col="18" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item16')"/>
  150. <Cell col="19" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item17')"/>
  151. <Cell col="20" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item18')"/>
  152. <Cell col="21" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item19')"/>
  153. <Cell col="22" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item20')"/>
  154. <Cell col="23" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item21')"/>
  155. <Cell col="24" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item22')"/>
  156. <Cell col="25" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item23')"/>
  157. <Cell col="26" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item24')"/>
  158. <Cell col="27" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item25')"/>
  159. <Cell col="28" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item26')"/>
  160. <Cell col="29" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item27')"/>
  161. <Cell col="30" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item28')"/>
  162. <Cell col="31" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item29')"/>
  163. <Cell col="32" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item30')"/>
  164. <Cell col="33" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item31')"/>
  165. <Cell col="34" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('itemtotal')"/>
  166. </Band>
  167. </Format>
  168. <Format id="format_copy"/>
  169. </Formats>
  170. </Grid>
  171. </Layout>
  172. </Layouts>
  173. </Tabpage>
  174. <Tabpage id="case2" text="월별">
  175. <Layouts>
  176. <Layout>
  177. <Grid id="grd_monthlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 12 1192 626" anchor="all" autofittype="col" cellsizingtype="col">
  178. <Formats>
  179. <Format id="default">
  180. <Columns>
  181. <Column size="24"/>
  182. <Column size="100"/>
  183. <Column size="100"/>
  184. <Column size="49"/>
  185. <Column size="49"/>
  186. <Column size="49"/>
  187. <Column size="49"/>
  188. <Column size="49"/>
  189. <Column size="49"/>
  190. <Column size="49"/>
  191. <Column size="49"/>
  192. <Column size="49"/>
  193. <Column size="49"/>
  194. <Column size="49"/>
  195. <Column size="49"/>
  196. <Column size="80"/>
  197. <Column size="80"/>
  198. <Column size="80"/>
  199. </Columns>
  200. <Rows>
  201. <Row size="24" band="head"/>
  202. <Row size="24" band="head"/>
  203. <Row size="24"/>
  204. <Row size="24" band="summ"/>
  205. </Rows>
  206. <Band id="head">
  207. <Cell rowspan="2" taborder="undefined"/>
  208. <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
  209. <Cell col="2" rowspan="2" text="병실" taborder="undefined"/>
  210. <Cell col="3" colspan="12" text="2006년" taborder="undefined"/>
  211. <Cell col="15" rowspan="2" text="당해년도&#10;가동율" taborder="undefined"/>
  212. <Cell col="16" rowspan="2" text="전년도&#10;가동율" taborder="undefined"/>
  213. <Cell col="17" rowspan="2" text="증감율" taborder="undefined"/>
  214. <Cell row="1" col="3" text="1월"/>
  215. <Cell row="1" col="4" text="2월"/>
  216. <Cell row="1" col="5" text="3월"/>
  217. <Cell row="1" col="6" text="4월"/>
  218. <Cell row="1" col="7" text="5월"/>
  219. <Cell row="1" col="8" text="6월"/>
  220. <Cell row="1" col="9" text="7월"/>
  221. <Cell row="1" col="10" text="8월"/>
  222. <Cell row="1" col="11" text="9월"/>
  223. <Cell row="1" col="12" text="10월"/>
  224. <Cell row="1" col="13" text="11월"/>
  225. <Cell row="1" col="14" text="12월"/>
  226. </Band>
  227. <Band id="body">
  228. <Cell celltype="head" expr="currow+1"/>
  229. <Cell col="1" text="bind:systkey1"/>
  230. <Cell col="2" text="bind:systkey2"/>
  231. <Cell col="3" displaytype="number" text="bind:item01"/>
  232. <Cell col="4" displaytype="number" text="bind:item02"/>
  233. <Cell col="5" displaytype="number" text="bind:item03"/>
  234. <Cell col="6" displaytype="number" text="bind:item04"/>
  235. <Cell col="7" displaytype="number" text="bind:item05"/>
  236. <Cell col="8" displaytype="number" text="bind:item06"/>
  237. <Cell col="9" displaytype="number" text="bind:item07"/>
  238. <Cell col="10" displaytype="number" text="bind:item08"/>
  239. <Cell col="11" displaytype="number" text="bind:item09"/>
  240. <Cell col="12" displaytype="number" text="bind:item10"/>
  241. <Cell col="13" displaytype="number" text="bind:item11"/>
  242. <Cell col="14" displaytype="number" text="bind:item12"/>
  243. <Cell col="15" displaytype="number" text="bind:total"/>
  244. <Cell col="16" displaytype="number" text="bind:comparecnt"/>
  245. <Cell col="17" displaytype="number" text="bind:comparerate"/>
  246. </Band>
  247. <Band id="summary">
  248. <Cell/>
  249. <Cell col="1" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
  250. <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
  251. <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
  252. <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
  253. <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
  254. <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
  255. <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item06')"/>
  256. <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item07')"/>
  257. <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item08')"/>
  258. <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item09')"/>
  259. <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item10')"/>
  260. <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item11')"/>
  261. <Cell col="14" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item12')"/>
  262. <Cell col="15" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
  263. <Cell col="16" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
  264. <Cell col="17" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
  265. </Band>
  266. </Format>
  267. </Formats>
  268. </Grid>
  269. </Layout>
  270. </Layouts>
  271. </Tabpage>
  272. <Tabpage id="case3" text="분기별">
  273. <Layouts>
  274. <Layout>
  275. <Grid id="grd_qurtlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 12 1192 626" autofittype="col" cellsizingtype="col" anchor="all">
  276. <Formats>
  277. <Format id="default">
  278. <Columns>
  279. <Column size="27"/>
  280. <Column size="100"/>
  281. <Column size="100"/>
  282. <Column size="73"/>
  283. <Column size="73"/>
  284. <Column size="73"/>
  285. <Column size="73"/>
  286. <Column size="73"/>
  287. <Column size="73"/>
  288. <Column size="73"/>
  289. <Column size="73"/>
  290. <Column size="73"/>
  291. <Column size="73"/>
  292. <Column size="73"/>
  293. </Columns>
  294. <Rows>
  295. <Row size="24" band="head"/>
  296. <Row size="24" band="head"/>
  297. <Row size="24"/>
  298. <Row size="24" band="summ"/>
  299. </Rows>
  300. <Band id="head">
  301. <Cell rowspan="2" taborder="undefined"/>
  302. <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
  303. <Cell col="2" rowspan="2" text="병실" taborder="undefined"/>
  304. <Cell col="3" colspan="2" text="1분기" taborder="undefined"/>
  305. <Cell col="5" colspan="2" text="2분기" taborder="undefined"/>
  306. <Cell col="7" colspan="2" text="3분기" taborder="undefined"/>
  307. <Cell col="9" colspan="2" text="4분기" taborder="undefined"/>
  308. <Cell col="11" rowspan="2" text="합계" taborder="undefined"/>
  309. <Cell col="12" rowspan="2" text="전년도합계" taborder="undefined"/>
  310. <Cell col="13" rowspan="2" text="증감율" taborder="undefined"/>
  311. <Cell row="1" col="3" text="가동율"/>
  312. <Cell row="1" col="4" text="증감율"/>
  313. <Cell row="1" col="5" text="가동율"/>
  314. <Cell row="1" col="6" text="증감율"/>
  315. <Cell row="1" col="7" text="가동율"/>
  316. <Cell row="1" col="8" text="증감율"/>
  317. <Cell row="1" col="9" text="가동율"/>
  318. <Cell row="1" col="10" text="증감율"/>
  319. </Band>
  320. <Band id="body">
  321. <Cell celltype="head" expr="currow+1"/>
  322. <Cell col="1" text="bind:systkey1"/>
  323. <Cell col="2" text="bind:systkey2"/>
  324. <Cell col="3" displaytype="number" text="bind:item01"/>
  325. <Cell col="4" displaytype="number" text="bind:item02"/>
  326. <Cell col="5" displaytype="number" text="bind:item03"/>
  327. <Cell col="6" displaytype="number" text="bind:item04"/>
  328. <Cell col="7" displaytype="number" text="bind:item05"/>
  329. <Cell col="8" displaytype="number" text="bind:item06"/>
  330. <Cell col="9" displaytype="number" text="bind:item07"/>
  331. <Cell col="10" displaytype="number" text="bind:item08"/>
  332. <Cell col="11" displaytype="number" text="bind:total"/>
  333. <Cell col="12" displaytype="number" text="bind:comparecnt"/>
  334. <Cell col="13" displaytype="number" text="bind:comparerate"/>
  335. </Band>
  336. <Band id="summary">
  337. <Cell/>
  338. <Cell col="1" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
  339. <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
  340. <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item01') - getSum('item09')) / getSum('item09')) * 100)"/>
  341. <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;"/>
  342. <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item03') - getSum('item10')) / getSum('item10')) * 100)"/>
  343. <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;"/>
  344. <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item05') - getSum('item11')) / getSum('item11')) * 100)"/>
  345. <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;"/>
  346. <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item07') - getSum('item12')) / getSum('item12')) * 100)"/>
  347. <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
  348. <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
  349. <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
  350. </Band>
  351. </Format>
  352. </Formats>
  353. </Grid>
  354. </Layout>
  355. </Layouts>
  356. </Tabpage>
  357. <Tabpage id="case4" text="년도별">
  358. <Layouts>
  359. <Layout>
  360. <Grid id="grd_yearlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 12 1192 626" anchor="all" cellsizingtype="col" autofittype="col">
  361. <Formats>
  362. <Format id="default">
  363. <Columns>
  364. <Column size="22"/>
  365. <Column size="100"/>
  366. <Column size="100"/>
  367. <Column size="100"/>
  368. <Column size="100"/>
  369. <Column size="100"/>
  370. <Column size="100"/>
  371. <Column size="100"/>
  372. <Column size="100"/>
  373. <Column size="100"/>
  374. <Column size="100"/>
  375. </Columns>
  376. <Rows>
  377. <Row size="24" band="head"/>
  378. <Row size="24"/>
  379. <Row size="24" band="summ"/>
  380. </Rows>
  381. <Band id="head">
  382. <Cell/>
  383. <Cell col="1" text="구분"/>
  384. <Cell col="2" text="병실"/>
  385. <Cell col="3" text="2005년"/>
  386. <Cell col="4" text="2006년"/>
  387. <Cell col="5" text="2007년"/>
  388. <Cell col="6" text="2008년"/>
  389. <Cell col="7" text="2009년"/>
  390. <Cell col="8" text="합계"/>
  391. <Cell col="9" text="비교기간"/>
  392. <Cell col="10" text="증감율"/>
  393. </Band>
  394. <Band id="body">
  395. <Cell celltype="head" expr="currow+1"/>
  396. <Cell col="1" text="bind:systkey1"/>
  397. <Cell col="2" text="bind:systkey2"/>
  398. <Cell col="3" displaytype="number" text="bind:item01"/>
  399. <Cell col="4" displaytype="number" text="bind:item02"/>
  400. <Cell col="5" displaytype="number" text="bind:item03"/>
  401. <Cell col="6" displaytype="number" text="bind:item04"/>
  402. <Cell col="7" displaytype="number" text="bind:item05"/>
  403. <Cell col="8" displaytype="number" text="bind:total"/>
  404. <Cell col="9" displaytype="number" text="bind:comparecnt"/>
  405. <Cell col="10" displaytype="number" text="bind:comparerate"/>
  406. </Band>
  407. <Band id="summary">
  408. <Cell/>
  409. <Cell col="1" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
  410. <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
  411. <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
  412. <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
  413. <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
  414. <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
  415. <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
  416. <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
  417. <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
  418. </Band>
  419. </Format>
  420. </Formats>
  421. </Grid>
  422. </Layout>
  423. </Layouts>
  424. </Tabpage>
  425. </Tabpages>
  426. </Tab>
  427. <Static id="caption6" text="치료 병실 가동율 통계" class="tit_1" position="absolute 0 0 263 23"/>
  428. <Shape id="line1" class="line_10" position="absolute 0 99 1195 105" anchor="left top right"/>
  429. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1115 68 1195 87" anchor="top right" onclick="btn_excsave_onclick"/>
  430. <Div id="grp_sea" taborder="3" class="div_SA" position="absolute 0 24 1195 54" anchor="left top right">
  431. <Layouts>
  432. <Layout>
  433. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 5 1113 25" anchor="top right"/>
  434. <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 1120 4 1176 26" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  435. <Static id="caption3" text="기준년월 :" class="search_name" position="absolute 15 7 101 24" anchor="default"/>
  436. <Calendar id="input4" taborder="2" class="input_default" position="absolute 105 6 195 25" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" autoselect="true" onchanged="grp_sea_input4_onchanged"/>
  437. </Layout>
  438. </Layouts>
  439. </Div>
  440. </Layout>
  441. </Layouts>
  442. <Objects>
  443. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  444. <ColumnInfo>
  445. <Column id="srchdate" type="STRING" size="256"/>
  446. <Column id="suppdeptcd" type="STRING" size="256"/>
  447. <Column id="srchflag" type="STRING" size="256"/>
  448. <Column id="srchstatsflag" type="STRING" size="256"/>
  449. <Column id="excuroomgrpcdid" type="STRING" size="256"/>
  450. <Column id="excuroomcdid" type="STRING" size="256"/>
  451. <Column id="srchioflag" type="STRING" size="256"/>
  452. <Column id="srchseanflag" type="STRING" size="256"/>
  453. </ColumnInfo>
  454. <Rows>
  455. <Row>
  456. <Col id="srchstatsflag">A</Col>
  457. <Col id="srchflag">D</Col>
  458. <Col id="srchioflag">A</Col>
  459. <Col id="srchseanflag">G</Col>
  460. </Row>
  461. </Rows>
  462. </Dataset>
  463. <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  464. <ColumnInfo>
  465. <Column id="systkey1" type="STRING" size="256" sumtext="구분1"/>
  466. <Column id="systkey2" type="STRING" size="256" sumtext="구분2"/>
  467. <Column id="systkey3" type="STRING" size="256" sumtext="구분2"/>
  468. <Column id="item01" type="INT" size="256" sumtext="1일"/>
  469. <Column id="item02" type="INT" size="256" sumtext="2일"/>
  470. <Column id="item03" type="INT" size="256" sumtext="3일"/>
  471. <Column id="item04" type="INT" size="256" sumtext="4일"/>
  472. <Column id="item05" type="INT" size="256" sumtext="5일"/>
  473. <Column id="item06" type="INT" size="256" sumtext="6일"/>
  474. <Column id="item07" type="INT" size="256" sumtext="7일"/>
  475. <Column id="item08" type="INT" size="256" sumtext="8일"/>
  476. <Column id="item09" type="INT" size="256" sumtext="9일"/>
  477. <Column id="item10" type="INT" size="256" sumtext="10일"/>
  478. <Column id="item11" type="INT" size="256" sumtext="11일"/>
  479. <Column id="item12" type="INT" size="256" sumtext="12일"/>
  480. <Column id="item13" type="INT" size="256" sumtext="13일"/>
  481. <Column id="item14" type="INT" size="256" sumtext="14일"/>
  482. <Column id="item15" type="INT" size="256" sumtext="15일"/>
  483. <Column id="item16" type="INT" size="256" sumtext="16일"/>
  484. <Column id="item17" type="INT" size="256" sumtext="17일"/>
  485. <Column id="item18" type="INT" size="256" sumtext="18일"/>
  486. <Column id="item19" type="INT" size="256" sumtext="19일"/>
  487. <Column id="item20" type="INT" size="256" sumtext="20일"/>
  488. <Column id="item21" type="INT" size="256" sumtext="21일"/>
  489. <Column id="item22" type="INT" size="256" sumtext="22일"/>
  490. <Column id="item23" type="INT" size="256" sumtext="23일"/>
  491. <Column id="item24" type="INT" size="256" sumtext="24일"/>
  492. <Column id="item25" type="INT" size="256" sumtext="25일"/>
  493. <Column id="item26" type="INT" size="256" sumtext="26일"/>
  494. <Column id="item27" type="INT" size="256" sumtext="27일"/>
  495. <Column id="item28" type="INT" size="256" sumtext="28일"/>
  496. <Column id="item29" type="INT" size="256" sumtext="29일"/>
  497. <Column id="item30" type="INT" size="256" sumtext="30일"/>
  498. <Column id="item31" type="INT" size="256" sumtext="31일"/>
  499. <Column id="total" type="INT" size="256" sumtext="합계"/>
  500. <Column id="comparecnt" type="STRING" size="256" sumtext="전년도합계"/>
  501. <Column id="comparerate" type="STRING" size="256" sumtext="증감율"/>
  502. </ColumnInfo>
  503. </Dataset>
  504. <Dataset id="ds_main_sublist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  505. <ColumnInfo>
  506. <Column id="ioflag" type="STRING" size="256" sumtext="IOFLAG"/>
  507. <Column id="drugqty" type="STRING" size="256" sumtext="처방량"/>
  508. <Column id="cnt" type="STRING" size="256" sumtext="건수"/>
  509. <Column id="total" type="STRING" size="256" sumtext="합계"/>
  510. </ColumnInfo>
  511. </Dataset>
  512. </Objects>
  513. <Bind>
  514. <BindItem id="item0" compid="grp_sea.input4" propid="value" datasetid="ds_send" columnid="srchdate"/>
  515. </Bind>
  516. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  517. * System Name :
  518. * Job Name :
  519. * Creator :
  520. * Make Date : 2015-11-13
  521. * Description :
  522. *---------------------------------------------------------------------------------------
  523. * Modify Date Modifier Modify Description
  524. *---------------------------------------------------------------------------------------
  525. * 2015-11-13 Live Converter TF->XP
  526. *
  527. *---------------------------------------------------------------------------------------
  528. ****************************************************************************************/
  529. include "com_commonxp::comm_main.xjs";
  530. include "ast_examcurexp::AEZ0001.xjs";
  531. var vSuppdeptcd;
  532. function SMAES05400_oninit(obj:Form, e:InitEventInfo)
  533. {
  534. frmf_initForm(obj);
  535. }
  536. function SMAES05400_onload(obj:Form, e:LoadEventInfo)
  537. {
  538. grdf_initGrid(switch1.case1.grd_daylist);
  539. grdf_initGrid(switch1.case2.grd_monthlist);
  540. grdf_initGrid(switch1.case3.grd_qurtlist);
  541. grdf_initGrid(switch1.case4.grd_yearlist);
  542. lf_aezfSetSuppDeptcd();
  543. vSuppdeptcd = frmf_getPrestDeptCd();
  544. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  545. ds_send.setColumn(0, "srchdate", String(utlf_getCurrentDate()).substr(0,6));
  546. ds_main_list_item.clearData();
  547. ds_send.setColumn(0, "srchioflag", "A");
  548. setTitle();
  549. }
  550. function setTitle()
  551. {
  552. var baseDate = ds_send.getColumn(0, "srchdate") + "01";
  553. ds_main_list_item.clearData();
  554. var sDayCnt = baseDate.toDate().getMonthDay();
  555. var baseYear = baseDate.substr(0,4);
  556. var dtYearMonth = baseDate.toDate().getAddDate(-4, "Y");
  557. var addYear = "";
  558. var stYear = "";
  559. for (var i = 0; i < 5; i++)
  560. {
  561. addYear = dtYearMonth.getDateFormat("YYYY");
  562. dtYearMonth.getAddDate(1, "Y");
  563. switch1.case4.grd_yearlist.setCellProperty("Head", i+3, "text", addYear+"년")
  564. }
  565. switch1.case2.grd_monthlist.setCellProperty("Head", 3, "text", baseYear+"년");
  566. // stYear = stYear + "합계^비교기간^증감율";
  567. //
  568. // // 일별
  569. // stDay = stHeader + stDay;
  570. // grd_daylist.caption = stDay;
  571. //
  572. // // 월별
  573. // stMonth = stHeader + stMonth;
  574. // grd_monthlist.caption = stMonth;
  575. //
  576. // // 분기별
  577. // stQurt = stHeader + stQurt;
  578. // grd_qurtlist.caption = stQurt;
  579. //
  580. // // 년도별
  581. // stYear = stHeader + stYear;
  582. //grd_yearlist.caption =stYear;
  583. if(sDayCnt > 30)
  584. {
  585. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
  586. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
  587. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 38);
  588. }
  589. else if(sDayCnt == 29)
  590. {
  591. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
  592. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
  593. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
  594. }
  595. else if(sDayCnt < 29)
  596. {
  597. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 0);
  598. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
  599. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
  600. }
  601. else
  602. {
  603. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
  604. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
  605. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
  606. }
  607. }
  608. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  609. {
  610. if(obj.tabindex == 0)
  611. {
  612. ds_main_list_item.clearData();
  613. getNmedSytsStatsCaseList();
  614. }
  615. else if(obj.tabindex == 1)
  616. {
  617. ds_main_list_item.clearData();
  618. getNmedSytsStatsCaseList();
  619. }
  620. else if(obj.tabindex == 2)
  621. {
  622. ds_main_list_item.clearData();
  623. getNmedSytsStatsCaseList();
  624. }
  625. else if(obj.tabindex == 3)
  626. {
  627. ds_main_list_item.clearData();
  628. getNmedSytsStatsCaseList();
  629. }
  630. }
  631. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  632. {
  633. getNmedSytsStatsCaseList();
  634. }
  635. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  636. {
  637. if(switch1.tabindex == 0)
  638. {
  639. grdf_exportExcel(switch1.case1.grd_daylist, "", "");
  640. }
  641. else if(switch1.tabindex == 1)
  642. {
  643. grdf_exportExcel(switch1.case2.grd_monthlist, "", "");
  644. }
  645. else if(switch1.tabindex == 2)
  646. {
  647. grdf_exportExcel(switch1.case3.grd_qurtlist, "", "");
  648. }
  649. else if(switch1.tabindex == 3)
  650. {
  651. grdf_exportExcel(switch1.case4.grd_yearlist, "", "");
  652. }
  653. }
  654. function getNmedSytsStatsCaseList()
  655. {
  656. if(switch1.tabindex == 0)
  657. {
  658. ds_send.setColumn(0, "srchflag", "D");
  659. }
  660. else if(switch1.tabindex == 1)
  661. {
  662. ds_send.setColumn(0, "srchflag", "M");
  663. }
  664. else if(switch1.tabindex == 2)
  665. {
  666. ds_send.setColumn(0, "srchflag", "Q");
  667. }
  668. else if(switch1.tabindex == 3)
  669. {
  670. ds_send.setColumn(0, "srchflag", "Y")
  671. }
  672. ds_main_list_item.clearData();
  673. var oParam = {};
  674. oParam.id = "TRAES05401";
  675. oParam.service = "examcurestatsapp.NmedStats";
  676. oParam.method = "reqGetNmedCureRoomUseRateSytsStatsList";
  677. oParam.inds = "req=ds_send";
  678. oParam.outds = "ds_main_list_item=item ds_main_sublist=sublist";
  679. oParam.async = false;
  680. //oParam.callback = "cf_TRAES05401";
  681. tranf_submit(oParam);
  682. }
  683. function grp_sea_input4_onchanged(obj:Calendar, e:ChangeEventInfo)
  684. {
  685. setTitle();
  686. }
  687. ]]></Script>
  688. </Form>
  689. </FDL>