123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417 |
- <?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>
- <oppatlist>
- <oppatinfo>
- <oproomcd/>
- <opfromtmcd/>
- <depthngnm/>
- <roomcd/>
- <patnm/>
- <sexage/>
- <pid/>
- <opstatcd/>
- <patposplcecd/>
- <opopenflag/>
- <instcd/>
- <oprsrvno/>
- <ophistno/>
- <updflag/>
- </oppatinfo>
- </oppatlist>
- <cond>
- <opdd/>
- <oproomcd/>
- <opflag/>
- <opopenflag>Y</opopenflag>
- <orddeptcd/>
- <pid/>
- <hngnm/>
- <gndrage/>
- <rrgstno/>
- </cond>
- <rghtref>
- <rghtreflist>
- <pid/>
- <hngnm/>
- <gndrage/>
- <rrgstno/>
- </rghtreflist>
- </rghtref>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <reqdata/>
- <savedata>
- <oppatinfo/>
- </savedata>
- </send>
- <init>
- <opstatlist>
- <opstatinfo>
- <opstatcd/>
- <opstatnm/>
- </opstatinfo>
- </opstatlist>
- <patposplcecdlist>
- <patposplcecdinfo>
- <cd/>
- <nm/>
- </patposplcecdinfo>
- </patposplcecdlist>
- <M0021list>
- <M0021>
- <cdid/>
- <cdnm/>
- </M0021>
- </M0021list>
- <omcdlist>
- <omcd>
- <oproomnm/>
- <oproomcd/>
- </omcd>
- </omcdlist>
- </init>
- <hidden>
- <orddeptlist>
- <dept>
- <depthngnm/>
- <deptcd/>
- </dept>
- </orddeptlist>
- <tempM0021/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNP01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oppatlist"/>
- <submission id="TXMNP01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/oppatlist"/>
- <submission id="TRMNP01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/opstatlist"/>
- <!--
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- -->
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMNP06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/omcdlist"/>
- <submission id="TRMNI00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rghtref"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- </model>
- <script type="javascript" src="../../../emr/opanstweb/js/SMMNP06100.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <!--
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- -->
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1196;2,752;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:191px; height:14px; ">수술 진행현황(전광판관리)</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:735px; ">
- <group id="group1" style="left:0px; top:5px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:10px; width:86px; height:17px; ">수술일자 :</caption>
- <line id="line13" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:32px; "/>
- <input id="ipt_dlivdd" ref="/root/main/cond/opdd" class="output" navindex="2" inputtype="date" style="left:105px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetOpPatList();
- ]]>
- </script>
- </input>
- <button id="btn_select" class="btn1_letter2" navindex="13" style="left:1127px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetOpPatList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_opopenflag" ref="/root/main/cond/opopenflag" class="combo_default" appearance="minimal" itemcount="20" style="left:105px; top:35px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>공개</label>
- <value>Y</value>
- </item>
- <item>
- <label>비공개</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetOpPatList();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:15px; top:35px; width:86px; height:17px; ">공개여부 :</caption>
- <caption id="caption15" class="search_name" style="left:320px; top:35px; width:90px; height:17px; ">집 도 과 :</caption>
- <select1 id="combo5" ref="/root/main/cond/orddeptcd" appearance="minimal" style="left:410px; top:35px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetOpPatList();
- // model.setValue("/root/main/cond/orddeptcd", model.getValue("/root/main/cond/orddept"));
- // fSelectPos();
- //
- // if( model.getValue("/root/main/cond/orddept") == "" ) {
- // model.resetInstanceNode("/root/init/drlist");
- // model.refresh();
- // }else {
- // model.copyNode("/root/send/reqdata", "/root/main/cond");
- // submit("TRMNP00101");
- //
- // addComboItem("cmb_drlist", "전 체", "", "above" );
- // }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_oproomcd" ref="/root/main/cond/oproomcd" appearance="minimal" style="left:410px; top:10px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="root/init/omcdlist/">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetOpPatList();
- ]]>
- </script>
- </select1>
- <caption id="caption14" class="search_name" style="left:320px; top:10px; width:90px; height:17px; ">수 술 방 :</caption>
- <caption id="caption11" class="search_name" style="left:580px; top:10px; width:81px; height:17px; ">수술진행:</caption>
- <select1 id="rdo_opflag" ref="/root/main/cond/opflag" class="radio_search" navindex="15" overflow="visible" appearance="full" cellspacing="4" cols="6" style="left:670px; top:10px; width:290px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetOpPatList(); // 수술일자변경시 하단리스트 재조회
- ]]>
- </script>
- </select1>
- <button id="button16" class="icon_search" navindex="6" style="left:766px; top:37px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("1");
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_default" style="left:670px; top:35px; width:91px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- fpidref();
- }
- ]]>
- </script>
- </input>
- <output id="opt_rrgstno" ref="/root/main/cond/rrgstno" class="output_fix" style="left:933px; top:35px; width:100px; height:19px; "/>
- <output id="opt_hngnm" ref="/root/main/cond/hngnm" class="output_fix" style="left:787px; top:35px; width:95px; height:19px; "/>
- <output id="opt_gndrage" ref="/root/main/cond/gndrage" class="output_fix" style="left:885px; top:35px; width:45px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:580px; top:35px; width:81px; height:17px; ">등록번호:</caption>
- </group>
- <line id="line5" class="line_1" style="x1:1px; y1:95px; x2:1193px; y2:95px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:75px; width:131px; height:13px; vertical-align:middle; ">수술환자 리스트</caption>
- <datagrid id="grd_partrtnlist" nodeset="/root/main/oppatlist/oppatinfo" visibility="visible" caption="수술방^예약시간^집도과^병실^환자명^성별^등록번호^진행상태^환자이동위치^공개^update" colsep="^" colwidth="93, 144, 124, 80, 165, 80, 138, 128, 122, 80, 100, 100, 100, 100" ellipsis="true" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:100px; width:1193px; height:620px; ">
- <col ref="oproomcd" style="text-align:center; "/>
- <col ref="opfromtmcd" style="text-align:center; "/>
- <col ref="depthngnm" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col disabled="false" ref="opstatcd" type="combo" style="text-align:center; ">
- <choices>
- <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>50</value>
- </item>
- <item>
- <label>회복</label>
- <value>60</value>
- </item>
- </choices>
- </col>
- <col disabled="false" ref="patposplcecd" type="combo" style="left:972px; top:23px; width:122px; height:23px; ">
- <choices>
- <itemset nodeset="/root/code/codeinfo/codelist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="opopenflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>공개</label>
- <value>Y</value>
- </item>
- <item>
- <label>비공개</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="instcd" visibility="hidden"/>
- <col ref="oprsrvno" visibility="hidden"/>
- <col ref="ophistno" visibility="hidden"/>
- <col ref="updflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/oppatlist/oppatinfo[" + grd_partrtnlist.row + "]/updflag", "1");
- //model.setValue("/root/main/oppatlist/oppatinfo[" + grd_partrtnlist.row + "]/opstatcd", model.getValue("/root/main/oppatlist/oppatinfo[" + grd_partrtnlist.row + "]/opstatcd") );
- //model.setValue("/root/main/oppatlist/oppatinfo[" + grd_partrtnlist.row + "]/opopenflag", model.getValue("/root/main/oppatlist/oppatinfo[" + grd_partrtnlist.row + "]/opopenflag") );
-
- fnColDisable();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //-----------------------------------
- // col 변경시
- //-----------------------------------
- function fnColDisable() {
- var pGrd = grd_partrtnlist;
- if (pGrd.rows <= 1 || pGrd.row < 0) return;
-
- var colnm = pGrd.colAttribute(pGrd.col,"ref");
-
- // switch (colnm) {
- // case "patposplcecd":
- stemp = model.getValue("/root/main/oppatlist/oppatinfo[" + pGrd.row + "]/opstatcd");
- var stempidx = pGrd.colRef("patposplcecd");
- //2008.09.02 taebum 수술진행상태가 readonly 하는 부분 주석처리 함.
- pGrd.isReadOnly(pGrd.row,stempidx) = true;
- //pGrd.colDisabled(stempidx )= true;
-
- if (stemp >= "50") {
- //pGrd.colDisabled(stempidx )= false;
- pGrd.isReadOnly(pGrd.row,stempidx) = false;
- //pGrd.cellComboNodeset(pGrd.row, 9) = "/root/hidden/tempM0021/M0021";
- }else{
- if(stemp == "40"){
- model.setValue("/root/main/oppatlist/oppatinfo[" + pGrd.row + "]/patposplcecd", "26");
- }else if(stemp == "30"){
- model.setValue("/root/main/oppatlist/oppatinfo[" + pGrd.row + "]/patposplcecd", "42");
- }else if(stemp == "20"){
- model.setValue("/root/main/oppatlist/oppatinfo[" + pGrd.row + "]/patposplcecd", "41");
- }else{
- model.setValue("/root/main/oppatlist/oppatinfo[" + pGrd.row + "]/patposplcecd", "00");
- }
- //pGrd.cellComboNodeset(pGrd.row, 9) = "/root/init/M0021list/M0021";
- }
- pGrd.refresh();
- // break;
- // }
- }
-
- //-----------------------------------
- // 조회시
- //-----------------------------------
- function fnColDisableAll() {
- //2008.09.02 taebum 수술진행상태가 readonly 하는 부분 주석처리 함.
- /*
- var pGrd = grd_partrtnlist;
- if (pGrd.rows <= 1 ) return;
-
- for (var row= 1;row<pGrd.rows;row++) {
- var stemp = model.getValue("/root/main/oppatlist/oppatinfo[" + row + "]/opstatcd");
- var stempidx = pGrd.colRef("patposplcecd");
-
- pGrd.isReadOnly(row,stempidx) = true;
- //pGrd.colDisabled(stempidx )= true;
- if (stemp >= 50) {
- //pGrd.colDisabled(stempidx )= false;
- pGrd.isReadOnly(row,stempidx) = false;
- }
- }
- */
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncolchanged">
- <![CDATA[
- fnColDisable();
- ]]>
- </script>
- </datagrid>
- <button id="btn_update" class="btn2_letter2" style="left:1135px; top:70px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClickUpdate();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
- <caption id="caption4" style="left:1161px; top:760px; width:30px; height:20px; text-align:right; ">[표]</caption>
- </xhtml:body>
- </xhtml:html>
|