123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- <?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; ">
- <datagrid id="grd_dshla" nodeset="/root/main/rslt/desc/rslt/cm/dshla" caption="^결과^s/c ratio" colsep="^" colwidth="240, 112, 0" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:5px; top:75px; width:590px; height:77px; ">
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="scratio"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- /* var testcd = model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- if(grd_dshla.row == grd_dshla.rows - 1) {
- model.setValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
- }
-
- grd_dshla.row = 1;
- } else {
- model.setValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
- }
-
- grd_dshla.row = (grd_dshla.row) + 1;
- }*/
-
- fGridKeyEvent("grd_dshla", "/root/main/rslt/desc/rslt/cm/dshla");
- ]]>
- </script>
- </datagrid>
- <caption id="caption99" class="tit_2" style="left:10px; top:5px; width:115px; height:13px; ">공여자 정보</caption>
- <line id="line67" class="line_1" style="x1:5px; y1:21px; x2:435px; y2:21px; "/>
- <caption id="caption101" class="cell_1" style="left:5px; top:26px; width:80px; height:23px; vertical-align:middle; ">PID</caption>
- <input id="input26" ref="/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnorpid" class="input_default" style="left:88px; top:27px; width:80px; height:19px; "/>
- <input id="input27" ref="/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnornm" class="input_default" style="left:254px; top:27px; width:80px; height:19px; "/>
- <caption id="caption103" class="cell_1" style="left:171px; top:26px; width:80px; height:23px; vertical-align:middle; ">성명</caption>
- <button id="button37" class="btn2_letter4" style="left:1124px; top:50px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- open("SMLLP01400");
- ]]>
- </script>
- </button>
- <line id="line68" class="line_1" style="x1:5px; y1:170px; x2:595px; y2:170px; "/>
- <datagrid id="grd_cm_cytoto" nodeset="/root/main/rslt/desc/rslt/cm/cytoto" caption="검사항목^이전결과접수일시^이전결과^결과" colsep="^" colwidth="280, 105, 80, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:5px; top:175px; width:590px; height:278px; ">
- <col ref="tclsscrnnm"/>
- <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="reptrslt" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
-
- fGridKeyEvent("grd_cm_cytoto", "/root/main/rslt/desc/rslt/cm/cytoto");
- ]]>
- </script>
- </datagrid>
- <caption id="caption104" class="tit_2" style="left:10px; top:154px; width:133px; height:13px; ">Cytotoxicity</caption>
- <line id="line65" class="line_3" style="x1:5px; y1:48px; x2:435px; y2:48px; "/>
- <line id="line69" class="line_1" style="x1:599px; y1:70px; x2:1189px; y2:70px; "/>
- <datagrid id="grd_cm_flow" nodeset="/root/main/rslt/desc/rslt/cm/flow" caption="검사항목^이전결과접수일시^이전결과^결과" colsep="^" colwidth="285, 103, 80, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:599px; top:75px; width:591px; height:378px; ">
- <col ref="tclsscrnnm"/>
- <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="reptrslt" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_cm_flow", "/root/main/rslt/desc/rslt/cm/flow");
- ]]>
- </script>
- </datagrid>
- <caption id="caption105" class="tit_2" style="left:604px; top:54px; width:203px; height:13px; ">Flow Cytometric Crossmatch</caption>
- <caption id="caption106" class="tit_2" style="left:10px; top:54px; width:195px; height:13px; ">공여자 특이 HLA 항체</caption>
- <line id="line71" class="line_1" style="x1:5px; y1:70px; x2:595px; y2:70px; "/>
- <line id="line72" class="line_1" style="x1:599px; y1:477px; x2:1189px; y2:477px; "/>
- <caption id="caption107" class="tit_2" style="left:604px; top:461px; width:115px; height:13px; ">판독결과</caption>
- <textarea id="tar_cm_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:599px; top:482px; width:591px; height:161px; "/>
- <line id="line70" class="line_1" style="x1:5px; y1:477px; x2:595px; y2:477px; "/>
- <caption id="caption10" class="tit_2" style="left:10px; top:461px; width:192px; height:13px; ">판독예문</caption>
- <button id="button14" class="btn2_letter4" style="left:530px; top:457px; 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_cm_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_cm_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="80, 275" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:482px; width:590px; height:161px; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_cm_rsltcode");
- ]]>
- </script>
- </datagrid>
- <select id="checkbox4" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:475px; top:459px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </xhtml:body>
- </xhtml:html>
|