123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLRR90700_특수검사환자조회.xrw
- * 설 명 : 특수검사환자조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 윤재한
- * 작 성 일 : 2007.11.05
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="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>
- <main>
- <patlist>
- <img/>
- <spclno/>
- <pid/>
- <patnm/>
- <tclsscrnnm/>
- <bcno/>
- <testcd/>
- </patlist>
- </main>
- <send>
- <data1/>
- <data2/>
- </send>
- <init>
- </init>
- <hidden>
- <splgrop>
- <searchflag>1</searchflag>
- <searchtext/>
- <startdd/>
- <enddd/>
- <spcltestgrupcd/>
- <testgrupcd/>
- <rstflag/>
- <sworkseq/>
- <eworkseq/>
- <refgbn/>
- <text/>
- </splgrop>
- <testgroup>
- <searchflag>1</searchflag>
- <searchtext/>
- <startdd/>
- <enddd/>
- <sworkseq/>
- <eworkseq/>
- <workcd/>
- <rstflag/>
- <refgbn/>
- <text/>
- <formkind>-</formkind>
- <sort/>
- </testgroup>
- <refparam>
- <refflag/>
- <refflag2/>
- </refparam>
- <ref>
- <tclscdlist>
- <tclscdlist/>
- <tclsnmlist/>
- <tclscdlist2/>
- <testgrup/>
- </tclscdlist>
- </ref>
- <newElement/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLRR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patlist"/>
- <submission id="TRLZZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0103"/>
- <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 fExeCancel(flag){
- if(flag == "C") {
- window.opener.model.makevalue("/root/hidden/patrefflag", "C");
- }
-
- window.close();
- }
-
- //초기화
- function fSetInit(ref) {
-
- if(ref != 2) {
- model.setvalue("/root/hidden/splgrop/spcltestgrupcd" , "00");
- // datagrid3.fixedcellcheckbox(0,1)=true;
- var startdate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-7);
- model.setvalue("/root/hidden/splgrop/startdd",startdate.getDateFormat("YYYYMMDD"));
- model.setvalue("/root/hidden/splgrop/enddd",getCurrentDate());
-
- model.setvalue("/root/hidden/testgroup/startdd",startdate.getDateFormat("YYYYMMDD"));
- model.setvalue("/root/hidden/testgroup/enddd",getCurrentDate());
-
- model.setValue("/root/hidden/testgroup/refgbn", "1");
- model.setValue("/root/hidden/testgroup/rstflag", "1");
- model.setValue("/root/hidden/testgroup/sort", "0");
- model.setValue("/root/hidden/testgroup/sworkseq", "00000");
- model.setValue("/root/hidden/testgroup/eworkseq", "99999");
-
- model.setValue("/root/hidden/splgrop/refgbn", "1");
- model.setValue("/root/hidden/splgrop/rstflag", "1");
- model.setValue("/root/hidden/splgrop/sworkseq", "00001");
- model.setValue("/root/hidden/splgrop/eworkseq", "99999");
-
- model.setvalue("/root/hidden/refparam/refflag" , "2");
- model.setvalue("/root/hidden/refparam/refflag2" , "2");
-
- model.toggle("testitem");
- // grd_patList.colHidden(4) = true;
- }
- fBaseInfoRef("0103|0901|9991|");
- model.setValue("/root/hidden/testgroup/workcd", model.getValue("/root/hidden/ref/tclscdlist/testgrup"));
-
- if(btn_spclgrop.selected) {
- model.setFocus("ipt_spltext");
- } else {
- model.setFocus("ipt_testtext");
- }
-
- model.refresh();
-
- }
-
- function fPatChio(grd){
- gridObj = document.all(grd);
-
- var row = gridObj.row;
- //alert(row);
- if(model.getValue("/root/hidden/refparam/refflag") == "2") { //검사항목별 조회일때
-
- var dryn = model.getValue("/root/main/patlist["+row+"]/descrsltyn"); //서식 입력 여부
- var fyn = model.getValue("/root/main/patlist["+row+"]/form"); //서식 입력 할 검사항목 여부
- var rsltstat = model.getValue("/root/main/patlist["+row+"]/rsltstat"); //서식 입력 할 검사항목 여부
- var formkind = model.getValue("/root/main/patlist["+row+"]/spclrsltformkind"); //화면 종류
- if(rsltstat == "-") { //결과저장이 안된 경우
- if(fyn != "Y") { //결과 저장할 검사가 아닌 경우
- if((formkind == "08") || (formkind == "02") || (formkind == "03") ||(formkind == "14") ||(formkind == "99")) { //EP, 분자, 세포, fish, 범용은 검사항목당 서식 입력
- } else { //나머지는 바코드 하나당 서식 입력.
- messageBox("이 검사항목에 서식입력을", "E001");
- return;
- }
- }
- }
- /*else { //결과 저장이 된 경우
- if(dryn != "Y") { //결과저장이 안된 경우
- messageBox("서식입력 된 검사항목과", "E004");
- return;
- }
- }*/
- }
-
- var grup = window.opener.model.getValue("/root/main/rslt/desc/rslt/refflag");
- var ngrup = model.getValue("/root/main/patlist["+ row +"]/spclrsltformkind");
-
- //var testcd = model.getValue("/root/main/patlist["+ grd_patList.row +"]/testcd");
- //if(ngrup == "" && (testcd == "LPD197" || testcd == "LPD181")) {
- // ngrup = "mole";
- //} else if(ngrup == "" && (testcd == "LDR109" || testcd == "LDR145")) {
- // ngrup = "cell";
- //} else if(ngrup == "" && testcd.substr(0, 5) == "LIP16") {
- // ngrup = "PRA";
- //}else if(ngrup == "" && testcd.substr(0, 5) == "LIP15") {
- // ngrup = "CM";
- //}
-
- window.opener.model.makevalue("/root/hidden/refflag/bcno", model.getvalue("/root/main/patlist["+row+"]/bcno"));
- window.opener.model.makevalue("/root/hidden/refflag/testcd", model.getvalue("/root/main/patlist["+row+"]/testcd"));
- window.opener.model.makevalue("/root/hidden/refflag/prcpgenrflag", model.getvalue("/root/main/patlist["+row+"]/prcpgenrflag"));
- window.opener.model.makevalue("/root/hidden/ref/text", model.getvalue("/root/main/patlist["+row+"]/spcltestseqno"));
- window.opener.model.makevalue("/root/hidden/ref/refgbn", "1");
- window.opener.model.makevalue("/root/hidden/ref/parentyn", model.getvalue("/root/main/patlist["+row+"]/parentyn")); //parent 조회여부
-
- if(grup != ngrup) {
- window.opener.model.resetInstanceNode("/root/main/rslt");
- //window.opener.model.makeNode("/root/main/rslt/desc/rslt/refflag");
-
- window.opener.model.makeValue("/root/main/rslt/desc/rslt/refflag", ngrup);
- window.opener.javascript.fTranscrn();
- }else {
- window.opener.model.resetInstanceNode("/root/main/rslt");
- //window.opener.model.makeNode("/root/main/rslt/desc/rslt/refflag");
-
- window.opener.model.setValue("/root/main/rslt/desc/rslt/refflag", grup);
- window.opener.javascript.fTranscrn();
- }
- activateOpener();
- window.opener.model.makevalue("/root/hidden/ref/spclno", model.getvalue("/root/main/patlist["+row+"]/spcyy"));
- window.opener.model.makevalue("/root/hidden/refflag/spclrsltformkind", model.getvalue("/root/main/patlist["+row+"]/spclrsltformkind"));
- window.opener.input1.attribute("visibility") = "visible";
- window.opener.javascript.fOnclick_grd_patList();
- //window.opener.javascript.navigate("SMLRR00400");
-
- //fExeCancel();
- }
- // function fPatChio2(grd){
- // gridObj = document.all(grd);
- // gridObj.row = 1;
- // var row = gridObj.row;
- //
- // if(model.getValue("/root/hidden/refparam/refflag") == "2") { //검사항목별 조회일때
- //
- // var dryn = model.getValue("/root/main/patlist["+row+"]/descrsltyn"); //서식 입력 여부
- // var fyn = model.getValue("/root/main/patlist["+row+"]/form"); //서식 입력 할 검사항목 여부
- // var rsltstat = model.getValue("/root/main/patlist["+row+"]/rsltstat"); //서식 입력 할 검사항목 여부
- // var formkind = model.getValue("/root/main/patlist["+row+"]/spclrsltformkind"); //화면 종류
- //
- // if(rsltstat == "-") { //결과저장이 안된 경우
- // if(fyn != "Y") { //결과 저장할 검사가 아닌 경우
- // if((formkind == "08") || (formkind == "02") || (formkind == "03") ||(formkind == "14") ||(formkind == "99")) { //EP, 분자, 세포, fish, 범용은 검사항목당 서식 입력
- // } else { //나머지는 바코드 하나당 서식 입력.
- // messageBox("이 검사항목에 서식입력을", "E001");
- // return;
- // }
- // }
- // }
- // /*else { //결과 저장이 된 경우
- // if(dryn != "Y") { //결과저장이 안된 경우
- // messageBox("서식입력 된 검사항목과", "E004");
- // return;
- // }
- // }*/
- // }
- //
- // var grup = window.opener.model.getValue("/root/main/rslt/desc/rslt/refflag");
- // var ngrup = model.getValue("/root/main/patlist["+ row +"]/spclrsltformkind");
- //
- // //var testcd = model.getValue("/root/main/patlist["+ grd_patList.row +"]/testcd");
- // //if(ngrup == "" && (testcd == "LPD197" || testcd == "LPD181")) {
- // // ngrup = "mole";
- // //} else if(ngrup == "" && (testcd == "LDR109" || testcd == "LDR145")) {
- // // ngrup = "cell";
- // //} else if(ngrup == "" && testcd.substr(0, 5) == "LIP16") {
- // // ngrup = "PRA";
- // //}else if(ngrup == "" && testcd.substr(0, 5) == "LIP15") {
- // // ngrup = "CM";
- // //}
- //
- // window.opener.model.makevalue("/root/hidden/refflag/bcno", model.getvalue("/root/main/patlist["+row+"]/bcno"));
- // window.opener.model.makevalue("/root/hidden/refflag/testcd", model.getvalue("/root/main/patlist["+row+"]/testcd"));
- // window.opener.model.makevalue("/root/hidden/refflag/prcpgenrflag", model.getvalue("/root/main/patlist["+row+"]/prcpgenrflag"));
- // window.opener.model.makevalue("/root/hidden/ref/text", model.getvalue("/root/main/patlist["+row+"]/spcltestseqno"));
- // window.opener.model.makevalue("/root/hidden/ref/refgbn", "1");
- //
- // if(grup != ngrup) {
- // window.opener.model.resetInstanceNode("/root/main/rslt");
- // //window.opener.model.makeNode("/root/main/rslt/desc/rslt/refflag");
- //
- // window.opener.model.makeValue("/root/main/rslt/desc/rslt/refflag", ngrup);
- // window.opener.javascript.fTranscrn();
- // }else {
- // window.opener.model.resetInstanceNode("/root/main/rslt");
- // //window.opener.model.makeNode("/root/main/rslt/desc/rslt/refflag");
- //
- // window.opener.model.setValue("/root/main/rslt/desc/rslt/refflag", grup);
- // window.opener.javascript.fTranscrn();
- // }
- // activateOpener();
- // window.opener.model.makevalue("/root/hidden/ref/spclno", model.getvalue("/root/main/patlist["+row+"]/spcyy"));
- // window.opener.model.makevalue("/root/hidden/refflag/spclrsltformkind", model.getvalue("/root/main/patlist["+row+"]/spclrsltformkind"));
- // window.opener.input1.attribute("visibility") = "visible";
- // window.opener.javascript.fOnclick_grd_patList();
- // //window.opener.javascript.navigate("SMLRR00400");
- //
- // //fExeCancel();
- // }
- function fInputKeyup(){
- if(event.keyCode == "13"){
- if(event.target =="ipt_spltext") {
- model.setvalue("/root/hidden/splgrop/text", ipt_spltext.currentText.toUpperCase());
- model.refresh();
- Onclick_btnRef();
- ipt_spltext.selBegin = 0;
- ipt_spltext.selEnd = ipt_spltext.currentText.length;
- }
- if(event.target =="ipt_testtext") {
- model.setvalue("/root/hidden/testgroup/text", ipt_testtext.currentText.toUpperCase());
- model.refresh();
- Onclick_btnRef();
- ipt_testtext.selBegin = 0;
- ipt_testtext.selEnd = ipt_testtext.currentText.length;
- }
-
- }
- }
-
- //그리드 초기화
- function fSetClear(){
-
- model.removeNodeset("/root/main/patlist");
- model.resetInstanceNode("/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/main/testinfo/detailtestinfo");
-
- model.refresh();
- }
-
- //환자조회
- function Onclick_btnRef(flag){
- fSetClear();
-
- if(flag == "R") { //조회버튼 누른 경우
- model.setValue("/root/hidden/splgrop/text", "");
- model.setValue("/root/hidden/testgroup/text", "");
- }
- //세포유전이면 정렬방식 접수일시
- if(model.getValue("/root/hidden/testgroup/formkind") == "03"){
- model.setValue("/root/hidden/testgroup/sort", "5");
- }
- var refGbn = model.getvalue("/root/hidden/refparam/refflag"); //특수검사그룹별 조회냐 검사항목별 조회냐
-
- if (refGbn == "1"){
- gridid = "grd_spclpatlist";
- model.copyNode("/root/send/data1","/root/hidden/splgrop");
- }
- else if(refGbn == "2"){
- gridid = "grd_testpatList";
- //alert(gridObj);
- if(model.getValue("/root/hidden/testgroup/formkind") == "-" && flag == "R"){ //조회버튼 클릭일때 특수검사입력유형이 선택되지 않았을때
- messageBox("특수검사 입력유형을 선택하세요!", "E");
- return;
- }
- model.copyNode("/root/send/data1","/root/hidden/testgroup");
- }
- model.copyNode("/root/send/data2","/root/hidden/refparam");
-
- submit("TRLRR00101");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
- model.copyNode("/root/send/data2","/root/hidden/default");
-
- gridObj = document.all(gridid);
-
- var rows = gridObj.rows;
-
- for(i=1; i < rows; i++){
- if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "-"){
- gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_N.gif";
- gridObj.cellstyle("background-position", i, 1) = "center"
- }else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "1"){
- gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_1.gif";
- gridObj.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "2"){
- gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_2gif";
- gridObj.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "4"
- || model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "5"
- || model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "6"){
- gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_3.gif";
- gridObj.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "3"){
- gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_F.gif";
- gridObj.cellstyle("background-position", i, 1) = "center"
- }
-
- if(model.getvalue("/root/main/patlist["+i+"]/imagrsltyn") == "Y"){
- gridObj.cellstyle("background-image", i, 3) = "../../../com/commonweb/images/icon_picture.gif";
- gridObj.cellstyle("background-position", i, 3) = "center"
- }
-
- if(model.getValue("/root/hidden/refparam/refflag") == "2") {
- if(model.getValue("/root/main/patlist["+i+"]/descrsltyn") == "Y") {
- gridObj.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/icnRPTY.gif";
- gridObj.cellstyle("background-position", i, 2) = "center" ;
- } else if(model.getValue("/root/main/patlist["+i+"]/form") == "Y") {
- gridObj.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/chkRPT0.gif";
- gridObj.cellstyle("background-position", i, 2) = "center" ;
- }
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="350" pageheight="800" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:13px; width:320px; height:720px; ">
- <button id="btn_testitem" class="btn_sw" group="tab" selected="true" style="left:100px; top:10px; width:100px; height:22px; color:#000000; ">
- <caption>검사항목별</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setvalue("/root/hidden/refparam/refflag","2");
- model.toggle("testitem");
- fSetClear();
- ]]>
- </script>
- </button>
- <button id="btn_spclgrop" class="btn_sw" group="tab" style="left:0px; top:10px; width:100px; height:22px; color:#000000; ">
- <caption>특수검사그룹별</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setvalue("/root/hidden/refparam/refflag","1");
- model.toggle("spclgrop");
- fSetClear();
- ]]>
- </script>
- </button>
- <switch id="switch1" class="sw_box" style="left:0px; top:31px; width:320px; height:689px; ">
- <case id="spclgrop">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:4px; top:4px; width:310px; height:159px; "/>
- <caption id="caption2" class="search_name" style="left:14px; top:62px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">접수일자 :</caption>
- <caption id="caption4" class="search_name" style="left:14px; top:86px; width:112px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">특수검사그룹 :</caption>
- <input id="ipt_splsdd" ref="/root/hidden/splgrop/startdd" class="input_search" inputtype="date" style="left:105px; top:61px; width:89px; height:19px; "/>
- <input id="ipt_spledd" ref="/root/hidden/splgrop/enddd" class="input_search" inputtype="date" style="left:210px; top:61px; width:89px; height:19px; "/>
- <caption id="caption7" class="search_no_b" style="left:196px; top:62px; width:15px; height:17px; ">~</caption>
- <select1 id="cmb_splgrop" ref="/root/hidden/splgrop/spcltestgrupcd" class="combo_search" appearance="minimal" style="left:129px; top:85px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0901">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line13" class="line_4" style="x1:228px; y1:134px; x2:228px; y2:156px; "/>
- <button id="button1" class="btn1_letter2" style="left:243px; top:134px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- Onclick_btnRef("R");
- ]]>
- </script>
- </button>
- <caption id="caption18" class="search_name" style="left:14px; top:134px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">결과구분 :</caption>
- <select1 id="rsltflag" ref="/root/hidden/splgrop/rstflag" class="combo_search" appearance="minimal" style="left:130px; top:133px; width:73px; 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>
- <caption id="caption5" class="search_name" style="left:14px; top:110px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">일련번호 :</caption>
- <caption id="caption17" class="search_no_b" style="left:208px; top:108px; width:15px; height:17px; ">~</caption>
- <input id="ipt_splsseq" ref="/root/hidden/splgrop/sworkseq" class="input_search" style="left:129px; top:109px; width:75px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var sNo = model.getvalue("/root/hidden/splgrop/sworkseq");
- sNo = sNo.getLeftPad(5,0);
-
- model.setvalue("/root/hidden/splgrop/sworkseq" , sNo) ;
- ipt_splsseq.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_spleseq" ref="/root/hidden/splgrop/eworkseq" class="input_search" style="left:224px; top:109px; width:75px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var sNo = model.getvalue("/root/hidden/splgrop/eworkseq");
- sNo = sNo.getLeftPad(5,0);
-
- model.setvalue("/root/hidden/splgrop/eworkseq" , sNo) ;
- ipt_spleseq.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_spcrefflag" ref="/root/hidden/splgrop/refgbn" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:195px; 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[
- if(model.getValue("/root/hidden/splgrop/refgbn")=="3"){
- ipt_spltext.attribute("imemode") = "hangul";
- }else{
- ipt_spltext.attribute("imemode") = "alpha";
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_spltext" ref="/root/hidden/splgrop/text" class="input_button" navindex="1" inputtype="button" style="left:105px; top:32px; width:195px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.setValue("/root/hidden/splgrop/text", ipt_spltext.currentText.toUpperCase());
- Onclick_btnRef();
- ]]>
- </script>
- </input>
- <caption id="caption127" class="search_name" style="left:15px; top:9px; width:94px; height:17px; ">검색구분 :</caption>
- <line id="line89" class="line_7" style="x1:14px; y1:56px; x2:299px; y2:56px; "/>
- <datagrid id="grd_spclpatlist" nodeset="/root/main/patlist" caption="^^특수검사번호^등록번호^성명^검사명^검체번호^testcd^rsltstat^imagrsltyn^spcltestkind^spcltestseqno^spcyy^prcpgenrflag^spclrsltformkind^form^descrsltyn" colsep="^" colwidth="22, 21, 111, 71, 62, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:193px; width:314px; height:483px; ">
- <col ref="img"/>
- <col/>
- <col ref="spclno"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="tclsscrnnm"/>
- <col ref="bcno"/>
- <col ref="testcd"/>
- <col ref="rsltstat"/>
- <col ref="imagrsltyn"/>
- <col ref="spcltestkind"/>
- <col ref="spcltestseqno"/>
- <col ref="spcyy"/>
- <col ref="prcpgenrflag"/>
- <col ref="spclrsltformkind"/>
- <col ref="form"/>
- <col ref="descrsltyn"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fPatChio("grd_spclpatlist");
- ]]>
- </script>
- </datagrid>
- <caption id="caption6" class="tit_2" style="left:5px; top:172px; width:115px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:188px; x2:314px; y2:188px; "/>
- </case>
- <case id="testitem" selected="true">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:4px; top:4px; width:310px; height:182px; "/>
- <caption id="caption8" class="search_name" style="left:14px; top:62px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업일자 :</caption>
- <caption id="caption9" class="search_name" style="left:14px; top:86px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업그룹 :</caption>
- <caption id="caption10" class="search_name" style="left:14px; top:133px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업번호 :</caption>
- <input id="ipt_testsseq" ref="/root/hidden/testgroup/sworkseq" class="input_search" style="left:105px; top:132px; width:89px; height:19px; "/>
- <input id="ipt_testeseq" ref="/root/hidden/testgroup/eworkseq" class="input_search" style="left:210px; top:132px; width:89px; height:19px; "/>
- <input id="ipt_testsdd" ref="/root/hidden/testgroup/startdd" class="input_search" inputtype="date" style="left:105px; top:61px; width:89px; height:19px; "/>
- <input id="ipt_testedd" ref="/root/hidden/testgroup/enddd" class="input_search" inputtype="date" style="left:210px; top:61px; width:89px; height:19px; "/>
- <caption id="caption11" class="search_no_b" style="left:196px; top:62px; width:15px; height:17px; ">~</caption>
- <caption id="caption12" class="search_no_b" style="left:196px; top:134px; width:15px; height:17px; ">~</caption>
- <line id="line3" class="line_4" style="x1:228px; y1:157px; x2:228px; y2:179px; "/>
- <button id="button19" class="btn1_letter2" style="left:243px; top:157px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- Onclick_btnRef("R");
- ]]>
- </script>
- </button>
- <select1 id="cmb_rsltflag_test" ref="/root/hidden/testgroup/rstflag" class="combo_search" appearance="minimal" style="left:105px; top:156px; width:88px; 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>
- <caption id="caption3" class="search_name" style="left:14px; top:157px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">결과구분 :</caption>
- <select1 id="cmb_testgrop" ref="/root/hidden/testgroup/workcd" class="combo_search" appearance="minimal" style="left:105px; top:85px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0103">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button61" class="icon_search" style="left:280px; top:85px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/ref/tclscdlist/testgrup", model.getValue("/root/hidden/testgroup/workcd"));
- modal("SMLLF90400", 200, 300, 200, "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
-
- fBaseInfoRef2("0103|");
- ]]>
- </script>
- </button>
- <caption id="caption128" class="search_name" style="left:15px; top:9px; width:94px; height:17px; ">검색구분 :</caption>
- <line id="line90" class="line_7" style="x1:14px; y1:56px; x2:299px; y2:56px; "/>
- <select1 id="cmb_testrefflag" ref="/root/hidden/testgroup/refgbn" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:190px; 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[
-
- if(model.getValue("/root/hidden/testgroup/refgbn")=="3"){
- ipt_testtext.attribute("imemode") = "hangul";
- }else{
- ipt_testtext.attribute("imemode") = "alpha";
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_testtext" ref="/root/hidden/testgroup/text" class="input_button" navindex="1" inputtype="button" style="left:105px; top:32px; width:195px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.setValue("/root/hidden/testgroup/text", ipt_testtext.currentText.toUpperCase());
- Onclick_btnRef();
- ]]>
- </script>
- </input>
- <input id="ipt_tclscdlist" visibility="hidden" style="left:140px; top:145px; width:100px; height:19px; "/>
- <datagrid id="grd_testpatList" nodeset="/root/main/patlist" caption="^^^등록번호^성명^검사명^검체번호^접수일시^testcd^rsltstat^imagrsltyn^spcltestkind^spcltestseqno^spclno^spcyy^prcpgenrflag^spclrsltformkind^form^descrsltyn" colsep="^" colwidth="22, 21, 21, 71, 62, 100, 100, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:216px; width:314px; height:460px; ">
- <col ref="img"/>
- <col/>
- <col/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="tclsscrnnm"/>
- <col ref="bcno"/>
- <col ref="spcacptdt" format="9999-99-99 99:99:99"/>
- <col ref="testcd"/>
- <col ref="rsltstat"/>
- <col ref="imagrsltyn"/>
- <col ref="spcltestkind"/>
- <col ref="spcltestseqno"/>
- <col ref="spclno"/>
- <col ref="spcyy"/>
- <col ref="prcpgenrflag"/>
- <col ref="spclrsltformkind"/>
- <col ref="form"/>
- <col ref="descrsltyn"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fPatChio("grd_testpatList");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_testpatList.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption16" class="tit_2" style="left:5px; top:195px; width:115px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자목록</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:211px; x2:314px; y2:211px; "/>
- <select1 id="combo1" ref="/root/hidden/testgroup/formkind" class="combo_search" appearance="minimal" style="left:105px; top:108px; width:195px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB9991">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="search_name" style="left:14px; top:109px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">입력유형 :</caption>
- <select1 id="combo2" ref="/root/hidden/testgroup/sort" class="combo_search" appearance="minimal" style="left:195px; top:189px; width:117px; 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>
- <item>
- <label>접수일시</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- </case>
- </switch>
- </group>
- <group id="group3" style="left:0px; top:736px; width:320px; height:27px; ">
- <button id="button2" class="btn4_letter2" style="left:205px; top:5px; width:56px; height:22px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var refGbn = model.getvalue("/root/hidden/refparam/refflag"); //특수검사그룹별 조회냐 검사항목별 조회냐
-
- if (refGbn == "1"){
- fPatChio("grd_spclpatlist");
- }
- else if(refGbn == "2"){
- fPatChio("grd_testpatList");
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:320px; y2:0px; "/>
- <button id="button5" class="btn4_letter2" style="left:264px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeCancel("C");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:320px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:160px; height:13px; ">특수검사환자조회</caption>
- </group>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fInputKeyup();
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|