SMAES02600_핵의학체내월별통계.xfdl 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES02600" position="absolute 0 0 1206 761" titletext="월별 통계" oninit="SMAES02600_oninit" onload="SMAES02600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="월별 통계" class="tit_1" position="absolute 0 0 215 23"/>
  8. <Div id="grp_sea" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 24 1195 54">
  9. <Layouts>
  10. <Layout>
  11. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 5 1113 25" anchor="top right"/>
  12. <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1120 4 1176 26" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  13. <Static id="caption3" text="일자 :" class="search_name" position="absolute 260 7 320 24"/>
  14. <Static id="caption5" text="통계구분 :" class="search_name" position="absolute 10 7 96 24"/>
  15. <Combo id="combo1" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 105 6 230 25" onitemchanged="grp_sea_combo1_onitemchanged">
  16. <Dataset id="innerdataset">
  17. <ColumnInfo>
  18. <Column id="codecolumn"/>
  19. <Column id="datacolumn"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row>
  23. <Col id="codecolumn">A</Col>
  24. <Col id="datacolumn">진료과별</Col>
  25. </Row>
  26. <Row>
  27. <Col id="codecolumn">B</Col>
  28. <Col id="datacolumn">진료의별</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">C</Col>
  32. <Col id="datacolumn">보험유형별</Col>
  33. </Row>
  34. </Rows>
  35. </Dataset>
  36. </Combo>
  37. <Calendar id="input4" taborder="8" class="input_default" position="absolute 325 6 415 25" mask="yyyy-mm" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_sea_input4_onchanged"/>
  38. <Combo id="cmb_excuroomgrp" taborder="9" innerdataset="@ds_init_initexcuroomgrp" class="combo_default" position="absolute 530 6 648 25" datacolumn="basecdcnts2" codecolumn="basecdcnts" onitemchanged="grp_sea_cmb_excuroomgrp_onitemchanged"/>
  39. <Static id="caption7" text="검사실 :" class="search_name" position="absolute 450 7 530 24"/>
  40. <Static id="caption12" text="구분 :" class="search_name" position="absolute 685 7 747 24"/>
  41. <Radio id="radio2" taborder="10" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 749 6 865 24" onitemchanged="grp_sea_radio2_onitemchanged">
  42. <Dataset id="innerdataset">
  43. <ColumnInfo>
  44. <Column id="codecolumn"/>
  45. <Column id="datacolumn"/>
  46. </ColumnInfo>
  47. <Rows>
  48. <Row>
  49. <Col id="codecolumn">E</Col>
  50. <Col id="datacolumn">검사수</Col>
  51. </Row>
  52. <Row>
  53. <Col id="codecolumn">P</Col>
  54. <Col id="datacolumn">환자수</Col>
  55. </Row>
  56. </Rows>
  57. </Dataset>
  58. </Radio>
  59. </Layout>
  60. </Layouts>
  61. </Div>
  62. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1115 57 1195 76" anchor="top right" onclick="btn_excsave_onclick"/>
  63. <Shape id="line1" class="line_10" position="absolute 0 76 1195 82" anchor="left top right"/>
  64. <Grid id="grd_list" taborder="3" binddataset="ds_grd_list" useinputpanel="false" position="absolute 0 81 1195 754" anchor="all" cellsizingtype="col">
  65. <Formats>
  66. <Format id="default">
  67. <Columns>
  68. <Column size="26"/>
  69. <Column size="60"/>
  70. <Column size="260"/>
  71. <Column size="38"/>
  72. <Column size="38"/>
  73. <Column size="38"/>
  74. <Column size="38"/>
  75. <Column size="38"/>
  76. <Column size="38"/>
  77. <Column size="38"/>
  78. <Column size="38"/>
  79. <Column size="38"/>
  80. <Column size="38"/>
  81. <Column size="38"/>
  82. <Column size="38"/>
  83. <Column size="38"/>
  84. <Column size="38"/>
  85. <Column size="38"/>
  86. <Column size="38"/>
  87. <Column size="38"/>
  88. <Column size="38"/>
  89. <Column size="38"/>
  90. <Column size="38"/>
  91. <Column size="38"/>
  92. <Column size="38"/>
  93. <Column size="38"/>
  94. <Column size="38"/>
  95. <Column size="38"/>
  96. <Column size="38"/>
  97. <Column size="38"/>
  98. <Column size="38"/>
  99. <Column size="38"/>
  100. <Column size="38"/>
  101. <Column size="38"/>
  102. <Column size="60"/>
  103. </Columns>
  104. <Rows>
  105. <Row size="24" band="head"/>
  106. <Row size="24"/>
  107. <Row size="24" band="summ"/>
  108. </Rows>
  109. <Band id="head">
  110. <Cell/>
  111. <Cell col="1" text="진료과"/>
  112. <Cell col="2" text="검사항목"/>
  113. <Cell col="3" text="1일"/>
  114. <Cell col="4" text="2일"/>
  115. <Cell col="5" text="3일"/>
  116. <Cell col="6" text="4일"/>
  117. <Cell col="7" text="5일"/>
  118. <Cell col="8" text="6일"/>
  119. <Cell col="9" text="7일"/>
  120. <Cell col="10" text="8일"/>
  121. <Cell col="11" text="9일"/>
  122. <Cell col="12" text="10일"/>
  123. <Cell col="13" text="11일"/>
  124. <Cell col="14" text="12일"/>
  125. <Cell col="15" text="13일"/>
  126. <Cell col="16" text="14일"/>
  127. <Cell col="17" text="15일"/>
  128. <Cell col="18" text="16일"/>
  129. <Cell col="19" text="17일"/>
  130. <Cell col="20" text="18일"/>
  131. <Cell col="21" text="19일"/>
  132. <Cell col="22" text="20일"/>
  133. <Cell col="23" text="21일"/>
  134. <Cell col="24" text="22일"/>
  135. <Cell col="25" text="23일"/>
  136. <Cell col="26" text="24일"/>
  137. <Cell col="27" text="25일"/>
  138. <Cell col="28" text="26일"/>
  139. <Cell col="29" text="27일"/>
  140. <Cell col="30" text="28일"/>
  141. <Cell col="31" text="29일"/>
  142. <Cell col="32" text="30일"/>
  143. <Cell col="33" text="31일"/>
  144. <Cell col="34" text="합계"/>
  145. </Band>
  146. <Band id="body">
  147. <Cell celltype="head" expr="currow+1"/>
  148. <Cell col="1" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:systkey1"/>
  149. <Cell col="2" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:systkey2"/>
  150. <Cell col="3" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day01"/>
  151. <Cell col="4" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day02"/>
  152. <Cell col="5" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day03"/>
  153. <Cell col="6" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day04"/>
  154. <Cell col="7" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day05"/>
  155. <Cell col="8" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day06"/>
  156. <Cell col="9" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day07"/>
  157. <Cell col="10" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day08"/>
  158. <Cell col="11" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day09"/>
  159. <Cell col="12" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day10"/>
  160. <Cell col="13" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day11"/>
  161. <Cell col="14" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day12"/>
  162. <Cell col="15" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day13"/>
  163. <Cell col="16" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day14"/>
  164. <Cell col="17" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day15"/>
  165. <Cell col="18" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day16"/>
  166. <Cell col="19" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day17"/>
  167. <Cell col="20" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day18"/>
  168. <Cell col="21" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day19"/>
  169. <Cell col="22" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day20"/>
  170. <Cell col="23" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day21"/>
  171. <Cell col="24" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day22"/>
  172. <Cell col="25" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day23"/>
  173. <Cell col="26" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day24"/>
  174. <Cell col="27" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day25"/>
  175. <Cell col="28" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day26"/>
  176. <Cell col="29" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day27"/>
  177. <Cell col="30" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day28"/>
  178. <Cell col="31" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day29"/>
  179. <Cell col="32" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day30"/>
  180. <Cell col="33" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:day31"/>
  181. <Cell col="34" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#FFFFCC' : '');color:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#0000ff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:total"/>
  182. </Band>
  183. <Band id="summary">
  184. <Cell/>
  185. <Cell col="1"/>
  186. <Cell col="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계"/>
  187. <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day01')"/>
  188. <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day02')"/>
  189. <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day03')"/>
  190. <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day04')"/>
  191. <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day05')"/>
  192. <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day06')"/>
  193. <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day07')"/>
  194. <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day08')"/>
  195. <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day09')"/>
  196. <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day10')"/>
  197. <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day11')"/>
  198. <Cell col="14" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day12')"/>
  199. <Cell col="15" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day13')"/>
  200. <Cell col="16" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day14')"/>
  201. <Cell col="17" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day15')"/>
  202. <Cell col="18" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day16')"/>
  203. <Cell col="19" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day17')"/>
  204. <Cell col="20" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day18')"/>
  205. <Cell col="21" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day19')"/>
  206. <Cell col="22" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day20')"/>
  207. <Cell col="23" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day21')"/>
  208. <Cell col="24" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day22')"/>
  209. <Cell col="25" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day23')"/>
  210. <Cell col="26" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day24')"/>
  211. <Cell col="27" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day25')"/>
  212. <Cell col="28" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day26')"/>
  213. <Cell col="29" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day27')"/>
  214. <Cell col="30" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day28')"/>
  215. <Cell col="31" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day29')"/>
  216. <Cell col="32" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day30')"/>
  217. <Cell col="33" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('day31')"/>
  218. <Cell col="34" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
  219. </Band>
  220. </Format>
  221. </Formats>
  222. </Grid>
  223. <Static id="caption1" text="월별 통계" class="tit_2" position="absolute 0 60 166 82"/>
  224. </Layout>
  225. </Layouts>
  226. <Objects>
  227. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  228. <ColumnInfo>
  229. <Column id="srchstatsflag" type="STRING" size="256"/>
  230. <Column id="srchdate" type="STRING" size="256"/>
  231. <Column id="excuroomgrpcdid" type="STRING" size="256"/>
  232. <Column id="suppdeptcd" type="STRING" size="256"/>
  233. <Column id="srchflag" type="STRING" size="256"/>
  234. </ColumnInfo>
  235. <Rows>
  236. <Row>
  237. <Col id="srchstatsflag">A</Col>
  238. <Col id="srchflag">E</Col>
  239. </Row>
  240. </Rows>
  241. </Dataset>
  242. <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  243. <ColumnInfo>
  244. <Column id="systkey1" type="STRING" size="256" sumtext="구분1"/>
  245. <Column id="systkey2" type="STRING" size="256" sumtext="구분2"/>
  246. <Column id="day01" type="BIGDECIMAL" size="256" sumtext="1일"/>
  247. <Column id="day02" type="BIGDECIMAL" size="256" sumtext="2일"/>
  248. <Column id="day03" type="BIGDECIMAL" size="256" sumtext="3일"/>
  249. <Column id="day04" type="BIGDECIMAL" size="256" sumtext="4일"/>
  250. <Column id="day05" type="BIGDECIMAL" size="256" sumtext="5일"/>
  251. <Column id="day06" type="BIGDECIMAL" size="256" sumtext="6일"/>
  252. <Column id="day07" type="BIGDECIMAL" size="256" sumtext="7일"/>
  253. <Column id="day08" type="BIGDECIMAL" size="256" sumtext="8일"/>
  254. <Column id="day09" type="BIGDECIMAL" size="256" sumtext="9일"/>
  255. <Column id="day10" type="BIGDECIMAL" size="256" sumtext="10일"/>
  256. <Column id="day11" type="BIGDECIMAL" size="256" sumtext="11일"/>
  257. <Column id="day12" type="BIGDECIMAL" size="256" sumtext="12일"/>
  258. <Column id="day13" type="BIGDECIMAL" size="256" sumtext="13일"/>
  259. <Column id="day14" type="BIGDECIMAL" size="256" sumtext="14일"/>
  260. <Column id="day15" type="BIGDECIMAL" size="256" sumtext="15일"/>
  261. <Column id="day16" type="BIGDECIMAL" size="256" sumtext="16일"/>
  262. <Column id="day17" type="BIGDECIMAL" size="256" sumtext="17일"/>
  263. <Column id="day18" type="BIGDECIMAL" size="256" sumtext="18일"/>
  264. <Column id="day19" type="BIGDECIMAL" size="256" sumtext="19일"/>
  265. <Column id="day20" type="BIGDECIMAL" size="256" sumtext="20일"/>
  266. <Column id="day21" type="BIGDECIMAL" size="256" sumtext="21일"/>
  267. <Column id="day22" type="BIGDECIMAL" size="256" sumtext="22일"/>
  268. <Column id="day23" type="BIGDECIMAL" size="256" sumtext="23일"/>
  269. <Column id="day24" type="BIGDECIMAL" size="256" sumtext="24일"/>
  270. <Column id="day25" type="BIGDECIMAL" size="256" sumtext="25일"/>
  271. <Column id="day26" type="BIGDECIMAL" size="256" sumtext="26일"/>
  272. <Column id="day27" type="BIGDECIMAL" size="256" sumtext="27일"/>
  273. <Column id="day28" type="BIGDECIMAL" size="256" sumtext="28일"/>
  274. <Column id="day29" type="BIGDECIMAL" size="256" sumtext="29일"/>
  275. <Column id="day30" type="BIGDECIMAL" size="256" sumtext="30일"/>
  276. <Column id="day31" type="BIGDECIMAL" size="256" sumtext="31일"/>
  277. <Column id="total" type="BIGDECIMAL" size="256" sumtext="합계"/>
  278. </ColumnInfo>
  279. </Dataset>
  280. <Dataset id="ds_init_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  281. <ColumnInfo>
  282. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사그룹코드"/>
  283. <Column id="basecdcnts2" type="STRING" size="256" sumtext="검사그룹코드명"/>
  284. </ColumnInfo>
  285. </Dataset>
  286. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  287. <ColumnInfo>
  288. <Column id="excuroomgrpcdid" type="STRING" size="256" sumtext="검사실그룹코드"/>
  289. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  290. <Column id="rbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,검사실"/>
  291. <Column id="kbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,장비코드"/>
  292. <Column id="nbasecdflag" type="STRING" size="256" sumtext="핵종코드"/>
  293. <Column id="initflag" type="STRING" size="256" sumtext="astlib,병동병실코드구분,1:병동조회"/>
  294. <Column id="alladdyn" type="STRING" size="256" sumtext="검사살전체선택"/>
  295. <Column id="flag" type="STRING" size="256" sumtext="검사살전체선택"/>
  296. <Column id="baseroomflag" type="STRING" size="256" sumtext="검사실구분코드"/>
  297. <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
  298. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실그룹코드"/>
  299. <Column id="ebasecdflag" type="STRING" size="256" sumtext="실시자기본코드구분"/>
  300. </ColumnInfo>
  301. <Rows>
  302. <Row/>
  303. </Rows>
  304. </Dataset>
  305. </Objects>
  306. <Bind>
  307. <BindItem id="item0" compid="grp_sea.combo1" propid="value" datasetid="ds_send" columnid="srchstatsflag"/>
  308. <BindItem id="item1" compid="grp_sea.input4" propid="value" datasetid="ds_send" columnid=""/>
  309. <BindItem id="item2" compid="grp_sea.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="excuroomgrpcdid"/>
  310. <BindItem id="item3" compid="grp_sea.radio2" propid="value" datasetid="ds_send" columnid="srchflag"/>
  311. </Bind>
  312. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  313. * System Name :
  314. * Job Name :
  315. * Creator :
  316. * Make Date : 2015-11-13
  317. * Description :
  318. *---------------------------------------------------------------------------------------
  319. * Modify Date Modifier Modify Description
  320. *---------------------------------------------------------------------------------------
  321. * 2015-11-13 Live Converter TF->XP
  322. *
  323. *---------------------------------------------------------------------------------------
  324. ****************************************************************************************/
  325. include "com_commonxp::comm_main.xjs";
  326. include "ast_examcurexp::AEZ0001.xjs";
  327. var vSuppdeptcd;
  328. function SMAES02600_oninit(obj:Form, e:InitEventInfo)
  329. {
  330. frmf_initForm(obj);
  331. }
  332. function SMAES02600_onload(obj:Form, e:LoadEventInfo)
  333. {
  334. grdf_initGrid(grd_list);
  335. lf_aezfSetSuppDeptcd();
  336. vSuppdeptcd = frmf_getPrestDeptCd();
  337. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  338. ds_send.setColumn(0, "srchdate", String(utlf_getCurrentDate()).substr(0,6));
  339. ds_req.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
  340. ds_main_list_item.clearData();
  341. dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,baseroomflag:1,srchflag:A");
  342. var oParam = {};
  343. oParam.id = "TRAES09001";
  344. oParam.service = "examcurestatsapp.NmedStats";
  345. oParam.method = "reqGetCode";
  346. oParam.inds = "req=ds_req";
  347. oParam.outds = "ds_init_initexcuroomgrp=initexcuroomgrp";
  348. oParam.async = false;
  349. //oParam.callback = "cf_TRAES09001";
  350. tranf_submit(oParam);
  351. frmf_addComboItem("grp_sea.cmb_excuroomgrp","--전체--","","above");
  352. grp_sea.cmb_excuroomgrp.index = 0;
  353. }
  354. function grp_sea_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  355. {
  356. var srchstatsflag = obj.value;
  357. if (srchstatsflag == "A")
  358. {
  359. grd_list.setCellProperty("Head", 1, "text", "진료과");
  360. grd_list.setCellProperty("Head", 2, "text", "검사항목");
  361. grd_list.setFormatColProperty(2, "size", 260);
  362. }
  363. else if (srchstatsflag == "B")
  364. {
  365. grd_list.setCellProperty("Head", 1, "text", "진료과");
  366. grd_list.setCellProperty("Head", 2, "text", "진료의");
  367. grd_list.setFormatColProperty(2, "size", 60);
  368. }
  369. else if (srchstatsflag == "C")
  370. {
  371. grd_list.setCellProperty("Head", 1, "text", "보험유형");
  372. grd_list.setCellProperty("Head", 2, "text", "검사항목");
  373. grd_list.setFormatColProperty(2, "size", 260);
  374. }
  375. getStatsMMCaseList();
  376. }
  377. function getStatsMMCaseList()
  378. {
  379. ds_main_list_item.clearData();
  380. var oParam = {};
  381. oParam.id = "TRAES02601";
  382. oParam.service = "examcurestatsapp.NmedStats";
  383. oParam.method = "reqGetNmedStatsMMCaseList";
  384. oParam.inds = "req=ds_send";
  385. oParam.outds = "ds_main_list_item=item";
  386. oParam.async = false;
  387. oParam.callback = "cf_TRAES02601";
  388. tranf_submit(oParam);
  389. }
  390. function cf_TRAES02601(sSvcId, nErrorCode, sErrorMsg)
  391. {
  392. if(nErrorCode < 0)
  393. {
  394. return;
  395. }
  396. else
  397. {
  398. var cnt = ds_main_list_item.rowcount;
  399. if (cnt > 0)
  400. {
  401. ds_main_list_item.keystring = "";
  402. }
  403. }
  404. }
  405. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  406. {
  407. grdf_exportExcel(grd_list, "", "see");
  408. }
  409. function grp_sea_input4_onchanged(obj:Calendar, e:ChangeEventInfo)
  410. {
  411. ds_send.setColumn(0, "srchdate", String(obj.value).substr(0,6));
  412. }
  413. function grp_sea_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  414. {
  415. getStatsMMCaseList();
  416. }
  417. function grp_sea_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  418. {
  419. getStatsMMCaseList();
  420. }
  421. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  422. {
  423. getStatsMMCaseList();
  424. }
  425. ]]></Script>
  426. </Form>
  427. </FDL>