123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <?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>
- <cnst>
- <cnstinfo>
- <pid/>
- <rgstseqno/>
- <statflag/>
- <drugrtn/>
- <cnsttm/>
- <replestm/>
- <replimpsi/>
- <remark/>
- <repldd/>
- <writid/>
- <writnm/>
- <replid/>
- <replnm/>
- <repltm/>
- </cnstinfo>
- <cnstinfo2>
- <cnstseqno/>
- <formrecseq/>
- <prcphosp/>
- <prcphosptel/>
- <prcppharm/>
- <prcppharmtel/>
- <drugresn/>
- <drugrtn/>
- <cnstdd/>
- <cnstdeptnm/>
- <cnstdrnm/>
- <cnstdeptcd/>
- <cnstdrid/>
- </cnstinfo2>
- <drugidlist>
- <rowcnt/>
- <photyn/>
- <phot/>
- <hngnm/>
- <comcnts/>
- <efcysmm/>
- <useyn/>
- <useyncmt/>
- <homodrugflag/>
- <samedrug/>
- <estmyn/>
- <idseqno/>
- <photoid/>
- <orgimg/>
- <idcd/>
- </drugidlist>
- <patinfolist>
- <pid/>
- <hngnm/>
- <sna/>
- <cnstdeptcd/>
- <roomcd/>
- <orddd/>
- <rrgstno/>
- <title/>
- <rowtitle/>
- </patinfolist>
- <diaglist>
- <diagcd/>
- <diagengnm/>
- <diaghngnm/>
- </diaglist>
- </cnst>
- </main>
- <send>
- <srchinfo>
- <pid/>
- <orddd/>
- <cretno/>
- <prcpgenrflag/>
- <rgstseqno/>
- <cnstdd/>
- <formrecseq/>
- </srchinfo>
- <req>
- </req>
- <selfdrug>
- <savedata/>
- </selfdrug>
- <cnstinfo>
- <cnstcnts1/>
- <cnstcnts2/>
- <cnstcnts3/>
- <cnstcnts4/>
- <cnstcnts5/>
- <pid/>
- <formrecseq/>
- </cnstinfo>
- </send>
- <init/>
- <hidden>
- <item>
- <rgstseqno/>
- </item>
- <tmflag/>
- <repldt/>
- <popupmenu>
- <!--
- <menu>
- <label>잘라내기 Ctrl+X</label>
- <func>cut</func>
- </menu>
- -->
- <menu>
- <label>복사하기 Ctrl+C</label>
- <func>fRowCopy</func>
- </menu>
- <menu>
- <label>붙여넣기 Ctrl+V</label>
- <func>fPaste</func>
- </menu>
- <menu>
- <label>지우기</label>
- <func>fdel</func>
- </menu>
- <menu>
- <label/>
- <func/>
- </menu>
- <menu>
- <label>사진파일 불러오기</label>
- <func>floadimg</func>
- </menu>
- <!--
- <menu>
- <label>사진 붙여넣기</label>
- <func>fPasteimg</func>
- </menu>
- <menu>
- <label>사진 지우기</label>
- <func>fdel</func>
- </menu>
-
- <menu>
- <label/>
- <func/>
- </menu>
- <menu>
- <label>한줄삭제</label>
- <func>fDataGridRowDelete</func>
- </menu>
- -->
- </popupmenu>
- <cnststatinfo>
- <cnststat/>
- </cnststatinfo>
- <selfdrug>
- <selfholdflag/>
- <selfholdstat/>
- <selfholdgenrdd/>
- <anamneflag/>
- <drugspdunitflag/>
- <clincstdyflag/>
- <cvrtbfprcpgenrflag/>
- <trnptbftestflag/>
- <rgstridnm/>
- <etcprcpresncd/>
- <rgstrid/>
- <prcpno/>
- <fixprcpflag/>
- <prcpnm/>
- <choiordflag/>
- <optermcd/>
- <oprsrvno/>
- <prcppkspec/>
- <drugmthdspccd/>
- <wardcd/>
- <prcpflag/>
- <prcplnkdd/>
- <cvrtbfcretno/>
- <mealprotcnts/>
- <pampkspec/>
- <orgprcpnm/>
- <fstrgstrid/>
- <drugmastspec/>
- <prcpdayno/>
- <prcpessninptflag/>
- <cvrtbforddd/>
- <prcpdirecflag/>
- <prcpvolunitnm/>
- <updtrid/>
- <prnprcpflag/>
- <prcpinptflag/>
- <nigtprcpflag/>
- <rateprcpflag/>
- <prcpsetcd/>
- <prcphistcd/>
- <grupsnglflag/>
- <tnsfiltflag/>
- <prcpdd/>
- <erreadflag/>
- <tempprcpflag/>
- <ordreqlnkno/>
- <clincstdycd/>
- <drugpackflag/>
- <prcpkindcd/>
- <drugmthdspccdnm/>
- <cretno/>
- <prcprefseq/>
- <prcpsignflag/>
- <stemcellflag/>
- <updtdeptcd/>
- <prcpcd/>
- <hosinprcpresncd/>
- <prcpmixno/>
- <pid/>
- <indd/>
- <erprcpflag/>
- <prcpvol/>
- <asttestflag/>
- <prcpgenrflag/>
- <roomcd/>
- <prcpclscd/>
- <powdflag/>
- <payflagcd/>
- <prcpvolunitflag/>
- <opansflagcd/>
- <fstrgstdt/>
- <lastupdtrid/>
- <prcphopedd/>
- <prcpqtyunitnm/>
- <prcpqty/>
- <prcpexecdeptcd/>
- <rgstdt/>
- <prcpstatcd/>
- <suppdeptspec/>
- <testreqlnkno/>
- <portprcpflag/>
- <contprcpspec/>
- <selfdrugflag/>
- <prcpqtyunitflag/>
- <rgstdd/>
- <lastupdtdt/>
- <mealcalrcnts/>
- <etclnkspec/>
- <srchcondcnts/>
- <rgsttm/>
- <angioflagcd/>
- <prcptims/>
- <ansttm/>
- <rgstdeptcd/>
- <prtlno/>
- <matrsetprcpspec/>
- <calcscormastspec/>
- <fastprcpflag/>
- <drugrateqty/>
- <issdeptcd/>
- <updtdd/>
- <tempstat/>
- <instcd/>
- <selfprcpflag/>
- <updttm/>
- <precureprcpflag/>
- <orddd/>
- <hosinhosoutflag/>
- <prcplnkno/>
- <tnsuseflag/>
- <mealupdtflag/>
- <offictourhealexamflag/>
- <prcphistno/>
- <tootfact/>
- <rateprcpspec/>
- <prepprcpflag/>
- <prcpdelivefact/>
- <drugspd/>
- <orgprcpqty/>
- <prcpauthflag/>
- <cpno/>
- <anticncrprtlno/>
- <orddeptcd/>
- <orddrid/>
- <oldprcphistno/>
- <hscttempprcpflag/>
- <inclprcpcd/>
- <inclprcpno/>
- <calcflag/>
- <calcyn/>
- <hsctdelivepos/>
- <hsctlnkno/>
- <etcprcpflag/>
- <aftcertflag/>
- <aftcertdrid/>
- <prcpvalidd/>
- <spynpy1/>
- <specdrid/>
- <anticncrprtlno/>
- <anticncrdayno/>
- <druglnkno/>
- <rehbprcpcurefreqflag/>
- <dietprcpgenrflag/>
- <irpayflag/>
- <irflag/>
- <procerdietflag/>
- <diagtestconttestintvlflag/>
- <drugindependpackflag/>
- <diagtestconttestbasetm/>
- <diagtestconttestorgtims/>
- <ermediscmngtresncd/>
- <rehbprcpenddd/>
- <matrallsizespecid/>
- <rehbprcpcurepartcd/>
- <lowdrugresncd/>
- <tfdtlcd/>
- <dnorreqlnkno/>
- <subcretno/>
- <exptmthdfact/>
- <lowdrugresnetcfact/>
- <diagtestconttestcdspec/>
- <drprcpetc1/>
- <drprcpetc2/>
- <drprcpetc3/>
- <drprcpetc4/>
- <drprcpetc5/>
- <drprcpetc6/>
- <drprcpetc7/>
- <drprcpetc8/>
- <drprcpetc9/>
- <drprcpetc10/>
- <prcptempcol1/>
- <prcptempcol2/>
- <prcptempcol3/>
- <prcptempcol4/>
- <prcptempcol5/>
- <oldprcphistcd/>
- </selfdrug>
- </hidden>
- <temp>
- <cnstinfo/>
- <popupdata>
- <repltype/>
- <writid/>
- <writnm/>
- <receivedata>/root/main/cnst/cnstinfo/replid</receivedata>
- </popupdata>
- <ret/>
- </temp>
- <paminfo/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/pharmacyweb/js/SMADC01600.js"/>
- <script type="javascript">
- <![CDATA[ opener
- var pasteType = ""; // 붙여넣기 구분
-
- // 복사하기
- function fRowCopy(){
- grd_drugid.dispatch("oncopy");
- }
-
- // 붙여넣기
- function fPaste(){
- //pasteType="char";
- grd_drugid.dispatch("onpaste");
- }
- //지우기
- function fdel(){
- fgrid_clear();
- }
-
- // 이미지 붙여넣기 - 2차개발 예정
- function fPasteimg(){
- //pasteType="img";
- //grd_drugid.dispatch("onpaste");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //2008-12-01 버튼권한
- btn_save.disabled = !checkAuth("X") ; //저장
- btn_repl.disabled = !checkAuth("X") ; //회신
- btn_del.disabled = !checkAuth("X") ; //삭제
- btn_can.visible = false; //회신취소 20120822 김치국 회신취소를 위한 방법
- grd_drugid.rowHeight(0) = 40;
- // 진료화면에서 팝업시 cnstinfo/cnsttype의 내용은 존재하지 않음
- // 의뢰화면에서 팝업 로딩시 cnsttype = "ast"
- if(model.getValue("/root/temp/cnstinfo/cnsttype") != "ast"){
- var pid = model.getValue("/root/temp/cnstinfo/pid");
- var formrecseq = model.getValue("/root/temp/cnstinfo/formrecseq");
- if(isNull(formrecseq)) {
- model.removeNodeset("/root/main/cnst/drugidlist");
- model.refresh();
- return; // 약국메뉴에서 직접 로딩시
- }
- // consult 에서 로딩시 버튼 숨기기
- btn_save.visible = false;
- btn_repl.visible = false;
- btn_del.visible = false;
- btn_srch.visible = false;
- btn_grdadd.visible = false;
- btn_grddel.visible = false;
-
- model.refresh();
- model.setValue("/root/send/srchinfo/formrecseq",formrecseq);
- model.setValue("/root/send/srchinfo/pid",pid);
- // emr에서 회신내용 확인시 회신확정으로 변경 (TXADC66201)
- if(submit("TXADC66201")){
- submit("TRADC01602",false);
- }
-
-
- }
- var formrecseq = model.getValue("/root/temp/cnstinfo/formrecseq");
- var pid = model.getValue("/root/temp/cnstinfo/pid");
- var cretno = model.getValue("/root/temp/cnstinfo/cretno");
- var orddd = model.getValue("/root/temp/cnstinfo/orddd");
- var prcpgenrflag = model.getValue("/root/temp/cnstinfo/prcpgenrflag");
- var rgstseqno= model.getValue("/root/temp/cnstinfo/rgstseqno");
- var cnstdd= model.getValue("/root/temp/cnstinfo/cnstdd");
-
- if ( pid != "") {
- model.setValue("/root/send/srchinfo/formrecseq", formrecseq);
- model.setValue("/root/send/srchinfo/pid", pid);
- model.setValue("/root/send/srchinfo/cretno", cretno);
- model.setValue("/root/send/srchinfo/orddd", orddd);
- model.setValue("/root/send/srchinfo/prcpgenrflag", prcpgenrflag);
- model.setValue("/root/send/srchinfo/rgstseqno", rgstseqno);
- model.setValue("/root/send/srchinfo/cnstdd", cnstdd);
- model.refresh();
-
- var success = submit("TRADC01601",false);
-
- if (success == false) {
- model.resetInstanceNode("/root/main/cnst");
- model.refresh();
- }else{
- // alert("약품의뢰합니다.")
- var rowcnt = 0;
- rowcnt = rowcnt + 1 ;
- //회신일시 설정 (회신일자 + 회신시간)
- var repldd = model.getValue("/root/main/cnst/cnstinfo/repldd");
- var repltm = model.getValue("/root/main/cnst/cnstinfo/repltm");
- model.setValue("/root/hidden/repldt",repldd+repltm);
- if(model.getValue("/root/main/cnst/drugidlist["+1+"]/idseqno") == ""){
- model.removeNodeset("/root/main/cnst/drugidlist");
- }else{
- // alert(rowcnt)
- fImgSetting(true);
- }
- // 저장된 약반송 여부가 없으면 의뢰시 지정한 약반송 여부 표시
- if(model.getValue("/root/main/cnst/cnstinfo/drugrtn") == ""){
- model.setValue("/root/main/cnst/cnstinfo/drugrtn", model.getValue("/root/main/cnst/cnstinfo2/drugrtn"));
- }
- // 기존 작성자가 존재하지 않으면 현재 사용자의 아이디값으로 설정
- if(model.getValue("/root/main/cnst/cnstinfo/writnm") == ""){
- model.setValue("/root/main/cnst/cnstinfo/writid", getUserId());
- model.setValue("/root/main/cnst/cnstinfo/writnm", getUserName());
- }
- //rowcnt = rowcnt + 1 ;
- //model.setValue("/root/main/cnst/drugidlist["+ rowcnt+"]/rowcnt", rowcnt);
- }
- /////2012.9.11 김치국 SEQ부여하기
- model.refresh();
- for( var i = 1 ; i < grd_drugid.rows ; i++ ) {
- model.setValue("/root/main/cnst/drugidlist["+ i +"]/rowcnt", i);
- }
- model.refresh();
-
- if (model.getValue("/root/main/cnst/cnstinfo/statflag") == "Z"){
- messageBox("회신처리된 의뢰 건","I009");
- }
-
- fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리
- }else{
- model.removeNodeset("/root/main/cnst/drugidlist");
- }
- // alert( model.getValue("/root/temp/cnstinfo/pidchkflag") ) ;
- // alert(getUserInfos() ) ;
- // alert(getUserInfo("dutunitcd") ) ;
- if(model.getValue("/root/temp/cnstinfo/pidchkflag") == "Y") {
- // 20100119_laboru_약사 이외의 사용자인 경우
- btn_save.disabled = true;
- btn_repl.disabled = true;
- btn_del.disabled = true;
- }
- //회신취소 20120822 김치국 회신취소를 위한 방법 약무정보파트 부서는 모두 보여줌 , 칠곡 약제부, ast아이디 보이게 수정 2014.10.6 김치국
- if ( getUserInfo("dutunitcd") == "3242406000" || getUserInfo("dutunitcd") == "3242800000" || getUserInfo("dutunitcd") == "1000000000" ) {
- btn_can.visible = true;
- }
-
-
- //model.makeNode("/root/main/cnst/drugidlist");
- model.refresh();
-
-
- // //직종이 약사인경우만
- // alert( sjobkindcd.substr(0,2) ) ;
- //
- // if ( sjobkindcd.substr(0,2) != "12" ) {
- // btn_save.disabled = true ; //저장
- // btn_repl.disabled = true ; //회신
- // btn_del.disabled = true ; //삭제
- // }
- //---------------(20091024)
-
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- <submission id="TRADC01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/cnst"/>
- <submission id="TXADC01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden/item"/>
- <submission id="TXADC01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden/item"/>
- <submission id="TRADC01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/temp"/>
- <submission id="TRADC62202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/hidden/cnststatinfo"/>
- <submission id="TXADC66201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/hidden/cnststatinfo"/>
- <submission id="TXADC61703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cnstinfo" replace="instance" resultref="/root/hidden/cnststatinfo"/>
- <submission id="TXMMO14901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/selfdrug" replace="instance" resultref="/root/temp/ret"/>
- </model>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">약품 식별 회신 등록</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:35px; width:1195px; height:744px; ">
- <line id="line10" class="line_1" style="x1:0px; y1:225px; x2:1194px; y2:225px; "/>
- <group id="group4" style="left:0px; top:10px; width:1195px; height:90px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="output11" ref="/root/main/cnst/patinfolist/pid" class="input_s_essential" navindex="1" maxlength="10" appearance="input" style="left:95px; top:10px; width:100px; height:19px; text-align:center; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- model.resetInstanceNode("/root/send/srchinfo");
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <output id="output12" ref="/root/main/cnst/patinfolist/hngnm" class="output_search" style="left:280px; top:10px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption34" class="search_name" style="left:200px; top:10px; width:53px; height:17px; text-align:left; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">성명</caption>
- <caption id="caption37" class="search_name" style="left:5px; top:10px; width:76px; height:17px; text-align:left; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호</caption>
- <output id="output17" ref="/root/main/cnst/patinfolist/roomcd" class="output_search" style="left:95px; top:60px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption33" class="search_name" style="left:5px; top:35px; width:86px; height:17px; text-align:left; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">성별/나이</caption>
- <output id="output13" ref="/root/main/cnst/patinfolist/sna" class="output_search" style="left:95px; top:35px; width:100px; height:19px; text-align:center; "/>
- <output id="output14" ref="/root/main/cnst/patinfolist/cnstdeptcd" class="output_search" style="left:455px; top:10px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption35" class="search_name" style="left:385px; top:10px; width:63px; height:17px; text-align:left; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">진료과</caption>
- <caption id="caption36" class="search_name" style="left:200px; top:60px; width:58px; height:17px; text-align:left; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">입원일</caption>
- <output id="output15" ref="/root/main/cnst/patinfolist/orddd" class="output_search" format="yyyy-mm-dd" style="left:280px; top:60px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption31" class="search_name" style="left:5px; top:60px; width:51px; height:17px; text-align:left; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">병실</caption>
- <datagrid id="datagrid2" nodeset="/root/main/cnst/diaglist" backcoloralternate="#f0f0f0" caption="상병코드^영문상병명^한글상병명" colsep="^" colwidth="105, 240, 189" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:645px; top:6px; width:538px; height:74px; ">
- <col ref="diagcd"/>
- <col ref="diagengnm"/>
- <col ref="diaghngnm"/>
- </datagrid>
- <line id="line11" class="line_3" style="x1:644px; y1:80px; x2:1180px; y2:80px; "/>
- <caption id="caption56" class="search_name" style="left:565px; top:10px; width:80px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">상병정보</caption>
- <line id="line2" class="line_2" style="x1:5px; y1:30px; x2:194px; y2:30px; "/>
- <line id="line3" class="line_2" style="x1:5px; y1:55px; x2:194px; y2:55px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:80px; x2:194px; y2:80px; "/>
- <line id="line5" class="line_2" style="x1:200px; y1:30px; x2:376px; y2:30px; "/>
- <line id="line6" class="line_2" style="x1:385px; y1:30px; x2:555px; y2:30px; "/>
- <line id="line7" class="line_2" style="x1:200px; y1:80px; x2:376px; y2:80px; "/>
- <output id="opt_rrgstno" ref="/root/main/cnst/patinfolist/rrgstno" class="output_search" style="left:280px; top:35px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption1" class="search_name" style="left:200px; top:35px; width:76px; height:17px; text-align:left; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">주민번호</caption>
- <line id="line8" class="line_2" style="x1:200px; y1:55px; x2:376px; y2:55px; "/>
- </group>
- <caption id="caption40" class="cell_1" style="left:0px; top:150px; width:79px; height:23px; vertical-align:middle; ">조제약국</caption>
- <input id="input10" ref="/root/main/cnst/cnstinfo2/prcphosptel" class="input_search" navindex="3" maxlength="30" style="left:240px; top:129px; width:130px; height:19px; "/>
- <caption id="caption42" style="left:215px; top:130px; width:25px; height:15px; vertical-align:middle; ">Tel)</caption>
- <button id="btn_srch" class="btn2_letter2" navindex="11" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1040px; top:203px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fPopupDrugIDSrch();
- ]]>
- </script>
- </button>
- <caption id="caption44" class="cell_1" style="left:0px; top:175px; width:79px; height:23px; vertical-align:middle; ">약 복용이유</caption>
- <input id="input12" ref="/root/main/cnst/cnstinfo2/prcphosp" class="input_search" navindex="2" maxlength="10" style="left:85px; top:129px; width:130px; height:19px; vertical-align:middle; "/>
- <input id="input15" ref="/root/main/cnst/cnstinfo2/prcppharmtel" class="input_search" navindex="5" maxlength="30" style="left:240px; top:154px; width:130px; height:19px; "/>
- <caption id="caption46" style="left:215px; top:155px; width:25px; height:15px; vertical-align:middle; ">Tel)</caption>
- <input id="input16" ref="/root/main/cnst/cnstinfo2/prcppharm" class="input_search" navindex="4" maxlength="10" style="left:85px; top:154px; width:130px; height:19px; "/>
- <caption id="caption49" class="tit_2" style="left:5px; top:105px; width:144px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">의뢰정보</caption>
- <caption id="caption51" class="cell_1" style="left:0px; top:125px; width:79px; height:23px; vertical-align:middle; ">처방의원</caption>
- <caption id="caption54" class="tit_2" style="left:9px; top:209px; width:144px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">식별정보</caption>
- <line id="line21" class="line_1" style="x1:0px; y1:120px; x2:600px; y2:120px; "/>
- <line id="line22" class="line_3" style="x1:0px; y1:200px; x2:1195px; y2:200px; "/>
- <line id="line23" class="line_2" style="x1:0px; y1:148px; x2:601px; y2:148px; "/>
- <line id="line24" class="line_2" style="x1:0px; y1:173px; x2:601px; y2:173px; "/>
- <button id="btn_grdadd" class="btn2_letter3" navindex="12" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1085px; top:203px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_drugid.addItem();
- var i = grd_drugid.rows - 1;
- setImageRefInstance("/root/main/cnst/drugidlist["+i+"]/phot");
- grd_drugid.rowHeight(grd_drugid.row) = 85;
- /////2012.9.11 김치국 행추가시 SEQ부여하기
- // alert( r_cnt ) ;
- model.refresh();
- var r_cnt = grd_drugid.rows ;
- var k = 1;
- for( var j = 1 ; j < r_cnt ; j++ ) {
- // alert( j + " : " + grd_drugid.rowStatus(j) ) ;
- if(grd_drugid.rowStatus(j) != 4)
- model.setValue("/root/main/cnst/drugidlist["+ j +"]/rowcnt", k++);
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" navindex="13" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1140px; top:203px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fDataGridRowDelete();
- // model.removeNode("/root/main/cnst/drugidlist["+ j +"]");
- model.refresh();
- /////2012.9.11 김치국 행추가시 SEQ부여하기
- var r_cnt = grd_drugid.rows ;
- var k = 1;
- for( var j = 1 ; j < grd_drugid.rows ; j++ ) {
- // alert( j + " : " + grd_drugid.rowStatus(j) ) ;
- if(grd_drugid.rowStatus(j) != 4)
- model.setValue("/root/main/cnst/drugidlist["+ j +"]/rowcnt", k++);
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line25" class="line_3" style="x1:0px; y1:740px; x2:1195px; y2:740px; "/>
- <caption id="caption38" class="cell_1" style="left:375px; top:125px; width:79px; height:23px; vertical-align:middle; ">의뢰일시</caption>
- <caption id="caption39" class="cell_1" style="left:375px; top:150px; width:79px; height:23px; vertical-align:middle; ">의뢰과</caption>
- <output id="output16" ref="/root/main/cnst/cnstinfo2/cnstdd" class="output_fix" format="yyyy-mm-dd" style="left:460px; top:129px; width:140px; height:19px; "/>
- <caption id="caption58" class="cell_1" style="left:375px; top:175px; width:79px; height:23px; vertical-align:middle; ">의뢰자</caption>
- <input id="input19" ref="/root/main/cnst/cnstinfo2/drugresn" class="input_search" navindex="6" maxlength="100" style="left:85px; top:179px; width:285px; height:19px; "/>
- <output id="output19" ref="/root/main/cnst/cnstinfo2/cnstdeptnm" class="output_fix" style="left:460px; top:154px; width:140px; height:19px; "/>
- <output id="output20" ref="/root/main/cnst/cnstinfo2/cnstdrnm" class="output_fix" style="left:460px; top:179px; width:140px; height:19px; "/>
- <line id="line20" class="line_1" style="x1:607px; y1:120px; x2:1195px; y2:120px; "/>
- <caption id="caption50" class="cell_1" style="left:785px; top:150px; width:90px; height:23px; vertical-align:middle; ">회신불가</caption>
- <caption id="caption41" class="tit_2" style="left:612px; top:105px; width:144px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">회신정보</caption>
- <caption id="caption53" class="cell_1" style="left:985px; top:150px; width:85px; height:23px; text-align:center; vertical-align:middle; ">작성자</caption>
- <caption id="caption43" class="cell_1" style="left:607px; top:150px; width:73px; height:23px; vertical-align:middle; ">회신추정</caption>
- <caption id="caption55" class="cell_1" style="left:985px; top:125px; width:85px; height:23px; text-align:center; vertical-align:middle; ">회신일시</caption>
- <caption id="caption45" class="cell_1" style="left:607px; top:175px; width:73px; height:23px; vertical-align:middle; ">전달사항</caption>
- <caption id="caption57" style="left:963px; top:155px; width:20px; height:15px; vertical-align:middle; ">건</caption>
- <output id="output18" ref="/root/hidden/repldt" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:1075px; top:129px; width:120px; height:19px; "/>
- <line id="line17" class="line_2" style="x1:607px; y1:148px; x2:1194px; y2:148px; "/>
- <caption id="caption47" style="left:767px; top:155px; width:20px; height:15px; vertical-align:middle; ">건</caption>
- <caption id="caption25" class="cell_1" style="left:607px; top:125px; width:73px; height:23px; vertical-align:middle; ">약반송</caption>
- <caption id="caption59" class="cell_1" style="left:985px; top:175px; width:85px; height:23px; text-align:center; vertical-align:middle; ">회신자</caption>
- <caption id="caption48" class="cell_1" style="left:785px; top:125px; width:90px; height:23px; vertical-align:middle; ">소요시간</caption>
- <select1 id="radio2" ref="/root/main/cnst/cnstinfo/drugrtn" navindex="7" appearance="full" cols="2" rows="1" vcellspacing="4" overflow="visible" style="left:685px; top:125px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>1</value>
- </item>
- <item>
- <label>아니오</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line18" class="line_2" style="x1:607px; y1:173px; x2:1194px; y2:173px; "/>
- <input id="input17" ref="/root/main/cnst/cnstinfo/replestm" navindex="8" maxlength="4" format="9999" style="left:685px; top:154px; width:80px; height:19px; "/>
- <line id="line19" class="line_2" style="x1:607px; y1:198px; x2:1195px; y2:198px; "/>
- <button id="btn_tm" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:940px; top:129px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>ON</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var tmflag = model.getValue("/root/hidden/tmflag");
- if(tmflag == 1){
- btn_tm.text = "ON";
- model.setValue("/root/hidden/tmflag","0");
- fStopTimer();
- model.refresh();
- }else{
- btn_tm.text = "OFF";
- model.setValue("/root/hidden/tmflag","1");
- model.refresh();
- gTimer = window.setInterval("fStartTimer()",1000);
- }
- ]]>
- </script>
- </button>
- <input id="input18" ref="/root/main/cnst/cnstinfo/replimpsi" navindex="9" maxlength="1" format="9" style="left:880px; top:154px; width:80px; height:19px; "/>
- <input id="input4" ref="/root/main/cnst/cnstinfo/remark" class="input_search" navindex="10" maxlength="66" style="left:685px; top:179px; width:295px; height:19px; "/>
- <input id="input5" ref="/root/main/cnst/cnstinfo/writnm" class="output_fix" style="left:1075px; top:154px; width:120px; height:19px; "/>
- <input id="input6" ref="/root/main/cnst/cnstinfo/replnm" class="output_fix" style="left:1075px; top:179px; width:120px; height:19px; "/>
- <output id="opt_cnsttm" ref="/root/main/cnst/cnstinfo/cnsttm" class="output_fix" style="left:880px; top:129px; width:58px; height:19px; "/>
- <datagrid id="grd_drugid" nodeset="/root/main/cnst/drugidlist" autoresize="false" backcoloralternate="#f0f0f0" caption="순번^유무^사진^상품명^성분 및 함량^효능 효과^본원
사용^본원사용비고^동종약^동효약^추정^idcd^caption1^caption2" colsep="^" colwidth="27, 34, 186, 155, 240, 165, 65, 100, 130, 130, 35, 100, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:230px; width:1194px; height:505px; font-size:11pt; ">
- <col ref="rowcnt" type="output"/>
- <col checkvalue="Y,N" ref="photyn" type="checkbox"/>
- <col loadtype="cdata" ref="phot" style="background-stretch:stretch; "/>
- <col ref="hngnm" type="input"/>
- <col ref="comcnts" type="input"/>
- <col ref="efcysmm" type="input" style="font-size:9pt; "/>
- <col ref="useyn" type="input" style="font-size:8pt; text-align:center; "/>
- <col ref="useyncmt" type="input" visibility="hidden"/>
- <col ref="homodrugflag" type="input"/>
- <col ref="samedrug" type="input" style="left:1025px; top:23px; width:130px; height:23px; "/>
- <col checkvalue="Y,N" ref="estmyn" type="checkbox"/>
- <col ref="idcd" visibility="hidden"/>
- <col ref="idseqno" visibility="hidden" style="left:1155px; top:23px; width:100px; height:23px; "/>
- <col ref="photoid" visibility="hidden"/>
- <col ref="orgimg" visibility="hidden"/>
- <col ref="drugcd" visibility="hidden"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_drugid", false , "/root/hidden/popupmenu/menu", "label", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- astgrid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onpaste">
- <![CDATA[
- //if(pasteType == "char"){
- astgrid_onpaste();
- //}else {
- // messageBox("준비중","I009");
- //pasteImg(); 이미지 붙여넣기
- //}
- ]]>
- </script>
- <!-- 그리드 더블클릭시 free 모드로 전환 -->
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_drugid.col != "0" & grd_drugid.selectionMode == "list"){
- grd_drugid.selectionMode = "free";
- model.refresh();
- }
- ]]>
- </script>
- <!-- rowheader 원클릭시 list모드로 전환 // 선택된 행 선택 -->
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_drugid.mouseCol == "0"){
- grd_drugid.selectionMode = "list";
- var row = grd_drugid.row;
- grd_drugid.select(row,0) = true;
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // 잘라내기 기능 불안정으로 인해 막음 2008-10-01
- /*
- if(event.keyCode == 24){
- grd_drugid.dispatch("oncopy");
- fdel();
- }else if(event.keyCode == 4){
- fdel();
- }
- */
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_2" style="x1:0px; y1:198px; x2:601px; y2:198px; "/>
- <img id="img_hidden" visibility="hidden" style="left:100px; top:205px; width:125px; height:15px; background-stretch:stretch; "/>
- <datagrid id="grd_selfdrug" nodeset="/root/hidden/selfdrug" visibility="hidden" caption="a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a^a" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:860px; top:345px; width:270px; height:90px; ">
- <col ref="selfholdflag"/>
- <col ref="selfholdstat"/>
- <col ref="selfholdgenrdd"/>
- <col ref="anamneflag"/>
- <col ref="drugspdunitflag"/>
- <col ref="clincstdyflag"/>
- <col ref="cvrtbfprcpgenrflag"/>
- <col ref="trnptbftestflag"/>
- <col ref="rgstridnm"/>
- <col ref="etcprcpresncd"/>
- <col ref="rgstrid"/>
- <col ref="prcpno"/>
- <col ref="fixprcpflag"/>
- <col ref="prcpnm"/>
- <col ref="choiordflag"/>
- <col ref="optermcd"/>
- <col ref="oprsrvno"/>
- <col ref="prcppkspec"/>
- <col ref="drugmthdspccd"/>
- <col ref="wardcd"/>
- <col ref="prcpflag"/>
- <col ref="prcplnkdd"/>
- <col ref="cvrtbfcretno"/>
- <col ref="mealprotcnts"/>
- <col ref="pampkspec"/>
- <col ref="orgprcpnm"/>
- <col ref="fstrgstrid"/>
- <col ref="drugmastspec"/>
- <col ref="prcpdayno"/>
- <col ref="prcpessninptflag"/>
- <col ref="cvrtbforddd"/>
- <col ref="prcpdirecflag"/>
- <col ref="prcpvolunitnm"/>
- <col ref="updtrid"/>
- <col ref="prnprcpflag"/>
- <col ref="prcpinptflag"/>
- <col ref="nigtprcpflag"/>
- <col ref="rateprcpflag"/>
- <col ref="prcpsetcd"/>
- <col ref="prcphistcd"/>
- <col ref="grupsnglflag"/>
- <col ref="tnsfiltflag"/>
- <col ref="prcpdd"/>
- <col ref="erreadflag"/>
- <col ref="tempprcpflag"/>
- <col ref="ordreqlnkno"/>
- <col ref="clincstdycd"/>
- <col ref="drugpackflag"/>
- <col ref="prcpkindcd"/>
- <col ref="drugmthdspccdnm"/>
- <col ref="cretno"/>
- <col ref="prcprefseq"/>
- <col ref="prcpsignflag"/>
- <col ref="stemcellflag"/>
- <col ref="updtdeptcd"/>
- <col ref="prcpcd"/>
- <col ref="hosinprcpresncd"/>
- <col ref="prcpmixno"/>
- <col ref="pid"/>
- <col ref="indd"/>
- <col ref="erprcpflag"/>
- <col ref="prcpvol"/>
- <col ref="asttestflag"/>
- <col ref="prcpgenrflag"/>
- <col ref="roomcd"/>
- <col ref="prcpclscd"/>
- <col ref="powdflag"/>
- <col ref="payflagcd"/>
- <col ref="prcpvolunitflag"/>
- <col ref="opansflagcd"/>
- <col ref="fstrgstdt"/>
- <col ref="lastupdtrid"/>
- <col ref="prcphopedd"/>
- <col ref="prcpqtyunitnm"/>
- <col ref="prcpqty"/>
- <col ref="prcpexecdeptcd"/>
- <col ref="rgstdt"/>
- <col ref="prcpstatcd"/>
- <col ref="suppdeptspec"/>
- <col ref="testreqlnkno"/>
- <col ref="portprcpflag"/>
- <col ref="contprcpspec"/>
- <col ref="selfdrugflag"/>
- <col ref="prcpqtyunitflag"/>
- <col ref="rgstdd"/>
- <col ref="lastupdtdt"/>
- <col ref="mealcalrcnts"/>
- <col ref="etclnkspec"/>
- <col ref="srchcondcnts"/>
- <col ref="rgsttm"/>
- <col ref="angioflagcd"/>
- <col ref="prcptims"/>
- <col ref="ansttm"/>
- <col ref="rgstdeptcd"/>
- <col ref="prtlno"/>
- <col ref="matrsetprcpspec"/>
- <col ref="calcscormastspec"/>
- <col ref="fastprcpflag"/>
- <col ref="drugrateqty"/>
- <col ref="issdeptcd"/>
- <col ref="updtdd"/>
- <col ref="tempstat"/>
- <col ref="instcd"/>
- <col ref="selfprcpflag"/>
- <col ref="updttm"/>
- <col ref="precureprcpflag"/>
- <col ref="orddd"/>
- <col ref="hosinhosoutflag"/>
- <col ref="prcplnkno"/>
- <col ref="tnsuseflag"/>
- <col ref="mealupdtflag"/>
- <col ref="offictourhealexamflag"/>
- <col ref="prcphistno"/>
- <col ref="tootfact"/>
- <col ref="rateprcpspec"/>
- <col ref="prepprcpflag"/>
- <col ref="prcpdelivefact"/>
- <col ref="drugspd"/>
- <col ref="orgprcpqty"/>
- <col ref="prcpauthflag"/>
- <col ref="cpno"/>
- <col ref="anticncrprtlno"/>
- <col ref="orddeptcd"/>
- <col ref="orddrid"/>
- <col ref="oldprcphistno"/>
- <col ref="hscttempprcpflag"/>
- <col ref="inclprcpcd"/>
- <col ref="inclprcpno"/>
- <col ref="calcflag"/>
- <col ref="calcyn"/>
- <col ref="hsctdelivepos"/>
- <col ref="hsctlnkno"/>
- <col ref="etcprcpflag"/>
- <col ref="aftcertflag"/>
- <col ref="aftcertdrid"/>
- <col ref="prcpvalidd"/>
- <col ref="spynpy1"/>
- <col ref="specdrid"/>
- <col ref="anticncrprtlno"/>
- <col ref="anticncrdayno"/>
- <col ref="druglnkno"/>
- <col ref="rehbprcpcurefreqflag"/>
- <col ref="dietprcpgenrflag"/>
- <col ref="irpayflag"/>
- <col ref="irflag"/>
- <col ref="procerdietflag"/>
- <col ref="diagtestconttestintvlflag"/>
- <col ref="drugindependpackflag"/>
- <col ref="diagtestconttestbasetm"/>
- <col ref="diagtestconttestorgtims"/>
- <col ref="ermediscmngtresncd"/>
- <col ref="rehbprcpenddd"/>
- <col ref="matrallsizespecid"/>
- <col ref="rehbprcpcurepartcd"/>
- <col ref="lowdrugresncd"/>
- <col ref="tfdtlcd"/>
- <col ref="dnorreqlnkno"/>
- <col ref="subcretno"/>
- <col ref="exptmthdfact"/>
- <col ref="lowdrugresnetcfact"/>
- <col ref="diagtestconttestcdspec"/>
- <col ref="drprcpetc1"/>
- <col ref="drprcpetc2"/>
- <col ref="drprcpetc3"/>
- <col ref="drprcpetc4"/>
- <col ref="drprcpetc5"/>
- <col ref="drprcpetc6"/>
- <col ref="drprcpetc7"/>
- <col ref="drprcpetc8"/>
- <col ref="drprcpetc9"/>
- <col ref="drprcpetc10"/>
- <col ref="prcptempcol1"/>
- <col ref="prcptempcol2"/>
- <col ref="prcptempcol3"/>
- <col ref="prcptempcol4"/>
- <col ref="prcptempcol5"/>
- <col ref="oldprcphistcd"/>
- </datagrid>
- <button id="button1" class="btn4_letter6" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:265px; top:100px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>의뢰정보저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/cnstinfo/cnstcnts1", model.getValue("/root/main/cnst/cnstinfo2/prcphosp"));
- model.setValue("/root/send/cnstinfo/cnstcnts2", model.getValue("/root/main/cnst/cnstinfo2/prcphosptel"));
- model.setValue("/root/send/cnstinfo/cnstcnts3", model.getValue("/root/main/cnst/cnstinfo2/prcppharm"));
- model.setValue("/root/send/cnstinfo/cnstcnts4", model.getValue("/root/main/cnst/cnstinfo2/prcppharmtel"));
- model.setValue("/root/send/cnstinfo/cnstcnts5", model.getValue("/root/main/cnst/cnstinfo2/drugresn"));
- model.setValue("/root/send/cnstinfo/pid", model.getValue("/root/main/cnst/cnstinfo2/pid"));
- model.setValue("/root/send/cnstinfo/formrecseq", model.getValue("/root/main/cnst/cnstinfo2/formrecseq"));
- submit("TXADC61703",false) ;
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button2" class="btn3_letter6" style="left:1px; top:5px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMAER00800 ","","","","","/root/send/srchinfo/pid","/root/send/data/singdata/srchpid");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter6" style="left:107px; top:5px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SMMRI00400_param_pid", model.getValue("/root/send/srchinfo/pid"));
- open("SMMRI00400");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter4" style="left:213px; top:5px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>약력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMADB10100",0,0,0,"SMADB10100","/root/send/srchinfo/pid","/root/temp/patinfo/pid");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn3_letter4" style="left:295px; top:5px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>약품편람</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMADB01900",0,0,0,"SMADB01900","","");
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:377px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //****************************************************************
- // 주민등록번호 편집, 999999-9****** 형식..
- var rrgstno = model.getValue("/root/main/cnst/patinfolist/rrgstno");
- var tmp_rrgstno = rrgstno.substr(0,8)+"******";
- model.setValue("/root/main/cnst/patinfolist/rrgstno", tmp_rrgstno);
- model.makeNode("/root/main/cnst/drugidlist"); //환자 원무정보를 끌어올수있게 20100426 황세원
- //****************************************************************
- //****************************************************************
- // 약품식별 회신서 출력
- exeReportPreview("RPADC01600", "XMLSTR", "", "", "false","","","","","false");
- //****************************************************************
- // 주민등록번호 원상태로 돌림
- model.setValue("/root/main/cnst/patinfolist/rrgstno", rrgstno);
- opt_rrgstno.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_repl" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1078px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>회신</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sChk = "N";
-
- if(submit("TRADC62202")){
- var cnststat = model.getValue("/root/hidden/cnststatinfo/cnststat");
- if(cnststat == "04"){
- messageBox("[취소] 더이상 수정하실 수","I004");
- }else if (cnststat == "30"){
- messageBox("[회신확정] 더이상 수정하실 수","I004");
- }else{
- var cfm = messageBox("회신내역을","Q002");
- if(cfm == 6){
- //저장이 성공한 경우만 회신 처리
- //if ( model.getValue("/root/hidden/item/saverslt") == 'Y' ) {
- // receivedata에는 회신자id 를 입력받을 노드셋으로 설정
-
-
- //========================== 회신자 확인 팝업 데이터 설정 ====================================
- model.setValue("/root/temp/popupdata/repltype", "drugid");
- model.setValue("/root/temp/popupdata/writid", model.getValue("/root/main/cnst/cnstinfo/writid"));
- model.setValue("/root/temp/popupdata/writnm", model.getValue("/root/main/cnst/cnstinfo/writnm"));
- modal("SPADC62300",0,400,300,"SPADC62300","/root/temp/popupdata","/root/temp/popupdata");
- // ========================================================================================
- // 팝업화면에서 전달된 회신자 아이디를 /root/main/cnst/cnstinfo/replid에 설정
-
- // 회신상태(Z)로 설정. 회신일자,시간 설정
- if(model.getValue("/root/main/cnst/cnstinfo/replid") != ""){
- model.setValue("/root/main/cnst/cnstinfo/statflag", "Z"); //회신
- model.makeValue("/root/main/cnst/cnstinfo/cnststat", "22"); //회신
- model.setValue("/root/main/cnst/cnstinfo/repldd", getCurrentDate());
- model.setValue("/root/main/cnst/cnstinfo/repltm", astgetCurrentTime());
- //model.makeNode("/root/main/cnst/cnstinfo/replid");
- //model.setValue("/root/main/cnst/cnstinfo/replid", getUserId());
-
- model.removeNodeset("/root/hidden/selfdrug");
- fSaveReqDrugId();
-
- //----------------------------------------------------------------------
- //자가약제 정보 전달.
- for(var iNo = 1 ; iNo <= getNodesetCount("/root/hidden/selfdrug") ; iNo++) {
- if(model.getValue("/root/hidden/selfdrug["+ iNo +"]/pid") != "") {
- grd_selfdrug.addStatus(iNo, "insert");
- sChk = "Y";
- }
- }
-
- if(sChk == "Y") {
- model.makeValue("/root/send/selfdrug/savedata", grd_selfdrug.getUpdateData("insert"));
- submit("TXMMO14901");
- }
- //----------------------------------------------------------------------
-
- }
- //}
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1138px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TRADC62202")){
- var cnststat = model.getValue("/root/hidden/cnststatinfo/cnststat");
- if(cnststat == "04"){
- messageBox("[취소] 더이상 수정하실 수","I004");
- }else if (cnststat == "30"){
- messageBox("[회신확정] 더이상 수정하실 수","I004");
- }else{
- if(messageBox("[삭제]시 저장된 회신 내역이 모두 삭제 됩니다.\n","Q001") == 6){
- model.setValue("/root/main/cnst/cnstinfo/drugrtn",""); // 약반송
- model.setValue("/root/main/cnst/cnstinfo/cnsttm",""); // 소요시간
- model.setValue("/root/main/cnst/cnstinfo/replestm",""); // 회신추정
- model.setValue("/root/main/cnst/cnstinfo/replimpsi",""); // 회신불가
- model.setValue("/root/main/cnst/cnstinfo/remark",""); // 전달사항
- model.makeValue("/root/main/cnst/cnstinfo/delyn","Y"); // 전달사항
-
- for(var i = grd_drugid.fixedRows; i < grd_drugid.rows; i++){
- //grd_drugid.select(i,0) = true
- grd_drugid.row = i;
- fDataGridRowDelete();
- }
- model.refresh();
- //model.makeValue("/root/main/cnst/cnstinfo/cnstseqno", model.getValue("/root/main/cnst/cnstinfo2/cnstseqno"));
- //model.makeValue("/root/main/cnst/cnstinfo/formrecseq", model.getValue("/root/main/cnst/cnstinfo2/formrecseq"));
- fSaveReqDrugId();
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1015px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/main/cnst/cnstinfo/statflag", "D"); //저장
- model.makeValue("/root/main/cnst/cnstinfo/cnststat", "21"); //회신임시
- model.setValue("/root/main/cnst/cnstinfo/writid", getUserId());
-
- if(submit("TRADC62202",false)){
- var cnststat = model.getValue("/root/hidden/cnststatinfo/cnststat");
- if(cnststat == "04"){
- messageBox("[취소] 더이상 수정하실 수","I004");
- }else if (cnststat == "30"){
- messageBox("[회신확정] 더이상 수정하실 수","I004");
- }else{
- fSaveReqDrugId();
- }
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_sea" class="btn1_letter2" visibility="hidden" style="left:950px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fRefDrugidCnst();
- ]]>
- </script>
- </button>
- <button id="btn_can" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:860px; top:5px; width:85px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>회신취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("[회신을 ","Q007") == 6){
- model.setValue("/root/main/cnst/cnstinfo/statflag", "D"); //저장
- model.makeValue("/root/main/cnst/cnstinfo/cnststat", "12"); //의뢰로 변환
- model.setValue("/root/main/cnst/cnstinfo/writid", getUserId());
- if(submit("TRADC62202",false)){
- fSaveReqDrugId();
- }
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|