123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <?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>EICU/응급입원실 입실현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <gubun>01</gubun>
- <fromdd/>
- <todd/>
- </cond>
- <inroominfo>
- <inroomnmlist>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <indd/>
- <inroomdt/>
- </inroomnmlist>
- <deptcntlist>
- <deptcntym/>
- <inorddeptnm/>
- <patcnt/>
- </deptcntlist>
- <avgkeepcntlist>
- <avgkeepcntym/>
- <avgkeepcnt/>
- </avgkeepcntlist>
- </inroominfo>
- </main>
- <send>
- <reqdata/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var dt = getCurrentDate();
-
- //var dat = ((dt.toDate("YYYYMMDD")).getAddDate(-3, "D")).getDateFormat("YYYYMMDD") ;
-
- model.setValue(ipt_fromdd.attribute("ref"), dt);
- model.setValue(ipt_todd.attribute("ref"), dt);
-
-
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- model.toggle("case_inroomnm");
-
-
- fSearch() ;
-
-
- ]]>
- </script>
- <submission id="TRMNE10600" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/inroominfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- var flag="1";
- function fSearch() {
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNE10600");
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="font-family:굴림, Arial; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" style="left:0px; top:0px; width:1195px; height:776px; font-family:굴림; vertical-align:middle; ">
- <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; font-family:굴림; vertical-align:middle; ">EICU/응급입원실 입실현황</caption>
- <group id="grp_sea" style="left:10px; top:20px; width:1170px; height:40px; font-family:굴림; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1170px; height:40px; font-family:굴림; "/>
- <caption id="caption3" class="search_name" style="left:25px; top:9px; width:69px; height:17px; font-family:굴림; ">기 간 :</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" navindex="2" inputtype="date" style="left:100px; top:8px; width:95px; height:19px; font-family:굴림; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" navindex="2" inputtype="date" style="left:215px; top:8px; width:95px; height:19px; font-family:굴림; "/>
- <caption id="caption4" style="left:193px; top:10px; width:20px; height:15px; font-family:굴림; text-align:center; ">~</caption>
- <select1 id="radio1" ref="/root/main/cond/gubun" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:405px; top:10px; width:305px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>EICU</label>
- <value>01</value>
- </item>
- <item>
- <label>응급입원실</label>
- <value>02</value>
- </item>
- <item>
- <label>508응급병동</label>
- <value>03</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption25" class="search_name" style="left:390px; top:30px; width:20px; height:17px; font-family:굴림; "/>
- <button id="button1" class="btn1_letter2" navindex="7" style="left:1100px; top:30px; width:56px; height:22px; font-family:굴림; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- if(flag=="1") {
- var fileName = window.fileDialog("save", ",", false, radio1.label + "입실환자명단", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_inroomnmlist.saveExcel(fileName , "sheetname:sheet1;colhiddenextend:false;", true, true, "", "", true);
- } else if(flag=="2"){
- var fileName = window.fileDialog("save", ",", false, radio1.label + "기간별 월별 과별 환자수", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_deptcntlist.saveExcel(fileName , "sheetname:sheet1;colhiddenextend:false;", true, true, "", "", true);
- } else if(flag=="3") {
- var fileName = window.fileDialog("save", ",", false, radio1.label + "기간내 월별 평균 재원일수", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_avgkeepcntlist.saveExcel(fileName , "sheetname:sheet1;colhiddenextend:false;", true, true, "", "", true);
- }
-
-
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:10px; top:95px; width:1170px; height:655px; ">
- <case id="case_inroomnm" selected="true">
- <datagrid id="grd_inroomnmlist" nodeset="/root/main/inroominfo/inroomnmlist" visibility="visible" caption="환자번호^이름^성별^나이^내원일^응급실입실일시^EICU/응급병동 입실일시" colsep="^" colwidth="100, 100, 70, 70, 110, 145, 145" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:10px; width:1155px; height:635px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="chosdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="inroomdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- </datagrid>
- <line id="line4" class="line_1" style="x1:5px; y1:5px; x2:1160px; y2:5px; font-family:굴림; "/>
- </case>
- <case id="case_deptcnt">
- <datagrid id="grd_deptcntlist" nodeset="/root/main/inroominfo/deptcntlist" caption="구분(월)^진료과^환자수" colsep="^" colwidth="100, 134, 89" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:10px; width:1155px; height:635px; font-family:굴림; ">
- <col ref="deptcntym" style="font-family:굴림; text-align:center; "/>
- <col ref="inorddeptnm" style="font-family:굴림; text-align:center; "/>
- <col ref="patcnt" style="font-family:굴림; text-align:center; "/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:5px; y1:5px; x2:1160px; y2:5px; font-family:굴림; "/>
- </case>
- <case id="case_avgkeepcnt">
- <datagrid id="grd_avgkeepcntlist" nodeset="/root/main/inroominfo/avgkeepcntlist" caption="구분(월)^평균재원일수(일)" colsep="^" colwidth="100, 133" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:10px; width:1155px; height:635px; font-family:굴림; ">
- <col ref="avgkeepcntym" style="font-family:굴림; text-align:center; "/>
- <col ref="avgkeepcnt" style="font-family:굴림; text-align:center; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:5px; x2:1160px; y2:5px; font-family:굴림; "/>
- </case>
- </switch>
- <button id="button2" class="btn_sw" group="tab" selected="true" style="left:10px; top:75px; width:110px; height:22px; font-family:굴림; ">
- <caption>입실 환자 명단</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- flag="1";
- model.toggle("case_inroomnm");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn_sw" group="tab" style="left:120px; top:75px; width:155px; height:22px; font-family:굴림; ">
- <caption>기간내 월별 과별 환자수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- flag="2";
- model.toggle("case_deptcnt");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn_sw" group="tab" style="left:275px; top:75px; width:160px; height:22px; font-family:굴림; ">
- <caption>기간내 월별 평균 재원일수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- flag="3";
- model.toggle("case_avgkeepcnt");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn1_letter2" navindex="7" style="left:1040px; top:30px; width:56px; height:22px; font-family:굴림; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch() ;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|