123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- * 제 목 : SMMCT00106_외래진료예약시간준수.xrw
- * 설 명 : 외래진료예약시간준수
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2009.09.12
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <condition>
- <fromdd/>
- <todd/>
- <orddeptcd/>
- <subdeptcd/>
- <medispclid/>
- </condition>
- <outrsrvinfo>
- <outrsrvinfolist>
- <centcd/>
- <orddeptcd/>
- <subdeptcd/>
- <orddrnm/>
- <orddrpos/>
- <openobserv/>
- <opendelay/>
- <rsrvobserv/>
- <avrmedtime/>
- <avrwaittime/>
- </outrsrvinfolist>
- </outrsrvinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <orddept>
- <dept/>
- </orddept>
- <info/>
- <userlist>
- <usercombo>
- <userid/>
- <usernm/>
- </usercombo>
- </userlist>
- <subdeptinfo>
- <subdeptlist/>
- </subdeptinfo>
- </init>
- </root>
- </instance>
- <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="../../../emr/commonweb/js/EMRCommon.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/emrctlweb/js/MCT001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit_SMMCT00106();
- ]]>
- </script>
- <submission id="TRMMB04101" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMMB04102" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMMB04103" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMMB04106" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMCT00106" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/outrsrvinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /*
- * @desc : 초기화
- */
- function fInit_SMMCT00106(){
- //진료과
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept" , "D"); //부서코드 콤보
- addComboInstance("/root/init/orddept" , "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
- addComboInstance("/root/init/subdeptinfo" , "subdeptcd^subdeptnm", "-^전체", "subdeptlist"); //부서콤보 Item '전체'추가
-
- //전문의
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , getUserInfo("dutplcecd"), "0330", "", "M");
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
-
-
- //초기값 셋팅
- model.setValue("/root/main/condition/fromdd" , getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat() );
- model.setValue("/root/main/condition/todd" , getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat() );
- model.setValue("/root/main/condition/orddeptcd" , "-");
- model.setValue("/root/main/condition/subdeptcd" , "-");
- model.setValue("/root/main/condition/medispclid" , "-");
- model.removeNodeset(grd_outrsrvlst.nodeset );
-
- cap_total.value = "총 0 건";
-
- model.refresh();
- }
-
-
-
- /**
- * @desc : 입원장발급건수 조회
- */
- function fGetOutRsrvInfo(){
- var curTm = getCurrentTime();
-
- var cnt = 0 ;
- cap_total.value = "총 " + cnt + " 건";
- model.removeNodeset(grd_outrsrvlst.nodeset);
- model.resetInstanceNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/condition");
- if( model.getValue("/root/send/reqdata/orddeptcd") == "-" ) model.setValue("/root/send/reqdata/orddeptcd", "");
- if( model.getValue("/root/send/reqdata/subdeptcd") == "-" ) model.setValue("/root/send/reqdata/subdeptcd", "");
- if( model.getValue("/root/send/reqdata/medispclid") == "-" ) model.setValue("/root/send/reqdata/medispclid", "");
- submit("TRMCT00106");
- var nodelst = instance1.selectNodes(grd_outrsrvlst.nodeset );
- cnt = nodelst.length;
-
- cap_total.value = "총 " + cnt + " 건";
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body accesskey="f2" guideline="2,763;2,765;2,763;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:300px; height:13px; ">외래진료예약 준수</caption>
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:1194px; height:40px; "/>
- <line id="line5" style="x1:1110px; y1:30px; x2:1110px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="tit_2" style="left:5px; top:67px; width:270px; height:13px; ">외래진료예약 준수 조회</caption>
- <line id="line1" class="line_1" style="x1:4px; y1:85px; x2:1191px; y2:86px; "/>
- <input id="ipt_srchfromdd" ref="/root/main/condition/fromdd" class="input_s_essential" inputtype="date" style="left:80px; top:32px; width:90px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/main/condition/todd" class="input_s_essential" inputtype="date" style="left:180px; top:32px; width:90px; height:19px; "/>
- <select1 id="cmb_orddept" ref="/root/main/condition/orddeptcd" class="combo_search" appearance="minimal" editmode="search" style="left:370px; top:33px; width:115px; 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[
- fSetMedDr("", cmb_orddept.value ) ;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_subdept" ref="/root/main/condition/subdeptcd" class="combo" appearance="minimal" style="left:580px; top:33px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/subdeptinfo/subdeptlist">
- <label ref="subdeptnm"/>
- <value ref="subdeptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_medispclid" ref="/root/main/condition/medispclid" class="combo_search" appearance="minimal" itemcount="30" style="left:785px; top:33px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_req" class="btn1_letter2" style="left:1125px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOutRsrvInfo();
- ]]>
- </script>
- </button>
- <caption id="caption8" style="left:169px; top:34px; width:15px; height:15px; ">~</caption>
- <caption id="caption9" class="search_name" style="left:15px; top:32px; width:86px; height:17px; ">기간 :</caption>
- <datagrid id="grd_outrsrvlst" nodeset="/root/main/outrsrvinfo/outrsrvinfolist" caption="센터^임상과^세부분과^진료의^직위^Session^Session^개시시간준수율^개시시간준수율^진료개시^예약시간^평균^평균|센터^임상과^세부분과^진료의^직위^수^환자수^(10분이내)^(20분이내)^지체시간^준수율^진료시간^대기시간" colwidth="100, 121, 123, 127, 58, 50, 57, 90, 90, 86, 93, 76, 74" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" subtotalposition="below" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:90px; width:1192px; height:690px; ">
- <col ref="centcd" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="subdeptcd" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="orddrpos" style="text-align:center; "/>
- <col ref="sessioncnt" style="text-align:center; "/>
- <col ref="sessionpatcnt" style="text-align:center; "/>
- <col ref="openobserv" format="#,###%" style="text-align:center; "/>
- <col ref="openobserv1" format="#,###%" style="text-align:center; "/>
- <col ref="opendelay" style="text-align:center; "/>
- <col ref="rsrvobserv" format="#,###%" style="text-align:center; "/>
- <col ref="avrmedtime" style="text-align:center; "/>
- <col ref="avrwaittime" style="text-align:center; "/>
- </datagrid>
- <caption id="caption14" class="search_name" style="left:501px; top:33px; width:76px; height:17px; ">세 부 과</caption>
- <caption id="caption7" class="search_name" style="left:291px; top:33px; width:76px; height:17px; ">진 료 과</caption>
- <caption id="caption1" class="search_name" style="left:706px; top:33px; width:76px; height:17px; ">주 치 의</caption>
- <caption id="cap_total" class="search_name" style="left:895px; top:33px; width:125px; height:17px; ">총 0 건</caption>
- <button id="button1" class="btn2_letter2" style="left:1150px; top:64px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var title = "외래진료예약준수 (" + model.getValue("/root/main/condition/fromdd" ) + " ~ " + model.getValue("/root/main/condition/todd" ) + " ) " ;
- //fsaveGridToExcel(grd_inpatinfolst, title);
-
- var fileName = window.fileDialog("save", ",", false, "외래진료예약준수", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_outrsrvlst.saveExcel(fileName, "외래진료예약준수", true, true, "", "", false);
- var s = fileName.lastIndexOf("\\");
- var fileName=fileName.substring(s+1);
-
- var rmsg = messageBox("저장된 Excel을", "Q004");
- if( rmsg == 6 ){
- window.exec("excel.exe", fileName);
- }
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|