123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- <?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>
- <cond>
- <srchdd/>
- <orddeptcd/>
- <orddrid/>
- </cond>
- <outpatinfo/>
- </main>
- <init>
- <orddeptlist/>
- <orddr/>
- </init>
- <send>
- <reqdata/>
- <outpatinfo/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //fInit();
- var menuParam = getScreenMenuParameter();
- var currDate = getCurrentDate();
- model.setValue("/root/main/cond/srchdd", currDate);
- var instcd = getUserInfo("dutplceinstcd");
- var rslt_ref = "/root/init/orddeptlist";
- //model.setValue("/root/main/cond/orddeptcd", "%");
- model.setValue("/root/main/cond/orddrid", "");
- var dt = model.getValue("/root/main/cond/srchdd");
- zsdfGetCareOutOrderDepartmentList(instcd, rslt_ref, dt);
- addComboItem("cmb_orddeptcd");
- addComboItem("cmb_orddrid");
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRSNO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/outpatinfo"/>
- <submission id="TRMNO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/orddr"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1212" pageheight="800" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:181px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">외래환자예약현황</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <datagrid id="grd_outpatrsrv" nodeset="/root/main/outpatinfo/outpatlist" autoresize="true" caption="^초진^초진^초진^초진^초진^초진^초진^초진^초진^초진^초진^재진^재진^재진^재진^재진^재진^재진^재진^재진^재진^외래환자수^외래환자수^외래환자수^특진율^초진율^진료
예약^진료
반환^진료
과별
비율^caption1^caption3^caption2|^전화
예약^과예약^ 인터넷
예약^당일
접수^당일
예약^협력
예약^의뢰^기타^외래환자수^외래환자수^외래환자수^전화
예약^과예약^당일
접수^당일
예약^협력
예약^의뢰^기타^외래환자수^외래환자수^외래환자수^특진^일반^합계^특진율^초진율^진료
예약^진료
반환^진료
과별
비율^caption1^caption3^caption2|^전화
예약^과예약^ 인터넷
예약^당일
접수^당일
예약^협력
예약^의뢰^기타^특진^일반^합계^전화
예약^과예약^당일
접수^당일
예약^협력
예약^의뢰^기타^특진^일반^합계^특진^일반^합계^특진율^초진율^진료
예약^진료
반환^진료
과별
비율^caption1^caption3^caption2" colsep="^" colwidth="91, 45, 48, 48, 48, 48, 48, 48, 48, 40, 40, 45, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48" dataheight="25" explorerbar="sort" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:665px; ">
- <col ref="stsview"/>
- <col ref="fstelrsrv" style="text-align:right; "/>
- <col ref="fsdeptrsrv" style="text-align:right; "/>
- <col ref="fsitnrsrv" style="text-align:right; "/>
- <col ref="fstdyrsrv" style="text-align:right; "/>
- <col ref="fscurntrsrv" style="text-align:right; "/>
- <col ref="fscorsrv" style="text-align:right; "/>
- <col ref="fscnsltrsrv" style="text-align:right; "/>
- <col ref="fsetcrsrv" style="text-align:right; "/>
- <col ref="fssltdiagrsrv" style="text-align:right; "/>
- <col ref="fsgendiagrsrv" style="text-align:right; "/>
- <col ref="fsotpttot" style="text-align:right; "/>
- <col ref="sectelrsrv" style="text-align:right; "/>
- <col ref="secdeptrsrv" style="text-align:right; "/>
- <col ref="sectdyrsrv" style="text-align:right; "/>
- <col ref="seccurntrsrv" style="text-align:right; "/>
- <col ref="seccorsrv" style="text-align:right; "/>
- <col ref="seccnsltrsrv" style="text-align:right; "/>
- <col ref="secetcrsrv" style="text-align:right; "/>
- <col ref="secsltdiagrsrv" style="text-align:right; "/>
- <col ref="secgendiagrsrv" style="text-align:right; "/>
- <col ref="secotpttot" style="text-align:right; "/>
- <col ref="sltotpt" style="text-align:right; "/>
- <col ref="genotpt" style="text-align:right; "/>
- <col ref="otpttot" style="text-align:right; "/>
- <col ref="sltotptrate" format="##0.##%" style="text-align:right; "/>
- <col ref="genotptrate" format="##0.##%" style="text-align:right; "/>
- <col ref="totrsrv" style="text-align:right; "/>
- <col ref="cnclrsrv" style="text-align:right; "/>
- <col ref="deptrate" format="##0.##%" style="text-align:right; "/>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="btn_print" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var srchdd=model.getValue("/root/main/cond/srchdd");
- var currdt = getCurrentDate()+""+getCurrentTime();
- model.copyNode("/root/send/outpatinfo", "/root/main/outpatinfo"); // 추가20080915
-
-
- var fixedRowCnt = grd_outpatrsrv.fixedRows-1;
- for ( var idx = 1 ; idx <= getNodesetCount("/root/send/outpatinfo/outpatlist") ; idx++){
- model.setValue("/root/send/outpatinfo/outpatlist[" + idx + "]/deptrate", grd_outpatrsrv.labelMatrix(idx+fixedRowCnt, grd_outpatrsrv.colRef("deptrate")));
- model.setValue("/root/send/outpatinfo/outpatlist[" + idx + "]/sltotptrate", grd_outpatrsrv.labelMatrix(idx+fixedRowCnt, grd_outpatrsrv.colRef("sltotptrate")));
- model.setValue("/root/send/outpatinfo/outpatlist[" + idx + "]/genotptrate", grd_outpatrsrv.labelMatrix(idx+fixedRowCnt, grd_outpatrsrv.colRef("genotptrate")));
- }
- model.makeValue("/root/send/cond/srchdd", srchdd.substring(0,4)+"/"+srchdd.substring(4,6)+"/"+srchdd.substring(6));
- model.makeValue("/root/send/cond/orddeptnm", cmb_orddeptcd.label);
- model.makeValue("/root/send/cond/orddrnm", cmb_orddrid.label);
- model.makeValue("/root/send/cond/usernm", getUserName());
- model.makeValue("/root/send/cond/printdt",
- currdt.substring(0,4)+"/"+currdt.substring(4,6)+"/"+currdt.substring(6,8)+" "+
- currdt.substring(8,10)+":"+currdt.substring(10,12)+":"+currdt.substring(12)
- );
- exeReportPreview("RPSTO00101", "XMLSTR", "","", "true","","","","","true");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:997px; y1:7px; x2:997px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:25px; top:10px; width:65px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">기간 :</caption>
- <select1 id="cmb_orddrid" ref="/root/main/cond/orddrid" class="combo_search" appearance="minimal" style="left:554px; top:10px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddr/orddr">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:460px; top:10px; width:104px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">진료의별 :</caption>
- <caption id="caption8" class="search_name" style="left:215px; top:10px; width:104px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">진료과별 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/main/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:309px; top:10px; width:116px; height:19px; ">
- <!--choices>
- <item>
- <label>전체</label>
- <value>%</value>
- </item>
- </choices-->
- <choices>
- <itemset nodeset="/root/init/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sordclsdeptflag = model.getValue("/root/init/orddeptlist/dept[deptcd = '"+model.getValue("/root/main/cond/orddeptcd")+"']/ordclsdeptflag"); // 대표/분과/서브 구분
- var sorddeptkind = model.getValue("/root/init/orddeptlist/dept[deptcd = '"+model.getValue("/root/main/cond/orddeptcd")+"']/orddeptkind"); // 센터/대표 구분
- var ssupdeptcd = model.getValue("/root/init/orddeptlist/dept[deptcd = '"+model.getValue("/root/main/cond/orddeptcd")+"']/supdeptcd"); // 상위부서코드
-
- var sorddeptflag = "";
-
- if (sorddeptkind == "C") { // 센터이면
- sorddeptflag = "C";
- } else if (sorddeptkind != "C" && sordclsdeptflag == "A") { // 센터가 아니면서 분과이면
- sorddeptflag = "A";
- } else { // 그외에 기타과
- sorddeptflag = "etc";
- }
-
- model.makeValue("/root/send/reqdata/ordclsdeptflag", sorddeptflag);
- model.makeValue("/root/send/reqdata/supdeptcd", ssupdeptcd);
- model.makeValue("/root/send/reqdata/prcpspecflag", "Y");
-
- model.makeValue("/root/send/reqdata/orddd", model.getValue("/root/main/cond/srchdd"));
- model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/cond/orddeptcd"));
- submit("TRMNO00104"); // 의사리스트 조회
- addComboItem("cmb_orddrid");
-
- ]]>
- </script>
- </select1>
- <!--select1 id="radio1" appearance="full" cols="3" overflow="visible" style="left:95px; top:10px; width:165px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>일별</label>
- <value>radio1</value>
- </item>
- <item>
- <label>월별</label>
- <value/>
- </item>
- <item>
- <label>분기별</label>
- <value/>
- </item>
- </choices>
- </select1-->
- <input id="input1" ref="/root/main/cond/srchdd" class="input_s_essential" inputtype="date" style="left:90px; top:10px; width:95px; height:19px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1007px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //messageBox("개발중","I009");
- if ( isNull(model.getValue("/root/main/cond/srchdd")) || model.getValue("/root/main/cond/srchdd") < getCurrentDate() ){
- //messageBox("기간","I003");//필수입력입니다
- messageBox("금일이후의 외래환자예약현황을 조회합니다.기간을 ","I007");
- return;
- }
- model.removeNode("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/srchdd", model.getValue("/root/main/cond/srchdd") );
- model.makeValue("/root/send/reqdata/menu", "");
- if ( !isNull( model.getValue("/root/main/cond/orddeptcd") ) && model.getValue("/root/main/cond/orddeptcd") != "%") {
- model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/cond/orddeptcd"));
- }
- if ( !isNull( model.getValue("/root/main/cond/orddrid") ) && model.getValue("/root/main/cond/orddrid") != "%") {
- model.makeValue("/root/send/reqdata/orddrid", model.getValue("/root/main/cond/orddrid"));
- }
- submit("TRSNO00101");
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn1_letter2" style="left:1065px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName ="";
- fileName = window.fileDialog("save", ",", false, "외래환자예약현황_"+ model.getValue("/root/main/cond/srchdd") , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_outpatrsrv.saveExcel(fileName, "외래환자예약현황", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- </group>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:71px; width:156px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">외래환자예약현황</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:86px; x2:1194px; y2:86px; "/>
- <caption id="caption2" style="left:10px; top:760px; width:1184px; height:35px; font-weight:bold; ">
- <![CDATA[*** 기타: 물리치료, 인공신장실, 주사, F/U, 치료방사선
- *** 과예약: 외래, 병동, 응급, DSC, 특수주사실 포함한 예약건수]]>
- </caption>
- </xhtml:body>
- </xhtml:html>
|