123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SSMNF00100_주사실 통계.xrw
- * 수정이력
- * - 2008.09.15 / 최초작성 / 손은연
- * /* */
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="txt/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>
- <fromdd/>
- <todd/>
- <deptcd/>
- <depthngnm/>
- <kind/>
- </cond>
- <injroomstatsinfo>
- <injroomstatslist/>
- </injroomstatsinfo>
- </main>
- <send/>
- <init>
- </init>
- <hidden>
- <hidden>
- <deptinfo>
- <orddeptinfo>
- <deptlist>
- <deptcd/>
- <deptnm/>
- </deptlist>
- </orddeptinfo>
- </deptinfo>
- </hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/injroomstatsinfo");
-
- var todd= model.getValue("/root/main/cond/todd");
- var yyyymm = todd.substr(0,6);
- fGetDeptInfo('O', yyyymm, '/root/send', '/root/hidden/deptinfo/orddeptinfo');//외래진료과
-
- model.makeValue("/root/main/cond/fromdd", getCurrentDate());
- model.makeValue("/root/main/cond/todd", getCurrentDate());
- //model.makeValue("/root/main/cond/kind", '2');
- model.makeValue("/root/main/cond/deptcd", ' ');
-
- if(model.getValue("/root/main/cond/deptcd") == ""){
- messageBox("진료과를 선택하지", "E007");
- return;
- }
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRSNI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/injroomstatsinfo"/>
- <submission id="TRSNA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/deptinfo"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../sts/stsenrweb/js/MNA001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="700" pageheight="600">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">주사실 통계</caption>
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:19px; width:620px; height:96px; "/>
- <caption id="caption30" class="search_name" style="left:6px; top:60px; width:124px; height:17px; ">기 간 :</caption>
- <input id="ipt_procdd" ref="/root/main/cond/fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:149px; top:60px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <input id="input1" ref="/root/main/cond/todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:252px; top:60px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[]]>
- </script>
- </input>
- <caption id="caption26" class="tit_2" style="left:5px; top:125px; width:195px; height:13px; ">주사실 통계 리스트</caption>
- <datagrid id="dgrd_rpt" nodeset="/root/main/injroomstatsinfo/injroomstatslist" class="grd_first" caption="검사명^처방건수^환자수^^" colsep="^" colwidth="200, 200, 130, 70" dataheight="25" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:147px; width:620px; height:333px; ">
- <col ref="testnm"/>
- <col ref="prcpcnt"/>
- <col ref="patcnt"/>
- </datagrid>
- <button id="btn_select" class="btn1_letter2" style="left:488px; top:40px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/cond/depthngnm"), "--전체--"){
- model.setValue("/root/main/cond/deptcd", "-");
- }
- submit("TRSNI00101");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:472px; y1:40px; x2:472px; y2:62px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:141px; x2:621px; y2:141px; "/>
- <caption id="caption1" class="search_name" style="left:6px; top:85px; width:124px; height:17px; ">진 료 과 :</caption>
- <select1 id="combo1" ref="/root/main/cond/depthngnm" appearance="minimal" style="left:150px; top:85px; width:190px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/deptinfo/orddeptinfo/deptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_select.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:6px; top:35px; width:124px; height:17px; ">진 료 형 태 :</caption>
- <select1 id="rdo_kind" ref="/root/main/cond/kind" class="radio_search" visibility="hidden" appearance="full" cols="3" rows="1" overflow="visible" style="left:150px; top:32px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- <item>
- <label>외래</label>
- <value>2</value>
- </item>
- <item>
- <label>응급</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/cond/kind") == '1'){
- var todd= model.getValue("/root/main/cond/todd");
- var yyyymm = todd.substr(0,6);
- fGetDeptInfo('I', yyyymm, '/root/send', '/root/hidden/deptinfo/orddeptinfo'); //입원진료과
- model.makeValue("/root/main/cond/fromdd", getCurrentDate());
- model.makeValue("/root/main/cond/todd", getCurrentDate());
- model.makeValue("/root/main/cond/kind", '1');
- model.makeValue("/root/main/cond/deptcd", ' ');
-
- }else if(model.getValue("/root/main/cond/kind") == '2'){
- var todd= model.getValue("/root/main/cond/todd");
- var yyyymm = todd.substr(0,6);
- fGetDeptInfo('O', yyyymm, '/root/send', '/root/hidden/deptinfo/orddeptinfo');//외래진료과
-
- model.makeValue("/root/main/cond/fromdd", getCurrentDate());
- model.makeValue("/root/main/cond/todd", getCurrentDate());
- model.makeValue("/root/main/cond/kind", '2');
- model.makeValue("/root/main/cond/deptcd", ' ');
- }else if(model.getValue("/root/main/cond/kind") == '3'){
- var todd= model.getValue("/root/main/cond/todd");
- var yyyymm = todd.substr(0,6);
- fGetDeptInfo('W', yyyymm, '/root/send', '/root/hidden/deptinfo/orddeptinfo'); //병동
-
- model.makeValue("/root/main/cond/fromdd", getCurrentDate());
- model.makeValue("/root/main/cond/todd", getCurrentDate());
- model.makeValue("/root/main/cond/kind", '3');
- model.makeValue("/root/main/cond/deptcd", ' ');
- }
- btn_select.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn1_letter2" style="left:548px; top:40px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "주사실통계" , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- dgrd_rpt.saveExcel(fileName, "주사실통계", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|