SMAES04300_핵의학체내치료별통합통계.xfdl 80 KB

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