123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLC00300.xrw
- * 설 명 : 환자별채혈관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.04.03
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" ztype="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>환자별 채혈관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <bcoll>
- <bcolllist>
- <chk/>
- <pid/>
- <hngnm/>
- <prcpdd/>
- <prcpgenrflag/>
- <prcpstatcd/>
- <testdeptcd/>
- <testdeptflagcd/>
- </bcolllist>
- </bcoll>
- <PatNmBarCdPrint/>
- </main>
- <send>
- <data1/>
- <data2/>
- </send>
- <init>
- <LB0001>
- <cd/>
- <nm/>
- </LB0001>
- <LB0002>
- <cd/>
- <nm/>
- </LB0002>
- <deptlist>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- </deptlist>
- </init>
- <hidden>
- <JoHoiFlag>
- <sdate/>
- <edate/>
- <OutIn>2</OutIn>
- <bcollflag>1</bcollflag>
- <refflag>1</refflag>
- <bizflag>Out</bizflag>
- <regnopatnm/>
- <bcollflag1>1</bcollflag1>
- <pid/>
- <xrwGBN/>
- <deptcd/>
- <wardcd2/>
- <tim/>
- <userdeptflagcd/>
- <testdeptcd/>
- <testdeptflagcd/>
- <pyn/>
- <pynex/>
- <ibftestp/>
- <healgbn>00</healgbn>
- <healdetgbn>00</healdetgbn>
- <healplace>00</healplace>
- <prcpkindcd>-</prcpkindcd>
- </JoHoiFlag>
- <default/>
- <cancelyn>1</cancelyn>
- <SFlag>
- <regnopatnm/>
- <testdeptcd/>
- </SFlag>
- <ref>
- <searchtext/>
- <spccho/>
- </ref>
- <prcprcptyn/>
- <prcprcptinfo>
- <instcd/>
- <pid/>
- <flagvalue/>
- <flag/>
- </prcprcptinfo>
- </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="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- fBaseInfoRef("0001|0002|0000|8001|0405|0406|0407|0408|0139|");
-
- model.setvalue("/root/hidden/JoHoiFlag/wardcd2", model.getvalue("/root/init/LB0001/cd")); //병동
- model.setvalue("/root/hidden/JoHoiFlag/deptcd", model.getvalue("/root/init/LB0002/cd")); //진료과
-
- model.setvalue("/root/hidden/JoHoiFlag/xrwGBN" , "patbcoll");
- model.setvalue("/root/hidden/JoHoiFlag/sdate",getCurrentDate());
- model.setvalue("/root/hidden/JoHoiFlag/edate",getCurrentDate());
- model.setValue("/root/hidden/JoHoiFlag/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
-
- //중앙관제
- if(model.getValue("/root/properties/menu/menuparam") == "V") { //건진일때는 건진처방만 조회
-
- model.setValue("/root/hidden/JoHoiFlag/userdeptflagcd", "V");
- model.setValue("/root/hidden/JoHoiFlag/OutIn", "4");
- button2.visible = true;
- healgroup.attribute("visibility") = "visible";
-
-
- }
- //전환검체변경
- if(model.getValue("/root/properties/menu/menuparam")=="N"){ // 핵의학 메뉴에 메뉴파라미터 N 지정
- button3.visible = true;
- }
- grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("bcno"))=true; //바코드번호 숨기기
- grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("spcacptdt"))=true; //접수일시숨기기
- //grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("tclscd"))=true; // 검사코드
- // 송요셉수정 20100312 변경요청사항 task번호 45009
- grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("barcdprntdt"))=true; // 바코드출력일시
- grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("prcpdd"))=true; // 처방등록일
- //grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("bcollid"))=true; //채혈자 숨기기
-
- grd_BcollInfo.colHidden(grd_BcollInfo.colRef("prcpgenrflag"))=true; //입원외래구분 숨기기
-
- group7.attribute("visibility") = "visible";
- group6.attribute("visibility") = "hidden";
- group10.attribute("visibility") = "visible";
- group11.attribute("visibility") = "hidden";
- group12.attribute("visibility") = "hidden";
- model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "Out");
-
- grd_BcollInfo.fixedcellcheckbox(0, 1) = true; //환자목록 전체선택 박스 만듬
- btn_chkn.attribute("visibility") = "visible"; //전체선택해제 보이기
- //grd_TestInfoCnts.rebuild();
- model.refresh();
- fGetTestDept();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA00001"/>
- <submission id="TRLLC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/bcoll"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TXLLC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/TestInfo"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAEA01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/prcprcptinfo" replace="instance" resultref="/root/hidden/prcprcptyn"/>
- <submission id="TRLZZ90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/PatNmBarCdPrint"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 환자별 채혈
- * @ver : 2008.01.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사과목록 조회 Function
- */
- function fGetTestDept() {
-
- var iMaxRowCnt = 0;
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = "E";
- var rslt_ref = "/root/init/deptlist";
- var sort_field = "dispseq";
- var sort_method = "asc";
- model.makeNode("/root/init/deptlist");
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
-
- //-------------------------------------------------------
- iMaxRowCnt = getNodesetCount("/root/init/deptlist/dept");
-
- model.makeValue("/root/init/deptlist/dept["+(Number(iMaxRowCnt)+1)+"]/deptcd", "-");
- model.makeValue("/root/init/deptlist/dept["+(Number(iMaxRowCnt)+1)+"]/depthngnm", "- 전체 -");
-
- //----------------------------------------------------------------
- model.makeValue("/root/hidden/JoHoiFlag/testdeptcd", "-");
- model.makeValue("/root/hidden/JoHoiFlag/testdeptflagcd", "-");
-
- //---------------------
- cmb_testdept.refresh();
- }
-
- function OnCilck_OutIn(){
-
- var IOGbn = model.getvalue("/root/hidden/JoHoiFlag/OutIn");
-
- //전체
- if(IOGbn == "1"){
- model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "InOut");
- //group7.attribute("visibility") = "hidden";
- group7.attribute("visibility") = "visible";
- group6.attribute("visibility") = "hidden";
-
- grd_BcollInfo.colHidden(grd_BcollInfo.colRef("prcpgenrflag"))=false; // IO
- }
- //외래,건진
- else if (IOGbn == "2" || IOGbn == "4"){
- model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "Out");
- group7.attribute("visibility") = "visible";
- group6.attribute("visibility") = "hidden";
-
- grd_BcollInfo.colHidden(grd_BcollInfo.colRef("prcpgenrflag"))=true; // IO
-
- }
- //입원
- else{
- model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "In");
- group7.attribute("visibility") = "hidden";
- group6.attribute("visibility") = "visible";
-
- grd_BcollInfo.colHidden(grd_BcollInfo.colRef("prcpgenrflag"))=true; // IO
-
- }
-
- //model.refresh();
-
- fInitDetailForm();
-
- }
-
- // 채혈구분 선택시 버튼영역 변경
- function fSetBcollFlag(){
- // 미채혈일때 검체번호항목 숨기기
- fInitDetailForm();
- if(model.getValue("/root/hidden/JoHoiFlag/bcollflag")=="1"){
- grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("bcno"))=true; // 바코드번호
- grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("canceldesc"))=true; // 취소사유
- }else{
- grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("bcno"))=false; // 바코드번호
- grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("canceldesc"))=false; // 취소사유
- }
- if(model.getValue("/root/hidden/JoHoiFlag/bcollflag")=="1"){
- group10.attribute("visibility") = "visible";
- group11.attribute("visibility") = "hidden";
- group12.attribute("visibility") = "hidden";
- btn_batiss.attribute("visibility") = "visible";
- }else if(model.getValue("/root/hidden/JoHoiFlag/bcollflag")=="2"){
- group10.attribute("visibility") = "hidden";
- group11.attribute("visibility") = "visible";
- group12.attribute("visibility") = "hidden";
- btn_batiss.attribute("visibility") = "hidden";
- }else{
- group10.attribute("visibility") = "hidden";
- group11.attribute("visibility") = "hidden";
- group12.attribute("visibility") = "visible";
- btn_batiss.attribute("visibility") = "hidden";
- }
-
-
- }
-
- /*function fInitDetailForm(){
-
- model.removeNodeset("/root/hidden/bcoll/bcolllist");
- model.removeNodeset("/root/main/bcoll/bcolllist");
- model.removeNodeset("/root/main/TestInfo/getTestInfoCnts");
-
- model.resetInstanceNode("/root/main/TestInfo/TestspcfInfo");
-
- model.refresh();
- }*/
-
- function OnClick_btnRef(){
- model.copyNode("/root/send/data1","/root/hidden/JoHoiFlag");
- submit("TRLLC00301");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
- }
-
-
- function fGetBCollJoHoi(qgbn){
-
- if((model.getValue("/root/hidden/JoHoiFlag/OutIn") == "1")
- && (model.getValue("/root/hidden/JoHoiFlag/bcollflag") == "0")) {
- messageBox("지금 개발중입니다.", "I");
- return;
- }
-
- /* 2014.7월 30일 수사변경에 따른 작업 */
- // if((model.getValue("/root/hidden/JoHoiFlag/bcollflag") == "1")
- // && (model.getValue("/root/hidden/JoHoiFlag/OutIn") == "2")) {
- // getPrcpRcptCheck(model.getValue("root/hidden/JoHoiFlag/regnopatnm"));
- // }
- /* 2014.7월 30일 수사변경에 따른 작업 */
-
- fInitDetailForm();
- grd_BcollInfo.fixedcellischeck(0,1) = false;
-
- var gbn = model.getvalue("/root/hidden/JoHoiFlag/refflag");
-
- /*if(gbn == "1"){
- var pid = model.getvalue("/root/hidden/JoHoiFlag/regnopatnm");
-
- if(pid.length != 0 && pid.length < 8){
- pid = pid.getLeftPad(8,"0") ;
- }
-
- model.setvalue("/root/hidden/JoHoiFlag/regnopatnm", pid);
- }*/
- model.copyNode("/root/send/data2","/root/hidden/JoHoiFlag");
-
- if(qgbn !="Q") {
- model.makeValue("/root/send/data2/flag", "1");
- model.makeValue("/root/send/ddflag", fSetRefFromdd());
- } else {
- if(model.getvalue("/root/hidden/JoHoiFlag/regnopatnm") == ""){
- messageBox("등록번호를","C001","") ;
- return;
- }
-
- model.makeValue("/root/send/data2/flag", "2");
- model.makeValue("/root/send/ddflag", true);
- }
- if(model.getValue("/root/send/ddflag") == "True") {
- submit("TRLLC00101");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
-
- for(i=1 ; i<grd_BcollInfo.rows;i++){
- if(model.getvalue("/root/main/bcoll/bcolllist["+i+"]/prcpstatcd") == "-"){
- grd_BcollInfo.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/icnBC0.gif";
- grd_BcollInfo.cellstyle("background-position", i, 2) = "center";
- }else if(model.getvalue("/root/main/bcoll/bcolllist["+i+"]/prcpstatcd") == "0"){
- grd_BcollInfo.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/icnBC2.gif";
- grd_BcollInfo.cellstyle("background-position", i, 2) = "center";
- }else if(model.getvalue("/root/main/bcoll/bcolllist["+i+"]/prcpstatcd") == "1"){
- grd_BcollInfo.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/icnBC1.gif";
- grd_BcollInfo.cellstyle("background-position", i, 2) = "center";
- }
-
- //--------------------
- // 2008-01-22 : 유동철
- // 검사과코드, 검사과구분을 설정
- if (model.getValue("/root/hidden/JoHoiFlag/testdeptcd") != "-") {
- model.makeValue("/root/main/bcoll/bcolllist["+i+"]/testdeptcd", model.getValue("/root/hidden/JoHoiFlag/testdeptcd"));
- model.makeValue("/root/main/bcoll/bcolllist["+i+"]/testdeptflagcd", "E");
- } else {
- model.makeValue("/root/main/bcoll/bcolllist["+i+"]/testdeptcd", "-");
- model.makeValue("/root/main/bcoll/bcolllist["+i+"]/testdeptflagcd", "-");
- }
- }
- }
-
- if(getNodesetCount("/root/main/bcoll/bcolllist") > 0) {
- grd_BcollInfo.row = 1;
- fGetTclscdList(1);
- }
-
- //========================================================================
- //2009.07.01 고시변경에 의한 본인부담 요율변경 대상 환자
- //원무 수납 재정산 안내 메시지 및 메시지 출력 여부 (2009.06.30 김성희 추가)
- //========================================================================
- if(qgbn == "Q"){
- fGetPrcpRcptInfo(getUserInfo("dutplceinstcd")
- , model.getValue("/root/hidden/JoHoiFlag/regnopatnm").getTrim()
- , model.getValue("/root/init/LB8001/cd")
- , "1");
- }
-
-
- }
-
- //리스트 클릭
- function fGetTclscdList(row){
-
- btn_chky.attribute("visibility") = "hidden"; //전체선택 숨기기
- btn_chkn.attribute("visibility") = "visible"; //전체선택해제 보이기
-
- var iMaxRowCnt = 0;
-
- model.setvalue("/root/hidden/JoHoiFlag/pid",model.getvalue("/root/main/bcoll/bcolllist["+row+"]/pid"));
- //model.setvalue("/root/hidden/JoHoiFlag/genrflag",model.getvalue("/root/main/bcoll/bcolllist["+row+"]/genrflag"));
-
- // if( model.getValue("/root/hidden/JoHoiFlag/bcollflag") == "1" && model.getValue("/root/hidden/JoHoiFlag/OutIn") == "2")
- // {
- // getPrcpRcptCheck(model.getValue("/root/hidden/JoHoiFlag/pid"));
- // }
- model.copyNode("/root/send/data1","/root/main/bcoll/bcolllist["+row+"]");
- model.copyNode("/root/send/data2","/root/hidden/JoHoiFlag");
-
- model.removeNodeset("/root/main/TestInfo/getTestInfoCnts");
- model.resetInstanceNode("/root/main/TestInfo/TestspcfInfo");
-
- model.refresh();
- submit("TRLLC00102");
-
- //--------------------
- // 2008-01-22 : 유동철
- // 검사과코드, 검사과구분코드 추가
- iMaxRowCnt = getNodesetCount("/root/main/TestInfo/getTestInfoCnts");
- for (var iNo=1; iNo <= iMaxRowCnt; iNo++) {
- model.makeValue("/root/main/TestInfo/getTestInfoCnts["+iNo+"]/testdeptcd", model.getValue("/root/main/bcoll/bcolllist["+row+"]/testdeptcd"));
- model.makeValue("/root/main/TestInfo/getTestInfoCnts["+iNo+"]/testdeptflagcd", model.getValue("/root/main/bcoll/bcolllist["+row+"]/testdeptflagcd"));
- }
-
-
- //=============================================================
- //2014 07. 31일 수가변경에 따른 검사오더 검증 사전체크 이재오 추가
- //=============================================================
- // alert(iMaxRowCnt);
- if((model.getValue("/root/hidden/JoHoiFlag/bcollflag") == "1")
- && (model.getValue("/root/hidden/JoHoiFlag/OutIn") == "2") && ( iMaxRowCnt > 0 )) {
- for(iRow = 1; iRow <= iMaxRowCnt ;iRow++){
- var pid = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+iRow+"]/pid") ;
- var prcpdd = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+iRow+"]/prcpdd") ;
- var execprcpuniqno = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+iRow+"]/execprcpuniqno") ;
- var cnt = getPrcpRcptCheck('LIS', pid, '', '', prcpdd, execprcpuniqno);
- // alert(cnt);
- if ( cnt > 0 ) break;
- }
- }
- //=============================================================
- //2014 07. 31일 수가변경에 따른 검사오더 검증 사전체크 이재오 추가
- //=============================================================
-
- //--------------------------------------------------------
- model.copyNode("/root/send/data1","/root/hidden/default");
- model.copyNode("/root/send/data2","/root/hidden/default");
- fGridReMake();
-
- //========================================================================
- //2009.07.01 고시변경에 의한 본인부담 요율변경 대상 환자
- //원무 수납 재정산 안내 메시지 및 메시지 출력 여부 (2009.06.30 김성희 추가)
- //========================================================================
- if(model.getValue("/root/hidden/JoHoiFlag/regnopatnm") == ""){
- fGetPrcpRcptInfo(getUserInfo("dutplceinstcd")
- , model.getvalue("/root/main/bcoll/bcolllist["+row+"]/pid")
- , model.getValue("/root/init/LB8001/cd")
- , "1");
- }
-
- model.refresh();
-
- }
-
- //일괄발행
- function fExeLbl(){
-
- for(i=0;i<grd_BcollInfo.rows;i++){
- if(model.getvalue("/root/main/bcoll/bcolllist["+i+"]/check") == "true"){
- grd_BcollInfo.addStatus( i, "insert");
- } else {
- grd_BcollInfo.removeStatus(i, grd_BcollInfo.rowstatus(i));
- }
- }
-
- var griddata = grd_BcollInfo.getUpdateData();
- model.removeNodeset("/root/send/data1");
- model.makeValue("/root/send/data1",griddata);
- model.copyNode("/root/send/data2","/root/hidden/JoHoiFlag");
-
- submit("TXLLC00201");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
- model.resetInstanceNode("/root/send");
- //grd_BcollInfo.clearStatus();
-
- if(getNodesetCount("/root/main/TestInfo/msg") > 0) { //ICG 검사 의뢰서 미등록에 의해 채혈이 되지 않음. 외래인 경우 입원이 되어 채혈되지 않음.
- var hngnm = "";
- var jhngnm = "";
- for(i = 1; i <= getNodesetCount("/root/main/TestInfo/msg"); i++) {
- if(model.getValue("/root/main/TestInfo/msg["+ i +"]/hngnm") != "") {
- hngnm += model.getValue("/root/main/TestInfo/msg["+ i +"]/hngnm") + ", ";
- }
-
- if(model.getValue("/root/main/TestInfo/msg["+ i +"]/jhngnm") != "") {
- jhngnm += model.getValue("/root/main/TestInfo/msg["+ i +"]/jhngnm") + ", ";
- }
- }
-
- if(hngnm != "") {
- hngnm = hngnm.substr(0, hngnm.length - 2);
- messageBox(hngnm + "환자는 ICG 검사 의뢰서 등록이 되지 않아 ICG 검사 바코드 발행이 되지", "E007");
- }
-
- if(jhngnm != "") {
- jhngnm = jhngnm.substr(0, jhngnm.length - 2);
- messageBox(jhngnm + "환자는 입원이 되어 바코드 발행이 되지", "E007");
- }
- }
-
- //fLisSpcBarcodePrint("/root/main/TestInfo/barcodeinfo");
- //------------------
- // 병리과 바코드 출력
- //if(model.getValue("/root/main/bcoll/bcolllist/prcpgenrflag") == "I") {
-
- //fExePlgyBarCdPrnt();
- var portnm = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/commkind");
- var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
-
- if( (prtkind == "9" && portnm == "01") || (prtkind == "11" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7"){ // sato
- fLisSpcBarcodePrint2("/root/main/TestInfo/barcodeinfo"); // 진검
- fLisPlgySpcBarcodePrint(); // 병리
- }else if(prtkind == "8"){ //B472
- fLisSpcBarcodePrint3("/root/main/TestInfo/barcodeinfo");// 진검
- fLisPlgySpcBarcodePrint3(); // 병리
- }else{ // zebra
- fLisSpcBarcodePrint("/root/main/TestInfo/barcodeinfo"); // 진검
- fExePlgyBarCdPrnt(); // 병리
- }
- //}
-
- //fGetBCollJoHoi();
- }
-
- // 조회일자 3일 이전으로 못가게 막기
- function fSetRefFromdd() {
- var todd = model.getValue("/root/hidden/JoHoiFlag/edate");
-
- var mDate = todd.toDate("YYYYMMDD").getAddDate(-3);
- var fromdd = model.getValue("/root/hidden/JoHoiFlag/sdate");
-
- if(mDate.getDateFormat("YYYYMMDD") > fromdd) {
- messageBox("3일 이내의 기간만 검색","I006");
-
- return false;
- }else if(todd < fromdd) {
- messageBox("기간설정이 잘못", "E005");
-
- return false;
- }else {
- return true;
- }
- }
-
- /* @group : 환자명 바코드 출력 기능
- * @ver : 2009.04.07
- * @by : 김성희
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자명 바코드 출력
- */
- function fGetPatNmBarCdPrint(){
- var pid = "";
- var toppid = getPatientInfo("pid");
-
- //top 정보가 없으면 조회조건에 입력한 환자번호
- if(toppid == ""){
- pid = model.getValue("/root/hidden/JoHoiFlag/regnopatnm");
- //top 정보가 있으면 탑정보의 환자번호
- }else{
- pid = toppid;
- }
-
- if(pid==""){
- messageBox("환자등록번호를 확인해주세요." , "I");
- return;
- }
-
- if(toppid != "" && toppid != model.getValue("/root/hidden/JoHoiFlag/regnopatnm")){
- messageBox("조건의 등록번호와 상단정보가 일치하지 않습니다." , "I");
- return;
- }
-
- model.removeNodeset("/root/send/data1");
-
- model.makeValue("/root/send/data1" , pid);
-
- submit("TRLZZ90101");
- if(getNodesetCount("/root/main/PatNmBarCdPrint/printinfo") > 0){
- var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
- var portnm = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/commkind");
-
- if( (prtkind == "9" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7" ){
- fPatNmBarCdLabelSaTo("/root/main/PatNmBarCdPrint/printinfo");
- }else if(prtkind == "8"){
- fPatNmBarCdLabel_B472("/root/main/PatNmBarCdPrint/printinfo");
- }else{
- fPatNmBarCdLabel("/root/main/PatNmBarCdPrint/printinfo");
- }
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,354;2,351;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:111px; height:14px; ">환자별 채혈</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:320px; height:275px; ">
- <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:320px; height:275px; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:63px; width:94px; height:17px; ">채혈구분 :</caption>
- <caption id="caption2" class="search_name" style="left:15px; top:111px; width:94px; height:17px; ">처방구분 :</caption>
- <button id="button9" class="btn1_letter2" style="left:250px; top:200px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetBCollJoHoi();
- ]]>
- </script>
- </button>
- <select1 id="combo3" ref="/root/hidden/JoHoiFlag/bcollflag" class="combo_search" appearance="minimal" style="left:105px; top:62px; width:200px; height:19px; ">
- <choices>
- <item>
- <label>전체조회</label>
- <value>0</value>
- </item>
- <item>
- <label>미채혈</label>
- <value>1</value>
- </item>
- <item>
- <label>채혈</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetBcollFlag();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:15px; top:87px; width:94px; height:17px; ">희망일자 :</caption>
- <select1 id="combo4" ref="/root/hidden/JoHoiFlag/refflag" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:200px; height:19px; ">
- <choices>
- <item>
- <label>등록번호</label>
- <value>1</value>
- </item>
- <item>
- <label>환자성명</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/JoHoiFlag/refflag") == "1") {
- iptSearch.attribute("imemode") = "alpha";
- } else if(model.getValue("/root/hidden/JoHoiFlag/refflag") == "2") {
- iptSearch.attribute("imemode") = "hangul";
- }
- ]]>
- </script>
- </select1>
- <select1 id="radio2" ref="/root/hidden/JoHoiFlag/OutIn" class="radio_search" appearance="full" cellspacing="7" cols="4" overflow="visible" style="left:105px; top:113px; width:200px; height:13px; border-style:none; ">
- <choices>
- <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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- OnCilck_OutIn();
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_4" style="x1:241px; y1:181px; x2:241px; y2:223px; "/>
- <caption id="caption7" class="search_no_b" style="left:199px; top:86px; width:15px; height:20px; ">~</caption>
- <input id="input2" ref="/root/hidden/JoHoiFlag/sdate" class="input_search" inputtype="date" style="left:105px; top:86px; width:90px; height:19px; "/>
- <line id="line5" class="line_7" style="x1:15px; y1:56px; x2:305px; y2:56px; "/>
- <caption id="caption18" class="search_name" style="left:15px; top:9px; width:94px; height:17px; ">검색구분 :</caption>
- <input id="input5" ref="/root/hidden/JoHoiFlag/edate" class="input_search" inputtype="date" style="left:215px; top:86px; width:90px; height:19px; "/>
- <input id="iptSearch" ref="/root/hidden/JoHoiFlag/regnopatnm" class="input_button" navindex="1" inputtype="button" style="left:105px; top:32px; width:200px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fGetBCollJoHoi("Q");
- ]]>
- </script>
- </input>
- <select id="checkbox1" ref="/root/hidden/JoHoiFlag/pyn" overflow="visible" appearance="full" style="left:139px; top:203px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>조직/병리만</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/hidden/JoHoiFlag/pynex") == "Y" && model.getValue("/root/hidden/JoHoiFlag/pyn") == "Y" ){
- model.setValue("/root/hidden/JoHoiFlag/pynex", "");
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox3" ref="/root/hidden/JoHoiFlag/ibftestp" overflow="visible" appearance="full" style="left:20px; top:182px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>입원전검사실</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <group id="healgroup" visibility="hidden" style="left:5px; top:224px; width:310px; height:50px; background-color:#fffbf2; ">
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/hidden/JoHoiFlag/healdetgbn" class="combo_search" disabled="true" appearance="minimal" style="left:185px; top:5px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0406">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_srchhealexamflag" ref="/root/hidden/JoHoiFlag/healgbn" class="combo_search" appearance="minimal" style="left:100px; top:5px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0405">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var value = model.getValue("/root/hidden/JoHoiFlag/healgbn");
-
- if(value == "00") {
- model.setValue("/root/hidden/JoHoiFlag/healdetgbn", "00");
- cmb_srchhealexamdetlflag.disabled = true;
- }else if(value == "C") {
- model.setValue("/root/hidden/JoHoiFlag/healdetgbn", "00");
- cmb_srchhealexamdetlflag.choices.itemset.attribute("nodeset") = "/root/init/LB0406";
- cmb_srchhealexamdetlflag.disabled = false;
-
- }else if(value == "G") {
- model.setValue("/root/hidden/JoHoiFlag/healdetgbn", "00");
- cmb_srchhealexamdetlflag.choices.itemset.attribute("nodeset") = "/root/init/LB0407";
- cmb_srchhealexamdetlflag.disabled = false;
- }
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="healcap" class="search_name" style="left:10px; top:5px; width:90px; height:17px; ">건진구분 :</caption>
- <caption id="healcap2" class="search_name" style="left:10px; top:30px; width:98px; height:17px; ">건진장소 :</caption>
- <select1 id="haelpalce" ref="/root/hidden/JoHoiFlag/healplace" class="combo_search" appearance="minimal" style="left:100px; top:29px; width:135px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0408">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <select id="checkbox4" ref="/root/hidden/JoHoiFlag/pynex" overflow="visible" appearance="full" style="left:20px; top:203px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>조직/병리제외</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/hidden/JoHoiFlag/pynex") == "Y" && model.getValue("/root/hidden/JoHoiFlag/pyn") == "Y" ){
- model.setValue("/root/hidden/JoHoiFlag/pyn", "");
- model.refresh();
- }
- ]]>
- </script>
- </select>
- </group>
- <group id="group7" style="left:5px; top:140px; width:310px; height:50px; background-color:#fffbf2; ">
- <caption id="caption4" class="search_name" style="left:10px; top:3px; width:94px; height:17px; ">진 료 과 :</caption>
- <select1 id="combo5" ref="/root/hidden/JoHoiFlag/deptcd" class="combo_search" appearance="minimal" style="left:101px; top:3px; width:199px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0002">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:10px; top:26px; width:94px; height:17px; ">시행부서 :</caption>
- <select1 id="cmb_testdept" ref="/root/hidden/JoHoiFlag/testdeptcd" appearance="minimal" style="left:100px; top:26px; width:200px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetBCollJoHoi();
- ]]>
- </script>
- </select1>
- </group>
- <group id="group6" visibility="hidden" style="left:5px; top:140px; width:310px; height:50px; background-color:#fffbf2; ">
- <caption id="caption9" class="search_name" style="left:10px; top:26px; width:94px; height:17px; ">시행부서 :</caption>
- <caption id="caption8" class="search_name" style="left:10px; top:3px; width:94px; height:17px; ">병 동 :</caption>
- <select1 id="combo7" ref="/root/hidden/JoHoiFlag/wardcd2" class="combo_search" appearance="minimal" style="left:101px; top:3px; width:199px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo1" ref="/root/hidden/JoHoiFlag/testdeptcd" appearance="minimal" style="left:100px; top:26px; width:200px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/JoHoiFlag/testdeptcd") != "-") {
- model.setValue("/root/hidden/JoHoiFlag/testdeptflagcd", "E");
- } else {
- model.setValue("/root/hidden/JoHoiFlag/testdeptflagcd", "-");
- }
- fGetBCollJoHoi();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption16" class="tit_2" style="left:5px; top:290px; width:115px; height:13px; ">채혈대상자목록</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:305px; x2:320px; y2:305px; "/>
- <import id="import1" instancetype="merge" src="SSLLC80100_채혈검사처방상세.xrw" style="left:325px; top:10px; width:870px; height:734px; "/>
- <datagrid id="grd_BcollInfo" nodeset="/root/main/bcoll/bcolllist" caption="^ ^등록번호^IO^성명^검사희망일자^검사일자^testdeptcd^testdeptflagcd^atdoctid^testreqlnkno" colsep="^" colwidth="20, 23, 78, 22, 82, 93, 93, 0, 0, 0, 0" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:310px; width:320px; height:405px; ">
- <col checkvalue="true,false" ref="check" type="checkbox"/>
- <col ref="chk"/>
- <col ref="pid"/>
- <col ref="prcpgenrflag"/>
- <col ref="hngnm"/>
- <col ref="prcphopedd" format="yyyy-mm-dd"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="testdeptcd"/>
- <col ref="testdeptflagcd"/>
- <col ref="atdoctid"/>
- <col ref="testreqlnkno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_BcollInfo.row;
- if(grd_BcollInfo.isCell(event.target) && grd_BcollInfo.row >= grd_BcollInfo.fixedRows ){
- if(row > 0){
- //fExeClear2();
- fGetTclscdList(row);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_BcollInfo.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_batiss" class="btn2_letter4" style="left:255px; top:286px; width:64px; height:19px; ">
- <caption>일괄발행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeLbl();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn5_letter6" visibility="visible" style="left:235px; top:723px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>환자명바코드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPatNmBarCdPrint();
- model.setFocus("iptSearch");
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button26" class="btn3_letter5" style="left:0px; top:2px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //window.load("SPLLC90100_바코드프린터설정.xrw","modeless","width:327px; height:128;min:hidden;max:hidden;align:center");
- 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");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn3_letter6" style="left:95px; top:2px; width:104px; height:22px; ">
- <caption>채취일시등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("SPLLC90300_채취일시등록.xrw","modeless","width:310px; height:200;min:hidden;max:hidden;align:center");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn3_letter4" style="left:202px; top:2px; width:80px; height:22px; ">
- <caption>이력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/hidden/JoHoiFlag/regnopatnm") ==""){
- setParameter ( "SMMMO02500_cond", getPatientInfo("pid"));
- }else{
- setParameter ( "SMMMO02500_cond", model.getvalue("/root/hidden/JoHoiFlag/regnopatnm"));
- }
- open ( "SMMMO02500" );
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <group id="group11" style="left:820px; top:0px; width:370px; height:25px; ">
- <button id="button1" class="btn4_letter3" style="left:231px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
- <caption>재출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- lzzfBarCodeRePrinf();
- ]]>
- </script>
- </button>
- <button id="btn_bcollcan" class="btn4_letter4" style="left:148px; top:1px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
- <caption>채혈취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fExeBcollCan();
- ]]>
- </script>
- </button>
- <select id="checkbox2" ref="/root/hidden/cancelyn" overflow="visible" appearance="full" style="left:25px; top:4px; width:135px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>취소사유등록여부</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <button id="btn_can2" class="btn4_letter3" style="left:301px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeClear();
- ]]>
- </script>
- </button>
- </group>
- <group id="group10" style="left:820px; top:0px; width:370px; height:25px; ">
- <button id="btn_cle" class="btn4_letter3" style="left:301px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeClear();
- ]]>
- </script>
- </button>
- <button id="btn_bcoll" class="btn4_letter2" style="left:243px; top:1px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>채혈</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeBcoll();
- model.setFocus("iptSearch");
- ]]>
- </script>
- </button>
- </group>
- <group id="group12" visibility="hidden" style="left:1121px; top:0px; width:68px; height:25px; ">
- <!--<button id="btn_bcollcan2" class="btn4_letter4" style="left:219px; top:1px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
- <caption>채혈취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeBcollCan();
- ]]>
- </script>
- </button>-->
- <button id="btn_can3" class="btn4_letter3" style="left:0px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeClear();
- ]]>
- </script>
- </button>
- <!--<button id="btn_bcoll2" class="btn4_letter2" style="left:89px; top:1px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>채혈</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeBcoll();
- ]]>
- </script>
- </button>
- <button id="button24" class="btn4_letter3" style="left:148px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>미채혈</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeNoBcoll();
- ]]>
- </script>
- </button>-->
- </group>
- <button id="button3" class="btn3_letter6" visibility="hidden" style="left:285px; top:2px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>전환검체변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/hidden/JoHoiFlag/regnopatnm") ==""){
- model.setValue("/root/hidden/ref/searchtext" , getPatientInfo("pid"));
- }else{
- model.setValue("/root/hidden/ref/searchtext" , model.getvalue("/root/hidden/JoHoiFlag/regnopatnm"));
- }
- modal("SPLLC90900","","","","","/root/hidden/ref","/root/hidden/ref");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter4" visibility="hidden" style="left:285px; top:2px; width:80px; height:22px; ">
- <caption>중앙관제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- openInternal("modeless_topmost","SMAHR00120","scn",1,1000,0,0,"","", "min:hidden;max:hidden;", 0);
- ]]>
- </script>
- </button>
- </group>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|