SPADC61300_NST모니터링.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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>NST Monitoring</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. </main>
  11. <init>
  12. <chk1/>
  13. <chk2/>
  14. <chk3/>
  15. <chk4/>
  16. <chk5/>
  17. <chk6/>
  18. <chk7/>
  19. <text1/>
  20. <radio1/>
  21. <returnstr/>
  22. <text2/>
  23. </init>
  24. <hidden/>
  25. </root>
  26. </instance>
  27. </model>
  28. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  31. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  32. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  33. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  34. <script type="javascript" src="../../../ast/pharmacyweb/js/SPADC62200.js"/>
  35. <script type="javascript">
  36. <![CDATA[
  37. function makeReturnStr()
  38. {
  39. model.setValue("/root/init/returnstr", "");
  40. var returnstr = "";
  41. if(model.getValue("/root/init/chk1") == "1")
  42. {
  43. returnstr = returnstr + "VS, Wt, I/O; Daily \n";
  44. }
  45. if(model.getValue("/root/init/chk2") == "1")
  46. {
  47. returnstr = returnstr + "Electrolytes, BUN/Cr; daily -> 안정시 2~3회/wk \n";
  48. }
  49. if(model.getValue("/root/init/chk3") == "1")
  50. {
  51. returnstr = returnstr + "BST : " + model.getValue("/root/init/text1") + "회 / day \n";
  52. }
  53. if(model.getValue("/root/init/chk4") == "1")
  54. {
  55. returnstr = returnstr + "BST : daily \n";
  56. }
  57. if(model.getValue("/root/init/chk5") == "1")
  58. {
  59. returnstr = returnstr + "Ca,P,Mg,TP/Alb, TRF,RBP; 24hr UUN, TG/Chol, LFT; weekly \n";
  60. }
  61. if(model.getValue("/root/init/chk6") == "1")
  62. {
  63. returnstr = returnstr + "GIT tolerance;N/V, asplration, abdominal distention, bloating, constipation 점검 \n";
  64. }
  65. if(model.getValue("/root/init/chk7") == "1")
  66. {
  67. if(model.getValue("/root/init/radio1") == "4")
  68. {
  69. returnstr = returnstr + "Gastric residual점검 : " + model.getValue("/root/init/text2") + "\n";
  70. }
  71. else
  72. {
  73. returnstr = returnstr + "Gastric residual점검 : " + model.getValue("/root/init/radio1") + "\n";
  74. }
  75. }
  76. model.setValue("/root/init/returnstr", returnstr);
  77. model.refresh();
  78. }
  79. ]]>
  80. </script>
  81. </xhtml:head>
  82. <xhtml:body pagewidth="530" pageheight="380" guideline="1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  83. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:306px; ">
  84. <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:110px; height:13px; ">NST모니터링</caption>
  85. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:500px; y2:26px; "/>
  86. <select id="checkbox3" ref="/root/init/chk1" overflow="visible" appearance="full" cols="8" rows="1" vcellspacing="10" style="left:5px; top:35px; width:170px; height:22px; border-style:none; ">
  87. <choices>
  88. <item>
  89. <label>VS, Wt, I/O; Daily</label>
  90. <value>1</value>
  91. </item>
  92. </choices>
  93. <script type="javascript" ev:event="xforms-value-changed">
  94. <![CDATA[
  95. makeReturnStr();
  96. ]]>
  97. </script>
  98. </select>
  99. <select id="checkbox1" ref="/root/init/chk2" overflow="visible" appearance="full" cols="8" rows="1" vcellspacing="10" style="left:5px; top:60px; width:305px; height:22px; border-style:none; ">
  100. <choices>
  101. <item>
  102. <label>
  103. <![CDATA[Electrolytes, BUN/Cr; daily -> 안정시 2~3회/wk]]>
  104. </label>
  105. <value>1</value>
  106. </item>
  107. </choices>
  108. <script type="javascript" ev:event="xforms-value-changed">
  109. <![CDATA[
  110. makeReturnStr();
  111. ]]>
  112. </script>
  113. </select>
  114. <select id="checkbox2" ref="/root/init/chk3" overflow="visible" appearance="full" cols="8" rows="1" vcellspacing="10" style="left:5px; top:85px; width:55px; height:22px; border-style:none; ">
  115. <choices>
  116. <item>
  117. <label>BST:</label>
  118. <value>1</value>
  119. </item>
  120. </choices>
  121. <script type="javascript" ev:event="xforms-value-changed">
  122. <![CDATA[
  123. makeReturnStr();
  124. ]]>
  125. </script>
  126. </select>
  127. <select id="checkbox4" ref="/root/init/chk4" overflow="visible" appearance="full" cols="8" rows="1" vcellspacing="10" style="left:160px; top:85px; width:95px; height:22px; border-style:none; ">
  128. <choices>
  129. <item>
  130. <label>BST: daily</label>
  131. <value>1</value>
  132. </item>
  133. </choices>
  134. <script type="javascript" ev:event="xforms-value-changed">
  135. <![CDATA[
  136. makeReturnStr();
  137. ]]>
  138. </script>
  139. </select>
  140. <caption id="caption83" style="left:107px; top:91px; width:43px; height:15px; vertical-align:middle; ">회/day</caption>
  141. <input id="input1" ref="/root/init/text1" class="input_default" style="left:60px; top:88px; width:45px; height:19px; ">
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. makeReturnStr();
  145. ]]>
  146. </script>
  147. </input>
  148. <select id="checkbox5" ref="/root/init/chk5" overflow="visible" appearance="full" cols="8" rows="1" vcellspacing="10" style="left:5px; top:110px; width:380px; height:22px; border-style:none; ">
  149. <choices>
  150. <item>
  151. <label>Ca,P,Mg,TP/Alb, TRF,RBP; 24hr UUN, TG/Chol, LFT; weekly</label>
  152. <value>1</value>
  153. </item>
  154. </choices>
  155. <script type="javascript" ev:event="xforms-value-changed">
  156. <![CDATA[
  157. makeReturnStr();
  158. ]]>
  159. </script>
  160. </select>
  161. <select id="checkbox6" ref="/root/init/chk6" overflow="visible" appearance="full" cols="8" rows="1" vcellspacing="10" style="left:5px; top:135px; width:470px; height:22px; border-style:none; ">
  162. <choices>
  163. <item>
  164. <label>GIT tolerance;N/V, asplration, abdominal distention, bloating, constipation 점검</label>
  165. <value>1</value>
  166. </item>
  167. </choices>
  168. <script type="javascript" ev:event="xforms-value-changed">
  169. <![CDATA[
  170. makeReturnStr();
  171. ]]>
  172. </script>
  173. </select>
  174. <select id="checkbox7" ref="/root/init/chk7" overflow="visible" appearance="full" cols="8" rows="1" vcellspacing="10" style="left:5px; top:160px; width:145px; height:22px; border-style:none; ">
  175. <choices>
  176. <item>
  177. <label>Gastric residual점검</label>
  178. <value>1</value>
  179. </item>
  180. </choices>
  181. <script type="javascript" ev:event="xforms-value-changed">
  182. <![CDATA[
  183. makeReturnStr();
  184. ]]>
  185. </script>
  186. </select>
  187. <select1 id="radio8" ref="/root/init/radio1" appearance="full" cols="3" rows="1" overflow="visible" style="left:155px; top:164px; width:195px; height:20px; border-style:none; ">
  188. <choices>
  189. <item>
  190. <label>급식전후</label>
  191. <value>급식전후</value>
  192. </item>
  193. <item>
  194. <label>4시간마다</label>
  195. <value>4시간마다</value>
  196. </item>
  197. <item>
  198. <label>기타</label>
  199. <value>기타</value>
  200. </item>
  201. </choices>
  202. <script type="javascript" ev:event="xforms-value-changed">
  203. <![CDATA[
  204. makeReturnStr();
  205. ]]>
  206. </script>
  207. </select1>
  208. <input id="input2" ref="/root/init/text2" class="input_default" style="left:350px; top:163px; width:125px; height:19px; "/>
  209. <textarea id="textarea4" ref="/root/init/returnstr" style="left:5px; top:190px; width:490px; height:105px; "/>
  210. </group>
  211. <group id="grp_btn" scroll="auto" style="left:0px; top:306px; width:501px; height:27px; ">
  212. <button id="btn_cls" class="btn4_letter2" style="left:444px; top:5px; width:56px; height:22px; ">
  213. <caption>닫기</caption>
  214. <close ev:event="DOMActivate"/>
  215. </button>
  216. <button id="btn_cfm" class="btn4_letter2" style="left:385px; top:5px; width:56px; height:22px; ">
  217. <caption>확인</caption>
  218. <script type="javascript" ev:event="DOMActivate">
  219. <![CDATA[
  220. //2010-04-20 EN / 추구관리 모두 사용 - 모니터링 데이타 연동 안됨
  221. //opener.model.setValue("/root/main/ennstinfo/nutreninfo/mntr", model.getValue("/root/init/returnstr"));
  222. opener.model.setValue("/root/init/opnermntrinfo/mntr", model.getValue("/root/init/returnstr"));
  223. opener.model.refresh();
  224. window.close();
  225. ]]>
  226. </script>
  227. </button>
  228. </group>
  229. </xhtml:body>
  230. </xhtml:html>