123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>수술마취스케줄조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <opfromdd/>
- <optodd/>
- <hngnm/>
- <hngnm2/>
- <dispnm1/>
- <dispnm2/>
- <pid/>
- <oproomcd/>
- <opfromtmcd/>
- <perfdeptcd/>
- <oppatflagcd>T</oppatflagcd>
- <opstatcd>00</opstatcd>
- <anstmthdcd>-</anstmthdcd>
- <anstdetlmthdcd/>
- <diaghngnm/>
- <ophngnm/>
- <opflagcd>T</opflagcd>
- <diagcd/>
- <opcd/>
- <painlessflag/>
- <perfdrid/>
- <wardcd/>
- <viewtype>O</viewtype>
- </cond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <opanstschelist>
- <opanstschelist>
- <opstatcd/>
- <oppatflagcd/>
- <opschedt/>
- <opusetm/>
- <orddeptcd/>
- <indd/>
- <oproomnm/>
- <pid/>
- <hngnm/>
- <sa/>
- <diagnm/>
- <opnm/>
- <anstdocnm/>
- <anstmthdcd/>
- <cnclresn/>
- <dschdd/>
- <fcstendtmcd/>
- </opanstschelist>
- </opanstschelist>
- <oplist>
- <oplist/>
- </oplist>
- <menu>
- <popup>
- <name>주차증출력</name>
- <func>fPrintGroupVisible</func>
- </popup>
- </menu>
- </main>
- <send>
- <reqdata/>
- <listval>
- <uuee>
- <flag/>
- <scrnid/>
- <compsnm/>
- <compscnts/>
- <compsrefcnts/>
- <compssizecnts/>
- </uuee>
- </listval>
- </send>
- <hidden>
- <listval>
- <uuee>
- <flag/>
- <scrnid/>
- <compsnm/>
- <compscnts/>
- <compsrefcnts/>
- <compssizecnts/>
- </uuee>
- </listval>
- </hidden>
- <init>
- <M0013/>
- <M0015/>
- <M0017/>
- <M0020/>
- <M0021/>
- <M0243/>
- <M0244/>
- <M0245/>
- <orddept/>
- <userlist/>
- <oproomlist/>
- <M0000/>
- <M0356/>
- <oppatflag/>
- <userlist2/>
- <wardinfo/>
- </init>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </source>
- <temp>
- <carno/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMO05100();
-
- model.setValue("/root/send/listval/uuee/scrnid","SMMMO05100");
- if ( submit("TRPIJ00407") ) {
- var grd_name = model.getValue("/root/hidden/listval/uuee/compsnm");
- var refdata = model.getValue("/root/hidden/listval/uuee/compscnts");
- var sizedata = model.getValue("/root/hidden/listval/uuee/compssizecnts");
-
- if (grd_name != "") {
- setOrderInfoOfCol("grd_opanstschelist",refdata,sizedata);
- }
- }
-
- if( !isNull(model.getValue("/root/main/cond/pid")) ){
- btn_req.dispatch("DOMActivate");
- }
-
- if (getUserInfo("orddeptflag") == "W") {
- model.setValue("/root/main/cond/viewtype", "W");
- grd_opanstschelist.visible = false;
- grd_ward.visible = true;
- } else {
- model.setValue("/root/main/cond/viewtype", "O");
- grd_opanstschelist.visible = true;
- grd_ward.visible = false;
- }
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/hngnm"/>
- <submission id="TRMMO04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO05102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opanstschelist"/>
- <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXPIJ00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/hidden/listval"/>
- <submission id="TRPIJ00407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/hidden/listval"/>
- <submission id="TRMMO05104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oplist"/>
- <submission id="TRMMB04105" 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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO05100.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1193;2,785;2,799;" style="margin-left:8; margin-right:8; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:88px; width:1194px; height:38px; background-color:#fffbf2; border-color:#ffd799; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:1194px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_hngnm" ref="/root/main/cond/hngnm" class="input_search" disabled="true" appearance="input" style="left:294px; top:99px; width:90px; height:19px; "/>
- <button id="button1" class="icon_search" navindex="3" style="left:387px; top:100px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/main/cond/pid", sPid);
- model.setValue("/root/main/cond/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:209px; top:99px; width:107px; height:17px; ">성 명 :</caption>
- <caption id="caption11" class="search_name" style="left:1px; top:32px; width:105px; height:17px; ">수술기간 :</caption>
- <button id="btn_req" class="btn1_letter2" navindex="11" style="left:1132px; top:42px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/send/reqdata","/root/main/cond");
- if(submit("TRMMO05102")){
- // setTree(grd_opanstschelist, 1, 0, true);
- }
- ]]>
- </script>
- </button>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:13px; ">수술/마취 스케줄 조회</caption>
- <line id="line3" style="x1:1126px; y1:25px; x2:1126px; y2:74px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" style="left:188px; top:31px; width:15px; height:20px; ">~</caption>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" navindex="5" style="left:88px; top:98px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_reqpatnm", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:1px; top:56px; width:107px; height:17px; ">수술구분 :</caption>
- <caption id="caption4" class="search_name" style="left:301px; top:57px; width:94px; height:17px; ">환자구분 :</caption>
- <!--
- <select1 id="rdo_oppatflagcd" ref="/root/main/cond/oppatflagcd" navindex="8" appearance="full" cellspacing="1" cols="5" rows="1" overflow="visible" style="left:100px; top:57px; width:195px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>T</value>
- </item>
- <item>
- <label>병동</label>
- <value>I</value>
- </item>
- <item>
- <label>DSC</label>
- <value>D</value>
- </item>
- <item>
- <label>응급실</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- -->
- <select1 id="rdo_oppatflagcd" ref="/root/main/cond/oppatflagcd" navindex="8" appearance="full" cellspacing="3" cols="5" rows="1" overflow="visible" style="left:397px; top:57px; width:233px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/oppatflag/hardcd">
- <label ref="hardcdnm"/>
- <value ref="hardcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:634px; top:58px; width:107px; height:17px; ">수술상태 :</caption>
- <select1 id="rdo_opstatcd" ref="/root/main/cond/opstatcd" navindex="9" appearance="full" cellspacing="3" cols="9" rows="1" overflow="visible" style="left:720px; top:57px; width:400px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>00</value>
- </item>
- <item>
- <label>삭제</label>
- <value>삭제</value>
- </item>
- <item>
- <label>의뢰</label>
- <value>10</value>
- </item>
- <item>
- <label>확정</label>
- <value>20</value>
- </item>
- <item>
- <label>대기</label>
- <value>30</value>
- </item>
- <item>
- <label>수술중</label>
- <value>40</value>
- </item>
- <item>
- <label>회복중</label>
- <value>60</value>
- </item>
- <item>
- <label>종료</label>
- <value>50</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="tit_2" style="left:0px; top:135px; width:215px; height:13px; vertical-align:middle; ">수술/마취 스케줄 조회 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:150px; x2:1194px; y2:150px; "/>
- <caption id="caption10" class="search_name" style="left:1px; top:100px; width:107px; height:17px; ">등록번호 :</caption>
- <select1 id="cmb_anstmthdcd" ref="/root/main/cond/anstmthdcd" navindex="10" appearance="minimal" style="left:1030px; top:30px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0017/M0017">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fChngAnstMthdCmb(cmb_anstmthdcd, cmb_anstdetl, "/root/main/cond/anstdetlmthdcd");
- ]]>
- </script>
- </select1>
- <input id="ipt_optodd" ref="/root/main/cond/optodd" class="input_search" navindex="2" inputtype="date" style="left:200px; top:31px; width:100px; height:19px; "/>
- <input id="ipt_opfromdd" ref="/root/main/cond/opfromdd" class="input_search" navindex="1" inputtype="date" style="left:87px; top:31px; width:100px; height:19px; "/>
- <button id="btn_reqpatnm" disabled="true" navindex="4" style="left:715px; top:33px; width:10px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- reqPatInfo("pid", "ptbs",model.getValue("/root/main/cond/pid"));
- model.setValue("/root/main/cond/hngnm", model.getValue("/root/init/patnm/patnm/hngnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption12" class="search_name" style="left:302px; top:33px; width:83px; height:17px; ">수술방 :</caption>
- <select1 id="combo1" ref="/root/main/cond/oproomcd" navindex="10" appearance="minimal" style="left:374px; top:31px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="caption13" class="search_name" style="left:481px; top:33px; width:83px; height:17px; ">집도과 :</caption>
- <select1 id="combo2" ref="/root/main/cond/perfdeptcd" navindex="10" appearance="minimal" style="left:553px; top:31px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( combo2.value !="-") {
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2", combo2.value, "0330");
- addComboInstance("/root/init/userlist2", "userid^usernm", "-^전체", "usercombo"); //조회용 집도의 전체항목 추가
- model.setValue("/root/main/cond/perfdrid","-");
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="radio1" ref="/root/main/cond/opflagcd" navindex="8" appearance="full" cellspacing="10" cols="4" rows="1" overflow="visible" style="left:87px; top:55px; width:213px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>T</value>
- </item>
- <item>
- <label>정규</label>
- <value>1</value>
- </item>
- <item>
- <label>응급</label>
- <value>2</value>
- </item>
- <item>
- <label>추가</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:425px; top:98px; width:90px; height:17px; ">진 단 명 :</caption>
- <input id="input1" ref="/root/main/cond/diaghngnm" class="input_search" appearance="input" style="left:514px; top:98px; width:250px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_diag", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/diaghngnm", "");
- model.setValue("/root/main/cond/diagcd" , "");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption14" class="search_name" style="left:776px; top:99px; width:90px; height:17px; ">수 술 명:</caption>
- <input id="input2" ref="/root/main/cond/ophngnm" class="input_search" appearance="input" style="left:861px; top:98px; width:254px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_opnm", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/ophngnm", "");
- model.setValue("/root/main/cond/opcd" , "");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button2" class="btn2_letter6" style="left:899px; top:130px; width:86px; height:19px; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenTotRecSrch();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter6" style="left:987px; top:130px; width:86px; height:19px; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenTotExamRslt();
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter3" style="left:1075px; top:130px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveGridToExcel();
- ]]>
- </script>
- </button>
- <datagrid id="grd_opanstschelist" nodeset="/root/main/opanstschelist/opanstschelist" caption="^levl^상태^환자구분^수술방^수술구분^수술일자^수술예정시작시간^수술시작시간^수술종료시간^소요시간^진료과^주치의^집도과^집도의^협진^입원일^병실^등록번호^성명(표시명)^S/A^진단명^수술명^예상종료시간^마취자^마취^취소사유^퇴원일^심사자^심사여부^수술처방^로봇수술여부^퇴실일시^수술위치^전달사항" colsep="^" colwidth="24, 0, 60, 67, 71, 63, 84, 111, 87, 87, 70, 100, 90, 99, 90, 55, 100, 64, 100, 100, 62, 100, 100, 100, 150, 57, 100, 83, 100, 80, 60, 80, 130, 100, 200" ellipsis="true" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="12" style="left:0px; top:155px; width:1194px; height:629px; text-align:center; ">
- <col/>
- <col ref="levl"/>
- <col disabled="true" ref="opstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0015/M0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="oppatflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0020/M0020">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="oproomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/oproomlist/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="opflagcd"/>
- <col ref="opcnfmdd" format="yyyy-mm-dd"/>
- <col ref="opschfromtmcd" format="hh:nn"/>
- <col ref="opfromtmcd" format="hh:nn"/>
- <col ref="opendtmcd" format="hh:nn"/>
- <col ref="opusetm" format="hh:nn"/>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="medispclid"/>
- <col disabled="true" ref="perfdeptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="perfdrnm"/>
- <col disabled="true" ref="cnstopflag" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value/>
- </item>
- </choices>
- </col>
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="roomcd"/>
- <col ref="pid"/>
- <col ref="dispnm2" style="text-align:left; "/>
- <col ref="sa"/>
- <col ref="diagnm" style="text-align:left; "/>
- <col ref="opnm" style="text-align:left; "/>
- <col ref="fcstendtmcd" format="hh:nn"/>
- <col disabled="true" ref="anstdrnm"/>
- <col disabled="true" ref="anstmthdcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0017/M0017">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="cnclresncd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0356/M0356">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dschdd" format="yyyy-mm-dd"/>
- <col ref="judgmdlid"/>
- <col ref="judgflag"/>
- <col ref="opprcpyn"/>
- <col ref="robotopflag"/>
- <col ref="patoutroomdt"/>
- <col ref="opdirecflag"/>
- <col ref="delivefact"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetOpPatTopInfo();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_opanstschelist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- // 그리드 내용 복사
- if (grd_opanstschelist.selectedRows == 1) { // 한줄
- var row = grd_opanstschelist.row;
- var col = grd_opanstschelist.col;
- if (col == grd_opanstschelist.colRef("pid") ) {
- var clip = grd_opanstschelist.labelMatrix(row, col);
- window.clipBoardData = clip;
- } else {
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- }
- else if (grd_opanstschelist.selectedRows > 1) { // 여러줄
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var col = grd_opanstschelist.col;
- var row = grd_opanstschelist.row;
- if(col == grd_opanstschelist.colRef("opprcpyn")) { // 수술처방유무
- if(model.getValue("/root/main/opanstschelist/opanstschelist["+ row +"]/opprcpyn") == "Y") {
- model.makeValue("/root/send/reqdata/oprsrvno", model.getValue("/root/main/opanstschelist/opanstschelist["+ row +"]/oprsrvno"));
- if(submit("TRMMO05104")) {
- grp_oplist.visible = true;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3 ){
- window.setPopupMenu( true, "/root/main/menu/popup", "name", "func", false);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- window.setPopupMenu(true);
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <button id="btn_diag" visibility="hidden" style="left:450px; top:115px; width:50px; height:20px; text-align:center; ">
- <caption>diagnm</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchDiag();
- ]]>
- </script>
- </button>
- <button id="btn_opnm" visibility="hidden" style="left:800px; top:115px; width:50px; height:20px; text-align:center; ">
- <caption>opnm</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchOp();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" visibility="visible" style="left:1130px; top:130px; width:64px; height:19px; ">
- <caption>환경저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- getOrderInfoOfCol("grd_opanstschelist");
- ]]>
- </script>
- </button>
- <group id="grp_oplist" visibility="hidden" style="left:955px; top:215px; width:165px; height:150px; border-style:solid; ">
- <datagrid id="datagrid1" nodeset="/root/main/oplist/oplist" caption="수술처방" colsep="^" colwidth="133" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:3px; top:22px; width:151px; height:95px; ">
- <col ref="prcpcd"/>
- </datagrid>
- <button id="btn_cnfm" class="btn2_letter2" style="left:107px; top:122px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_oplist.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:5px; top:3px; width:119px; height:13px; vertical-align:middle; ">수술처방 리스트</caption>
- <line id="line4" class="line_1" style="x1:3px; y1:17px; x2:155px; y2:17px; "/>
- </group>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/painlessflag" style="left:787px; top:130px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.copyNode("/root/send/reqdata","/root/main/cond");
- submit("TRMMO05102");
- ]]>
- </script>
- </bool>
- <caption id="caption15" style="left:810px; top:130px; width:80px; height:20px; ">무통마취포함</caption>
- <select1 id="combo3" ref="/root/main/cond/perfdrid" class="combo_search" appearance="minimal" style="left:733px; top:31px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist2/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <caption id="caption19" class="search_name" style="left:661px; top:31px; width:83px; height:17px; vertical-align:middle; ">집도의 :</caption>
- <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" style="left:925px; top:30px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wardinfo/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="search_name" style="left:853px; top:30px; width:83px; height:17px; vertical-align:middle; ">병 동 :</caption>
- <datagrid id="grd_ward" nodeset="/root/main/opanstschelist/opanstschelist" visibility="hidden" caption="^levl^병실^등록번호^성명(표시명)^S/A^진단명^수술명^수술위치^수술일자^수술시작시간^수술종료시간^집도과^집도의^예상종료시간^협진^상태^수술방^수술구분^마취^취소사유^환자구분^수술예정시작시간^소요시간^진료과^주치의^입원일^마취자^퇴원일^심사자^심사여부^수술처방^로봇수술여부^퇴실일시^전달사항" colsep="^" colwidth="24, 0, 64, 100, 100, 62, 100, 100, 100, 84, 87, 87, 99, 90, 100, 55, 60, 71, 63, 57, 100, 67, 111, 70, 100, 90, 100, 150, 83, 100, 80, 60, 80, 130, 200" ellipsis="true" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="12" style="left:0px; top:155px; width:1194px; height:629px; text-align:center; ">
- <col/>
- <col ref="levl"/>
- <col ref="roomcd"/>
- <col ref="pid"/>
- <col ref="dispnm2" style="text-align:left; "/>
- <col ref="sa"/>
- <col ref="diagnm" style="text-align:left; "/>
- <col ref="opnm" style="text-align:left; "/>
- <col ref="opdirecflag"/>
- <col ref="opcnfmdd" format="yyyy-mm-dd"/>
- <col ref="opfromtmcd" format="hh:nn"/>
- <col ref="opendtmcd" format="hh:nn"/>
- <col disabled="true" ref="perfdeptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="perfdrnm"/>
- <col ref="fcstendtmcd" format="hh:nn"/>
- <col disabled="true" ref="cnstopflag" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value/>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="opstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0015/M0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="oproomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/oproomlist/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="opflagcd"/>
- <col disabled="true" ref="anstmthdcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0017/M0017">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="cnclresncd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0356/M0356">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="oppatflagcd" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/M0020/M0020">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="opschfromtmcd" visibility="hidden" format="hh:nn"/>
- <col ref="opusetm" visibility="hidden" format="hh:nn"/>
- <col disabled="true" ref="orddeptcd" type="combo" visibility="hidden" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="medispclid" visibility="hidden"/>
- <col ref="indd" visibility="hidden" format="yyyy-mm-dd"/>
- <col disabled="true" ref="anstdrnm" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="judgmdlid" visibility="hidden"/>
- <col ref="judgflag" visibility="hidden"/>
- <col ref="opprcpyn" visibility="hidden"/>
- <col ref="robotopflag" visibility="hidden"/>
- <col ref="patoutroomdt" visibility="hidden"/>
- <col ref="delivefact" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetOpPatTopInfo();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_ward.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- // 그리드 내용 복사
- if (grd_ward.selectedRows == 1) { // 한줄
- var row = grd_ward.row;
- var col = grd_ward.col;
- if (col == grd_ward.colRef("pid") ) {
- var clip = grd_ward.labelMatrix(row, col);
- window.clipBoardData = clip;
- } else {
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- }
- else if (grd_ward.selectedRows > 1) { // 여러줄
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var col = grd_ward.col;
- var row = grd_ward.row;
- if(col == grd_ward.colRef("opprcpyn")) { // 수술처방유무
- if(model.getValue("/root/main/opanstschelist/opanstschelist["+ row +"]/opprcpyn") == "Y") {
- model.makeValue("/root/send/reqdata/oprsrvno", model.getValue("/root/main/opanstschelist/opanstschelist["+ row +"]/oprsrvno"));
- if(submit("TRMMO05104")) {
- grp_oplist.visible = true;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3 ){
- window.setPopupMenu( true, "/root/main/menu/popup", "name", "func", false);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- window.setPopupMenu(true);
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <select1 id="radio2" ref="/root/main/cond/viewtype" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:590px; top:130px; width:185px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>수술/마취 부서용</label>
- <value>O</value>
- </item>
- <item>
- <label>병동용</label>
- <value>W</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var viewtype = model.getValue("/root/main/cond/viewtype");
-
- if (viewtype == "O") {
- grd_opanstschelist.visible = true;
- grd_ward.visible = false;
- } else {
- grd_opanstschelist.visible = false;
- grd_ward.visible = true;
- }
- ]]>
- </script>
- </select1>
- <group id="group5" visibility="hidden" style="left:485px; top:395px; width:225px; height:50px; background-color:#87CEFA; ">
- <caption id="caption17" class="tit_2" style="left:0px; top:5px; width:188px; height:15px; ">차량번호를 입력하십시오.</caption>
- <input id="ipt_carno" ref="/root/temp/carno" class="input_default" maxlength="20" style="left:17px; top:25px; width:143px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_prtlabel", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_prtlabel" class="btn5_letter2" style="left:180px; top:5px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var carno = model.getValue("/root/temp/carno");
- if( carno == "" ){
- messageBox("차량번호를","C001");
- return;
- }
- group5.visible = false;
- var flag = model.getValue("/root/main/cond/viewtype");
-
- if( flag == "O" ){
- var grdID = "grd_opanstschelist";
- }else{
- var grdID = "grd_ward";
- }
-
- var grdObj = document.controls.item(grdID);
-
- model.makeValue("/root/main/opanstschelist/opanstschelist["+ grdObj.row +"]/carno", carno);
-
- fPrint(grdObj);
-
- model.setValue("/root/temp/carno","");
- ipt_carno.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn5_letter2" style="left:180px; top:25px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/temp/carno","");
- group5.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|