SMPMS03300_지역별환자현황.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="UTF-16"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>지역별환자현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <fromdd/>
  11. <todd/>
  12. <flag/>
  13. <srcflag>A</srcflag>
  14. </send>
  15. <main>
  16. <areapatinfo>
  17. <areapatinfolist/>
  18. </areapatinfo>
  19. <areapatdept>
  20. <areapatdeptlist/>
  21. </areapatdept>
  22. </main>
  23. <hidden>
  24. <tmp/>
  25. </hidden>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. var cur_Date = getCurrentDate();
  31. model.setValue("/root/send/fromdd",cur_Date);
  32. model.setValue("/root/send/todd",cur_Date);
  33. button8.dispatch("onclick");
  34. model.refresh();
  35. ]]>
  36. </script>
  37. <submission id="TRPMS03300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/areapatinfo"/>
  38. <submission id="TRPMS03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/areapatdept"/>
  39. </model>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  47. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  48. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  49. </xhtml:head>
  50. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  51. <group id="group3" style="left:0px; top:0px; width:1185px; height:13px; ">
  52. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">지역별환자현황</caption>
  53. </group>
  54. <group id="group5" style="left:0px; top:25px; width:1195px; height:37px; ">
  55. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  56. <caption id="caption10" class="search_name" style="left:15px; top:9px; width:100px; height:17px; ">조회기간 :</caption>
  57. <button id="button5" class="btn1_letter2" style="left:1118px; top:7px; width:56px; height:22px; ">
  58. <caption>조회</caption>
  59. <script type="javascript" ev:event="DOMActivate">
  60. <![CDATA[
  61. if( model.getValue("/root/send/flag") == "areapatinfo"){
  62. submit("TRPMS03300");
  63. }else if( model.getValue("/root/send/flag") == "areapatdept" ){
  64. submit("TRPMS03301");
  65. }
  66. ]]>
  67. </script>
  68. </button>
  69. <input id="input6" ref="/root/send/fromdd" class="input_default" navindex="7" inputtype="date" style="left:106px; top:8px; width:90px; height:19px; ">
  70. <script type="javascript" ev:event="onkeydown">
  71. <![CDATA[
  72. if( event.keyCode == 13 ) {
  73. var pCurTargetObj = event.ptarget.parent;
  74. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  75. event.keyCode = 9;
  76. pCurTargetObj.dispatch("onkeydown");
  77. }
  78. else {
  79. event.keyCode = 9;
  80. }
  81. }
  82. event.stopPropagation();
  83. ]]>
  84. </script>
  85. </input>
  86. <input id="input8" ref="/root/send/todd" class="input_default" navindex="7" inputtype="date" style="left:218px; top:8px; width:90px; height:19px; ">
  87. <script type="javascript" ev:event="onkeydown">
  88. <![CDATA[
  89. if( event.keyCode == 13 ) {
  90. var pCurTargetObj = event.ptarget.parent;
  91. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  92. event.keyCode = 9;
  93. pCurTargetObj.dispatch("onkeydown");
  94. }
  95. else {
  96. event.keyCode = 9;
  97. }
  98. }
  99. event.stopPropagation();
  100. ]]>
  101. </script>
  102. </input>
  103. <line id="line7" class="line_4" visibility="hidden" style="x1:1100px; y1:6px; x2:1100px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  104. <caption id="caption11" style="left:202px; top:9px; width:15px; height:20px; ">~</caption>
  105. <caption id="caption1" class="search_name" style="left:355px; top:10px; width:100px; height:17px; ">구분 :</caption>
  106. <select1 id="radio1" ref="/root/send/srcflag" overflow="visible" appearance="full" cols="3" style="left:425px; top:10px; width:195px; height:20px; border-style:none; ">
  107. <choices>
  108. <item>
  109. <label>전체</label>
  110. <value>A</value>
  111. </item>
  112. <item>
  113. <label>입원</label>
  114. <value>I</value>
  115. </item>
  116. <item>
  117. <label>외래</label>
  118. <value>O</value>
  119. </item>
  120. </choices>
  121. </select1>
  122. </group>
  123. <switch id="switch1" style="left:0px; top:91px; width:1195px; height:690px; ">
  124. <case id="case1">
  125. <line id="line8" class="line_1" style="x1:5px; y1:5px; x2:1188px; y2:5px; "/>
  126. <datagrid id="datagrid3" nodeset="/root/main/areapatinfo/areapatinfolist" caption="지 역^외래^외래^외래^외래^총인원^비율^입원 인원^비율^입원 연인원^비율|지 역^초진^비율^재진^비율^총인원^비율^입원 인원^비율^입원 연인원^비율" colsep="^" colwidth="116, 85, 85, 85, 85, 90, 90, 90, 90, 90, 90" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:5px; top:10px; width:1183px; height:673px; ">
  127. <col ref="city" style="text-align:left; "/>
  128. <col ref="fstoutcnt" format="#,###" style="text-align:right; "/>
  129. <col ref="fstoutrate" format="#,###.#%" style="text-align:right; "/>
  130. <col ref="reoutcnt" format="#,###" style="text-align:right; "/>
  131. <col ref="reoutrate" format="#,###.#%" style="text-align:right; "/>
  132. <col ref="outcnt" format="#,###" style="text-align:right; "/>
  133. <col ref="outrate" format="#,###.#%" style="text-align:right; "/>
  134. <col ref="incnt" format="#,###" style="text-align:right; "/>
  135. <col ref="inrate" format="#,###.#%" style="text-align:right; "/>
  136. <col ref="admcnt" format="#,###" style="text-align:right; "/>
  137. <col ref="admrate" format="#,###.#%" style="text-align:right; "/>
  138. </datagrid>
  139. </case>
  140. <case id="case2" selected="true" style="left:0px; top:0px; width:1193px; height:690px; ">
  141. <line id="line1" class="line_1" style="x1:5px; y1:5px; x2:1188px; y2:5px; "/>
  142. <datagrid id="datagrid1" nodeset="/root/main/areapatdept/areapatdeptlist" caption="지역^국민건강^의료급여^산재^자보^일반^외국인^기타^합계^전월비" colsep="^" colwidth="150, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:5px; top:10px; width:1183px; height:673px; ">
  143. <col ref="city" style="text-align:left; "/>
  144. <col ref="insu10_cnt" format="#,###" style="text-align:right; "/>
  145. <col ref="insu20_cnt" format="#,###" style="text-align:right; "/>
  146. <col ref="insu31_cnt" format="#,###" style="text-align:right; "/>
  147. <col ref="insu41_cnt" format="#,###" style="text-align:right; "/>
  148. <col ref="insu32_cnt" format="#,###" style="text-align:right; "/>
  149. <col ref="insu61_cnt" format="#,###" style="text-align:right; "/>
  150. <col ref="insu99_cnt" format="#,###" style="text-align:right; "/>
  151. <col ref="insu51_cnt" format="#,###" style="text-align:right; "/>
  152. <col ref="cnt" format="#,###" style="text-align:right; "/>
  153. </datagrid>
  154. </case>
  155. </switch>
  156. <button id="button8" class="btn_sw" group="tab" selected="true" style="left:0px; top:70px; width:80px; height:22px; ">
  157. <caption>환자현황</caption>
  158. <toggle case="case1" ev:event="xforms-activate"/>
  159. <script type="javascript" ev:event="onclick">
  160. <![CDATA[
  161. model.setValue("/root/send/flag","areapatinfo");
  162. caption1.visible = false;
  163. radio1.visible = false;
  164. ]]>
  165. </script>
  166. </button>
  167. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:81px; top:70px; width:80px; height:22px; ">
  168. <caption>유형별</caption>
  169. <toggle case="case2" ev:event="xforms-activate"/>
  170. <script type="javascript" ev:event="onclick">
  171. <![CDATA[
  172. model.setValue("/root/send/flag","areapatdept");
  173. caption1.visible = true;
  174. radio1.visible = true;
  175. ]]>
  176. </script>
  177. </button>
  178. <button id="button2" class="btn2_letter2" style="left:1153px; top:65px; width:42px; height:19px; ">
  179. <caption>출력</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. if(button8.selected == true){
  183. exeReportPreview("RPPMS14012", "XMLSTR" , "" , "" , "false" , "", "", "", "", "", "", "");
  184. }else if(button1.selected == true){
  185. exeReportPreview("RPPMS14013", "XMLSTR" , "" , "" , "false" , "", "", "", "", "", "", "");
  186. }
  187. ]]>
  188. </script>
  189. </button>
  190. </xhtml:body>
  191. </xhtml:html>