123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292 |
- <?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>PCA 환자리스트</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <pcapatinfo>
- <pcapatlist/>
- </pcapatinfo>
- <totcnt>
- <totcnt/>
- </totcnt>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <cond>
- <opcnfmdd/>
- <perfdeptcd/>
- <perfdrid/>
- <wardcd/>
- <pid/>
- <hngnm/>
- <anstdrid/>
- </cond>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- </hidden>
- <init>
- <orddept/>
- <orddept2/>
- <userlist/>
- <userlist2/>
- <hardcdno/>
- </init>
- </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"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- reqHardCodeInfo("/root/send/reqdata", "/root/init/hardcdno", 18); //마취통증의학과 부서코드 조회
- var anstdeptcd = model.getValue("/root/init/hardcdno/hardcd/hardcd");
-
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept" , "D"); //부서콤보 조회
- addComboInstance("/root/init/orddept", "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
-
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept2", "W"); //병동코드 콤보
- addComboInstance("/root/init/orddept2" , "deptcd^depthngnm", "-^전체", "dept"); //병동콤보 전체항목 추가
-
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , getUserInfo("dutplcecd"), "0330"); //의사콤보 조회
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 Item '전체'추가
-
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2" , anstdeptcd, "0330"); //마취통증의학과 의사콤보 조회
- addComboInstance("/root/init/userlist2", "userid^usernm", "-^전체", "usercombo"); //의사콤보 Item '전체'추가
-
- model.setValue(root.main.cond.opcnfmdd, getCurrentDate());
- model.setValue(root.main.cond.perfdrid , "-");
-
- cmb_anstdrid.select(0);
- cmb_wardcd.select(0);
- cmb_orddept.select(0);
-
- model.refresh();
- ]]>
- </script>
- <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="TRMMO16901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/pcapatinfo"/>
- </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">
- <![CDATA[
- /**
- * @desc : 엑셀저장
- * @
- * @param :
- * @return :
- * @author : 김영학 (2008.12.23)
- * @---------------------------------------------------
- */
- function fsaveGridToExcel(grdObj, title){
- var fileName = window.fileDialog("save", ",", false, title, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- grdObj.saveExcel(fileName, title, true, true, "", "", true);
- }
- }
- /**
- * @desc : 환자 조회
- * @
- * @param :
- * @return :
- * @author : 김영학 (2008.12.23)
- * @---------------------------------------------------
- */
- function fPCAPatList() {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMMO16901");
- }
- ]]>
- </script>
- </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:16px; width:1174px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input11" ref="/root/main/cond/opcnfmdd" class="input_s_essential" navindex="1" inputtype="date" style="left:232px; top:24px; width:98px; height:19px; "/>
- <caption id="caption11" class="search_name" style="left:147px; top:25px; width:76px; height:17px; ">수 술 일 :</caption>
- <caption id="caption12" class="search_name" style="left:366px; top:24px; width:76px; height:17px; ">집 도 과 :</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:97px; x2:1174px; y2:97px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:82px; width:126px; height:13px; vertical-align:middle; ">PCA 환자 리스트</caption>
- <caption id="caption1" style="left:97px; top:23px; width:30px; height:20px; font-weight:bold; vertical-align:middle; ">명</caption>
- <caption id="caption7" class="search_name" style="left:5px; top:23px; width:50px; height:17px; ">총</caption>
- <caption id="caption3" ref="/root/main/totcnt/totcnt" style="left:56px; top:23px; width:36px; height:20px; text-align:center; border-color:#ffffff; "/>
- <line id="line3" style="x1:1100px; y1:23px; x2:1100px; y2:67px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption10" class="search_name" style="left:147px; top:49px; width:80px; height:17px; ">병 동</caption>
- <caption id="caption4" class="search_name" style="left:651px; top:25px; width:76px; height:17px; ">집 도 의 :</caption>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" navindex="6" imemode="disabled" style="left:451px; top:48px; 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:651px; top:50px; width:76px; height:17px; ">환 자 명</caption>
- <caption id="caption6" class="search_name" style="left:366px; top:49px; width:76px; height:17px; ">등록번호 :</caption>
- <input id="input1" ref="/root/main/cond/hngnm" class="input_search" navindex="7" style="left:737px; top:48px; width:98px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_patsrch", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_req" class="btn1_letter2" navindex="8" style="left:1111px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPCAPatList();
- ]]>
- </script>
- </button>
- <button id="btn_prcpclsnm" class="icon_search" style="left:555px; top:50px; 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:550px; top:45px; 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="cmb_orddept" ref="/root/main/cond/perfdeptcd" class="combo" navindex="2" appearance="minimal" editmode="search" style="left:451px; top:24px; 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(0);
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <datagrid id="grd_pcapatlist" nodeset="/root/main/pcapatinfo/pcapatlist" caption="병실^등록번호^환자명^S/A^집도과^집도의^진단명^수술명^instcd" colsep="^" colwidth="63, 77, 87, 63, 120, 90, 287, 343, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="9" style="left:0px; top:102px; width:1174px; height:629px; ">
- <col disabled="true" ref="roomcd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sa" style="text-align:center; "/>
- <col disabled="true" ref="perfdeptcd" style="text-align:center; "/>
- <col ref="perfdrnm" style="text-align:center; "/>
- <col ref="diagnm" style="text-align:center; "/>
- <col ref="opnm" style="text-align:center; "/>
- <col ref="instcd"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_pcapatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_orddrid" ref="/root/main/cond/perfdrid" navindex="3" appearance="minimal" editmode="search" itemcount="30" style="left:737px; top:25px; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_patsrch" disabled="true" style="left:840px; top:45px; 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="cmb_wardcd" ref="/root/main/cond/wardcd" navindex="5" appearance="minimal" style="left:232px; top:48px; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept2/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_anstdrid" ref="/root/main/cond/anstdrid" navindex="4" appearance="minimal" editmode="search" itemcount="30" style="left:946px; top:25px; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist2/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:860px; top:25px; width:76px; height:17px; ">마 취 의</caption>
- <caption id="caption9" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">PCA 환자 리스트</caption>
- <button id="button1" class="btn2_letter2" style="left:1127px; top:77px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var title = "PCA 환자 리스트";
- fsaveGridToExcel(grd_pcapatlist, title);
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|