SMADS01000_외래투약대기시간통계.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <formflag>2</formflag>
  20. <srchdeptcd/>
  21. <srchdrid/>
  22. <drugflag1all/>
  23. <srchfromwaittm/>
  24. <srchtowaittm/>
  25. <srchdw>월요일 화요일 수요일 목요일 금요일 토요일 일요일</srchdw>
  26. <deptinfo>
  27. <deptflag/>
  28. </deptinfo>
  29. <baseinfo>
  30. <spcldrug/>
  31. <efcycd/>
  32. </baseinfo>
  33. <srchdata>
  34. <drugcd/>
  35. </srchdata>
  36. <srchwardcd/>
  37. </send>
  38. <init>
  39. </init>
  40. <hidden>
  41. <srchinfo>
  42. <wardcd/>
  43. <wardnm/>
  44. </srchinfo>
  45. <baseinfo>
  46. <spcldrug>
  47. <A0006/>
  48. </spcldrug>
  49. </baseinfo>
  50. <receivedrugcd>/root/send/srchdata/drugcd</receivedrugcd>
  51. <orddept>
  52. <dept/>
  53. </orddept>
  54. <receiveefcy>/root/send/baseinfo/efcycd</receiveefcy>
  55. <send_w_d_cdname/>
  56. </hidden>
  57. <temp>
  58. <srchinfo>
  59. <ward/>
  60. </srchinfo>
  61. <receivedata>
  62. <receiveref/>
  63. <srchflag/>
  64. <srchcnts/>
  65. <drugkind/>
  66. </receivedata>
  67. </temp>
  68. </root>
  69. </instance>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  74. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  75. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  76. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  77. <script type="javascript" ev:event="xforms-ready">
  78. <![CDATA[
  79. var rdo_children = rdo_formcd.children;
  80. rdo_children.item(1).attribute("disable") = true;
  81. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  82. model.setValue("/root/send/srchfromdd", getCurrentDate());
  83. model.setValue("/root/send/srchtodd", getCurrentDate());
  84. model.setValue("/root/send/formflag", "2");
  85. model.setValue("/root/send/drugflag1all", "전체");
  86. // 진료과세팅
  87. zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/hidden/orddept"); //부서코드 콤보조회
  88. if ( model.instances(0).selectSingleNode("/root/hidden/orddept/dept") != null) {
  89. astfAddCombo("/root/hidden/orddept","dept","deptcd,depthngnm",",전체");
  90. }
  91. makeReportPreview(0,150,1195,570);
  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="TRADS01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  98. <submission id="TRADS01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  99. <submission id="TRADT10203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/>
  100. </model>
  101. </xhtml:head>
  102. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  103. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  104. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">외래 투약대기시간 통계</caption>
  105. </group>
  106. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  107. <line id="line1" class="line_1" style="x1:0px; y1:135px; x2:1195px; y2:135px; "/>
  108. <group id="group1" style="left:0px; top:10px; width:1195px; height:110px; vertical-align:top; ">
  109. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:110px; background-color:#fffbf2; border-color:#ffd799; "/>
  110. <line id="line2" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:85px; "/>
  111. <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:34px; width:56px; height:22px; ">
  112. <caption>조회</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. if ( model.getValue("/root/send/srchdw") == '') {
  116. messageBox("요일을 선택하십시오.", "I999");
  117. return;
  118. }
  119. if ( model.getValue("/root/send/formflag") == "1" ) {
  120. if(submit("TRADS01001")){
  121. exeReportPreview("RPADS01001", "XMLSTR", "/root/main/statslist/item");
  122. }
  123. } else {
  124. if(submit("TRADS01002")){
  125. exeReportPreview("RPADS01002", "XMLSTR", "/root/main/statslist/item");
  126. }
  127. }
  128. ]]>
  129. </script>
  130. </button>
  131. <caption id="caption2" class="search_name" style="left:15px; top:45px; width:86px; height:17px; ">일자구간 :</caption>
  132. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:110px; top:45px; width:100px; height:19px; "/>
  133. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:228px; top:45px; width:100px; height:19px; "/>
  134. <caption id="caption5" class="search_no_b" style="left:213px; top:45px; width:12px; height:17px; ">~</caption>
  135. <caption id="caption4" class="search_name" style="left:345px; top:20px; width:86px; height:17px; ">통계양식 :</caption>
  136. <select1 id="rdo_formcd" ref="/root/send/formflag" class="radio_search" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:440px; top:20px; width:295px; height:20px; border-style:none; ">
  137. <choices>
  138. <item>
  139. <label>과별</label>
  140. <value>1</value>
  141. </item>
  142. <item>
  143. <label>요일,시간대별</label>
  144. <value>2</value>
  145. </item>
  146. </choices>
  147. </select1>
  148. <caption id="caption8" class="search_name" style="left:15px; top:70px; width:93px; height:17px; ">시간대 :</caption>
  149. <caption id="caption10" class="search_name" style="left:345px; top:45px; width:86px; height:17px; ">진료과 :</caption>
  150. <caption id="caption12" class="search_name" style="left:780px; top:45px; width:88px; height:17px; ">의사 :</caption>
  151. <select1 id="cmb_orddept" ref="/root/send/srchdeptcd" class="combo_search" appearance="minimal" style="left:440px; top:45px; width:170px; height:19px; ">
  152. <choices>
  153. <itemset nodeset="/root/hidden/orddept/dept">
  154. <label ref="depthngnm"/>
  155. <value ref="deptcd"/>
  156. </itemset>
  157. </choices>
  158. <script type="javascript" ev:event="xforms-value-changed">
  159. <![CDATA[
  160. cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '"+ cmb_orddept.value +"']";
  161. cmb_orddr.refresh();
  162. model.setValue("/root/hidden/send_w_d_cdname", model.getValue(cmb_orddept.choices.itemset.attribute("nodeset")+"[deptcd ='"+model.getValue("/root/send/srchdeptcd")+"']/depthngnm"));
  163. ]]>
  164. </script>
  165. </select1>
  166. <select1 id="cmb_orddr" ref="/root/send/srchdrid" class="combo_search" appearance="minimal" style="left:870px; top:45px; width:170px; height:19px; ">
  167. <choices>
  168. <itemset nodeset="/root/init/orddrid">
  169. <label ref="nm"/>
  170. <value ref="cd"/>
  171. </itemset>
  172. </choices>
  173. </select1>
  174. <caption id="caption1" class="search_name" style="left:345px; top:70px; width:93px; height:17px; ">요일 :</caption>
  175. <input id="input1" ref="/root/send/srchfromwaittm" class="input_default" navindex="1" format="hh:nn" style="left:110px; top:70px; width:100px; height:19px; "/>
  176. <input id="input2" ref="/root/send/srchtowaittm" class="input_default" navindex="1" format="hh:nn" style="left:228px; top:70px; width:100px; height:19px; "/>
  177. <caption id="caption3" class="search_no_b" style="left:213px; top:70px; width:12px; height:17px; ">~</caption>
  178. <select id="chk_drugflag1" ref="/root/send/srchdw" overflow="visible" appearance="full" cols="7" style="left:493px; top:70px; width:240px; height:20px; border-style:none; ">
  179. <choices>
  180. <item>
  181. <label>월</label>
  182. <value>월요일</value>
  183. </item>
  184. <item>
  185. <label>화</label>
  186. <value>화요일</value>
  187. </item>
  188. <item>
  189. <label>수</label>
  190. <value>수요일</value>
  191. </item>
  192. <item>
  193. <label>목</label>
  194. <value>목요일</value>
  195. </item>
  196. <item>
  197. <label>금</label>
  198. <value>금요일</value>
  199. </item>
  200. <item>
  201. <label>토</label>
  202. <value>토요일</value>
  203. </item>
  204. <item>
  205. <label>일</label>
  206. <value>일요일</value>
  207. </item>
  208. </choices>
  209. </select>
  210. <select id="chk_drugflag1all" ref="/root/send/drugflag1all" overflow="visible" appearance="full" cols="3" style="left:440px; top:70px; width:50px; height:20px; border-style:none; ">
  211. <choices>
  212. <item>
  213. <label>전체</label>
  214. <value>전체</value>
  215. </item>
  216. </choices>
  217. <script type="javascript" ev:event="onclick">
  218. <![CDATA[
  219. if(model.getValue("/root/send/drugflag1all") == "전체") {
  220. chk_drugflag1.select(0);
  221. chk_drugflag1.select(1);
  222. chk_drugflag1.select(2);
  223. chk_drugflag1.select(3);
  224. chk_drugflag1.select(4);
  225. chk_drugflag1.select(5);
  226. chk_drugflag1.select(6);
  227. }
  228. else {
  229. chk_drugflag1.deselect(0);
  230. chk_drugflag1.deselect(1);
  231. chk_drugflag1.deselect(2);
  232. chk_drugflag1.deselect(3);
  233. chk_drugflag1.deselect(4);
  234. chk_drugflag1.deselect(5);
  235. chk_drugflag1.deselect(6);
  236. }
  237. ]]>
  238. </script>
  239. </select>
  240. </group>
  241. </group>
  242. </xhtml:body>
  243. </xhtml:html>