123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461 |
- <?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>
- <oppatinfo>
- <oppatlist>
- <ioflag/>
- <oproomnm/>
- <patinroomdt/>
- <cpyn/>
- <opfromtmcd/>
- <opendtmcd/>
- <opusetm/>
- <orddeptcd/>
- <pid/>
- <hngnm/>
- <sa/>
- <opnm/>
- <diagnm/>
- <roomcd/>
- <anstreqflag/>
- <anstdrnm/>
- <opstatcd/>
- <perfdrnm/>
- <waittime/>
- <conctypenm/>
- <preworkup/>
- <hsctpreday/>
- <trsntype/>
- <hsctday/>
- <postcxday/>
- <oprsrvno/>
- <ophistno/>
- <opcnfmdd/>
- <perfdeptcd/>
- <perfdrid/>
- <instcd/>
- </oppatlist>
- </oppatinfo>
- <cond>
- <opcnfmdd/>
- <perfdeptcd/>
- <perfdrid/>
- <opstatcd>A</opstatcd>
- <pid/>
- <hngnm/>
- <oproomcd/>
- <sortcol/>
- <orderby/>
- <recinfo/>
- </cond>
- <totcnt>
- <totcnt/>
- </totcnt>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- </hidden>
- <init>
- <M0014/>
- <M0015/>
- <orddept/>
- <userlist/>
- <userlist2/>
- <pamkey/>
- <rsltgetdata>
- <getdata/>
- </rsltgetdata>
- <hardcdno/>
- <M0017/>
- <oproomlist/>
- <oproomlist2/>
- <M0623/>
- </init>
- <temp>
- <patpamkeylist>
- <pid/>
- <orddd/>
- <cretno/>
- <instcd/>
- <ioflag/>
- <medispclidnm/>
- <atdoctnm/>
- <hngnm/>
- </patpamkeylist>
- </temp>
- <popupmenu>
- <menu>
- <item>
- <name>관심환자등록</name>
- <func>fCallWndConcPatRgst</func>
- </item>
- </menu>
- </popupmenu>
- <operation/>
- </root>
- </instance>
- <bind id="bind1" ref="/root/main/cond/tot" readonly=""true""/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRMMO04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oppatinfo"/>
- <submission id="TRMMO04503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/pamkeyinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMO04500();
- ]]>
- </script>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/userscrnenvinfo"/>
- <submission id="TXMMO04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden"/>
- <submission id="TRMMO04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/rsltgetdata"/>
- <submission id="TRMMO04504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/pamkey"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/recinfo"/>
- <submission id="TRMMO02705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/aftcert" resultref="/root/hidden/aftcert"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.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/SMMMO04100.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04500.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1174;2,716;2,716;2,61;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1174px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input11" ref="/root/main/cond/opcnfmdd" class="input_s_essential" inputtype="date" style="left:262px; top:9px; width:98px; height:19px; "/>
- <caption id="caption11" class="search_name" style="left:177px; top:10px; width:76px; height:17px; ">수 술 일 :</caption>
- <caption id="caption12" class="search_name" style="left:416px; top:9px; width:76px; height:17px; ">집 도 과 :</caption>
- <select1 id="radio1" ref="/root/main/cond/opstatcd" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:91px; top:33px; width:270px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>미착</label>
- <value>M</value>
- </item>
- <item>
- <label>준비</label>
- <value>R</value>
- </item>
- <item>
- <label>진행</label>
- <value>I</value>
- </item>
- <item>
- <label>완료</label>
- <value>F</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fReqOPPatList();
- ]]>
- </script>
- </select1>
- <line id="line6" class="line_1" style="x1:0px; y1:82px; x2:1174px; y2:82px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:67px; width:126px; height:13px; vertical-align:middle; ">수술환자 리스트</caption>
- <caption id="caption1" style="left:97px; top:8px; width:30px; height:20px; font-weight:bold; vertical-align:middle; ">명</caption>
- <caption id="caption7" class="search_name" style="left:5px; top:8px; width:50px; height:17px; ">총</caption>
- <caption id="caption3" ref="/root/main/totcnt/totcnt" style="left:56px; top:8px; width:36px; height:20px; text-align:center; border-color:#ffffff; "/>
- <line id="line3" style="x1:1100px; y1:8px; x2:1100px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption10" class="search_name" style="left:6px; top:34px; width:76px; height:17px; ">수술상태:</caption>
- <caption id="caption4" class="search_name" style="left:696px; top:10px; width:76px; height:17px; ">집 도 의 :</caption>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" imemode="disabled" maxlength="10" style="left:782px; top:33px; width:98px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_reqpatnm", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:894px; top:35px; width:76px; height:17px; ">환 자 명</caption>
- <caption id="caption6" class="search_name" style="left:696px; top:34px; width:76px; height:17px; ">등록번호 :</caption>
- <input id="input1" ref="/root/main/cond/hngnm" class="input_search" style="left:972px; top:33px; width:98px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_patsrch", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_req" class="btn1_letter2" style="left:1111px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cond/orderby", "");
- model.setValue("/root/main/cond/sortcol", "");
- fReqOPPatList();
- ]]>
- </script>
- </button>
- <button id="btn_prcpclsnm" class="icon_search" style="left:1074px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500");
-
- 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>
- <button id="btn_reqpatnm" disabled="true" style="left:840px; top:31px; width:45px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPidTrim("/root/main/cond/pid");;
- var pid = model.getValue("/root/main/cond/pid");
- if(pid == ""){
- return;
- }
-
- var pid = model.getValue("/root/main/cond/pid");
- if(reqPatInfo("pid", "ptbs", pid)==true){
- var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
- model.setValue("/root/main/cond/hngnm", hngnm);
- model.refresh();
-
- fReqOPPatList();
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddept" ref="/root/main/cond/perfdeptcd" class="combo" appearance="minimal" editmode="search" style="left:501px; top:9px; width:169px; 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[
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_orddept.value, "0330"); //집도의 조회
-
- var deptcd = model.getValue("/root/main/cond/perfdeptcd");
- if (deptcd == "-") {
- model.makeValue("/root/init/userlist/usercombo/userid", "-");
- model.makeValue("/root/init/userlist/usercombo/usernm", "전체");
- model.setValue("/root/main/cond/perfdrid", "-");
- } else {
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- cmb_orddrid.select(1);
- }
-
- model.refresh();
- fReqOPPatList();
- ]]>
- </script>
- </select1>
- <datagrid id="grd_oppatlist" nodeset="/root/main/oppatinfo/oppatlist" caption="상태^수술방^환자도착시간^시작시간^종료시간^소요시간^진료과^집도과^등록번호^환자명^S/A^수술명^진단명^병실^CP^마취종류^마취의^환자상태^집도의^대기시간^관심^특이^PreWork Up^BMT예정일^이식형태^BMT day^instcd^Post Cx Day^선택진료여부^무통마취여부^oprsrvno^ophistno^opcnfmdd^perfdeptcd^perfdrid" colsep="^" colwidth="49, 70, 83, 63, 60, 63, 78, 78, 67, 71, 50, 100, 100, 55, 47, 60, 80, 67, 71, 59, 85, 44, 76, 80, 70, 74, 0, 75, 100, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:87px; width:1174px; height:629px; ">
- <col disabled="true" ref="ioflag" type="combo">
- <choices>
- <item>
- <label>외래</label>
- <value>O</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>
- </col>
- <col disabled="true" ref="oproomnm" type="combo">
- <choices>
- <itemset nodeset="/root/init/oproomlist/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="patinroomdt" format="hh:nn"/>
- <col disabled="true" ref="opfromtmcd" format="hh:nn"/>
- <col disabled="true" ref="opendtmcd" format="hh:nn"/>
- <col ref="opusetm" format="hh:nn"/>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="perfdeptnm"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sa"/>
- <col ref="opnm"/>
- <col ref="diagnm"/>
- <col ref="roomcd"/>
- <col ref="cpflag"/>
- <col disabled="true" ref="anstreqflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0017/M0017">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="anstdrnm"/>
- <col disabled="true" ref="opstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0015/M0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="perfdrnm"/>
- <col ref="waittime"/>
- <col ref="conctypenm"/>
- <col ref="spclflag"/>
- <col ref="preworkup"/>
- <col ref="hsctpreday"/>
- <col ref="trsntype"/>
- <col ref="hsctday"/>
- <col ref="instcd"/>
- <col ref="postcxday"/>
- <col disabled="true" ref="specordtype" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0623/M0623">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="painlessflag" visibility="hidden"/>
- <col ref="oprsrvno"/>
- <col ref="ophistno"/>
- <col ref="opcnfmdd"/>
- <col ref="perfdeptcd"/>
- <col ref="perfdrid"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- fReqOpPatPamInfo(grd_oppatlist.row);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_oppatlist", false, "/root/popupmenu/menu/item", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_oppatlist.isCell(event.target)) { // 상단 ordtab 정보에 sortcol과 orderby 정보가 들어가지 않으므로 주석 처리
- var currow = grd_oppatlist.row;
- var curcol = grd_oppatlist.col;
- if(currow < 1){ //grid sort
- if(sORDERBY == "asc"){
- sORDERBY = "desc";
- }else{
- sORDERBY = "asc";
- }
- model.setValue("/root/main/cond/sortcol", curcol);
- model.setValue("/root/main/cond/orderby", sORDERBY);
- model.copyNode(opener.root.cond.oppatlist, root.main.cond);
- //nodeListSort(grd_oppatlist.nodeset, grd_oppatlist.colAttribute(curcol, "ref"), sORDERBY);
- grd_oppatlist.refresh();
-
- }else{
- var pid = model.getValue("/root/main/oppatinfo/oppatlist[" + grd_oppatlist.row + "]/pid");
- model.setValue(opener.root.source.pid, pid);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_oppatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_orddrid" ref="/root/main/cond/perfdrid" appearance="minimal" itemcount="30" style="left:782px; top:10px; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:417px; top:34px; width:76px; height:17px; ">수 술 방</caption>
- <select1 id="cmb_oproomcd" ref="/root/main/cond/oproomcd" appearance="minimal" style="left:501px; top:33px; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist2/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_patsrch" disabled="true" style="left:1020px; top:15px; width:45px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/main/cond/pid");
- var hngnm = model.getValue("/root/main/cond/hngnm");
- if((pid =="")&&(hngnm !="")){
- fPatSrch(hngnm, "2");
- } else if((pid !="")&&(hngnm == "")){
- fPatSrch(pid, "1");
- } else {
- modal("SPPMC02500")
- }
-
- model.setValue("/root/main/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/cond/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="radio2" ref="/root/main/cond/recinfo" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:910px; top:10px; width:155px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>마취기록</label>
- <value>A</value>
- </item>
- <item>
- <label>수술기록</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- opener.model.makeValue("/root/main/cond/recinfo", model.getValue("/root/main/cond/recinfo"));
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|