SPMQP00400_CPG속성관리모니터링.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <mntrinfo>
  11. <mntrlist/>
  12. </mntrinfo>
  13. <mntrdetlinfo>
  14. <monlist>
  15. <stepno/>
  16. <condgrde/>
  17. <guidedocucnts/>
  18. <alertcondflag/>
  19. <alertcondcnt/>
  20. <cpgmntrflag/>
  21. <slipnm/>
  22. <slipno/>
  23. <sliphistno/>
  24. </monlist>
  25. <mntrcondiflist>
  26. <alertcdflag/>
  27. <alertrem/>
  28. <refhval/>
  29. <reflval/>
  30. <itemcd/>
  31. <itemnm/>
  32. <grupcd/>
  33. </mntrcondiflist>
  34. <mntrcondthenlist>
  35. <alertcdflag/>
  36. <grupcd/>
  37. <itemcd/>
  38. <itemnm/>
  39. <refhval/>
  40. <reflval/>
  41. <refval/>
  42. <slipno/>
  43. <sliphistno/>
  44. <alertgrde/>
  45. <alertprecondyn/>
  46. </mntrcondthenlist>
  47. </mntrdetlinfo>
  48. <cond>
  49. <condbutton/>
  50. <mntrsex/>
  51. <mntrage/>
  52. <mntrnurtpr/>
  53. </cond>
  54. <monitoringinfo>
  55. <monitoringlist/>
  56. </monitoringinfo>
  57. <condtheninfo>
  58. <condthenlist/>
  59. </condtheninfo>
  60. </main>
  61. </root>
  62. </instance>
  63. <script type="javascript" ev:event="xforms-ready">
  64. <![CDATA[
  65. var alertcdflag = instance1.selectSingleNode("/root/main/mntrdetlinfo/mntrcondiflist/alertcdflag");
  66. model.setValue(alertcdflag , "01");
  67. ]]>
  68. </script>
  69. </model>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  77. </xhtml:head>
  78. <xhtml:body pagewidth="740" pageheight="473" guideline="1,724;2,458;">
  79. <caption id="caption24" style="left:240px; top:370px; width:118px; height:20px; ">( 개/전체)</caption>
  80. <datagrid id="grd_condthenlist" nodeset="/root/main/mntrdetlinfo/mntrcondthenlist" caption="구분^groupcd^itemcd^slipno^sliphistno^alertgrde^refseq^alertprecondyn^항목명^refhval^reflval^모니터링 기준^단위" colsep="^" colwidth="85, 9, 16, 16, 19, 14, 8, 8, 280, 13, 15, 142, 83" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:90px; top:252px; width:635px; height:112px; ">
  81. <col ref="alertcdflag" type="combo">
  82. <choices>
  83. <itemset nodeset="/root/init/M0505/M0505">
  84. <label ref="cdnm"/>
  85. <value ref="cdid"/>
  86. </itemset>
  87. </choices>
  88. </col>
  89. <col ref="grupcd" visibility="hidden"/>
  90. <col ref="itemcd" visibility="hidden"/>
  91. <col ref="slipno" visibility="hidden"/>
  92. <col ref="sliphistno" visibility="hidden"/>
  93. <col ref="alertgrde" visibility="hidden"/>
  94. <col ref="refseq" visibility="hidden"/>
  95. <col ref="alertprecondyn" visibility="hidden"/>
  96. <col ref="itemnm"/>
  97. <col ref="refhval" visibility="hidden"/>
  98. <col ref="reflval" visibility="hidden"/>
  99. <col ref="refval"/>
  100. <col/>
  101. <script type="javascript" ev:event="xforms-value-changed">
  102. <![CDATA[
  103. var sCol = grd_condthenlist.col;
  104. var sRow = grd_condthenlist.row;
  105. if (sCol == "1") {
  106. var noworw = grd_condthenlist.rows-1;
  107. var alertcdflag = model.getValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + noworw + "]/alertcdflag");
  108. model.setValue("/root/main/cond/alertcdflag", alertcdflag);
  109. if (alertcdflag == "01") { // 진단검사
  110. modal("SPMQP01000");
  111. } else if (alertcdflag == '02') {// 핵의학체외검사
  112. modal("SPMQP01000");
  113. } else if (alertcdflag == '03') {// 진단
  114. modal("SPMQP01600");
  115. } else if (alertcdflag == '04') {// 수술
  116. modal("SPMQP01700");
  117. } else if (alertcdflag == '05') {//주호소
  118. modal("SPMQP01800");
  119. } else if (alertcdflag == '06') {// 성별
  120. group1.visible = true;
  121. } else if (alertcdflag == '07') {// 연령
  122. group2.visible = true;
  123. } else if (alertcdflag == '08') {// 임상관찰기록
  124. modal("SPMQP00900");
  125. } else if (alertcdflag == '09') {// I/O
  126. modal("SPMQP00900");
  127. } else if (alertcdflag == '10') {// 혈당간호기록
  128. group3.visible = true;
  129. }
  130. var rtnparam = getParameter("SPMQPO00300_rtn");
  131. rtnparam = rtnparam.split("▩");
  132. for(i = 1; i< rtnparam.length-1; i++){
  133. var tmpstr = rtnparam[i];
  134. tmpstr = tmpstr.split("▦");
  135. var currow = grd_condthenlist.rows-1;
  136. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/slipno" , model.getValue("/root/main/mntrdetlinfo/monlist/slipno"));
  137. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/itemcd" , tmpstr[1]);
  138. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/itemnm" , tmpstr[2]);
  139. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/grupcd" , tmpstr[0]);
  140. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/sliphistno" , model.getValue("/root/main/mntrdetlinfo/monlist/sliphistno"));
  141. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/refval" , tmpstr[4] + "~" + tmpstr[3]);
  142. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/refhval" , tmpstr[3]);
  143. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/reflval" , tmpstr[4]);
  144. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/alertgrde" , model.getValue("/root/main/mntrdetlinfo/monlist/condgrde"));
  145. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/alertcdflag" , alertcdflag);
  146. model.makeValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + currow + "]/alertprecondyn" ,"N" );
  147. grd_condthenlist.addRow(false);
  148. }
  149. model.refresh();
  150. clearParameter("SPMQPO00300_rtn");
  151. }
  152. ]]>
  153. </script>
  154. </datagrid>
  155. <input id="ipt_slipnm" ref="/root/main/mntrdetlinfo/monlist/slipnm" class="input_essential" navindex="1" style="left:90px; top:156px; width:635px; height:19px; "/>
  156. <line id="line10" class="line_2" style="x1:3px; y1:391px; x2:725px; y2:391px; "/>
  157. <line id="line21" class="line_2" style="x1:3px; y1:365px; x2:725px; y2:365px; "/>
  158. <line id="line11" class="line_2" style="x1:3px; y1:416px; x2:725px; y2:416px; "/>
  159. <button id="button5" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:682px; top:231px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  160. <caption>삭제</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. var getRowno = deleteSelectedRows(grd_condthenlist, true);
  164. grd_condthenlist.addStatus(getRowno,"delete");
  165. ]]>
  166. </script>
  167. </button>
  168. <line id="line13" class="line_2" style="x1:3px; y1:178px; x2:725px; y2:178px; "/>
  169. <caption id="caption21" class="cell_1" style="left:3px; top:230px; width:85px; height:134px; ">조건[THEN]</caption>
  170. <caption id="caption22" class="cell_1" style="left:3px; top:367px; width:85px; height:23px; ">알람 조건</caption>
  171. <input id="ipt_alertcondcnt" ref="/root/main/mntrdetlinfo/monlist/alertcondcnt" style="left:251px; top:370px; width:55px; height:19px; "/>
  172. <caption id="caption23" class="cell_1" style="left:3px; top:179px; width:85px; height:23px; ">목적</caption>
  173. <select1 id="cmb_alertcdflag" ref="/root/main/mntrdetlinfo/mntrcondiflist/alertcdflag" appearance="minimal" style="left:157px; top:207px; width:128px; height:19px; ">
  174. <choices>
  175. <itemset nodeset="/root/init/M0505/M0505">
  176. <label ref="cdnm"/>
  177. <value ref="cdid"/>
  178. </itemset>
  179. </choices>
  180. </select1>
  181. <caption id="caption12" class="cell_1" style="left:3px; top:154px; width:85px; height:23px; ">제목</caption>
  182. <line id="line16" class="line_1" style="x1:0px; y1:16px; x2:725px; y2:16px; "/>
  183. <caption id="caption13" class="cell_1" style="left:3px; top:204px; width:85px; height:23px; ">조건[IF]</caption>
  184. <line id="line17" class="line_2" style="x1:3px; y1:203px; x2:725px; y2:203px; "/>
  185. <caption id="caption25" class="cell_1" style="left:3px; top:392px; width:85px; height:23px; ">알람 방법</caption>
  186. <caption id="caption14" class="tit_2" style="left:2px; top:2px; width:142px; height:14px; ">모니터링 리스트</caption>
  187. <line id="line18" class="line_2" style="x1:4px; y1:228px; x2:725px; y2:228px; "/>
  188. <caption id="caption15" class="cell_1" style="left:3px; top:418px; width:85px; height:42px; ">알람후 권고</caption>
  189. <line id="line19" class="line_2" style="x1:90px; y1:228px; x2:725px; y2:228px; "/>
  190. <button id="button10" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:638px; top:231px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  191. <caption>추가</caption>
  192. <script type="javascript" ev:event="DOMActivate">
  193. <![CDATA[
  194. model.setValue("/root/main/cond/condbutton", "THEN");
  195. grd_condthenlist.addRow();
  196. ]]>
  197. </script>
  198. </button>
  199. <caption id="caption16" class="cell_1" style="left:90px; top:204px; width:65px; height:23px; ">구분</caption>
  200. <select1 id="radio3" ref="/root/main/mntrdetlinfo/monlist/cpgmntrflag" navindex="2" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:90px; top:181px; width:310px; height:20px; border-style:none; ">
  201. <choices>
  202. <itemset nodeset="/root/init/M0514/M0514">
  203. <label ref="cdnm"/>
  204. <value ref="cdid"/>
  205. </itemset>
  206. </choices>
  207. </select1>
  208. <textarea id="textarea2" ref="/root/main/mntrdetlinfo/monlist/guidedocucnts" scroll="autovscroll" style="left:90px; top:418px; width:635px; height:42px; "/>
  209. <select1 id="radio4" ref="/root/main/mntrdetlinfo/monlist/alertcondflag" navindex="2" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:90px; top:370px; width:150px; height:20px; border-style:none; ">
  210. <choices>
  211. <item>
  212. <label>전체충족</label>
  213. <value>A</value>
  214. </item>
  215. <item>
  216. <label>일부충족</label>
  217. <value>P</value>
  218. </item>
  219. </choices>
  220. <script type="javascript" ev:event="xforms-value-changed">
  221. <![CDATA[
  222. var alertcondflag = model.getValue("/root/main/mntrdetlinfo/monlist/alertcondflag");
  223. if (alertcondflag == "P") {
  224. ipt_alertcondcnt.disabled = false;
  225. model.setValue("/root/main/mntrdetlinfo/monlist/alertcondcnt", "");
  226. } else {
  227. var rows = grd_condthenlist.rows - 1
  228. model.setValue("/root/main/mntrdetlinfo/monlist/alertcondcnt", rows);
  229. ipt_alertcondcnt.disabled = true;
  230. }
  231. model.refresh();
  232. ]]>
  233. </script>
  234. </select1>
  235. <select1 id="radio5" ref="/root/main/mntrdetlinfo/monlist/condgrde" navindex="2" appearance="full" cellspacing="3" cols="6" overflow="visible" style="left:90px; top:394px; width:450px; height:20px; border-style:none; ">
  236. <choices>
  237. <itemset nodeset="/root/init/M0507/M0507">
  238. <label ref="cdnm"/>
  239. <value ref="cdid"/>
  240. </itemset>
  241. </choices>
  242. </select1>
  243. <input id="input5" ref="/root/main/mntrdetlinfo/mntrcondiflist/alertrem" style="left:310px; top:207px; width:415px; height:19px; "/>
  244. <button id="button12" class="icon_search" navindex="4" style="left:289px; top:207px; width:16px; height:16px; ">
  245. <caption/>
  246. <script type="javascript" ev:event="DOMActivate">
  247. <![CDATA[
  248. model.setValue("/root/main/cond/condbutton", "IF");
  249. var alertcdflag = model.getValue("/root/main/mntrdetlinfo/mntrcondiflist/alertcdflag");
  250. model.setValue("/root/main/cond/alertcdflag", alertcdflag);
  251. if (alertcdflag == "01") { // 진단검사
  252. modal("SPMQP01000");
  253. } else if (alertcdflag == '02') {// 핵의학체외검사
  254. modal("SPMQP01000");
  255. } else if (alertcdflag == '03') {// 진단
  256. modal("SPMQP01600");
  257. } else if (alertcdflag == '04') {// 수술
  258. modal("SPMQP01700");
  259. } else if (alertcdflag == '05') {//주호소
  260. modal("SPMQP01800");
  261. } else if (alertcdflag == '06') {// 성별
  262. modal("SPMQP01000");
  263. } else if (alertcdflag == '07') {// 연령
  264. modal("SPMQP01000");
  265. } else if (alertcdflag == '08') {// 임상관찰기록
  266. modal("SPMQP00900");
  267. } else if (alertcdflag == '09') {// I/O
  268. modal("SPMQP00900");
  269. } else if (alertcdflag == '10') {// 혈당간호기록
  270. modal("SPMQP01000");
  271. }
  272. model.refresh();
  273. ]]>
  274. </script>
  275. </button>
  276. <datagrid id="grd_mntrlist" nodeset="/root/main/mntrinfo/mntrlist" caption="제목^목적^코드명" colsep="^" colwidth="296, 307, 117" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:21px; width:725px; height:109px; ">
  277. <col ref="slipnm"/>
  278. <col ref="cpgmntrnm"/>
  279. <col/>
  280. <script type="javascript" ev:event="onclick">
  281. <![CDATA[
  282. if (isDataCell() == true) {
  283. var row = grd_mntrlist.row;
  284. }
  285. ]]>
  286. </script>
  287. <script type="javascript" ev:event="ondblclick">
  288. <![CDATA[
  289. if (isDataCell() == true) {
  290. model.makeNode("/root/main/mntrdetlinfo/mntrcondiflist")
  291. model.makeNode("/root/main/mntrdetlinfo/mntrcondthenlist")
  292. var row = grd_mntrlist.row;
  293. var slipno = model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/slipno");
  294. var sliphistno = model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/sliphistno");
  295. model.makeValue("/root/send/reqdata/slipno" , slipno);
  296. model.makeValue("/root/send/reqdata/sliphistno" , sliphistno);
  297. submit("TRMQP00402");
  298. model.copyNode("/root/main/mntrdetlinfo" ,"/root/hidden");
  299. model.makeValue("/root/main/mntrdetlinfo/monlist/stepno" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/stepno"));
  300. model.makeValue("/root/main/mntrdetlinfo/monlist/condgrde" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/alertgrde"));
  301. model.makeValue("/root/main/mntrdetlinfo/monlist/guidedocucnts" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/guidedocucnts"));
  302. model.makeValue("/root/main/mntrdetlinfo/monlist/alertcondflag" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/alertcondflag"));
  303. model.makeValue("/root/main/mntrdetlinfo/monlist/alertcondcnt" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/alertcondcnt"));
  304. model.makeValue("/root/main/mntrdetlinfo/monlist/cpgmntrflag" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/cpgmntrflag"));
  305. model.makeValue("/root/main/mntrdetlinfo/monlist/slipnm" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/slipnm"));
  306. model.makeValue("/root/main/mntrdetlinfo/monlist/slipno" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/slipno"));
  307. model.makeValue("/root/main/mntrdetlinfo/monlist/sliphistno" , model.getValue("/root/main/mntrinfo/mntrlist[" + row + "]/sliphistno"));
  308. var itemnm = model.getValue("/root/main/mntrdetlinfo/mntrcondiflist/itemnm");
  309. var refhval = model.getValue("/root/main/mntrdetlinfo/mntrcondiflist/refhval");
  310. var reflval = model.getValue("/root/main/mntrdetlinfo/mntrcondiflist/reflval");
  311. model.makeValue("/root/main/mntrdetlinfo/mntrcondiflist/alertrem" , itemnm + ":" + reflval + "~" + refhval );
  312. model.refresh();
  313. // 진단검사, 핵의학체외검사, I/O, 임상관찰기록일 경우 상한치 하한치값을 항목에 넣어줌
  314. for ( i = 1 ; i < grd_condthenlist.rows; i ++ ) {
  315. var alertcdflag = model.getValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + i + "]/alertcdflag");
  316. if (alertcdflag == "01" || alertcdflag == "02" || alertcdflag == "08" || alertcdflag == "09" ) {
  317. var itemnm = model.getValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + i + "]/itemnm");
  318. var refhval = model.getValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + i + "]/refhval");
  319. var reflval = model.getValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + i + "]/reflval");
  320. var refval = itemnm + " :" + reflval +"~" + refhval;
  321. model.setValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + i + "]/refval", refval);
  322. }
  323. }
  324. // 알람조건을 개인을 클릭할 경우 충족조건을 입력할 수 있도록 전체일 경우는 Row수를 넣어줌
  325. var alertcondflag = model.getValue("/root/main/mntrdetlinfo/monlist/alertcondflag");
  326. if (alertcondflag == "P") {
  327. ipt_alertcondcnt.disabled = false;
  328. model.setValue("/root/main/mntrdetlinfo/monlist/alertcondcnt", "");
  329. } else {
  330. var rows = grd_condthenlist.rows - 1
  331. model.setValue("/root/main/mntrdetlinfo/monlist/alertcondcnt", rows);
  332. ipt_alertcondcnt.disabled = true;
  333. }
  334. model.refresh();
  335. }
  336. ]]>
  337. </script>
  338. </datagrid>
  339. <line id="line1" class="line_1" style="x1:0px; y1:149px; x2:725px; y2:149px; "/>
  340. <caption id="caption1" class="tit_2" style="left:0px; top:135px; width:142px; height:13px; ">모니터링 상세내역</caption>
  341. <caption id="caption11" class="cell_1" style="left:402px; top:179px; width:80px; height:23px; ">선택 STEP</caption>
  342. <select1 id="cmb_selectstep" ref="/root/main/mntrdetlinfo/monlist/stepno" navindex="1" appearance="minimal" style="left:485px; top:181px; width:239px; height:19px; ">
  343. <choices>
  344. <itemset nodeset="/root/init/stepinfo/info">
  345. <label ref="stepnm"/>
  346. <value ref="stepno"/>
  347. </itemset>
  348. </choices>
  349. </select1>
  350. <group id="group1" disabled="false" visibility="hidden" style="left:300px; top:290px; width:220px; height:30px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  351. <caption id="caption5" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">성별</caption>
  352. <button id="btn_cnfm" class="btn2_letter2" style="left:128px; top:4px; width:42px; height:19px; ">
  353. <caption>확인</caption>
  354. <script type="javascript" ev:event="DOMActivate">
  355. <![CDATA[
  356. var sRow = grd_condthenlist.row;
  357. var sSex = model.getValue("/root/main/cond/mntrsex");
  358. var sSexnm = ""
  359. model.setValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + sRow + "]/itemcd", sSex);
  360. if (sSex =="M" ) {
  361. sSexnm = "남자";
  362. } else if (sSex == "F") {
  363. sSexnm = "여자";
  364. }
  365. model.setValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + sRow + "]/itemnm", sSexnm);
  366. grd_condthenlist.rebuild();
  367. group1.visible = false;
  368. ]]>
  369. </script>
  370. </button>
  371. <select1 id="cmb_sex" ref="/root/main/cond/mntrsex" class="combo_search" appearance="minimal" style="left:41px; top:4px; width:83px; height:19px; ">
  372. <choices>
  373. <itemset nodeset="/root/init/P0313/P0313">
  374. <label ref="cdnm"/>
  375. <value ref="cdid"/>
  376. </itemset>
  377. </choices>
  378. </select1>
  379. <button id="btn_cncl" class="btn2_letter2" style="left:172px; top:4px; width:42px; height:19px; ">
  380. <caption>취소</caption>
  381. <script type="javascript" ev:event="DOMActivate">
  382. <![CDATA[
  383. model.setValue("/root/main/cond/mntrsex", "");
  384. group1.visible = false;
  385. ]]>
  386. </script>
  387. </button>
  388. </group>
  389. <group id="group2" disabled="false" visibility="hidden" style="left:300px; top:290px; width:220px; height:30px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  390. <caption id="caption2" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">연령</caption>
  391. <button id="button1" class="btn2_letter2" style="left:128px; top:4px; width:42px; height:19px; ">
  392. <caption>확인</caption>
  393. <script type="javascript" ev:event="DOMActivate">
  394. <![CDATA[
  395. var sRow = grd_condthenlist.row;
  396. var sAge = model.getValue("/root/main/cond/mntrage");
  397. model.setValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + sRow + "]/itemcd", sAge);
  398. model.setValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + sRow + "]/itemnm", sAge);
  399. grd_condthenlist.rebuild();
  400. group2.visible = false;
  401. ]]>
  402. </script>
  403. </button>
  404. <button id="button2" class="btn2_letter2" style="left:172px; top:4px; width:42px; height:19px; ">
  405. <caption>취소</caption>
  406. <script type="javascript" ev:event="DOMActivate">
  407. <![CDATA[
  408. model.setValue("/root/main/cond/mntrage", "");
  409. group2.visible = false;
  410. ]]>
  411. </script>
  412. </button>
  413. <input id="input1" ref="/root/main/cond/mntrage" style="left:39px; top:4px; width:70px; height:19px; "/>
  414. <caption id="caption3" style="left:109px; top:6px; width:15px; height:20px; ">세</caption>
  415. </group>
  416. <group id="group3" disabled="false" visibility="hidden" style="left:300px; top:290px; width:220px; height:50px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  417. <caption id="caption4" style="left:5px; top:5px; width:80px; height:20px; font-weight:bold; vertical-align:middle; ">혈당간호기록</caption>
  418. <button id="button3" class="btn2_letter2" style="left:119px; top:24px; width:42px; height:19px; ">
  419. <caption>확인</caption>
  420. <script type="javascript" ev:event="DOMActivate">
  421. <![CDATA[
  422. var sRow = grd_condthenlist.row;
  423. var sNurtpr = model.getValue("/root/main/cond/mntrnurtpr");
  424. model.setValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + sRow + "]/itemcd", sNurtpr);
  425. model.setValue("/root/main/mntrdetlinfo/mntrcondthenlist[" + sRow + "]/itemnm", sNurtpr);
  426. grd_condthenlist.rebuild();
  427. group3.visible = false;
  428. ]]>
  429. </script>
  430. </button>
  431. <button id="button4" class="btn2_letter2" style="left:162px; top:24px; width:42px; height:19px; ">
  432. <caption>취소</caption>
  433. <script type="javascript" ev:event="DOMActivate">
  434. <![CDATA[
  435. model.setValue("/root/main/cond/mntrnurtpr", "");
  436. group3.visible = false;
  437. ]]>
  438. </script>
  439. </button>
  440. <input id="input2" ref="/root/main/cond/mntrnurtpr" style="left:94px; top:4px; width:110px; height:19px; "/>
  441. </group>
  442. <button id="button6" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:682px; top:130px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  443. <caption>신규</caption>
  444. <script type="javascript" ev:event="DOMActivate">
  445. <![CDATA[
  446. model.removenode("/root/main/mntrdetlinfo");
  447. model.makeNode("/root/mntrdetlinfo");
  448. model.copyNode("/root/main/mntrdetlinfo", "/root/init/mntrdetlinfo");
  449. model.refresh();
  450. ]]>
  451. </script>
  452. </button>
  453. </xhtml:body>
  454. </xhtml:html>