SMPID24500_KDRG질병군별분류통계.xfdl 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPID24500" position="absolute 0 0 896 868" titletext="질병군별 진료과분류 현황" oninit="SMPID24500_oninit" onload="SMPID24500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 16 895 864" id="group1" scrollbars="autoboth" text="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;UxFormClipBoard version=&quot;1.4&quot;&gt; &lt;Tab id=&quot;switch1&quot; taborder=&quot;4&quot; tabindex=&quot;0&quot; position=&quot;absolute 1 71 896 842&quot; anchor=&quot;all&quot;&gt; &lt;Tabpages&gt; &lt;Tabpage id=&quot;case1&quot; text=&quot;진료과&quot;&gt; &lt;Layouts&gt; &lt;Layout&gt; &lt;Grid id=&quot;grd_kdrglist&quot; class=&quot;datagrid3&quot; taborder=&quot;0&quot; binddataset=&quot;ds_main_kdrglist&quot; useinputpanel=&quot;false&quot; autofittype=&quot;col&quot; position=&quot;absolute 1 25 894 720&quot; anchor=&quot;all&quot;&gt; &lt;Formats&gt; &lt;Format id=&quot;default&quot;&gt; &lt;Columns&gt; &lt;Column size=&quot;26&quot;/&gt; &lt;Column size=&quot;57&quot;/&gt; &lt;Column size=&quot;100&quot;/&gt; &lt;Column size=&quot;42&quot;/&gt; &lt;Column size=&quot;54&quot;/&gt; &lt;Column size=&quot;426&quot;/&gt; &lt;Column size=&quot;45&quot;/&gt; &lt;Column size=&quot;66&quot;/&gt; &lt;/Columns&gt; &lt;Rows&gt; &lt;Row size=&quot;24&quot; band=&quot;head&quot;/&gt; &lt;Row size=&quot;24&quot;/&gt; &lt;/Rows&gt; &lt;Band id=&quot;head&quot;&gt; &lt;Cell/&gt; &lt;Cell col=&quot;1&quot; text=&quot;대분류&quot;/&gt; &lt;Cell col=&quot;2&quot; text=&quot;진료과&quot;/&gt; &lt;Cell col=&quot;3&quot; text=&quot;MDC&quot;/&gt; &lt;Cell col=&quot;4&quot; text=&quot;DRG번호&quot;/&gt; &lt;Cell col=&quot;5&quot; text=&quot;DRG명&quot;/&gt; &lt;Cell col=&quot;6&quot; text=&quot;환자수&quot;/&gt; &lt;Cell col=&quot;7&quot; text=&quot;총입원일수&quot;/&gt; &lt;/Band&gt; &lt;Band id=&quot;body&quot;&gt; &lt;Cell celltype=&quot;head&quot; expr=&quot;currow+1&quot;/&gt; &lt;Cell col=&quot;1&quot; text=&quot;bind:drgtype&quot;/&gt; &lt;Cell col=&quot;2&quot; displaytype=&quot;combo&quot; edittype=&quot;combo&quot; style=&quot;align:center;&quot; text=&quot;bind:orddeptcd&quot; combodataset=&quot;ds_init_orddeptcd2&quot; combocodecol=&quot;cd&quot; combodatacol=&quot;nm&quot;/&gt; &lt;Cell col=&quot;3&quot; text=&quot;bind:mdc&quot;/&gt; &lt;Cell col=&quot;4&quot; text=&quot;bind:drgno&quot;/&gt; &lt;Cell col=&quot;5&quot; text=&quot;bind:drgname&quot;/&gt; &lt;Cell col=&quot;6&quot; text=&quot;bind:pidcnt&quot;/&gt; &lt;Cell col=&quot;7&quot; text=&quot;bind:chosindaynocnt&quot;/&gt; &lt;/Band&gt; &lt;/Format&gt; &lt;/Formats&gt; &lt;/Grid&gt; &lt;Shape id=&quot;line1&quot; class=&quot;line_1&quot; position=&quot;absolute 1 15 894 33&quot; style=&quot;strokepen:3 solid #33bbbbff;&quot; anchor=&quot;left top right&quot;/&gt; &lt;Button id=&quot;btn_excelsave&quot; taborder=&quot;1&quot; text=&quot;엑셀저장&quot; onclick=&quot;btn_excelsave_onclick&quot; class=&quot;btn7&quot; position=&quot;absolute 814 0 894 19&quot; anchor=&quot;top right&quot;/&gt; &lt;/Layout&gt; &lt;/Layouts&gt; &lt;/Tabpage&gt; &lt;Tabpage id=&quot;case2&quot; text=&quot;진료과별의사별&quot;&gt; &lt;Layouts&gt; &lt;Layout&gt; &lt;Grid id=&quot;grd_kdrglist&quot; class=&quot;datagrid3&quot; taborder=&quot;1&quot; binddataset=&quot;ds_main_kdrglist1&quot; useinputpanel=&quot;false&quot; autofittype=&quot;col&quot; position=&quot;absolute 1 25 894 720&quot; anchor=&quot;all&quot;&gt; &lt;Formats&gt; &lt;Format id=&quot;default&quot;&gt; &lt;Columns&gt; &lt;Column size=&quot;32&quot;/&gt; &lt;Column size=&quot;57&quot;/&gt; &lt;Column size=&quot;100&quot;/&gt; &lt;Column size=&quot;53&quot;/&gt; &lt;Column size=&quot;42&quot;/&gt; &lt;Column size=&quot;54&quot;/&gt; &lt;Column size=&quot;440&quot;/&gt; &lt;Column size=&quot;45&quot;/&gt; &lt;Column size=&quot;66&quot;/&gt; &lt;/Columns&gt; &lt;Rows&gt; &lt;Row size=&quot;24&quot; band=&quot;head&quot;/&gt; &lt;Row size=&quot;24&quot;/&gt; &lt;/Rows&gt; &lt;Band id=&quot;head&quot;&gt; &lt;Cell/&gt; &lt;Cell col=&quot;1&quot; text=&quot;대분류&quot;/&gt; &lt;Cell col=&quot;2&quot; text=&quot;진료과&quot;/&gt; &lt;Cell col=&quot;3&quot; text=&quot;진료의&quot;/&gt; &lt;Cell col=&quot;4&quot; text=&quot;MDC&quot;/&gt; &lt;Cell col=&quot;5&quot; text=&quot;DRG번호&quot;/&gt; &lt;Cell col=&quot;6&quot; text=&quot;DRG명&quot;/&gt; &lt;Cell col=&quot;7&quot; text=&quot;환자수&quot;/&gt; &lt;Cell col=&quot;8&quot; text=&quot;총입원일수&quot;/&gt; &lt;/Band&gt; &lt;Band id=&quot;body&quot;&gt; &lt;Cell celltype=&quot;head&quot; expr=&quot;currow+1&quot;/&gt; &lt;Cell col=&quot;1&quot; text=&quot;bind:drgtype&quot;/&gt; &lt;Cell col=&quot;2&quot; displaytype=&quot;combo&quot; edittype=&quot;combo&quot; style=&quot;align:center middle;&quot; text=&quot;bind:orddeptcd&quot; combodataset=&quot;ds_init_orddeptcd2&quot; combocodecol=&quot;cd&quot; combodatacol=&quot;nm&quot;/&gt; &lt;Cell col=&quot;3&quot; displaytype=&quot;text&quot; style=&quot;align:center middle;&quot; text=&quot;bind:orddrnm&quot;/&gt; &lt;Cell col=&quot;4&quot; text=&quot;bind:mdc&quot;/&gt; &lt;Cell col=&quot;5&quot; text=&quot;bind:drgno&quot;/&gt; &lt;Cell col=&quot;6&quot; text=&quot;bind:drgname&quot;/&gt; &lt;Cell col=&quot;7&quot; text=&quot;bind:pidcnt&quot;/&gt; &lt;Cell col=&quot;8&quot; text=&quot;bind:chosindaynocnt&quot;/&gt; &lt;/Band&gt; &lt;/Format&gt; &lt;/Formats&gt; &lt;/Grid&gt; &lt;Shape id=&quot;line1&quot; class=&quot;line_1&quot; position=&quot;absolute 1 15 894 33&quot; style=&quot;strokepen:3 solid #33bbbbff;&quot; anchor=&quot;left top right&quot;/&gt; &lt;Button id=&quot;button1&quot; taborder=&quot;2&quot; text=&quot;엑셀저장&quot; class=&quot;btn7&quot; position=&quot;absolute 814 0 894 19&quot; anchor=&quot;top right&quot; onclick=&quot;switch1_case2_button1_onclick&quot;/&gt; &lt;/Layout&gt; &lt;/Layouts&gt; &lt;/Tabpage&gt; &lt;/Tabpages&gt; &lt;/Tab&gt;&lt;/UxFormClipBoard&gt;" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 9 895 49" align="align:center top;" id="group2" class="div_SA" anchor="left top right" taborder="0">
  11. <Layouts>
  12. <Layout>
  13. <Static text="청구년월 :" position="absolute 10 11 97 28" id="caption30" class="search_name" anchor="default"/>
  14. <Static text="~" position="absolute 167 10 182 30" id="caption2" anchor="default"/>
  15. <Button position="absolute 825 9 881 31" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="group1_group2_btn_select_onclick"/>
  16. <Shape position="absolute 806 8 812 33" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  17. <CheckBox position="absolute 267 10 351 30" id="bool1" anchor="default" text="낮병동포함" truevalue="Y" falsevalue="N"/>
  18. <CheckBox id="bool00" taborder="33" text="응급실퇴원포함" position="absolute 374 10 490 30" anchor="default" truevalue="Y" falsevalue="N"/>
  19. <cp_monthCal id="ipt_clamfromym" titletext="monthCalendar" taborder="34" text="cp_monthCal00" scrollbars="none" position="absolute 87 10 162 30" anchor="default"/>
  20. <cp_monthCal id="ipt_clamtoym" titletext="monthCalendar" taborder="35" text="cp_monthCal00" scrollbars="none" position="absolute 184 10 259 30" anchor="default"/>
  21. </Layout>
  22. </Layouts>
  23. </Div>
  24. <Button position="absolute 838 820 894 842" id="button3" class="btn4" text="종료" anchor="right bottom" taborder="0"/>
  25. <Tab id="switch1" anchor="all" taborder="1" tabindex="0" position="absolute 0 57 894 828" tabposition="top">
  26. <Tabpages>
  27. <Tabpage id="case1" text="진료과">
  28. <Layouts>
  29. <Layout>
  30. <Shape id="line1" class="line_1" position="absolute 0 16 894 34" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  31. <Button id="btn_excelsave" taborder="4" text="엑셀저장" class="btn7" position="absolute 814 0 894 22" anchor="top right" onclick="group1_switch1_case1_btn_excelsave_onclick"/>
  32. <Grid id="grd_kdrglist" class="datagrid3" taborder="5" binddataset="ds_main_kdrglist" useinputpanel="false" autofittype="col" position="absolute 0 27 894 730" anchor="all" cellsizingtype="col" oncelldblclick="group1_switch1_case1_grd_kdrglist_oncelldblclick" summarytype="top">
  33. <Formats>
  34. <Format id="default">
  35. <Columns>
  36. <Column size="32"/>
  37. <Column size="124"/>
  38. <Column size="87"/>
  39. <Column size="0"/>
  40. <Column size="65"/>
  41. <Column size="73"/>
  42. <Column size="45"/>
  43. <Column size="57"/>
  44. <Column size="59"/>
  45. <Column size="50"/>
  46. <Column size="56"/>
  47. <Column size="61"/>
  48. <Column size="57"/>
  49. <Column size="50"/>
  50. <Column size="64"/>
  51. </Columns>
  52. <Rows>
  53. <Row size="24" band="head"/>
  54. <Row size="24" band="head"/>
  55. <Row size="24"/>
  56. <Row size="24" band="summ"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell rowspan="2" taborder="undefined"/>
  60. <Cell col="1" rowspan="2" text="진료과" taborder="undefined"/>
  61. <Cell col="2" rowspan="2" text="과별합계&#10;건수" taborder="undefined"/>
  62. <Cell col="3" text="과별합계&#10;건수"/>
  63. <Cell col="4" colspan="2" text="미분류" taborder="undefined"/>
  64. <Cell col="6" colspan="3" text="단순" taborder="undefined"/>
  65. <Cell col="9" colspan="3" text="일반" taborder="undefined"/>
  66. <Cell col="12" colspan="3" text="전문" taborder="undefined"/>
  67. <Cell row="1" col="3" text="과별합계&#10;건수"/>
  68. <Cell row="1" col="4" text="건수"/>
  69. <Cell row="1" col="5" text="비율"/>
  70. <Cell row="1" col="6" text="건수"/>
  71. <Cell row="1" col="7" text="비율"/>
  72. <Cell row="1" col="8" text="전체비율"/>
  73. <Cell row="1" col="9" text="건수"/>
  74. <Cell row="1" col="10" text="비율"/>
  75. <Cell row="1" col="11" text="전체비율"/>
  76. <Cell row="1" col="12" text="건수"/>
  77. <Cell row="1" col="13" text="비율"/>
  78. <Cell row="1" col="14" text="전체비율"/>
  79. </Band>
  80. <Band id="body">
  81. <Cell celltype="head" expr="currow+1"/>
  82. <Cell col="1" displaytype="combo" style="padding:0 0 0 10;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:orddeptcd" combodataset="ds_init_orddeptcd2" combocodecol="cd" combodatacol="nm"/>
  83. <Cell col="2" displaytype="normal" edittype="none" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:pidtotcnt"/>
  84. <Cell col="3" style="background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:daywardcnt"/>
  85. <Cell col="4" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:typeectcnt"/>
  86. <Cell col="5" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:typeectratio"/>
  87. <Cell col="6" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type3cnt"/>
  88. <Cell col="7" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');color:EXPR(type3ratio &gt; 8.4 ? 'red' : '');color2:EXPR(type3ratio &gt; 8.4 ? 'red' : '');font:EXPR(type3ratio &gt; 8.4 ? 'Dotum,9,bold' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type3ratio"/>
  89. <Cell col="8" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type3allratio"/>
  90. <Cell col="9" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type2cnt"/>
  91. <Cell col="10" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type2ratio"/>
  92. <Cell col="11" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type2allratio"/>
  93. <Cell col="12" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type1cnt"/>
  94. <Cell col="13" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');color:EXPR(type1ratio &lt; 44 ? 'red' : '');color2:EXPR(type1ratio &lt; 44 ? 'red' : '');font:EXPR(type1ratio &lt; 44 ? 'Dotum,9,bold' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type1ratio"/>
  95. <Cell col="14" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type1allratio"/>
  96. </Band>
  97. <Band id="summary">
  98. <Cell celltype="head"/>
  99. <Cell col="1" style="font:Dotum,9,bold;" text="병원 합계" taborder="undefined"/>
  100. <Cell col="2" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt')" taborder="undefined"/>
  101. <Cell col="3" style="font:Dotum,9,bold;"/>
  102. <Cell col="4" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('typeectcnt')"/>
  103. <Cell col="5" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('typeectcnt')/getSum('pidtotcnt')) * 10000) / 100"/>
  104. <Cell col="6" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('type3cnt')"/>
  105. <Cell col="7" displaytype="number" style="color:EXPR(getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type3cnt')/getSum('pidtotcnt')) * 10000) / 100 &gt; 8.4 ? 'red' : '');color2:EXPR(getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type3cnt')/getSum('pidtotcnt')) * 10000) / 100 &gt; 8.4 ? 'red' : '');font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type3cnt')/getSum('pidtotcnt')) * 10000) / 100"/>
  106. <Cell col="8" displaytype="number" style="font:Dotum,9,bold;" expr="expr:Math.round(getSum('type3allratio'))"/>
  107. <Cell col="9" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('type2cnt')"/>
  108. <Cell col="10" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type2cnt')/getSum('pidtotcnt')) * 10000) / 100"/>
  109. <Cell col="11" displaytype="number" style="font:Dotum,9,bold;" expr="expr:Math.round(getSum('type2allratio'))"/>
  110. <Cell col="12" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('type1cnt')"/>
  111. <Cell col="13" displaytype="number" style="color:EXPR(getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type1cnt')/getSum('pidtotcnt')) * 10000) / 100 &lt; 44 ? 'red' : '');color2:EXPR(getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type1cnt')/getSum('pidtotcnt')) * 10000) / 100 &lt; 44 ? 'red' : '');font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type1cnt')/getSum('pidtotcnt')) * 10000) / 100"/>
  112. <Cell col="14" displaytype="number" style="font:Dotum,9,bold;" expr="expr:Math.round(getSum('type1allratio'))"/>
  113. </Band>
  114. </Format>
  115. </Formats>
  116. </Grid>
  117. </Layout>
  118. </Layouts>
  119. </Tabpage>
  120. <Tabpage id="case2" text="진료과별의사별">
  121. <Layouts>
  122. <Layout>
  123. <Shape id="line1" class="line_1" position="absolute 1 16 894 34" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  124. <Button id="button1" taborder="5" text="엑셀저장" class="btn7" position="absolute 814 0 894 22" anchor="top right" onclick="group1_switch1_case2_button1_onclick"/>
  125. <Grid id="grd_kdrglist00" class="datagrid3" taborder="7" binddataset="ds_main_kdrglist2" useinputpanel="false" autofittype="col" position="absolute 1 27 894 730" anchor="all" cellsizingtype="col" oncelldblclick="group1_switch1_case2_grd_kdrglist00_oncelldblclick" summarytype="top">
  126. <Formats>
  127. <Format id="default">
  128. <Columns>
  129. <Column size="32"/>
  130. <Column size="112"/>
  131. <Column size="93"/>
  132. <Column size="113"/>
  133. <Column size="0"/>
  134. <Column size="65"/>
  135. <Column size="73"/>
  136. <Column size="45"/>
  137. <Column size="57"/>
  138. <Column size="59"/>
  139. <Column size="50"/>
  140. <Column size="56"/>
  141. <Column size="61"/>
  142. <Column size="57"/>
  143. <Column size="50"/>
  144. <Column size="64"/>
  145. </Columns>
  146. <Rows>
  147. <Row size="24" band="head"/>
  148. <Row size="24" band="head"/>
  149. <Row size="24"/>
  150. <Row size="24" band="summ"/>
  151. </Rows>
  152. <Band id="head">
  153. <Cell rowspan="2" taborder="undefined"/>
  154. <Cell col="1" rowspan="2" text="진료과" taborder="undefined"/>
  155. <Cell col="2" rowspan="2" text="진료의" taborder="undefined"/>
  156. <Cell col="3" rowspan="2" text="과별합계&#10;건수" taborder="undefined"/>
  157. <Cell col="4" text="과별소계&#10;건수"/>
  158. <Cell col="5" colspan="2" text="미분류" taborder="undefined"/>
  159. <Cell col="7" colspan="3" text="단순" taborder="undefined"/>
  160. <Cell col="10" colspan="3" text="일반" taborder="undefined"/>
  161. <Cell col="13" colspan="3" text="전문" taborder="undefined"/>
  162. <Cell row="1" col="4" text="과별소계&#10;건수"/>
  163. <Cell row="1" col="5" text="건수"/>
  164. <Cell row="1" col="6" text="비율"/>
  165. <Cell row="1" col="7" text="건수"/>
  166. <Cell row="1" col="8" text="비율"/>
  167. <Cell row="1" col="9" text="전체비율"/>
  168. <Cell row="1" col="10" text="건수"/>
  169. <Cell row="1" col="11" text="비율"/>
  170. <Cell row="1" col="12" text="전체비율"/>
  171. <Cell row="1" col="13" text="건수"/>
  172. <Cell row="1" col="14" text="비율"/>
  173. <Cell row="1" col="15" text="전체비율"/>
  174. </Band>
  175. <Band id="body">
  176. <Cell celltype="head" expr="currow+1"/>
  177. <Cell col="1" displaytype="combo" style="padding:0 0 0 10;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : '');" text="bind:orddeptcd" suppress="1" suppressalign="middle,over" combodataset="ds_init_orddeptcd2" combocodecol="cd" combodatacol="nm"/>
  178. <Cell col="2" style="align:center middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:orddrnm"/>
  179. <Cell col="3" displaytype="normal" edittype="none" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:pidtotcnt"/>
  180. <Cell col="4" style="background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:daywardcnt"/>
  181. <Cell col="5" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:typeectcnt"/>
  182. <Cell col="6" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:typeectratio"/>
  183. <Cell col="7" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type3cnt"/>
  184. <Cell col="8" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');color:EXPR(type3ratio &gt; 8.4 ? 'red' : '');color2:EXPR(type3ratio &gt; 8.4 ? 'red' : '');font:EXPR(type3ratio &gt; 8.4 ? 'Dotum,9,bold' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type3ratio"/>
  185. <Cell col="9" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type3allratio"/>
  186. <Cell col="10" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type2cnt"/>
  187. <Cell col="11" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type2ratio"/>
  188. <Cell col="12" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type2allratio"/>
  189. <Cell col="13" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type1cnt"/>
  190. <Cell col="14" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');color:EXPR(type1ratio &lt; 44 ? 'red' : '');color2:EXPR(type1ratio &lt; 44 ? 'red' : '');font:EXPR(type1ratio &lt; 44 ? 'Dotum,9,bold' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type1ratio"/>
  191. <Cell col="15" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type1allratio"/>
  192. </Band>
  193. <Band id="summary">
  194. <Cell celltype="head"/>
  195. <Cell col="1" colspan="2" style="font:Dotum,9,bold;" text="병원 합계" taborder="undefined"/>
  196. <Cell col="3" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,2)"/>
  197. <Cell col="4" displaytype="number" style="font:Dotum,9,bold;"/>
  198. <Cell col="5" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,4)"/>
  199. <Cell col="6" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,5)"/>
  200. <Cell col="7" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,6)"/>
  201. <Cell col="8" displaytype="number" style="color:EXPR(group1.switch1.case1.grd_kdrglist.getCellValue(-2,7) &gt; 8.4 ? 'red' : '');color2:EXPR(group1.switch1.case1.grd_kdrglist.getCellValue(-2,7) &gt; 8.4 ? 'red' : '');font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,7)"/>
  202. <Cell col="9" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,8)"/>
  203. <Cell col="10" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,9)"/>
  204. <Cell col="11" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,10)"/>
  205. <Cell col="12" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,11)"/>
  206. <Cell col="13" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,12)"/>
  207. <Cell col="14" displaytype="number" style="color:EXPR(group1.switch1.case1.grd_kdrglist.getCellValue(-2,13) &lt; 44 ? 'red' : '');color2:EXPR(group1.switch1.case1.grd_kdrglist.getCellValue(-2,13) &lt; 44 ? 'red' : '');font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,13)"/>
  208. <Cell col="15" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,14)"/>
  209. </Band>
  210. </Format>
  211. </Formats>
  212. </Grid>
  213. </Layout>
  214. </Layouts>
  215. </Tabpage>
  216. <Tabpage id="tabpage3" text=" 외래경증환자 진료과별 ">
  217. <Layouts>
  218. <Layout>
  219. <Grid id="grd_outligthlist" taborder="0" useinputpanel="false" position="absolute 0 45 894 729" binddataset="ds_main_outligthlist" summarytype="top">
  220. <Formats>
  221. <Format id="default">
  222. <Columns>
  223. <Column size="30" band="left"/>
  224. <Column size="200"/>
  225. <Column size="80"/>
  226. <Column size="80"/>
  227. <Column size="80"/>
  228. <Column size="80"/>
  229. <Column size="80"/>
  230. <Column size="80"/>
  231. </Columns>
  232. <Rows>
  233. <Row size="24" band="head"/>
  234. <Row size="24" band="head"/>
  235. <Row size="24"/>
  236. <Row size="24" band="summ"/>
  237. </Rows>
  238. <Band id="head">
  239. <Cell rowspan="2" taborder="undefined"/>
  240. <Cell col="1" rowspan="2" text="진료과" taborder="undefined"/>
  241. <Cell col="2" rowspan="2" text="총건수" taborder="undefined"/>
  242. <Cell col="3" colspan="2" text="경증 건수" taborder="undefined"/>
  243. <Cell col="5" colspan="2" text="응급실 경증 건수" taborder="undefined"/>
  244. <Cell col="7" rowspan="2" text="비율(%)" taborder="undefined"/>
  245. <Cell row="1" col="3" text="V252"/>
  246. <Cell row="1" col="4" text="V352"/>
  247. <Cell row="1" col="5" text="V252"/>
  248. <Cell row="1" col="6" text="V352"/>
  249. </Band>
  250. <Band id="body">
  251. <Cell celltype="head" text="expr:currow+1"/>
  252. <Cell col="1" displaytype="text" text="bind:orddeptnm"/>
  253. <Cell col="2" displaytype="number" text="bind:totcnt"/>
  254. <Cell col="3" displaytype="number" text="bind:cnt252a"/>
  255. <Cell col="4" displaytype="number" text="bind:cnt352a"/>
  256. <Cell col="5" displaytype="number" text="bind:cnt252er"/>
  257. <Cell col="6" displaytype="number" text="bind:cnt352er"/>
  258. <Cell col="7" displaytype="number" expr="expr:fCalcRate(currow)"/>
  259. </Band>
  260. <Band id="summary">
  261. <Cell celltype="head"/>
  262. <Cell col="1" style="font:Dotum,9,bold;" text="병원 합계"/>
  263. <Cell col="2" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum(&quot;totcnt&quot;)"/>
  264. <Cell col="3" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum(&quot;cnt252a&quot;)"/>
  265. <Cell col="4" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum(&quot;cnt352a&quot;)"/>
  266. <Cell col="5" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum(&quot;cnt252er&quot;)"/>
  267. <Cell col="6" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum(&quot;cnt352er&quot;)"/>
  268. <Cell col="7" displaytype="number" style="font:Dotum,9,bold;" text="expr:fCalcRateAll()"/>
  269. </Band>
  270. </Format>
  271. </Formats>
  272. </Grid>
  273. <Div id="grp_srch" anchor="left top right" taborder="1" class="div_SA2" position="absolute 0 0 894 40">
  274. <Layouts>
  275. <Layout>
  276. <Static id="caption30" text="청구년월 :" class="search_name" position="absolute 10 11 97 28" anchor="default"/>
  277. <Button id="btn_select" taborder="36" text="조회" class="btn1" position="absolute 825 9 881 31" anchor="top right" onclick="group1_switch1_tabpage3_grp_srch_btn_select_onclick"/>
  278. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 806 8 812 33" anchor="top right"/>
  279. <CheckBox id="bool_352" taborder="37" text="V352 포함" value="N" truevalue="Y" falsevalue="N" position="absolute 187 10 271 30" anchor="default"/>
  280. <cp_monthCal id="ipt_clamfromym" titletext="monthCalendar" taborder="39" text="cp_monthCal00" scrollbars="none" position="absolute 87 10 162 30" anchor="default"/>
  281. </Layout>
  282. </Layouts>
  283. </Div>
  284. <Shape id="line1" class="line_10" position="absolute 0 38 894 48" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  285. </Layout>
  286. </Layouts>
  287. </Tabpage>
  288. </Tabpages>
  289. </Tab>
  290. <Static id="Static00" text="※ 퇴원환자(장기입원 분할청구 포함) 대상 질병군 통계자료 입니다." position="absolute 3 823 540 843" style="color:red;font:Dotum,12,bold;"/>
  291. <Static id="Static01" text="※ 해당 항목 더블클릭 시, 심평원 청구건에 한해서만 상세 조회 가능합니다." position="absolute 320 60 891 80" style="color:red;font:Dotum,11,bold;"/>
  292. </Layout>
  293. </Layouts>
  294. </Div>
  295. <Static id="cap_title" text="질병군별 진료과분류 현황" class="tit_1" position="absolute 0 0 216 25"/>
  296. </Layout>
  297. </Layouts>
  298. <Objects>
  299. <Dataset id="ds_main_kdrglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  300. <ColumnInfo>
  301. <Column id="orddeptcd" type="STRING" size="256" sumtext="기관코드"/>
  302. <Column id="orddrnm" type="STRING" size="256" sumtext="기관코드"/>
  303. <Column id="pidtotcnt" type="STRING" size="256" sumtext="청구년월"/>
  304. <Column id="daywardcnt" type="STRING" size="256" sumtext="청구차수"/>
  305. <Column id="ioflagcnt" type="STRING" size="256" sumtext="청구차수"/>
  306. <Column id="typeectcnt" type="STRING" size="256" sumtext="환자번호"/>
  307. <Column id="typeectratio" type="STRING" size="256" sumtext="진단"/>
  308. <Column id="type1cnt" type="STRING" size="256" sumtext="시술"/>
  309. <Column id="type1ratio" type="STRING" size="256" sumtext="시술"/>
  310. <Column id="type1allratio" type="STRING" size="256" sumtext="시술"/>
  311. <Column id="type2cnt" type="STRING" size="256" sumtext="시술"/>
  312. <Column id="type2ratio" type="STRING" size="256" sumtext="시술"/>
  313. <Column id="type2allratio" type="STRING" size="256" sumtext="시술"/>
  314. <Column id="type3cnt" type="STRING" size="256" sumtext="시술"/>
  315. <Column id="type3ratio" type="STRING" size="256" sumtext="시술"/>
  316. <Column id="type3allratio" type="STRING" size="256" sumtext="시술"/>
  317. </ColumnInfo>
  318. </Dataset>
  319. <Dataset id="ds_main_kdrglist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  320. <ColumnInfo>
  321. <Column id="orddeptcd" type="STRING" size="256" sumtext="기관코드"/>
  322. <Column id="orddrnm" type="STRING" size="256" sumtext="기관코드"/>
  323. <Column id="pidtotcnt" type="STRING" size="256" sumtext="청구년월"/>
  324. <Column id="daywardcnt" type="STRING" size="256" sumtext="청구차수"/>
  325. <Column id="ioflagcnt" type="STRING" size="256" sumtext="청구차수"/>
  326. <Column id="typeectcnt" type="STRING" size="256" sumtext="환자번호"/>
  327. <Column id="typeectratio" type="STRING" size="256" sumtext="진단"/>
  328. <Column id="type1cnt" type="STRING" size="256" sumtext="시술"/>
  329. <Column id="type1ratio" type="STRING" size="256" sumtext="시술"/>
  330. <Column id="type1allratio" type="STRING" size="256" sumtext="시술"/>
  331. <Column id="type2cnt" type="STRING" size="256" sumtext="시술"/>
  332. <Column id="type2ratio" type="STRING" size="256" sumtext="시술"/>
  333. <Column id="type2allratio" type="STRING" size="256" sumtext="시술"/>
  334. <Column id="type3cnt" type="STRING" size="256" sumtext="시술"/>
  335. <Column id="type3ratio" type="STRING" size="256" sumtext="시술"/>
  336. <Column id="type3allratio" type="STRING" size="256" sumtext="시술"/>
  337. </ColumnInfo>
  338. </Dataset>
  339. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  340. <ColumnInfo>
  341. <Column id="clamfromym" type="STRING" size="256"/>
  342. <Column id="clamtoym" type="STRING" size="256"/>
  343. <Column id="daywardyn" type="STRING" size="256"/>
  344. <Column id="offset" type="STRING" size="256"/>
  345. <Column id="ioflagyn" type="STRING" size="256"/>
  346. <Column id="orddeptcd" type="STRING" size="256"/>
  347. <Column id="clamym" type="STRING" size="256"/>
  348. <Column id="v352" type="STRING" size="256"/>
  349. </ColumnInfo>
  350. <Rows>
  351. <Row>
  352. <Col id="clamfromym"/>
  353. <Col id="clamtoym"/>
  354. <Col id="daywardyn">Y</Col>
  355. <Col id="offset"/>
  356. <Col id="ioflagyn"/>
  357. <Col id="orddeptcd"/>
  358. <Col id="clamym"/>
  359. <Col id="v352">N</Col>
  360. </Row>
  361. </Rows>
  362. </Dataset>
  363. <Dataset id="ds_hidden_tmp_orddeptcd2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  364. <ColumnInfo>
  365. <Column id="cd" type="STRING" size="256" sumtext="진료과코드"/>
  366. <Column id="nm" type="STRING" size="256" sumtext="진료과명칭"/>
  367. <Column id="deptengabbr" type="STRING" size="256" sumtext="영문약어"/>
  368. <Column id="reqfild" type="STRING" size="256" sumtext="청구진료분야"/>
  369. <Column id="reqdeptno" type="STRING" size="256" sumtext="청구과코드"/>
  370. <Column id="orddeptflag" type="STRING" size="256" sumtext="진료과구분"/>
  371. </ColumnInfo>
  372. <Rows>
  373. <Row/>
  374. </Rows>
  375. </Dataset>
  376. <Dataset id="ds_hidden_tmp_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  377. <ColumnInfo>
  378. <Column id="cd" type="STRING" size="256" sumtext="진료과코드"/>
  379. <Column id="nm" type="STRING" size="256" sumtext="진료과명칭"/>
  380. <Column id="deptengabbr" type="STRING" size="256" sumtext="영문약어"/>
  381. <Column id="reqfild" type="STRING" size="256" sumtext="청구진료분야"/>
  382. <Column id="reqdeptno" type="STRING" size="256" sumtext="청구과코드"/>
  383. <Column id="orddeptflag" type="STRING" size="256" sumtext="진료과구분"/>
  384. </ColumnInfo>
  385. <Rows>
  386. <Row/>
  387. </Rows>
  388. </Dataset>
  389. <Dataset id="ds_hidden_tmp_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  390. <ColumnInfo>
  391. <Column id="cd" type="STRING" size="256" sumtext="진료의사코드"/>
  392. <Column id="nm" type="STRING" size="256" sumtext="진료의사명칭"/>
  393. <Column id="dp" type="STRING" size="256" sumtext="부서코드"/>
  394. <Column id="sp" type="STRING" size="256" sumtext="선택진료여부"/>
  395. <Column id="reqdp" type="STRING" size="256" sumtext="청구과코드"/>
  396. </ColumnInfo>
  397. <Rows>
  398. <Row/>
  399. </Rows>
  400. </Dataset>
  401. <Dataset id="ds_hidden_tmp_orddrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  402. <ColumnInfo>
  403. <Column id="cd" type="STRING" size="256" sumtext="진료의사코드"/>
  404. <Column id="nm" type="STRING" size="256" sumtext="진료의사명칭"/>
  405. <Column id="dp" type="STRING" size="256" sumtext="부서코드"/>
  406. <Column id="sp" type="STRING" size="256" sumtext="선택진료여부"/>
  407. <Column id="reqdp" type="STRING" size="256" sumtext="청구과코드"/>
  408. </ColumnInfo>
  409. <Rows>
  410. <Row/>
  411. </Rows>
  412. </Dataset>
  413. <Dataset id="ds_init_orddeptcd2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  414. <ColumnInfo>
  415. <Column id="cd" type="STRING" size="256" sumtext="진료과코드"/>
  416. <Column id="nm" type="STRING" size="256" sumtext="진료과명칭"/>
  417. <Column id="deptengabbr" type="STRING" size="256" sumtext="영문약어"/>
  418. <Column id="reqfild" type="STRING" size="256" sumtext="청구진료분야"/>
  419. <Column id="reqdeptno" type="STRING" size="256" sumtext="청구과코드"/>
  420. <Column id="orddeptflag" type="STRING" size="256" sumtext="진료과구분"/>
  421. </ColumnInfo>
  422. <Rows>
  423. <Row/>
  424. </Rows>
  425. </Dataset>
  426. <Dataset id="ds_hidden_headdrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  427. <Dataset id="ds_main_outligthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  428. <ColumnInfo>
  429. <Column id="orddeptnm" type="STRING" size="256"/>
  430. <Column id="totcnt" type="STRING" size="256"/>
  431. <Column id="cnt252a" type="STRING" size="256"/>
  432. <Column id="cnt352a" type="STRING" size="256"/>
  433. <Column id="cnt252er" type="STRING" size="256"/>
  434. <Column id="cnt352er" type="STRING" size="256"/>
  435. <Column id="rate" type="STRING" size="256"/>
  436. </ColumnInfo>
  437. </Dataset>
  438. </Objects>
  439. <Bind>
  440. <BindItem id="item2" compid="group1.group2.bool1" propid="value" datasetid="ds_send" columnid="daywardyn"/>
  441. <BindItem id="item3" compid="group1.group2.bool00" propid="value" datasetid="ds_send" columnid="ioflagyn"/>
  442. <BindItem id="item0" compid="group1.switch1.tabpage3.grp_srch.bool_352" propid="value" datasetid="ds_send" columnid="v352"/>
  443. </Bind>
  444. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  445. * System Name :
  446. * Job Name :
  447. * Creator :
  448. * Make Date : 2016-05-24
  449. * Description :
  450. *---------------------------------------------------------------------------------------
  451. * Modify Date Modifier Modify Description
  452. *---------------------------------------------------------------------------------------
  453. * 2016-05-24 Live Converter TF->XP
  454. *
  455. *---------------------------------------------------------------------------------------
  456. ****************************************************************************************/
  457. include "com_commonxp::comm_main.xjs";
  458. include "pam_pamcomnxp::PAM001.xjs";
  459. include "pam_pamcomnxp::PAM.xjs";
  460. var vOrddept = "";
  461. function SMPID24500_oninit(obj:Form, e:InitEventInfo)
  462. {
  463. frmf_initForm(obj);
  464. }
  465. function SMPID24500_onload(obj:Form, e:LoadEventInfo)
  466. {
  467. dsf_createDsRow("ds_tmp", [{col:"ioflag", type:"STRING", size:256, val: ""}]);
  468. var oParam = {};
  469. oParam.id = "TRPID20309";
  470. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  471. oParam.method = "reqGetDeptCDDrID";
  472. oParam.inds = "req=ds_tmp";
  473. oParam.outds = "ds_hidden_tmp_orddeptcd=orddeptcd ds_hidden_tmp_orddeptcd2=orddeptcd2 ds_hidden_tmp_orddrid=orddrid ds_hidden_tmp_orddrid2=orddrid2";
  474. oParam.async = false;
  475. //oParam.callback = "cf_TRPID20309";
  476. tranf_submit(oParam);
  477. ds_init_orddeptcd2.copyData(ds_hidden_tmp_orddeptcd2);
  478. dsf_addDsItem(ds_init_orddeptcd2, "cd", "nm", "병원 합계", "All dept", "");
  479. var orddeptcd = sysf_getUserInfo("dutplcecd");
  480. // if(orddeptcd != '1000000000' && orddeptcd != "4072000000" && orddeptcd != "4070700000") {
  481. // var oParam = {};
  482. // oParam.id = "TRPID20311";
  483. // oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  484. // oParam.method = "reqGetDeptHeadDrid";
  485. // oParam.outds = "ds_hidden_headdrid=item";
  486. // oParam.async = false;
  487. // //oParam.callback = "cf_TRPID20311";
  488. //
  489. // tranf_submit(oParam);
  490. // }
  491. //진료과에서 오픈 구별하여 해당과만 조회 나머지(행정,심사팀등) 전체 조회
  492. var emrDeptYn = "";
  493. try{
  494. emrDeptYn = emryn;
  495. }catch(e){}
  496. if(emrDeptYn == "Y") vOrddept = orddeptcd;
  497. else vOrddept = "";
  498. fInitialize();
  499. }
  500. function fInitialize()
  501. {
  502. var gToday = new Date();
  503. var gBaseyear = gToday.getDateFormat("YYYY");
  504. var gBasemonth = gToday.getDateFormat("MM");
  505. var gBaseday = gToday.getDateFormat("DD");
  506. var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
  507. var gCurrentym = gBaseyear + gBasemonth;
  508. var gUserid = sysf_getUserId();
  509. ds_send.setColumn(0, "clamfromym", gCurrentym);
  510. ds_send.setColumn(0, "clamtoym", gCurrentym);
  511. group1.group2.ipt_clamfromym.setData(gCurrentym);
  512. group1.group2.ipt_clamtoym.setData(gCurrentym);
  513. group1.switch1.tabindex = 0;
  514. }
  515. //조회
  516. function group1_group2_btn_select_onclick(obj:Button, e:ClickEventInfo)
  517. {
  518. fGetDocuList();
  519. }
  520. function fGetDocuList()
  521. {
  522. // model.removeNodeset("/root/main/kdrgdrlist")
  523. // var offcnt = model.getXPathValue("count(/root/main/kdrglist/kdrg)");
  524. ds_send.setColumn(0, "offset", "0");
  525. ds_send.setColumn(0, "clamfromym", group1.group2.ipt_clamfromym.getData());
  526. ds_send.setColumn(0, "clamtoym", group1.group2.ipt_clamtoym.getData());
  527. ds_send.setColumn(0, "orddeptcd", vOrddept);
  528. var oParam = {};
  529. oParam.id = "TRPID24500";
  530. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  531. oParam.method = "reqGetKdrgDeptTotList";
  532. oParam.inds = "req=ds_send";
  533. oParam.outds = "ds_main_kdrglist=kdrglist ds_main_kdrglist2=kdrgdrlist";
  534. oParam.async = false;
  535. //oParam.callback = "cf_TRPID24500";
  536. tranf_submit(oParam);
  537. ds_main_kdrglist.filter("orddeptcd != 'All dept'");
  538. ds_main_kdrglist2.filter("orddeptcd != 'All dept'");
  539. }
  540. function fGetOutLightList()
  541. {
  542. ds_send.setColumn(0, "clamym", group1.switch1.tabpage3.grp_srch.ipt_clamfromym.getData());
  543. ds_send.setColumn(0, "orddeptcd", vOrddept);
  544. var oParam = {};
  545. oParam.id = "getOutLightList";
  546. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  547. oParam.method = "reqGetOutLightList";
  548. oParam.inds = "req=ds_send";
  549. oParam.outds = "ds_main_outligthlist=outligthlist";
  550. oParam.async = false;
  551. //oParam.callback = "cf_TRPID24500";
  552. tranf_submit(oParam);
  553. }
  554. function group1_switch1_case1_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  555. {
  556. if (ds_main_kdrglist.rowcount > 0)
  557. {
  558. grdf_exportExcel(group1.switch1.case1.grd_kdrglist, "exportExcel", "see");
  559. }
  560. else
  561. {
  562. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  563. }
  564. }
  565. function group1_switch1_case2_button1_onclick(obj:Button, e:ClickEventInfo)
  566. {
  567. if (ds_main_kdrglist2.rowcount > 0)
  568. {
  569. grdf_exportExcel(group1.switch1.case2.grd_kdrglist00, "exportExcel", "see");
  570. }
  571. else
  572. {
  573. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  574. }
  575. }
  576. function group1_switch1_case1_grd_kdrglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  577. {
  578. if(e.row < 0 || e.col < 4) return;
  579. var orddeptcd = ds_main_kdrglist.getColumn(e.row, "orddeptcd");
  580. if(orddeptcd == "All dept") return;
  581. var drgtype = "";
  582. var clamfromym = ds_send.getColumn(0, "clamfromym");
  583. var clamtoym = ds_send.getColumn(0, "clamtoym");
  584. var ioflagyn = ds_send.getColumn(0, "ioflagyn");
  585. var daywardyn = ds_send.getColumn(0, "daywardyn");
  586. if(e.col == obj.getBindCellIndex("body", "type1cnt") || e.col == obj.getBindCellIndex("body", "type1ratio")
  587. || e.col == obj.getBindCellIndex("body", "type1allratio")) {
  588. drgtype = "1";
  589. }
  590. if(e.col == obj.getBindCellIndex("body", "type2cnt") || e.col == obj.getBindCellIndex("body", "type2ratio")
  591. || e.col == obj.getBindCellIndex("body", "type2allratio")) {
  592. drgtype = "2";
  593. }
  594. if(e.col == obj.getBindCellIndex("body", "type3cnt") || e.col == obj.getBindCellIndex("body", "type3ratio")
  595. || e.col == obj.getBindCellIndex("body", "type3allratio")) {
  596. drgtype = "3";
  597. }
  598. dsf_createDsRow("ds_tmp", [{col:"orddeptcd", type:"STRING", size:256, val: orddeptcd}
  599. , {col:"drgtype", type:"STRING", size:256, val: drgtype}
  600. , {col:"ioflagyn", type:"STRING", size:256, val: ioflagyn}
  601. , {col:"daywardyn", type:"STRING", size:256, val: daywardyn}
  602. , {col:"clamfromym", type:"STRING", size:256, val: clamfromym}
  603. , {col:"clamtoym", type:"STRING", size:256, val: clamtoym}]);
  604. var objArg = new Object();
  605. objArg.arg_ds_tmp_srch = ds_tmp;
  606. frmf_modal("SPPID24500", "SPPID24500", objArg, "", "", "", "", "", "", "", "", "", "P");
  607. }
  608. function group1_switch1_case2_grd_kdrglist00_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  609. {
  610. if(e.row < 0 || e.col < 5) return;
  611. var orddeptcd = ds_main_kdrglist2.getColumn(e.row, "orddeptcd");
  612. var orddrnm = ds_main_kdrglist2.getColumn(e.row, "orddrnm");
  613. if(orddrnm == "소계") return;
  614. var drgtype = "";
  615. var clamfromym = ds_send.getColumn(0, "clamfromym");
  616. var clamtoym = ds_send.getColumn(0, "clamtoym");
  617. var ioflagyn = ds_send.getColumn(0, "ioflagyn");
  618. var daywardyn = ds_send.getColumn(0, "daywardyn");
  619. if(e.col == obj.getBindCellIndex("body", "type1cnt") || e.col == obj.getBindCellIndex("body", "type1ratio")
  620. || e.col == obj.getBindCellIndex("body", "type1allratio")) {
  621. drgtype = "1";
  622. }
  623. if(e.col == obj.getBindCellIndex("body", "type2cnt") || e.col == obj.getBindCellIndex("body", "type2ratio")
  624. || e.col == obj.getBindCellIndex("body", "type2allratio")) {
  625. drgtype = "2";
  626. }
  627. if(e.col == obj.getBindCellIndex("body", "type3cnt") || e.col == obj.getBindCellIndex("body", "type3ratio")
  628. || e.col == obj.getBindCellIndex("body", "type3allratio")) {
  629. drgtype = "3";
  630. }
  631. dsf_createDsRow("ds_tmp", [{col:"orddeptcd", type:"STRING", size:256, val: orddeptcd}
  632. , {col:"drgtype", type:"STRING", size:256, val: drgtype}
  633. , {col:"ioflagyn", type:"STRING", size:256, val: ioflagyn}
  634. , {col:"daywardyn", type:"STRING", size:256, val: daywardyn}
  635. , {col:"clamfromym", type:"STRING", size:256, val: clamfromym}
  636. , {col:"clamtoym", type:"STRING", size:256, val: clamtoym}
  637. , {col:"orddrnm", type:"STRING", size:256, val: orddrnm}]);
  638. var objArg = new Object();
  639. objArg.arg_ds_tmp_srch = ds_tmp;
  640. frmf_modal("SPPID24500", "SPPID24500", objArg, "", "", "", "", "", "", "", "", "", "P");
  641. }
  642. function fCalcRate(currow) {
  643. var totcnt = ds_main_outligthlist.getColumn(currow, "totcnt");
  644. var cnt252a = ds_main_outligthlist.getColumn(currow, "cnt252a");
  645. var cnt352a = ds_main_outligthlist.getColumn(currow, "cnt352a");
  646. var cnt252er = ds_main_outligthlist.getColumn(currow, "cnt252er");
  647. var cnt352er = ds_main_outligthlist.getColumn(currow, "cnt352er");
  648. var rate = ((cnt252a + cnt352a) - (cnt252er + cnt352er)) / (totcnt - (cnt252er + cnt352er)) * 10000;
  649. return Math.round(rate)/100;
  650. }
  651. function fCalcRateAll() {
  652. var totcnt = ds_main_outligthlist.getSum("totcnt");
  653. var cnt252a = ds_main_outligthlist.getSum("cnt252a");
  654. var cnt352a = ds_main_outligthlist.getSum("cnt352a");
  655. var cnt252er = ds_main_outligthlist.getSum("cnt252er");
  656. var cnt352er = ds_main_outligthlist.getSum("cnt352er");
  657. var rate = ((cnt252a + cnt352a) - (cnt252er + cnt352er)) / (totcnt - (cnt252er + cnt352er)) * 10000;
  658. if(isNaN(rate)) return 0;
  659. else return Math.round(rate)/100;
  660. }
  661. function group1_switch1_tabpage3_grp_srch_btn_select_onclick(obj:Button, e:ClickEventInfo)
  662. {
  663. fGetOutLightList();
  664. }
  665. ]]></Script>
  666. </Form>
  667. </FDL>