123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLR00200.xrw
- * 설 명 : 검체별결과관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.3.5
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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="">
- <main>
- <testpatlist>
- <patlist>
- <chk/>
- <bcno/>
- <pid/>
- <hngnm/>
- </patlist>
- </testpatlist>
- </main>
- <send>
- </send>
- <init>
- <LB0106>
- <cd/>
- <nm/>
- </LB0106>
- </init>
- <hidden>
- <refparam>
- <searchflag>1</searchflag>
- <searchtext/>
- <startdd/>
- <starttm/>
- <enddd/>
- <endtm/>
- <tsectcd/>
- <rstflag>2</rstflag>
- <testlrgkind/>
- <sectcd/>
- <erflag/>
- <trobrslt/>
- </refparam>
- <abresult>
- </abresult>
- <testpatlist>
- </testpatlist>
- <pat/>
- <xrwg>gcb</xrwg>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fBaseInfoRef("0106|0108|0109|0111|0210|0000|0124|1005|0128|"); //0128 특정검사항목 있을때 messagebox로 알려주는 검사항목 리스트 추가 20090723
- model.setvalue("/root/hidden/refparam/sectcd", model.getvalue("/root/init/LB0111/cd"));
- model.setvalue("/root/hidden/refparam/tsectcd", model.getvalue("/root/init/LB0106/cd"));
- model.setvalue("/root/hidden/refparam/startdd",getCurrentDate());
- model.setValue("/root/hidden/refparam/starttm", "0000");
- model.setvalue("/root/hidden/refparam/enddd",getCurrentDate());
- model.setValue("/root/hidden/refparam/endtm", "2359");
- model.setValue("/root/hidden/refparam/trobrslt", "0");
- combo4.disabled = true;
- model.refresh();
-
-
-
- ]]>
- </script>
- <submission id="TRLLR00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/testpatlist"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSetRefFromdd() {
-
-
- var fromdd = model.getValue("/root/hidden/refparam/startdd");
- var todd = model.getValue("/root/hidden/refparam/enddd");
-
-
-
- var mDate = todd.toDate("YYYYMMDD").getAddDate(-3);
-
-
- if(mDate.getDateFormat("YYYYMMDD") > fromdd) {
- messageBox("환자개별 조회 이외의 검색구간은 최대 3일까지","E008");
-
- var mr = messageBox("최대 3일 조회","S001"); //메세지에서 선택한 값.
-
- if(mr == "6") {
- model.setValue("/root/hidden/refparam/startdd", mDate.getDateFormat("YYYYMMDD"));
- //model.setValue("/root/send/data1/sdate", model.getValue("/root/hidden/JoHoiFlag/sdate"));
- model.refresh();
-
- return true;
- } else if(mr == "2") {
- return false;
- } else{
- return true;
- }
- }else if(todd < fromdd) {
- messageBox("기간설정이 잘못", "E005");
-
- return false;
- }else {
- return true;
- }
- }
- function fOnclickBtnRef(gbn){
- model.removeNodeset("/root/main/testpatlist/patlist/urinextrvol");
- var sear = model.getvalue("/root/hidden/refparam/searchtext")
-
- if(gbn != "Q"){
- if(!fSetRefFromdd()) return;
- }else{
- if(sear.getTrim() == ""){
- return;
- }
- }
-
- //grd_patList.rebuildStyle(); //2008-07-07 조회시 결과상태 초기화 되어 막음.
- fSetClear2();
-
- //root/hidden/refparam/searchflag
-
-
- if(sear.getTrim().isNumber()){ //숫자라면 등록번호
- model.setvalue("/root/hidden/refparam/searchflag", "2");
- }else{ //숫자가 아니고
- if(model.getvalue("/root/hidden/refparam/searchflag") != "3"){ //환자명 조회 아니면 검체번호
- model.setvalue("/root/hidden/refparam/searchflag", "1");
- }
- }
- //if(model.getvalue("/root/hidden/refparam/searchflag") == "1" && sear !="" && gbn == "Q"){
- model.setvalue("/root/hidden/refparam/searchtext" , sear.getTrim().toUpperCase());
- //}
-
-
-
- model.copyNode("/root/send/data1","/root/hidden/refparam") ;
- if(gbn != "Q"){
- model.setvalue("/root/send/data1/searchtext" , "");
- }
- model.makeValue("/root/send/data1/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
- //var sid = document.all("TRLLR00201");
- //alert(gbn)
-
-
-
- if(submit("TRLLR00201")) {
- var addPat = false;
- if(gbn == "Q" && model.getvalue("/root/hidden/pat") == "1" && model.getvalue("/root/hidden/refparam/searchflag") == "1"){ // 환자붙이기, 검체추가
- addPat = true;
- var n = getNodesetCount("/root/main/testpatlist");
-
- if(getNodesetCount("/root/hidden/testpatlist/patlist") > 0){
- var bcno = model.getvalue("/root/hidden/testpatlist/patlist/bcno");
- var findrow = grd_patList.findRow(bcno,1, 2, false, false);
-
- if(findrow < 0){ //검체가 없으면 검체추가
- model.makeNode("/root/main/testpatlist/patlist["+grd_patList.rows +"]");
- model.copyNode("/root/main/testpatlist/patlist["+grd_patList.rows +"]" , "/root/hidden/testpatlist/patlist");
- grd_patList.rebuild();
- }
- else{ //검체가 있음
- messageBox("이미추가된 검체입니다. " , "C" ,"");
- return;
- }
- } //end if(getNodesetCount("/root/hidden/testpatlist/patlist") > 0){
- } //end if(gbn == "Q" && model.getvalue("/root/hidden/pat") == "1" && model.getvalue("/root/hidden/refparam/searchflag") == "1"){ // 환자붙이기, 검체추가
- else{ //추가가 아니라면.
- model.copyNode("/root/main/testpatlist" , "/root/hidden/testpatlist");
- grd_patList.rebuild();
- }
- model.copyNode("/root/send/data1","/root/hidden/default");
- //initGridStyle("grd_patList");
-
- for(i=1 ;i<grd_patList.rows;i++){ //결과 상태에 따른 이미지 변경
-
- if(model.getvalue("/root/main/testpatlist/patlist["+i+"]/rsltstat") == "-"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_N.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }else if(model.getvalue("/root/main/testpatlist/patlist["+i+"]/rsltstat") == "1"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_1.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/testpatlist/patlist["+i+"]/rsltstat") == "2"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_2.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/testpatlist/patlist["+i+"]/rsltstat") == "4"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_3.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/testpatlist/patlist["+i+"]/rsltstat") == "3"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_F.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }
- if(model.getvalue("/root/main/testpatlist/patlist["+i+"]/erprcpflag") == "Y"){ //응급
- grd_patList.rowStyle(i, "data", "background-color") = "#f7a08b";
- }
- else{
- grd_patList.rowStyle(i, "data", "background-color") = "#ffffff";
- }
- } //end for(i=1 ;i<grd_patList.rows;i++){
-
- if(gbn == "Q" ) { //enter키
- if(grd_patList.rows > 1){ //환자가 없다.
- if(addPat){ //검체추가일경우 맨 마지막 검체 조회
- grd_patList.row= grd_patList.rows- 1;
- fPatListClick(grd_patList.rows- 1);
- }
- else{ //검체추가가 아닌 경우 첫번째 검체 조회
- grd_patList.row= 1;
- fPatListClick(1);
- }
- } // end if(grd_patList.rows > 1){
- } //end if(gbn == "Q" ) {
- } //end if(submit("TRLLR00201")) {
- }
-
- function fPatListClick(row){
- model.copyNode("/root/send/data1","/root/hidden/refparam") ;
- model.makeValue("/root/send/data1/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
- model.makeValue("/root/send/data1/bloodrsltflag","N");
- model.copyNode("/root/send/data2","/root/main/testpatlist/patlist["+row+"]");
- //model.makeValue("/root/send/data2/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
-
- submit("TRLLR80101");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
- model.copyNode("/root/send/data2","/root/hidden/default");
-
- model.setValue("/root/hidden/urinextrvol", model.getValue("/root/main/testpatlist/patlist["+ row +"]/urinextrvol"));
-
- if(grd_TestInfoCnts.rows > 1) {
-
- //검사항목 알림 내용 추가건에 따라 수정 변경요청 2147
- var vCnt = getNodesetCount("/root/init/LB0128");
- var sFlag = ""; //비교대상 (1:검사항목 알림, 2 : 결과비교하여 알림)
- var sTestCd = ""; //검사코드
- var sNm = "" //검사명 or 비교 할 결과
- var sMsg = " 검사가 있습니다. ";
- var sMsgList = ""; //최종 출력 할 내용
-
- //2017의 경우만 사용
- var vCol = ""; //검사결과에 해당하는 col
- var sRslt = ""; //검사결과
-
- for(i = 1; i <= vCnt; i++){
- sFlag = model.getValue("/root/init/LB0128[" + i + "]/etc01");
- sTestCd = model.getValue("/root/init/LB0128[" + i + "]/cd");
- sNm = model.getValue("/root/init/LB0128[" + i + "]/nm");
-
- if(sFlag == "1"){
- //alert(sTestCd + " = " + model.getXPathValue('count(/root/main/TestInfo/getTestInfoCnts[testcd="'+sTestCd+'"])'));
- if(model.getXPathValue('count(/root/main/TestInfo/getTestInfoCnts[testcd="'+sTestCd+'"])') != 0){
- sMsgList += sNm + sMsg + "\n";
- }
- }else{ //HIV(LIR124) 검사 결과가 Positive일 경우에 팝업 뜨게 해달라는 요구변경요청 2017
- if(model.getXPathValue('count(/root/main/TestInfo/getTestInfoCnts[testcd="'+sTestCd+'"])') != 0){
- vCol = grd_TestInfoCnts.findRow(sTestCd, 1, grd_TestInfoCnts.colRef("testcd"), true, true);
- sRslt = model.getValue("/root/main/TestInfo/getTestInfoCnts["+ vCol +"]/reptrslt");
- if(sRslt.toUpperCase().indexOf(sNm) != -1){
- sMsgList += model.getValue("/root/main/TestInfo/getTestInfoCnts["+ vCol +"]/tclsscrnm") + "결과가 " + sRslt + "입니다. \n";
- }
- }
- }
- }
- if(sMsgList != ""){
- messageBox(sMsgList,"I");
- }
-
- //model.getvalue("/root/init/LB0128/cd")
- /*var Morfind = grd_TestInfoCnts.findRow("LHR004", 1, 25, true, true);
- var Malfind1 = grd_TestInfoCnts.findRow("LHR117", 1, 25, true, true);
- var Malfind2 = grd_TestInfoCnts.findRow("LHR118", 1, 25, true, true);
- var Parafind = grd_TestInfoCnts.findRow("LHR115", 1, 25, true, true);
-
- if(Morfind > 0) {
- messageBox("Morphology 검사가 있습니다","I");
- }
-
- if(Malfind1 > 0 || Malfind2 > 0) {
- messageBox("Malaria 검사가 있습니다","I");
- }
-
- if(Parafind > 0) {
- messageBox("Parasites in Blood 검사가 있습니다","I");
- }*/
- }
-
- fRemakeList();
-
- //grd_TestInfoCnts.editCell();
-
- model.refresh();
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,527;1,746;1,506;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">검체별결과관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <caption id="caption16" class="tit_2" style="left:5px; top:205px; width:115px; height:13px; ">환자목록</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:220px; x2:320px; y2:220px; "/>
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:10px; width:320px; height:190px; "/>
- <caption id="caption4" class="search_name" style="left:15px; top:73px; width:94px; height:17px; ">작업일자 :</caption>
- <caption id="caption5" class="search_name" style="left:15px; top:121px; width:94px; height:17px; ">시행부서 :</caption>
- <caption id="caption1" class="search_name" style="left:15px; top:145px; width:94px; height:17px; ">결과구분 :</caption>
- <select1 id="combo2" ref="/root/hidden/refparam/rstflag" class="combo_default" appearance="minimal" style="left:105px; top:144px; width:200px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>미검사</label>
- <value>1</value>
- </item>
- <item>
- <label>미완료</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>3</value>
- </item>
- <item>
- <label>재검</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/hidden/refparam/sectcd" class="combo_default" appearance="minimal" style="left:105px; top:120px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var etc = model.getvalue("/root/hidden/refparam/sectcd");
-
- if(etc == "00"){
- combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
- model.setvalue("/root/hidden/refparam/tsectcd" , "00");
- combo4.disabled = true;
- }
- else{
- combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
- model.setvalue("/root/hidden/refparam/tsectcd" , "00");
- combo4.disabled = false;
- }
- combo4.refresh();
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/hidden/refparam/startdd" class="input_search" inputtype="date" style="left:105px; top:72px; width:90px; height:19px; "/>
- <caption id="caption2" class="search_no_b" style="left:240px; top:73px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <input id="input2" ref="/root/hidden/refparam/enddd" class="input_search" inputtype="date" style="left:105px; top:96px; width:90px; height:19px; "/>
- <button id="button6" class="btn1_letter2" style="left:249px; top:169px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOnclickBtnRef();
- ]]>
- </script>
- </button>
- <import id="import1" instancetype="merge" src="SSLLR80100_검사항목상세.xrw" style="left:325px; top:3px; width:870px; height:738px; "/>
- <line id="line13" class="line_4" style="x1:234px; y1:169px; x2:234px; y2:191px; "/>
- <select1 id="combo1" ref="/root/hidden/refparam/searchflag" class="combo_search" appearance="minimal" style="left:105px; top:18px; width:155px; height:19px; ">
- <choices>
- <item>
- <label>바코드번호</label>
- <value>1</value>
- </item>
- <item>
- <label>등록번호</label>
- <value>2</value>
- </item>
- <item>
- <label>환자성명</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var flag = model.getvalue("/root/hidden/refparam/searchflag");
-
- if(flag != "1"){
- if(flag == "3") {
- iptSearch.attribute("imemode") = "hangul";
- } else if(flag == "2") {
- iptSearch.attribute("imemode") = "alpha";
- }
- checkbox1.disabled = true;
- }
- else{
- iptSearch.attribute("imemode") = "alpha";
- checkbox1.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption18" class="search_name" style="left:15px; top:19px; width:94px; height:17px; ">검색구분 :</caption>
- <line id="line6" class="line_7" style="x1:14px; y1:66px; x2:299px; y2:66px; "/>
- <datagrid id="grd_patList" nodeset="/root/main/testpatlist/patlist" caption="^바코드번호^등록번호^성명^결과일시^접수일시^처방일자" colsep="^" colwidth="22, 103, 80, 74, 110, 110, 75" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:225px; width:320px; height:506px; ">
- <col ref="chk" style="text-align:center; "/>
- <col ref="bcno"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="spcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_patList.row;
- if(grd_patList.isCell(event.target) && grd_patList.row >= grd_patList.fixedRows ){
- if(row > 0){
- model.setValue("/root/hidden/urinextrvol", model.getValue("/root/main/testpatlist/patlist["+ row +"]/urinextrvol"));
- grd_TestInfoCnts.rebuildStyle();
- grd_TestInfoCnts.allStyle("all","background-color") = "#ffffff";
- fPatListClick(row);
-
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patList.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <input id="iptSearch" ref="/root/hidden/refparam/searchtext" class="input_button" navindex="1" imemode="alpha" inputtype="button" style="left:105px; top:42px; width:200px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fOnclickBtnRef("Q");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <select1 id="combo4" ref="/root/hidden/refparam/tsectcd" class="combo_default" appearance="minimal" style="left:195px; top:120px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox1" ref="/root/hidden/pat" overflow="visible" appearance="full" style="left:261px; top:20px; width:43px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getvalue("/root/hidden/pat") == "1"){
- model.removeNodeset("/root/main/testpatlist/patlist");
- btn_rowdel.attribute("visibility") = "visible";
- fSetClear2();
- } else {
- model.removeNodeset("/root/main/testpatlist/patlist");
- btn_rowdel.attribute("visibility") = "hidden";
- fSetClear2();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox2" ref="/root/hidden/refparam/erflag" overflow="visible" appearance="full" style="left:144px; top:171px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급검체만</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <input id="ipt_starttm" ref="/root/hidden/refparam/starttm" class="input_search" format="hh:nn" style="left:198px; top:72px; width:35px; height:19px; "/>
- <input id="ipt_endtm" ref="/root/hidden/refparam/endtm" class="input_search" format="hh:nn" style="left:198px; top:96px; width:35px; height:19px; "/>
- <select1 id="rdo_trobrslt" ref="/root/hidden/refparam/trobrslt" appearance="full" cols="3" overflow="visible" style="left:5px; top:171px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>All</label>
- <value>0</value>
- </item>
- <item>
- <label>Panic</label>
- <value>P</value>
- </item>
- <item>
- <label>Delta</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <button id="btn_rowdel" class="btn2_letter2" visibility="hidden" style="left:278px; top:201px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_patList.deleteRow(grd_patList.row);
-
- var row = grd_patList.row;
- if(grd_patList.row >= grd_patList.fixedRows ){
- if(row > 0){
- model.setValue("/root/hidden/urinextrvol", model.getValue("/root/main/testpatlist/patlist["+ row +"]/urinextrvol"));
- grd_TestInfoCnts.rebuildStyle();
- grd_TestInfoCnts.allStyle("all","background-color") = "#ffffff";
- fPatListClick(row);
-
- }
- }
- ]]>
- </script>
- </button>
- <button id="button52" class="btn2_letter4" style="left:200px; top:200px; width:64px; height:19px; ">
- <caption>패턴입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPLRR91720","","","","","","/root/send/pid");
- // modal("SPLRR91720","","","","","/root/main/testinfo/spcltestinfo/pid","/root/send/pid");
- ]]>
- </script>
- </button>
- <button id="button38" class="btn2_letter4" style="left:130px; top:200px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>환자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //window.load("SPLRR90700.xrw","mdichild","","left:100; top:100; width:400; height:400; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- //window.children.item("SPLRR90700").activate();
- open("SMLLP00100");
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_MdlRept" class="btn4_letter6" visibility="hidden" style="left:543px; top:3px; width:104px; height:22px; ">
- <caption>중간예비보고</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetMdlRept();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn3_letter6" style="left:58px; top:3px; width:104px; height:22px; ">
- <caption>특이결과등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSpcfRsltSave();
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter7" style="left:163px; top:3px; width:116px; height:22px; ">
- <caption>부적합검체등록</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //window.load("SMLLJ90100_부적합검체등록.xrw","modeless", "", "width:360px; height:465;min:hidden;max:hidden;align:center");
- //modal("SPLLJ90100");
- if(model.getValue("/root/main/TestInfo/getSpcInfo/bcno") != ""){
- model.makeValue("/root/hidden/bcno", model.getValue("/root/main/TestInfo/getSpcInfo/bcno"));
- }else{
- model.makeValue("/root/hidden/bcno", "");
- }
-
- modal("SPLLJ90100_부적합검체등록","","","","","/root/hidden/bcno","/root/hidden/bcno");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn3_letter4" style="left:1046px; top:3px; width:80px; height:22px; ">
- <caption>TAT조회</caption>
- </button>
- <button id="button5" class="btn3_letter4" style="left:965px; top:3px; width:80px; height:22px; ">
- <caption>이력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //setParameter ( "SMMMO02500_cond", model.getvalue("/root/hidden/JoHoiFlag/regnopatnm")+ "▩");
- setParameter ( "SMMMO02500_cond", getPatientInfo("pid"));
- open ( "SMMMO02500" );
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_rsltsave" class="btn4_letter4" style="left:406px; top:3px; width:80px; height:22px; ">
- <caption>예비결과</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave();
- ]]>
- </script>
- </button>
- <button id="btn_LstRept" accesskey="f4" class="btn4_letter4" style="left:325px; top:3px; width:80px; height:22px; ">
- <caption>최종보고</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetLstRept();
- ]]>
- </script>
- <script type="javascript" ev:event="onaccesskey">
- <![CDATA[
- fSetLstRept();
- ]]>
- </script>
- </button>
- <button id="btn_cle" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetClear();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn4_letter2" style="left:487px; top:3px; width:56px; height:22px; ">
- <caption>재검</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsJeaGeom();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter5" style="left:872px; top:3px; width:92px; height:22px; ">
- <caption>Diff. 계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //setParameter ( "SMMMO02500_cond", model.getvalue("/root/hidden/JoHoiFlag/regnopatnm")+ "▩");
- open ( "SMLLR90800" );
- ]]>
- </script>
- </button>
- </group>
- <!-- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script> -->
- <script type="javascript" ev:event="onmenu">
- <![CDATA[
-
- var popupParam = event.description;
- fOnmenu(popupParam);
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|