123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- <?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>
- <fromdd/>
- <todd/>
- <perfdeptcd/>
- <perfdrid/>
- <pid/>
- <hngnm/>
- <diagcd/>
- <diaghngnm/>
- <opcd/>
- <ophngnm/>
- <cnstopflag/>
- </cond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <oprecinfo>
- <opreclist>
- <roomcd/>
- <hngnm/>
- <pid/>
- <sa/>
- <opcnfmdd/>
- <diagnm/>
- <opnm/>
- <opnm2/>
- <perfdeptnm/>
- <perfdrnm/>
- <assistant/>
- <anstmthdcd/>
- <cnstopflag/>
- <durtime/>
- <patinroomdt/>
- <patoutroomdt/>
- </opreclist>
- </oprecinfo>
- <totcnt>
- <totcnt/>
- </totcnt>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <init>
- <orddept/>
- <userlist/>
- <M0017/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMO05800();
- ]]>
- </script>
- <submission id="TRMMO05201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oprecinfo"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRMMB04102" 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="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO05800.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1194;1,1194;2,784;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:19px; width:1194px; height:66px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">수술장부조회</caption>
- <caption id="caption2" class="search_name" style="left:810px; top:30px; width:105px; height:17px; ">집 도 의 :</caption>
- <caption id="caption25" class="tit_2" style="left:0px; top:89px; width:147px; height:13px; ">수술장부</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
- <caption id="caption3" class="search_name" style="left:9px; top:57px; width:105px; height:17px; ">등록번호 :</caption>
- <caption id="caption1" style="left:398px; top:30px; width:15px; height:20px; ">~</caption>
- <line id="line3" style="x1:1124px; y1:26px; x2:1124px; y2:79px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption4" class="search_name" style="left:516px; top:31px; width:119px; height:17px; ">집 도 과 :</caption>
- <caption id="caption5" class="search_name" style="left:10px; top:29px; width:113px; height:17px; ">총 : 명</caption>
- <caption id="caption7" class="search_name" style="left:210px; top:30px; width:105px; height:17px; ">수술기간 :</caption>
- <output id="output1" ref="/root/main/totcnt/totcnt" style="left:63px; top:29px; width:37px; height:19px; text-align:center; "/>
- <caption id="caption9" class="search_name" style="left:210px; top:57px; width:105px; height:17px; ">성 명 :</caption>
- <button id="btn_prcpclsnm" class="icon_search" style="left:403px; top:59px; 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>
- <caption id="caption10" class="search_name" style="left:516px; top:56px; width:119px; height:17px; ">진 단 명 :</caption>
- <input id="input4" ref="/root/main/cond/diaghngnm" style="left:600px; top:55px; width:204px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_diagnm", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/diagcd", "");
- model.setValue("/root/main/cond/diaghngnm", "");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_name" style="left:810px; top:57px; width:119px; height:17px; ">수 술 명 :</caption>
- <input id="input5" ref="/root/main/cond/ophngnm" style="left:896px; top:56px; width:204px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_op", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/opcd", "");
- model.setValue("/root/main/cond/ophngnm", "");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_pid" ref="/root/main/cond/pid" style="left:97px; top:56px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_reqpatinfo", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/main/cond/hngnm" disabled="true" style="left:299px; top:57px; width:100px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input" autonext="false" inputtype="date" style="left:299px; top:29px; width:98px; height:19px; text-align:center; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input" autonext="false" inputtype="date" style="left:414px; top:29px; width:98px; height:19px; text-align:center; "/>
- <select1 id="cmb_perfdeptcd" ref="/root/main/cond/perfdeptcd" appearance="minimal" style="left:600px; top:28px; width:100px; height:19px; text-align:left; ">
- <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(cmb_perfdeptcd.value != "-"){
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_perfdeptcd.value, "0330");
- addComboInstance("/root/init/userlist" , "userid^usernm" , "-^전체", "usercombo"); //의사콤보(담당교수) 전체항목 추가
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_perfdrid" ref="/root/main/cond/perfdrid" appearance="minimal" style="left:896px; top:27px; width:100px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_diagnm" visibility="hidden" style="left:600px; top:77px; width:100px; height:20px; ">
- <caption>button2</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchDiag();
- ]]>
- </script>
- </button>
- <button id="btn_op" visibility="hidden" style="left:898px; top:76px; width:100px; height:20px; ">
- <caption>button2</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchOpTermCD();
- ]]>
- </script>
- </button>
- <datagrid id="grd_opschelist" nodeset="/root/main/oprecinfo/opreclist" caption="병실^성명^등록번호^S/A^수술일^수술시간^진단명^수술명^수술명(후)^집도과^집도의^Assistant1^마취방법^협진^소요시간^입실^퇴실" colsep="^" colwidth="50, 60, 60, 40, 70, 0, 170, 160, 170, 95, 50, 0, 60, 30, 55, 40, 40" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:109px; width:1194px; height:675px; ">
- <col ref="roomcd"/>
- <col ref="hngnm"/>
- <col ref="pid"/>
- <col ref="sa"/>
- <col ref="opcnfmdd" format="yyyy-mm-dd"/>
- <col ref="opfromtm" format="hh:nn"/>
- <col ref="diagnm"/>
- <col ref="opnm"/>
- <col ref="opnm2"/>
- <col ref="perfdeptnm"/>
- <col ref="perfdrnm"/>
- <col ref="assistant1"/>
- <col ref="anstmthdcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0017/M0017">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="cnstopflag" style="text-align:center; "/>
- <col ref="durtime" format="hh:nn" style="text-align:center; "/>
- <col ref="patinroomdt" format="hh:nn"/>
- <col ref="patoutroomdt" format="hh:nn"/>
- </datagrid>
- <button id="btn_req" class="btn1_letter2" style="left:1132px; top:42px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqOpRecInfo();
- ]]>
- </script>
- </button>
- <button id="btn_reqpatinfo" visibility="hidden" style="left:430px; top:55px; width:40px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- 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();
-
- fReqOpRecInfo();
- }
- ]]>
- </script>
- </button>
- <select id="cb_cnstopflag" ref="/root/main/cond/cnstopflag" overflow="visible" appearance="full" style="left:1030px; top:28px; width:75px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>협진포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button1" class="btn2_letter3" style="left:1135px; top:85px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // excel 파일 변환 기능 추가_2012.01.25 _ 손성훈
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- grd_opschelist.saveExcel(fileName, "SheetName", true, true, "", "", "label");
- }
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|