123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLP00900_결과조회.xrw
- * 설 명 : 결과조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2007.06.15
- * 수정이력 :
- * 기 타 :
- -->
- <?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/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <getRsltBacList>
- <workno/>
- <pid/>
- <patnm/>
- <prcpdd/>
- <spcacptdt/>
- <lastreptdt/>
- <tclsnm/>
- <lastreptid/>
- <bcno/>
- </getRsltBacList>
- <getResultDetail>
- <reptrslt/>
- </getResultDetail>
- <testgrupdetl>
- <chk/>
- <tclsnm/>
- <tclscd/>
- </testgrupdetl>
- <barcdprntsetup/>
- </main>
- <send>
- <data1/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <startdd/>
- <enddd/>
- <searchtext/>
- <refflag>1</refflag>
- <baccd>00</baccd>
- <getflag>2</getflag>
- <tclscdlist>
- <tclscdlist/>
- <tclsnmlist/>
- <tclscdlist2/>
- <testgrup/>
- </tclscdlist>
- <ioflag>0</ioflag>
- <growthyn>0</growthyn>
- <tclscd/>
- <orddept>00</orddept>
- <testmdlcd>00</testmdlcd>
- <workgroup>00</workgroup>
- <rsltstat/>
- </ref>
- <bcnoinfo/>
- <rsltstatchk>
- <rslt1/>
- <rslt2/>
- <rslt3>0</rslt3>
- <rsltall/>
- </rsltstatchk>
- <barcd/>
- <pid/>
- <micropid>
- <pid/>
- </micropid>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fSetInit2();
- ]]>
- </script>
- <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/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRLMP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getRsltBacList"/>
- <submission id="TRLMP00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getResultDetail"/>
- <submission id="TRLZZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/barcd"/>
- <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetInit2() {
-
- var Today = getCurrentDate();
- var BfDay = getCurrentDate().toDate("YYYYMMDD").getAddDate(-15)
- model.removeNodeset("/root/main/getRsltBacList");
- model.removeNodeset("/root/main/getResultDetail");
- model.setvalue("/root/hidden/ref/startdd",BfDay.getDateFormat("YYYYMMDD"));
- model.setvalue("/root/hidden/ref/enddd",Today);
- lzzfMakeBrcdPrntObjHanDo("CommAX");
- model.makeValue("/root/send/scrnid", getScreenID());
- submit("TRLLC90101");
- fBaseInfoRef("0103|0002|0112|0113|");
- }
-
-
- //프린터 설정
- function fSetPrint() {
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
- open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
-
-
- function fGetResultListRef(){
-
-
-
-
-
- model.removeNodeset("/root/main/getRsltBacList");
- model.removeNodeset("/root/main/getResultDetail");
-
- var rslt1 = model.getValue("/root/hidden/rsltstatchk/rslt1");
- var rslt2 = model.getValue("/root/hidden/rsltstatchk/rslt2");
- var rslt3 = model.getValue("/root/hidden/rsltstatchk/rslt3");
- var rsltall = model.getValue("/root/hidden/rsltstatchk/rsltall");
-
-
- if(rslt1 == "0" && rslt2 == "0"){
- model.setValue("/root/hidden/ref/rsltstat" , "3");
- }else if(rslt1 == "0" && rslt2 != "0"){
- model.setValue("/root/hidden/ref/rsltstat" , "1");
- }else if(rslt1 != "0" && rslt2 == "0"){
- model.setValue("/root/hidden/ref/rsltstat" , "2");
- }else if(rslt3 == "0"){
- model.setValue("/root/hidden/ref/rsltstat" , "4");
- }else if(rsltall == "0"){
- model.setValue("/root/hidden/ref/rsltstat" , "5");
- }else{
- alert("결과상태를 선택하여 주십시오.");
- return;
- }
-
- model.setValue("/root/hidden/bcnoinfo", "");
- model.setValue("/root/hidden/ref/tclscd", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
-
-
-
-
-
- submit("TRLMP00401");
-
-
- fSetMakeTree();
-
-
-
- }
-
- function fSetMakeTree(){
-
-
- var GBN = model.getValue("/root/hidden/ref/refflag");
- var BCNO = model.getValue("/root/hidden/ref/searchtext");
-
-
- if(GBN == 3){
- for(a = 1 ; a < getRsltBacList.rows ; a++){
- if(model.getValue("/root/main/getRsltBacList["+a+"]/bcno") == BCNO){
- getRsltBacList.row = a;
- getRsltBacList.topRow = a;
- fClickResultList();
-
- return;
- }
- }
- }else{
- if(getRsltBacList.rows > 1){
- getRsltBacList.row = 1;
- fClickResultList();
- }
- }
-
- /*
- for(var i = 1; i < grd_spclist.rows; i++) {
-
- grd_spclist.IsSubtotal(i) = true;
- grd_spclist.outlinelevel(i) = grd_spclist.valueMatrix(i,1);
- }
- grd_spclist.OutlineCol = 0;
- grd_spclist.OutlineBar = 4;
- */
-
- }
-
- function fPidRef(){
- if(event.keyCode == "13"){
- if(event.target == "iptSearch"){
-
- model.setvalue("/root/hidden/ref/searchtext",(iptSearch.currentText).toUpperCase());
- //model.refresh();
-
- fGetResultListRef();
-
- model.setFocus("iptSearch");
-
- iptSearch.selBegin = 0;
- iptSearch.selEnd = iptSearch.currentText.length;
-
-
- }
- }
-
- }
-
- function fClickResultList(){
-
- var row = getRsltBacList.row;
-
- model.setValue("/root/hidden/bcnoinfo", model.getValue("/root/main/getRsltBacList["+row+"]/bcno"));
-
-
- fUpPatinfo();
-
-
- //var sLevel = model.getvalue("/root/main/getResultList["+row+"]/level");
-
- //if(sLevel == "1") return;
- model.removeNodeset("/root/main/getResultDetail");
- datagrid1.rebuildStyle();
-
- model.copyNode("/root/send/data1" , "/root/main/getRsltBacList["+row+"]");
-
-
-
-
- submit("TRLMP00402");
-
- initGridStyle("datagrid1");
- setRowStyleSep("datagrid1", "0", "B", "judgmark2", "equal");
-
- fGrdRemake();
-
-
- }
-
-
-
- function fUpPatinfo(){
- var row = getRsltBacList.row;
-
- if(getPatientInfo("pid") != model.getValue("/root/main/getRsltBacList["+row+"]/pid")) {
- if(getRsltBacList.rows> 1){
- setParameter("errflag", "Y");
- setParameter("condparam", "S" + "▦" + model.getvalue("/root/main/getRsltBacList["+row+"]/prcpdd")+ "▦"
- + model.getvalue("/root/main/getRsltBacList["+row+"]/execprcpuniqno") + "▦"
- + model.getvalue("/root/main/getRsltBacList["+row+"]/instcd") );
-
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
-
- var paminfo = getGlobalVariable("paminfo");
- if((paminfo.length < 0) || (getPatientInfo("pid") != model.getValue("/root/main/getRsltBacList["+row+"]/pid"))){ //상단정보가 없는 경우
- delPatientInfos(); //환자정보 전체 삭제
-
- var pid = model.getValue("/root/main/getRsltBacList["+row+"]/pid")
- var hngnm = model.getValue("/root/main/getRsltBacList["+row+"]/patnm");
- //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
-
- setPatientInfo("pid" , pid); //등록번호
- setPatientInfo("pname" , pid + "|" + hngnm); //환자명
- }
- }
- }
-
-
-
-
- // 엑셀 저장
-
- function fExeSaveExcel(flag){
- if(flag == "list") {
- var fileName = window.fileDialog("save", ",", false, "결과리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- getRsltBacList.saveExcel(fileName);
- }
- } else if(flag == "dtlist") {
- var fileName = window.fileDialog("save", ",", false, "결과상세리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- datagrid1.saveExcel(fileName);
- }
- }
- }
-
- function fGrdRemake(){
- for(i=1;i<datagrid1.rows;i++){
- if(model.getvalue("/root/main/getResultDetail["+i+"]/judgmark") == "IMG"){
-
- datagrid1.cellstyle("background-image", i, 0) = "../../../com/commonweb/images/icon_picture.gif";
- datagrid1.cellstyle("background-position", i, 0) = "left";
- datagrid1.cellstyle("padding-left", i, 0) = 15;
- }
- }
-
-
- }
-
- function fDBClick(){
- var row = datagrid1.row;
-
- if(model.getvalue("/root/main/getResultDetail["+row+"]/judgmark") == "IMG"){
- modal("SMLRR01500","", "", "","", "/root/main/getResultDetail["+row+"]", "/root/hidden/spcltestinfo");
- }
- }
-
-
- function fSelectTestGrup(){
- model.makeValue("/root/send/testgrupnm", cmb_testitem.label);
- submit("TRLLF90401" ,false);
-
-
- fSetPopUpTclscdList();
- }
-
- function fSetPopUpTclscdList(){
- var count = getNodesetCount("/root/main/testgrupdetl");
- if(count > 0){
-
- var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
- var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
- var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
-
-
- // 검사그룹 상세 목록 없을때
- if(sendtclsnm == ""){
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "");
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
-
- }else{ // 검사그룹 상세 목록 있을때
- for(i=2; i<= count; i++){
- sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
- //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- }
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
-
- }
- model.refresh();
- }
- }
-
-
- function fSetTestMdlcd() {
- var etc = model.getvalue("/root/hidden/ref/testmdlcd");
- var etc2 = model.getvalue("/root/hidden/ref/workgroup");
-
- if(etc == "00") {
- cmb_workgroup.attribute("visibility") = "visible";
- ma_combo.attribute("visibility") = "hidden";
- cmb_workgroup.disabled = true;
- }else if(etc == "MR"){
- cmb_workgroup.attribute("visibility") = "visible";
- ma_combo.attribute("visibility") = "hidden";
- cmb_workgroup.disabled = false;
- }else if(etc == "MA"){
- cmb_workgroup.attribute("visibility") = "hidden";
- ma_combo.attribute("visibility") = "visible";
- cmb_workgroup.disabled = false;
- }else {
- cmb_workgroup.attribute("visibility") = "hidden";
- ma_combo.attribute("visibility") = "hidden";
-
- }
- model.setvalue("/root/hidden/ref/workgroup", "00");
- model.refresh();
- }
-
-
- function fSetInit(flag) {
-
- if(flag != 2) {
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
- model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
- }
- model.refresh();
- }
-
- function setRowStyleSep( gridID , styleFlag , data , colRef , control ) {
- var style = new Array("#ff0000" , "#ffe79d" , "#f3e1bf" , "#7BE6B7" , "#b9e5fb" , "#f7a08b" , "#fec34d" , "#dec6a4" , "#c8e67b" , "#43c8f5", "#99cf16", "#e5f3c2" );
- var styleFlags = styleFlag.split("^");
- var datas = data.split("^");
- if( control == null || control == "" )
- control = "equal";
- var controls = control.split("^");
- gridObj = document.all(gridID);
- gridObj.backcoloralternate = "transparent";
- for( var j = 0 ; j < datas.length ; j++ ) {
- var dataValue = datas[j];
- var styleValue = style[styleFlags[j]];
- for( var i = gridObj.fixedRows ; i < gridObj.Rows ; i++ ) {
- if(controls[j] == null)
- controls[j] = "equal";
- switch( controls[j] ) {
- case "small":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) < dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "smallThen":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) <= dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "bigger":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) > dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "biggerThen":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) >= dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "notEqual":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) != dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "equal":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) == dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- }
- }
- }
- }
-
- function setChkRslt(rsltgbn){
-
- if(rsltgbn == "rslt1"){
- model.setValue("/root/hidden/rsltstatchk/rslt3", "");
- //model.setValue("/root/hidden/rsltstatchk/rslt1", "0");
- model.setValue("/root/hidden/rsltstatchk/rsltall", "");
- }else if(rsltgbn == "rslt2"){
- model.setValue("/root/hidden/rsltstatchk/rslt3", "");
- //model.setValue("/root/hidden/rsltstatchk/rslt2", "0");
- model.setValue("/root/hidden/rsltstatchk/rsltall", "");
- }else if(rsltgbn == "rsltAll"){
- model.setValue("/root/hidden/rsltstatchk/rslt1", "");
- model.setValue("/root/hidden/rsltstatchk/rslt2", "");
- model.setValue("/root/hidden/rsltstatchk/rslt3", "");
- }else{
- model.setValue("/root/hidden/rsltstatchk/rslt1", "");
- model.setValue("/root/hidden/rsltstatchk/rslt2", "");
- model.setValue("/root/hidden/rsltstatchk/rsltall", "");
- }
-
- model.refresh();
-
- }
-
- //바코드재출력
- function fExeBarcdReprnt() {
- model.removeNodeset("/root/hidden/barcode");
-
- var bcno = "'" + model.getValue("/root/hidden/bcnoinfo") + "'" ;
- model.makeValue("/root/send/bcnolist" , bcno);
-
-
- submit("TRLZZ00102");
-
- for(i=1; i<= getNodesetCount("/root/hidden/barcode/barcodeinfo"); i++){
- var spcno = model.getValue("/root/hidden/barcode/barcodeinfo["+ i +"]/bcno");
- //var find = grd_testList.findRow(spcno, 1, 2, true, true);
- //var cnt = model.getValue("/root/main/testlist["+ find +"]/prntcnt");
- var cnt = model.getValue("/root/hidden/ref/printcnt");
-
- model.makeValue("/root/hidden/barcode/barcodeinfo["+ i +"]/prntcnt", cnt);
- model.makeValue("/root/hidden/barcode/barcodeinfo["+ i +"]/flag", "reprnt");
- }
-
- copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
-
- fLisMicroWorknoSpcBarcodePrint("/root/hidden/barcode/barcodeinfo");
-
- }
-
- function getPcrandReadRslt(){
-
- var row = getRsltBacList.row;
-
- if(model.getValue("/root/main/getRsltBacList["+row+"]/pid") == ""){
- return;
- }
- model.setValue("/root/hidden/pid", model.getValue("/root/main/getRsltBacList["+row+"]/pid"));
-
- modal("SPLMR90800", "", "", "","", "/root/hidden/pid", "/root/hidden/ref/pid");
- }
-
-
- function fSetAddMicroResult() {
-
- var row = getRsltBacList.row;
-
- if(model.getValue("/root/main/getRsltBacList["+row+"]/pid") == ""){
- return;
- }
-
- model.setValue("/root/hidden/micropid/pid", model.getValue("/root/main/getRsltBacList["+row+"]/pid"));
-
- modal("SMLLP01100","",345,250,"","/root/hidden/micropid","/root/hidden/ref");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1057;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <line id="line1" class="line_1" style="x1:0px; y1:125px; x2:355px; y2:125px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:110px; width:100px; height:13px; ">검사리스트</caption>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:90px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:90px; "/>
- <line id="line3" class="line_4" style="x1:1108px; y1:36px; x2:1108px; y2:58px; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:36px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetResultListRef();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:10px; width:87px; height:17px; ">조회일자 :</caption>
- <caption id="caption3" class="search_no_b" style="left:214px; top:11px; width:13px; height:17px; ">~</caption>
- <input id="input1" ref="/root/hidden/ref/startdd" class="input_search" inputtype="date" style="left:105px; top:9px; width:100px; height:19px; "/>
- <input id="input2" ref="/root/hidden/ref/enddd" class="input_search" inputtype="date" style="left:236px; top:9px; width:100px; height:19px; "/>
- <input id="iptSearch" ref="/root/hidden/ref/searchtext" class="input_s_button" navindex="1" inputtype="button" style="left:727px; top:36px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fGetResultListRef();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fPidRef();
- ]]>
- </script>
- </input>
- <select1 id="combo2" ref="/root/hidden/ref/refflag" class="combo_search" appearance="minimal" style="left:638px; top:36px; width:87px; 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>
- </select1>
- <caption id="caption5" class="search_name" style="left:550px; top:37px; width:88px; height:17px; ">검색구분 :</caption>
- <caption id="caption4" class="search_name" style="left:265px; top:37px; width:76px; height:17px; ">배양균 :</caption>
- <select1 id="combo1" ref="/root/hidden/ref/baccd" class="combo_search" appearance="minimal" style="left:340px; top:36px; width:195px; height:19px; ">
- <choices>
- <item>
- <label>- 전체 -</label>
- <value>00</value>
- </item>
- <item>
- <label>Staphylococcus aureus</label>
- <value>sau</value>
- </item>
- <item>
- <label>Escherichia coli</label>
- <value>eco</value>
- </item>
- <item>
- <label>Klebsiella pneumoniae ss. pneumoniae</label>
- <value>kpn</value>
- </item>
- <item>
- <label>Candida albicans</label>
- <value>cal</value>
- </item>
- <item>
- <label>Pseudomonas aeruginosa</label>
- <value>pae</value>
- </item>
- <item>
- <label>Staphylococcus epidermidis</label>
- <value>sep</value>
- </item>
- <item>
- <label>Bacillus sp.</label>
- <value>bcs</value>
- </item>
- <item>
- <label>Enterobacter cloacae</label>
- <value>ecl</value>
- </item>
- <item>
- <label>Citrobacter freundii</label>
- <value>cfr</value>
- </item>
- <item>
- <label>Acinetobacter baumannii</label>
- <value>aba</value>
- </item>
- <item>
- <label>Proteus mirabilis</label>
- <value>pmi</value>
- </item>
- <item>
- <label>Klebsiella oxytoca</label>
- <value>kox</value>
- </item>
- <item>
- <label>Enterococcus faecium</label>
- <value>efm</value>
- </item>
- <item>
- <label>Enterococcus faecalis</label>
- <value>efa</value>
- </item>
- <item>
- <label>Streptococcus pneumoniae</label>
- <value>spn</value>
- </item>
- <item>
- <label>Serratia marcescens</label>
- <value>sma</value>
- </item>
- <item>
- <label>Salmonella Typhi</label>
- <value>sat</value>
- </item>
- <item>
- <label>Stenotrophomonas (Xantho.) maltophilia</label>
- <value>pma</value>
- </item>
- <item>
- <label>Corynebacterium sp.</label>
- <value>cor</value>
- </item>
- <item>
- <label>Enterobacter aerogenes</label>
- <value>eae</value>
- </item>
- <item>
- <label>Haemophilus influenzae</label>
- <value>hin</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:15px; top:37px; width:86px; height:17px; ">조회기준 :</caption>
- <select1 id="radio1" ref="/root/hidden/ref/getflag" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:105px; top:37px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>1</value>
- </item>
- <item>
- <label>보고일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="button6" class="icon_search" style="left:710px; top:64px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
- ]]>
- </script>
- </button>
- <input id="ipt_tclscdlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" style="left:205px; top:63px; width:500px; height:19px; color:#ff0000; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:64px; width:94px; height:17px; ">검사항목 :</caption>
- <select1 id="cmb_testitem" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:105px; top:63px; width:96px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0103">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSelectTestGrup();
- ]]>
- </script>
- </select1>
- <select1 id="radio2" ref="/root/hidden/ref/ioflag" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:722px; top:10px; width:153px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>외래</label>
- <value>1</value>
- </item>
- <item>
- <label>입원</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="search_name" style="left:625px; top:10px; width:93px; height:17px; ">외래/입원 :</caption>
- <caption id="caption10" class="search_name" style="left:890px; top:10px; width:93px; height:17px; ">균상태 :</caption>
- <select1 id="radio3" ref="/root/hidden/ref/growthyn" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:972px; top:10px; width:208px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>Growth</label>
- <value>2</value>
- </item>
- <item>
- <label>No-Growth</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/hidden/ref/testmdlcd" class="combo_search" appearance="minimal" itemcount="10" style="left:850px; top:63px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0112">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetTestMdlcd();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_workgroup" ref="/root/hidden/ref/workgroup" class="combo_search" disabled="true" appearance="minimal" itemcount="10" style="left:1007px; top:63px; width:157px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0113">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="search_name" style="left:760px; top:64px; width:89px; height:17px; ">작업그룹 :</caption>
- <select1 id="ma_combo" ref="/root/hidden/ref/workgroup" class="combo_search" visibility="hidden" appearance="minimal" itemcount="10" style="left:1007px; top:63px; width:157px; height:19px; ">
- <choices>
- <item>
- <label>- 전체 -</label>
- <value>00</value>
- </item>
- <item>
- <label>[CU]culture</label>
- <value>CU</value>
- </item>
- </choices>
- </select1>
- <select id="checkbox1" ref="/root/hidden/rsltstatchk/rslt1" overflow="visible" appearance="full" style="left:925px; top:36px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>미검사</label>
- <value>0</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- setChkRslt("rslt1");
- ]]>
- </script>
- </select>
- <select id="checkbox2" ref="/root/hidden/rsltstatchk/rslt2" overflow="visible" appearance="full" style="left:985px; top:36px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>미완료</label>
- <value>0</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- setChkRslt("rslt2");
- ]]>
- </script>
- </select>
- <select id="checkbox3" ref="/root/hidden/rsltstatchk/rslt3" overflow="visible" appearance="full" style="left:1045px; top:36px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>완료</label>
- <value>0</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- setChkRslt("rslt3");
- ]]>
- </script>
- </select>
- <select id="checkbox4" ref="/root/hidden/rsltstatchk/rsltall" overflow="visible" appearance="full" style="left:880px; top:36px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- setChkRslt("rsltAll");
- ]]>
- </script>
- </select>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/getResultDetail" caption="결 과 내 역" colsep="^" colwidth="1500" dataheight="23" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:360px; top:130px; width:835px; height:614px; font-family:굴림체; ">
- <col ref="reptrslt" format="yyyy-mm-dd" style="font-family:굴림체; "/>
- <col ref="judgmark2" visibility="hidden" style="font-family:굴림체; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fDBClick();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid1.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:360px; y1:125px; x2:1194px; y2:125px; "/>
- <datagrid id="getRsltBacList" nodeset="/root/main/getRsltBacList" caption="접수일^등록번호^환자명^검체명^검사명^처방일^보고일^바코드번호^작업번호^보고자^진료과^병실" colsep="^" colwidth="85, 65, 65, 75, 90, 85, 120, 85, 115, 65, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:130px; width:355px; height:614px; font-family:굴림체; ">
- <col ref="spcacptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="pid" type="input" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="tclsnm" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="bcno" style="text-align:center; "/>
- <col ref="workno" style="text-align:center; "/>
- <col ref="lastreptid" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="wardroom" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden" style="text-align:center; "/>
- <col ref="execprcpuniqno" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(getRsltBacList.isCell(event.target) && getRsltBacList.row >= getRsltBacList.fixedRows ){
- fClickResultList();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- getRsltBacList.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="combo3" ref="/root/hidden/ref/orddept" class="combo_search" appearance="minimal" style="left:450px; top:19px; width:147px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0002">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var menu = model.getValue("/root/properties/menu/menuitemcd");
- var scrid = getScreenID();
-
- if(model.getValue("/root/hidden/JoHoiFlag/regnopatnm") != "") {
- if((menu != "MI00410037" && menu != "MI00410038") && (scrid == "SMLLC00300" || scrid == "SMLLC00200")) {//간호에서 팝업으로 띄울때
- model.setValue("/root/hidden/JoHoiFlag/regnopatnm", "");
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="search_name" style="left:369px; top:20px; width:73px; height:17px; ">진료과 :</caption>
- <button id="btn_excel_cmrslt" class="btn2_letter2" style="left:1152px; top:105px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSaveExcel("dtlist");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" style="left:312px; top:105px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSaveExcel("list");
- ]]>
- </script>
- </button>
- <caption id="caption13" class="tit_2" style="left:360px; top:110px; width:110px; height:14px; ">선택된 바코드 :</caption>
- <input id="input3" ref="/root/hidden/bcnoinfo" style="left:475px; top:105px; width:105px; height:19px; "/>
- <button id="button3" class="btn2_letter2" style="left:582px; top:105px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeBarcdReprnt();
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetInit2();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_prntset" class="btn3_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetPrint();
- ]]>
- </script>
- </button>
- <button id="button20" class="btn3_letter8" style="left:95px; top:3px; width:128px; height:22px; ">
- <caption>PCR/방사선 결과</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- getPcrandReadRslt();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter5" style="left:225px; top:3px; width:92px; height:22px; ">
- <caption>미생물누적</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddMicroResult();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn3_letter8" style="left:319px; top:3px; width:128px; height:22px; ">
- <caption>입원환자전실조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- modal("SPLLP90400");
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">결과조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|