SMLRR02100_Osmotic Fragility결과관리.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" ztype="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. </root>
  10. </instance>
  11. </model>
  12. <script type="javascript">
  13. <![CDATA[
  14. //이미지 콤보 박스 조회
  15. function fImgRslt(cmb, cpt, img){
  16. cmb = document.controls.item(cmb);
  17. cpt = document.controls.item(cpt);
  18. fimg = document.controls.item(img);
  19. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  20. if(model.getValue("/root/main/testinfo/spcltestinfo/testcd") == "LSI113") { //ld 이미지
  21. submit("TRLRR01501");
  22. model.makeNode("/root/main/imglistld"); //ld history 노드 생성
  23. copyNodeType("/root/main/imglistld", "/root/main/imglist"); //history 이동
  24. model.removenode("/root/main/imglist"); //이전 history 노드 삭제
  25. if(getNodesetCount("/root/main/imglistld/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  26. cmb.value = model.getvalue("/root/main/imglistld/rsltseqno");
  27. fImgRef(img);
  28. fimg.attribute("visibility") = "visible";
  29. cpt.attribute("visibility") = "hidden";
  30. }else { //history가 없으면 no_img 띄움.
  31. fimg.attribute("visibility") = "hidden";
  32. cpt.attribute("visibility") = "visible";
  33. }
  34. } else {
  35. submit("TRLRR01501");
  36. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  37. cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  38. fImgRef(img);
  39. fimg.attribute("visibility") = "visible";
  40. cpt.attribute("visibility") = "hidden";
  41. }else { //history가 없으면 no_img 띄움.
  42. fimg.attribute("visibility") = "hidden";
  43. cpt.attribute("visibility") = "visible";
  44. }
  45. }
  46. model.removeNodeset("/root/send/data1");
  47. model.makeNode("/root/send/data1");
  48. model.refresh();
  49. }
  50. //판독예문 조회
  51. function fRsltCode(gridID){
  52. gridObj = document.all(gridID);
  53. model.removeNodeset("/root/main/rsltcode");
  54. model.refresh();
  55. var vTestcd = model.getvalue("/root/main/testinfo/spcltestinfo/testcd");
  56. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow는 콤보
  57. cmb_exmp.choices.itemset.attribute("nodeset") = "/root/init/readrslt[etc03='" + vTestcd + "']";
  58. } else { //나머지는 그리드이므로.
  59. if(gridID != "") { //판독예문 창을 띄어 수정한 후
  60. var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
  61. var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
  62. var vRstcontLower ="";
  63. var vRstcontUpper = "";
  64. for (i = 1; i <= cdNodes.length; i++) {
  65. var cd = cdNodes.item(i - 1).text;
  66. var nm = cdNodes2.item(i - 1).text;
  67. gridObj.addRow(false);
  68. model.setvalue("/root/main/rsltcode["+i+"]/cd" , cd);
  69. model.setvalue("/root/main/rsltcode["+i+"]/nm" , nm);
  70. }
  71. if(cdNodes.length > 0)
  72. model.refresh();
  73. } else { //특수검사 조회시에는 그리드아이디를 보내지 않는다. 어느 검사인지 알수 없기에..
  74. var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
  75. var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
  76. var vRstcontLower ="";
  77. var vRstcontUpper = "";
  78. for (i = 1; i <= cdNodes.length; i++) {
  79. var cd = cdNodes.item(i - 1).text;
  80. var nm = cdNodes2.item(i - 1).text;
  81. model.makeValue("/root/main/rsltcode["+ i +"]/cd" , cd);
  82. model.makeValue("/root/main/rsltcode["+ i +"]/nm" , nm);
  83. }
  84. if(cdNodes.length > 0)
  85. model.refresh();
  86. }
  87. }
  88. }
  89. ]]>
  90. </script>
  91. </xhtml:head>
  92. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  93. <datagrid id="grd_1con" nodeset="/root/main/rslt/desc/rslt/osmotic/incu1con" caption="NaCl(%)^OD^Hemolysis(%)" colsep="^" colwidth="70, 40, 90" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:5px; top:31px; width:210px; height:347px; text-align:center; ">
  94. <col ref="nacl"/>
  95. <col ref="od" type="input"/>
  96. <col ref="hm"/>
  97. <script type="javascript" ev:event="onendedit">
  98. <![CDATA[
  99. if(event.keyCode == "13") {
  100. var row = grd_1con.row;
  101. if(row == (grd_1con.rows - 1)) {
  102. grd_1con.row = 1;
  103. }else {
  104. grd_1con.row = parseInt(row) + 1;
  105. }
  106. }
  107. ]]>
  108. </script>
  109. </datagrid>
  110. <line id="line33" class="line_1" style="x1:5px; y1:26px; x2:215px; y2:26px; "/>
  111. <caption id="caption52" class="tit_2" style="left:10px; top:10px; width:192px; height:13px; ">1시간 incubation (Control)</caption>
  112. <caption id="caption53" class="tit_2" style="left:225px; top:10px; width:192px; height:14px; ">1시간 incubation (Patient)</caption>
  113. <line id="line34" class="line_1" style="x1:220px; y1:26px; x2:430px; y2:26px; "/>
  114. <line id="line35" class="line_1" style="x1:435px; y1:26px; x2:645px; y2:26px; "/>
  115. <caption id="caption54" class="tit_2" style="left:440px; top:10px; width:194px; height:14px; ">24시간 incubation (Control)</caption>
  116. <caption id="caption55" class="tit_2" style="left:655px; top:10px; width:192px; height:14px; ">24시간 incubation (Patient)</caption>
  117. <line id="line36" class="line_1" style="x1:650px; y1:26px; x2:860px; y2:26px; "/>
  118. <caption id="caption71" style="left:848px; top:364px; width:15px; height:20px; ">%</caption>
  119. <datagrid id="grd_1pat" nodeset="/root/main/rslt/desc/rslt/osmotic/incu1pat" caption="NaCl(%)^OD^Hemolysis(%)" colsep="^" colwidth="70, 40, 90" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:220px; top:31px; width:210px; height:347px; text-align:center; ">
  120. <col ref="nacl"/>
  121. <col ref="od" type="input"/>
  122. <col ref="hm"/>
  123. <script type="javascript" ev:event="onendedit">
  124. <![CDATA[
  125. if(event.keyCode == "13") {
  126. var row = grd_1pat.row;
  127. if(row == (grd_1pat.rows - 1)) {
  128. grd_1pat.row = 1;
  129. }else {
  130. grd_1pat.row = parseInt(row) + 1;
  131. }
  132. }
  133. ]]>
  134. </script>
  135. </datagrid>
  136. <datagrid id="grd_24con" nodeset="/root/main/rslt/desc/rslt/osmotic/incu24con" caption="NaCl(%)^OD^Hemolysis(%)" colsep="^" colwidth="70, 40, 90" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:435px; top:31px; width:210px; height:347px; text-align:center; ">
  137. <col ref="nacl"/>
  138. <col ref="od" type="input"/>
  139. <col ref="hm"/>
  140. <script type="javascript" ev:event="onendedit">
  141. <![CDATA[
  142. if(event.keyCode == "13") {
  143. var row = grd_24con.row;
  144. if(row == (grd_24con.rows - 1)) {
  145. grd_24con.row = 1;
  146. }else {
  147. grd_24con.row = parseInt(row) + 1;
  148. }
  149. }
  150. ]]>
  151. </script>
  152. </datagrid>
  153. <datagrid id="grd_24pat" nodeset="/root/main/rslt/desc/rslt/osmotic/incu24pat" caption="NaCl(%)^OD^Hemolysis(%)" colsep="^" colwidth="70, 40, 90" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:650px; top:31px; width:210px; height:347px; text-align:center; ">
  154. <col ref="nacl"/>
  155. <col ref="od" type="input"/>
  156. <col ref="hm"/>
  157. <script type="javascript" ev:event="onendedit">
  158. <![CDATA[
  159. if(event.keyCode == "13") {
  160. var row = grd_24pat.row;
  161. if(row == (grd_24pat.rows - 1)) {
  162. grd_24pat.row = 1;
  163. }else {
  164. grd_24pat.row = parseInt(row) + 1;
  165. }
  166. }
  167. ]]>
  168. </script>
  169. </datagrid>
  170. <button id="button31" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:94px; top:382px; width:90px; height:22px; ">
  171. <caption>이미지결과</caption>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. model.toggle("of_img");
  175. ]]>
  176. </script>
  177. </button>
  178. <switch id="switch2" class="sw_box" style="left:5px; top:404px; width:1185px; height:245px; ">
  179. <case id="of_desc" selected="true">
  180. <caption id="caption70" class="cell_1" style="left:683px; top:25px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
  181. <line id="line40" class="line_3" style="x1:5px; y1:71px; x2:430px; y2:71px; "/>
  182. <input id="ipt_f24con" ref="/root/main/rslt/desc/rslt/osmotic/f24con" class="input_default" style="left:151px; top:50px; width:80px; height:19px; text-align:right; ">
  183. <script type="javascript" ev:event="DOMFocusOut">
  184. <![CDATA[
  185. model.setValue("/root/main/rslt/desc/rslt/osmotic/f24con", ipt_f24con.currentText);
  186. model.setValue("/root/main/rslt/desc/rslt/osmotic/f1con", ipt_f1con.currentText);
  187. var begin1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1con");
  188. var begin24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24con");
  189. var rslt = begin24;
  190. /* if(begin1 != "" && begin24 != "") {
  191. rslt = begin1 + "(1hr)/" + begin24 + "(24hr)";
  192. } else if(begin1 != "" && begin24 == "") {
  193. rslt = begin1 + "(1hr)";
  194. } else if(begin1 == "" && begin24 != "") {
  195. rslt = begin24 + "(24hr)";
  196. } else {
  197. rslt = "";
  198. }*/
  199. var find = grd_rslt.findRow("LHS10105", 1, 1, true, true);
  200. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  201. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  202. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  203. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  204. }
  205. model.refresh();
  206. ]]>
  207. </script>
  208. </input>
  209. <line id="line41" class="line_3" style="x1:435px; y1:71px; x2:860px; y2:71px; "/>
  210. <input id="ipt_e24con" ref="/root/main/rslt/desc/rslt/osmotic/e24con" style="left:581px; top:50px; width:80px; height:19px; text-align:right; ">
  211. <script type="javascript" ev:event="DOMFocusOut">
  212. <![CDATA[
  213. model.setValue("/root/main/rslt/desc/rslt/osmotic/e24con", ipt_e24con.currentText);
  214. model.setValue("/root/main/rslt/desc/rslt/osmotic/e1con", ipt_e1con.currentText);
  215. var end1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1con");
  216. var end24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24con");
  217. var rslt = end24;
  218. /* if(end1 != "" && end24 != "") {
  219. rslt = end1 + "(1hr)/" + end24 + "(24hr)";
  220. } else if(end1 != "" && end24 == "") {
  221. rslt = end1 + "(1hr)";
  222. } else if(end1 == "" && end24 != "") {
  223. rslt = end24 + "(24hr)";
  224. } else {
  225. rslt = "";
  226. }*/
  227. var find = grd_rslt.findRow("LHS10106", 1, 1, true, true);
  228. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  229. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  230. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  231. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  232. }
  233. model.refresh();
  234. ]]>
  235. </script>
  236. </input>
  237. <caption id="caption60" class="cell_1" style="left:68px; top:25px; width:80px; height:23px; vertical-align:middle; ">control</caption>
  238. <caption id="caption126" class="tit_2" style="left:440px; top:83px; width:115px; height:13px; ">판독결과</caption>
  239. <caption id="caption72" class="cell_1" style="left:498px; top:49px; width:80px; height:23px; vertical-align:middle; ">control</caption>
  240. <caption id="caption61" style="left:231px; top:26px; width:15px; height:20px; ">%</caption>
  241. <line id="line42" class="line_2" style="x1:435px; y1:47px; x2:860px; y2:47px; "/>
  242. <line id="line43" class="line_1" style="x1:5px; y1:98px; x2:430px; y2:98px; "/>
  243. <caption id="caption73" style="left:661px; top:50px; width:15px; height:20px; ">%</caption>
  244. <caption id="caption62" class="cell_1" style="left:253px; top:25px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
  245. <line id="line44" class="line_1" style="x1:435px; y1:98px; x2:860px; y2:98px; "/>
  246. <caption id="caption74" class="cell_1" style="left:683px; top:49px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
  247. <caption id="caption63" style="left:418px; top:26px; width:15px; height:20px; ">%</caption>
  248. <caption id="caption75" style="left:847px; top:26px; width:15px; height:20px; ">%</caption>
  249. <caption id="caption64" class="cell_1" style="left:68px; top:49px; width:80px; height:23px; vertical-align:middle; ">control</caption>
  250. <caption id="caption76" class="cell_1" style="left:435px; top:25px; width:60px; height:23px; vertical-align:middle; ">1 시간</caption>
  251. <caption id="caption65" style="left:231px; top:50px; width:15px; height:20px; ">%</caption>
  252. <datagrid id="grd_of_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="100, 275" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:103px; width:425px; height:136px; ">
  253. <col ref="cd"/>
  254. <col ref="nm"/>
  255. <script type="javascript" ev:event="ondblclick">
  256. <![CDATA[
  257. fRsltCodeDBClick("grd_of_rsltcode");
  258. ]]>
  259. </script>
  260. </datagrid>
  261. <caption id="caption77" class="cell_1" style="left:435px; top:49px; width:60px; height:23px; vertical-align:middle; ">24시간</caption>
  262. <caption id="caption66" class="cell_1" style="left:253px; top:49px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
  263. <caption id="caption78" style="left:847px; top:50px; width:15px; height:20px; ">%</caption>
  264. <caption id="caption67" style="left:418px; top:50px; width:15px; height:20px; ">%</caption>
  265. <input id="ipt_f1pat" ref="/root/main/rslt/desc/rslt/osmotic/f1pat" class="input_default" style="left:336px; top:26px; width:80px; height:19px; text-align:right; ">
  266. <script type="javascript" ev:event="DOMFocusOut">
  267. <![CDATA[
  268. model.setValue("/root/main/rslt/desc/rslt/osmotic/f24pat", ipt_f24pat.currentText);
  269. model.setValue("/root/main/rslt/desc/rslt/osmotic/f1pat", ipt_f1pat.currentText);
  270. var bepat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1pat");
  271. var bepat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24pat");
  272. var rslt = bepat1;
  273. /* if(bepat1 != "" && bepat24 != "") {
  274. rslt = bepat1 + "(1hr)/" + bepat24 + "(24hr)";
  275. } else if(bepat1 != "" && bepat24 == "") {
  276. rslt = bepat1 + "(1hr)";
  277. } else if(bepat1 == "" && bepat24 != "") {
  278. rslt = bepat24 + "(24hr)";
  279. } else {
  280. rslt = "";
  281. }*/
  282. var find = grd_rslt.findRow("LHS10103", 1, 1, true, true);
  283. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  284. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  285. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  286. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  287. }
  288. model.refresh();
  289. ]]>
  290. </script>
  291. </input>
  292. <caption id="caption56" class="tit_2" style="left:10px; top:4px; width:192px; height:13px; ">용혈시작농도</caption>
  293. <line id="line37" class="line_1" style="x1:5px; y1:20px; x2:430px; y2:20px; "/>
  294. <caption id="caption79" class="tit_2" style="left:10px; top:82px; width:192px; height:13px; ">판독예문</caption>
  295. <caption id="caption68" class="cell_1" style="left:498px; top:25px; width:80px; height:23px; vertical-align:middle; ">control</caption>
  296. <caption id="caption57" class="tit_2" style="left:440px; top:4px; width:192px; height:13px; ">완전용혈농도</caption>
  297. <line id="line38" class="line_1" style="x1:435px; y1:20px; x2:860px; y2:20px; "/>
  298. <textarea id="tar_of_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:435px; top:103px; width:425px; height:136px; "/>
  299. <caption id="caption69" style="left:661px; top:26px; width:15px; height:20px; ">%</caption>
  300. <input id="ipt_f24pat" ref="/root/main/rslt/desc/rslt/osmotic/f24pat" class="input_default" style="left:336px; top:50px; width:80px; height:19px; text-align:right; ">
  301. <script type="javascript" ev:event="DOMFocusOut">
  302. <![CDATA[
  303. model.setValue("/root/main/rslt/desc/rslt/osmotic/f24pat", ipt_f24pat.currentText);
  304. model.setValue("/root/main/rslt/desc/rslt/osmotic/f1pat", ipt_f1pat.currentText);
  305. var bepat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1pat");
  306. var bepat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24pat");
  307. var rslt = bepat24;
  308. /* if(bepat1 != "" && bepat24 != "") {
  309. rslt = bepat1 + "(1hr)/" + bepat24 + "(24hr)";
  310. } else if(bepat1 != "" && bepat24 == "") {
  311. rslt = bepat1 + "(1hr)";
  312. } else if(bepat1 == "" && bepat24 != "") {
  313. rslt = bepat24 + "(24hr)";
  314. } else {
  315. rslt = "";
  316. }*/
  317. var find = grd_rslt.findRow("LHS10107", 1, 1, true, true);
  318. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  319. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  320. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  321. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  322. }
  323. model.refresh();
  324. ]]>
  325. </script>
  326. </input>
  327. <caption id="caption58" class="cell_1" style="left:5px; top:25px; width:60px; height:23px; vertical-align:middle; ">1 시간</caption>
  328. <line id="line39" class="line_2" style="x1:5px; y1:47px; x2:430px; y2:47px; "/>
  329. <button id="button42" class="btn2_letter11" style="left:720px; top:-1px; width:141px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  330. <caption>Hemolysis 계산 확인</caption>
  331. <script type="javascript" ev:event="DOMActivate">
  332. <![CDATA[
  333. fCalc();
  334. ]]>
  335. </script>
  336. </button>
  337. <caption id="caption59" class="cell_1" style="left:5px; top:49px; width:60px; height:23px; vertical-align:middle; ">24시간</caption>
  338. <select id="checkbox9" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:311px; top:80px; width:50px; height:20px; border-style:none; ">
  339. <choices>
  340. <item>
  341. <label>추가</label>
  342. <value>Y</value>
  343. </item>
  344. </choices>
  345. </select>
  346. <input id="ipt_e1pat" ref="/root/main/rslt/desc/rslt/osmotic/e1pat" class="input_default" style="left:766px; top:26px; width:80px; height:19px; text-align:right; ">
  347. <script type="javascript" ev:event="DOMFocusOut">
  348. <![CDATA[
  349. model.setValue("/root/main/rslt/desc/rslt/osmotic/e24pat", ipt_e24pat.currentText);
  350. model.setValue("/root/main/rslt/desc/rslt/osmotic/e1pat", ipt_e1pat.currentText);
  351. var endpat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1pat");
  352. var endpat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24pat");
  353. var rslt = endpat1
  354. /* if(endpat1 != "" && endpat24 != "") {
  355. rslt = endpat1 + "(1hr)/" + endpat24 + "(24hr)";
  356. } else if(endpat1 != "" && endpat24 == "") {
  357. rslt = endpat1 + "(1hr)";
  358. } else if(endpat1 == "" && endpat24 != "") {
  359. rslt = endpat24 + "(24hr)";
  360. } else {
  361. rslt = "";
  362. }*/
  363. var find = grd_rslt.findRow("LHS10104", 1, 1, true, true);
  364. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  365. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  366. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  367. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  368. }
  369. model.refresh();
  370. ]]>
  371. </script>
  372. </input>
  373. <input id="ipt_e1con" ref="/root/main/rslt/desc/rslt/osmotic/e1con" class="input_default" style="left:581px; top:26px; width:80px; height:19px; text-align:right; ">
  374. <script type="javascript" ev:event="DOMFocusOut">
  375. <![CDATA[
  376. model.setValue("/root/main/rslt/desc/rslt/osmotic/e24con", ipt_e24con.currentText);
  377. model.setValue("/root/main/rslt/desc/rslt/osmotic/e1con", ipt_e1con.currentText);
  378. var end1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1con");
  379. var end24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24con");
  380. var rslt = end1;
  381. /* if(end1 != "" && end24 != "") {
  382. rslt = end1 + "(1hr)/" + end24 + "(24hr)";
  383. } else if(end1 != "" && end24 == "") {
  384. rslt = end1 + "(1hr)";
  385. } else if(end1 == "" && end24 != "") {
  386. rslt = end24 + "(24hr)";
  387. } else {
  388. rslt = "";
  389. }*/
  390. var find = grd_rslt.findRow("LHS10102", 1, 1, true, true);
  391. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  392. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  393. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  394. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  395. }
  396. model.refresh();
  397. ]]>
  398. </script>
  399. </input>
  400. <button id="button11" class="btn2_letter4" style="left:366px; top:78px; width:64px; height:19px; ">
  401. <caption>판독예문</caption>
  402. <script type="javascript" ev:event="DOMActivate">
  403. <![CDATA[
  404. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  405. submit("TRLRR00402");
  406. fRsltCode("grd_of_rsltcode");
  407. model.refresh();
  408. ]]>
  409. </script>
  410. </button>
  411. <input id="ipt_f1con" ref="/root/main/rslt/desc/rslt/osmotic/f1con" class="input_default" style="left:151px; top:26px; width:80px; height:19px; text-align:right; ">
  412. <script type="javascript" ev:event="DOMFocusOut">
  413. <![CDATA[
  414. model.setValue("/root/main/rslt/desc/rslt/osmotic/f24con", ipt_f24con.currentText);
  415. model.setValue("/root/main/rslt/desc/rslt/osmotic/f1con", ipt_f1con.currentText);
  416. var begin1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1con");
  417. var begin24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24con");
  418. // var rslt = ""
  419. var rslt = begin1;
  420. /* if(begin1 != "" && begin24 != "") {
  421. rslt = begin1 + "(1hr)/" + begin24 + "(24hr)";
  422. } else if(begin1 != "" && begin24 == "") {
  423. rslt = begin1 + "(1hr)";
  424. } else if(begin1 == "" && begin24 != "") {
  425. rslt = begin24 + "(24hr)";
  426. } else {
  427. rslt = "";
  428. }*/
  429. var find = grd_rslt.findRow("LHS10101", 1, 1, true, true);
  430. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  431. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  432. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  433. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  434. }
  435. model.refresh();
  436. ]]>
  437. </script>
  438. </input>
  439. <input id="ipt_e24pat" ref="/root/main/rslt/desc/rslt/osmotic/e24pat" class="input_default" style="left:766px; top:50px; width:80px; height:19px; text-align:right; ">
  440. <script type="javascript" ev:event="DOMFocusOut">
  441. <![CDATA[
  442. model.setValue("/root/main/rslt/desc/rslt/osmotic/e24pat", ipt_e24pat.currentText);
  443. model.setValue("/root/main/rslt/desc/rslt/osmotic/e1pat", ipt_e1pat.currentText);
  444. var endpat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1pat");
  445. var endpat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24pat");
  446. var rslt = endpat24;
  447. /* if(endpat1 != "" && endpat24 != "") {
  448. rslt = endpat1 + "(1hr)/" + endpat24 + "(24hr)";
  449. } else if(endpat1 != "" && endpat24 == "") {
  450. rslt = endpat1 + "(1hr)";
  451. } else if(endpat1 == "" && endpat24 != "") {
  452. rslt = endpat24 + "(24hr)";
  453. } else {
  454. rslt = "";
  455. }*/
  456. var find = grd_rslt.findRow("LHS10108", 1, 1, true, true);
  457. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  458. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  459. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  460. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  461. }
  462. model.refresh();
  463. ]]>
  464. </script>
  465. </input>
  466. </case>
  467. <case id="of_img">
  468. <img id="img_of" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:800px; height:148px; background-stretch:stretch; "/>
  469. <caption id="cpt_of_noimg" class="no_image" style="left:0px; top:0px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  470. <select1 id="cmb_of_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
  471. <choices>
  472. <itemset nodeset="/root/main/imglist">
  473. <label ref="lastupdtrdt"/>
  474. <value ref="rsltseqno"/>
  475. </itemset>
  476. </choices>
  477. <script type="javascript" ev:event="xforms-value-changed">
  478. <![CDATA[
  479. fImgRef("img_of");
  480. ]]>
  481. </script>
  482. </select1>
  483. <button id="button33" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
  484. <caption>이미지결과등록</caption>
  485. <script type="javascript" ev:event="DOMActivate">
  486. <![CDATA[
  487. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  488. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  489. fImgRslt("cmb_of_seq", "cpt_of_noimg", "img_of");
  490. }
  491. ]]>
  492. </script>
  493. </button>
  494. <caption id="caption150" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  495. <img id="img2" visibility="hidden" style="left:430px; top:15px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
  496. </case>
  497. </switch>
  498. <button id="button32" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:5px; top:382px; width:89px; height:22px; ">
  499. <caption>서술결과</caption>
  500. <script type="javascript" ev:event="DOMActivate">
  501. <![CDATA[
  502. model.toggle("of_desc");
  503. ]]>
  504. </script>
  505. </button>
  506. </xhtml:body>
  507. </xhtml:html>