123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?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>
- <durinfo>
- <durlist/>
- <durlist_sum/>
- </durinfo>
- </main>
- <cond>
- <sdate/>
- <edate/>
- <gbn>1</gbn>
- </cond>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function fSearch(){
-
- model.removeNodeset("/root/main/durinfo/durlist");
- model.removeNodeset("/root/main/durinfo/durlist_sum");
-
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/gbn", model.getValue("/root/cond/gbn"));
- model.makeValue("/root/send/sdate", model.getValue("/root/cond/sdate"));
- model.makeValue("/root/send/edate", model.getValue("/root/cond/edate"));
-
- submit("TRMNE14001");
- datagrid1.refresh();
- datagrid2.refresh();
- datagrid2.rebuild();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.makeValue("/root/cond/sdate", getCurrentDate());
- model.makeValue("/root/cond/edate", getCurrentDate());
-
- model.toggle("case1");
- btn_pat.selected = true;
-
- datagrid1.refresh();
- datagrid2.refresh();
- ]]>
- </script>
- <submission id="TRMNE14001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/durinfo/durlist"/>
- </model>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <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/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body overflow="visible" scroll="autovscroll" pagewidth="1015" pageheight="800" style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:320px; height:14px; font-family:굴림; ">입원결정 이후 체류현황</caption>
- <group id="group1" style="left:0px; top:20px; width:995px; height:35px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:995px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" style="x1:795px; y1:5px; x2:795px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption33" class="search_name" style="left:243px; top:8px; width:96px; height:17px; ">기 간:</caption>
- <button id="btn_search" class="btn1_letter2" style="left:806px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <input id="ipt_srhto" ref="/root/cond/edate" class="input_s_essential" disabled="true" inputtype="date" style="left:438px; top:8px; width:92px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <caption id="caption8" style="left:423px; top:9px; width:15px; height:18px; font-weight:bold; ">~</caption>
- <input id="ipt_srhfrom" ref="/root/cond/sdate" class="input_s_essential" disabled="true" inputtype="date" style="left:324px; top:8px; width:92px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <button id="button1" class="btn1_letter2" style="left:920px; top:7px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (switch1.selectedIndex == 1) {
- exeReportPreview("RPMNE14001","XMLSTR","");
- } else {
- exeReportPreview("RPMNE14000","XMLSTR","");
- }
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/cond/gbn" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:20px; top:9px; width:225px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>재원환자 기준</label>
- <value>1</value>
- </item>
- <item>
- <label>내원일 기준</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/cond/gbn") == "1") {
- ipt_srhfrom.disabled = true;
- ipt_srhto.disabled = true;
- } else {
- ipt_srhfrom.disabled = false;
- ipt_srhto.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption1" style="left:234px; top:7px; width:10px; height:20px; font-weight:bold; ">(</caption>
- <caption id="caption2" style="left:535px; top:7px; width:10px; height:20px; font-weight:bold; ">)</caption>
- <button id="button2" class="btn1_letter2" style="left:863px; top:7px; width:56px; height:22px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (switch1.selectedIndex == 1) {
- var fileName2 = window.fileDialog("save", ",", false, getCurrentDate() + "_과별체류현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- datagrid2.saveExcel(fileName2, "sheetname:sheet1;colhiddenextend:false;", true, true, "", "", true);
- } else {
- var fileName = window.fileDialog("save", ",", false, getCurrentDate() + "_환자별체류현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- datagrid1.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- </group>
- <switch id="switch1" style="left:0px; top:80px; width:997px; height:690px; ">
- <case id="case1">
- <line id="line2" class="line_1" style="x1:0px; y1:0px; x2:995px; y2:0px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/durinfo/durlist" class="datagrid2" caption="환자번호^이름^성별/나이^입원일^입실일시^입실일시^재방문
횟수^진료과^진료의^입원결정일시^입원장 발급일시^체류시간
(분)^퇴실일시^퇴실일시" colsep="^" colwidth="70, 65, 60, 75, 75, 40, 50, 100, 65, 100, 100, 60, 75, 40" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:6px; width:995px; height:681px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="chosdd" format="yyyy-mm-dd"/>
- <col ref="chostm" format="hh:nn"/>
- <col ref="visitno" style="text-align:center; "/>
- <col ref="juorddeptcd"/>
- <col ref="juorddrid"/>
- <col ref="decndt" format="yyyy-mm-dd hh:nn"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="durtime" format="#,###" style="text-align:right; "/>
- <col ref="outrmdd" format="yyyy-mm-dd"/>
- <col ref="outrmtm" format="hh:nn"/>
- </datagrid>
- </case>
- <case id="case2" selected="true">
- <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:995px; y2:0px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/durinfo/durlist_sum" caption="진료과^총 체류시간 (분)^총 체류시간 (일)^환자수^평균 체류시간 (분)^평균 체류시간 (일)" colsep="^" colwidth="150, 120, 120, 100, 120, 120" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:6px; width:995px; height:681px; ">
- <col ref="juorddeptcd"/>
- <col ref="sum_durtime" format="#,###" style="text-align:right; "/>
- <col ref="sum_durtime_d" format="#,###" style="text-align:right; "/>
- <col ref="cnt" format="#,###" style="text-align:right; "/>
- <col ref="avg_durtime" format="#,###" style="text-align:right; "/>
- <col ref="avg_durtime_d" format="#,###" style="text-align:right; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_dept" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:101px; top:56px; width:103px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>과별 통계</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- ]]>
- </script>
- </button>
- <button id="btn_pat" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:1px; top:56px; width:100px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>환자현황</caption>
- <toggle case="case1" ev:event="onclick"/>
- <setfocus ev:event="xforms-valid"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:950px; top:775px; width:45px; height:20px; text-align:right; ">[표]</caption>
- </xhtml:body>
- </xhtml:html>
|