SMLBS00800_수혈부작용건수.xfdl 72 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="workform" position="absolute 0 0 1256 805" titletext="수혈부작용건수" onload="workform_onload" oninit="workform_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" position="absolute 0 25 1256 802" anchor="all" positiontype="position">
  8. <Layouts>
  9. <Layout>
  10. <Div id="group1" position="absolute 0 0 1256 42" anchor="left top right" class="div_SA" positiontype="position">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption5" class="search_name" position="absolute 296 10 370 30" anchor="default" text="입외구분" positiontype="position"/>
  14. <Static id="caption4" class="search_name" position="absolute 8 11 56 31" anchor="default" text="일자 :" positiontype="position"/>
  15. <Combo id="cmb_rtnabnflag" position="absolute 370 10 472 30" anchor="default" innerdataset="@ds_cond_iogbn" codecolumn="value" datacolumn="label" index="0" value="1" text="전체" positiontype="position"/>
  16. <Static id="caption7" class="search_name" position="absolute 496 10 544 30" anchor="default" text="분류" positiontype="position"/>
  17. <Combo id="cmb_viewgbn" position="absolute 544 10 689 30" anchor="default" onclick="cmb_viewgbn_onclick" innerdataset="@ds_cond_viewgbn" codecolumn="value" datacolumn="label" index="1" value="2" text="혈액종류별" ondropdown="group3_group1_cmb_viewgbn_ondropdown" positiontype="position"/>
  18. <Button id="btn_ref" class="btn1" position="absolute 1188 10 1244 30" anchor="top right" text="조회" onlbuttonup="btn_ref_onlbuttonup" positiontype="position" onclick="group3_group1_btn_ref_onclick"/>
  19. <Static id="caption9" text="~" position="absolute 136 12 152 32" style="align:center middle;" anchor="default"/>
  20. <Calendar id="cp_workfromdd" taborder="3" class="input_search" position="absolute 58 11 134 30" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
  21. <Calendar id="cp_worktodd" taborder="4" class="input_search" position="absolute 156 11 232 30" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
  22. </Layout>
  23. </Layouts>
  24. </Div>
  25. <Tab id="switch1" position="absolute 0 52 1256 777" anchor="all" onchanged="group3_switch1_onchanged" positiontype="position">
  26. <Tabpages>
  27. <Tabpage id="dd" text="일별 통계">
  28. <Layouts>
  29. <Layout>
  30. <Static id="caption32" class="tit_2" position="absolute 1 2 153 18" anchor="default" text="일별 수혈부작용 건수" style="align:left top;" positiontype="position"/>
  31. <Grid id="grd_days" position="absolute 0 20 1256 698" anchor="all" binddataset="ds_grid_grd_days" positiontype="position">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="120"/>
  36. <Column size="80"/>
  37. <Column size="55"/>
  38. <Column size="45"/>
  39. <Column size="45"/>
  40. <Column size="45"/>
  41. <Column size="45"/>
  42. <Column size="45"/>
  43. <Column size="45"/>
  44. <Column size="45"/>
  45. <Column size="45"/>
  46. <Column size="45"/>
  47. <Column size="45"/>
  48. <Column size="45"/>
  49. <Column size="45"/>
  50. <Column size="45"/>
  51. <Column size="45"/>
  52. <Column size="45"/>
  53. <Column size="45"/>
  54. <Column size="45"/>
  55. <Column size="45"/>
  56. <Column size="45"/>
  57. <Column size="45"/>
  58. <Column size="45"/>
  59. <Column size="45"/>
  60. <Column size="45"/>
  61. <Column size="45"/>
  62. <Column size="45"/>
  63. <Column size="45"/>
  64. <Column size="45"/>
  65. <Column size="45"/>
  66. <Column size="45"/>
  67. <Column size="45"/>
  68. <Column size="45"/>
  69. <Column size="45"/>
  70. </Columns>
  71. <Rows>
  72. <Row size="24" band="head"/>
  73. <Row size="24"/>
  74. </Rows>
  75. <Band id="head">
  76. <Cell text="구분"/>
  77. <Cell col="1" text="총출고"/>
  78. <Cell col="2" text="건수"/>
  79. <Cell col="3" text="%"/>
  80. <Cell col="4" text="1일"/>
  81. <Cell col="5" text="2일"/>
  82. <Cell col="6" text="3일"/>
  83. <Cell col="7" text="4일"/>
  84. <Cell col="8" text="5일"/>
  85. <Cell col="9" text="6일"/>
  86. <Cell col="10" text="7일"/>
  87. <Cell col="11" text="8일"/>
  88. <Cell col="12" text="9일"/>
  89. <Cell col="13" text="10일"/>
  90. <Cell col="14" text="11일"/>
  91. <Cell col="15" text="12일"/>
  92. <Cell col="16" text="13일"/>
  93. <Cell col="17" text="14일"/>
  94. <Cell col="18" text="15일"/>
  95. <Cell col="19" text="16일"/>
  96. <Cell col="20" text="17일"/>
  97. <Cell col="21" text="18일"/>
  98. <Cell col="22" text="19일"/>
  99. <Cell col="23" text="20일"/>
  100. <Cell col="24" text="21일"/>
  101. <Cell col="25" text="22일"/>
  102. <Cell col="26" text="23일"/>
  103. <Cell col="27" text="24일"/>
  104. <Cell col="28" text="25일"/>
  105. <Cell col="29" text="26일"/>
  106. <Cell col="30" text="27일"/>
  107. <Cell col="31" text="28일"/>
  108. <Cell col="32" text="29일"/>
  109. <Cell col="33" text="30일"/>
  110. <Cell col="34" text="31일"/>
  111. </Band>
  112. <Band id="body">
  113. <Cell celltype="head" style="align:center middle;" text="bind:itemnm1"/>
  114. <Cell col="1" displaytype="number" style="align:right middle;" text="bind:out"/>
  115. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:a00"/>
  116. <Cell col="3" displaytype="number" style="align:right middle;" text="bind:per" mask="#,##0.0#"/>
  117. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:a01"/>
  118. <Cell col="5" displaytype="number" style="align:right middle;" text="bind:a02"/>
  119. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:a03"/>
  120. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:a04"/>
  121. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:a05"/>
  122. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:a06"/>
  123. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:a07"/>
  124. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:a08"/>
  125. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:a09"/>
  126. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:a10"/>
  127. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:a11"/>
  128. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:a12"/>
  129. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:a13"/>
  130. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:a14"/>
  131. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:a15"/>
  132. <Cell col="19" displaytype="number" style="align:right middle;" text="bind:a16"/>
  133. <Cell col="20" displaytype="number" style="align:right middle;" text="bind:a17"/>
  134. <Cell col="21" displaytype="number" style="align:right middle;" text="bind:a18"/>
  135. <Cell col="22" displaytype="number" style="align:right middle;" text="bind:a19"/>
  136. <Cell col="23" displaytype="number" style="align:right middle;" text="bind:a20"/>
  137. <Cell col="24" displaytype="number" style="align:right middle;" text="bind:a21"/>
  138. <Cell col="25" displaytype="number" style="align:right middle;" text="bind:a22"/>
  139. <Cell col="26" displaytype="number" style="align:right middle;" text="bind:a23"/>
  140. <Cell col="27" displaytype="number" style="align:right middle;" text="bind:a24"/>
  141. <Cell col="28" displaytype="number" style="align:right middle;" text="bind:a25"/>
  142. <Cell col="29" displaytype="number" style="align:right middle;" text="bind:a26"/>
  143. <Cell col="30" displaytype="number" style="align:right middle;" text="bind:a27"/>
  144. <Cell col="31" displaytype="number" style="align:right middle;" text="bind:a28"/>
  145. <Cell col="32" displaytype="number" style="align:right middle;" text="bind:a29"/>
  146. <Cell col="33" displaytype="number" style="align:right middle;" text="bind:a30"/>
  147. <Cell col="34" displaytype="number" style="align:right middle;" text="bind:a31"/>
  148. </Band>
  149. </Format>
  150. </Formats>
  151. </Grid>
  152. </Layout>
  153. </Layouts>
  154. </Tabpage>
  155. <Tabpage id="case1" text="월별 통계">
  156. <Layouts>
  157. <Layout>
  158. <Static id="caption1" class="tit_2" position="absolute 1 1 164 17" anchor="default" text="월별 수혈부작용 건수" style="align:left top;" positiontype="position"/>
  159. <Grid id="grd_month" position="absolute 0 20 1256 698" anchor="all" binddataset="ds_grid_grd_month" positiontype="position">
  160. <Formats>
  161. <Format id="default">
  162. <Columns>
  163. <Column size="120"/>
  164. <Column size="50"/>
  165. <Column size="45"/>
  166. <Column size="40"/>
  167. <Column size="50"/>
  168. <Column size="45"/>
  169. <Column size="40"/>
  170. <Column size="50"/>
  171. <Column size="45"/>
  172. <Column size="40"/>
  173. <Column size="50"/>
  174. <Column size="45"/>
  175. <Column size="40"/>
  176. <Column size="50"/>
  177. <Column size="45"/>
  178. <Column size="40"/>
  179. <Column size="50"/>
  180. <Column size="45"/>
  181. <Column size="40"/>
  182. <Column size="50"/>
  183. <Column size="45"/>
  184. <Column size="40"/>
  185. <Column size="50"/>
  186. <Column size="45"/>
  187. <Column size="40"/>
  188. <Column size="50"/>
  189. <Column size="45"/>
  190. <Column size="40"/>
  191. <Column size="50"/>
  192. <Column size="45"/>
  193. <Column size="40"/>
  194. <Column size="50"/>
  195. <Column size="45"/>
  196. <Column size="40"/>
  197. <Column size="50"/>
  198. <Column size="45"/>
  199. <Column size="40"/>
  200. </Columns>
  201. <Rows>
  202. <Row size="24" band="head"/>
  203. <Row size="24" band="head"/>
  204. <Row size="24"/>
  205. </Rows>
  206. <Band id="head">
  207. <Cell rowspan="2" text="구분"/>
  208. <Cell col="1" colspan="3" text="1월"/>
  209. <Cell col="4" colspan="3" text="2월"/>
  210. <Cell col="7" colspan="3" text="3월"/>
  211. <Cell col="10" colspan="3" text="4월"/>
  212. <Cell col="13" colspan="3" text="5월"/>
  213. <Cell col="16" colspan="3" text="6월"/>
  214. <Cell col="19" colspan="3" text="7월"/>
  215. <Cell col="22" colspan="3" text="8월"/>
  216. <Cell col="25" colspan="3" text="9월"/>
  217. <Cell col="28" colspan="3" text="10월"/>
  218. <Cell col="31" colspan="3" text="11월"/>
  219. <Cell col="34" colspan="3" text="12월"/>
  220. <Cell row="1" col="1" text="총출고"/>
  221. <Cell row="1" col="2" text="건수"/>
  222. <Cell row="1" col="3" text="%"/>
  223. <Cell row="1" col="4" text="총출고"/>
  224. <Cell row="1" col="5" text="건수"/>
  225. <Cell row="1" col="6" text="%"/>
  226. <Cell row="1" col="7" text="총출고"/>
  227. <Cell row="1" col="8" text="건수"/>
  228. <Cell row="1" col="9" text="%"/>
  229. <Cell row="1" col="10" text="총출고"/>
  230. <Cell row="1" col="11" text="건수"/>
  231. <Cell row="1" col="12" text="%"/>
  232. <Cell row="1" col="13" text="총출고"/>
  233. <Cell row="1" col="14" text="건수"/>
  234. <Cell row="1" col="15" text="%"/>
  235. <Cell row="1" col="16" text="총출고"/>
  236. <Cell row="1" col="17" text="건수"/>
  237. <Cell row="1" col="18" text="%"/>
  238. <Cell row="1" col="19" text="총출고"/>
  239. <Cell row="1" col="20" text="건수"/>
  240. <Cell row="1" col="21" text="%"/>
  241. <Cell row="1" col="22" text="총출고"/>
  242. <Cell row="1" col="23" text="건수"/>
  243. <Cell row="1" col="24" text="%"/>
  244. <Cell row="1" col="25" text="총출고"/>
  245. <Cell row="1" col="26" text="건수"/>
  246. <Cell row="1" col="27" text="%"/>
  247. <Cell row="1" col="28" text="총출고"/>
  248. <Cell row="1" col="29" text="건수"/>
  249. <Cell row="1" col="30" text="%"/>
  250. <Cell row="1" col="31" text="총출고"/>
  251. <Cell row="1" col="32" text="건수"/>
  252. <Cell row="1" col="33" text="%"/>
  253. <Cell row="1" col="34" text="총출고"/>
  254. <Cell row="1" col="35" text="건수"/>
  255. <Cell row="1" col="36" text="%"/>
  256. </Band>
  257. <Band id="body">
  258. <Cell celltype="head" style="align:center middle;" text="bind:itemnm1"/>
  259. <Cell col="1" displaytype="number" style="align:right middle;" text="bind:o01"/>
  260. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:a01"/>
  261. <Cell col="3" displaytype="number" style="align:right middle;" text="bind:p01" mask="#,##0.0#"/>
  262. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:o02"/>
  263. <Cell col="5" displaytype="number" style="align:right middle;" text="bind:a02"/>
  264. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:p02" mask="#,##0.0#"/>
  265. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:o03"/>
  266. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:a03"/>
  267. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:p03" mask="#,##0.0#"/>
  268. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:o04"/>
  269. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:a04"/>
  270. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:p04" mask="#,##0.0#"/>
  271. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:o05"/>
  272. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:a05"/>
  273. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:p05" mask="#,##0.0#"/>
  274. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:o06"/>
  275. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:a06"/>
  276. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:p06" mask="#,##0.0#"/>
  277. <Cell col="19" displaytype="number" style="align:right middle;" text="bind:o07"/>
  278. <Cell col="20" displaytype="number" style="align:right middle;" text="bind:a07"/>
  279. <Cell col="21" displaytype="number" style="align:right middle;" text="bind:p07" mask="#,##0.0#"/>
  280. <Cell col="22" displaytype="number" style="align:right middle;" text="bind:o08"/>
  281. <Cell col="23" displaytype="number" style="align:right middle;" text="bind:a08"/>
  282. <Cell col="24" displaytype="number" style="align:right middle;" text="bind:p08" mask="#,##0.0#"/>
  283. <Cell col="25" displaytype="number" style="align:right middle;" text="bind:o09"/>
  284. <Cell col="26" displaytype="number" style="align:right middle;" text="bind:a09"/>
  285. <Cell col="27" displaytype="number" style="align:right middle;" text="bind:p09" mask="#,##0.0#"/>
  286. <Cell col="28" displaytype="number" style="align:right middle;" text="bind:o10"/>
  287. <Cell col="29" displaytype="number" style="align:right middle;" text="bind:a10"/>
  288. <Cell col="30" displaytype="number" style="align:right middle;" text="bind:p10" mask="#,##0.0#"/>
  289. <Cell col="31" displaytype="number" style="align:right middle;" text="bind:o11"/>
  290. <Cell col="32" displaytype="number" style="align:right middle;" text="bind:a11"/>
  291. <Cell col="33" displaytype="number" style="align:right middle;" text="bind:p11" mask="#,##0.0#"/>
  292. <Cell col="34" displaytype="number" style="align:right middle;" text="bind:o12"/>
  293. <Cell col="35" displaytype="number" style="align:right middle;" text="bind:a12"/>
  294. <Cell col="36" displaytype="number" style="align:right middle;" text="bind:p12" mask="#,##0.0#"/>
  295. </Band>
  296. </Format>
  297. </Formats>
  298. </Grid>
  299. </Layout>
  300. </Layouts>
  301. </Tabpage>
  302. <Tabpage id="case2" text="연별 통계">
  303. <Layouts>
  304. <Layout>
  305. <Static id="caption2" class="tit_2" position="absolute 1 2 164 18" anchor="default" text="연별 수혈부작용 건수" style="align:left top;" positiontype="position"/>
  306. <Grid id="grd_year" position="absolute 0 20 1256 698" anchor="all" binddataset="ds_grid_grd_year" positiontype="position">
  307. <Formats>
  308. <Format id="default">
  309. <Columns>
  310. <Column size="120"/>
  311. <Column size="60"/>
  312. <Column size="50"/>
  313. <Column size="45"/>
  314. <Column size="60"/>
  315. <Column size="50"/>
  316. <Column size="45"/>
  317. <Column size="60"/>
  318. <Column size="50"/>
  319. <Column size="45"/>
  320. <Column size="60"/>
  321. <Column size="50"/>
  322. <Column size="45"/>
  323. <Column size="60"/>
  324. <Column size="50"/>
  325. <Column size="45"/>
  326. <Column size="60"/>
  327. <Column size="50"/>
  328. <Column size="45"/>
  329. <Column size="60"/>
  330. <Column size="50"/>
  331. <Column size="45"/>
  332. <Column size="60"/>
  333. <Column size="50"/>
  334. <Column size="45"/>
  335. <Column size="60"/>
  336. <Column size="50"/>
  337. <Column size="45"/>
  338. <Column size="60"/>
  339. <Column size="50"/>
  340. <Column size="45"/>
  341. </Columns>
  342. <Rows>
  343. <Row size="24" band="head"/>
  344. <Row size="24" band="head"/>
  345. <Row size="24"/>
  346. </Rows>
  347. <Band id="head">
  348. <Cell rowspan="2" text="구분"/>
  349. <Cell col="1" text="1년"/>
  350. <Cell col="2" text="1년"/>
  351. <Cell col="3" text="1년"/>
  352. <Cell col="4" text="2년"/>
  353. <Cell col="5" text="2년"/>
  354. <Cell col="6" text="2년"/>
  355. <Cell col="7" text="3년"/>
  356. <Cell col="8" text="3년"/>
  357. <Cell col="9" text="3년"/>
  358. <Cell col="10" text="4년"/>
  359. <Cell col="11" text="4년"/>
  360. <Cell col="12" text="4년"/>
  361. <Cell col="13" text="5년"/>
  362. <Cell col="14" text="5년"/>
  363. <Cell col="15" text="5년"/>
  364. <Cell col="16" text="6년"/>
  365. <Cell col="17" text="6년"/>
  366. <Cell col="18" text="6년"/>
  367. <Cell col="19" text="7년"/>
  368. <Cell col="20" text="7년"/>
  369. <Cell col="21" text="7년"/>
  370. <Cell col="22" text="8년"/>
  371. <Cell col="23" text="8년"/>
  372. <Cell col="24" text="8년"/>
  373. <Cell col="25" text="9년"/>
  374. <Cell col="26" text="9년"/>
  375. <Cell col="27" text="9년"/>
  376. <Cell col="28" text="10년"/>
  377. <Cell col="29" text="10년"/>
  378. <Cell col="30" text="10년"/>
  379. <Cell row="1" col="1" text="총출고"/>
  380. <Cell row="1" col="2" text="건수"/>
  381. <Cell row="1" col="3" text="%"/>
  382. <Cell row="1" col="4" text="총출고"/>
  383. <Cell row="1" col="5" text="건수"/>
  384. <Cell row="1" col="6" text="%"/>
  385. <Cell row="1" col="7" text="총출고"/>
  386. <Cell row="1" col="8" text="건수"/>
  387. <Cell row="1" col="9" text="%"/>
  388. <Cell row="1" col="10" text="총출고"/>
  389. <Cell row="1" col="11" text="건수"/>
  390. <Cell row="1" col="12" text="%"/>
  391. <Cell row="1" col="13" text="총출고"/>
  392. <Cell row="1" col="14" text="건수"/>
  393. <Cell row="1" col="15" text="%"/>
  394. <Cell row="1" col="16" text="총출고"/>
  395. <Cell row="1" col="17" text="건수"/>
  396. <Cell row="1" col="18" text="%"/>
  397. <Cell row="1" col="19" text="총출고"/>
  398. <Cell row="1" col="20" text="건수"/>
  399. <Cell row="1" col="21" text="%"/>
  400. <Cell row="1" col="22" text="총출고"/>
  401. <Cell row="1" col="23" text="건수"/>
  402. <Cell row="1" col="24" text="%"/>
  403. <Cell row="1" col="25" text="총출고"/>
  404. <Cell row="1" col="26" text="건수"/>
  405. <Cell row="1" col="27" text="%"/>
  406. <Cell row="1" col="28" text="총출고"/>
  407. <Cell row="1" col="29" text="건수"/>
  408. <Cell row="1" col="30" text="%"/>
  409. </Band>
  410. <Band id="body">
  411. <Cell celltype="head" style="align:center middle;" text="bind:itemnm1"/>
  412. <Cell col="1" displaytype="number" style="align:right middle;" text="bind:o01"/>
  413. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:a01"/>
  414. <Cell col="3" displaytype="number" style="align:right middle;" text="expr:p01==null?'0.0':p01" mask="#,##0.0# "/>
  415. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:o02"/>
  416. <Cell col="5" displaytype="number" style="align:right middle;" text="bind:a02"/>
  417. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:p02" mask="#,##0.0# "/>
  418. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:o03"/>
  419. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:a03"/>
  420. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:p03" mask="#,##0.0# "/>
  421. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:o04"/>
  422. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:a04"/>
  423. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:p04" mask="#,##0.0# "/>
  424. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:o05"/>
  425. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:a05"/>
  426. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:p05" mask="#,##0.0# "/>
  427. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:o06"/>
  428. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:a06"/>
  429. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:p06" mask="#,##0.0# "/>
  430. <Cell col="19" displaytype="number" style="align:right middle;" text="bind:o07"/>
  431. <Cell col="20" displaytype="number" style="align:right middle;" text="bind:a07"/>
  432. <Cell col="21" displaytype="number" style="align:right middle;" text="bind:p07" mask="#,##0.0# "/>
  433. <Cell col="22" displaytype="number" style="align:right middle;" text="bind:o08"/>
  434. <Cell col="23" displaytype="number" style="align:right middle;" text="bind:a08"/>
  435. <Cell col="24" displaytype="number" style="align:right middle;" text="bind:p08" mask="#,##0.0# "/>
  436. <Cell col="25" displaytype="number" style="align:right middle;" text="bind:o09"/>
  437. <Cell col="26" displaytype="number" style="align:right middle;" text="bind:a09"/>
  438. <Cell col="27" displaytype="number" style="align:right middle;" text="bind:p09" mask="#,##0.0# "/>
  439. <Cell col="28" displaytype="number" style="align:right middle;" text="bind:o10"/>
  440. <Cell col="29" displaytype="number" style="align:right middle;" text="bind:a10"/>
  441. <Cell col="30" displaytype="number" style="align:right middle;" text="bind:p10" mask="#,##0.0# "/>
  442. </Band>
  443. </Format>
  444. </Formats>
  445. </Grid>
  446. </Layout>
  447. </Layouts>
  448. </Tabpage>
  449. <Tabpage id="case3" text="유형(월별)">
  450. <Layouts>
  451. <Layout>
  452. <Static id="caption3" class="tit_2" position="absolute 0 1 203 17" anchor="default" text="유형(월별) 수혈부작용 건수" style="align:left top;" positiontype="position"/>
  453. <Grid id="grd_month_cm" position="absolute 0 20 1256 698" anchor="all" autofittype="col" binddataset="ds_grid_grd_month_cm" positiontype="position">
  454. <Formats>
  455. <Format id="default">
  456. <Columns>
  457. <Column size="120"/>
  458. <Column size="200"/>
  459. <Column size="70"/>
  460. <Column size="60"/>
  461. <Column size="45"/>
  462. <Column size="45"/>
  463. <Column size="45"/>
  464. <Column size="45"/>
  465. <Column size="45"/>
  466. <Column size="45"/>
  467. <Column size="45"/>
  468. <Column size="45"/>
  469. <Column size="45"/>
  470. <Column size="45"/>
  471. <Column size="45"/>
  472. <Column size="45"/>
  473. </Columns>
  474. <Rows>
  475. <Row size="24" band="head"/>
  476. <Row size="24"/>
  477. </Rows>
  478. <Band id="head">
  479. <Cell text="구분"/>
  480. <Cell col="1" text="사유"/>
  481. <Cell col="2" text="건수"/>
  482. <Cell col="3" text="%"/>
  483. <Cell col="4" text="1월"/>
  484. <Cell col="5" text="2월"/>
  485. <Cell col="6" text="3월"/>
  486. <Cell col="7" text="4월"/>
  487. <Cell col="8" text="5월"/>
  488. <Cell col="9" text="6월"/>
  489. <Cell col="10" text="7월"/>
  490. <Cell col="11" text="8월"/>
  491. <Cell col="12" text="9월"/>
  492. <Cell col="13" text="10월"/>
  493. <Cell col="14" text="11월"/>
  494. <Cell col="15" text="12월"/>
  495. </Band>
  496. <Band id="body">
  497. <Cell celltype="head" style="align:center middle;" text="bind:itemnm1" suppress="1" suppressalign="middle,over"/>
  498. <Cell col="1" celltype="head" style="align:center middle;" text="bind:itemnm2"/>
  499. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:a00"/>
  500. <Cell col="3" displaytype="number" style="align:right middle;" text="bind:per" mask="#,##0.##"/>
  501. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:a01"/>
  502. <Cell col="5" displaytype="number" style="align:right middle;" text="bind:a02"/>
  503. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:a03"/>
  504. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:a04"/>
  505. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:a05"/>
  506. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:a06"/>
  507. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:a07"/>
  508. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:a08"/>
  509. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:a09"/>
  510. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:a10"/>
  511. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:a11"/>
  512. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:a12"/>
  513. </Band>
  514. </Format>
  515. </Formats>
  516. </Grid>
  517. </Layout>
  518. </Layouts>
  519. </Tabpage>
  520. <Tabpage id="case4" text="유형(연별)">
  521. <Layouts>
  522. <Layout>
  523. <Static id="caption6" class="tit_2" position="absolute 1 1 188 17" anchor="default" text="유형(연별) 수혈부작용 건수" style="align:left top;" positiontype="position"/>
  524. <Grid id="grd_year_cm" position="absolute 0 20 1256 698" anchor="all" binddataset="ds_grid_grd_year_cm" positiontype="position">
  525. <Formats>
  526. <Format id="default">
  527. <Columns>
  528. <Column size="120"/>
  529. <Column size="200"/>
  530. <Column size="50"/>
  531. <Column size="50"/>
  532. <Column size="50"/>
  533. <Column size="50"/>
  534. <Column size="50"/>
  535. <Column size="50"/>
  536. <Column size="50"/>
  537. <Column size="50"/>
  538. <Column size="50"/>
  539. <Column size="50"/>
  540. <Column size="50"/>
  541. <Column size="50"/>
  542. <Column size="50"/>
  543. <Column size="50"/>
  544. <Column size="50"/>
  545. <Column size="50"/>
  546. <Column size="50"/>
  547. <Column size="50"/>
  548. <Column size="50"/>
  549. <Column size="50"/>
  550. <Column size="50"/>
  551. <Column size="50"/>
  552. <Column size="50"/>
  553. <Column size="50"/>
  554. <Column size="50"/>
  555. <Column size="50"/>
  556. <Column size="50"/>
  557. <Column size="50"/>
  558. <Column size="50"/>
  559. <Column size="50"/>
  560. </Columns>
  561. <Rows>
  562. <Row size="24" band="head"/>
  563. <Row size="24" band="head"/>
  564. <Row size="24"/>
  565. </Rows>
  566. <Band id="head">
  567. <Cell rowspan="2" text="혈액종류"/>
  568. <Cell col="1" rowspan="2" text="사유"/>
  569. <Cell col="2" text="1년"/>
  570. <Cell col="3" text="1년"/>
  571. <Cell col="4" text="1년"/>
  572. <Cell col="5" text="2년"/>
  573. <Cell col="6" text="2년"/>
  574. <Cell col="7" text="2년"/>
  575. <Cell col="8" text="3년"/>
  576. <Cell col="9" text="3년"/>
  577. <Cell col="10" text="3년"/>
  578. <Cell col="11" text="4년"/>
  579. <Cell col="12" text="4년"/>
  580. <Cell col="13" text="4년"/>
  581. <Cell col="14" text="5년"/>
  582. <Cell col="15" text="5년"/>
  583. <Cell col="16" text="5년"/>
  584. <Cell col="17" text="6년"/>
  585. <Cell col="18" text="6년"/>
  586. <Cell col="19" text="6년"/>
  587. <Cell col="20" text="7년"/>
  588. <Cell col="21" text="7년"/>
  589. <Cell col="22" text="7년"/>
  590. <Cell col="23" text="8년"/>
  591. <Cell col="24" text="8년"/>
  592. <Cell col="25" text="8년"/>
  593. <Cell col="26" text="9년"/>
  594. <Cell col="27" text="9년"/>
  595. <Cell col="28" text="9년"/>
  596. <Cell col="29" text="10년"/>
  597. <Cell col="30" text="10년"/>
  598. <Cell col="31" text="10년"/>
  599. <Cell row="1" col="2" text="총건수"/>
  600. <Cell row="1" col="3" text="건수"/>
  601. <Cell row="1" col="4" text="%"/>
  602. <Cell row="1" col="5" text="총건수"/>
  603. <Cell row="1" col="6" text="건수"/>
  604. <Cell row="1" col="7" text="%"/>
  605. <Cell row="1" col="8" text="총건수"/>
  606. <Cell row="1" col="9" text="건수"/>
  607. <Cell row="1" col="10" text="%"/>
  608. <Cell row="1" col="11" text="총건수"/>
  609. <Cell row="1" col="12" text="건수"/>
  610. <Cell row="1" col="13" text="%"/>
  611. <Cell row="1" col="14" text="총건수"/>
  612. <Cell row="1" col="15" text="건수"/>
  613. <Cell row="1" col="16" text="%"/>
  614. <Cell row="1" col="17" text="총건수"/>
  615. <Cell row="1" col="18" text="건수"/>
  616. <Cell row="1" col="19" text="%"/>
  617. <Cell row="1" col="20" text="총건수"/>
  618. <Cell row="1" col="21" text="건수"/>
  619. <Cell row="1" col="22" text="%"/>
  620. <Cell row="1" col="23" text="총건수"/>
  621. <Cell row="1" col="24" text="건수"/>
  622. <Cell row="1" col="25" text="%"/>
  623. <Cell row="1" col="26" text="총건수"/>
  624. <Cell row="1" col="27" text="건수"/>
  625. <Cell row="1" col="28" text="%"/>
  626. <Cell row="1" col="29" text="총건수"/>
  627. <Cell row="1" col="30" text="건수"/>
  628. <Cell row="1" col="31" text="%"/>
  629. </Band>
  630. <Band id="body">
  631. <Cell celltype="head" style="align:center middle;" text="bind:itemnm1"/>
  632. <Cell col="1" style="align:left middle;" text="bind:itemnm2"/>
  633. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:o01"/>
  634. <Cell col="3" displaytype="number" style="align:right middle;" text="bind:a01"/>
  635. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:p01" mask="#,##0.0#"/>
  636. <Cell col="5" style="align:right middle;" text="bind:o02"/>
  637. <Cell col="6" style="align:right middle;" text="bind:a02"/>
  638. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:p02" mask="#,##0.0#"/>
  639. <Cell col="8" style="align:right middle;" text="bind:o03"/>
  640. <Cell col="9" style="align:right middle;" text="bind:a03"/>
  641. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:p03" mask="#,##0.0#"/>
  642. <Cell col="11" style="align:right middle;" text="bind:o04"/>
  643. <Cell col="12" style="align:right middle;" text="bind:a04"/>
  644. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:p04" mask="#,##0.0#"/>
  645. <Cell col="14" style="align:right middle;" text="bind:o05"/>
  646. <Cell col="15" style="align:right middle;" text="bind:a05"/>
  647. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:p05" mask="#,##0.0#"/>
  648. <Cell col="17" style="align:right middle;" text="bind:o06"/>
  649. <Cell col="18" style="align:right middle;" text="bind:a06"/>
  650. <Cell col="19" displaytype="number" style="align:right middle;" text="bind:p06" mask="#,##0.0#"/>
  651. <Cell col="20" style="align:right middle;" text="bind:o07"/>
  652. <Cell col="21" style="align:right middle;" text="bind:a07"/>
  653. <Cell col="22" displaytype="number" style="align:right middle;" text="bind:p07" mask="#,##0.0#"/>
  654. <Cell col="23" style="align:right middle;" text="bind:o08"/>
  655. <Cell col="24" style="align:right middle;" text="bind:a08"/>
  656. <Cell col="25" displaytype="number" style="align:right middle;" text="bind:p08" mask="#,##0.0#"/>
  657. <Cell col="26" style="align:right middle;" text="bind:o09"/>
  658. <Cell col="27" style="align:right middle;" text="bind:a09"/>
  659. <Cell col="28" displaytype="number" style="align:right middle;" text="bind:p09" mask="#,##0.0#"/>
  660. <Cell col="29" style="align:right middle;" text="bind:o10"/>
  661. <Cell col="30" style="align:right middle;" text="bind:a10"/>
  662. <Cell col="31" displaytype="number" style="align:right middle;" text="bind:p10" mask="#,##0.0#"/>
  663. </Band>
  664. </Format>
  665. </Formats>
  666. </Grid>
  667. </Layout>
  668. </Layouts>
  669. </Tabpage>
  670. </Tabpages>
  671. </Tab>
  672. <Button id="btn_excel" class="btn7" position="absolute 1198 49 1251 69" anchor="top right" text="엑셀" onclick="group3_btn_excel_onclick" positiontype="position"/>
  673. </Layout>
  674. </Layouts>
  675. </Div>
  676. <Div id="group4" position="absolute 1166 5 1256 25" anchor="top right" positiontype="position">
  677. <Layouts>
  678. <Layout/>
  679. </Layouts>
  680. </Div>
  681. <Button id="btn_reset" taborder="1" text="초기화" onlbuttonup="btn_reset_onlbuttonup" class="btn4" position="absolute 1187 0 1256 20" anchor="top right"/>
  682. <Static id="caption10" text="수혈부작용 건수" onclick="grp_tle_caption10_onclick" class="tit_1" position="absolute 0 0 145 25"/>
  683. </Layout>
  684. </Layouts>
  685. <Objects>
  686. <Dataset id="ds_cond_iogbn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  687. <ColumnInfo>
  688. <Column id="label" type="STRING" size="256"/>
  689. <Column id="value" type="STRING" size="256"/>
  690. </ColumnInfo>
  691. <Rows>
  692. <Row>
  693. <Col id="label">전체</Col>
  694. <Col id="value">1</Col>
  695. </Row>
  696. <Row>
  697. <Col id="label">입원환자</Col>
  698. <Col id="value">2</Col>
  699. </Row>
  700. <Row>
  701. <Col id="label">외래환자</Col>
  702. <Col id="value">3</Col>
  703. </Row>
  704. </Rows>
  705. </Dataset>
  706. <Dataset id="ds_cond_viewgbn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  707. <ColumnInfo>
  708. <Column id="label" type="STRING" size="256"/>
  709. <Column id="value" type="STRING" size="256"/>
  710. </ColumnInfo>
  711. <Rows>
  712. <Row>
  713. <Col id="label">진료과별</Col>
  714. <Col id="value">1</Col>
  715. </Row>
  716. <Row>
  717. <Col id="label">혈액종류별</Col>
  718. <Col id="value">2</Col>
  719. </Row>
  720. <Row>
  721. <Col id="label">전체유형</Col>
  722. <Col id="value">00</Col>
  723. </Row>
  724. </Rows>
  725. </Dataset>
  726. <Dataset id="ds_grid_grd_days" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rsltregst_onrowposchanged">
  727. <ColumnInfo>
  728. <column id="itemnm1" type="STRING" size="256"/>
  729. <column id="a00" type="STRING" size="256"/>
  730. <column id="a01" type="STRING" size="256"/>
  731. <column id="a02" type="STRING" size="256"/>
  732. <column id="a03" type="STRING" size="256"/>
  733. <column id="a04" type="STRING" size="256"/>
  734. <column id="a05" type="STRING" size="256"/>
  735. <column id="a06" type="STRING" size="256"/>
  736. <column id="a07" type="STRING" size="256"/>
  737. <column id="a08" type="STRING" size="256"/>
  738. <column id="a09" type="STRING" size="256"/>
  739. <column id="a10" type="STRING" size="256"/>
  740. <column id="a11" type="STRING" size="256"/>
  741. <column id="a12" type="STRING" size="256"/>
  742. <column id="a13" type="STRING" size="256"/>
  743. <column id="a14" type="STRING" size="256"/>
  744. <column id="a15" type="STRING" size="256"/>
  745. <column id="a16" type="STRING" size="256"/>
  746. <column id="a17" type="STRING" size="256"/>
  747. <column id="a18" type="STRING" size="256"/>
  748. <column id="a19" type="STRING" size="256"/>
  749. <column id="a20" type="STRING" size="256"/>
  750. <column id="a21" type="STRING" size="256"/>
  751. <column id="a22" type="STRING" size="256"/>
  752. <column id="a23" type="STRING" size="256"/>
  753. <column id="a24" type="STRING" size="256"/>
  754. <column id="a25" type="STRING" size="256"/>
  755. <column id="a26" type="STRING" size="256"/>
  756. <column id="a27" type="STRING" size="256"/>
  757. <column id="a28" type="STRING" size="256"/>
  758. <column id="a29" type="STRING" size="256"/>
  759. <column id="a30" type="STRING" size="256"/>
  760. <column id="a31" type="STRING" size="256"/>
  761. <column id="out" type="STRING" size="256"/>
  762. <column id="per" type="STRING" size="256"/>
  763. </ColumnInfo>
  764. </Dataset>
  765. <Dataset id="ds_grid_grd_month" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  766. <ColumnInfo>
  767. <Column id="itemnm1" type="STRING" size="256" sumtext="진료과"/>
  768. <Column id="o01" type="STRING" size="256" sumtext="data1"/>
  769. <Column id="o02" type="STRING" size="256" sumtext="data2"/>
  770. <Column id="o03" type="STRING" size="256" sumtext="data3"/>
  771. <Column id="o04" type="STRING" size="256" sumtext="data4"/>
  772. <Column id="o05" type="STRING" size="256" sumtext="data5"/>
  773. <Column id="o06" type="STRING" size="256" sumtext="data6"/>
  774. <Column id="o07" type="STRING" size="256" sumtext="data7"/>
  775. <Column id="o08" type="STRING" size="256" sumtext="data8"/>
  776. <Column id="o09" type="STRING" size="256" sumtext="data9"/>
  777. <Column id="o10" type="STRING" size="256" sumtext="data10"/>
  778. <Column id="o11" type="STRING" size="256" sumtext="data11"/>
  779. <Column id="o12" type="STRING" size="256" sumtext="data12"/>
  780. <Column id="a01" type="STRING" size="256" sumtext="data1"/>
  781. <Column id="a02" type="STRING" size="256" sumtext="data2"/>
  782. <Column id="a03" type="STRING" size="256" sumtext="data3"/>
  783. <Column id="a04" type="STRING" size="256" sumtext="data4"/>
  784. <Column id="a05" type="STRING" size="256" sumtext="data5"/>
  785. <Column id="a06" type="STRING" size="256" sumtext="data6"/>
  786. <Column id="a07" type="STRING" size="256" sumtext="data7"/>
  787. <Column id="a08" type="STRING" size="256" sumtext="data8"/>
  788. <Column id="a09" type="STRING" size="256" sumtext="data9"/>
  789. <Column id="a10" type="STRING" size="256" sumtext="data10"/>
  790. <Column id="a11" type="STRING" size="256" sumtext="data11"/>
  791. <Column id="a12" type="STRING" size="256" sumtext="data12"/>
  792. <Column id="p01" type="STRING" size="256" sumtext="data1"/>
  793. <Column id="p02" type="STRING" size="256" sumtext="data2"/>
  794. <Column id="p03" type="STRING" size="256" sumtext="data3"/>
  795. <Column id="p04" type="STRING" size="256" sumtext="data4"/>
  796. <Column id="p05" type="STRING" size="256" sumtext="data5"/>
  797. <Column id="p06" type="STRING" size="256" sumtext="data6"/>
  798. <Column id="p07" type="STRING" size="256" sumtext="data7"/>
  799. <Column id="p08" type="STRING" size="256" sumtext="data8"/>
  800. <Column id="p09" type="STRING" size="256" sumtext="data9"/>
  801. <Column id="p10" type="STRING" size="256" sumtext="data10"/>
  802. <Column id="p11" type="STRING" size="256" sumtext="data11"/>
  803. <Column id="p12" type="STRING" size="256" sumtext="data12"/>
  804. </ColumnInfo>
  805. </Dataset>
  806. <Dataset id="ds_grid_grd_year" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rsltregst_onrowposchanged">
  807. <ColumnInfo>
  808. <column id="itemnm1" type="STRING" size="256"/>
  809. <column id="o01" type="STRING" size="256"/>
  810. <column id="a01" type="STRING" size="256"/>
  811. <column id="p01" type="STRING" size="256"/>
  812. <column id="o02" type="STRING" size="256"/>
  813. <column id="a02" type="STRING" size="256"/>
  814. <column id="p02" type="STRING" size="256"/>
  815. <column id="o03" type="STRING" size="256"/>
  816. <column id="a03" type="STRING" size="256"/>
  817. <column id="p03" type="STRING" size="256"/>
  818. <column id="o04" type="STRING" size="256"/>
  819. <column id="a04" type="STRING" size="256"/>
  820. <column id="p04" type="STRING" size="256"/>
  821. <column id="o05" type="STRING" size="256"/>
  822. <column id="a05" type="STRING" size="256"/>
  823. <column id="p05" type="STRING" size="256"/>
  824. <column id="o06" type="STRING" size="256"/>
  825. <column id="a06" type="STRING" size="256"/>
  826. <column id="p06" type="STRING" size="256"/>
  827. <column id="o07" type="STRING" size="256"/>
  828. <column id="a07" type="STRING" size="256"/>
  829. <column id="p07" type="STRING" size="256"/>
  830. <column id="o08" type="STRING" size="256"/>
  831. <column id="a08" type="STRING" size="256"/>
  832. <column id="p08" type="STRING" size="256"/>
  833. <column id="o09" type="STRING" size="256"/>
  834. <column id="a09" type="STRING" size="256"/>
  835. <column id="p09" type="STRING" size="256"/>
  836. <column id="o10" type="STRING" size="256"/>
  837. <column id="a10" type="STRING" size="256"/>
  838. <column id="p10" type="STRING" size="256"/>
  839. </ColumnInfo>
  840. </Dataset>
  841. <Dataset id="ds_grid_grd_month_cm" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rsltregst_onrowposchanged">
  842. <ColumnInfo>
  843. <column id="itemnm1" type="STRING" size="256"/>
  844. <column id="itemnm2" type="STRING" size="256"/>
  845. <column id="a01" type="STRING" size="256"/>
  846. <column id="a02" type="STRING" size="256"/>
  847. <column id="a03" type="STRING" size="256"/>
  848. <column id="a04" type="STRING" size="256"/>
  849. <column id="a05" type="STRING" size="256"/>
  850. <column id="a06" type="STRING" size="256"/>
  851. <column id="a07" type="STRING" size="256"/>
  852. <column id="a08" type="STRING" size="256"/>
  853. <column id="a09" type="STRING" size="256"/>
  854. <column id="a10" type="STRING" size="256"/>
  855. <column id="a11" type="STRING" size="256"/>
  856. <column id="a12" type="STRING" size="256"/>
  857. <column id="a00" type="STRING" size="256"/>
  858. <column id="per" type="STRING" size="256"/>
  859. </ColumnInfo>
  860. </Dataset>
  861. <Dataset id="ds_grid_grd_year_cm" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rsltregst_onrowposchanged">
  862. <ColumnInfo>
  863. <column id="itemnm1" type="STRING" size="256"/>
  864. <column id="itemnm2" type="STRING" size="256"/>
  865. <column id="o01" type="STRING" size="256"/>
  866. <column id="a01" type="STRING" size="256"/>
  867. <column id="p01" type="STRING" size="256"/>
  868. <column id="o02" type="STRING" size="256"/>
  869. <column id="a02" type="STRING" size="256"/>
  870. <column id="p02" type="STRING" size="256"/>
  871. <column id="o03" type="STRING" size="256"/>
  872. <column id="a03" type="STRING" size="256"/>
  873. <column id="p03" type="STRING" size="256"/>
  874. <column id="o04" type="STRING" size="256"/>
  875. <column id="a04" type="STRING" size="256"/>
  876. <column id="p04" type="STRING" size="256"/>
  877. <column id="o05" type="STRING" size="256"/>
  878. <column id="a05" type="STRING" size="256"/>
  879. <column id="p05" type="STRING" size="256"/>
  880. <column id="o06" type="STRING" size="256"/>
  881. <column id="a06" type="STRING" size="256"/>
  882. <column id="p06" type="STRING" size="256"/>
  883. <column id="o07" type="STRING" size="256"/>
  884. <column id="a07" type="STRING" size="256"/>
  885. <column id="p07" type="STRING" size="256"/>
  886. <column id="o08" type="STRING" size="256"/>
  887. <column id="a08" type="STRING" size="256"/>
  888. <column id="p08" type="STRING" size="256"/>
  889. <column id="o09" type="STRING" size="256"/>
  890. <column id="a09" type="STRING" size="256"/>
  891. <column id="p09" type="STRING" size="256"/>
  892. <column id="o10" type="STRING" size="256"/>
  893. <column id="a10" type="STRING" size="256"/>
  894. <column id="p10" type="STRING" size="256"/>
  895. </ColumnInfo>
  896. </Dataset>
  897. <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  898. <ColumnInfo>
  899. <Column id="fromdd" type="STRING" size="256"/>
  900. <Column id="todd" type="STRING" size="256"/>
  901. <Column id="iogbn" type="STRING" size="256"/>
  902. <Column id="qrygbn" type="STRING" size="256"/>
  903. <Column id="viewgbn" type="STRING" size="256"/>
  904. </ColumnInfo>
  905. <Rows>
  906. <Row>
  907. <Col id="iogbn">1</Col>
  908. <Col id="qrygbn">1</Col>
  909. <Col id="viewgbn">2</Col>
  910. </Row>
  911. </Rows>
  912. </Dataset>
  913. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  914. <ColumnInfo>
  915. <Column id="fromdd" type="STRING" size="256"/>
  916. <Column id="todd" type="STRING" size="256"/>
  917. <Column id="iogbn" type="STRING" size="256"/>
  918. <Column id="qrygbn" type="STRING" size="256"/>
  919. <Column id="viewgbn" type="STRING" size="256"/>
  920. </ColumnInfo>
  921. <Rows>
  922. <Row/>
  923. </Rows>
  924. </Dataset>
  925. </Objects>
  926. <Bind>
  927. <BindItem id="item0" compid="group3.group1.cp_workfromdd" propid="value" datasetid="ds_hidden_ref" columnid="fromdd"/>
  928. <BindItem id="item1" compid="group3.group1.cp_worktodd" propid="value" datasetid="ds_hidden_ref" columnid="todd"/>
  929. <BindItem id="item2" compid="group3.group1.cmb_rtnabnflag" propid="value" datasetid="ds_hidden_ref" columnid="iogbn"/>
  930. <BindItem id="item3" compid="group3.group1.cmb_viewgbn" propid="value" datasetid="ds_hidden_ref" columnid="viewgbn"/>
  931. </Bind>
  932. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  933. * System Name :
  934. * Job Name :
  935. * Creator :
  936. * Make Date : 2015-11-13
  937. * Description :
  938. *---------------------------------------------------------------------------------------
  939. * Modify Date Modifier Modify Description
  940. *---------------------------------------------------------------------------------------
  941. * 2015-11-13 Live Converter TF->XP
  942. *
  943. *---------------------------------------------------------------------------------------
  944. ****************************************************************************************/
  945. include "com_commonxp::comm_main.xjs";
  946. include "lis_commonxp::LZZ001.xjs";
  947. include "lis_commonxp::LLZ001.xjs";
  948. function workform_oninit(obj:Form, e:InitEventInfo)
  949. {
  950. //폼 초기화 함수
  951. frmf_initForm(obj);
  952. }
  953. function workform_onload(obj:Form, e:LoadEventInfo)
  954. {
  955. group3.switch1.tabindex = 0; //일별통계
  956. var toDay = utlf_getCurrentDate();
  957. group3.group1.cp_workfromdd.dateformat = "yyyy-MM";
  958. ds_hidden_ref.setColumn(0, "fromdd", toDay.substr(0,6));
  959. fSetInit();
  960. }
  961. function fSetInit()
  962. {
  963. group3.group1.caption9.visible = false;
  964. group3.group1.cp_worktodd.visible = false;
  965. ds_grid_grd_days.clearData(); //일별
  966. ds_grid_grd_month.clearData(); //월별
  967. ds_grid_grd_year.clearData(); //연별
  968. ds_grid_grd_month_cm.clearData(); //유형(월별)
  969. ds_grid_grd_year_cm.clearData(); //유형(연별)
  970. }
  971. //조회
  972. function fGetTnsSideEffectCnt()
  973. {
  974. var qrygbn = group3.switch1.tabindex;
  975. ds_send.setColumn(0, "fromdd", ds_hidden_ref.getColumn(0, "fromdd"));
  976. ds_send.setColumn(0, "todd", ds_hidden_ref.getColumn(0, "todd"));
  977. ds_send.setColumn(0, "iogbn", ds_hidden_ref.getColumn(0, "iogbn")); // 1=전체, 2=입원, 3=외래
  978. ds_send.setColumn(0, "qrygbn", (qrygbn + 1)); // 1=일별, 2=월별, 3=연별
  979. ds_send.setColumn(0, "viewgbn", ds_hidden_ref.getColumn(0, "viewgbn")); // 1=진료과별, 2=혈액종류별
  980. if(qrygbn == 0) // 일별
  981. {
  982. var oParam = {};
  983. oParam.id = "TRLBS00801";
  984. oParam.service = "statsmngtapp.BloodBankStatsRefMngt";
  985. oParam.method = "reqGetTnsSideEffectCnt";
  986. oParam.inds = "cond=ds_send";
  987. oParam.outds = "ds_grid_grd_days=getTnsSideEffectCnt";
  988. oParam.async = false;
  989. oParam.callback = "cbf_SMLBS00800";
  990. tranf_submit(oParam);
  991. }
  992. else if(qrygbn == 1) // 월별
  993. {
  994. var oParam = {};
  995. oParam.id = "TRLBS00802";
  996. oParam.service = "statsmngtapp.BloodBankStatsRefMngt";
  997. oParam.method = "reqGetTnsSideEffectCnt";
  998. oParam.inds = "cond=ds_send";
  999. oParam.outds = "ds_grid_grd_month=getTnsSideEffectCnt";
  1000. oParam.async = false;
  1001. oParam.callback = "cbf_SMLBS00800";
  1002. tranf_submit(oParam);
  1003. }
  1004. else if(qrygbn == 2) // 연별
  1005. {
  1006. group3.group1.cp_workfromdd.dateformat = "yyyy";
  1007. diffYr = ds_send.getColumn(0, "fromdd") - ds_send.getColumn(0, "todd");
  1008. if(diffYr > 9)
  1009. {
  1010. sysf_messageBox("10년이내로 조회하세요.","E");
  1011. return;
  1012. }
  1013. fYearCaption(""); // 연별 캡션 변경
  1014. var oParam = {};
  1015. oParam.id = "TRLBS00803";
  1016. oParam.service = "statsmngtapp.BloodBankStatsRefMngt";
  1017. oParam.method = "reqGetTnsSideEffectCnt";
  1018. oParam.inds = "cond=ds_send";
  1019. oParam.outds = "ds_grid_grd_year=getTnsSideEffectCnt";
  1020. oParam.async = false;
  1021. oParam.callback = "cbf_SMLBS00800";
  1022. tranf_submit(oParam);
  1023. }
  1024. else if(qrygbn == 3) // 유형(월별)
  1025. {
  1026. var oParam = {};
  1027. oParam.id = "TRLBS00804";
  1028. oParam.service = "statsmngtapp.BloodBankStatsRefMngt";
  1029. oParam.method = "reqGetTnsSideEffectCnt";
  1030. oParam.inds = "cond=ds_send";
  1031. oParam.outds = "ds_grid_grd_month_cm=getTnsSideEffectCnt";
  1032. oParam.async = false;
  1033. oParam.callback = "cbf_SMLBS00800";
  1034. tranf_submit(oParam);
  1035. }
  1036. else if(qrygbn == 4) // 유형(연별)
  1037. {
  1038. diffYr = toYr - fromYr;
  1039. if(diffYr > 9)
  1040. {
  1041. sysf_messageBox("10년이내로 조회하세요.","E");
  1042. return;
  1043. }
  1044. fYearCaption("cm"); // 연별 캡션 변경
  1045. var oParam = {};
  1046. oParam.id = "TRLBS00805";
  1047. oParam.service = "statsmngtapp.BloodBankStatsRefMngt";
  1048. oParam.method = "reqGetTnsSideEffectCnt";
  1049. oParam.inds = "cond=ds_send";
  1050. oParam.outds = "ds_grid_grd_year_cm=getTnsSideEffectCnt";
  1051. oParam.async = false;
  1052. oParam.callback = "cbf_SMLBS00800";
  1053. tranf_submit(oParam);
  1054. }
  1055. }
  1056. // 엑셀 저장
  1057. function fSaveExcel()
  1058. {
  1059. if(group3.switch1.tabindex == 0) // 일별
  1060. {
  1061. grdf_exportExcel(group3.switch1.dd.grd_days, lf_lisGetTitle(this), "sheet1", false);
  1062. }
  1063. else if(group3.switch1.tabindex == 1) // 월별
  1064. {
  1065. grdf_exportExcel(group3.switch1.case1.grd_month, lf_lisGetTitle(this), "sheet1", false);
  1066. }
  1067. else if(group3.switch1.tabindex == 2) // 연별
  1068. {
  1069. grdf_exportExcel(group3.switch1.case2.grd_year, lf_lisGetTitle(this), "sheet1", false);
  1070. }
  1071. else if(group3.switch1.tabindex == 3) // 유형(월별)
  1072. {
  1073. grdf_exportExcel(group3.switch1.case3.grd_month_cm, lf_lisGetTitle(this), "sheet1", false);
  1074. }
  1075. else if(group3.switch1.tabindex == 4) // 유형(연별)
  1076. {
  1077. grdf_exportExcel(group3.switch1.case4.grd_year_cm, lf_lisGetTitle(this), "sheet1", false);
  1078. }
  1079. }
  1080. // Tab 별 초기설정
  1081. function fchgQrygbn()
  1082. {
  1083. var qrygbn = group3.switch1.tabindex;
  1084. var toDay = utlf_getCurrentDate();
  1085. ds_hidden_ref.setColumn(0, "qrygbn", qrygbn);
  1086. if (qrygbn == 0)
  1087. {
  1088. group3.group1.cp_workfromdd.dateformat = "yyyy-MM";
  1089. group3.group1.caption9.visible = false;
  1090. group3.group1.cp_worktodd.visible = false;
  1091. ds_hidden_ref.setColumn(0, "fromdd", toDay.substr(0, 6));
  1092. }
  1093. else if (qrygbn == 1)
  1094. {
  1095. // 월별
  1096. group3.group1.cp_workfromdd.dateformat = "yyyy";
  1097. group3.group1.caption9.visible = false;
  1098. group3.group1.cp_worktodd.visible = false;
  1099. ds_hidden_ref.setColumn(0, "fromdd", toDay.substr(0, 4));
  1100. }
  1101. else if (qrygbn == 2)
  1102. {
  1103. //년별
  1104. group3.group1.cp_workfromdd.dateformat = "yyyy";
  1105. group3.group1.cp_worktodd.dateformat = "yyyy";
  1106. group3.group1.caption9.visible = true;
  1107. group3.group1.cp_worktodd.visible = true;
  1108. ds_hidden_ref.setColumn(0, "fromdd", toDay.substr(0, 4));
  1109. ds_hidden_ref.setColumn(0, "todd", toDay.substr(0, 4));
  1110. fYearCaption("");
  1111. }
  1112. else if (qrygbn == 3)
  1113. {
  1114. // (유형)월별
  1115. group3.group1.cp_workfromdd.dateformat = "yyyy";
  1116. group3.group1.caption9.visible = false;
  1117. group3.group1.cp_worktodd.visible = false;
  1118. ds_hidden_ref.setColumn(0, "fromdd", toDay.substr(0, 4));
  1119. }
  1120. else if (qrygbn == 4)
  1121. {
  1122. // (유형)년별
  1123. group3.group1.cp_workfromdd.dateformat = "yyyy";
  1124. group3.group1.cp_worktodd.dateformat = "yyyy";
  1125. group3.group1.caption9.visible = true;
  1126. group3.group1.cp_worktodd.visible = true;
  1127. ds_hidden_ref.setColumn(0, "fromdd", toDay.substr(0, 4));
  1128. ds_hidden_ref.setColumn(0, "todd", toDay.substr(0, 4));
  1129. fYearCaption("cm");
  1130. }
  1131. }
  1132. // 연별 캡션 변경
  1133. function fYearCaption(flag)
  1134. {
  1135. var viewgbn = ds_hidden_ref.getColumn(0, "viewgbn");
  1136. var fromyy = ds_hidden_ref.getColumn(0, "fromdd").substr(0,4);
  1137. var toyy = ds_hidden_ref.getColumn(0, "todd").substr(0,4);
  1138. var newCap = "";
  1139. var newCap2 = "";
  1140. var temp = "";
  1141. var cnt = "0";
  1142. if(viewgbn == "1")
  1143. {
  1144. viewgbn = "진료과";
  1145. }
  1146. else
  1147. {
  1148. viewgbn = "혈액종류";
  1149. }
  1150. if(flag == "cm")
  1151. {
  1152. for(var i = 2; i < group3.switch1.case4.grd_year_cm.getFormatColCount(); i++)
  1153. {
  1154. group3.switch1.case4.grd_year_cm.setFormatColProperty(i, "size", 0);
  1155. }
  1156. for(var i = fromyy; i <= toyy; i++)
  1157. {
  1158. newCap += "^" + i + "년" + "^" + i + "년" + "^" + i + "년";
  1159. newCap2 += "^총건수^건수^%"
  1160. cnt ++;
  1161. }
  1162. var upHeadArr = newCap.split("^");
  1163. var tempCnt = 1; // 출력 cell index count
  1164. for(var z = 1; z < upHeadArr.length; z++)
  1165. {
  1166. group3.switch1.case4.grd_year_cm.setFormatColProperty(z+1, "size", 50);
  1167. if(!utlf_isNull(upHeadArr[tempCnt]))
  1168. {
  1169. group3.switch1.case4.grd_year_cm.setCellProperty("Head", z+1, "text", ""+upHeadArr[tempCnt]);
  1170. tempCnt = tempCnt + 1;
  1171. }
  1172. }
  1173. }
  1174. else
  1175. {
  1176. for(var i = 1; i < group3.switch1.case2.grd_year.getFormatColCount(); i++)
  1177. {
  1178. group3.switch1.case2.grd_year.setFormatColProperty(i, "size", 0);
  1179. }
  1180. for(i = fromyy; i <= toyy; i++)
  1181. {
  1182. temp = "^" + i + "년";
  1183. newCap += temp + temp + temp ;
  1184. newCap2 += "^총출고^건수^%"
  1185. cnt ++;
  1186. }
  1187. var upHeadArr = newCap.split("^");
  1188. var tempCnt = 1; // 출력 cell index count
  1189. for(var z = 1; z < upHeadArr.length; z++)
  1190. {
  1191. group3.switch1.case2.grd_year.setFormatColProperty(z, "size", 50);
  1192. if( !utlf_isNull(upHeadArr[tempCnt]))
  1193. {
  1194. group3.switch1.case2.grd_year.setCellProperty("Head", z, "text", ""+upHeadArr[tempCnt]);
  1195. tempCnt = tempCnt + 1;
  1196. }
  1197. }
  1198. }
  1199. }
  1200. // callback 함수
  1201. function cbf_SMLBS00800(strSvcID, nErrorCode, strErrorMag)
  1202. {
  1203. if(nErrorCode != 0)
  1204. {
  1205. sysf_messageBox("ID: "+ strSvcID + " Error: " + strErrorMag, "E009", "");
  1206. }
  1207. else
  1208. {
  1209. switch(strSvcID)
  1210. {
  1211. case "TRLBS00801":
  1212. break;
  1213. case "TRLBS00802":
  1214. break;
  1215. case "TRLBS00803":
  1216. break;
  1217. case "TRLBS00804":
  1218. break;
  1219. case "TRLBS00805":
  1220. break;
  1221. default:
  1222. break;
  1223. }
  1224. }
  1225. }
  1226. function group3_group1_cmb_viewgbn_ondropdown(obj:Combo, e:EventInfo)
  1227. {
  1228. if(group3.switch1.tabindex == 0) // 일별
  1229. {
  1230. ds_grid_grd_days.clearData();
  1231. }
  1232. else if(group3.switch1.tabindex == 1) // 월별
  1233. {
  1234. ds_grid_grd_month.clearData();
  1235. }
  1236. else if(group3.switch1.tabindex == 2) // 연별
  1237. {
  1238. ds_grid_grd_year.clearData();
  1239. }
  1240. else if(group3.switch1.tabindex == 3) // 유형(월별)
  1241. {
  1242. ds_grid_grd_month_cm.clearData();
  1243. }
  1244. else if(group3.switch1.tabindex == 4) // 유형(연별)
  1245. {
  1246. ds_grid_grd_year_cm.clearData();
  1247. }
  1248. }
  1249. //엑셀버튼
  1250. function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  1251. {
  1252. fSaveExcel();
  1253. }
  1254. //탭전환
  1255. function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1256. {
  1257. fchgQrygbn();
  1258. }
  1259. //초기화버튼
  1260. function btn_reset_onlbuttonup(obj:Button, e:MouseEventInfo)
  1261. {
  1262. fSetInit();
  1263. }
  1264. //조회버튼
  1265. function group3_group1_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  1266. {
  1267. fGetTnsSideEffectCnt();
  1268. }
  1269. ]]></Script>
  1270. </Form>
  1271. </FDL>