SPMNR05000_간호Item 시간변경.xrw 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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>간호 ITEM 시간setting 변경</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <prcpinfo>
  11. <prcpcd/>
  12. <prcpnm/>
  13. <careitemnm/>
  14. <careitemcd/>
  15. <apnttmspec/>
  16. <flag/>
  17. <supcd/>
  18. </prcpinfo>
  19. <timeinfo>
  20. <timelist>
  21. <time1/>
  22. <time2/>
  23. <time3/>
  24. <time4/>
  25. <time5/>
  26. <time6/>
  27. </timelist>
  28. </timeinfo>
  29. <cond>
  30. <savetype>1</savetype>
  31. <time/>
  32. <interval/>
  33. </cond>
  34. <saveinfo>
  35. <pid/>
  36. <indd/>
  37. <cretno/>
  38. <itemcd/>
  39. <prcpcd/>
  40. <prcpdd/>
  41. <prcpno/>
  42. <prcphistno/>
  43. <apnttmspec/>
  44. </saveinfo>
  45. <clsinfo>
  46. <clslist>
  47. <itemcd/>
  48. <itemnm/>
  49. </clslist>
  50. </clsinfo>
  51. <iteminfo>
  52. <itemlist>
  53. <itemcd/>
  54. <itemnm/>
  55. <supcd/>
  56. <clincobs/>
  57. <intake/>
  58. <output/>
  59. <catheter/>
  60. <careexec/>
  61. <clincobsprcpyn/>
  62. <cathprcpyn/>
  63. <careexecprcpyn/>
  64. <mainrecflag/>
  65. <extyn/>
  66. <itemorigincd/>
  67. </itemlist>
  68. </iteminfo>
  69. </main>
  70. <send/>
  71. <hidden/>
  72. <init/>
  73. <temp>
  74. </temp>
  75. </root>
  76. </instance>
  77. <script type="javascript" ev:event="xforms-ready">
  78. <![CDATA[
  79. fInitialize();
  80. ]]>
  81. </script>
  82. <submission id="TRMNR04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/clsinfo"/>
  83. <submission id="TRMNR05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/iteminfo"/>
  84. </model>
  85. <script type="javascript" src="../../../emr/carerecweb/js/SPMNR05000.js"/>
  86. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. </xhtml:head>
  90. <xhtml:body pagewidth="385" pageheight="390" guideline="1,1195;1,365;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  91. <caption id="caption42" class="tit_2" style="left:5px; top:0px; width:95px; height:13px; ">기존정보</caption>
  92. <line id="line18" class="line_1" style="x1:0px; y1:15px; x2:365px; y2:15px; "/>
  93. <button id="btn_change" class="btn2_letter2" navindex="5" style="left:280px; top:355px; width:42px; height:19px; ">
  94. <caption>수정</caption>
  95. <script type="javascript" ev:event="DOMActivate">
  96. <![CDATA[
  97. fSend("u");
  98. ]]>
  99. </script>
  100. </button>
  101. <caption id="caption14" class="cell_1" style="left:0px; top:20px; width:130px; height:23px; vertical-align:middle; ">의사 지시처방</caption>
  102. <caption id="caption2" class="cell_1" style="left:0px; top:45px; width:130px; height:23px; vertical-align:middle; ">간호 Item 분류</caption>
  103. <caption id="caption3" class="cell_1" style="left:0px; top:95px; width:130px; height:23px; vertical-align:middle; ">기존 시간 setting</caption>
  104. <line id="line2" class="line_2" style="x1:0px; y1:43px; x2:365px; y2:43px; "/>
  105. <line id="line3" class="line_2" style="x1:0px; y1:68px; x2:365px; y2:68px; "/>
  106. <line id="line12" class="line_3" style="x1:0px; y1:118px; x2:365px; y2:118px; "/>
  107. <line id="line4" class="line_1" style="x1:0px; y1:147px; x2:365px; y2:147px; "/>
  108. <caption id="caption4" class="tit_2" style="left:5px; top:132px; width:95px; height:13px; ">시간 setting</caption>
  109. <button id="bnt_inittime" class="btn2_letter3" navindex="3" style="left:312px; top:127px; width:53px; height:19px; ">
  110. <caption>초기화</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. fClearGrid();
  114. ]]>
  115. </script>
  116. </button>
  117. <datagrid id="grd_timelist" nodeset="/root/main/timeinfo/timelist" class="datagrid0" allowselection="false" backcoloralternate="#ffffff" caption="선택^지시처방^caption1^caption2^caption3^caption4" colsep="^" colwidth="60, 60, 60, 60, 60, 60" defaultrows="5" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" navindex="4" style="left:0px; top:152px; width:365px; height:95px; ">
  118. <col ref="time1"/>
  119. <col ref="time2"/>
  120. <col ref="time3"/>
  121. <col ref="time4"/>
  122. <col ref="time5"/>
  123. <col ref="time6"/>
  124. <script type="javascript" ev:event="onclick">
  125. <![CDATA[
  126. fClinckGridRow();
  127. ]]>
  128. </script>
  129. <script type="javascript" ev:event="xforms-value-changed">
  130. <![CDATA[
  131. fDelGridRow();
  132. ]]>
  133. </script>
  134. </datagrid>
  135. <input id="ipt_prcpnm" ref="/root/main/prcpinfo/prcpnm" disabled="true" style="left:134px; top:22px; width:230px; height:19px; "/>
  136. <output id="opt_apnttmspec" ref="/root/main/prcpinfo/apnttmspec" class="output_fix" style="left:134px; top:96px; width:230px; height:19px; "/>
  137. <button id="btn_cancellation" class="btn2_letter2" navindex="5" style="left:325px; top:355px; width:42px; height:19px; ">
  138. <caption>취소</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. opener.javascript.setParameter("SPMNR04900_Return","");
  142. window.close();
  143. ]]>
  144. </script>
  145. </button>
  146. <line id="line6" class="line_3" style="x1:0px; y1:348px; x2:365px; y2:348px; "/>
  147. <caption id="caption9" class="tit_2" style="left:5px; top:305px; width:100px; height:13px; ">변경정보</caption>
  148. <output id="output1" ref="/root/main/saveinfo/apnttmspec" class="output_fix" style="left:134px; top:326px; width:230px; height:19px; "/>
  149. <caption id="caption10" class="cell_1" style="left:0px; top:325px; width:130px; height:23px; vertical-align:middle; ">변경 시간 setting</caption>
  150. <line id="line7" class="line_1" style="x1:0px; y1:320px; x2:365px; y2:320px; "/>
  151. <select1 id="rdo_drugstat" ref="/root/main/cond/savetype" appearance="full" cols="1" overflow="visible" style="left:0px; top:260px; width:95px; height:35px; vertical-align:middle; border-style:none; ">
  152. <choices>
  153. <item>
  154. <label>시간지정</label>
  155. <value>1</value>
  156. </item>
  157. <item>
  158. <label>Interval지정</label>
  159. <value>2</value>
  160. </item>
  161. </choices>
  162. <script type="javascript" ev:event="xforms-value-changed">
  163. <![CDATA[
  164. if(model.getValue("/root/main/cond/savetype") == "1"){
  165. ipt_time.disabled = "true";
  166. ipt_interval.disabled = "true";
  167. btn_confirm.disabled = "true";
  168. model.setValue("/root/main/cond/time", "");
  169. model.setValue("/root/main/cond/interval", "");
  170. model.refresh();
  171. }else if(model.getValue("/root/main/cond/savetype") == "2"){
  172. ipt_time.disabled = "false";
  173. ipt_interval.disabled = "false";
  174. btn_confirm.disabled = "false";
  175. }else{}
  176. ]]>
  177. </script>
  178. </select1>
  179. <caption id="caption20" style="left:155px; top:275px; width:45px; height:19px; font-weight:bold; ">시부터</caption>
  180. <caption id="caption11" style="left:255px; top:275px; width:54px; height:19px; font-weight:bold; ">시간간격</caption>
  181. <input id="ipt_time" ref="/root/main/cond/time" class="input_search" disabled="true" maxlength="2" format="##" style="left:100px; top:275px; width:50px; height:19px; text-align:right; padding-right:5; ">
  182. <script type="javascript" ev:event="onkeydown">
  183. <![CDATA[
  184. if(event.keycode == "13"){
  185. model.setfocus("btn_PatListSel");
  186. fGetPatList();
  187. screen_mode = "pat";
  188. model.toggle("pat");
  189. if(grd_patlist.rows == 2){
  190. fClickDrugList("drg", 1);
  191. }
  192. }
  193. ]]>
  194. </script>
  195. </input>
  196. <input id="ipt_interval" ref="/root/main/cond/interval" class="input_search" disabled="true" maxlength="2" format="##" style="left:200px; top:275px; width:50px; height:19px; text-align:right; padding-right:5; ">
  197. <script type="javascript" ev:event="onkeydown">
  198. <![CDATA[
  199. if(event.keycode == "13"){
  200. model.setfocus("btn_PatListSel");
  201. fGetPatList();
  202. screen_mode = "pat";
  203. model.toggle("pat");
  204. if(grd_patlist.rows == 2){
  205. fClickDrugList("drg", 1);
  206. }
  207. }
  208. ]]>
  209. </script>
  210. </input>
  211. <button id="btn_confirm" class="btn2_letter2" disabled="true" navindex="3" style="left:322px; top:275px; width:42px; height:19px; ">
  212. <caption>적용</caption>
  213. <script type="javascript" ev:event="DOMActivate">
  214. <![CDATA[
  215. fIntervalCalculate();
  216. ]]>
  217. </script>
  218. </button>
  219. <select1 id="cmb_itemcls" ref="/root/main/prcpinfo/supcd" appearance="minimal" style="left:134px; top:46px; width:230px; height:19px; ">
  220. <choices>
  221. <itemset nodeset="/root/main/clsinfo/clslist">
  222. <label ref="itemnm"/>
  223. <value ref="itemcd"/>
  224. </itemset>
  225. </choices>
  226. <script type="javascript" ev:event="xforms-value-changed">
  227. <![CDATA[
  228. fSearchItem();
  229. ]]>
  230. </script>
  231. </select1>
  232. <button id="btn_add" class="btn2_letter2" navindex="5" style="left:235px; top:355px; width:42px; height:19px; ">
  233. <caption>추가</caption>
  234. <script type="javascript" ev:event="DOMActivate">
  235. <![CDATA[
  236. fSend("i");
  237. ]]>
  238. </script>
  239. </button>
  240. <select1 id="cmb_item" ref="/root/main/prcpinfo/careitemcd" appearance="minimal" style="left:134px; top:71px; width:230px; height:19px; ">
  241. <choices>
  242. <itemset nodeset="/root/main/iteminfo/itemlist">
  243. <label ref="itemnm"/>
  244. <value ref="itemcd"/>
  245. </itemset>
  246. </choices>
  247. </select1>
  248. <caption id="caption1" class="cell_1" style="left:0px; top:70px; width:130px; height:23px; vertical-align:middle; ">간호 Item</caption>
  249. <line id="line1" class="line_2" style="x1:0px; y1:93px; x2:365px; y2:93px; "/>
  250. </xhtml:body>
  251. </xhtml:html>