SMLRR02200_ICG 결과관리.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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. <group id="group8" style="left:590px; top:31px; width:590px; height:428px; ">
  94. <img id="img_icg" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:590px; height:428px; background-stretch:stretch; "/>
  95. <caption id="cpt_icg_noimg" class="no_image" style="left:0px; top:-1px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  96. </group>
  97. <line id="line46" class="line_1" style="x1:0px; y1:485px; x2:585px; y2:485px; "/>
  98. <caption id="caption85" class="tit_2" style="left:5px; top:469px; width:192px; height:13px; ">판독예문</caption>
  99. <datagrid id="grd_icg_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 273" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:490px; width:585px; height:161px; ">
  100. <col ref="cd"/>
  101. <col ref="nm"/>
  102. <script type="javascript" ev:event="ondblclick">
  103. <![CDATA[
  104. fRsltCodeDBClick("grd_icg_rsltcode");
  105. ]]>
  106. </script>
  107. </datagrid>
  108. <textarea id="tar_icg_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:590px; top:490px; width:590px; height:161px; "/>
  109. <line id="line51" class="line_1" style="x1:590px; y1:485px; x2:1180px; y2:485px; "/>
  110. <caption id="caption88" class="tit_2" style="left:595px; top:469px; width:115px; height:13px; ">판독결과</caption>
  111. <button id="button20" class="btn2_letter4" style="left:520px; top:465px; width:64px; height:19px; ">
  112. <caption>판독예문</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  116. submit("TRLRR00402");
  117. fRsltCode("grd_icg_rsltcode");
  118. model.refresh();
  119. ]]>
  120. </script>
  121. </button>
  122. <select id="checkbox8" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:465px; top:466px; width:50px; height:20px; border-style:none; ">
  123. <choices>
  124. <item>
  125. <label>추가</label>
  126. <value>Y</value>
  127. </item>
  128. </choices>
  129. </select>
  130. <caption id="caption22" class="hand" style="left:926px; top:3px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  131. <button id="button7" class="btn2_letter2" style="left:1136px; top:6px; width:42px; height:19px; ">
  132. <caption>등록</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  136. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  137. fImgRslt("cmb_icg_seq", "cpt_icg_noimg", "img_icg");
  138. }
  139. ]]>
  140. </script>
  141. </button>
  142. <select1 id="cmb_icg_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:1009px; top:6px; width:120px; height:19px; ">
  143. <choices>
  144. <itemset nodeset="/root/main/imglist">
  145. <label ref="lastupdtrdt"/>
  146. <value ref="rsltseqno"/>
  147. </itemset>
  148. </choices>
  149. <script type="javascript" ev:event="xforms-value-changed">
  150. <![CDATA[
  151. fImgRef("img_icg");
  152. ]]>
  153. </script>
  154. </select1>
  155. <caption id="caption6" class="tit_2" style="left:595px; top:10px; width:192px; height:13px; ">이미지</caption>
  156. <line id="line90" class="line_1" style="x1:590px; y1:26px; x2:1180px; y2:26px; "/>
  157. <caption id="caption137" class="cell_1" style="left:5px; top:201px; width:55px; height:23px; vertical-align:middle; ">5분농도</caption>
  158. <caption id="caption138" class="cell_1" style="left:5px; top:225px; width:55px; height:23px; vertical-align:middle; ">소실율</caption>
  159. <caption id="caption139" style="left:162px; top:225px; width:20px; height:20px; font-size:14pt; ">%</caption>
  160. <caption id="caption140" style="left:463px; top:207px; width:40px; height:20px; ">mg/dL</caption>
  161. <caption id="caption141" class="cell_1" style="left:5px; top:249px; width:55px; height:23px; vertical-align:middle; ">R15</caption>
  162. <input id="input6" ref="/root/main/rslt/desc/rslt/icg/min5" class="input_default" style="left:63px; top:202px; width:65px; height:19px; "/>
  163. <input id="input7" ref="/root/main/rslt/desc/rslt/icg/min10" class="input_default" style="left:228px; top:202px; width:65px; height:19px; "/>
  164. <caption id="caption142" class="cell_1" style="left:166px; top:201px; width:59px; height:23px; vertical-align:middle; ">10분농도</caption>
  165. <line id="line49" class="line_1" style="x1:5px; y1:196px; x2:503px; y2:196px; "/>
  166. <caption id="caption143" class="cell_1" style="left:336px; top:201px; width:59px; height:23px; vertical-align:middle; ">15분농도</caption>
  167. <input id="input8" ref="/root/main/rslt/desc/rslt/icg/min15" class="input_default" style="left:398px; top:202px; width:65px; height:19px; "/>
  168. <caption id="caption144" style="left:162px; top:250px; width:20px; height:20px; font-size:14pt; ">%</caption>
  169. <input id="ipt_icg_sosil" ref="/root/main/rslt/desc/rslt/icg/sosil" class="input_default" style="left:63px; top:226px; width:100px; height:19px; ">
  170. <script type="javascript" ev:event="DOMFocusOut">
  171. <![CDATA[
  172. model.setValue("/root/main/rslt/desc/rslt/icg/sosil", ipt_icg_sosil.currentText);
  173. var sosil = model.getValue("/root/main/rslt/desc/rslt/icg/sosil");
  174. var find = grd_rslt.findRow("LSS18101", 1, 1, true, true);
  175. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", sosil);
  176. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", sosil);
  177. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  178. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  179. }
  180. model.refresh();
  181. ]]>
  182. </script>
  183. </input>
  184. <line id="line91" class="line_2" style="x1:5px; y1:223px; x2:503px; y2:223px; "/>
  185. <caption id="caption145" style="left:293px; top:207px; width:40px; height:20px; ">mg/dL</caption>
  186. <caption id="caption146" style="left:128px; top:207px; width:40px; height:20px; ">mg/dL</caption>
  187. <line id="line92" class="line_2" style="x1:5px; y1:247px; x2:503px; y2:247px; "/>
  188. <input id="ipt_icg_r15" ref="/root/main/rslt/desc/rslt/icg/r15" class="input_default" style="left:63px; top:250px; width:100px; height:19px; ">
  189. <script type="javascript" ev:event="DOMFocusOut">
  190. <![CDATA[
  191. model.setValue("/root/main/rslt/desc/rslt/icg/r15", ipt_icg_r15.currentText);
  192. var r15 = model.getValue("/root/main/rslt/desc/rslt/icg/r15");
  193. var find = grd_rslt.findRow("LSS18102", 1, 1, true, true);
  194. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", r15);
  195. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", r15);
  196. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  197. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  198. }
  199. model.refresh();
  200. ]]>
  201. </script>
  202. </input>
  203. <line id="line93" class="line_3" style="x1:5px; y1:271px; x2:503px; y2:271px; "/>
  204. <caption id="caption147" class="tit_2" style="left:10px; top:180px; width:192px; height:13px; ">ICG 결과관리</caption>
  205. <line id="lin_5" class="line_1" style="x1:5px; y1:26px; x2:505px; y2:26px; "/>
  206. <caption id="cpt_tit2" class="tit_2" style="left:10px; top:10px; width:152px; height:13px; ">투여 및 채혈 정보</caption>
  207. <output id="opt_nerse" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/nerse" class="output_fix" style="left:138px; top:32px; width:115px; height:19px; "/>
  208. <caption id="cpt_bcollnerse" class="cell_1" style="left:5px; top:31px; width:130px; height:23px; vertical-align:middle; ">ICG 투여 및 채혈자</caption>
  209. <line id="lin_12" class="line_2" style="x1:5px; y1:53px; x2:505px; y2:52px; "/>
  210. <caption id="cpt_weight" class="cell_1" style="left:256px; top:31px; width:130px; height:23px; vertical-align:middle; ">체 중</caption>
  211. <output id="opt_weght" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/weight" class="output_fix" style="left:389px; top:32px; width:115px; height:19px; "/>
  212. <caption id="caption12" class="cell_1" style="left:5px; top:79px; width:130px; height:23px; vertical-align:middle; ">투여된 질량 (mg)</caption>
  213. <line id="line47" class="line_2" style="x1:5px; y1:101px; x2:505px; y2:100px; "/>
  214. <caption id="caption23" class="cell_1" style="left:256px; top:79px; width:130px; height:23px; vertical-align:middle; ">투여된 부피 (mL)</caption>
  215. <input id="ipt_icgquan1" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugqty1" class="input_default" style="left:138px; top:56px; width:115px; height:19px; "/>
  216. <input id="ipt_icgquan2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugqty2" class="input_default" style="left:138px; top:80px; width:115px; height:19px; "/>
  217. <caption id="cpt_icgquan" class="cell_1" style="left:5px; top:55px; width:130px; height:23px; vertical-align:middle; ">투여해야할 질량 (mg)</caption>
  218. <input id="ipt_size1" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugsize1" class="input_default" style="left:389px; top:56px; width:115px; height:19px; "/>
  219. <line id="line45" class="line_2" style="x1:5px; y1:77px; x2:505px; y2:76px; "/>
  220. <input id="ipt_size2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugsize2" class="input_default" style="left:389px; top:80px; width:115px; height:19px; "/>
  221. <caption id="cpt_size" class="cell_1" style="left:256px; top:55px; width:130px; height:23px; vertical-align:middle; ">투여해야할 부피 (mL)</caption>
  222. <line id="line48" class="line_2" style="x1:5px; y1:125px; x2:505px; y2:124px; "/>
  223. <caption id="caption44" class="cell_1" style="left:5px; top:103px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 5분 검체 채혈까지의 경과 시간</caption>
  224. <input id="ipt_5spcmm" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc5mm" class="input_default" style="left:256px; top:104px; width:27px; height:19px; "/>
  225. <caption id="caption40" style="left:284px; top:105px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
  226. <caption id="caption80" style="left:338px; top:105px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
  227. <input id="input11" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc5ss" class="input_default" style="left:310px; top:104px; width:27px; height:19px; "/>
  228. <caption id="caption81" style="left:285px; top:129px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
  229. <input id="input12" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc10mm" class="input_default" style="left:257px; top:128px; width:27px; height:19px; "/>
  230. <input id="input14" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc10ss" class="input_default" style="left:311px; top:128px; width:27px; height:19px; "/>
  231. <caption id="caption82" class="cell_1" style="left:6px; top:127px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 10분 검체 채혈까지의 경과 시간</caption>
  232. <line id="line50" class="line_2" style="x1:6px; y1:149px; x2:506px; y2:148px; "/>
  233. <caption id="caption83" style="left:339px; top:129px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
  234. <caption id="caption84" style="left:285px; top:153px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
  235. <caption id="caption86" class="cell_1" style="left:6px; top:151px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 15분 검체 채혈까지의 경과 시간</caption>
  236. <caption id="caption87" style="left:339px; top:153px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
  237. <input id="input16" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc15mm" class="input_default" style="left:257px; top:152px; width:27px; height:19px; "/>
  238. <input id="input18" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc15ss" class="input_default" style="left:311px; top:152px; width:27px; height:19px; "/>
  239. <line id="line94" class="line_3" style="x1:6px; y1:173px; x2:506px; y2:172px; "/>
  240. </xhtml:body>
  241. </xhtml:html>