123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" ztype="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>판독결과관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- </root>
- </instance>
- </model>
- <script type="javascript">
- <![CDATA[
- //이미지 콤보 박스 조회
- function fImgRslt(cmb, cpt, img){
- cmb = document.controls.item(cmb);
- cpt = document.controls.item(cpt);
- fimg = document.controls.item(img);
-
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
-
- if(model.getValue("/root/main/testinfo/spcltestinfo/testcd") == "LSI113") { //ld 이미지
- submit("TRLRR01501");
-
- model.makeNode("/root/main/imglistld"); //ld history 노드 생성
- copyNodeType("/root/main/imglistld", "/root/main/imglist"); //history 이동
- model.removenode("/root/main/imglist"); //이전 history 노드 삭제
-
- if(getNodesetCount("/root/main/imglistld/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglistld/rsltseqno");
- fImgRef(img);
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
- }
- } else {
- submit("TRLRR01501");
-
- if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
- fImgRef(img);
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
- }
- }
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
-
- model.refresh();
- }
-
- //판독예문 조회
- function fRsltCode(gridID){
- gridObj = document.all(gridID);
-
- model.removeNodeset("/root/main/rsltcode");
-
- model.refresh();
-
- var vTestcd = model.getvalue("/root/main/testinfo/spcltestinfo/testcd");
-
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow는 콤보
- cmb_exmp.choices.itemset.attribute("nodeset") = "/root/init/readrslt[etc03='" + vTestcd + "']";
- } else { //나머지는 그리드이므로.
- if(gridID != "") { //판독예문 창을 띄어 수정한 후
- var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
-
- for (i = 1; i <= cdNodes.length; i++) {
-
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- gridObj.addRow(false);
-
- model.setvalue("/root/main/rsltcode["+i+"]/cd" , cd);
- model.setvalue("/root/main/rsltcode["+i+"]/nm" , nm);
- }
-
- if(cdNodes.length > 0)
- model.refresh();
- } else { //특수검사 조회시에는 그리드아이디를 보내지 않는다. 어느 검사인지 알수 없기에..
- var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
-
- for (i = 1; i <= cdNodes.length; i++) {
-
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- model.makeValue("/root/main/rsltcode["+ i +"]/cd" , cd);
- model.makeValue("/root/main/rsltcode["+ i +"]/nm" , nm);
- }
-
- if(cdNodes.length > 0)
- model.refresh();
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <button id="button3" class="btn2_letter4" style="left:525px; top:335px; width:64px; height:19px; ">
- <caption>연관검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF00900");
-
- fGetRelRslt();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid2" nodeset="/root/main/rslt/desc/rslt/testlist" caption="검사코드^검사명^결과^보고일시^참고치^이전결과" colsep="^" colwidth="55, 145, 50, 120, 60, 134" dataheight="23" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:361px; width:585px; height:285px; ">
- <col ref="tclscd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="ref"/>
- <col ref="bfreptrst"/>
- </datagrid>
- <line id="line57" class="line_1" style="x1:5px; y1:26px; x2:590px; y2:26px; "/>
- <caption id="caption94" class="tit_2" style="left:10px; top:10px; width:192px; height:14px; ">세부검사</caption>
- <line id="line58" class="line_1" style="x1:595px; y1:455px; x2:1180px; y2:455px; "/>
- <textarea id="tar_ep_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:460px; width:585px; height:90px; "/>
- <datagrid id="grd_ep_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 429" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:595px; top:316px; width:585px; height:124px; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_ep_rsltcode");
- ]]>
- </script>
- </datagrid>
- <line id="line59" class="line_1" style="x1:595px; y1:311px; x2:1180px; y2:311px; "/>
- <caption id="caption96" class="tit_2" style="left:600px; top:296px; width:115px; height:13px; ">판독예문</caption>
- <button id="button16" class="btn2_letter4" style="left:1116px; top:291px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_ep_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_ep_dtcl" nodeset="/root/main/rslt/desc/rslt/detltclsinfo" visibility="visible" caption="^검사코드^검사명^결과^단위^이전보고일시^이전결과^inptrslt" colsep="^" colwidth="0, 55, 100, 50, 50, 105, 65, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:31px; width:585px; height:299px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="rsltunit"/>
- <col ref="bflastreptdt"/>
- <col ref="bfreptrslt"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_ep_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
- ]]>
- </script>
- </datagrid>
- <caption id="caption97" class="tit_2" style="left:600px; top:10px; width:192px; height:13px; ">이미지</caption>
- <line id="line60" class="line_1" style="x1:595px; y1:26px; x2:1180px; y2:26px; "/>
- <button id="button30" class="btn2_letter2" style="left:1136px; top:6px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_ep_seq", "cpt_ep_noimg", "img_ep");
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_ep_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:1009px; top:6px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_ep");
- ]]>
- </script>
- </select1>
- <caption id="caption29" class="hand" style="left:926px; top:4px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <group id="group4" style="left:595px; top:31px; width:585px; height:259px; ">
- <img id="img_ep" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
- <caption id="cpt_ep_noimg" class="no_image" style="left:0px; top:-1px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
- </group>
- <select id="checkbox6" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1061px; top:293px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption169" class="tit_2" style="left:10px; top:341px; width:115px; height:13px; ">연관검사</caption>
- <line id="line107" class="line_1" style="x1:5px; y1:356px; x2:590px; y2:356px; "/>
- <datagrid id="grd_proteinEP" nodeset="/root/main/rslt/desc/rslt/proteinEP" visibility="hidden" caption="^검사명^정량(g/dL)^참고치(g/dL)^결과(%)^참고치(%)^이전결과^" colsep="^" colwidth="0, 113, 89, 94, 82, 105, 79" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:30px; width:585px; height:299px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="tclsnm"/>
- <col ref="reptrsltorigin" type="input"/>
- <col ref="reforigin"/>
- <col ref="reptrsltpersent" type="input"/>
- <col ref="refpersent"/>
- <col ref="bfreptrslt1"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_ep_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
- ]]>
- </script>
- </datagrid>
- <caption id="caption95" class="tit_2" visibility="visible" style="left:595px; top:442px; width:115px; height:13px; ">판독결과</caption>
- <textarea id="tar_ep_comments" ref="/root/main/rslt/desc/rslt/comment" style="left:595px; top:565px; width:585px; height:80px; "/>
- <line id="line108" class="line_1" style="x1:595px; y1:561px; x2:1180px; y2:561px; "/>
- <caption id="caption171" class="tit_2" visibility="visible" style="left:595px; top:549px; width:115px; height:13px; ">comments</caption>
- </xhtml:body>
- </xhtml:html>
|