SMADS01900_ADR통계.xrw 12 KB

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