SMADS00700_퇴원처방예고율통계.xrw 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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. <main>
  10. <statslist/>
  11. </main>
  12. <send>
  13. <srchfromdd/>
  14. <srchtodd/>
  15. <globalinstance>
  16. <instance1/>
  17. </globalinstance>
  18. <suppdeptcd/>
  19. <formflag1>1</formflag1>
  20. <formflag2>1</formflag2>
  21. <srchdeptcd/>
  22. <srchdrid/>
  23. <deptinfo>
  24. <deptflag/>
  25. </deptinfo>
  26. <baseinfo>
  27. <spcldrug/>
  28. <efcycd/>
  29. </baseinfo>
  30. <srchdata>
  31. <drugcd/>
  32. </srchdata>
  33. <srchwardcd/>
  34. </send>
  35. <init>
  36. </init>
  37. <hidden>
  38. <srchinfo>
  39. <wardcd/>
  40. <wardnm/>
  41. </srchinfo>
  42. <baseinfo>
  43. <spcldrug>
  44. <A0006/>
  45. </spcldrug>
  46. </baseinfo>
  47. <receivedrugcd>/root/send/srchdata/drugcd</receivedrugcd>
  48. <orddept>
  49. <dept/>
  50. </orddept>
  51. <receiveefcy>/root/send/baseinfo/efcycd</receiveefcy>
  52. </hidden>
  53. <temp>
  54. <srchinfo>
  55. <ward/>
  56. </srchinfo>
  57. <receivedata>
  58. <receiveref/>
  59. <srchflag/>
  60. <srchcnts/>
  61. <drugkind/>
  62. </receivedata>
  63. </temp>
  64. </root>
  65. </instance>
  66. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  70. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  71. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  72. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. var rdo_children = rdo_formcd.children;
  76. rdo_children.item(1).attribute("disable") = true;
  77. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  78. model.setValue("/root/send/srchfromdd", getCurrentDate());
  79. model.setValue("/root/send/srchtodd", getCurrentDate());
  80. model.setValue("/root/send/formflag1", "1");
  81. model.setValue("/root/send/formflag2", "1");
  82. makeReportPreview(0,120,1195,570);
  83. //병동 Combo 조회
  84. model.setValue("/root/send/deptinfo/deptflag", "W");
  85. submit("TRADT10203");
  86. astfAddCombo("/root/hidden/deptlist", "ward", "wardcd,wardnm", "T,전체");
  87. // 진료과세팅
  88. zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/hidden/orddept"); //부서코드 콤보조회
  89. if ( model.instances(0).selectSingleNode("/root/hidden/orddept/dept") != null) {
  90. astfAddCombo("/root/hidden/orddept","dept","deptcd,depthngnm",",전체");
  91. }
  92. model.refresh();
  93. ]]>
  94. </script>
  95. <submission id="TRZBC00101"/>
  96. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  97. <submission id="TRADS00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  98. <submission id="TRADT10203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/>
  99. </model>
  100. </xhtml:head>
  101. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  102. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  103. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">퇴원처방 예고율 통계</caption>
  104. </group>
  105. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  106. <line id="line1" class="line_1" style="x1:0px; y1:100px; x2:1195px; y2:100px; "/>
  107. <group id="group1" style="left:0px; top:10px; width:1195px; height:80px; vertical-align:top; ">
  108. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
  109. <line id="line2" class="line_4" style="x1:1110px; y1:10px; x2:1110px; y2:70px; "/>
  110. <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:29px; width:56px; height:22px; ">
  111. <caption>조회</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. model.setValue("/root/send/srchwardcd", model.getValue("/root/temp/srchinfo/ward"));
  115. model.refresh();
  116. if(submit("TRADS00701")){
  117. exeReportPreview("RPADS00701", "XMLSTR", "/root/main/statslist/item");
  118. }
  119. ]]>
  120. </script>
  121. </button>
  122. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:110px; top:15px; width:100px; height:19px; "/>
  123. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:228px; top:15px; width:100px; height:19px; "/>
  124. <caption id="caption5" class="search_no_b" style="left:213px; top:15px; width:12px; height:17px; ">~</caption>
  125. <caption id="caption3" class="search_name" style="left:15px; top:16px; width:86px; height:17px; ">일자구간 :</caption>
  126. <caption id="caption4" class="search_name" style="left:685px; top:15px; width:86px; height:17px; ">통계양식 :</caption>
  127. <select1 id="rdo_formcd" ref="/root/send/formflag1" class="radio_search" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:780px; top:15px; width:295px; height:20px; border-style:none; ">
  128. <choices>
  129. <item>
  130. <label>퇴원예고율</label>
  131. <value>1</value>
  132. </item>
  133. <item>
  134. <label>수정율</label>
  135. <value>2</value>
  136. </item>
  137. </choices>
  138. </select1>
  139. <caption id="caption8" class="search_name" style="left:345px; top:15px; width:86px; height:17px; ">병동 :</caption>
  140. <caption id="caption10" class="search_name" style="left:345px; top:40px; width:86px; height:17px; ">진료과 :</caption>
  141. <select1 id="cmb_orddept" ref="/root/send/srchdeptcd" class="combo_search" appearance="minimal" style="left:440px; top:40px; width:196px; height:19px; ">
  142. <choices>
  143. <itemset nodeset="/root/hidden/orddept/dept">
  144. <label ref="depthngnm"/>
  145. <value ref="deptcd"/>
  146. </itemset>
  147. </choices>
  148. </select1>
  149. <button id="button2" class="icon_search" style="left:640px; top:17px; width:16px; height:16px; ">
  150. <caption/>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. if(chk_ward.visible==true){
  154. chk_ward.visible = false;
  155. }else {
  156. chk_ward.visible = true;
  157. }
  158. model.refresh();
  159. ]]>
  160. </script>
  161. </button>
  162. <select1 id="radio1" ref="/root/send/formflag2" class="radio_search" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:780px; top:40px; width:295px; height:20px; border-style:none; ">
  163. <choices>
  164. <item>
  165. <label>진료과별</label>
  166. <value>1</value>
  167. </item>
  168. <item>
  169. <label>병동별</label>
  170. <value>2</value>
  171. </item>
  172. </choices>
  173. </select1>
  174. <input id="ipt_wardnm" ref="/root/hidden/srchinfo/wardnm" class="input_search" disabled="true" style="left:440px; top:17px; width:196px; height:19px; "/>
  175. </group>
  176. <select id="chk_ward" ref="/root/temp/srchinfo/ward" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="8" direction="downacross" sep="," style="left:235px; top:50px; width:205px; height:15px; background-color:#e5eae9; border-style:none; ">
  177. <choices>
  178. <itemset nodeset="/root/hidden/deptlist/ward">
  179. <label ref="wardnm"/>
  180. <value ref="wardcd"/>
  181. </itemset>
  182. </choices>
  183. <script type="javascript" ev:event="onclick">
  184. <![CDATA[
  185. //if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
  186. if(chk_ward.mouseRow == 0 && chk_ward.mouseCol == 0 ){
  187. if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
  188. model.setValue("/root/temp/srchinfo/ward", "T,2100300000,2110200000,2110201000,2280200000,2360800000,2361501000,3050107000,3050108000,3050109000,3050110000,3050112000,3050113000,3050115000,3050116000,3050118000,3050119000,3050120000,3050121000,3050122000,3050123000,3050135000,3050136000,3060000000,3060100000,3060200000,3060300000,3060400000,3060600000,3120400000");
  189. } else {
  190. //ipt_wardcd.value = "";
  191. //ipt_wardnm.value = "";
  192. model.setValue("/root/temp/srchinfo/ward", "");
  193. }
  194. model.refresh();
  195. }
  196. if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
  197. ipt_wardcd.value = chk_ward.value.substr(2,chk_ward.value.length);
  198. ipt_wardnm.value = chk_ward.label.substr(3,chk_ward.label.length);
  199. } else {
  200. ipt_wardcd.value = chk_ward.value;
  201. ipt_wardnm.value = chk_ward.label;
  202. }
  203. //input3.refresh();
  204. //검사실 체크박스 감추기
  205. //chk_excuroom.visible = false;
  206. ]]>
  207. </script>
  208. </select>
  209. <input id="ipt_wardcd" ref="/root/hidden/srchinfo/wardcd" class="input_search" visibility="hidden" style="left:445px; top:50px; width:140px; height:19px; "/>
  210. </group>
  211. </xhtml:body>
  212. </xhtml:html>