123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409 |
- <?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; ">
- <caption id="caption25" class="tit_2" style="left:10px; top:10px; width:115px; height:14px; ">CBC Result</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:26px; x2:400px; y2:26px; "/>
- <line id="line2" class="line_1" style="x1:5px; y1:241px; x2:400px; y2:241px; "/>
- <caption id="caption26" class="tit_2" style="left:10px; top:225px; width:115px; height:13px; ">연관검사</caption>
- <line id="line10" class="line_1" style="x1:5px; y1:457px; x2:400px; y2:457px; "/>
- <caption id="caption27" class="tit_2" style="left:10px; top:441px; width:115px; height:13px; ">BM 이전결과</caption>
- <datagrid id="grd_bm_cbcrslt" nodeset="/root/main/rslt/desc/rslt/cbcrslt" caption="검사코드^검사명^결과^단위^보고일시^이전결과^inptrslt" colsep="^" colwidth="55, 95, 50, 50, 105, 65" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:5px; top:31px; width:395px; height:185px; ">
- <col ref="testcd"/>
- <col ref="tclsnm"/>
- <col ref="reptrslt"/>
- <col ref="rsltunit"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrst"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_bm_cbcrslt.row >= grd_bm_cbcrslt.fixedRows) && (grd_bm_cbcrslt.isCell(event.target))) {
-
- grd_bm_cbcrslt.row = grd_bm_cbcrslt.mouseRow;
- model.removenode("/root/hidden/popupmenu/grid");
-
- model.makeValue("/root/hidden/popupmenu/grid/item/name" , "▶ XE2100결과조회");
- model.makeValue("/root/hidden/popupmenu/grid/item/func" , "fXERslt");
-
- setPopupMenu("grd_bm_cbcrslt", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_bm_relrslt" 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:5px; top:246px; width:395px; height:185px; ">
- <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>
- <datagrid id="grd_bm_bfbmrslt" nodeset="/root/main/rslt/desc/rslt/bfbm" caption="보고일시^특수검사연번호^결과^inptrslt" colsep="^" colwidth="105, 90, 174" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:5px; top:462px; width:395px; height:185px; ">
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="spcltestno"/>
- <col ref="inter"/>
- </datagrid>
- <select1 id="cmb_exmp" ref="/root/hidden/readexmp" appearance="minimal" style="left:1010px; top:5px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/readrslt">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var val = model.getValue("/root/hidden/readexmp");
-
- // var etc02node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"']/etc02");
- // var etc01node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"']/etc01");
- var etc02node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"' and etc03='"+ model.getvalue("/root/main/testinfo/spcltestinfo/testcd") +"']/etc02");
- var etc01node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"' and etc03='"+ model.getvalue("/root/main/testinfo/spcltestinfo/testcd") +"']/etc01");
-
- var etc02 = etc02node.item(0).text;
- var etc01 = etc01node.item(0).text;
-
- model.setValue("/root/main/rslt/desc/rslt/inter", etc02);
-
- if(model.getValue("/root/hidden/readexmpadd") == "Y") {
- var read = model.getValue("/root/main/rslt/desc/rslt/readrslt");
-
- model.setValue("/root/main/rslt/desc/rslt/readrslt", read + etc01);
- } else {
- model.setValue("/root/main/rslt/desc/rslt/readrslt", etc01);
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="button4" class="btn2_letter4" style="left:336px; top:220px; width:64px; height:19px; ">
- <caption>연관검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF00900");
-
- fGetRelRslt();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:941px; top:5px; 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("");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_bm_img" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:493px; top:3px; width:90px; height:22px; ">
- <caption>이미지결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("bm_img");
- ]]>
- </script>
- </button>
- <button id="btn_bm_desc" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:404px; top:3px; width:89px; height:22px; ">
- <caption>서술결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("bm_desc");
- ]]>
- </script>
- </button>
- <select id="checkbox13" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:886px; top:7px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button2" class="btn2_letter4" visibility="hidden" style="left:585px; top:5px; width:64px; height:19px; ">
- <caption>서식출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* model.setValue("/root/hidden/xslt/signno", model.getValue("/root/main/testinfo/spcltestinfo/signno"));
- model.setValue("/root/hidden/xslt/form", "0000002916");
- modal("SPLRR90900 ","","","","","/root/hidden/xslt","/root/init");*/
-
- var signno = model.getValue("/root/main/testinfo/spcltestinfo/signno");
- var formcd = model.getValue("/root/main/testinfo/spcltestinfo/formcd");//"0000002916";
-
- if(signno != 0) {
- setParameter("SPMRI02400_prtrecinfo","E▦" + signno + "▦" + formcd + "▩");
- modal("SPMRI02400");
- } else {
- messageBox("전문의 확인이 되지", "E007");
- }
- ]]>
- </script>
- </button>
- <switch id="switch1" class="sw_box" style="left:404px; top:25px; width:786px; height:625px; ">
- <case id="bm_img">
- <caption id="cpt_bm_noimg" class="no_image" style="left:0px; top:0px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
- <select1 id="cmb_bm_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; 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_bm");
- ]]>
- </script>
- </select1>
- <button id="button22" class="btn2_letter7" style="left:210px; top:4px; width:97px; 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_bm_seq", "cpt_bm_noimg", "img_bm");
- }
- ]]>
- </script>
- </button>
- <caption id="caption17" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <img id="img_bm" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:775px; height:587px; background-stretch:stretch; "/>
- <img id="img3" visibility="hidden" style="left:305px; top:45px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
- </case>
- <case id="bm_desc" selected="true">
- <button id="button44" class="btn2_letter7" style="left:484px; top:469px; width:97px; height:19px; ">
- <caption>IHC stain</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_bm_ihc.attribute("visibility") == "visible") {
- grd_bm_ihc.attribute("visibility") = "hidden";
- }else {
- grd_bm_ihc.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </button>
- <textarea id="tar_bm_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:0px; top:18px; width:780px; height:447px; font-size:11pt; "/>
- <button id="button17" class="btn2_letter7" style="left:584px; top:469px; width:97px; height:19px; ">
- <caption>Special stain</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_bm_sst.attribute("visibility") == "visible") {
- grd_bm_sst.attribute("visibility") = "hidden";
- }else {
- grd_bm_sst.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </button>
- <textarea id="tar_bm_itpt" ref="/root/main/rslt/desc/rslt/inter" style="left:0px; top:491px; width:780px; height:55px; font-size:11pt; "/>
- <button id="button19" class="btn2_letter7" style="left:684px; top:469px; width:97px; height:19px; ">
- <caption>BM Diff.count</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(group2.attribute("visibility") == "visible") {
- var val = null;
- sum = 0;
- for(i = 1; i < grd_bm_diff.rows; i++) {
- if(model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input") != "") {
- val = model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input");
- sum += parseInt(val);
- }
- }
-
- if(sum < 100) {
- messageBox("BM Diff.count 값이 100보다 작습니다.", "E");
- }
- group2.attribute("visibility") = "hidden";
- }else {
- group2.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </button>
- <line id="line11" class="line_1" style="x1:0px; y1:13px; x2:780px; y2:13px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:473px; width:115px; height:13px; ">Interpretation</caption>
- <caption id="caption5" class="tit_2" style="left:5px; top:549px; width:158px; height:13px; ">Comments</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:486px; x2:780px; y2:486px; "/>
- <line id="line4" class="line_1" style="x1:0px; y1:561px; x2:780px; y2:561px; "/>
- <caption id="caption28" class="tit_2" style="left:5px; top:0px; width:115px; height:13px; ">판독결과</caption>
- <textarea id="tar_bm_comment" ref="/root/main/rslt/desc/rslt/comments" style="left:0px; top:567px; width:780px; height:55px; font-size:11pt; "/>
- <group id="group2" visibility="hidden" overflow="visible" style="left:510px; top:100px; width:270px; height:370px; ">
- <datagrid id="grd_bm_diff" nodeset="/root/main/rslt/desc/rslt/bm/diff" visibility="visible" caption="검사명^결과" colsep="^" colwidth="150, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:20px; width:270px; height:348px; ">
- <col ref="tclsnm" type="input"/>
- <col ref="input" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if((grd_bm_diff.isCell(event.target) && grd_bm_diff.row >= grd_bm_diff.fixedRows) && grd_bm_diff.col >= 1 ){
- var val = null;
- sum = 0;
- for(i = 1; i < grd_bm_diff.rows; i++) {
- if(model.getValue("/root/main/rslt/desc/rslt/diff["+ i +"]/input") != "") {
- val = model.getValue("/root/main/rslt/desc/rslt/diff["+ i +"]/input");
- sum += parseInt(val);
- }
- }
-
- if(sum > 100) {
- messageBox("BM Diff.count 값이 100", "E003");
- return;
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button25" class="btn2_letter3" style="left:215px; top:0px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_bm_diff.addRow();
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_bm_sst" nodeset="/root/main/rslt/desc/rslt/bm/sst" visibility="hidden" caption="검사명^결과" colsep="^" colwidth="150, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:427px; top:260px; width:253px; height:209px; ">
- <col ref="tclsnm"/>
- <col ref="input" type="input"/>
- </datagrid>
- <datagrid id="grd_bm_ihc" nodeset="/root/main/rslt/desc/rslt/bm/ihc" visibility="hidden" caption="검사명^결과" colsep="^" colwidth="150, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:260px; top:265px; width:253px; height:204px; ">
- <col ref="tclsnm"/>
- <col ref="input" type="input"/>
- </datagrid>
- </case>
- </switch>
- <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:185px; top:380px; width:480px; height:120px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="bufinptrslt" type="input"/>
- <col ref="reptrslt"/>
- <col ref="inptrslt"/>
- <col ref="bcno"/>
- </datagrid>
- <datagrid id="grd_lb0901" nodeset="/root/init/LB0901" visibility="hidden" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:355px; top:180px; width:350px; height:150px; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <col ref="etc04"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|