SMADS01200_기간별특수조제실처방조제량통계.xrw 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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. <drugflag1/>
  21. <drugflag2/>
  22. <srchdeptcd/>
  23. <srchdrid/>
  24. <drugflag1all/>
  25. <drugflag2all/>
  26. <checkd/>
  27. <checkc/>
  28. <checkt/>
  29. </send>
  30. <init>
  31. <drugflag1/>
  32. <drugflag2/>
  33. </init>
  34. <hidden/>
  35. </root>
  36. </instance>
  37. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  39. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. aezfSetSuppDeptcd();
  43. // 진료과/진료의 조회
  44. //submit("TRPMOCOM01");
  45. var rdo_children = rdo_formcd.children;
  46. rdo_children.item(1).attribute("disable") = true;
  47. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  48. model.setValue("/root/send/srchfromdd", getCurrentDate());
  49. model.setValue("/root/send/srchtodd", getCurrentDate());
  50. //model.setValue("/root/send/srchioflag", "전체"); //2010-02-02 Form Load시 오류발생 막음.
  51. model.setValue("/root/send/formflag", "1");
  52. model.setValue("/root/init/drugflag1", "I O");
  53. model.setValue("/root/init/drugflag2", "D C T 1");
  54. model.setValue("/root/send/drugflag1all", "전체");
  55. model.setValue("/root/send/drugflag2all", "전체");
  56. model.refresh();
  57. makeReportPreview(0,100,1195,620);
  58. ]]>
  59. </script>
  60. <submission id="TRADS01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  61. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  62. </model>
  63. </xhtml:head>
  64. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  66. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">기간별 특수조제실 조제량 통계</caption>
  67. </group>
  68. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  69. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  70. <group id="group1" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
  71. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  72. <line id="line2" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:35px; "/>
  73. <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:9px; width:56px; height:22px; ">
  74. <caption>조회</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. model.setValue("/root/send/checkd", "");
  78. model.setValue("/root/send/checkc", "");
  79. model.setValue("/root/send/checkt", "");
  80. if ( model.getValue("/root/init/drugflag2").indexOf("D") > -1) {
  81. model.setValue("/root/send/checkd", "Y");
  82. }
  83. if ( model.getValue("/root/init/drugflag2").indexOf("C") > -1) {
  84. model.setValue("/root/send/checkc", "Y");
  85. }
  86. if ( model.getValue("/root/init/drugflag2").indexOf("T") > -1) {
  87. model.setValue("/root/send/checkt", "Y");
  88. }
  89. model.refresh();
  90. //처방구분
  91. var drugflag1 = model.getValue("/root/init/drugflag1");
  92. var temp="";
  93. var drugflagData = drugflag1.split(" ");
  94. for(var i = 0; i < drugflagData.length; ++i) {
  95. if (i == 0 ) temp = "'" + drugflagData[i] + "'";
  96. else temp += ",'" + drugflagData[i] + "'" ;
  97. }
  98. model.setValue("/root/send/drugflag1", temp);
  99. //약품종류
  100. var drugflag2 = model.getValue("/root/init/drugflag2");
  101. var temp="";
  102. var drugflagData = drugflag2.split(" ");
  103. for(var i = 0; i < drugflagData.length; ++i) {
  104. if (drugflagData[i] == "T") drugflagData[i] = "B','T','Q" ; //B:소아TPN T:TPN Q:시판품
  105. if (i == 0 ) temp = "'" + drugflagData[i] + "'";
  106. else temp += ",'" + drugflagData[i] + "'" ;
  107. }
  108. model.setValue("/root/send/drugflag2", temp);
  109. if(submit("TRADS01201")){
  110. exeReportPreview("RPADS01201", "XMLSTR", "/root/main/statslist/item");
  111. }
  112. ]]>
  113. </script>
  114. </button>
  115. <caption id="caption2" class="search_name" style="left:15px; top:10px; width:86px; height:17px; ">일자 :</caption>
  116. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:85px; top:10px; width:85px; height:19px; "/>
  117. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:188px; top:10px; width:87px; height:19px; "/>
  118. <caption id="caption5" class="search_no_b" style="left:173px; top:10px; width:12px; height:17px; ">~</caption>
  119. <caption id="caption4" class="search_name" style="left:285px; top:10px; width:86px; height:17px; ">통계양식 :</caption>
  120. <caption id="caption7" class="search_name" style="left:485px; top:10px; width:86px; height:17px; ">처방구분 :</caption>
  121. <select1 id="rdo_formcd" ref="/root/send/formflag" class="radio_search" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:375px; top:10px; width:105px; height:20px; border-style:none; ">
  122. <choices>
  123. <item>
  124. <label>연별</label>
  125. <value>1</value>
  126. </item>
  127. <item>
  128. <label>월별</label>
  129. <value>2</value>
  130. </item>
  131. </choices>
  132. </select1>
  133. <select id="chk_drugflag1" ref="/root/init/drugflag1" overflow="visible" appearance="full" cols="2" style="left:574px; top:10px; width:96px; height:20px; border-style:none; ">
  134. <choices>
  135. <item>
  136. <label>재원</label>
  137. <value>I</value>
  138. </item>
  139. <item>
  140. <label>외래</label>
  141. <value>O</value>
  142. </item>
  143. </choices>
  144. <script type="javascript" ev:event="onclick">
  145. <![CDATA[
  146. if(model.getValue("/root/init/drugflag1").length == "3")
  147. {
  148. chk_drugflag1all.select(0);
  149. }
  150. else
  151. {
  152. chk_drugflag1all.deselect(0);
  153. }
  154. ]]>
  155. </script>
  156. </select>
  157. <select id="chk_drugflag1all" ref="/root/send/drugflag1all" overflow="visible" appearance="full" cols="3" style="left:667px; top:10px; width:50px; height:20px; border-style:none; ">
  158. <choices>
  159. <item>
  160. <label>전체</label>
  161. <value>전체</value>
  162. </item>
  163. </choices>
  164. <script type="javascript" ev:event="onclick">
  165. <![CDATA[
  166. if(model.getValue("/root/send/drugflag1all") == "전체")
  167. {
  168. chk_drugflag1.select(0);
  169. chk_drugflag1.select(1);
  170. }
  171. else
  172. {
  173. chk_drugflag1.deselect(0);
  174. chk_drugflag1.deselect(1);
  175. }
  176. ]]>
  177. </script>
  178. </select>
  179. <select id="chk_drugflag2all" ref="/root/send/drugflag2all" overflow="visible" appearance="full" cols="3" style="left:1057px; top:10px; width:50px; height:20px; border-style:none; ">
  180. <choices>
  181. <item>
  182. <label>전체</label>
  183. <value>전체</value>
  184. </item>
  185. </choices>
  186. <script type="javascript" ev:event="onclick">
  187. <![CDATA[
  188. if(model.getValue("/root/send/drugflag2all") == "전체")
  189. {
  190. chk_drugflag2.select(0);
  191. chk_drugflag2.select(1);
  192. chk_drugflag2.select(2);
  193. chk_drugflag2.select(3);
  194. }
  195. else
  196. {
  197. chk_drugflag2.deselect(0);
  198. chk_drugflag2.deselect(1);
  199. chk_drugflag2.deselect(2);
  200. chk_drugflag2.deselect(3);
  201. }
  202. ]]>
  203. </script>
  204. </select>
  205. <caption id="caption1" class="search_name" style="left:723px; top:10px; width:86px; height:17px; ">약품종류 :</caption>
  206. <select id="chk_drugflag2" ref="/root/init/drugflag2" overflow="visible" appearance="full" cols="4" style="left:812px; top:10px; width:248px; height:20px; border-style:none; ">
  207. <choices>
  208. <item>
  209. <label>항암제</label>
  210. <value>D</value>
  211. </item>
  212. <item>
  213. <label>무균조제</label>
  214. <value>C</value>
  215. </item>
  216. <item>
  217. <label>TPN</label>
  218. <value>T</value>
  219. </item>
  220. <item>
  221. <label>면역억제제</label>
  222. <value>1</value>
  223. </item>
  224. </choices>
  225. <script type="javascript" ev:event="onclick">
  226. <![CDATA[
  227. if(model.getValue("/root/init/drugflag2").length == "7")
  228. {
  229. chk_drugflag2all.select(0);
  230. }
  231. else
  232. {
  233. chk_drugflag2all.deselect(0);
  234. }
  235. ]]>
  236. </script>
  237. </select>
  238. </group>
  239. </group>
  240. </xhtml:body>
  241. </xhtml:html>