SMLRR01800_분자유전결과관리.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  12. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  13. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  14. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  15. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  16. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  17. </model>
  18. <script type="javascript">
  19. <![CDATA[
  20. //이미지 콤보 박스 조회
  21. function fImgRslt(cmb, cpt, img){
  22. cmb = document.controls.item(cmb);
  23. cpt = document.controls.item(cpt);
  24. fimg = document.controls.item(img);
  25. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  26. if(model.getValue("/root/main/testinfo/spcltestinfo/testcd") == "LSI113") { //ld 이미지
  27. submit("TRLRR01501");
  28. model.makeNode("/root/main/imglistld"); //ld history 노드 생성
  29. copyNodeType("/root/main/imglistld", "/root/main/imglist"); //history 이동
  30. model.removenode("/root/main/imglist"); //이전 history 노드 삭제
  31. if(getNodesetCount("/root/main/imglistld/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  32. cmb.value = model.getvalue("/root/main/imglistld/rsltseqno");
  33. fImgRef(img);
  34. fimg.attribute("visibility") = "visible";
  35. cpt.attribute("visibility") = "hidden";
  36. }else { //history가 없으면 no_img 띄움.
  37. fimg.attribute("visibility") = "hidden";
  38. cpt.attribute("visibility") = "visible";
  39. }
  40. } else {
  41. submit("TRLRR01501");
  42. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  43. cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  44. fImgRef(img);
  45. fimg.attribute("visibility") = "visible";
  46. cpt.attribute("visibility") = "hidden";
  47. }else { //history가 없으면 no_img 띄움.
  48. fimg.attribute("visibility") = "hidden";
  49. cpt.attribute("visibility") = "visible";
  50. }
  51. }
  52. model.removeNodeset("/root/send/data1");
  53. model.makeNode("/root/send/data1");
  54. model.refresh();
  55. }
  56. //판독예문 조회
  57. function fRsltCode(gridID){
  58. gridObj = document.all(gridID);
  59. model.removeNodeset("/root/main/rsltcode");
  60. model.refresh();
  61. var vTestcd = model.getvalue("/root/main/testinfo/spcltestinfo/testcd");
  62. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow는 콤보
  63. cmb_exmp.choices.itemset.attribute("nodeset") = "/root/init/readrslt[etc03='" + vTestcd + "']";
  64. } else { //나머지는 그리드이므로.
  65. if(gridID != "") { //판독예문 창을 띄어 수정한 후
  66. var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
  67. var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
  68. var vRstcontLower ="";
  69. var vRstcontUpper = "";
  70. for (i = 1; i <= cdNodes.length; i++) {
  71. var cd = cdNodes.item(i - 1).text;
  72. var nm = cdNodes2.item(i - 1).text;
  73. gridObj.addRow(false);
  74. model.setvalue("/root/main/rsltcode["+i+"]/cd" , cd);
  75. model.setvalue("/root/main/rsltcode["+i+"]/nm" , nm);
  76. }
  77. if(cdNodes.length > 0)
  78. model.refresh();
  79. } else { //특수검사 조회시에는 그리드아이디를 보내지 않는다. 어느 검사인지 알수 없기에..
  80. var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
  81. var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
  82. var vRstcontLower ="";
  83. var vRstcontUpper = "";
  84. for (i = 1; i <= cdNodes.length; i++) {
  85. var cd = cdNodes.item(i - 1).text;
  86. var nm = cdNodes2.item(i - 1).text;
  87. model.makeValue("/root/main/rsltcode["+ i +"]/cd" , cd);
  88. model.makeValue("/root/main/rsltcode["+ i +"]/nm" , nm);
  89. }
  90. if(cdNodes.length > 0)
  91. model.refresh();
  92. }
  93. }
  94. }
  95. ]]>
  96. </script>
  97. </xhtml:head>
  98. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  99. <caption id="caption34" class="tit_2" style="left:10px; top:10px; width:135px; height:14px; ">Bone Marrow 결과</caption>
  100. <line id="line14" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
  101. <output id="output8" ref="/root/main/rslt/desc/rslt/bfbm/spcltestno" class="output_fix" style="left:5px; top:31px; width:120px; height:19px; "/>
  102. <textarea id="tar_mole_bfbmrslt" ref="/root/main/rslt/desc/rslt/bfbm/inter" style="left:130px; top:31px; width:1050px; height:37px; "/>
  103. <line id="line15" class="line_1" style="x1:5px; y1:96px; x2:1180px; y2:96px; "/>
  104. <caption id="caption35" class="tit_2" style="left:10px; top:80px; width:238px; height:13px; ">이전 검사 결과 (선택 검사에 대한)</caption>
  105. <line id="line16" class="line_3" style="x1:5px; y1:69px; x2:1180px; y2:69px; "/>
  106. <textarea id="tar_mole_reqcnt" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/reqcnts" style="left:5px; top:192px; width:1175px; height:60px; "/>
  107. <line id="line18" class="line_1" style="x1:5px; y1:187px; x2:1180px; y2:187px; "/>
  108. <caption id="caption36" class="tit_2" style="left:10px; top:171px; width:238px; height:14px; ">임상적 적응증</caption>
  109. <datagrid id="grd_mole_dtcl" nodeset="/root/main/rslt/desc/rslt/detltclsinfo" caption="^검사코드^검사명^결과^단위^이전보고일시^이전결과^inptrslt" colsep="^" colwidth="0, 70, 100, 50, 50, 105, 65, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:282px; width:585px; height:123px; ">
  110. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  111. <col ref="testcd"/>
  112. <col ref="tclsscrnnm"/>
  113. <col ref="reptrslt" type="input"/>
  114. <col ref="rsltunit"/>
  115. <col ref="bflastreptdt" format="yyyy-mm-dd hh:nn"/>
  116. <col ref="bfreptrslt"/>
  117. <col ref="inptrslt"/>
  118. <script type="javascript" ev:event="onendedit">
  119. <![CDATA[
  120. fGridKeyEvent("grd_mole_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
  121. ]]>
  122. </script>
  123. </datagrid>
  124. <caption id="caption37" class="tit_2" style="left:5px; top:262px; width:115px; height:13px; ">세부검사 목록</caption>
  125. <line id="line19" class="line_1" style="x1:5px; y1:277px; x2:590px; y2:277px; "/>
  126. <line id="line20" class="line_1" style="x1:595px; y1:275px; x2:1180px; y2:275px; "/>
  127. <datagrid id="grd_mole_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 426" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:595px; top:280px; width:585px; height:123px; ">
  128. <col ref="cd"/>
  129. <col ref="nm"/>
  130. <script type="javascript" ev:event="ondblclick">
  131. <![CDATA[
  132. fRsltCodeDBClick("grd_mole_rsltcode");
  133. ]]>
  134. </script>
  135. </datagrid>
  136. <caption id="caption38" class="tit_2" style="left:600px; top:260px; width:115px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
  137. <switch id="switch4" class="sw_box" style="left:5px; top:437px; width:1185px; height:218px; ">
  138. <case id="mole_desc" selected="true">
  139. <textarea id="tar_mole_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:5px; top:20px; width:1169px; height:190px; "/>
  140. <caption id="caption8" class="tit_2" style="left:5px; top:5px; width:135px; height:13px; ">판독결과</caption>
  141. </case>
  142. <case id="mole_img">
  143. <img id="img_mole" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:800px; height:148px; background-stretch:stretch; "/>
  144. <caption id="cpt_mole_noimg" class="no_image" style="left:0px; top:0px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  145. <select1 id="cmb_mole_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
  146. <choices>
  147. <itemset nodeset="/root/main/imglist">
  148. <label ref="lastupdtrdt"/>
  149. <value ref="rsltseqno"/>
  150. </itemset>
  151. </choices>
  152. <script type="javascript" ev:event="xforms-value-changed">
  153. <![CDATA[
  154. fImgRef("img_mole");
  155. ]]>
  156. </script>
  157. </select1>
  158. <button id="button18" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
  159. <caption>이미지결과등록</caption>
  160. <script type="javascript" ev:event="DOMActivate">
  161. <![CDATA[
  162. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  163. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  164. fImgRslt("cmb_mole_seq", "cpt_mole_noimg", "img_mole");
  165. }
  166. ]]>
  167. </script>
  168. </button>
  169. <caption id="caption39" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  170. <img id="img4" visibility="hidden" style="left:430px; top:15px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
  171. </case>
  172. </switch>
  173. <button id="btn_mole_img" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:94px; top:415px; width:90px; height:22px; ">
  174. <caption>이미지결과</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. model.toggle("mole_img");
  178. ]]>
  179. </script>
  180. </button>
  181. <button id="btn_mole_desc" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:5px; top:415px; width:89px; height:22px; ">
  182. <caption>서술결과</caption>
  183. <script type="javascript" ev:event="DOMActivate">
  184. <![CDATA[
  185. model.toggle("mole_desc");
  186. ]]>
  187. </script>
  188. </button>
  189. <button id="button10" class="btn2_letter4" style="left:1115px; top:255px; width:64px; height:19px; ">
  190. <caption>판독예문</caption>
  191. <script type="javascript" ev:event="DOMActivate">
  192. <![CDATA[
  193. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  194. submit("TRLRR00402");
  195. fRsltCode("grd_mole_rsltcode");
  196. model.refresh();
  197. ]]>
  198. </script>
  199. </button>
  200. <select id="checkbox12" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1060px; top:257px; width:50px; height:20px; border-style:none; ">
  201. <choices>
  202. <item>
  203. <label>추가</label>
  204. <value>Y</value>
  205. </item>
  206. </choices>
  207. </select>
  208. <datagrid id="datagrid1" nodeset="/root/main/rslt/desc/rslt/beforerslt" caption="이름^등록번호^성별^나이^진료과^검사명^보고일자^결과" colsep="^" colwidth="80, 100, 40, 40, 50, 150, 105, 585" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:101px; width:1175px; height:69px; text-align:center; ">
  209. <col ref="hngnm"/>
  210. <col ref="pid"/>
  211. <col ref="sex"/>
  212. <col ref="age"/>
  213. <col ref="orddeptnm"/>
  214. <col ref="tclsscrnnm"/>
  215. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  216. <col ref="inter"/>
  217. </datagrid>
  218. <datagrid id="grd_lb0901" nodeset="/root/init/LB0901" visibility="hidden" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:295px; top:170px; width:350px; height:150px; ">
  219. <col ref="cd"/>
  220. <col ref="nm"/>
  221. <col ref="etc04"/>
  222. </datagrid>
  223. <datagrid id="grd_rslt" nodeset="/root/main/testinfo/detailtestinfo" visibility="hidden" caption="chk^검사코드^검사명^결과^결과^inptrslt^bcno" colsep="^" colwidth="50, 100, 100, 100, 100, 10, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:295px; top:350px; width:480px; height:120px; ">
  224. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  225. <col ref="testcd"/>
  226. <col ref="tclsscrnnm"/>
  227. <col ref="bufinptrslt" type="input"/>
  228. <col ref="reptrslt"/>
  229. <col ref="inptrslt"/>
  230. <col ref="bcno"/>
  231. </datagrid>
  232. </xhtml:body>
  233. </xhtml:html>