123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <prcpclscdlist>
- <prcpclscdlist/>
- </prcpclscdlist>
- </main>
- <prcpsrch>
- <prcplist>
- <status/>
- <prcpstatcd/>
- <prcpclscd/>
- <prcpkindcd/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitnm/>
- <prcpqty/>
- <prcpqtyunitnm/>
- <prcptims/>
- <prcpdayno/>
- <drugmthdspccdnm/>
- <prcpmixno/>
- <payflagcd/>
- <prcpdelivefact/>
- <hosinhosoutflag/>
- <prcpexecdeptcd/>
- <prcphopedd/>
- <choiordflag/>
- <rgstdt/>
- <rgstridnm/>
- <testrsltunit/>
- <testrsltcnts/>
- <prcpgenrflag/>
- <prcphistcd/>
- <tempprcpflag/>
- <prcpsetcd/>
- <prcpvolunitflag/>
- <prcpqtyunitflag/>
- <orgprcpqty/>
- <drugspd/>
- <drugspdunitflag/>
- <powdflag/>
- <prnprcpflag/>
- <prepprcpflag/>
- <selfprcpflag/>
- <selfdrugflag/>
- <drugpackflag/>
- <erprcpflag/>
- <precureprcpflag/>
- <nigtprcpflag/>
- <portprcpflag/>
- <fixprcpflag/>
- <anamneflag/>
- <fastprcpflag/>
- <erreadflag/>
- <prcpdirecflag/>
- <tnsuseflag/>
- <tnsfiltflag/>
- <trnptbftestflag/>
- <offictourhealexamflag/>
- <stemcellflag/>
- <angioflagcd/>
- <opansflagcd/>
- <ansttm/>
- <mealcalrcnts/>
- <mealprotcnts/>
- <mealupdtflag/>
- <hosinprcpresncd/>
- <etcprcpresncd/>
- <drugmthdspccd/>
- <issdeptcd/>
- <prcpauthflag/>
- <prcpinptflag/>
- <prcpsignflag/>
- <rateprcpflag/>
- <prcprefseq/>
- <ordreqlnkno/>
- <testreqlnkno/>
- <prcplnkdd/>
- <prcplnkno/>
- <oprsrvno/>
- <tootfact/>
- <clinccmtcnts/>
- <prcpessninptflag/>
- <grupsnglflag/>
- <drugrateqty/>
- <asttestflag/>
- <clincstdyflag/>
- <prtlno/>
- <clincstdycd/>
- <optermcd/>
- <prcpflag/>
- <hscttempprcpflag/>
- <inclprcpcd/>
- <inclprcpno/>
- <pampkspec/>
- <prcppkspec/>
- <calcscormastspec/>
- <drugmastspec/>
- <rateprcpspec/>
- <matrsetprcpspec/>
- <suppdeptspec/>
- <contprcpspec/>
- <etclnkspec/>
- <srchcondcnts/>
- <orgprcpnm/>
- <chkcol/>
- <hsctdelivepos/>
- <hsctlnkno/>
- <etcprcpflag/>
- <aftcertflag/>
- <aftcertdrid/>
- <prcpvalidd/>
- <insukind/>
- <specdrid/>
- <anticncrprtlno/>
- <anticncrdayno/>
- <druglnkno/>
- <drprcpetc1/>
- <drprcpetc2/>
- <drprcpetc3/>
- <drprcpetc4/>
- <drprcpetc5/>
- <drprcpetc6/>
- <drprcpetc7/>
- <drprcpetc8/>
- <drprcpetc9/>
- <drprcpetc10/>
- <tempcol1/>
- <tempcol2/>
- <tempcol3/>
- <tempcol4/>
- <tempcol5/>
- <tempcol6/>
- <tempcol7/>
- <tempcol8/>
- <tempcol9/>
- <tempcol10/>
- <tempcol11/>
- <tempcol12/>
- <tempcol13/>
- <tempcol14/>
- <tempcol15/>
- <tempcol16/>
- <tempcol17/>
- <tempcol18/>
- <tempcol19/>
- <tempcol20/>
- <tempcol21/>
- <tempcol22/>
- <tempcol23/>
- <tempcol24/>
- <tempcol25/>
- </prcplist>
- </prcpsrch>
- <prcpgroup/>
- <prcpdirec/>
- <send>
- <cond1/>
- <cond2/>
- <cond3/>
- <cond4/>
- <cond5/>
- <cond6/>
- <cond7/>
- <cond8/>
- <cond9/>
- <cond10/>
- <cond99/>
- </send>
- <init>
- <detlvw>p</detlvw>
- <prcpclscd/>
- </init>
- <prcpflag/>
- <trv_ref/>
- </root>
- </instance>
- <submission id="TRMMO02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcpclscdlist"/>
- <submission id="TRMMO02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpsrch"/>
- <submission id="TRMMO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpgroup"/>
- <submission id="TRMMO00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpdirec"/>
- <submission id="TRMMO00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/addsetprcp"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO02203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcpclscdlist"/>
- <!-- 처방 복사 로직변경 xml 2013.07.05 by 엄영만-->
- <submission id="TRMMO00151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset ( "/root/prcpsrch/prcplist" );
- zbcfGetCodeList(new Array("M0005"),new Array( "/root/init/prcpclscd"));
- btn_detl.selected = true;
- if ( opener.model.getValue ( "/root/usge" ) == "prcp" && opener.model.getValue ( "/root/addprcp" ) != "Y" && opener.model.getValue ( "/root/cp" ) != "S" ) {
- //group1.visible = false; group2.visible = false;
- fInitSrchBtnSet();
- if ( !isNull(opener.model.getValue ( "/root/init/srchbtn" ))) {
- fCallSrchBtn(opener.model.getValue ( "/root/init/srchbtn" ));
- opener.model.setValue ( "/root/init/srchbtn" , ""); // 처방검색 조회 후 srchbtn 초기화 20080820
- }
- }else{
- group1.visible = false;
- group2.visible = true;
- trv_prcpclscdlist.attribute ( "top" ) = 129;
- trv_prcpclscdlist.attribute ( "height" ) = 475;
- grd_prcpsrchlist.attribute ("top" ) = 105;
- grd_prcpsrchlist.attribute ( "height" ) = 495;
- datagrid6.attribute ( "top" ) = 105;
- btn_detl.attribute ("top") = 108;
- line1.attribute ( "x1" ) = 100;
- line1.attribute ( "x2" ) = 100;
- button101.attribute ( "top" ) = 82;
- button102.attribute ( "top" ) = 82;
- btn_copy.attribute ( "top" ) = 82;
- }
-
- if( opener.model.getValue("/root/cp") == "S" ){
- // CP 생성기에서 창의 사이즈가 다르므로, 위치 재지정
- //btn_genr.attribute("top") = "83px";
- //btn_bmt.attribute("top") = "83px";
- }
- else if ( opener.model.getValue ( "/root/cp" ) == "Y" ) {
- // CP M-GPS에서는 컨트롤의 높이가 작아짐
- opener.window.javascript.fResizeControls();
- }
-
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO02200.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body overflow="hidden" guideline="2,637;">
- <group id="group2" visibility="hidden" style="left:4px; top:3px; width:371px; height:93px; border-color:#99ccff; border-style:solid; ">
- <button id="button51" class="btn2_letter4" _value="A" style="left:18px; top:4px; width:64px; height:19px; ">
- <caption>약/주사</caption>
- </button>
- <button id="button52" class="btn2_letter4" style="left:85px; top:4px; width:64px; height:19px; ">
- <caption>진단검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.button102.dispatch ( "DOMActivate" );
- ]]>
- </script>
- </button>
- <button id="button53" class="btn2_letter4" _value="O" style="left:152px; top:4px; width:64px; height:19px; ">
- <caption>수혈/헌혈</caption>
- </button>
- <button id="button54" class="btn2_letter4" _value="D" style="left:219px; top:4px; width:64px; height:19px; ">
- <caption>기능검사</caption>
- </button>
- <button id="button55" class="btn2_letter4" _value="E" style="left:286px; top:4px; width:64px; height:19px; ">
- <caption>핵의학</caption>
- </button>
- <button id="button56" class="btn2_letter4" _value="F" style="left:18px; top:26px; width:64px; height:19px; ">
- <caption>병 리</caption>
- </button>
- <button id="button57" class="btn2_letter4" _value="C" style="left:85px; top:25px; width:64px; height:19px; ">
- <caption>영 상</caption>
- </button>
- <button id="button58" class="btn2_letter4" _value="H" style="left:152px; top:26px; width:64px; height:19px; ">
- <caption>R T</caption>
- </button>
- <button id="button59" class="btn2_letter4" _value="I" style="left:219px; top:26px; width:64px; height:19px; ">
- <caption>재 활</caption>
- </button>
- <button id="button60" class="btn2_letter4" _value="J" style="left:286px; top:26px; width:64px; height:19px; ">
- <caption>수술/처치</caption>
- </button>
- <button id="button61" class="btn2_letter4" _value="K" style="left:18px; top:48px; width:64px; height:19px; ">
- <caption>마 취</caption>
- </button>
- <button id="button62" class="btn2_letter4" _value="L" style="left:85px; top:48px; width:64px; height:19px; ">
- <caption>재 료</caption>
- </button>
- <button id="button63" class="btn2_letter4" _value="M" style="left:152px; top:48px; width:64px; height:19px; ">
- <caption>치과처방</caption>
- </button>
- <button id="button65" class="btn2_letter4" style="left:219px; top:48px; width:64px; height:19px; ">
- <caption>BMT지시</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- /*
- 식 사
- model.setValue( "/root/send/cond1", "meal" );
- model.setValue( "/root/send/cond2", opener.model.getValue ( "/root/init/prcpdd" ));
- model.removeNodeset ( "/root/prcpsrch" );
- grd_prcpsrchlist.valueMatrix ( 0, 2 ) = "처방명";
- submit("TRMMO02201", false);
- gPRCPFLAG = 3;
- //model.setValue( "/root/send/cond9", "3" );
- datagrid6.visible = true;
- model.refresh();
- trv_prcpclscdlist.rebuild();
- trv_prcpclscdlist.visible = true;
-
- //CP 생성기에서 조회 할 경우, 다른 버튼선택 후 식사 선택 시, 조회결과가 보이지 않음(2008.07.19)
- if( opener.model.getValue("/root/cp") == "S" ){
- datagrid6.visible = true;
- model.refresh();
- trv_prcpclscdlist.rebuild();
- }
- */
- //식사버튼 사용 안함. BMT지시로 변경 2008.11.13 JJE
- model.setValue( "/root/send/cond1", "direc" );
- model.setValue( "/root/send/cond10", "bmt" );
- submit("TRMMO02201");
- gPRCPFLAG = 4;
- ]]>
- </script>
- </button>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var buttonObj = document.controls(event.target);
- var buttonValue = buttonObj.attribute("_value");
- if( buttonValue != "" ) {
- model.setValue( "/root/send/cond1", buttonValue );
- model.setValue ( "/root/send/cond2", opener.model.getValue ( "/root/init/prcpdd" ));
- model.removeNodeset ( "/root/prcpsrch" );
- grd_prcpsrchlist.valueMatrix ( 0, 2 ) = "처방명";
- submit("TRMMO02201", false);
- gPRCPFLAG = 1;
- //model.setValue( "/root/send/cond9", "1" );
- if ( buttonValue == "A" )
- grd_prcpsrchlist.colWidth(1) = 40;
- else
- grd_prcpsrchlist.colWidth(1) = 0;
- model.refresh();
- }
- model.removeNodeset ( "/root/prcpsrch" );
- datagrid6.visible = true;
- trv_prcpclscdlist.rebuild();
- trv_prcpclscdlist.visible = true;
- ]]>
- </script>
- <button id="button66" class="btn2_letter4" style="left:286px; top:48px; width:64px; height:19px; ">
- <caption>지 시</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue( "/root/send/cond1", "direc" );
- model.setValue( "/root/send/cond10", "genr" );
- submit("TRMMO02201");
- gPRCPFLAG = 2;
- // model.setValue( "/root/send/cond9", "2" );
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter4" style="left:18px; top:70px; width:64px; height:19px; ">
- <caption>OCS처방</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/cond1", "prcpclasscd");
- model.setValue( "/root/send/cond2" , opener.model.getValue ( "/root/init/prcpdd" ));
- grd_prcpsrchlist.valueMatrix ( 0, 2 ) = "처방명";
- if(submit("TRMMO02203", false)){
- gPRCPFLAG = 5;
- trv_prcpclscdlist.rebuild();
- }
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_prcpsrchlist" nodeset="/root/prcpsrch/prcplist" autoresize="true" caption="^분류^처방명" colsep="^" colwidth="20, 40, 345" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:34px; width:377px; height:602px; text-align:center; ">
- <col checkvalue="I,N" ref="status" type="checkbox"/>
- <col disabled="true" ref="prcpclscd" type="combo">
- <choices>
- <itemset nodeset="/root/init/prcpclscd/M0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpnm" style="left:60px; top:23px; width:345px; height:23px; text-align:left; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 트리 뷰 더블클릭 시 addPrcp()호출 오류로 인한 조건 변경 : grd_prcpsrchlist.mouseRow >= grd_prcpsrchlist.fixedRows => grd_prcpsrchlist.row >= grd_prcpsrchlist.fixedRows && grd_prcpsrchlist.row <= grd_prcpsrchlist.rows
- if(grd_prcpsrchlist.isCell(event.target) && grd_prcpsrchlist.row >= grd_prcpsrchlist.fixedRows && grd_prcpsrchlist.row <= grd_prcpsrchlist.rows){
- addPrcp ( "child", "/root/prcpsrch/prcplist", "/root/main/prcp", "N", "status", "I", grd_prcpsrchlist, "N", "00");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 트리 뷰 더블클릭 시 addPrcp()호출 오류로 인한 조건 변경 : grd_prcpsrchlist.mouseRow >= grd_prcpsrchlist.fixedRows => grd_prcpsrchlist.row >= grd_prcpsrchlist.fixedRows && grd_prcpsrchlist.row <= grd_prcpsrchlist.rows
- if(grd_prcpsrchlist.isCell(event.target) && grd_prcpsrchlist.row >= grd_prcpsrchlist.fixedRows && grd_prcpsrchlist.row <= grd_prcpsrchlist.rows){
- if ( grd_prcpsrchlist.col != 0 ) {
- if ( model.getValue ( "/root/prcpsrch/prcplist["+ grd_prcpsrchlist.row +"]/status" ) == "N" ) {
- model.setValue ( "/root/prcpsrch/prcplist["+ grd_prcpsrchlist.row +"]/status", "I" );
- } else {
- model.setValue ( "/root/prcpsrch/prcplist["+ grd_prcpsrchlist.row +"]/status", "N" );
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <group id="group1" visibility="hidden" style="left:4px; top:3px; width:371px; height:90px; border-color:#99ccff; border-style:solid; ">
- <button id="button1" class="btn2_letter4" _value="A" style="left:18px; top:4px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button2" class="btn2_letter4" style="left:85px; top:4px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button3" class="btn2_letter4" _value="O" style="left:152px; top:4px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button4" class="btn2_letter4" _value="D" style="left:219px; top:4px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button5" class="btn2_letter4" _value="E" style="left:286px; top:4px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button6" class="btn2_letter4" _value="F" style="left:18px; top:26px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button7" class="btn2_letter4" _value="C" style="left:85px; top:25px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button8" class="btn2_letter4" _value="H" style="left:152px; top:26px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button9" class="btn2_letter4" _value="I" style="left:219px; top:26px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button10" class="btn2_letter4" _value="J" style="left:286px; top:26px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button11" class="btn2_letter4" _value="K" style="left:18px; top:48px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button12" class="btn2_letter4" _value="L" style="left:85px; top:48px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button13" class="btn2_letter4" _value="M" style="left:152px; top:48px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button14" class="btn2_letter4" style="left:219px; top:48px; width:64px; height:19px; ">
- <caption/>
- </button>
- <button id="button15" class="btn2_letter4" style="left:286px; top:48px; width:64px; height:19px; ">
- <caption/>
- </button>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- /*
- var trgObj = document.controls(event.target);
- if( trgObj.elementName == "xforms:button" ) {
- var buttonObj = trgObj;
- var buttonValue = buttonObj.attribute("_value");
- if( buttonValue == "01" || buttonValue == "02" || buttonValue == "03") {
- fSrchBtnClick();
- }
- else {
- model.setValue( "/root/send/cond1", buttonValue );
- model.setValue ( "/root/send/cond2", opener.model.getValue ( "/root/init/prcpdd" ));
- model.removeNodeset ( "/root/prcpsrch" );
- grd_prcpsrchlist.valueMatrix ( 0, 2 ) = "처방명";
- submit("TRMMO02201", false);
- // model.setValue( "/root/send/cond9", "1" );
- gPRCPFLAG = 1;
-
- if ( buttonValue == "A" )
- grd_prcpsrchlist.colWidth(1) = 40;
- else
- grd_prcpsrchlist.colWidth(1) = 0;
- }
-
- if( buttonValue != "01" ){
- var leng = model.instances(0).selectNodes ( "/root/main/prcpclscdlist/prcpclscdlist" ).length;
- model.removeNodeset ( "/root/prcpsrch" );
- datagrid6.visible = true;
- trv_prcpclscdlist.rebuild();
- if ( 1< leng && leng < 30 ) {
- trv_prcpclscdlist.expandDepth = 3;
- }
- trv_prcpclscdlist.visible = true;
- }
- }
- */
-
- var btnnm = event.target.substring ( 6, 8 );
- if ( !isNull (btnnm)) {
- var srcnbtnnm = eval ( btnnm ) - 50;
- var srcnbtnnm = "button" + srcnbtnnm;
-
- if ( btn_prcpsrch.selected || opener.btn_prcpsrch.selected ) {
- //alert("11");
- fCallSrchBtn(srcnbtnnm);
-
- } else {
- model.setValue ( "/root/init/srchbtn" , srcnbtnnm );
- btn_prcpsrch.selected = true;
- btn_prcpsrch.dispatch ( "DOMActivate" );
- }
- }
-
- ]]>
- </script>
- </group>
- <datagrid id="datagrid6" nodeset="/root/grid2" caption="분류명" colsep="^" colwidth="365" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:35px; width:377px; height:70px; text-align:center; ">
- <col ref="orderNm"/>
- </datagrid>
- <treeview id="trv_prcpclscdlist" ref="/root/trv_ref" expanddepth="1" itemsettype="depth" style="left:0px; top:58px; width:376px; height:579px; border-style:solid; ">
- <itemset nodeset="/root/main/prcpclscdlist/prcpclscdlist">
- <label ref="prcpclsnm"/>
- <value ref="path"/>
- <depth ref="lvl"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // if (trv_prcpclscdlist.isCell(event.target) == true) {
- if (gPRCPFLAG == "5" ) { // 처방검색 구분이 구처방 일 경우
- if (fPrcpClassSrchInfo()) {
- grd_prcpsrchlist.visible= true;
- datagrid6.visible = false;
- trv_prcpclscdlist.visible = false;
- model.refresh();
- }
- } else { // 처방창의 검색구분이 구 처방이 아닐 경우
- if (fPrcpClsSrchInfo()) {
- grd_prcpsrchlist.visible= true;
- datagrid6.visible = false;
- trv_prcpclscdlist.visible = false;
- //btn_genr.visible = false;
- //btn_bmt.visible = false;
- model.refresh();
- }
- }
- // }
- ]]>
- </script>
- </treeview>
- <button id="btn_copy" class="btn5_letter4" style="left:313px; top:7px; width:64px; height:19px; ">
- <caption>처방복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- addPrcp ( "child", "/root/prcpsrch/prcplist", "/root/main/prcp", "Y", "status", "I", grd_prcpsrchlist, "N", "00");
- ]]>
- </script>
- </button>
- <button id="button101" class="btn2_letter4" style="left:179px; top:7px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for ( i = 1; i < grd_prcpsrchlist.rows; i++ ) {
- model.setValue( "/root/prcpsrch/prcplist[" + i + "]/status" ,"I");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button102" class="btn2_letter4" style="left:246px; top:7px; width:64px; height:19px; ">
- <caption>선택취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for ( i = 1; i < grd_prcpsrchlist.rows; i++ ) {
- model.setValue( "/root/prcpsrch/prcplist[" + i + "]/status" ,"N");
- }
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_detl" class="btn2_letter2" style="left:317px; top:37px; width:42px; height:19px; ">
- <caption>이전</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fdetlvw();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:29px; x2:378px; y2:29px; "/>
- <!--
- <button id="btn_genr" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:0px; top:7px; width:60px; height:22px; ">
- <caption>일반</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqOrderPrcp("genr");
- ]]>
- </script>
- </button>
- <button id="btn_bmt" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:60px; top:7px; width:60px; height:22px; ">
- <caption>BMT</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqOrderPrcp("bmt");
- ]]>
- </script>
- </button>
- -->
- </xhtml:body>
- </xhtml:html>
|