SMADS01100_일자별특수조제실처방조제량통계.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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>1</formflag>
  20. <drugflag1>재원 퇴원</drugflag1>
  21. <srchdeptcd/>
  22. <srchdrid/>
  23. <drugflag1all>전체</drugflag1all>
  24. <deptinfo>
  25. <deptflag/>
  26. </deptinfo>
  27. <baseinfo>
  28. <spcldrug/>
  29. <efcycd/>
  30. </baseinfo>
  31. <srchdata>
  32. <drugcd/>
  33. </srchdata>
  34. <srchwardcd/>
  35. </send>
  36. <init>
  37. </init>
  38. <hidden>
  39. <srchinfo>
  40. <wardcd/>
  41. <wardnm/>
  42. </srchinfo>
  43. <baseinfo>
  44. <spcldrug>
  45. <A0006/>
  46. </spcldrug>
  47. </baseinfo>
  48. <receivedrugcd>/root/send/srchdata/drugcd</receivedrugcd>
  49. <orddept>
  50. <dept/>
  51. </orddept>
  52. <receiveefcy>/root/send/baseinfo/efcycd</receiveefcy>
  53. </hidden>
  54. <temp>
  55. <srchinfo>
  56. <ward/>
  57. </srchinfo>
  58. <receivedata>
  59. <receiveref/>
  60. <srchflag/>
  61. <srchcnts/>
  62. <drugkind/>
  63. </receivedata>
  64. </temp>
  65. </root>
  66. </instance>
  67. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  71. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  72. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  73. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. var rdo_children = rdo_formcd.children;
  77. rdo_children.item(1).attribute("disable") = true;
  78. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  79. model.setValue("/root/send/srchfromdd", getCurrentDate());
  80. model.setValue("/root/send/srchtodd", getCurrentDate());
  81. model.setValue("/root/send/formflag", "1");
  82. model.setValue("/root/send/drugflag1", "재원 퇴원");
  83. model.setValue("/root/send/drugflag1all", "전체");
  84. makeReportPreview(0,150,1195,570);
  85. //병동 Combo 조회
  86. model.setValue("/root/send/deptinfo/deptflag", "W");
  87. submit("TRADT10203");
  88. astfAddCombo("/root/hidden/deptlist", "ward", "wardcd,wardnm", "T,전체");
  89. // 진료과세팅
  90. zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/hidden/orddept"); //부서코드 콤보조회
  91. if ( model.instances(0).selectSingleNode("/root/hidden/orddept/dept") != null) {
  92. astfAddCombo("/root/hidden/orddept","dept","deptcd,depthngnm",",전체");
  93. }
  94. //특별약품구분
  95. zbcfGetCodeList( new Array("A0006"), new Array("/root/hidden/baseinfo/spcldrug" ));
  96. model.refresh();
  97. ]]>
  98. </script>
  99. <submission id="TRZBC00101"/>
  100. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  101. <submission id="TRADS01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  102. <submission id="TRADS01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  103. <submission id="TRADT10203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/>
  104. </model>
  105. </xhtml:head>
  106. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  107. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  108. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">일자별 특수조제실 조제량 통계</caption>
  109. </group>
  110. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  111. <line id="line1" class="line_1" style="x1:0px; y1:130px; x2:1195px; y2:130px; "/>
  112. <group id="group1" style="left:0px; top:10px; width:1195px; height:110px; vertical-align:top; ">
  113. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:110px; background-color:#fffbf2; border-color:#ffd799; "/>
  114. <line id="line2" class="line_4" style="x1:1110px; y1:15px; x2:1110px; y2:95px; "/>
  115. <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:29px; width:56px; height:22px; ">
  116. <caption>조회</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. model.setValue("/root/send/srchwardcd", model.getValue("/root/temp/srchinfo/ward"));
  120. model.refresh();
  121. if ( model.getValue("/root/send/formflag") == '1') {
  122. if(submit("TRADS01101")){
  123. exeReportPreview("RPADS01101", "XMLSTR", "/root/main/statslist/item");
  124. }
  125. }
  126. else if ( model.getValue("/root/send/formflag") == '2') {
  127. if(submit("TRADS01101")){
  128. exeReportPreview("RPADS01101", "XMLSTR", "/root/main/statslist/item");
  129. }
  130. }
  131. ]]>
  132. </script>
  133. </button>
  134. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:110px; top:20px; width:100px; height:19px; "/>
  135. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:228px; top:20px; width:100px; height:19px; "/>
  136. <caption id="caption5" class="search_no_b" style="left:213px; top:20px; width:12px; height:17px; ">~</caption>
  137. <caption id="caption3" class="search_name" style="left:15px; top:20px; width:86px; height:17px; ">일자 :</caption>
  138. <caption id="caption4" class="search_name" style="left:690px; top:20px; width:86px; height:17px; ">통계양식 :</caption>
  139. <caption id="caption7" class="search_name" style="left:385px; top:20px; width:86px; height:17px; ">처방구분 :</caption>
  140. <select1 id="rdo_formcd" ref="/root/send/formflag" class="radio_search" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:785px; top:20px; width:295px; height:20px; border-style:none; ">
  141. <choices>
  142. <item>
  143. <label>진료과별</label>
  144. <value>1</value>
  145. </item>
  146. <item>
  147. <label>병동별</label>
  148. <value>2</value>
  149. </item>
  150. <item>
  151. <label>질환별(항암제)</label>
  152. <value>3</value>
  153. </item>
  154. </choices>
  155. </select1>
  156. <select id="chk_drugflag1" ref="/root/send/drugflag1" overflow="visible" appearance="full" cols="2" style="left:479px; top:20px; width:96px; height:20px; border-style:none; ">
  157. <choices>
  158. <item>
  159. <label>재원</label>
  160. <value>재원</value>
  161. </item>
  162. <item>
  163. <label>퇴원</label>
  164. <value>퇴원</value>
  165. </item>
  166. </choices>
  167. </select>
  168. <select id="chk_drugflag1all" ref="/root/send/drugflag1all" overflow="visible" appearance="full" cols="3" style="left:576px; top:20px; width:50px; height:20px; border-style:none; ">
  169. <choices>
  170. <item>
  171. <label>전체</label>
  172. <value>전체</value>
  173. </item>
  174. </choices>
  175. <script type="javascript" ev:event="onclick">
  176. <![CDATA[
  177. if(model.getValue("/root/send/drugflag1all") == "전체")
  178. {
  179. chk_drugflag1.select(0);
  180. chk_drugflag1.select(1);
  181. }
  182. else
  183. {
  184. chk_drugflag1.deselect(0);
  185. chk_drugflag1.deselect(1);
  186. }
  187. ]]>
  188. </script>
  189. </select>
  190. <caption id="caption8" class="search_name" style="left:15px; top:45px; width:86px; height:17px; ">병동 :</caption>
  191. <caption id="caption10" class="search_name" style="left:385px; top:45px; width:86px; height:17px; ">진료과 :</caption>
  192. <caption id="caption11" class="search_name" style="left:15px; top:70px; width:86px; height:17px; ">특별약품 :</caption>
  193. <caption id="caption12" class="search_name" style="left:690px; top:45px; width:88px; height:17px; ">의사 :</caption>
  194. <caption id="caption13" class="search_name" style="left:690px; top:70px; width:86px; height:17px; ">특정코드 :</caption>
  195. <input id="ipt_wardnm" ref="/root/hidden/srchinfo/wardnm" class="input_search" disabled="true" style="left:110px; top:45px; width:196px; height:19px; "/>
  196. <select1 id="cmb_orddept" ref="/root/send/srchdeptcd" class="combo_search" appearance="minimal" style="left:480px; top:45px; width:170px; height:19px; ">
  197. <choices>
  198. <itemset nodeset="/root/hidden/orddept/dept">
  199. <label ref="depthngnm"/>
  200. <value ref="deptcd"/>
  201. </itemset>
  202. </choices>
  203. <script type="javascript" ev:event="xforms-value-changed">
  204. <![CDATA[
  205. cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '"+ cmb_orddept.value +"']";
  206. cmb_orddr.refresh();
  207. ]]>
  208. </script>
  209. </select1>
  210. <select1 id="combo2" ref="/root/send/baseinfo/spcldrug" class="combo_search" appearance="minimal" style="left:110px; top:70px; width:240px; height:19px; ">
  211. <choices>
  212. <itemset nodeset="/root/hidden/baseinfo/spcldrug/A0006">
  213. <label ref="cdnm"/>
  214. <value ref="cdid"/>
  215. </itemset>
  216. </choices>
  217. </select1>
  218. <select1 id="cmb_orddr" ref="/root/send/srchdrid" class="combo_search" appearance="minimal" style="left:785px; top:45px; width:100px; height:19px; ">
  219. <choices>
  220. <itemset nodeset="/root/init/orddrid">
  221. <label ref="nm"/>
  222. <value ref="cd"/>
  223. </itemset>
  224. </choices>
  225. </select1>
  226. <button id="button2" class="icon_search" style="left:310px; top:45px; width:16px; height:16px; ">
  227. <caption/>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. if(chk_ward.visible==true){
  231. chk_ward.visible = false;
  232. }else {
  233. chk_ward.visible = true;
  234. }
  235. model.refresh();
  236. ]]>
  237. </script>
  238. </button>
  239. <button id="button4" class="icon_search" style="left:990px; top:70px; width:16px; height:16px; ">
  240. <caption/>
  241. <script type="javascript" ev:event="DOMActivate">
  242. <![CDATA[
  243. model.setValue("/root/temp/receivedata/receiveref", model.getValue("/root/hidden/receivedrugcd"));
  244. model.setValue("/root/temp/receivedata/srchflag", "");
  245. model.setValue("/root/temp/receivedata/srchcnts", "");
  246. model.setValue("/root/temp/receivedata/drugkind","");
  247. // 약품코드 검색
  248. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  249. ]]>
  250. </script>
  251. </button>
  252. <input id="input3" ref="/root/send/srchdata/drugcd" class="input_search" disabled="true" style="left:785px; top:70px; width:196px; height:19px; "/>
  253. <caption id="caption1" class="search_name" style="left:385px; top:70px; width:86px; height:17px; ">질환 :</caption>
  254. <select1 id="combo1" ref="/root/send/srchdeptcd" class="combo_search" appearance="minimal" style="left:480px; top:70px; width:170px; height:19px; ">
  255. <choices>
  256. <itemset nodeset="/root/init/orddeptcd">
  257. <label ref="nm"/>
  258. <value ref="cd"/>
  259. </itemset>
  260. </choices>
  261. <script type="javascript" ev:event="xforms-value-changed">
  262. <![CDATA[
  263. cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '"+ cmb_orddept.value +"']";
  264. cmb_orddr.refresh();
  265. ]]>
  266. </script>
  267. </select1>
  268. </group>
  269. <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:110px; top:75px; width:205px; height:15px; background-color:#e5eae9; border-style:none; ">
  270. <choices>
  271. <itemset nodeset="/root/hidden/deptlist/ward">
  272. <label ref="wardnm"/>
  273. <value ref="wardcd"/>
  274. </itemset>
  275. </choices>
  276. <script type="javascript" ev:event="onclick">
  277. <![CDATA[
  278. //if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
  279. if(chk_ward.mouseRow == 0 && chk_ward.mouseCol == 0 ){
  280. if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
  281. 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");
  282. } else {
  283. //ipt_wardcd.value = "";
  284. //ipt_wardnm.value = "";
  285. model.setValue("/root/temp/srchinfo/ward", "");
  286. }
  287. model.refresh();
  288. }
  289. if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
  290. ipt_wardcd.value = chk_ward.value.substr(2,chk_ward.value.length);
  291. ipt_wardnm.value = chk_ward.label.substr(3,chk_ward.label.length);
  292. } else {
  293. ipt_wardcd.value = chk_ward.value;
  294. ipt_wardnm.value = chk_ward.label;
  295. }
  296. //input3.refresh();
  297. //검사실 체크박스 감추기
  298. //chk_excuroom.visible = false;
  299. ]]>
  300. </script>
  301. </select>
  302. <input id="ipt_wardcd" ref="/root/hidden/srchinfo/wardcd" class="input_search" visibility="hidden" style="left:320px; top:75px; width:140px; height:19px; "/>
  303. </group>
  304. </xhtml:body>
  305. </xhtml:html>