SPMMD08600_상세신청내역.xrw 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <limantibiotrustspecinfo/>
  11. <cond>
  12. <fromdd/>
  13. <todd/>
  14. </cond>
  15. </main>
  16. <send>
  17. <reqdata>
  18. <pid/>
  19. <hngnm/>
  20. <orddd/>
  21. <cretno/>
  22. </reqdata>
  23. <savedata/>
  24. </send>
  25. <hidden/>
  26. <init>
  27. <appresninfo>
  28. <resnlist>
  29. <resnnm>28일 이상</resnnm>
  30. <resncd>2</resncd>
  31. </resnlist>
  32. <resnlist>
  33. <resnnm>0일째 승인 대기</resnnm>
  34. <resncd>3</resncd>
  35. </resnlist>
  36. <resnlist>
  37. <resnnm>5일 이상</resnnm>
  38. <resncd>4</resncd>
  39. </resnlist>
  40. <resnlist>
  41. <resnnm>결과에 *staphy* 문자열</resnnm>
  42. <resncd>6</resncd>
  43. </resnlist>
  44. <resnlist>
  45. <resnnm> 결과에 *candida* 문자열</resnnm>
  46. <resncd>7</resncd>
  47. </resnlist>
  48. <resnlist>
  49. <resnnm>결과에 *pipera*</resnnm>
  50. <resncd>8</resncd>
  51. </resnlist>
  52. <resnlist>
  53. <resnnm>결과에 *cefta*</resnnm>
  54. <resncd>9</resncd>
  55. </resnlist>
  56. </appresninfo>
  57. </init>
  58. <temp/>
  59. </root>
  60. </instance>
  61. <script type="javascript" ev:event="xforms-ready">
  62. <![CDATA[
  63. var pid = opener.javascript.getParameter("SPMMD08600_pid");
  64. var hngnm = opener.javascript.getParameter("SPMMD08600_hngnm");
  65. var orddd = opener.javascript.getParameter("SPMMD08600_orddd");
  66. var cretno = opener.javascript.getParameter("SPMMD08600_cretno");
  67. model.setValue("/root/send/reqdata/pid" , pid);
  68. model.setValue("/root/send/reqdata/orddd" , orddd);
  69. model.setValue("/root/send/reqdata/cretno" , cretno);
  70. model.setValue("/root/send/reqdata/hngnm" , hngnm);
  71. btn_search.dispatch("DOMActivate");
  72. ]]>
  73. </script>
  74. <submission id="TRZBC00101"/>
  75. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  76. <submission id="TRMMD08601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/limantibiotrustspecinfo"/>
  77. <submission id="TXMMD08601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden/limantibiotrustspeclist"/>
  78. <script type="javascript" ev:event="xforms-model-construct-done">
  79. <![CDATA[
  80. fGetHardCDList("N", 286, 0 , "/root/hidden/admininfo");
  81. var sAdmin = model.getValue("/root/hidden/admininfo/hardcd[hardcd = '" + getUserInfo("userid") + "']/hardcd");;
  82. if (sAdmin != "" && sAdmin != null ) {
  83. btn_save.visible = true;
  84. }
  85. ]]>
  86. </script>
  87. </model>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  91. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  92. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  93. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  94. <script type="javascript">
  95. <![CDATA[
  96. ]]>
  97. </script>
  98. </xhtml:head>
  99. <xhtml:body pagewidth="880" pageheight="530" guideline="2,140;">
  100. <group id="group2" style="left:0px; top:0px; width:865px; height:530px; vertical-align:top; ">
  101. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:20px; width:860px; height:40px; "/>
  102. <caption id="caption10" class="tit_2" style="left:5px; top:70px; width:139px; height:13px; ">제한항생제 의뢰내역</caption>
  103. <line id="line19" class="line_1" style="x1:0px; y1:86px; x2:860px; y2:87px; "/>
  104. <button id="btn_excel" class="btn2_letter2" style="left:805px; top:64px; width:42px; height:19px; ">
  105. <caption>엑셀</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. var fileName = window.fileDialog("save", ",", false, "제한항생제의뢰내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  109. if (fileName != ""){
  110. grd_limantibioapplist.saveExcel(fileName, "SheetName", false, false, "", "", false);
  111. }
  112. ]]>
  113. </script>
  114. </button>
  115. <datagrid id="grd_limantibioapplist" nodeset="/root/main/limantibiotrustspecinfo/limantibiotrustspeclist" caption="승인^처방명^처방시간^총량^총량^수량^수량^횟수^날수^상태^취소^현재사용일수^사유^신청서번호^신청서이력번호^처방코드^orddd^cretno^승인상태" colsep="^" colwidth="35, 135, 117, 55, 28, 49, 30, 47, 50, 71, 44, 76, 108, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:90px; width:855px; height:400px; ">
  116. <col checkvalue="Y,N" ref="chkflag" type="checkbox"/>
  117. <col ref="prcpnm"/>
  118. <col ref="prcptm" format="yyyy-mm-dd hh:nn:ss"/>
  119. <col ref="dyvol"/>
  120. <col ref="prcpvolunitnm"/>
  121. <col ref="dyqty"/>
  122. <col ref="prcpqtyunitnm"/>
  123. <col ref="prcptims"/>
  124. <col ref="prcpdayno"/>
  125. <col ref="aprvstatnm"/>
  126. <col ref="histstat"/>
  127. <col ref="totprcpday"/>
  128. <col ref="resnflagno" type="combo">
  129. <choices>
  130. <itemset nodeset="/root/init/appresninfo/resnlist">
  131. <label ref="resnnm"/>
  132. <value ref="resncd"/>
  133. </itemset>
  134. </choices>
  135. </col>
  136. <col ref="limaprvno" visibility="hidden"/>
  137. <col ref="aprvseq" visibility="hidden"/>
  138. <col ref="prcpcd"/>
  139. <col ref="orddd"/>
  140. <col ref="cretno"/>
  141. <col ref="aprvstat" visibility="hidden"/>
  142. </datagrid>
  143. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:168px; height:14px; ">제한항생제 의뢰내역</caption>
  144. <line id="line20" class="line_4" style="x1:764px; y1:29px; x2:764px; y2:52px; "/>
  145. <button id="btn_search" class="btn1_letter2" style="left:780px; top:29px; width:56px; height:22px; ">
  146. <caption>조회</caption>
  147. <script type="javascript" ev:event="DOMActivate">
  148. <![CDATA[
  149. if (submit("TRMMD08601", false) == true) {
  150. model.refresh();
  151. }
  152. ]]>
  153. </script>
  154. </button>
  155. <line id="line15" class="line_3" style="x1:0px; y1:490px; x2:860px; y2:490px; "/>
  156. <caption id="caption12" class="search_name" style="left:50px; top:30px; width:86px; height:17px; ">등록번호 :</caption>
  157. <caption id="caption1" class="search_name" style="left:320px; top:30px; width:86px; height:17px; ">환 자 명 :</caption>
  158. <output id="output1" ref="/root/send/reqdata/pid" style="left:145px; top:30px; width:110px; height:19px; "/>
  159. <output id="output2" ref="/root/send/reqdata/hngnm" style="left:415px; top:30px; width:100px; height:19px; "/>
  160. <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:800px; top:500px; width:56px; height:22px; ">
  161. <caption>저장</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. model.setValue("/root/send/savedata", grd_limantibioapplist.getUpdateData()) ;
  165. if (submit("TXMMD08601") == true) {
  166. btn_search.dispatch("DOMActivate");
  167. }
  168. ]]>
  169. </script>
  170. </button>
  171. </group>
  172. </xhtml:body>
  173. </xhtml:html>