123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?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>
- <grdpatstats>
- <grdpatstatslist/>
- </grdpatstats>
- <result/>
- </main>
- <send>
- <fromdd/>
- <todd/>
- </send>
- <hidden>
- </hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- </source>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0008","P0021","P0341","P0022","P0020","P0029","P0344", "P0010"),
- new Array("/root/init/comncdlist/P0008list","/root/init/comncdlist/P0021list","/root/init/comncdlist/P0341list","/root/init/comncdlist/P0022list","/root/init/comncdlist/P0020list"
- ,"/root/init/comncdlist/P0029list","/root/init/comncdlist/P0344list", "/root/init/comncdlist/P0010list"));
-
- //진료과코드 진료의사ID 조회
- pamGetDeptCDDrIDList();
- //초기화 및 날자 입력 항목에 오늘 날자 세팅
- fInitialize();
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPMS02241" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grdpatstats"/>
- </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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fInitialize() {
-
-
- //날자 입력 항목에 오늘 날자 세팅
- var curDate = getCurrentDate();
-
- curDate = curDate.toDate().getAddDate(-1,"D");
- var nextDate = curDate.getFullYear();
- nextDate = nextDate.toString() + (( curDate.getMonth() + 1 > 9 ) ? curDate.getMonth() + 1 : "0" + (curDate.getMonth() + 1));
- nextDate = nextDate.toString() + (( curDate.getDate() > 9 ) ? curDate.getDate() : "0" + curDate.getDate()) ;
-
- model.setValue("/root/send/todd", nextDate);
-
- var prviousDate = getCurrentDate();
- prviousDate = prviousDate.toDate().getAddDate(-7,"D");
- var previousDay = prviousDate.getFullYear();
- previousDay = previousDay.toString() + (( prviousDate.getMonth() + 1 > 9 ) ? prviousDate.getMonth() + 1 : "0" + (prviousDate.getMonth() + 1));
- previousDay = previousDay.toString() + (( prviousDate.getDate() > 9 ) ? prviousDate.getDate() : "0" + prviousDate.getDate()) ;
-
- model.setValue("/root/send/fromdd", previousDay);
-
- model.toggle("case_otpt");
-
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">외래 및 입원환자통계</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- <group id="group4" scroll="auto" style="left:0px; top:732px; width:1190px; height:33px; ">
- <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:1160px; y2:0px; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:1090px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- <group id="group6" style="left:0px; top:70px; width:1180px; height:660px; ">
- <switch id="swt_outpatient" style="left:0px; top:5px; width:1160px; height:635px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_otpt" style="left:0px; top:5px; width:1210px; height:648px; ">
- <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:1155px; y2:25px; "/>
- <button id="btn_cnclexcel" class="btn2_letter4" style="left:1088px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_change.saveExcel(fileName, "SheetName", true, true, "", "");
- }
-
- window.exec(fileName);
- ]]>
- </script>
- </button>
- <datagrid id="grd_change" nodeset="/root/main/grdpatstats/grdpatstatslist" class="datagrid2" visibility="visible" caption="임상과^외래^외래^외래^외래^외래^외래^ 입원^ 입원^퇴원^퇴원|임상과^병원초진^과초진^재진^합계^초진율^진료Unit(선택)^입원^재원^실인원^평균재원일수" colsep="^" colwidth="120, 80, 80, 80, 80, 80, 120, 80, 80, 80, 100" dataheight="23" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:30px; width:1150px; height:585px; ">
- <col ref="depthngnm" style="text-align:left; "/>
- <col ref="fstord" style="text-align:right; "/>
- <col ref="fstdeptord" style="text-align:right; "/>
- <col ref="reord" style="text-align:right; "/>
- <col ref="gnrnsum" visibility="visible" style="text-align:right; "/>
- <col ref="ratio" style="text-align:right; "/>
- <col ref="unitcnt" style="text-align:right; "/>
- <col ref="incnt" style="text-align:right; "/>
- <col ref="inhosp" style="text-align:right; "/>
- <col ref="outcnt" style="text-align:right; "/>
- <col ref="inhospav" style="text-align:right; "/>
- </datagrid>
- <button id="button4" class="btn2_letter2" style="left:1038px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPAS02401", "XMLSTR", "","", "true","","","","","true");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- </group>
- <group id="group5" style="left:0px; top:15px; width:1180px; height:50px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:47px; "/>
- <button id="button1" class="btn1_letter2" style="left:1089px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- submit("TRPMS02241");
-
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1085px; y1:7px; x2:1085px; y2:40px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:105px; top:14px; width:95px; height:19px; "/>
- <caption id="radio_goobun" class="search_name" style="left:17px; top:14px; width:93px; height:17px; ">조회기간 :</caption>
- <caption id="caption1" style="left:202px; top:15px; width:15px; height:15px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:215px; top:14px; width:95px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|