123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248 |
- <?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>
- <cond>
- <srcformcd/>
- <deptcd/>
- <detldeptcd/>
- <drflag/>
- <drid/>
- <drnm/>
- <medispclid/>
- <medispclnm/>
- <reccosignid/>
- <reccosignnm/>
- <ddyn/>
- <ddflag/>
- <fromdd/>
- <todd/>
- <tmpsrcformcd/>
- <tmpdrflag/>
- <tmpddflag/>
- <tmpfromdd/>
- <tmptodd/>
- <btnflag/>
- <pidsrcformcd/>
- <chosinfo/>
- <cnstoprem/>
- <cnstopflag/>
- <cnstopsort/>
- <delcnts/>
- <pat>
- <pid/>
- <hngnm/>
- <cretno/>
- <indd/>
- <srcformcd/>
- </pat>
- <tmppoint/>
- <tmppointtimeall/>
- <tmppointtimebefore/>
- <tmppointtimeafter/>
- <tmppointtimebeforenon/>
- <tmppointtimeafternon/>
- <output/>
- </cond>
- <wrtedeptcd>
- <detldeptcd/>
- </wrtedeptcd>
- <dtllist>
- <cnt>
- <wrteprescondcnt/>
- <unwrteprescondcnt/>
- </cnt>
- </dtllist>
- <list/>
- <detldept>
- <detldeptcd/>
- <detldeptnm/>
- </detldept>
- <deptengabbr>
- <deptengabbr/>
- </deptengabbr>
- </main>
- <init>
- <drflag>
- <item>
- <name>전체</name>
- <id/>
- </item>
- <item>
- <name>스태프</name>
- <id>St</id>
- </item>
- <item>
- <name>레지던트</name>
- <id>R</id>
- </item>
- <item>
- <name>인턴</name>
- <id>I</id>
- </item>
- </drflag>
- <rspd>
- <formall/>
- </rspd>
- <popupmenu>
- <menu>
- <wrte>
- <name>작성의사변경</name>
- <func>fChngUnPrepDrInfo</func>
- </wrte>
- <wrte>
- <name>직종변경(I.)</name>
- <func>fChngUnPrepInternPos</func>
- </wrte>
- <wrte>
- <name>직종변경(R.)</name>
- <func>fChngUnPrepResiPos</func>
- </wrte>
- <wrte>
- <name>직종변경(St.)</name>
- <func>fChngUnPrepStaffPos</func>
- </wrte>
- <wrte>
- <name/>
- <func/>
- </wrte>
- <wrte>
- <name>작성과변경</name>
- <func>fOpenWrteDeptCD</func>
- </wrte>
- <wrte>
- <name>작성분과변경</name>
- <func>fOpenWrteDeltDeptCD</func>
- </wrte>
- <wrte>
- <name>주 협진수술변경</name>
- <func>fOpenCnstop</func>
- </wrte>
- <wrte>
- <name>변경취소</name>
- <func>fCnclSetPrepRecInfo</func>
- </wrte>
- <wrte>
- <name/>
- <func/>
- </wrte>
- <wrte>
- <name>내역삭제</name>
- <func>fOpenSpecDel</func>
- </wrte>
- <wrte>
- <name>내역삭제취소</name>
- <func>fSpecDelCncl</func>
- </wrte>
- <!--
- <wrte>
- <name/>
- <func/>
- </wrte>
- <wrte>
- <name>기록삭제이력조회</name>
- <func>fRecDelHistRef</func>
- </wrte>
- -->
- <staff>
- <name>StaffSing의사변경</name>
- <func>fChngUnPrepDrInfo</func>
- </staff>
- <staff>
- <name>직종변경(I.)</name>
- <func>fChngUnPrepInternPos</func>
- </staff>
- <staff>
- <name>직종변경(R.)</name>
- <func>fChngUnPrepResiPos</func>
- </staff>
- <staff>
- <name>직종변경(St.)</name>
- <func>fChngUnPrepStaffPos</func>
- </staff>
- <staff>
- <name/>
- <func/>
- </staff>
- <staff>
- <name>작성과변경</name>
- <func>fOpenWrteDeptCD</func>
- </staff>
- <staff>
- <name>작성분과변경</name>
- <func>fOpenWrteDeltDeptCD</func>
- </staff>
- <staff>
- <name>주 협진수술변경</name>
- <func>fOpenCnstop</func>
- </staff>
- <staff>
- <name>변경취소</name>
- <func>fCnclSetPrepRecInfo</func>
- </staff>
- <staff>
- <name/>
- <func/>
- </staff>
- <staff>
- <name>내역삭제</name>
- <func>fOpenSpecDel</func>
- </staff>
- <staff>
- <name>내역삭제취소</name>
- <func>fSpecDelCncl</func>
- </staff>
- <!--
- <staff>
- <name/>
- <func/>
- </staff>
- <staff>
- <name>기록삭제이력조회</name>
- <func>fRecDelHistRef</func>
- </staff>
- -->
- </menu>
- </popupmenu>
- <M0501>
- </M0501>
- <M0502>
- </M0502>
- <M0503>
- </M0503>
- <M0504>
- <M0504/>
- </M0504>
- <wrtedeptcd/>
- </init>
- <hidden>
- <temp>
- <temp>
- <pidpopupinfo/>
- </temp>
- </temp>
- </hidden>
- <temp>
- <userinfo/>
- <pid/>
- <hngnm/>
- <srchcond/>
- <autoflag/>
- </temp>
- <send>
- <req>
- <srcformcd/>
- <deptcd/>
- <drflag/>
- <drid/>
- <ddyn/>
- <ddflag/>
- <fromdd/>
- <todd/>
- <btnflag/>
- </req>
- <detldept>
- <supdeptcd/>
- <clrsuserid/>
- <clrsusertodd/>
- </detldept>
- <deptengabbr>
- <deptcd/>
- <eventdd/>
- </deptengabbr>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.setValue("/root/main/cond/tmpfromdd", getCurrentDate());
- model.setValue("/root/main/cond/tmptodd", getCurrentDate());
- cmb_ddflag.select(0);
- model.toggle("case1");
- model.setValue("/root/main/cond/tmppointtimeall", "ALL");
- model.setValue("/root/main/dtllist/cnt/wrteprescondcnt", "");
- model.setValue("/root/main/dtllist/cnt/unwrteprescondcnt", "");
-
- sSEARCHTYPE = "1";
-
- if (submit("TRMRI03401")) {
- var nodeList = instance1.selectNodes("/root/init/rspd/form");
-
- for(var i =1; i<=nodeList.length; i++){
- model.makeValue("/root/init/rspd/formall["+i+"]/srcformnm", model.getValue("/root/init/rspd/form["+i+"]/srcformnm"));
- model.makeValue("/root/init/rspd/formall["+i+"]/srcformcd", model.getValue("/root/init/rspd/form["+i+"]/srcformcd"));
- model.makeValue("/root/init/rspd/formall["+i+"]/eventcd", model.getValue("/root/init/rspd/form["+i+"]/eventcd"));
- if(model.getValue("/root/init/rspd/form["+i+"]/eventcd") !="00"){
- model.makeValue("/root/init/rspd/formess["+i+"]/srcformcd", model.getValue("/root/init/rspd/form["+i+"]/srcformcd"));
- model.makeValue("/root/init/rspd/formess["+i+"]/srcformnm", model.getValue("/root/init/rspd/form["+i+"]/srcformnm"));
- model.makeValue("/root/init/rspd/formess["+i+"]/eventcd", model.getValue("/root/init/rspd/form["+i+"]/eventcd"));
- model.makeValue("/root/init/rspd/formess["+i+"]/staffsignflag", model.getValue("/root/init/rspd/form["+i+"]/staffsignflag"));
- }
- }
- cmb_form.refresh();
- cmb_dept.select(0);
- cmb_form.select(0);
- cmb_form2.select(0);
- }
-
- zbcfGetCodeList(new Array("M0501", "M0502", "M0503"), new Array("/root/init/M0501", "/root/init/M0502", "/root/init/M0503"));
-
- grd_dtllist.colhidden(16) = true;
- grd_dtllist.colhidden(17) = true;
- grd_dtllist.colhidden(21) = true;
- grd_dtllist.colhidden(22) = true;
- grd_dtllist.colhidden(23) = true;
- grd_dtllist.colhidden(24) = true;
- grd_dtllist.colhidden(25) = true;
- grd_dtllist.colhidden(26) = true;
- grd_dtllist.colhidden(27) = true;
- grd_dtllist.colhidden(28) = true;
- grd_dtllist.colhidden(29) = true;
- grd_dtllist.colhidden(30) = true;
-
- btn_width1.disabled = true;
- btn_width2.disabled = false;
-
- cap_cnstop.visible = false;
- chk_cnstopflag.visible = false;
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grp_wrtedept.attribute("height") = 0;
- grp_wrtedeldept.attribute("height") = 0;
- grp_cnstop.attribute("height") = 0;
- grp_delcnts.attribute("height") = 0;
- ]]>
- </script>
- <submission id="TRMRI03401" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rspd"/>
- <submission id="TRMRI03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
- <submission id="TRMRI03403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dtllist"/>
- <submission id="TRMRI03404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/detldept" resultref="/root/main/detldept"/>
- <submission id="TRMRI03405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptengabbr" resultref="/root/main/deptengabbr"/>
- <submission id="TRMRI02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/userinfo"/>
- <submission id="TRMRI02605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
- <submission id="TXMRI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dtllist"/>
- <submission id="TXMRI03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dtllist"/>
- <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/recindxweb/js/SMMRI03400.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body disabled="false" style="text-align:center; 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:209px; height:14px; ">시점기록관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
- <group id="group5" style="left:381px; top:10px; width:811px; height:90px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:811px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption20" class="search_name" style="left:10px; top:49px; width:86px; height:17px; ">조회구분 :</caption>
- <line id="line16" style="x1:655px; y1:5px; x2:655px; y2:85px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption17" class="search_name" style="left:220px; top:5px; width:103px; height:17px; ">작성과 :</caption>
- <caption id="caption8" class="search_name" style="left:10px; top:5px; width:90px; height:17px; ">서식명 :</caption>
- <select1 id="cmb_dept" ref="/root/main/cond/deptcd" class="combo_search" navindex="5" appearance="minimal" style="left:295px; top:5px; width:90px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/rspd/dept/">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
- var orddeptcd = model.getValue("/root/main/cond/deptcd");
-
- if(orddeptcd == "2040000000"
- || orddeptcd == "2110000000"
- || orddeptcd == "2100000000")
- {
- cmb_detldept.disabled = false;
-
- //미비과에 따라 미비분과 combo정보를 변경
- if(orddeptcd == "2040000000"){ //외과
- cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0501/M0501";
- }else if(orddeptcd == "2100000000"){ //산부인과
- cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0502/M0502";
- }else if(orddeptcd == "2110000000"){ //소아과
- cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0503/M0503";
- }
- addComboItem("cmb_detldept", "전체", "ALL", "above");
- cmb_detldept.select(0);
- cmb_detldept.refresh();
- }
- else
- {
- cmb_detldept.select(0);
- cmb_detldept.refresh();
- cmb_detldept.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_form" ref="/root/main/cond/tmpsrcformcd" class="combo_search" navindex="1" appearance="minimal" style="left:84px; top:5px; width:134px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/rspd/formess/">
- <label ref="srcformnm"/>
- <value ref="srcformcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fFormessChang();
- ]]>
- </script>
- </select1>
- <input id="ipt_fromdd" ref="/root/main/cond/tmpfromdd" class="input_search" disabled="false" navindex="3" inputtype="date" style="left:185px; top:49px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/cond/tmptodd" class="input_search" disabled="false" navindex="3" inputtype="date" style="left:287px; top:49px; width:90px; height:19px; "/>
- <button id="btn_recwrterate" class="btn1_letter4" navindex="6" style="left:665px; top:5px; width:104px; height:22px; ">
- <caption>작성조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- sSEARCHTYPE = "1";
- sSEARCHPAT = "";
- sSEARCHSORT = "";
- fSearch();
- ]]>
- </script>
- </button>
- <button id="btn_staffsingrecwrterate" class="btn1_letter9" navindex="7" style="left:665px; top:34px; width:140px; height:22px; ">
- <caption>StaffSign작성조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- sSEARCHTYPE = "2";
- sSEARCHPAT = "";
- sSEARCHSORT = "";
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:470px; top:29px; width:90px; height:17px; ">의사구분 :</caption>
- <select1 id="cmb_flag" ref="/root/main/cond/tmpdrflag" class="combo_search" navindex="4" appearance="minimal" style="left:560px; top:29px; width:85px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/drflag/item">
- <label ref="name"/>
- <value ref="id"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" style="left:275px; top:50px; width:15px; height:20px; ">~</caption>
- <caption id="caption4" class="search_name" style="left:470px; top:5px; width:95px; height:17px; ">작성의사 :</caption>
- <caption id="caption10" class="search_name" style="left:10px; top:72px; width:86px; height:17px; ">시점구분 :</caption>
- <select id="chk_SearchPointTimeAll" ref="/root/main/cond/tmppointtimeall" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:105px; top:72px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fTimepointChk(chk_SearchPointTimeAll.value);
- ]]>
- </script>
- </select>
- <select id="chk_SearchPointTimeBefore" ref="/root/main/cond/tmppointtimebefore" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:153px; top:72px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>시점내작성</label>
- <value>BEFORE</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fTimepointChk(chk_SearchPointTimeBefore.value);
- ]]>
- </script>
- </select>
- <select id="chk_SearchPointTimeAfter" ref="/root/main/cond/tmppointtimeafter" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:236px; top:72px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>시점이후작성</label>
- <value>AFTER</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fTimepointChk(chk_SearchPointTimeAfter.value);
- ]]>
- </script>
- </select>
- <select id="chk_SearchPointTimeBeforeNon" ref="/root/main/cond/tmppointtimebeforenon" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:326px; top:72px; width:92px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>시점내미작성</label>
- <value>BEFORENON</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fTimepointChk(chk_SearchPointTimeBeforeNon.value);
- ]]>
- </script>
- </select>
- <select id="chk_SearchPointTimeAfterNon" ref="/root/main/cond/tmppointtimeafternon" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:420px; top:72px; width:108px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>시점이후미작성</label>
- <value>AFTERNON</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fTimepointChk(chk_SearchPointTimeAfterNon.value);
- ]]>
- </script>
- </select>
- <select1 id="cmb_ddflag" ref="/root/main/cond/tmpddflag" class="combo_search" appearance="minimal" style="left:97px; top:49px; width:80px; height:19px; text-align:left; ">
- <choices>
- <item>
- <label>퇴원일자</label>
- <value>dschdd</value>
- </item>
- <item>
- <label>입원일자</label>
- <value>indd</value>
- </item>
- <item>
- <label>재원일자</label>
- <value>orddd</value>
- </item>
- <item>
- <label>수술일자</label>
- <value>anstenddd</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_drid" ref="/root/main/cond/drnm" style="left:560px; top:5px; width:85px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- model.setValue("/root/main/cond/drid", ipt_drid.currentText);
- var drid = ipt_drid.currentText;
-
- if(isNumber(drid.charAt(0)) == "Y"){
- fReqGetUnPrepDrSmplList("id", drid);
- }else{
- fReqGetUnPrepDrSmplList("nm", drid);
- }
-
- var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
- if(nodelist.length == 1){
- model.setValue("/root/main/cond/drid", model.getValue("/root/temp/userinfo/usercombo/userid"));
- model.setValue("/root/main/cond/drnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
- } else if(nodelist.length > 1) {
- setParameter("SPMRI02900_stnddd" , getCurrentDate());
- setParameter("SPMRI02900_orddrnm", drid );
- modal("SPMRI02900");
- if(getParameter("SPMRI02900_useyn")=="Y"){
- var doctinfo = getParameter("SPMRI02900_rtnparam");
- doctinfo = doctinfo.split("^");
- model.setValue("/root/main/cond/drid", doctinfo[3]);
- model.setValue("/root/main/cond/drnm", doctinfo[4]);
- }
- }else{
- messageBox("의사 정보가", "I004");
- return;
- }
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if(ipt_drid.value == ""){
- model.setValue("/root/main/cond/drnm", "");
- model.setValue("/root/main/cond/drid", "");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_detldept" ref="/root/main/cond/detldeptcd" class="combo_search" disabled="true" appearance="minimal" style="left:387px; top:5px; width:80px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <input id="ipt_medispclid" ref="/root/main/cond/medispclnm" style="left:85px; top:27px; width:85px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- model.setValue("/root/main/cond/medispclid", ipt_medispclid.currentText);
- var drid = ipt_medispclid.currentText;
-
- if(isNumber(drid.charAt(0)) == "Y"){
- fReqGetUnPrepDrSmplList("id", drid);
- }else{
- fReqGetUnPrepDrSmplList("nm", drid);
- }
-
- var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
- if(nodelist.length == 1){
- model.setValue("/root/main/cond/medispclid", model.getValue("/root/temp/userinfo/usercombo/userid"));
- model.setValue("/root/main/cond/medispclnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
- } else if(nodelist.length > 1) {
- setParameter("SPMRI02900_stnddd" , getCurrentDate());
- setParameter("SPMRI02900_orddrnm", drid );
- modal("SPMRI02900");
- if(getParameter("SPMRI02900_useyn")=="Y"){
- var doctinfo = getParameter("SPMRI02900_rtnparam");
- doctinfo = doctinfo.split("^");
- model.setValue("/root/main/cond/medispclid", doctinfo[3]);
- model.setValue("/root/main/cond/medispclnm", doctinfo[4]);
- }
- }else{
- messageBox("주치의 정보가", "I004");
- return;
- }
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if(ipt_medispclid.value == ""){
- model.setValue("/root/main/cond/medispclnm", "");
- model.setValue("/root/main/cond/medispclid", "");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption16" class="search_name" style="left:10px; top:27px; width:95px; height:17px; ">주치의 :</caption>
- <input id="ipt_opreccosignid" ref="/root/main/cond/reccosignnm" style="left:295px; top:27px; width:84px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- model.setValue("/root/main/cond/reccosignid", ipt_opreccosignid.currentText);
- var drid = ipt_opreccosignid.currentText;
-
- if(isNumber(drid.charAt(0)) == "Y"){
- fReqGetUnPrepDrSmplList("id", drid);
- }else{
- fReqGetUnPrepDrSmplList("nm", drid);
- }
-
- var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
- if(nodelist.length == 1){
- model.setValue("/root/main/cond/reccosignid", model.getValue("/root/temp/userinfo/usercombo/userid"));
- model.setValue("/root/main/cond/reccosignnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
- } else if(nodelist.length > 1) {
- setParameter("SPMRI02900_stnddd" , getCurrentDate());
- setParameter("SPMRI02900_orddrnm", drid );
- modal("SPMRI02900");
- if(getParameter("SPMRI02900_useyn")=="Y"){
- var doctinfo = getParameter("SPMRI02900_rtnparam");
- doctinfo = doctinfo.split("^");
- model.setValue("/root/main/cond/reccosignid", doctinfo[3]);
- model.setValue("/root/main/cond/reccosignnm", doctinfo[4]);
- }
- }else{
- messageBox("집도의 정보가", "I004");
- return;
- }
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if(ipt_opreccosignid.value == ""){
- model.setValue("/root/main/cond/reccosignnm", "");
- model.setValue("/root/main/cond/reccosignid", "");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="cap_opcosignnm" class="search_name" style="left:220px; top:27px; width:95px; height:17px; ">집도의 :</caption>
- <caption id="cap_cnstop" class="search_name" style="left:470px; top:49px; width:90px; height:17px; ">수술구분 :</caption>
- <button id="button1" class="btn1_letter6" navindex="6" style="left:665px; top:63px; width:80px; height:22px; ">
- <caption>삭제내역조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- sSEARCHTYPE = "3";
- sSEARCHPAT = "";
- sSEARCHSORT = "D";
- fSearch();
- ]]>
- </script>
- </button>
- <select id="chk_cnstopflag" ref="/root/main/cond/cnstopflag" visibility="visible" overflow="visible" appearance="full" style="left:560px; top:51px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>협진수술 포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:127px; x2:1194px; y2:127px; "/>
- <caption id="caption12" class="tit_2" style="left:5px; top:110px; width:103px; height:13px; ">작성현황</caption>
- <switch id="switch1" style="left:0px; top:127px; width:1195px; height:605px; ">
- <case id="case1">
- <datagrid id="grd_dtllist" nodeset="/root/main/dtllist/list" visibility="attribute" caption="등록번호^환자명^입원일^퇴원일^재(퇴)원과^주치의^서식명^진료일자^발생시간^최초작성시간^초과시간^작성과^작성분과^직종^작성의사^수술과^집도의^비고^상태^작성기한^최종작성시간^StaffSign 시간^StaffSign초과시간^StaffSign기한^StaffSign의사^최초생성자^최초생성일시^최종수정자^최종수정일시^최종삭제자^최종삭제일시^삭제사유" colsep="^" colwidth="57, 55, 69, 68, 69, 55, 90, 69, 100, 100, 55, 44, 55, 33, 58, 46, 50, 65, 59, 100, 100, 100, 105, 100, 80, 70,110, 70, 110, 70, 100, 150" defaultrows="0" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1193px; height:600px; ">
- <col ref="pid" style="left:20px; top:23px; width:57px; height:23px; text-align:center; "/>
- <col ref="pnm" style="text-align:center; word-wrap:none; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="indxorddeptnm" style="text-align:center; word-wrap:none; "/>
- <col ref="medispclnm" style="text-align:center; word-wrap:none; "/>
- <col ref="formnm" style="text-align:left; word-wrap:none; "/>
- <col ref="orddt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eventdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="formrecdt" format="yyyy-mm-dd hh:nn" style="left:652px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="overtm" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; word-wrap:none; "/>
- <col ref="detldeptnm" style="text-align:center; word-wrap:none; "/>
- <col ref="dockindflag" style="text-align:center; "/>
- <col ref="recdrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="opdeptnm" style="text-align:center; word-wrap:none; "/>
- <col ref="perfdrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="rem" style="text-align:left; "/>
- <col ref="recstatus" style="text-align:center; word-wrap:none; "/>
- <col ref="reclimitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="reccosigndt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="cosignovertm" style="text-align:center; "/>
- <col ref="reccosignlimitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="reccosigndrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="indx_fstrgstrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="indx_fstrgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="indx_lastupdtrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="indx_lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="delusernm" style="text-align:center; word-wrap:none; "/>
- <col ref="deldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="delcnts" style="text-align:left; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var total = grd_dtllist.rows;
- if(total < 2){
- return;
- }
- var currow = grd_dtllist.row;
- var curcol = grd_dtllist.col;
- if(isDataCell()){
- return;
- }else{
- //그리드 Header를 클릭한 경우,
- if(currow == 0){
- if(sORDERBYDTL == "desc"){
- sORDERBYDTL = "asc";
- }else{
- sORDERBYDTL = "desc";
- }
- if(grd_dtllist.colAttribute(curcol, "ref") != ""){
- var orderby = grd_dtllist.colAttribute(curcol, "ref") + " " + sORDERBYDTL;
- model.makeValue("/root/main/cond/tmporderbydtl", orderby);
- sSEARCHTYPE = "1";
- fSearchDtl();
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_dtllist", false, "/root/init/popupmenu/menu/wrte", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_dtllist_staff" nodeset="/root/main/dtllist/list" visibility="attribute" caption="등록번호^환자명^입원일^퇴원일^재(퇴)원과^주치의^서식명^진료일자^발생시간^StaffSign시간^StaffSign초과시간^StaffSign의사^수술과^집도의^상태^StaffSign기한^최초작성시간^초과시간^작성과^작성분과^직종^작성의사^작성기한^최종작성시간^비고^최초생성자^최초생성일시^최종수정자^최종수정일시^최종삭제자^최종삭제일시^삭제사유" colsep="^" colwidth="58, 58, 70, 70, 68, 60, 100, 70, 100, 100, 105, 80, 46, 53, 60, 100, 100, 70, 65, 55, 40, 65, 100, 100, 85, 70, 100, 70, 100, 70, 100, 150" defaultrows="0" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1193px; height:600px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="pnm" style="text-align:center; word-wrap:none; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="indxorddeptnm" style="text-align:center; word-wrap:word; "/>
- <col ref="medispclnm" style="text-align:center; word-wrap:none; "/>
- <col ref="formnm" style="text-align:left; word-wrap:none; "/>
- <col ref="orddt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eventdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="reccosigndt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="cosignovertm" style="text-align:center; "/>
- <col ref="reccosigndrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="orddeptnm" style="text-align:center; word-wrap:none; "/>
- <col ref="perfdrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="recstatus" style="text-align:center; word-wrap:none; "/>
- <col ref="reccosignlimitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="formrecdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="overtm" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; word-wrap:none; "/>
- <col ref="detldeptnm" style="text-align:center; word-wrap:none; "/>
- <col ref="dockindflag" style="text-align:center; "/>
- <col ref="recdrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="reclimitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="rem" style="text-align:left; "/>
- <col ref="indx_fstrgstrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="indx_fstrgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="indx_lastupdtrnm" style="text-align:center; word-wrap:none; "/>
- <col ref="indx_lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="delusernm" style="text-align:center; word-wrap:none; "/>
- <col ref="deldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="delcnts" style="text-align:left; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var total = grd_dtllist_staff.rows;
- if(total < 2){
- return;
- }
- var currow = grd_dtllist_staff.row;
- var curcol = grd_dtllist_staff.col;
- if(isDataCell()){
- return;
- }else{
- //그리드 Header를 클릭한 경우,
- if(currow == 0){
- if(sORDERBYDTL == "desc"){
- sORDERBYDTL = "asc";
- }else{
- sORDERBYDTL = "desc";
- }
- if(grd_dtllist_staff.colAttribute(curcol, "ref") != ""){
- var orderby = grd_dtllist_staff.colAttribute(curcol, "ref") + " " + sORDERBYDTL;
- model.makeValue("/root/main/cond/tmporderbydtl", orderby);
- sSEARCHTYPE = "2";
- fSearchDtl();
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_dtllist_staff", false, "/root/init/popupmenu/menu/staff", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_ex" class="btn2_letter2" style="left:1105px; top:107px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel();
- ]]>
- </script>
- </button>
- <group id="grp_delcnts" style="left:880px; top:440px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
- <caption id="caption21" style="left:5px; top:6px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">삭제사유</caption>
- <button id="button4" class="btn2_letter2" style="left:122px; top:27px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var delcnts = model.getValue("/root/main/cond/delcnts");
-
- if(delcnts.getTrim() == ""){
- messageBox("삭제 사유는", "I003");
- model.setFocus("ipt_delcnts");
- return;
- }
-
- if(sSEARCHTYPE == "1"){
- grd_dtllist.disabled = false;
- } else {
- grd_dtllist_staff.disabled = false;
- }
- btn_requnpreppatbase.disabled = false;
- btn_recwrterate.disabled = false;
- btn_staffsingrecwrterate.disabled = false;
- btn_ex.disabled = false;
- btn_save.disabled = false;
- grp_delcnts.attribute("height") = 0;
-
- fSpecDel();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" style="left:166px; top:27px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(sSEARCHTYPE == "1"){
- grd_dtllist.disabled = false;
- } else {
- grd_dtllist_staff.disabled = false;
- }
- btn_requnpreppatbase.disabled = false;
- btn_recwrterate.disabled = false;
- btn_staffsingrecwrterate.disabled = false;
- btn_ex.disabled = false;
- btn_save.disabled = false;
- grp_delcnts.attribute("height") = 0;
- ]]>
- </script>
- </button>
- <input id="ipt_delcnts" ref="/root/main/cond/delcnts" style="left:59px; top:5px; width:155px; height:19px; text-align:left; "/>
- </group>
- <group id="grp_cnstop" style="left:670px; top:325px; width:225px; height:80px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
- <select1 id="rdo_cnstopsort" ref="/root/main/cond/cnstopsort" appearance="full" cols="2" overflow="visible" style="left:44px; top:5px; width:135px; height:20px; font-weight:bold; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>주수술</label>
- <value>N</value>
- </item>
- <item>
- <label>협진수술</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCnstopsortChang();
- ]]>
- </script>
- </select1>
- <caption id="caption19" style="left:5px; top:29px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">비고</caption>
- <input id="input2" ref="/root/main/cond/cnstoprem" style="left:35px; top:28px; width:179px; height:19px; text-align:left; "/>
- <button id="button2" class="btn2_letter2" style="left:122px; top:50px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(sSEARCHTYPE == "1"){
- grd_dtllist.disabled = false;
- } else {
- grd_dtllist_staff.disabled = false;
- }
- btn_requnpreppatbase.disabled = false;
- btn_recwrterate.disabled = false;
- btn_staffsingrecwrterate.disabled = false;
- btn_ex.disabled = false;
- btn_save.disabled = false;
- grp_cnstop.attribute("height") = 0;
-
- fSetCnstoprem();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:166px; top:50px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(sSEARCHTYPE == "1"){
- grd_dtllist.disabled = false;
- } else {
- grd_dtllist_staff.disabled = false;
- }
- btn_requnpreppatbase.disabled = false;
- btn_recwrterate.disabled = false;
- btn_staffsingrecwrterate.disabled = false;
- btn_ex.disabled = false;
- btn_save.disabled = false;
- grp_cnstop.attribute("height") = 0;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_wrtedept" style="left:812px; top:183px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
- <caption id="caption2" style="left:5px; top:5px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">작성과</caption>
- <button id="btn_cnfm" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(sSEARCHTYPE == "1"){
- grd_dtllist.disabled = false;
- } else {
- grd_dtllist_staff.disabled = false;
- }
- btn_requnpreppatbase.disabled = false;
- btn_recwrterate.disabled = false;
- btn_staffsingrecwrterate.disabled = false;
- btn_ex.disabled = false;
- btn_save.disabled = false;
- grp_wrtedept.attribute("height") = 0;
-
- fReqSetWrteDeptCD();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(sSEARCHTYPE == "1"){
- grd_dtllist.disabled = false;
- } else {
- grd_dtllist_staff.disabled = false;
- }
- btn_requnpreppatbase.disabled = false;
- btn_recwrterate.disabled = false;
- btn_staffsingrecwrterate.disabled = false;
- btn_ex.disabled = false;
- btn_save.disabled = false;
- grp_wrtedept.attribute("height") = 0;
- ]]>
- </script>
- </button>
- <select1 id="cmb_wrtedept" ref="/root/init/wrtedeptcd" appearance="minimal" style="left:52px; top:5px; width:156px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/rspd/dept/">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_wrtedeldept" style="left:870px; top:230px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
- <caption id="caption5" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">작성분과</caption>
- <button id="button9" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(sSEARCHTYPE == "1"){
- grd_dtllist.disabled = false;
- } else {
- grd_dtllist_staff.disabled = false;
- }
- btn_requnpreppatbase.disabled = false;
- btn_recwrterate.disabled = false;
- btn_staffsingrecwrterate.disabled = false;
- btn_ex.disabled = false;
- btn_save.disabled = false;
- grp_wrtedeldept.attribute("height") = 0;
-
- fSetDetlDeptCD();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(sSEARCHTYPE == "1"){
- grd_dtllist.disabled = false;
- } else {
- grd_dtllist_staff.disabled = false;
- }
- btn_requnpreppatbase.disabled = false;
- btn_recwrterate.disabled = false;
- btn_staffsingrecwrterate.disabled = false;
- btn_ex.disabled = false;
- btn_save.disabled = false;
- grp_wrtedeldept.attribute("height") = 0;
- ]]>
- </script>
- </button>
- <select1 id="cmb_detldeptcd" ref="/root/main/wrtedeptcd/detldeptcd" appearance="minimal" style="left:64px; top:5px; width:144px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="group6" style="left:0px; top:10px; width:375px; height:90px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:375px; height:90px; color:#3366ff; "/>
- <button id="btn_patreq" class="icon_search" visibility="visible" style="left:165px; top:28px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- input1.value= "";
- opt_qry.value = "";
- fGetPid("/root/main/cond/pat/pid", "/root/main/cond/pat/hngnm");
- /*
- model.makeValue("/root/temp/pid" , model.getValue("/root/main/cond/pat/pid"));
- model.makeValue("/root/temp/hngnm" , model.getValue("/root/main/cond/pat/hngnm"));
- if(model.getValue("/root/main/cond/pat/pid") == ""){
- model.setValue("/root/temp/srchcond", 1);
- }else{
- model.setValue("/root/temp/srchcond", 2);
- }
- model.setValue("/root/temp/autoflag", "Y");
- model.refresh();
-
- modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/tmp", "/root/send");
- */
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/main/cond/pat/pid" class="input_search" style="left:96px; top:27px; width:65px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keycode == 13){
- ipt_pid.value = ipt_pid.currentText;
- opt_qry.value = "";
- fReqGetUnPrepPatChosInfo(ipt_pid.value, "I", "A");
- }
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:8px; top:49px; width:89px; height:17px; ">내원정보 :</caption>
- <button id="btn_requnpreppatbase" class="btn1_letter2" style="left:297px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- sSEARCHPAT = "PAT";
- sSEARCHTYPE = "1";
- sSEARCHSORT = "";
- btn_width1.disabled = true;
- btn_width2.disabled = false;
- fSearchPat();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:8px; top:27px; width:89px; height:17px; ">등록번호 :</caption>
- <input id="input1" ref="/root/main/cond/pat/hngnm" class="input_search" style="left:184px; top:27px; width:70px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <select1 id="cmb_chosinfo" ref="/root/main/cond/chosinfo" appearance="minimal" style="left:96px; top:49px; width:270px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/main/patinfo/pathistlist">
- <label ref="chosinfo"/>
- <value ref="rowcnt"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var pid = model.getValue("/root/main/patinfo/pathistlist[rowcnt ='" + cmb_chosinfo.value + "']/pid");
- var indd= model.getValue("/root/main/patinfo/pathistlist[rowcnt ='" + cmb_chosinfo.value + "']/orddd");
- var cretno= model.getValue("/root/main/patinfo/pathistlist[rowcnt ='" + cmb_chosinfo.value + "']/cretno");
- var dschdd= model.getValue("/root/main/patinfo/pathistlist[rowcnt ='" + cmb_chosinfo.value + "']/dschdd");
-
- model.makeValue("/root/main/cond/pat/pid" , pid);
- model.makeValue("/root/main/cond/pat/indd" , indd);
- model.makeValue("/root/main/cond/pat/cretno" , cretno);
- model.refresh();
-
- if(dschdd != '재원중'){
- indschflag = "D";
- }else{
- indschflag = "I";
- }
-
- var wndobj = getOpenWindow("SPMRI02700");
- if(wndobj != null){
- setParameter("SPMRI02700_pid", pid);
- wndobj.javascript.fReqGetUnPrepOpList();
- wndobj.model.setFocus("grd_unprepoplist");
- wndobj.model.refresh();
- }
-
- var wndobj2 = getOpenWindow("SPMRI02600");
- if(wndobj2 != null){
- wndobj2.javascript.gRecLoad = "N";
- wndobj2.javascript.fSetPatInfo(pid, indd, cretno, indschflag);
- }
-
- if(sSEARCHENTER == "Y" && sSEARCHPIDINFO == "Y"){
- sSEARCHPAT = "PAT";
- fSearchPat();
- }
-
- // btn_requnpreppatbase.dispatch("DOMActivate");
-
-
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="search_name" style="left:8px; top:5px; width:93px; height:17px; ">서식명</caption>
- <select1 id="cmb_form2" ref="/root/main/cond/pat/srcformcd" class="combo_search" navindex="1" appearance="minimal" style="left:96px; top:5px; width:134px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/rspd/formall/">
- <label ref="srcformnm"/>
- <value ref="srcformcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" style="left:88px; top:3px; width:10px; height:30px; font-size:10pt; font-weight:bold; ">:</caption>
- </group>
- <button id="btn_width2" style="left:1013px; top:107px; width:28px; height:20px; background-image:../../../com/commonweb/images/btn_send_right.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_width1.disabled =false;
- btn_width2.disabled = true;
- fColHidden("long");
- if(sSEARCHTYPE == "1"){
- grd_dtllist.refresh();
- } else {
- grd_dtllist_staff.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_width1" style="left:985px; top:107px; width:26px; height:19px; background-image:../../../com/commonweb/images/btn_send_left.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_width1.disabled = true;
- btn_width2.disabled = false;
- fColHidden("short");
- if(sSEARCHTYPE == "1"){
- grd_dtllist.refresh();
- } else {
- grd_dtllist_staff.refresh();
- }
- ]]>
- </script>
- </button>
- <output id="opt_qry" ref="/root/main/cond/output" class="output_fix" visibility="visible" style="left:80px; top:105px; width:170px; height:19px; "/>
- <caption id="caption14" class="search_name" style="left:254px; top:109px; width:231px; height:17px; ">작성현황(시점내/시점이후/전체) :</caption>
- <output id="opt_timein" ref="/root/main/dtllist/cnt/wrteprescondcnt" class="output_fix" visibility="visible" style="left:486px; top:107px; width:125px; height:19px; text-align:center; "/>
- <caption id="caption15" class="search_name" style="left:611px; top:109px; width:243px; height:17px; ">미작성현황(시점내/시점이후/전체) :</caption>
- <output id="opt_timeinon" ref="/root/main/dtllist/cnt/unwrteprescondcnt" class="output_fix" visibility="visible" style="left:855px; top:107px; width:125px; height:19px; text-align:center; "/>
- <button id="btn_save" class="btn2_letter2" style="left:1148px; top:107px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveUnPrepInfo();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter4" style="left:1040px; top:107px; width:64px; height:19px; ">
- <caption>배치생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMRI03700");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|