123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPJ01700.xfm
- * 설 명 : 검체접수조회
- * 설 계 자 : 설계자가 별도로 존재시 작성
- * 작 성 자 : 유동철(ACK)
- * 작 성 일 : 2006.12.01
- * 수정이력 : 2007.10.1 유동철
- * 기 타 :
- -->
- <?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>
- <acptspc>
- <acptspclist>
- <choi/>
- <instcd/>
- <spcbarcdno/>
- <prcpdd/>
- <trandd/>
- <acptdd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <orddeptnm/>
- <orddrnm/>
- <wardroom/>
- <prcpdispnm/>
- <spcdispnm/>
- <maxseqno/>
- <reqfrmno/>
- <prntprcpdispnm/>
- <prntprcpdispnm2/>
- <workflagcd/>
- <sexage/>
- <spcacptseqno/>
- <isolabbrcd/>
- </acptspclist>
- </acptspc>
- <barcdprntsetup>
- <prntsetupinfo>
- <setupinfo/>
- </prntsetupinfo>
- </barcdprntsetup>
- </main>
- <send/>
- <init>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <toyear/>
- <toptno/>
- <acptfromdd/>
- <acpttodd/>
- <refmthdcd/>
- <refval/>
- <barcdtype/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- </init>
- <hidden>
- <userinfo>
- <instcd/>
- </userinfo>
- <choival/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- lzzfMakeBrcdPrntObjHanDo("CommAX");
- ]]>
- </script>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPJ01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptspc/acptspclist"/>
- <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[
- /* @group : 검체접수팝업화면
- * @ver : 2007.03.09 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 Initialize함수
- */
- function fExeInitialize() {
- var sCurDate = "";
-
- //----------
- // 노드 삭제
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/acptspc/acptspclist"); // 검색리스트
-
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102", false);
- submit("TRLPZ00109", false);
-
- model.makeValue("/root/send/scrnid", getScreenID());
- submit("TRLLC90101", false);
-
- //---------------------------
- //접수 조회조건 설정값 초기화
- /*
- model.makeValue("/root/init/acptfromdd", model.getValue(opener.root.hidden.refenv.prcpfromdd)); // 접수일자(From)
- model.makeValue("/root/init/acpttodd", model.getValue(opener.root.hidden.refenv.prcptodd)); // 접수일자(To)
- model.makeValue("/root/init/refmthdcd", model.getValue(opener.root.hidden.refenv.srchmthd)); // 검색방법
- model.makeValue("/root/init/refval", model.getValue(opener.root.hidden.refenv.srchval)); // 검색값
- */
- model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수일자(From)
- model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수일자(To)
- model.makeValue("/root/init/refmthdcd", "0"); // 검색방법
- model.makeValue("/root/init/refval", ""); // 검색값
-
- model.makeValue("/root/init/barcdtype", "0");
- model.makeValue("/root/init/ptnocode", "");
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/toptno", "");
-
- //--------------------------------------------------------------
- //sCurDate = model.getValue(opener.root.hidden.refenv.prcpfromdd);
- sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
- model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
-
- //------------------------------------------------------------
- //sCurDate = model.getValue(opener.root.hidden.refenv.prcptodd);
- sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
- model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
-
- //------------
- lpzfTopInfo();
- if (model.getValue("/root/paminfo/list/pid") != "") {
- model.makeValue("/root/init/refval", model.getValue("/root/paminfo/list/pid"));
- }
-
- //------------------------------------------------------------
- // 검색값이 존재할 경우 자동으로 검색값에 해당하는 목록을 조회
- if (model.getValue("/root/init/refval") != "") {
- fGetPatList();
- }
-
- grd_acptspclist.fixedcellcheckbox(0,1) = true;
-
- //--------------
- model.refresh();
-
- //----------------------------
- model.setFocus("ipt_refval");
- }
-
- /* @group : 검체접수팝업화면
- * @ver : 2007.03.09 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자 검색 리스트
- */
- function fGetPatList() {
-
- var sTemp = "";
-
- // //----------------------------------------------
- // if (model.getValue("/root/init/refval") == "") {
- // if(model.getValue("/root/init/ptnocode") == "" || model.getValue("/root/init/refmthdcd") == "0") {
- // messageBox("검색값을 입력하여 주십시오! 검색을 ", "E001");
- // return false;
- // }
- // }
-
- //----------
- // 노드 삭제
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/acptspc/acptspclist");
-
- //------------------------------------------------
- if (model.getValue("/root/init/ptnocode") != "") {
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromyear") == "") {
- model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
- } else {
- sTemp = model.getValue("/root/init/fromyear");
- model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
- }
-
- //----------------------------------------------
- if (model.getValue("/root/init/toyear") == "") {
- model.makeValue("/root/init/toyear", sToDD.substr(2,2));
- } else {
- sTemp = model.getValue("/root/init/toyear");
- model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
- }
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromptno") == "") {
- model.makeValue("/root/init/fromptno", "000000");
- } else {
- sTemp = model.getValue("/root/init/fromptno");
- model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
- }
-
- //----------------------------------------------
- if (model.getValue("/root/init/toptno") == "") {
- model.makeValue("/root/init/toptno", "999999");
- } else {
- sTemp = model.getValue("/root/init/toptno");
- model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- //--------------------------------------------
- sTemp = model.getValue("/root/init/ptnocode");
-
- //--------------------------
- //조회환경값 senddata에 설정
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
- model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
- model.makeValue("/root/send/refmthdcd", model.getValue("/root/init/refmthdcd"));
- model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
- model.makeValue("/root/send/barcdtype", model.getValue("/root/init/barcdtype"));
- model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
- model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
- model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
- model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
- model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
-
- //-------------------
- submit("TRLPJ01701");
- }
-
- /* @group : 검체접수팝업화면
- * @ver : 2007.03.09 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자 선택
- */
- function fExeAcptSpcChoi() {
-
- if(grd_acptspclist.row > 0 && grd_acptspclist.isCell(event.target) && grd_acptspclist.row >= grd_acptspclist.fixedRows) {
- }
- }
-
- /* @group : 검체접수팝업화면
- * @ver : 2007.03.09 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 닫기
- */
- function fExeClose() {
- model.close();
- }
-
- /* @group : 검체접수팝업화면
- * @ver : 2007.10.31 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검색값 입력 처리
- */
- function fExeRefValKeyPress() {
-
- var sRefVal = "";
-
- //-----------------------
- if(event.keyCode == 13) {
- sRefVal = ipt_refval.currentText;
- model.makeValue("/root/init/refval", sRefVal.toUpperCase());
- ipt_refval.refresh();
-
- //------------
- fGetPatList();
- }
- }
-
- /* @group : 검체접수팝업화면
- * @ver : 2007.11.01 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 바코드 프린터 설정 팝업 호출 처리
- */
- function fExeBarCdPopupCall() {
-
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
- modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
- //-----------------------------
- // 병리과 접수/채혈 바코드 출력
- function fExeBarCdPrnt() {
-
- var re = /▨/g; // i:1회실행, g:모두실행, gi:전역실행(대소문자 안가림)
- var bState = false;
- var iCnt = 1;
- var sSrcNode = "/root/main/acptspc/acptspclist";
- var sDescNode = "/root/temp/prntinfo/acptspclist";
- var sPrcpNm = "";
- var sSpcNm = "";
- var sPrntPrcpDispNm2 = "";
-
- //-----------------------------
- model.removeNodeset(sDescNode);
-
- //---------------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sSrcNode); iNo++) {
- if (model.getValue(sSrcNode+"["+iNo+"]/choi") == "true") {
-
- //if (model.getValue(sSrcNode+"["+iNo+"]/reqfrmno") != "0") {
-
- //-------------------------------------
- model.makeNode(sDescNode+"["+iCnt+"]");
- model.makeValue(sDescNode+"["+iCnt+"]/choi", model.getValue(sSrcNode+"["+iNo+"]/choi"));
- model.makeValue(sDescNode+"["+iCnt+"]/instcd", model.getValue(sSrcNode+"["+iNo+"]/instcd"));
- model.makeValue(sDescNode+"["+iCnt+"]/spcbarcdno", model.getValue(sSrcNode+"["+iNo+"]/spcbarcdno"));
- model.makeValue(sDescNode+"["+iCnt+"]/prcpdd", model.getValue(sSrcNode+"["+iNo+"]/prcpdd"));
- model.makeValue(sDescNode+"["+iCnt+"]/trandd", model.getValue(sSrcNode+"["+iNo+"]/trandd"));
- model.makeValue(sDescNode+"["+iCnt+"]/acptdd", model.getValue(sSrcNode+"["+iNo+"]/acptdd"));
- model.makeValue(sDescNode+"["+iCnt+"]/ptno", model.getValue(sSrcNode+"["+iNo+"]/ptno"));
- model.makeValue(sDescNode+"["+iCnt+"]/pid", model.getValue(sSrcNode+"["+iNo+"]/pid"));
- model.makeValue(sDescNode+"["+iCnt+"]/patnm", model.getValue(sSrcNode+"["+iNo+"]/patnm"));
- model.makeValue(sDescNode+"["+iCnt+"]/sexage", model.getValue(sSrcNode+"["+iNo+"]/sexage"));
- model.makeValue(sDescNode+"["+iCnt+"]/orddeptnm", model.getValue(sSrcNode+"["+iNo+"]/orddeptnm"));
- model.makeValue(sDescNode+"["+iCnt+"]/orddrnm", model.getValue(sSrcNode+"["+iNo+"]/orddrnm"));
- model.makeValue(sDescNode+"["+iCnt+"]/wardroom", model.getValue(sSrcNode+"["+iNo+"]/wardroom"));
- model.makeValue(sDescNode+"["+iCnt+"]/maxseqno", model.getValue(sSrcNode+"["+iNo+"]/maxseqno"));
- model.makeValue(sDescNode+"["+iCnt+"]/reqfrmno", model.getValue(sSrcNode+"["+iNo+"]/reqfrmno"));
- model.makeValue(sDescNode+"["+iCnt+"]/workflagcd", model.getValue(sSrcNode+"["+iNo+"]/workflagcd"));
- model.makeValue(sDescNode+"["+iCnt+"]/isolabbrcd", model.getValue(sSrcNode+"["+iNo+"]/isolabbrcd"));
-
- // 0:접수바코드, 1:이송(전달)바코드
- // 검체순번을 채혈바코드는 검체명 옆에 붙이고, 접수바코드는 병리번호 옆에 붙인다.
- if(model.getValue("/root/init/barcdtype") == "1") {
- model.makeValue(sDescNode+"["+iCnt+"]/dispptno", model.getValue(sSrcNode+"["+iNo+"]/dispptno"));
- sSpcNm = Number(model.getValue(sSrcNode+"["+iNo+"]/spcacptseqno")) + "/";
- sSpcNm += Number(model.getValue(sSrcNode+"["+iNo+"]/maxseqno"));
- sSpcNm += " " + model.getValue(sSrcNode+"["+iNo+"]/spcdispnm");
- model.makeValue(sDescNode+"["+iCnt+"]/spcdispnm", sSpcNm);
-
- model.makeValue(sDescNode+"["+iCnt+"]/prntprcpdispnm", model.getValue(sSrcNode+"["+iNo+"]/prntprcpdispnm")); //원처방표시명
- sPrntPrcpDispNm2 = model.getValue(sSrcNode+"["+iNo+"]/prntprcpdispnm2"); //추가처방표시
- sPrntPrcpDispNm2 = sPrntPrcpDispNm2.replace("▨", ",");
- model.makeValue(sDescNode+"["+iCnt+"]/prntprcpdispnm2", sPrntPrcpDispNm2);
- } else {
- model.makeValue(sDescNode+"["+iCnt+"]/spcdispnm", model.getValue(sSrcNode+"["+iNo+"]/spcdispnm"));
-
- sSpcNm = model.getValue(sSrcNode+"["+iNo+"]/dispptno") + " ";
- sSpcNm += Number(model.getValue(sSrcNode+"["+iNo+"]/spcacptseqno")) + "/";
- sSpcNm += Number(model.getValue(sSrcNode+"["+iNo+"]/maxseqno"));
- model.makeValue(sDescNode+"["+iCnt+"]/dispptno", sSpcNm);
-
- //--------------------------------------------------------
- sPrcpNm = model.getValue(sSrcNode+"["+iNo+"]/prcpdispnm");
- //sPrcpNm = sPrcpNm.substr(0, sPrcpNm.length-1);
- sPrcpNm = sPrcpNm.replace(re, ",");
- model.makeValue(sDescNode+"["+iCnt+"]/prcpdispnm", sPrcpNm);
- }
-
- //-----
- iCnt++;
- bState = true;
- //}
- }
- }
-
- //-----------
- if (bState) {
- lpzfAcptBarCd(model.getValue("/root/init/barcdtype"), 1,
- "/root/temp/prntinfo/acptspclist",
- "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
- }
-
- //-----------------------
- // 병리과 처방의뢰지 출력
- function fExeReqFrmPrnt() {
-
- //-------------
- // 의뢰지 출력
- for (var iNo=1; iNo <= getNodesetCount("/root/main/acptspc/acptspclist"); iNo++) {
- if (model.getValue("/root/main/acptspc/acptspclist["+iNo+"]/choi") == "true") {
- if (model.getValue("/root/main/acptspc/acptspclist["+iNo+"]/reqfrmno") != "0") {
- model.makeNode("/root/init/prntinfo");
- model.makeValue("/root/init/prntinfo/reptflagcd", "0"); // 의뢰지(0), 보고서(1)
- model.makeValue("/root/init/prntinfo/prntflagcd", "0"); // 출력(0), 미리보기(1)
- model.makeValue("/root/init/prntinfo/copyflagcd", "0"); // 의뢰지/보고서(0), 복사본(1)
- lpzfExeFrmPrnt("/root/main/acptspc/acptspclist["+iNo+"]");
- }
- }
- }
- }
-
- //-----------------------
- // 병리과 처방의뢰지 출력
- function fExeReprtFrmPrnt() {
-
- //-------------
- // 의뢰지 출력
- for (var iNo=1; iNo <= getNodesetCount("/root/main/acptspc/acptspclist"); iNo++) {
- if (model.getValue("/root/main/acptspc/acptspclist["+iNo+"]/choi") == "true") {
- //if (model.getValue("/root/main/acptspc/acptspclist["+iNo+"]/reqfrmno") != "0") {
- model.makeNode("/root/init/prntinfo");
- model.makeValue("/root/init/prntinfo/reptflagcd", "1"); // 의뢰지(0), 보고서(1)
- model.makeValue("/root/init/prntinfo/prntflagcd", "0"); // 출력(0), 미리보기(1)
- model.makeValue("/root/init/prntinfo/copyflagcd", "0"); // 의뢰지/보고서(0), 복사본(1)
- model.makeValue("/root/init/prntinfo/scrnid", "SPLPJ01700"); // 화면ID
- lpzfExeFrmPrnt("/root/main/acptspc/acptspclist["+iNo+"]");
- //}
- }
- }
- }
-
- function fExeBarCodePrnt() {
-
- var sSend = "";
- var sFixChar = String.fromCharCode(34);
-
- // sSend = "N" + String.fromCharCode(10) + String.fromCharCode(13);
- // sSend += "A460,210,2,1,1,1,N," + String.fromCharCode(34) + "Example 1" + String.fromCharCode(34) + String.fromCharCode(10) + String.fromCharCode(13);
- // sSend += "A400,180,2,8,1,1,N," + String.fromCharCode(34) + "가나다라" + String.fromCharCode(34) + String.fromCharCode(10) + String.fromCharCode(13);
- // sSend += "P1" + String.fromCharCode(10) + String.fromCharCode(13);
- var barcdRef = "/root/main/barcdprntsetup/prntsetupinfo/setupinfo";
- var sComm = model.getValue(barcdRef + "[1]/comm02/comm");
- var sDataBit = model.getValue(barcdRef + "[1]/comm02/databit");
- var sStopBit = model.getValue(barcdRef + "[1]/comm02/stopbit");
- var sBaudRate = model.getValue(barcdRef + "[1]/comm02/baudrate");
- var sParity = model.getValue(barcdRef + "[1]/comm02/parity");
- //alert(sComm);
- sSend = "N" + "\r\n";
- sSend += "A460,210,2,1,1,1,N," + sFixChar + "Example 1" + sFixChar + "\r\n";
- sSend += "A400,180,2,8,1,1,N," + sFixChar + "가나다라" + sFixChar + "\r\n";
- sSend += "P1" + "\r\n";
- //alert(sSend);
-
- CommAX.CommPort = sComm;
- CommAX.Settings = sBaudRate + "," + sParity + "," + sDataBit + "," + sStopBit;
- CommAX.PortOpen("true");
-
- CommAX.SendMessage(sSend);
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="998" pageheight="619" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" style="left:0px; top:0px; width:980; height:574; ">
- <caption id="caption1" class="tit_2" autoresize="true" style="left:5px; top:72px; width:205px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">바코드번호 목록</caption>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:1px; width:980px; height:59; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="search_name" autoresize="true" style="left:15px; top:32px; width:91px; height:17px; vertical-align:middle; ">검색방법 :</caption>
- <caption id="caption2" class="search_name" autoresize="true" style="left:569px; top:9px; width:91px; height:17px; vertical-align:middle; ">접수일자 :</caption>
- <caption id="caption4" class="search_no_b" style="left:763px; top:8px; width:16px; height:17px; font-size:9pt; text-align:center; vertical-align:middle; ">~</caption>
- <input id="ipt_ordddfrom" ref="/root/init/acptfromdd" class="input_s_essential" navindex="6" inputtype="date" style="left:661px; top:8px; width:99px; height:19px; "/>
- <input id="ipt_ordddto" ref="/root/init/acpttodd" class="input_s_essential" navindex="7" inputtype="date" style="left:782px; top:8px; width:99px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:86px; x2:980px; y2:86px; "/>
- <line id="line13" class="line_4" style="x1:894; y1:8px; x2:894; y2:51; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_refval" ref="/root/init/refval" class="input_search" navindex="9" style="left:209px; top:32px; width:130; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValKeyPress();
- ]]>
- </script>
- </input>
- <select1 id="cmb_srchmthd" ref="/root/init/refmthdcd" class="combo_search" navindex="8" appearance="minimal" style="left:107px; top:32px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>등록번호</label>
- <value>0</value>
- </item>
- <item>
- <label>바코드번호</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <datagrid id="grd_acptspclist" nodeset="/root/main/acptspc/acptspclist" class="datagrid2" allowselection="true" autoresize="true" caption="^기관코드^바코드번호^처방일자^이송일자^접수일자^ptno^병리번호^등록번호^환자명^진료과^진료의^병동/병실^처방^검체명^isolabbrcd^최대검체번호^의뢰지번호^prntprcpdispnm^prntprcpdispnm2^workflagcd^sexage^spcacptseqno" colsep="^" colwidth="40, 0, 90, 0, 0, 70, 0, 80, 70, 80, 90, 0, 110, 180, 130, 100, 0, 0, 0, 0, 0, 0, 0" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="11" style="left:0px; top:91px; width:980px; height:483px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="spcbarcdno"/>
- <col ref="prcpdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="trandd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="ptno"/>
- <col ref="dispptno"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="wardroom"/>
- <col ref="prcpdispnm"/>
- <col ref="spcdispnm"/>
- <col ref="isolabbrcd" visibility="hidden"/>
- <col ref="maxseqno"/>
- <col ref="reqfrmno"/>
- <col ref="prntprcpdispnm"/>
- <col ref="prntprcpdispnm2"/>
- <col ref="workflagcd"/>
- <col ref="sexage"/>
- <col ref="spcacptseqno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeAcptSpcChoi();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_acptspclist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_sea" class="btn1_letter2" navindex="10" style="left:909; top:19; width:56px; height:22px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fExeBarCodePrnt();
- fGetPatList();
- ]]>
- </script>
- </button>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:107px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ptnocd/ptnocdlist">
- <label ref="ptnonm"/>
- <value ref="ptnocd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:239px; top:8px; width:50px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
- <caption id="caption6" class="search_no_b" style="left:292px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:337px; top:8px; width:50px; height:19px; "/>
- <input id="input2" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:307px; top:8px; width:27px; height:19px; "/>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:209px; top:8px; width:27px; height:19px; "/>
- <caption id="caption7" class="search_name" autoresize="true" style="left:569px; top:32px; width:91px; height:17px; vertical-align:middle; ">바 코 드 :</caption>
- <select1 id="rdo_barcdtype" ref="/root/init/barcdtype" appearance="full" cols="3" overflow="visible" style="left:665px; top:32px; width:220px; 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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/main/acptspc/acptspclist");
- grd_acptspclist.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:574; width:980px; height:27px; ">
- <button id="btn_exit" class="btn4_letter2" navindex="12" style="left:924; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeClose();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:0px; x2:395px; y2:0px; "/>
- <button id="button26" class="btn3_letter5" style="left:0px; top:5px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeBarCdPopupCall();
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn3_letter5" style="left:94px; top:5px; width:84px; height:22px; ">
- <caption>바코드출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeBarCdPrnt();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn3_letter5" style="left:188px; top:5px; width:92px; height:22px; ">
- <caption>의뢰지출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeReqFrmPrnt();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter5" style="left:281px; top:5px; width:92px; height:22px; ">
- <caption>보고서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeReprtFrmPrnt();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|