SMLRR02800_TDM 결과관리.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. <line id="line86" class="line_2" style="x1:5px; y1:149px; x2:430px; y2:149px; "/>
  94. <line id="line85" class="line_2" style="x1:5px; y1:125px; x2:430px; y2:125px; "/>
  95. <line id="line83" class="line_2" style="x1:5px; y1:101px; x2:430px; y2:101px; "/>
  96. <line id="line82" class="line_2" style="x1:5px; y1:77px; x2:430px; y2:77px; "/>
  97. <line id="line79" class="line_2" style="x1:5px; y1:53px; x2:430px; y2:53px; "/>
  98. <line id="line78" class="line_1" style="x1:5px; y1:26px; x2:430px; y2:26px; "/>
  99. <caption id="caption112" class="tit_2" style="left:10px; top:10px; width:115px; height:14px; ">TDM</caption>
  100. <input id="input28" class="input_default" style="left:88px; top:32px; width:125px; height:19px; "/>
  101. <caption id="caption113" class="cell_1" style="left:5px; top:31px; width:80px; height:23px; vertical-align:middle; ">의뢰약물이름</caption>
  102. <caption id="caption114" class="cell_1" style="left:216px; top:31px; width:80px; height:23px; vertical-align:middle; ">의뢰사유</caption>
  103. <input id="input29" class="input_default" style="left:299px; top:32px; width:131px; height:19px; "/>
  104. <caption id="caption115" class="tit_2" style="left:440px; top:10px; width:115px; height:13px; ">연관검사</caption>
  105. <line id="line80" class="line_1" style="x1:435px; y1:26px; x2:860px; y2:26px; "/>
  106. <button id="button41" class="btn2_letter4" style="left:796px; top:5px; width:64px; height:19px; ">
  107. <caption>연관검사</caption>
  108. </button>
  109. <caption id="caption116" class="tit_2" style="left:10px; top:455px; width:115px; height:13px; ">판독결과</caption>
  110. <line id="line81" class="line_1" style="x1:5px; y1:471px; x2:860px; y2:471px; "/>
  111. <caption id="caption117" class="cell_1" style="left:5px; top:55px; width:80px; height:23px; vertical-align:middle; ">의뢰기타정보</caption>
  112. <caption id="caption118" class="cell_1" style="left:5px; top:79px; width:80px; height:23px; vertical-align:middle; ">실제채혈시간</caption>
  113. <input id="input30" class="input_default" style="left:88px; top:56px; width:342px; height:19px; "/>
  114. <input id="input31" class="input_default" style="left:88px; top:80px; width:342px; height:19px; "/>
  115. <input id="input32" class="input_default" style="left:68px; top:104px; width:54px; height:19px; "/>
  116. <caption id="caption119" class="cell_1" style="left:5px; top:103px; width:60px; height:23px; vertical-align:middle; ">키 (㎡)</caption>
  117. <input id="input33" class="input_default" style="left:188px; top:104px; width:50px; height:19px; "/>
  118. <caption id="caption120" class="cell_1" style="left:125px; top:103px; width:60px; height:23px; vertical-align:middle; ">키 (㎡)</caption>
  119. <caption id="caption121" class="cell_1" style="left:241px; top:103px; width:80px; height:23px; vertical-align:middle; ">BMI 계산값</caption>
  120. <input id="input34" class="input_default" style="left:324px; top:104px; width:106px; height:19px; "/>
  121. <caption id="caption122" class="cell_1" style="left:5px; top:127px; width:180px; height:23px; vertical-align:middle; ">단순 약물농도 측정값</caption>
  122. <input id="input35" class="input_default" style="left:188px; top:128px; width:242px; height:19px; "/>
  123. <caption id="caption123" class="cell_1" style="left:5px; top:151px; width:180px; height:23px; vertical-align:middle; ">약물농도 with 참고범위 측정값</caption>
  124. <line id="line84" class="line_3" style="x1:5px; y1:173px; x2:430px; y2:173px; "/>
  125. <input id="input36" class="input_default" style="left:188px; top:152px; width:242px; height:19px; "/>
  126. <line id="line87" class="line_1" style="x1:5px; y1:201px; x2:860px; y2:201px; "/>
  127. <caption id="caption124" class="tit_2" style="left:10px; top:185px; width:315px; height:14px; ">약물농도 with 참고범위에 지정되어 있는 정보...</caption>
  128. <textarea id="tar_tdm_refinfo" style="left:5px; top:206px; width:855px; height:89px; "/>
  129. <datagrid id="datagrid36" caption="판독결과" colsep="^" colwidth="834" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:327px; width:855px; height:117px; ">
  130. <col/>
  131. </datagrid>
  132. <caption id="caption125" class="tit_2" style="left:10px; top:306px; width:315px; height:14px; ">최근 1주일간 투약력</caption>
  133. <line id="line88" class="line_1" style="x1:5px; y1:322px; x2:860px; y2:322px; "/>
  134. <textarea id="tar_tdm_weekmedi" style="left:5px; top:476px; width:855px; height:144px; "/>
  135. <datagrid id="datagrid3" nodeset="/root/main/rslt/desc/rslt/testlist" caption="검사코드^검사명^결과^보고일시^참고치^이전결과" colsep="^" colwidth="55, 145, 50, 120, 60, 65" dataheight="23" rowheader="seq" rowheight="23" rowsep="|" style="left:435px; top:30px; width:425px; height:140px; ">
  136. <col ref="tclscd"/>
  137. <col ref="tclsscrnnm"/>
  138. <col ref="reptrslt"/>
  139. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  140. <col ref="ref"/>
  141. <col ref="bfreptrst"/>
  142. </datagrid>
  143. </xhtml:body>
  144. </xhtml:html>