SMADC01500_TPN회신결과입력.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <replrslt>
  11. <list>
  12. <cnstrslt/>
  13. <rsltact/>
  14. <repldd/>
  15. <reqdrug/>
  16. <reqcnts/>
  17. <pid/>
  18. <rgstseqno/>
  19. <instcd/>
  20. </list>
  21. </replrslt>
  22. <replcnts>
  23. <replcnts/>
  24. </replcnts>
  25. </main>
  26. <send>
  27. <req>
  28. <data/>
  29. </req>
  30. <srchinfo>
  31. <repldd/>
  32. <pid/>
  33. </srchinfo>
  34. <srchreplcnts>
  35. <pid/>
  36. <rgstseqno/>
  37. <instcd/>
  38. </srchreplcnts>
  39. </send>
  40. <init/>
  41. <hidden>
  42. <item/>
  43. </hidden>
  44. </root>
  45. </instance>
  46. <submission id="TRADC01501" ref="/root/send/srchinfo" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/replrslt"/>
  47. <submission id="TXADC01501" ref="/root/send/req/data" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden"/>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. grd_replrslt.colHidden(6)=true;
  51. grd_replrslt.colHidden(7)=true;
  52. grd_replrslt.colHidden(8)=true;
  53. ]]>
  54. </script>
  55. <submission id="TRADC01502" ref="/root/send/srchreplcnts" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/replcnts"/>
  56. </model>
  57. <!-- 공통스크립트 선언 시작 -->
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  62. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  63. <!-- 공통스크립트 선언 끝 -->
  64. </xhtml:head>
  65. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  66. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">NST회신결과입력</caption>
  68. </group>
  69. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1194px; height:744px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  70. <caption id="caption14" class="tit_2" style="left:5px; top:75px; width:144px; height:13px; ">회신결과입력</caption>
  71. <line id="line3" class="line_1" style="x1:0px; y1:20px; x2:1194px; y2:20px; "/>
  72. <caption id="caption7" class="tit_2" style="left:5px; top:5px; width:144px; height:13px; ">환자정보</caption>
  73. <line id="line5" class="line_3" style="x1:0px; y1:735px; x2:1194px; y2:735px; "/>
  74. <caption id="caption1" class="tit_2" style="left:605px; top:75px; width:144px; height:13px; ">회신서 내역 조회</caption>
  75. <button id="button1" class="btn4_letter2" style="left:530px; top:70px; width:56px; height:22px; ">
  76. <caption>저장</caption>
  77. <script type="javascript" ev:event="DOMActivate">
  78. <![CDATA[
  79. if ( messageBox("변경사항을","Q002")==6 ){
  80. var update = getGridUpdateData(grd_replrslt);
  81. if(update == ""){
  82. messageBox("업데이트 정보가", "I004");
  83. return 0;
  84. } else {
  85. model.setValue("/root/send/req/data",update);
  86. submit("TXADC01501");
  87. }
  88. }
  89. submit("TRADC01501");
  90. model.refresh();
  91. ]]>
  92. </script>
  93. </button>
  94. <group id="group2" style="left:0px; top:25px; width:1005px; height:40px; ">
  95. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:995px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  96. <caption id="caption2" class="search_name" style="left:25px; top:10px; width:100px; height:17px; ">회신일자</caption>
  97. <caption id="caption3" class="search_name" style="left:260px; top:10px; width:100px; height:17px; ">등록번호 :</caption>
  98. <button id="button61" class="icon_search" style="left:510px; top:10px; width:16px; height:16px; ">
  99. <caption/>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. ]]>
  103. </script>
  104. </button>
  105. <output id="output1" class="output_fix" style="left:535px; top:10px; width:440px; height:19px; "/>
  106. <input id="ipt_repldd" ref="/root/send/srchinfo/repldd" class="input_search" inputtype="date" style="left:120px; top:10px; width:87px; height:19px; ">
  107. <script type="javascript" ev:event="onkeydown">
  108. <![CDATA[
  109. inputEnterKey("btn_srch","DOMActivate");
  110. ]]>
  111. </script>
  112. </input>
  113. <input id="ipt_pid" ref="/root/send/srchinfo/pid" class="input_s_essential" style="left:350px; top:10px; width:150px; height:19px; ">
  114. <script type="javascript" ev:event="onkeydown">
  115. <![CDATA[
  116. inputEnterKey("btn_srch","DOMActivate");
  117. ]]>
  118. </script>
  119. </input>
  120. </group>
  121. <datagrid id="grd_replrslt" nodeset="/root/main/replrslt/list" scroll="auto" backcoloralternate="#f0f0f0" caption="회신결과^회신내용^회신일시^의뢰약물^의뢰내용" colwidth="72, 164, 100, 100, 131" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:95px; width:590px; height:630px; ">
  122. <col ref="cnstrslt" type="combo">
  123. <choices>
  124. <item>
  125. <label/>
  126. <value>1</value>
  127. </item>
  128. <item>
  129. <label>01.Accept</label>
  130. <value>2</value>
  131. </item>
  132. <item>
  133. <label>02.Reject</label>
  134. <value>3</value>
  135. </item>
  136. <item>
  137. <label>99.기타</label>
  138. <value>4</value>
  139. </item>
  140. </choices>
  141. </col>
  142. <col ref="rsltact" type="combo">
  143. <choices>
  144. <item>
  145. <label/>
  146. <value>1</value>
  147. </item>
  148. <item>
  149. <label>01.제형변경</label>
  150. <value>2</value>
  151. </item>
  152. <item>
  153. <label>02.투여계획(용량등) 변경</label>
  154. <value>3</value>
  155. </item>
  156. <item>
  157. <label>03.전해질 교정</label>
  158. <value>4</value>
  159. </item>
  160. <item>
  161. <label>04. Lab Order</label>
  162. <value>5</value>
  163. </item>
  164. <item>
  165. <label>05. Catheter 관리(line)</label>
  166. <value>6</value>
  167. </item>
  168. <item>
  169. <label>06.약물상호작용</label>
  170. <value>7</value>
  171. </item>
  172. <item>
  173. <label>07.추가 약물(Insuline등)</label>
  174. <value>8</value>
  175. </item>
  176. <item>
  177. <label>08.TPN 기본지침</label>
  178. <value>9</value>
  179. </item>
  180. <item>
  181. <label>99.기타</label>
  182. <value>10</value>
  183. </item>
  184. </choices>
  185. </col>
  186. <col ref="repldd"/>
  187. <col ref="reqdrug"/>
  188. <col ref="reqcnts"/>
  189. <col ref="pid"/>
  190. <col ref="rgstseqno"/>
  191. <col ref="instcd"/>
  192. <script type="javascript" ev:event="ondblclick">
  193. <![CDATA[
  194. model.setValue("/root/send/srchreplcnts/pid", model.getValue("/root/main/replrslt/list["+grd_replrslt.row+"]/pid"));
  195. model.setValue("/root/send/srchreplcnts/rgstseqno", model.getValue("/root/main/replrslt/list["+grd_replrslt.row+"]/rgstseqno"));
  196. model.setValue("/root/send/srchreplcnts/instcd", model.getValue("/root/main/replrslt/list["+grd_replrslt.row+"]/instcd"));
  197. submit("TRADC01502");
  198. model.refresh();
  199. ]]>
  200. </script>
  201. </datagrid>
  202. <button id="btn_srch" class="btn1_letter2" style="left:1040px; top:30px; width:56px; height:22px; ">
  203. <caption>조회</caption>
  204. <script type="javascript" ev:event="DOMActivate">
  205. <![CDATA[
  206. // 필수입력사항 (등록번호) 기입여부
  207. var pid = model.getValue("/root/send/srchinfo/pid");
  208. if(pid == ""){
  209. messageBox("등록번호를 ","C001");
  210. }else{
  211. submit("TRADC01501");
  212. model.refresh();
  213. }
  214. ]]>
  215. </script>
  216. </button>
  217. <textarea id="tar_replcnts" ref="/root/main/replcnts/replcnts" scroll="auto" style="left:595px; top:95px; width:590px; height:630px; "/>
  218. <button id="btn_print" class="btn6_letter2" style="left:1110px; top:30px; width:56px; height:22px; ">
  219. <caption>출력</caption>
  220. <script type="javascript" ev:event="DOMActivate">
  221. <![CDATA[
  222. // exeReportPreview("","XMLSTR", "");
  223. ]]>
  224. </script>
  225. </button>
  226. </group>
  227. </xhtml:body>
  228. </xhtml:html>