123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="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 xmlns="">
- <main>
- <ordlist1>
- <mainordlist>
- <pid/>
- <patnm/>
- <prcpgenrflag/>
- <roomcd/>
- <depthngnm/>
- <execprcpuniqno/>
- <orddeptcd/>
- <rsrvdd/>
- <execprcpstatcd/>
- <prcpdd/>
- <sna/>
- <roomcd/>
- <orddrid/>
- <rcptyn/>
- <execrid/>
- <cstcnt/>
- <aftrcptinfo/>
- </mainordlist>
- </ordlist1>
- <ordlist2>
- <mainordlist>
- <no/>
- <pid/>
- <patnm/>
- <prcpgenrflag/>
- <roomcd/>
- <depthngnm/>
- <execprcpuniqno/>
- <orddeptcd/>
- <rsrvdd/>
- <prcpdd/>
- <execrid/>
- </mainordlist>
- </ordlist2>
- <ordlist3>
- <mainordlist>
- <no/>
- <pid/>
- <patnm/>
- <prcpgenrflag/>
- <roomcd/>
- <depthngnm/>
- <execprcpuniqno/>
- <orddeptcd/>
- <rsrvdd/>
- <prcpdd/>
- <execrid/>
- </mainordlist>
- </ordlist3>
- <ordlist4>
- <mainordlist>
- <no/>
- <pid/>
- <patnm/>
- <prcpgenrflag/>
- <roomcd/>
- <depthngnm/>
- <execprcpuniqno/>
- <orddeptcd/>
- <rsrvdd/>
- <prcpdd/>
- <execrid/>
- </mainordlist>
- </ordlist4>
- <patinfo>
- <patinfolist>
- <hngnm/>
- </patinfolist>
- </patinfo>
- <subordlist>
- <subordlist1>
- <diagdd/>
- <diagengnm/>
- <diagcd/>
- <orddeptnm/>
- <orddrnm/>
- </subordlist1>
- <subordlist2>
- <excuroomnm/>
- <prcpdd/>
- <prcpnm/>
- <calcscorcd/>
- <execprcpstatcd/>
- </subordlist2>
- <subordlist3>
- <check/>
- <prcpdd/>
- <execprcpstatcd/>
- <prcpkindcd/>
- <prcpnm/>
- <excuroomcd/>
- <rgstdepthngnm/>
- <rgstridnm/>
- <prcpgenrflag/>
- <basecd/>
- <rsrvdt/>
- <prcphopedt/>
- <execprcpuniqno/>
- <calcscorcd/>
- <prcpexecdeptcd/>
- <excuroomcd/>
- <rgstdeptcd/>
- <rgstrid/>
- <pid/>
- <portprcpflag/>
- <inflag/>
- <rcptacptyn/>
- <execbaseflag/>
- <lrgcd/>
- <mdlcd/>
- <excupartcd/>
- <modality/>
- <rcptno/>
- <acptseqno/>
- <acptrem/>
- <execrem/>
- <prcpdelivefact/>
- <execrid1/>
- <execrid2/>
- <execrid3/>
- <execrid4/>
- <reqagnphoyn/>
- <acptid/>
- <rcptdd/>
- <carecnfmdd/>
- <ioflag/>
- <prcpno/>
- <prcphistno/>
- <rehbprcpcurepartnm/>
- <prcpdirecnm/>
- <rehbprcpcurefreqnm/>
- <indd/>
- <cretno/>
- </subordlist3>
- <subordlist4>
- <check/>
- <prcpdd/>
- <execprcpstatcd/>
- <prcpkindcd/>
- <prcpnm/>
- <excuroomcd/>
- <rgstdepthngnm/>
- <rgstridnm/>
- <prcpgenrflag/>
- <basecd/>
- <rsrvdt/>
- <prcphopedt/>
- <execprcpuniqno/>
- <calcscorcd/>
- <prcpexecdeptcd/>
- <excuroomcd/>
- <rgstdeptcd/>
- <rgstrid/>
- <pid/>
- <portprcpflag/>
- <inflag/>
- <rcptacptyn/>
- <execbaseflag/>
- <lrgcd/>
- <mdlcd/>
- <excupartcd/>
- <modality/>
- <rcptno/>
- <acptseqno/>
- <acptrem/>
- <execrem/>
- <prcpdelivefact/>
- <execrid1/>
- <execrid2/>
- <execrid3/>
- <execrid4/>
- <reqagnphoyn/>
- <acptid/>
- <rcptdd/>
- <carecnfmdd/>
- <prcpno/>
- <prcphistno/>
- <rehbprcpcurepartnm/>
- <prcpdirecnm/>
- <rehbprcpcurefreqnm/>
- <indd/>
- <cretno/>
- </subordlist4>
- <isolinfo>
- <isoldispcd/>
- </isolinfo>
- <subordlist5>
- <suminfo/>
- <orddt/>
- </subordlist5>
- </subordlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <remlist>
- <reminfo1>
- <prcprem/>
- </reminfo1>
- <reminfo2>
- <acptrem/>
- </reminfo2>
- <reminfo3>
- <execrem/>
- </reminfo3>
- </remlist>
- </main>
- <send>
- <data>
- <cmb_info>
- <initexecroom>
- <excuroomcdid/>
- </initexecroom>
- <initexecrid>
- <execridcdid/>
- </initexecrid>
- </cmb_info>
- <srchpid/>
- <srchdate1/>
- <srchdate2/>
- <acptlistflag/>
- <grd_info>
- <grid_data>
- <execprcpuniqno/>
- </grid_data>
- </grd_info>
- <tobeacptprcp>
- <tobeacptprcplist/>
- </tobeacptprcp>
- <tobeacptcnclprcp>
- <tobeacptcnclprcplist/>
- </tobeacptcnclprcp>
- <tobesetexamcureroomcode>
- <tobesetexamcureroomcodelist/>
- </tobesetexamcureroomcode>
- <rdo_info>
- <ioflag/>
- </rdo_info>
- </data>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <flag/>
- <acptrem/>
- <prcprem/>
- <execrem/>
- <acptflag/>
- <dracptlist>
- <pid/>
- <cretno/>
- <orddd/>
- <ordtm/>
- </dracptlist>
- <orddeptcd/>
- <pid/>
- <req>
- <data/>
- <flag/>
- </req>
- <savedata/>
- <GosiPrcpRcpyn/>
- <deptcd/>
- </send>
- <init>
- <cmb_info>
- <initexecroom>
- <excuroomcdid>-</excuroomcdid>
- <excuroomcdnm>전체</excuroomcdnm>
- </initexecroom>
- </cmb_info>
- <baseinfo>
- <initexecprcpstatcd/>
- <initprcpkindcd/>
- <initexecrid>
- <execridcd>
- <usernm/>
- <userid/>
- </execridcd>
- </initexecrid>
- </baseinfo>
- <waitfoominfo>
- <waitroomcdval/>
- </waitfoominfo>
- <baseinfo1>
- <initsuppdeptcd/>
- <initexecyn/>
- </baseinfo1>
- <popupmenu>
- <grid01>
- <item>
- <name>컨설트조회</name>
- <func>fConsultSrch</func>
- </item>
- </grid01>
- </popupmenu>
- </init>
- <hidden>
- <count/>
- <cnclcdlist>
- <cnclcd/>
- </cnclcdlist>
- <isolinfo>
- <isoldata/>
- </isolinfo>
- <popupmenu>
- <menu>
- <item>
- <name>대기환자등록</name>
- <func>fSetWaitExcuRoomPatList</func>
- </item>
- </menu>
- </popupmenu>
- <prcprcptyn/>
- </hidden>
- <temp>
- <progressnote>
- <list>
- <cretno/>
- <ioflag/>
- <orddrid/>
- </list>
- </progressnote>
- <totaldclist>
- <patinfolist>
- <pid/>
- <hngnm/>
- <sexage/>
- <rrgstno/>
- </patinfolist>
- </totaldclist>
- <prcprcptyn/>
- <txtgosi_name/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- delPatientInfos();
- // 성빈센트병원만 환자접수 버튼 보여야 함.
- var instcd = getUserInfo("dutplceinstcd");
- var userid = getUserInfo("userid").substring(0,3);
-
-
- if( instcd == "017") {
- btn_tempacpt.visible = true;
- } else {
- /* btn_sea.attribute("left") = "1120";
- line1.attribute("x1") = "1103";
- line1.attribute("x2") = "1103";
- output3.attribute("left") = "975";
- output3.attribute("width") = "110";
- button61.attribute("left") = "940";
- input2.attribute("left") = "850";
- caption2.attribute("left") = "760";
- radio2.attribute("left") = "610";
- caption5.attribute("left") = "545";
- cmb_excuroom.attribute("left") = "415";
- caption4.attribute("left") = "330";
- ipt_todd.attribute("left") = "215";
- ipt_fromdd.attribute("left") = "116";
- caption1.attribute("left") = "28";*/
- }
-
- aezfSetSuppDeptcd();
-
- fInitGrid();
- fInitTar();
-
- model.setValue("/root/send/data/srchdate1", getCurrentDate()); //toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD")
- model.setValue("/root/send/data/srchdate2", getCurrentDate());
- submit("TRAEA01201", false);
-
- zbcfGetCodeList( new Array("M0011","M0003","A0608"), new Array("/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initprcpkindcd","/root/init/waitfoominfo/waitroomcdval") );
- submit("TRZBC00101", false);
-
- submit("TRAEA01208", false);//치료사매핑
-
- grd_subordlist3.fixedcellcheckbox(0,0) =true;
- grd_subordlist4.fixedcellcheckbox(0,0) =true;
-
- btn_case1.selected = true;
- // model.toggle("case1");
- btn_acpt.disabled = false;
- btn_acptcncl.disabled = true;
- button7.disabled = true;
- btn_roomupdt.disabled = true;
- grd_mainordlist.mergeCol(3) = false;
- grd_mainordlist.mergeCol(4) = false;
- grd_mainordlist.mergeCol(5) = false;
- grd_mainordlist.mergeCol(6) = false;
-
- btn_bfacpt.selected = true;
- astGetComboList( new Array("A530"), new Array("/root/init/baseinfo1/initsuppdeptcd") );
- submit("TRAAA00001", false);
- model.removeNodeset("/root/init/baseinfo1/initsuppdeptcd/A530[" + 1 + "]");
- //cmb_excuroom.select(cmb_excuroom.length-1);
- //var gv_pid = getGlobalVariable("gv_pid", "A");
- if (model.getValue("/root/send/data/srchpid") != ""){
- btn_case1.dispatch("DOMActivate");
- btn_sea.dispatch("DOMActivate");
- return;
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRAEA01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance/instance1" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ordlist1"/>
- <submission id="TRAEA01203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ordlist1"/>
- <submission id="TRAEA01204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ordlist1"/>
- <submission id="TRAEA01205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ordlist1"/>
- <submission id="TRAEA01206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/subordlist"/>
- <submission id="TRAEA01207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/subordlist"/>
- <submission id="TRAEA01212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/remlist"/>
- <submission id="TXAEA01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TXAEA01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TXAEA01205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TXAER00210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRAER00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/progressnote"/>
- <submission id="TXAEA01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/temp"/>
- <submission id="TRAAA00001"/>
- <bind id="bind_execprcpstatcd" ref="/root/main/subordlist/subordlist3/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
- <bind id="bind_prcpkindcd" ref="/root/main/subordlist/subordlist3/prcpkindcd" readonly="../prcpkindcd!=''"/>
- <bind id="bind1" ref="/root/main/subordlist/subordlist4/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
- <bind id="bind2" ref="/root/main/subordlist/subordlist4/prcpkindcd" readonly="../prcpkindcd!=''"/>
- <bind id="bind_execrid" ref="/root/main/ordlist1/mainordlist/execrid" readonly="../execrid!=''"/>
- <bind id="bind3" ref="/root/main/ordlist2/mainordlist/execrid" readonly="../execrid!=''"/>
- <bind id="bind4" ref="/root/main/ordlist3/mainordlist/execrid" readonly="../execrid!=''"/>
- <bind id="bind5" ref="/root/main/ordlist4/mainordlist/execrid" readonly="../execrid!=''"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAEA01208" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/baseinfo/initexecrid"/>
- <submission id="TRAER00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/initexecrid"/>
- <submission id="TXAEA01203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dracptlist" resultref="/root/temp"/>
- <submission id="TXMNV07007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/returnsts"/>
- <submission id="TRAEA01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/GosiPrcpRcpyn" replace="instance" resultref="/root/hidden/prcprcptyn"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../emr/waitguideweb/js/SMMNV12000.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- /* @group : 접수관리(재활)
- * @ver : 2007.06.08
- * @by : 이선경
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Grid초기화 Function
- */
- function fInitGrid() {
-
- model.removeNodeset("/root/main/ordlist1/mainordlist");
- model.removeNodeset("/root/main/ordlist2/mainordlist");
- model.removeNodeset("/root/main/ordlist3/mainordlist");
- model.removeNodeset("/root/main/ordlist4/mainordlist");
- model.removeNodeset("/root/main/subordlist/subordlist1");
- model.removeNodeset("/root/main/subordlist/subordlist2");
- model.removeNodeset("/root/main/subordlist/subordlist3");
- model.removeNodeset("/root/main/subordlist/subordlist4");
- }
-
- /* @group : 접수관리(진단방사선)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : TextArea 초기화 Function
- */
- function fInitTar() {
- tar_prcpremfact.value = "-";
- tar_acptrem.value = "-";
- tar_execrem.value = "-";
- }
-
- /* @group : 접수관리(진단방사선)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 미접수/접수/실시/당일예약 조회 Submission Function
- */
- function fGetExamCureAcptList(acptlistflag) {
-
- /*if ( model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid") == "" ) {
- messageBox("[조회필수항목]치료실을 ","C002");
- return true;
- }*/
- //alert(model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid"));
- //alert(model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid"));
- //alert(model.getValue("/root/send/data/srchpid"));
- //alert(model.getValue("/root/send/data/srchdate1"));
- //alert(model.getValue("/root/send/data/srchdate2"));
-
- if ( acptlistflag == "Y" ) { // 당일예약일경우
- ipt_fromdd.value = getCurrentDate();
- ipt_todd.value = getCurrentDate();
- }
-
- // flag Setting
- model.makeValue("/root/send/data/acptlistflag", acptlistflag);
- //alert('reset');
- //fInitGrid();
- fInitTar();
- model.removeNodeset("/root/main/subordlist");
- model.refresh();
- //alert('acptlistflag =' + acptlistflag);
- btn_can.visible = false;
- switch (acptlistflag) {
-
- case "M": //미접수
- //alert("flag->"+acptlistflag);
- //model.toggle("case1");
- submit("TRAEA01202");
- btn_acpt.disabled = false;
- btn_acptcncl.disabled = true;
- button7.disabled = true;
- btn_roomupdt.disabled = true;
- grd_mainordlist.mergeCol(3) = false;
- grd_mainordlist.mergeCol(4) = false;
- grd_mainordlist.mergeCol(5) = false;
- grd_mainordlist.mergeCol(6) = false;
- fsetcolortext(grd_mainordlist, 1);
- btn_can.visible = true;
- break;
- case "J": //접수
- //alert("flag->"+acptlistflag);
- // model.toggle("case2");
- submit("TRAEA01203");
- btn_acpt.disabled = true;
- btn_acptcncl.disabled = false;
- button7.disabled = false;
- btn_roomupdt.disabled = false;
- grd_mainordlist.mergeCol(3) = false;
- grd_mainordlist.mergeCol(4) = false;
- grd_mainordlist.mergeCol(5) = false;
- grd_mainordlist.mergeCol(6) = false;
- fsetcolortext(grd_mainordlist, 2);
- break;
- case "S": //실시
- //alert("flag->"+acptlistflag);
- // model.toggle("case3");
- submit("TRAEA01204");
- btn_acptcncl.disabled = true;
- button7.disabled = true;
- btn_roomupdt.disabled = true;
- grd_mainordlist.mergeCol(3) = false;
- grd_mainordlist.mergeCol(4) = false;
- grd_mainordlist.mergeCol(5) = false;
- grd_mainordlist.mergeCol(6) = false;
- fsetcolortext(grd_mainordlist, 3);
- break;
- case "Y": //당일예약
- //alert("flag->"+acptlistflag);
- // model.toggle("case4");
- submit("TRAEA01205");
- btn_acpt.disabled = false;
- btn_acptcncl.disabled = true;
- button7.disabled = true;
- btn_roomupdt.disabled = true;
- grd_mainordlist.mergeCol(3) = false;
- grd_mainordlist.mergeCol(4) = false;
- grd_mainordlist.mergeCol(5) = false;
- grd_mainordlist.mergeCol(6) = false;
- fsetcolortext(grd_mainordlist, 4);
- break;
- case "L": // 전체
- //alert("flag->"+acptlistflag);
- // model.toggle("case3");
- submit("TRAEA01204");
- btn_acpt.disabled = true;
- btn_acptcncl.disabled = true;
- button7.disabled = true;
- btn_roomupdt.disabled = true;
- grd_mainordlist.mergeCol(3) = false;
- grd_mainordlist.mergeCol(4) = false;
- grd_mainordlist.mergeCol(5) = false;
- grd_mainordlist.mergeCol(6) = false;
- fsetcolortext(grd_mainordlist, 3);
- break;
- default:
- break;
- }
- //model.setValue("/root/send/data/srchpid","");
- model.refresh();
- }
-
- /* @group : 접수관리(진단방사선)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방내역/타과처방/상병/코멘트 조회를 위한 선택 Function
- */
- function fGetExamCurePrcpList(maingridlistid) {
- if ( maingridlistid.row == 0 ) return;
-
- fInitTar();
-
- var row = maingridlistid.row;
-
- var pid = maingridlistid.valueMatrix(row, maingridlistid.colRef("pid"));
- var prcpgenrflag = maingridlistid.valueMatrix(row, maingridlistid.colRef("prcpgenrflag")); // 상병조회에서 사용 pid, prcpgenrflag,orddeptcd,prcpdd
- var orddeptcd = maingridlistid.valueMatrix(row, maingridlistid .colRef("orddeptcd"));
- var orddd = maingridlistid.valueMatrix(row, maingridlistid .colRef("orddd"));
- var orddrid = maingridlistid.valueMatrix(row, maingridlistid .colRef("orddrid"));
- var cretno = maingridlistid.valueMatrix(row, maingridlistid .colRef("cretno"));
- var patnm = maingridlistid.valueMatrix(row, maingridlistid .colRef("patnm"));
- var sex = maingridlistid.valueMatrix(row, maingridlistid .colRef("sex"));
- var age = maingridlistid.valueMatrix(row, maingridlistid .colRef("age"));
- var acptlistflag = "";
-
-
- model.makeValue("/root/send/data/grd_info/grid_data/pid", pid);
- model.makeValue("/root/send/data/grd_info/grid_data/prcpgenrflag", prcpgenrflag);
- model.makeValue("/root/send/data/grd_info/grid_data/orddeptcd", orddeptcd);
- model.makeValue("/root/send/data/grd_info/grid_data/orddd", orddd);
- model.makeValue("/root/send/data/grd_info/grid_data/orddrid", orddrid);
- model.makeValue("/root/send/data/grd_info/grid_data/cretno", cretno);
- model.makeValue("/root/send/data/grd_info/grid_data/patnm", patnm);
- model.makeValue("/root/send/data/grd_info/grid_data/sex", sex);
- model.makeValue("/root/send/data/grd_info/grid_data/age", age);
-
- if (model.getValue("/root/send/data/acptlistflag") == "Y") {
- model.setValue("/root/send/flag", "R2"); //재활의학과(예약)
- model.setValue("/root/send/acptflag", "Y"); //재활의학과(예약)
- } else {
- model.setValue("/root/send/flag", "M2"); //재활의학과(미접수,접수,실시)
- model.setValue("/root/send/acptflag", model.getValue("/root/send/data/acptlistflag")); //재활의학과(미접수,접수,실시)
- }
-
- //setGlobalVariable("gv_pid", pid, "A");
-
- //model.refresh();
- /*
- if ( btn_case1.selected == true ) acptlistflag = "M"; // 미접수
- if ( btn_case2.selected == true ) acptlistflag = "J"; // 접수
- if ( btn_case3.selected == true ) acptlistflag = "S"; // 실시
- if ( btn_case4.selected == true ) acptlistflag = "Y"; // 당일예약
-
- model.makeValue("/root/send/data/acptlistflag", acptlistflag);
- */
- //alert(model.getValue("/root/send/data/grd_info/grid_data/prcpgenrflag"));
- //alert(model.getValue("/root/send/data/grd_info/grid_data/execprcpuniqno"));
- //alert(model.getValue("/root/send/data/grd_info/grid_data/pid"));
- //alert(model.getValue("/root/send/data/acptlistflag"));
-
- //var success =
- var prcpcmt = "";
- var acptcmt = "";
- var execcmt = "";
- var endflag = "";
- var prcpdirecnm = "";
-
- if ( btn_bfacpt.selected == true) { //미접수처방탭
- model.toggle("case5");
- submit("TRAEA01206");
-
- for ( var i = 1; i < grd_subordlist3.rows; i++) {
-
- if( (model.getValue("/root/main/subordlist/subordlist3[" + i + "]/rsrvdt")).substr(0, 8) == getCurrentDate()) {
- model.setValue("/root/main/subordlist/subordlist3[" + i + "]/check", "Y");
- }
-
- //재활치료는 선택진료 처방이 없으므로 막음
- //20140731 by kya 선택진료비변경에 따른 안내메시지
- // for ( var i = 1; i < grd_subordlist3.rows; i++) {
- // var checkflag = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/check")
- // if ( checkflag == "Y") {
- // var pid = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/pid");
- // var prcpdd = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/prcpdd");
- // var execprcpuniqno = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/execprcpuniqno");
- //
- // var cnt = getPrcpRcptCheck('AST', pid, '','', prcpdd, execprcpuniqno );
- // if ( cnt > 0 ) break;
- // }
- // }
-
-
- //치료부위, 위치 조회 20140508 kya
- prcpdirecnm = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/rehbprcpcurepartnm") + "/" + model.getValue("/root/main/subordlist/subordlist3[" +i + "]/prcpdirecnm") + "/" + model.getValue("/root/main/subordlist/subordlist3[" +i + "]/rehbprcpcurefreqnm");
-
- prcpcmt += model.getValue("/root/main/subordlist/subordlist3[" + i + "]/prcpdelivefact") + "["+ prcpdirecnm + "]" + "\n";
-
- grd_subordlist3.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
- grd_subordlist3.rowstyle( i , "data" , "color" ) = "#000000";
-
- endflag = grd_subordlist3.valueMatrix(i, grd_subordlist3.colRef("endflag"));
- if ( endflag == "Y" ) {
- grd_subordlist3.rowstyle( i , "data" , "background-color" ) = "#FFE4C4";
- }
- }
-
-
- } else if ( btn_aftacpt.selected == true) {
- model.toggle("case6");
- submit("TRAEA01207");
-
- for ( var i = 1; i < grd_subordlist4.rows; i++) {
-
- //치료부위, 위치 조회 20140429 kya
- prcpdirecnm = model.getValue("/root/main/subordlist/subordlist4[" +i + "]/rehbprcpcurepartnm") + "/" + model.getValue("/root/main/subordlist/subordlist4[" +i + "]/prcpdirecnm") + "/" + model.getValue("/root/main/subordlist/subordlist4[" +i + "]/rehbprcpcurefreqnm") ;
-
- prcpcmt += model.getValue("/root/main/subordlist/subordlist4[" + i + "]/prcpdelivefact") + "["+ prcpdirecnm + "]" + "\n";
- acptcmt += model.getValue("/root/main/subordlist/subordlist4[" + i + "]/acptrem") + "\n";
- execcmt += model.getValue("/root/main/subordlist/subordlist4[" + i + "]/execrem") + "\n";
-
- grd_subordlist4.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
- grd_subordlist4.rowstyle( i , "data" , "color" ) = "#000000";
-
- endflag = grd_subordlist4.valueMatrix(i, grd_subordlist4.colRef("endflag"));
- if ( endflag == "Y" ) {
- grd_subordlist4.rowstyle( i , "data" , "background-color" ) = "#FFE4C4";
- }
- }
-
- }
-
- //20140508 권영애, 중복으로 조회되고 있어 막음
- //start
- //환자Comment 환자정보 조회
- //submit("TRAEA01212");
- //end
-
- model.makeValue("/root/hidden/isolinfo/isoldata", "");
- if (model.getValue("/root/main/subordlist/isolinfo/isoldispcd") != "") {
- model.setValue("/root/hidden/isolinfo/isoldata", "확인");
- }
-
- tar_prcpremfact.value = prcpcmt;
- tar_acptrem.value = acptcmt;
- tar_execrem.value = execcmt;
-
- /****
- 20140508 중복으로 막음
- ///start
-
- var kcnt = getNodesetCount("/root/main/remlist/reminfo1");
- kcnt = kcnt + 1;
- for (var i = 1; i < kcnt; i++){
- prcpcmt += model.getValue("/root/main/remlist/reminfo1[" + i + "]/prcprem") + "\n";
- }
-
- model.setValue("/root/send/prcprem", prcpcmt );
- model.setValue("/root/send/acptrem", model.getValue("/root/main/remlist/reminfo2/acptrem"));
- model.setValue("/root/send/execrem", model.getValue("/root/main/remlist/reminfo3/execrem"));
- ///end
- */
-
- model.refresh();
-
- }
-
-
- /* @group : 접수관리(진단방사선)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Toggle선택 조회를 위한 선택 Function
- */
- function fGetToggleAcptList() {
-
- if ( btn_case1.selected == true ) fGetExamCureAcptList("M"); // 미접수
- if ( btn_case2.selected == true ) fGetExamCureAcptList("J"); // 접수
- if ( btn_case3.selected == true ) fGetExamCureAcptList("S"); // 실시
- if ( btn_case4.selected == true ) fGetExamCureAcptList("Y"); // 당일예약
- }
-
- /* @group : 실시관리(진단방사선)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사실 수정을 위한 선택 Function
- */
- function fSetExamCureRoomCodeList(maingridlistid) {
- if ( maingridlistid.row == 0 ) return;
-
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist4[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("처방내역을 ","C002");
- return "0";
- }
- model.setValue("/root/send/data/tobesetexamcureroomcode/tobesetexamcureroomcodelist", rCSV);
- //alert(model.getValue("/root/send/data/tobesetexamcureroomcode/tobesetexamcureroomcodelist"));
- model.refresh();
- // model.setValue("/root/send/data/tobesetexamcureroomcode/tobesetexamcureroomcodelist", maingridlistid.getUpdateData());
- submit("TXAER00210");
- fGetExamCureAcptList("J");
- }
-
- //gubn : 1:접수, 2:접수취소
- function fExeAccept(gubn) {
- //if(gubn == 2) { //접수취소인 경우 취소사유 입력하도록 한다.
- //if(gBeforeFlag == true) {
- //입원전검사는 점검안함.
- //} else {
- //if(fCheckCncl() == false) return;
- //}
- //}
- //재활의학의 경우 예약이 안되어 있으면, 접수를 못하도록 한다.
- /* if(gSuppDept == gg_JAE_HWAL || gSuppDept == gg_GWAN_JEOL || gSuppDept == gg_CHEOK_CHU) {
- if(gubn == 1) {
- if(fCheckJaeHwalYeYak() == false) return;
- }
- }
- */
- // 접수or접수취소할 내역에 대한 체크여부
- var check = "";
- var loopcnt = 0;
- var loop = 0;
-
- if (btn_bfacpt.selected == true) {
- loop = grd_subordlist3.rows - grd_subordlist3.fixedRows;
-
- } else if (btn_aftacpt.selected == true) {
- loop = grd_subordlist4.rows - grd_subordlist4.fixedRows;
-
- }
-
- for( var i = 1 ; i <= loop ; i++ ) {
- if (btn_bfacpt.selected == true) {
- check = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/check");
- } else if (btn_aftacpt.selected == true) {
- check = model.getValue("/root/main/subordlist/subordlist4[" + i + "]/check");
- }
- if ( check == "Y" ) {
- loopcnt++;
- }
- }
- if ( loopcnt == 0 ) {
- messageBox("처방내역을 ","C002");
- return "0";
- }
- var execprcpstatcd = ""; // 처방상태코드 구분
- var prcpgenrflag = ""; // 외래입원응급실 구분
- var prcpnm = ""; // 처방명
- var inflag = ""; // 재원중 여부
- var rcptacptyn = ""; // 수납 여부
- //var rsrvflag = ""; // 협진 여부
- var portprcpflag = ""; // 포터블처방여부
- var execbaseflag = ""; // 실시기준여부 (A:접수 , E:실시)
- var doflag = false;
- var rsrvdt = "";
- var excuroomcd = "";
- if ( gubn == 1 ) { //접수인 경우
- //if(gSuppDept != gg_CHI_GWA) { //치과인 경우는 미수납여부 점검안함.
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/check");
- execprcpstatcd = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/execprcpstatcd");
- prcpgenrflag = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/prcpgenrflag");
- prcpnm = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/prcpnm");
-
- inflag = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/inflag");
- rcptacptyn = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/rcptacptyn");
- //rsrvflag = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/rsrvflag");
- portprcpflag = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/portprcpflag");
- rcptyn = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/rcptyn");
- rsrvdt = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/rsrvdt");
- excuroomcd = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/excuroomcd");
- //alert(prcpnm+' '+execprcpstatcd);
- // 진단방사선과일경우, 자동방배정여부(검사코드관리)
- // 공통, 미수납접수여부(검사코드관리)
-
- /* if( lrgcd == "GENERAL" && ( genrflagcd == "I" || genrflagcd == "E" || portprcpflag == "Y" ) ) { // 병동,응급실,포터블처방 환자는 skip(촬영실배정관리화면에서접수진행)
- messageBox(prcpnm + "은 일반촬영검사(병동or응급실or포터블) 처방이므로 접수할 수 없습니다.","I999");
- continue;
- }*/
-
- /*
- * 20070520, 처방,간호확인만 된것은 미수납이기에 접수불가함, 단, 미수납접수여부가 허용일경우는 체크한다.
- */
-
- /*if( execprcpstatcd == "000" || execprcpstatcd == "100" ) {
-
- if( prcpgenrflag == "O" ) {
- messageBox(prcpnm + "은 미수납된 처방이므로 접수할 수 ","I004");
- return "0";
- }
- if( rcptacptyn == "Y" ) { // 미수납접수여부 허용
- if ( messageBox(prcpnm + "은 미수납접수여부를 허용한 검사코드입니다. 접수를 ","Q002")==6 ) {
-
- }else {
- return "0";
- }
- }
- }
- */
- if ( check == "Y") {
-
- if( rsrvdt == "-") {
-
- messageBox("예약되지 않은 처방은 접수할 수 ","I004");
- return ;
- }
-
- if( execprcpstatcd == "000" || execprcpstatcd == "100" ) {
-
- if (rcptyn == "N") { //미수납일 경우
- if ( prcpgenrflag == "O" && rcptacptyn == "Y") { //외래이고 미수납접수여부가 Y일경우 접수가 허용된다.
- continue;
- } else if ( prcpgenrflag == "I") {
- continue;
- } else {
- // // 미수납 예약가능 여부 - 2009.02.06 김건기
- // messageBox(prcpnm + "은 미수납된 처방이므로 접수할 수 ","I004");
- // return "0";
- }
- }
- }
-
- if ( excuroomcd == "") {
- messageBox("예약된 치료실과 ", "E004");
- messageBox("접수할 수 ", "I004");
- return;
- }
- }
- // 아래의 로직중 재원중은 나중에 체크해야 함.
- if( execprcpstatcd == "000" || execprcpstatcd == "100" ) { // 미수납(처방,간호확인)
- if( rcptacptyn == "Y" ) { // 미수납접수여부 허용
-
- //messageBox(prcpnm + "은 외래 미수납 내역은 접수할 수 없습니다.","I999");
- //do nothing
- } else {
- if( inflag == "Y" ) { //재원중이면...
- /* if( rsrvflag != "H" && rsrvflag != "C" ) { //협진 및 진료의뢰가 아니면... rsrvflag말고 다른 컬럼으로 체크해야 ...
- model.alert("현재 재원중인 환자이므로 외래에서 발생된 " + ordnm + "은 접수할 수 없습니다.");
- return;
- }*/
- } else { //재원중이 아니면...
- //messageBox("외래 미수납 내역은 접수할 수 없습니다.","I999");
- //return;
- }
- }
- }
- }
- } else if ( gubn == 2 || gubn == 3) { //접수취소인 경우
- model.makeNode("root/hidden/cnclcdlist/cnclcd");
- window.load( "SPAEA01500_취소코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
-
-
- for( var i = 1; i <= loop; i++) {
- check = model.getValue("/root/main/subordlist/subordlist4[" + i + "]/check");
- execprcpstatcd = model.getValue("/root/main/subordlist/subordlist4[" + i + "]/execprcpstatcd");
- execbaseflag = model.getValue("/root/main/subordlist/subordlist4[" + i + "]/execbaseflag");
- prcpnm = model.getValue("/root/main/subordlist/subordlist4[" + i + "]/prcpnm");
-
- if ( check == "Y") {
-
- if( execprcpstatcd == "450" ) {
- messageBox(prcpnm + "은 보류된 처방이므로 접수취소를 할 수 ","I004");
- return "0";
- }
-
- doflag = false;
- if(execbaseflag == "E" && execprcpstatcd == "440") doflag = true; //실시기준이 실시고, 현상태가 접수면
- if(execbaseflag == "A" && execprcpstatcd == "610") doflag = true; //실시기준이 접수고, 현상태가 실시면
- if(execbaseflag == "A" && execprcpstatcd == "440") doflag = true; //실시기준이 접수고, 현상태가 접수라도...
- // 부분실시 완료상태는 어떻게 처리할까??
-
- //실시기준이 실시고, 현 상태가 접수면, 취소가능 or 실시기준이 접수고, 현 상태가 실시면, 취소가능
- //if( !(execbas == "E" && stat == "E") || !(execbas == "A" && stat == "E") || !(execbas == "A" && stat == "F") ) {
- if(doflag == false) {
- messageBox("접수상태가 아닌 처방이 있으므로 취소할 수 ","I004");
- return "0";
- }
-
- //접수취소사유는 반드시 입력되어야 한다.
- if ( model.getValue("root/hidden/cnclcdlist/cnclcd") != "") {
- grd_subordlist4.valueMatrix(i, grd_subordlist4.colRef("basecd")) = model.getValue("root/hidden/cnclcdlist/cnclcd");
- model.refresh();
- }
-
- if (model.getValue("/root/main/subordlist/subordlist4[" + i + "]/basecd") == "") {
- messageBox("취소사유는 반드시 ", "C001");
- return "0";
-
- }
- }
- }
- }
- model.removenode("/root/main/temp/ordschelistinfo");
-
- // 접수
- if(gubn == 1) {
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/check");
- if ( check == "Y" ) {
-
- model.makeValue("/root/main/subordlist/subordlist3[" + i + "]/acptrem", tar_acptrem.value);
- if ( model.getValue("/root/main/subordlist/subordlist3[" + i + "]/execbaseflag") == "A" ) { // 실시기준여부가 접수인경우
- model.setValue("/root/main/subordlist/subordlist3[" + i + "]/execrem", tar_acptrem.value);
- }
- }
- }
-
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist3[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == null ) {
- messageBox("처방내역을 ","C002");
- return "0";
- }
-
- model.setValue("/root/send/data/tobeacptprcp/tobeacptprcplist", rCSV);
- }
-
- // 접수취소
- if(gubn == 2 || gubn == 3) {
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist4[" + i + "]/check");
- if ( check == "Y" ) {
- model.makeValue("/root/main/subordlist/subordlist4[" + i + "]/acptrem", "-" );
- if ( model.getValue("/root/main/subordlist/subordlist4[" + i + "]/execbaseflag") == "A" ) { // 실시기준여부가 접수인경우
- model.setValue("/root/main/subordlist/subordlist4[" + i + "]/execrem", "-");
- }
- }
- }
-
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist4[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("처방내역을 ","C002");
- return "0";
- }
-
- model.setValue("/root/send/data/tobeacptcnclprcp/tobeacptcnclprcplist", rCSV);
- }
-
- if(gubn == 1) {
- submit("TXAEA01201");
-
- } else if(gubn == 2) {
- submit("TXAEA01202");
-
- } else if(gubn == 3) {
- submit("TXAEA01205");
- }
-
- return;
- }
-
- function fsetcolortext(maingridlist, idx) {
-
- for (var i = 0; i < maingridlist.rows; i++) {
- maingridlist.rowStyle(i, "data", "background-color") = "#ffffff"; //흰색깔
- var actorddd = model.getValue("/root/main/ordlist" + idx + "/mainordlist["+ i + "]/fstrgstdd");
- if (actorddd == getCurrentDate()) {
- maingridlist.rowStyle(i, "data", "color") = "#FF1493";
- }
- }
- //2012.08.23 by kya 진료비후불제 색깔 노란색으로 표시
- aezfSetRowStyle("grd_mainordlist" , "15^16^17" , "V^P^A" , "aftrcptinfo" );
-
- }
-
- function fGetWideListX1(tab1, grd1) {
-
- var extnGrdWidht = 350;
- var extnGrdWidht2 = 340;
-
- // tab1.attribute("width") = extnGrdWidht;
- grd1.attribute("width") = extnGrdWidht2;
- //ivw_loader.attribute("left") = "407";
- //ivw_loader.attribute("width") = "780";
- }
-
- function fGetWideListX2(tab1, grd1) {
- var extnGrdWidht = 800;
- //var extnGrdWidht2 = 790;
- var extnGrdWidht2 = 880;
-
- // if ( btn_case1.selected == true ) {
- // var extnGrdWidht = 800;
- // var extnGrdWidht2 = 790;
- //
- // } else if ( btn_case2.selected == true ) {
- // var extnGrdWidht = 800;
- // var extnGrdWidht2 = 790;
- //
- // } else if ( btn_case3.selected == true ) {
- // var extnGrdWidht = 760;
- // var extnGrdWidht2 = 755;
- //
- // } else if ( btn_case4.selected == true ) {
- // var extnGrdWidht = 760;
- // var extnGrdWidht2 = 755;
- // }
- //tab1.attribute("width") = extnGrdWidht;
- // switch1.attribute("width") = extnGrdWidht;
- grd1.attribute("width") = extnGrdWidht2;
- //ivw_loader.attribute("left") = "945";
- //ivw_loader.attribute("width") = "80";
- model.refresh();
- }
- function exeRsrvTransaction(str) {
-
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist3[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("처방내역을 ","C002");
- return "0";
- }
-
- model.setValue("/root/send/req/data", rCSV);
- model.setValue("/root/send/req/flag", str);
-
- if (submit("TXAEA01901")){
- //model.removeNodeset("/root/main/rehbprcpsubinfolist/rehbprcpsubinfo");
- //model.removeNodeset("/root/main/rehbprcpsubinfolist/rsrvprescond");
- model.removeNodeset("/root/main/rehbprcpsubinfolist");
-
- fGetExamCureAcptList("M");
- }
- }
-
- //=====================================================================================================================================================================================
- // @ 검사실대기환자등록
- //=====================================================================================================================================================================================
- function fSetWaitExcuRoomPatList() {
-
- var dutplceinstcd = getUserInfo("dutplceinstcd");
- var waitroomcdinstcd = model.getValue("/root/init/waitfoominfo/waitroomcdval/A0608/cdid");
- var waitroomcdyn = model.getValue("/root/init/waitfoominfo/waitroomcdval/A0608/cdnm");
- if ( dutplceinstcd == waitroomcdinstcd && waitroomcdyn != 'Y') {
- messageBox("등록된 대기자시스템이", "I004");
- return;
- }
-
- model.removenode("/root/main/temp/ordschelistinfo");
- var schelistcnt = grd_subordlist4.row;
- var instcd = getUserInfo("dutplceinstcd"); // 기관코드
- var pid = model.getValue("/root/main/subordlist/subordlist4["+ schelistcnt +"]/pid"); // 환자등록번호
- var orddd = getCurrentDate(); // 진료일자
- var orddeptcd = model.getValue("/root/main/subordlist/subordlist4["+ schelistcnt +"]/prcpexecdeptcd"); // 지원부서코드
- var ordroomcd = model.getValue("/root/main/subordlist/subordlist4["+ schelistcnt +"]/excuroomcd"); // 검사실코드
- var orddrid = model.getValue("/root/main/subordlist/subordlist4["+ schelistcnt +"]/orddrid"); // 진료의ID
- var ordrsrvtm = getCurrentTime().substring(0,4); // 진료예약시간
- var ordrsrvseqno = schelistcnt; // 진료예약순서
- var dayflag = "Y"; // 당일구분
-
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/chk","1");
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/instcd",instcd); // 기관코드
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/pid",pid); // 환자등록번호
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/orddd", orddd); // 진료일자
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/orddeptcd",orddeptcd); // 지원부서코드
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/ordroomcd",ordroomcd); // 검사실코드
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/orddrid",orddrid); // 진료의ID
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/ordrsrvtm",ordrsrvtm); // 진료예약시간
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/ordrsrvseqno",""); // 진료예약순서
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/dayflag",dayflag); // 당일구분
-
- // 검사실 전광판 대기 환자 등록 인터페이스 정보
- var sPath="/root/main/temp/ordschelistinfo";
- fSaveExcuRoomPatList(sPath);
-
- }
- //--=========================================================================================================
- //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- //--=========================================================================================================
- function fget0701GosiPrcpRcptChk() {
-
- txtgosi.text =""
- var flagvalue = model.getValue("/root/send/globalinstance/instance1") ; // 지원부서
- // var tmpPID = model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist.row+"]/pid") // 등록번호
- // var flagvalue = model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpexecdeptcd"); //시행부서
- var tmpPID = model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid")
- // flagvalue = "2130209000";
- // tmpPID ="7575332";
- flagvalue = "'" + flagvalue + "'";
- // alert (flagvalue);
- model.makeValue("/root/send/GosiPrcpRcpyn/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/GosiPrcpRcpyn/pid", tmpPID);
- model.makeValue("/root/send/GosiPrcpRcpyn/flagvalue", flagvalue);
- model.makeValue("/root/send/GosiPrcpRcpyn/flag", "2");
-
- if (submit ("TRAEA01100") == true ) {
- if ( model.getValue("/root/hidden/prcprcptyn/prcprcptyn") == "Y") {
- //txtgosi.text = "본인부담요율 변동 환자입니다. 수납에 정산 안내하시길 바랍니다." ; //재활 메세지로
- model.setValue ("/root/temp/txtgosi_name", "본인부담요율 변동 환자입니다. 수납에 정산 안내하시길 바랍니다.");
- txtgosi.refresh();
- //messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다. ", "E999"); //재활 그외는 메세지창으로
- } else{
- //messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다.xxxxx ", "E999"); //재활 그외는 메세지창으로
- }
- }
- }
-
- //=====================================================================================================================================================================================
- // @ 컨설트 조회 2010.12.03 박재영
- //=====================================================================================================================================================================================
- function fConsultSrch(){
- open ( "SMMMR05000" );
- }
-
- //============================================================================================================================
- // @ 환자조회시 환자 상단정보 표시. 2011.05.11 cyw
- //============================================================================================================================
- function fTopInfo1()
- {
- //TOP 정보 보여주기
- schk = "N";
- if ( model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row +"]/prcpgenrflag") =="O" ){
- var pat_info = "O▦"+ model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/pid") +"▦"+model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/orddd")+"▦"+model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/cretno")+"▦"+getUserInfo("dutplcecd")+"▦1▦"+model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/orddd");
- schk = "Y";
- }
-
- else if ( model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/prcpgenrflag") =="I" ||
- model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/prcpgenrflag") =="D" ||
- model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/prcpgenrflag") =="E" ){
- //2010.12.23 cyw 상단정보 데이터 던져줄때 제일 마지막 데이터값은 입원일 경우 등록일자 말고 퇴원일자!!
- var srchdd = "";
- var dschdd = model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/dschdd");
- if (dschdd == "" || dschdd == "99991231") {
- srchdd = getCurrentDate();
- } else {
- srchdd = dschdd;
- }
- //var pat_infoready = "I▦"+ model.getValue("/root/send/data/srchpid") +"▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/orddd")+"▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/cretno")+"▦"+"012"+"▦1▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/orddd");
- var pat_info = "I▦"+ model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/pid") +"▦"+model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/orddd")+"▦"+model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/cretno")+"▦"+getUserInfo("dutplcecd")+"▦"+srchdd;
- schk = "Y";
- }
- else if ( model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/prcpgenrflag") =="S" ){
- //var pat_infoready = "I▦"+ model.getValue("/root/send/data/srchpid") +"▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/orddd")+"▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/cretno")+"▦"+"012"+"▦1▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/orddd");
- var pat_info = "S▦"+ model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/prcpdd") +"▦"+model.getValue("/root/main/subordlist/subordlist3["+ grd_subordlist3.row+"]/execprcpuniqno")+"▦"+getUserInfo("dutplcecd");
- schk = "Y";
- }
- if (schk == "Y"){
- setParameter("condparam", pat_info);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
- }
-
-
-
- function fTopInfo2()
- {
- //TOP 정보 보여주기
- schk = "N";
- if ( model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row +"]/prcpgenrflag") =="O" ){
- var pat_info = "O▦"+ model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/pid") +"▦"+model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/orddd")+"▦"+model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/cretno")+"▦"+getUserInfo("dutplcecd")+"▦1▦"+model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/orddd");
- schk = "Y";
- }
-
- else if ( model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/prcpgenrflag") =="I" ||
- model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/prcpgenrflag") =="D" ||
- model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/prcpgenrflag") =="E" ){
- //2010.12.23 cyw 상단정보 데이터 던져줄때 제일 마지막 데이터값은 입원일 경우 등록일자 말고 퇴원일자!!
- var srchdd = "";
- var dschdd = model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/dschdd");
- if (dschdd == "" || dschdd == "99991231") {
- srchdd = getCurrentDate();
- } else {
- srchdd = dschdd;
- }
- //var pat_infoready = "I▦"+ model.getValue("/root/send/data/srchpid") +"▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/orddd")+"▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/cretno")+"▦"+"012"+"▦1▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/orddd");
- var pat_info = "I▦"+ model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/pid") +"▦"+model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/orddd")+"▦"+model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/cretno")+"▦"+getUserInfo("dutplcecd")+"▦"+srchdd;
- schk = "Y";
- }
- else if ( model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/prcpgenrflag") =="S" ){
- //var pat_infoready = "I▦"+ model.getValue("/root/send/data/srchpid") +"▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/orddd")+"▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/cretno")+"▦"+"012"+"▦1▦"+model.getValue("/root/main/exculist/mainordlist5["+grd_mainordlist5.row+"]/orddd");
- var pat_info = "S▦"+ model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/prcpdd") +"▦"+model.getValue("/root/main/subordlist/subordlist4["+ grd_subordlist4.row+"]/execprcpuniqno")+"▦"+getUserInfo("dutplcecd");
- schk = "Y";
- }
- if (schk == "Y"){
- setParameter("condparam", pat_info);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,756;2,785;2,84;2,86;2,90;" 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="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">접수관리(재활)</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:745px; ">
- <datagrid id="grd_subordlist2" nodeset="/root/main/subordlist/subordlist2" visibility="hidden" caption="가야할곳^처방일자^처방명(투여량 * 횟수 * 일수)^처방코드^처방상태" colsep="^" colwidth="145, 97, 379, 100, 92" defaultrows="0" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:359px; top:173px; width:835px; height:115px; ">
- <col ref="excuroomnm"/>
- <col ref="prcpdd" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="prcpnm"/>
- <col ref="calcscorcd"/>
- <col disabled="true" ref="execprcpstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <caption id="txtgosi" ref="/root/temp/txtgosi_name" visibility="visible" style="left:506px; top:46px; width:664px; height:20px; font-size:12pt; font-weight:bold; color:#ff0000; "/>
- <datagrid id="grd_subordlist1" nodeset="/root/main/subordlist/subordlist1" caption="일자^상병명^상병코드^진료과^등록의사" colsep="^" colwidth="72, 312, 78, 75, 56" defaultrows="0" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:359px; top:74px; width:616px; height:210px; ">
- <col ref="diagdd" format="yyyy-mm-dd"/>
- <col ref="diagengnm" style="left:100px; top:20px; width:454px; height:20px; "/>
- <col ref="diagcd"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- </datagrid>
- <textarea id="tar_acptrem" ref="/root/send/acptrem" style="left:637px; top:665px; width:275px; height:75; "/>
- <group id="group2" style="left:0px; top:8px; width:1191px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1191px; height:35px; "/>
- <line id="line1" class="line_4" style="x1:1036px; y1:7px; x2:1036px; y2:29px; "/>
- <select1 id="radio2" ref="/root/send/data/rdo_info/ioflag" class="radio_search" navindex="4" appearance="full" cols="3" rows="1" overflow="visible" style="left:648px; top:11px; width:132px; height:15px; text-align:center; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <button id="btn_sea" class="btn1_letter2" navindex="6" style="left:1045px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_fromdd.value > ipt_todd.value){
- messageBox("조회시작일자가 조회종료일자보다 큽니다. 다시","C002");
- }
- //setGlobalVariable("gv_pid", model.getValue("/root/send/data/srchpid"), "A");
- if ( btn_case1.selected == true ) fGetExamCureAcptList("M"); // 미접수
- if ( btn_case2.selected == true ) fGetExamCureAcptList("J"); // 접수
- if ( btn_case3.selected == true ) fGetExamCureAcptList("S"); // 실시
- if ( btn_case4.selected == true ) fGetExamCureAcptList("Y"); // 당일예약
-
- ]]>
- </script>
- </button>
- <input id="ipt_todd" ref="/root/send/data/srchdate2" class="input_s_essential" navindex="2" inputtype="date" style="left:189px; top:8px; width:91px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <caption id="caption1" class="search_name" style="left:6px; top:10px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">적용일자 :</caption>
- <caption id="caption2" class="search_name" style="left:786px; top:10px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
- <button id="button61" class="icon_search" style="left:944px; top:10px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data/srchpid","/root/main/send");
-
- model.setValue("/root/send/data/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid"));
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:286px; top:10px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">치료실 :</caption>
- <caption id="caption5" class="search_name" style="left:586px; top:10px; width:61px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">구분 :</caption>
- <input id="input2" ref="/root/send/data/srchpid" class="input_search" navindex="5" style="left:874px; top:8px; width:67px; height:19px; "/>
- <output id="output3" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:963px; top:8px; width:67px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/send/data/srchdate1" class="input_s_essential" navindex="1" inputtype="date" style="left:94px; top:8px; width:92px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <select1 id="cmb_excuroom" ref="/root/send/data/cmb_info/initexecroom/excuroomcdid" class="combo_default" navindex="3" appearance="minimal" style="left:361px; top:8px; width:72px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_fromdd.value > ipt_todd.value){
- messageBox("조회시작일자가 조회종료일자보다 큽니다. 다시","C002");
- }
- //2011.01.25 c y w 해당 검사실별 치료사 조회
- submit("TRAER00107", false);
-
- if ( btn_case1.selected == true ) fGetExamCureAcptList("M"); // 미접수
- if ( btn_case2.selected == true ) fGetExamCureAcptList("J"); // 접수
- if ( btn_case3.selected == true ) fGetExamCureAcptList("S"); // 실시
- if ( btn_case4.selected == true ) fGetExamCureAcptList("Y"); // 당일예약
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_tempacpt" class="btn1_letter4" navindex="6" visibility="hidden" style="left:1103px; top:7px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>환자접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMAZZ00501", "", "1280", "990", "SMAZZ00501","/root/send/data/srchpid","/root/main/send");
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:438px; top:9px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">치료사 :</caption>
- <select1 id="cmb_execrid" ref="/root/send/data/cmb_info/initexecrid/execridcdid" class="combo_search" navindex="4" appearance="minimal" style="left:513px; top:8px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid/curerprescond">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 2011.01.26 c y w 조회조건으로 치료사 추가
- if(ipt_fromdd.value > ipt_todd.value){
- messageBox("조회시작일자가 조회종료일자보다 큽니다. 다시","C002");
- }
-
- if ( btn_case1.selected == true ) fGetExamCureAcptList("M"); // 미접수
- if ( btn_case2.selected == true ) fGetExamCureAcptList("J"); // 접수
- if ( btn_case3.selected == true ) fGetExamCureAcptList("S"); // 실시
- if ( btn_case4.selected == true ) fGetExamCureAcptList("Y"); // 당일예약
-
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption3" class="tit_2" visibility="hidden" style="left:359px; top:155px; width:82px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">타과처방</caption>
- <caption id="caption22" class="tit_2" style="left:975px; top:58px; width:82px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">진료예약</caption>
- <line id="line2" class="line_1" style="x1:359px; y1:70px; x2:1194px; y2:70px; "/>
- <line id="line5" class="line_1" visibility="hidden" style="x1:358px; y1:169px; x2:1194px; y2:169px; "/>
- <switch id="switch2" style="left:356px; top:317px; width:838px; height:323px; border-color:transparent; border-width:0; ">
- <case id="case5" selected="true" style="left:0px; top:0px; width:833px; height:407px; ">
- <line id="line4" class="line_1" style="x1:0px; y1:0px; x2:839px; y2:0px; "/>
- <datagrid id="grd_subordlist3" nodeset="/root/main/subordlist/subordlist3" caption="^처방일자^상태^처방이력^처방명^치료실^처방과^처방의사^구분^수납^예약일시^희망일시^마지막처방여부" colsep="^" colwidth="30, 70, 40, 60, 175, 85, 60, 70, 30, 38, 120, 120, 100" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:5px; width:828px; height:310px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="execprcpstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="prcpkindcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpkindcd/M0003">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpnm"/>
- <col ref="excuroomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rgstdepthngnm"/>
- <col ref="rgstridnm"/>
- <col ref="prcpgenrflag"/>
- <col ref="rcptyn"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="prcphopedd" format="yyyy-mm-dd"/>
- <col ref="endflag" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if( isDataCell() ){
-
- if ( grd_subordlist3.row == 0 ) return;
- var prcpdirecnm = "";
- var prcpdelivefact = "";
- var pid ="";
- var prcpdd = "";
- var execprcpuniqno = "";
- var checkflag ="";
-
- if ( grd_subordlist3.isCell(event.target) ) {
-
- var i = grd_subordlist3.row;
- var colidx = grd_subordlist3.col;
- //치료부위, 위치 조회 20140429 kya
- prcpdirecnm = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/rehbprcpcurepartnm") + "/" + model.getValue("/root/main/subordlist/subordlist3[" +i + "]/prcpdirecnm") + "/" + model.getValue("/root/main/subordlist/subordlist3[" +i + "]/rehbprcpcurefreqnm")
- prcpdelivefact = model.getValue("/root/main/subordlist/subordlist3["+i+"]/prcpdelivefact")
-
- //model.makeValue("/root/main/patrem/prcpdeliveinfo/prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
- tar_prcpremfact.value = prcpdelivefact + " [ " + prcpdirecnm + " ] "
-
- //20140520 추가
- if ( btn_aftacpt.selected == true) {
- tar_acptrem.value = model.getValue("/root/main/subordlist/subordlist3["+i+"]/acptrem");
- tar_execrem.value = model.getValue("/root/main/subordlist/subordlist3["+i+"]/execrem");
- }
- //재활치료는 선택진료 처방이 없으므로 막음
- // //20140731 by kya 선택진료비변경에 따른 안내메시지
- // checkflag = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/check")
- // if (grd_subordlist3.colAttribute(colidx, "ref") == "check" && checkflag == "Y") {
- // pid = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/pid");
- // prcpdd = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/prcpdd");
- // execprcpuniqno = model.getValue("/root/main/subordlist/subordlist3[" + i + "]/execprcpuniqno");
- //
- // getPrcpRcptCheck('AST', pid, '','', prcpdd, execprcpuniqno );
- // }
- }
- }
-
- //재활치료는 선택진료 처방이 없으므로 막음
- // //20140731 by kya 선택진료비변경에 따른 안내메시지
- // if (grd_subordlist3.row == 0 && grd_subordlist3.rows > 1 ) {
- // for ( var i = 1; i < grd_subordlist3.rows; i++) {
- // checkflag = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/check")
- // if ( checkflag == "Y") {
- // pid = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/pid");
- // prcpdd = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/prcpdd");
- // execprcpuniqno = model.getValue("/root/main/subordlist/subordlist3[" +i + "]/execprcpuniqno");
- //
- // var cnt = getPrcpRcptCheck('AST', pid, '','', prcpdd, execprcpuniqno );
- // if ( cnt > 0 ) break;
- // }
- // }
- // }
-
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case6">
- <line id="line8" class="line_1" style="x1:0; y1:0px; x2:835px; y2:0px; "/>
- <datagrid id="grd_subordlist4" nodeset="/root/main/subordlist/subordlist4" caption="^처방일자^상태^처방이력^처방명^치료실^처방과^처방의사^구분^취소^수납^예약일시^희망일시^마지막처방여부^actorddd^prcpno^excuroomnm^excuroomcd^orddrid^execprcpuniqno^prcpexecdeptcd^pid^execbaseflag^modality^eqmtifyn^pacsnocretyn^acptid^rcptdd^carecnfmdd^reqagnphoyn^basesuppdeptcd^prcpdelivefact^acptrem^execrem^ioflag" colsep="^" colwidth="28, 70, 60, 60, 175, 95, 60, 70, 30, 38, 44, 120, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:4px; width:835px; height:310px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="execprcpstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="prcpkindcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpkindcd/M0003">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpnm"/>
- <col disabled="true" ref="excuroomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rgstdepthngnm"/>
- <col ref="rgstridnm"/>
- <col ref="prcpgenrflag"/>
- <col ref="basecd" type="inputbutton"/>
- <col ref="rcptyn"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="prcphopedd" format="yyyy-mm-dd"/>
- <col ref="endflag" visibility="hidden"/>
- <col ref="actorddd" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="excuroomnm" visibility="hidden"/>
- <col ref="excuroomcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="prcpexecdeptcd" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="execbaseflag" visibility="hidden"/>
- <col ref="modality" visibility="hidden"/>
- <col ref="eqmtifyn" visibility="hidden"/>
- <col ref="pacsnocretyn" visibility="hidden"/>
- <col ref="acptid" visibility="hidden"/>
- <col ref="rcptdd" visibility="hidden"/>
- <col ref="carecnfmdd" visibility="hidden"/>
- <col ref="reqagnphoyn" visibility="hidden"/>
- <col ref="basesuppdeptcd" visibility="hidden"/>
- <col ref="prcpdelivefact" visibility="hidden"/>
- <col ref="acptrem" visibility="hidden"/>
- <col ref="execrem" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- //if (grd_subordlist4.isCell(event.target) && grd_subordlist4.row >= grd_subordlist4.fixedRows && grd_subordlist4.col == grd_subordlist4.colRef("basecd")) {
- model.makeNode("root/hidden/cnclcdlist/cnclcd");
- window.load( "SPAEA01500_취소코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
-
- if ( model.getValue("root/hidden/cnclcdlist/cnclcd") != "") {
- grd_subordlist4.valueMatrix(grd_subordlist4.row, grd_subordlist4.colRef("basecd")) = model.getValue("root/hidden/cnclcdlist/cnclcd");
- model.refresh();
- }
- // }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( isDataCell() ){
-
- var prcpdirecnm = "";
- var prcpdelivefact = "";
-
- var i = grd_subordlist4.row;
-
- tar_acptrem.value = model.getValue("/root/main/subordlist/subordlist4["+i+"]/acptrem");
- tar_execrem.value = model.getValue("/root/main/subordlist/subordlist4["+i+"]/execrem");
- //tar_prcpremfact.value = model.getValue("/root/main/subordlist/subordlist4["+i+"]/prcpdelivefact");
-
- //치료부위, 위치 조회 20140429 kya
- prcpdirecnm = model.getValue("/root/main/subordlist/subordlist4[" +i + "]/rehbprcpcurepartnm") + "/" + model.getValue("/root/main/subordlist/subordlist4[" +i + "]/prcpdirecnm") + "/" + model.getValue("/root/main/subordlist/subordlist4[" +i + "]/rehbprcpcurefreqnm")
- prcpdelivefact = model.getValue("/root/main/subordlist/subordlist4["+i+"]/prcpdelivefact")
-
- //model.makeValue("/root/main/patrem/prcpdeliveinfo/prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
- tar_prcpremfact.value = prcpdelivefact + " [ " + prcpdirecnm + " ] "
-
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_subordlist4", false, "/root/hidden/popupmenu/menu/item", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_subordlist4.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <textarea id="tar_prcpremfact" ref="/root/send/prcprem" editable="false" style="left:355px; top:665px; width:278px; height:75; "/>
- <caption id="caption10" class="tit_2" style="left:915px; top:645px; width:135px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">실시 comment</caption>
- <caption id="caption8" class="tit_2" style="left:355px; top:645px; width:125px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">처방 comment</caption>
- <caption id="caption9" class="tit_2" style="left:640px; top:645px; width:125px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">접수 comment</caption>
- <textarea id="tar_execrem" ref="/root/send/execrem" editable="true" style="left:916px; top:665px; width:278px; height:75; "/>
- <line id="line9" class="line_1" style="x1:637px; y1:661px; x2:912px; y2:661px; "/>
- <line id="line10" class="line_1" style="x1:915px; y1:661px; x2:1195px; y2:661px; "/>
- <line id="line11" class="line_1" style="x1:354px; y1:661px; x2:634px; y2:661px; "/>
- <button id="btn_case1" class="btn_sw" group="tab2" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:48px; width:55px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>미접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //감염정보
- model.makeValue("/root/hidden/isolinfo/isoldata", "");
-
- fGetExamCureAcptList("M");
- btn_bfacpt.selected = true;
-
- model.setValue ("/root/temp/txtgosi_name","") ; //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- model.makeValue("/root/temp/prcprcptyn", "M"); //2009-06-30 2009-06-30 7/1 본인부담율 인상으로 인한 메세지 처리(적용)
-
- ]]>
- </script>
- </button>
- <button id="btn_case2" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:55px; top:48px; width:55px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //감염정보
- model.makeValue("/root/hidden/isolinfo/isoldata", "");
- btn_aftacpt.selected = true;
-
- fGetExamCureAcptList("J");
-
- model.setValue ("/root/temp/txtgosi_name","") ; //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- model.makeValue("/root/temp/prcprcptyn", "J"); //2009-06-30 2009-06-30 7/1 본인부담율 인상으로 인한 메세지 처리(적용)
-
-
- ]]>
- </script>
- </button>
- <button id="btn_case3" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:110px; top:48px; width:55px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>실시</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //감염정보
- model.makeValue("/root/hidden/isolinfo/isoldata", "");
-
- fGetExamCureAcptList("S");
- btn_aftacpt.selected = true;
-
- model.setValue ("/root/temp/txtgosi_name","") ; //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- model.makeValue("/root/temp/prcprcptyn", "S"); //2009-06-30 2009-06-30 7/1 본인부담율 인상으로 인한 메세지 처리(적용)
-
- ]]>
- </script>
- </button>
- <button id="btn_case4" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:165px; top:48px; width:60px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>당일예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //감염정보
- model.makeValue("/root/hidden/isolinfo/isoldata", "");
-
- fGetExamCureAcptList("Y");
- btn_bfacpt.selected = true;
-
- model.setValue ("/root/temp/txtgosi_name","") ; //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- model.makeValue("/root/temp/prcprcptyn", "Y"); //2009-06-30 2009-06-30 7/1 본인부담율 인상으로 인한 메세지 처리(적용)
-
- ]]>
- </script>
- </button>
- <button id="btn_bfacpt" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:356px; top:295px; width:72px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>미접수처방</caption>
- <toggle case="case5" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/acptflag", "M"); //재활의학과(미접수)
-
-
- submit("TRAEA01206", false);
-
- for ( var i = 1; i < grd_subordlist3.rows; i++) {
-
- if( (model.getValue("/root/main/subordlist/subordlist3[" + i + "]/rsrvdt")).substr(0, 8) == getCurrentDate()) {
- model.setValue("/root/main/subordlist/subordlist3[" + i + "]/check", "Y");
- }
- }
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_aftacpt" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:427px; top:295px; width:60px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>접수처방</caption>
- <toggle case="case6" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( btn_case1.selected == true || btn_case4.selected == true ) {
- model.setValue("/root/send/acptflag", "T");
- } else {
- model.setValue("/root/send/acptflag", model.getValue("/root/send/data/acptlistflag"));
- }
-
-
- submit("TRAEA01207");
-
- ]]>
- </script>
- </button>
- <button id="button102" class="icon_left" style="left:288px; top:49px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- /*
- if ( btn_case1.selected == true ) fGetWideListX1(switch1, grd_mainordlist1);
- if ( btn_case2.selected == true ) fGetWideListX1(switch1, grd_mainordlist2);
- if ( btn_case3.selected == true ) fGetWideListX1(switch1, grd_mainordlist3);
- if ( btn_case4.selected == true ) fGetWideListX1(switch1, grd_mainordlist4);
-
- fGetWideListX1(switch1, grd_mainordlist1);
- fGetWideListX1(switch1, grd_mainordlist2);
- fGetWideListX1(switch1, grd_mainordlist3);
- fGetWideListX1(switch1, grd_mainordlist4);
- */
- fGetWideListX1("", grd_mainordlist);
- ]]>
- </script>
- </button>
- <button id="button103" class="icon_right" style="left:315px; top:49px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- /*
- if ( btn_case1.selected == true ) fGetWideListX2(switch1, grd_mainordlist1);
- if ( btn_case2.selected == true ) fGetWideListX2(switch1, grd_mainordlist2);
- if ( btn_case3.selected == true ) fGetWideListX2(switch1, grd_mainordlist3);
- if ( btn_case4.selected == true ) fGetWideListX2(switch1, grd_mainordlist4);
-
- fGetWideListX2(switch1, grd_mainordlist1);
- fGetWideListX2(switch1, grd_mainordlist2);
- fGetWideListX2(switch1, grd_mainordlist3);
- fGetWideListX2(switch1, grd_mainordlist4);
- */
- fGetWideListX2("", grd_mainordlist);
- ]]>
- </script>
- </button>
- <line id="line7" class="line_1" style="x1:0; y1:70px; x2:338px; y2:71px; "/>
- <button id="btn_can" class="btn4_letter4" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1105px; top:294px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>예약취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //2011.03.24 취소시 메세지 처리
- var message = messageBox("해당 예약을","Q007");
- if ( message == 6 ) {
- exeRsrvTransaction("cncl");
- }
- ]]>
- </script>
- </button>
- <group id="group7" visibility="hidden" style="left:390px; top:80px; width:279px; height:119px; vertical-align:top; background-color:#080808; ">
- <caption id="cpt_isoldata" visibility="hidden" style="left:2px; top:2px; width:275px; height:115px; font-size:11pt; font-weight:bold; color:#ff0000; background-color:#d6dadc; "/>
- <button id="btn_close" class="btn5_letter2" visibility="hidden" style="left:227px; top:95px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group7.visible = false;
- cpt_isoldata.visible = false;
- txt_isol.visible = false;
- btn_close.visible = false;
- line_isol.visible = false;
- line_isol2.visible = false;
- cpt_isoltitle.visible = false;
- ]]>
- </script>
- </button>
- <line id="line_isol" class="line_1" visibility="hidden" style="x1:10px; y1:21px; x2:270px; y2:21px; "/>
- <line id="line_isol2" class="line_3" visibility="hidden" style="x1:10px; y1:93px; x2:270px; y2:93px; "/>
- <textarea id="txt_isol" ref="/root/main/subordlist/isolinfo/isoldispcd" visibility="hidden" style="left:10px; top:26px; width:260px; height:66px; "/>
- <caption id="cpt_isoltitle" class="tit_2" visibility="hidden" style="left:12px; top:7px; width:115px; height:13px; ">감염정보</caption>
- </group>
- <caption id="caption15" ref="/root/hidden/isolinfo/isoldata" visibility="visible" style="left:435px; top:48px; width:60px; height:20px; font-size:12pt; font-weight:bold; color:#ff0000; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- group7.visible = true;
- cpt_isoldata.visible = true;
- txt_isol.visible = true;
- btn_close.visible = true;
- line_isol.visible = true;
- line_isol2.visible = true;
- cpt_isoltitle.visible = true;
- ]]>
- </script>
- </caption>
- <!-- KNUH_20100701_노회식_Start -->
- <datagrid id="grd_mainordlist" nodeset="/root/main/ordlist1/mainordlist" autoresize="false" caption="등록번호^환자명^구분^병실^운동^전기온열^소아^작업^언어^심장재활^수^심뇌운동^임파부종^운동평가^퇴원예정일^orddd^orddeptcd^orddrid^cretno^sex^age^컨설트" colsep="^" colwidth="60, 77, 30, 52, 62, 62, 62, 62, 62, 62, 62, 62, 83, 62, 100, 100, 76, 65, 49, 42, 40, 58, 100" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:340px; height:665px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="prcpgenrflag" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col disabled="true" ref="execrid1" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid2" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid3" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid4" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid5" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid6" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid7" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid8" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid9" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid10" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <!-- KNUH_20100701_노회식_End -->
- <!--
- <datagrid id="grd_mainordlist" nodeset="/root/main/ordlist1/mainordlist" autoresize="false" caption="등록번호^환자명^구분^병실^성인운동^소아운동^성인작업^소아작업^통증^언어^심리^퇴원예정일^caption1^caption2" colsep="^" colwidth="60, 77, 30, 52, 62, 62, 62, 62, 62, 62, 62, 100, 100, 100, 100, 100, 100, 100" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:340px; height:665px; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="prcpgenrflag"/>
- <col ref="roomcd"/>
- <col disabled="true" ref="execrid1" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid2" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid3" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid4" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid5" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid6" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execrid7" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecrid/execridcd">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- -->
- <col ref="dschdclrdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="sex" visibility="hidden"/>
- <col ref="age" visibility="hidden"/>
- <col ref="cstcnt" style="text-align:center; "/>
- <col ref="aftrcptinfo" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.makeValue("/root/temp/txtgosi_name","") ; //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- grd_subordlist3.fixedcellischeck(0,0) =false;
- grd_subordlist4.fixedcellischeck(0,0) =false;
-
- if( isDataCell() ){
- fGetExamCurePrcpList(grd_mainordlist);
-
- if ( model.getValue("/root/temp/prcprcptyn") == "M" || model.getValue("/root/temp/prcprcptyn") == "J" || model.getValue("/root/temp/prcprcptyn") == "Y" ) {
- fget0701GosiPrcpRcptChk(); //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- }
-
- // 2011.05.11 cyw 환자조회시 상단정보 표시하기.
- if( btn_case1.selected == true || btn_case4.selected == true ){
- if (grd_subordlist3.rows > 1){
- grd_subordlist3.row = 1;
- fTopInfo1();
- }else{
- delPatientInfos();
- }
- }else if( btn_case2.selected == true || btn_case3.selected == true || button9.selected == true ){
- if (grd_subordlist4.rows > 1){
- grd_subordlist4.row = 1;
- fTopInfo2();
- }else{
- delPatientInfos();
- }
- }
-
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_mainordlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_mainordlist", false, "/root/init/popupmenu/grid01/item", "name", "func");
- ]]>
- </script>
- </datagrid>
- <button id="button9" class="btn_sw" group="tab2" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:225px; top:48px; width:60px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>전체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //감염정보
- model.makeValue("/root/hidden/isolinfo/isoldata", "");
-
- fGetExamCureAcptList("L");
- btn_aftacpt.selected = true;
-
- model.setValue ("/root/temp/txtgosi_name","") ; //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- model.makeValue("/root/temp/prcprcptyn", "L"); //2009-06-30 2009-06-30 7/1 본인부담율 인상으로 인한 메세지 처리(적용)
-
- ]]>
- </script>
- </button>
- <shape id="rectangle3" appearance="rectangle" style="left:501px; top:299px; width:20px; height:15px; background-color:#ffff00; "/>
- <shape id="rectangle4" appearance="rectangle" style="left:542px; top:299px; width:20px; height:15px; background-color:#ccffcc; "/>
- <shape id="rectangle5" appearance="rectangle" style="left:620px; top:299px; width:20px; height:15px; background-color:#FF9A00; "/>
- <caption id="caption26" style="left:641px; top:299px; width:41px; height:15px; ">미수납</caption>
- <caption id="caption27" style="left:526px; top:299px; width:18px; height:15px; ">V</caption>
- <caption id="caption28" style="left:565px; top:299px; width:50px; height:15px; ">오늘결과</caption>
- <datagrid id="grd_subordlist5" nodeset="/root/main/subordlist/subordlist5" caption="진료과(진료의)^예약일시" colsep="^" colwidth="90, 103" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:980px; top:73px; width:211px; height:212px; ">
- <col ref="suminfo"/>
- <col ref="orddt" format="yyyy-mm-dd hh:nn"/>
- </datagrid>
- <caption id="caption11" class="tit_2" style="left:360px; top:58px; width:82px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">상병</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:753px; width:1190px; height:27px; ">
- <button id="button2" class="btn3_letter4" style="left:82px; top:5px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>실시관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //navigate("SMAER00100_실시관리(재활)");
- model.makeNode("/root/senda/pid");
- if (grd_mainordlist.row > 0){
- model.setValue("/root/senda/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid"));
- }
- open("SMAER00100", "","","", "SMAER00100", "/root/senda/pid","/root/send/data/srchpid");
- // modal("SMAER00100", "","","", "SMAER00100", "/root/senda/pid","/root/send/data/srchpid","sysmenu:hidden;, nocancel:hidden;","","","notaskbar");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter4" style="left:0; top:5px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>치료예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/senda/pid");
- model.makeNode("/root/senda/ioflag");
- if (grd_mainordlist.row > 0){
- model.setValue("/root/senda/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid"));
- model.setValue("/root/senda/ioflag", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/prcpgenrflag"));
- }
- open("SMAEA01900", "","","", "SMAEA01900", "/root/senda","/root/senda");
- // modal("SMAEA01900", "","","", "SMAEA01900", "/root/senda","/root/senda");
- ]]>
- </script>
- </button>
- <button id="button21" class="btn3_letter8" style="left:164px; top:5px; width:128px; height:22px; background-image:../../../com/commonweb/images/btn3_letter9.gif; ">
- <caption>환자진료정보조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var pid ="";
- var pidpath="";
- // if ( btn_case1.selected == true ) {
- // pid = model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist1.row+"]/pid");
- // pidpath = "/root/main/ordlist1/mainordlist["+grd_mainordlist1.row+"]/pid";
- // }
- // if ( btn_case2.selected == true ) {
- // pid = model.getValue("/root/main/ordlist2/mainordlist["+grd_mainordlist2.row+"]/pid");
- // pidpath = "/root/main/ordlist2/mainordlist["+grd_mainordlist2.row+"]/pid";
- // }
- // if ( btn_case3.selected == true ) {
- // pid = model.getValue("/root/main/ordlist3/mainordlist["+grd_mainordlist3.row+"]/pid");
- // pidpath = "/root/main/ordlist3/mainordlist["+grd_mainordlist3.row+"]/pid";
- // }
- // if ( btn_case4.selected == true ) {
- // pid = model.getValue("/root/main/ordlist4/mainordlist["+grd_mainordlist4.row+"]/pid");
- // pidpath = "/root/main/ordlist4/mainordlist["+grd_mainordlist4.row+"]/pid";
- // }
- //
- if ( grd_mainordlist.row > 0) {
- pid = model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist.row+"]/pid");
- pidpath = "/root/main/ordlist1/mainordlist["+grd_mainordlist.row+"]/pid";
- var child = getOpenWindow("SMMMO02500") ;
- if (child != null ) {
- child.model.setValue("/root/main/patinfolist/pid" , pid );
- setParameter ( "SMMMO02500_cond" , pid );
- //child.btn_bfprcpsrch.dispatch("DOMActivate");
- //child.ipt_pid.dispatch("onkeypress");
- child.javascript.fReqGetPatComnInfo("/root/send/reqdata", pid );
- child.button1.selected = true;
- child.model.toggle("case1");
-
- child.model.copyNode("/root/main/patinfolist", "/root/main/srchinfo/patinfolist");
- child.model.removeNodeset("/root/main/bfprcp/prcplist");
- child.model.removeNodeset("/root/main/bfprcpday/bfprcpday");
- child.grd_prcpdd.visible = false;
- child.grd_bfprcplist.attribute("left") = 2;
- child.grd_bfprcplist.attribute("width")= 1190;
- child.model.refresh();
- /*
- if (child.grd_patchosinfo.rows > 0){
- child.grd_patchosinfo.row = 1;
- }
- child.javascript.fPatChosInfo();
- */
- }else{
- setParameter ( "SMMMO02500_cond" , pid);
- open("SMMMO02500", "","","", "SMMMO02500", pidpath ,"/root/init/srchcond2");
- }
- }
- // modal("SMMMO02500", 0, 100, 150,"SMMMO02500", "", "");
- ]]>
- </script>
- </button>
- <button id="btn_acpt" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:808px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = fExeAccept(1);
- if ( rtn != "0" ) {
- fGetToggleAcptList();
- }
- ]]>
- </script>
- </button>
- <button id="btn_acptcncl" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:866px; top:5px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
- <caption>접수취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = fExeAccept(2);
- if ( rtn != "0" ) {
- fGetToggleAcptList();
- }
- ]]>
- </script>
- </button>
- <button id="btn_roomupdt" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1053px; top:5px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>실수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_aftacpt.selected == true ) {
-
- var cnt = 0;
- for(var i=grd_subordlist4.fixedRows; i<grd_subordlist4.rows; i++){
- // 0 : None , 2: Update
- if ( grd_subordlist4.rowstatus(i) == 2 ) cnt++;
- }
- if ( cnt == 0 ) {
- messageBox("실수정에 대한 변경이 ","I004");
- return;
- }
- fSetExamCureRoomCodeList(grd_subordlist4);
- }else {
- messageBox("접수된 처방내역 조회가 아니면 실수정을 ","E001");
- return;
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn3_letter8" style="left:292px; top:5px; width:128px; height:22px; background-image:../../../com/commonweb/images/btn3_letter9.gif; ">
- <caption>Progress Note</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var pid = model.getValue("/root/send/data/grd_info/grid_data/pid");
- var orddd = model.getValue("/root/send/data/grd_info/grid_data/orddd");
- var cretno = model.getValue("/root/send/data/grd_info/grid_data/cretno");
- var ioflag = model.getValue("/root/send/data/grd_info/grid_data/prcpgenrflag");
- var orddeptcd = model.getValue("/root/send/data/grd_info/grid_data/orddeptcd");
- var orddrid = model.getValue("/root/send/data/grd_info/grid_data/orddrid");
- var patnm = model.getValue("/root/send/data/grd_info/grid_data/patnm");
- var age = model.getValue("/root/send/data/grd_info/grid_data/age");
- var sex = model.getValue("/root/send/data/grd_info/grid_data/sex");
- //var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
- var suppdeptcd = model.getValue("/root/init/baseinfo1/initsuppdeptcd/A530[" + 1 + "]/cdid");
-
- // 퇴원 후 제증명 발급을 위해 외래등록한 경우 외래 수진이력을 재 조회해서
- // Progress Note에 외래 수진이력 넘기는 오류가 발생하여 주석처리함. 2009.07.17 김건기
- // if(ioflag == "I") {
- // submit("TRAER00109");
- //
- // if( model.getValue("root/temp/progressnote/list/orddd") != "" ) {
- //
- // pid = model.getValue("/root/send/data/grd_info/grid_data/pid");
- // orddd = model.getValue("/root/temp/progressnote/list/orddd");
- // cretno = model.getValue("/root/temp/progressnote/list/cretno");
- // ioflag = model.getValue("/root/temp/progressnote/list/ioflag");
- // orddeptcd = model.getValue("/root/temp/progressnote/list/orddeptcd");
- // orddrid = model.getValue("/root/temp/progressnote/list/orddrid");
- //
- // } else if( model.getValue("root/temp/progressnote/list/orddd") == "" ) {
- // messageBox("환자정보가 ", "E004");
- // }
- // }
-
- setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd );
-
- // open("SPMMR05400", "", "", "" ,"SPMMR05400", "", "");
- modal("SPMMR05400", "", "", "" ,"SPMMR05400", "", "");
-
-
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1122px; top:5px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>과접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAER00109");
-
- model.setValue("/root/send/dracptlist/pid", model.getValue("/root/send/data/grd_info/grid_data/pid"));
- model.setValue("/root/send/dracptlist/orddd", model.getValue("/root/temp/progressnote/list/orddd"));
- model.setValue("/root/send/dracptlist/cretno", model.getValue("/root/temp/progressnote/list/cretno"));
- model.setValue("/root/send/dracptlist/ordtm", getCurrentTime().substr(0,4));
-
- submit("TXAEA01203");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn3_letter6" style="left:422px; top:5px; width:104px; height:22px; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- setParameter("SMMRI00400_param_pid", model.getValue("/root/send/data/grd_info/grid_data/pid"));
- setParameter("SMMRI00400_param_chosflag", model.getValue("/root/send/data/grd_info/grid_data/prcpgenrflag"));
- //내원구분은 I O S E D 모두 가능
-
- modal("SMMRI00400", "", "", "" ,"SMMMR01600", "", "");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn3_letter7" style="left:527px; top:5px; width:116px; height:22px; ">
- <caption>Alarm Notify</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- openInternal("modeless_topmost","SPAEA02000","scn",1,1000,0,0,"","", "min;max:hidden;", 0);
- ]]>
- </script>
- </button>
- <button id="button7" class="btn4_letter6" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:947px; top:5px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
- <caption>접수예약취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = fExeAccept(3);
- if ( rtn != "0" ) {
- fGetToggleAcptList();
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn3_letter4" style="left:644px; top:5px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>일괄반환</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // if ( btn_case1.selected == true ) {
- // model.makeValue("/root/temp/totaldclist/patinfolist/pid", model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist1.row+"]/pid"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/sexage", model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist1.row+"]/sna"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/hngnm", model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist1.row+"]/patnm"));
- // // model.makeValue("/root/temp/totaldclist/patinfolist/rrgstno", model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist1.row+"]/rrgstno"));
- // modal("SPAEA01201","","","","","/root/temp/totaldclist/patinfolist","/root/temp/patinfolist");
- // }
- // if ( btn_case2.selected == true ) {
- // model.makeValue("/root/temp/totaldclist/patinfolist/pid", model.getValue("/root/main/ordlist2/mainordlist["+grd_mainordlist2.row+"]/pid"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/sexage", model.getValue("/root/main/ordlist2/mainordlist["+grd_mainordlist2.row+"]/sna"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/hngnm", model.getValue("/root/main/ordlist2/mainordlist["+grd_mainordlist2.row+"]/patnm"));
- // modal("SPAEA01201","","","","","/root/temp/totaldclist/patinfolist","/root/temp/patinfolist");
- // }
- // if ( btn_case3.selected == true ) {
- // model.makeValue("/root/temp/totaldclist/patinfolist/pid", model.getValue("/root/main/ordlist3/mainordlist["+grd_mainordlist3.row+"]/pid"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/sexage", model.getValue("/root/main/ordlist3/mainordlist["+grd_mainordlist3.row+"]/sna"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/hngnm", model.getValue("/root/main/ordlist3/mainordlist["+grd_mainordlist3.row+"]/patnm"));
- // modal("SPAEA01201","","","","","/root/temp/totaldclist/patinfolist","/root/temp/patinfolist");
- // }
- // if ( btn_case4.selected == true ) {
- // model.makeValue("/root/temp/totaldclist/patinfolist/pid", model.getValue("/root/main/ordlist4/mainordlist["+grd_mainordlist4.row+"]/pid"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/sexage", model.getValue("/root/main/ordlist4/mainordlist["+grd_mainordlist4.row+"]/sna"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/hngnm", model.getValue("/root/main/ordlist4/mainordlist["+grd_mainordlist4.row+"]/patnm"));
- // modal("SPAEA01201","","","","","/root/temp/totaldclist/patinfolist","/root/temp/patinfolist");
- // }
-
- if ( grd_mainordlist.row > 0 ) {
- model.makeValue("/root/temp/totaldclist/patinfolist/pid", model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist.row+"]/pid"));
- model.makeValue("/root/temp/totaldclist/patinfolist/sexage", model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist.row+"]/sna"));
- model.makeValue("/root/temp/totaldclist/patinfolist/hngnm", model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist.row+"]/patnm"));
- // model.makeValue("/root/temp/totaldclist/patinfolist/rrgstno", model.getValue("/root/main/ordlist1/mainordlist["+grd_mainordlist1.row+"]/rrgstno"));
- modal("SPAEA01201","","","","","/root/temp/totaldclist/patinfolist","/root/temp/patinfolist");
- }
- ]]>
- </script>
- </button>
- <button id="button10" class="btn3_letter4" style="left:725px; top:5px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>예약현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.makeValue("/root/senda/pid", getGlobalVariable("gv_pid", "A"));
- model.makeNode("/root/senda/pid");
- if (grd_mainordlist.row > 0){
- model.setValue("/root/senda/pid", model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist.row + "]/pid"));
- }
- open("SMAEA04100", "","","", "SMAEA04100", "/root/senda/pid","/root/send/srchpid");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|