123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SSMNN00200_신생아실 입퇴원 현황.xrw
- * 수정이력
- * - 2008.09.16 / 최초작성 / 손은연
- * /* */
- -->
- <?xml-stylesheet type="txt/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>
- <fromdd/>
- <todd/>
- <orddeptcd/>
- </cond>
- <nbabyindschinfo>
- <nbabyindschlist>
- <babyflag/>
- <nbrnflag/>
- <incubtflag/>
- <roomcd/>
- <incnt/>
- <trnsincnt/>
- <reincnt/>
- <incnttot/>
- <dschcnt/>
- <dethcnt/>
- <trnsoutcnt/>
- <oucnttot/>
- <ingpatcnt/>
- </nbabyindschlist>
- </nbabyindschinfo>
- </main>
- <send/>
- <init>
- <deptinfo>
- <deptlist>
- <deptcd/>
- <deptnm/>
- </deptlist>
- </deptinfo>
- </init>
- <hidden/>
- <temp>
- <deptinfo>
- </deptinfo>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/main/nbabyindschinfo/nbabyindschlist");
- model.setValue("/root/main/cond/fromdd", getCurrentDate());
- model.setValue("/root/main/cond/todd", getCurrentDate());
-
- var yyyymm = getCurrentDate().substring(0, 6); //default
- fGetDeptInfo('I', yyyymm, '/root/send', '/root/init/deptinfo'); //입원진료과
-
- model.refresh();
-
- //그리드 병합
- /*
- grd_nbaby.mergebyfree(3, 0, 6, 0);
- grd_nbaby.mergebyfree(7, 0, 9, 0);
- grd_nbaby.mergebyfree(4, 1, 5, 1);
- grd_nbaby.mergebyfree(7, 1, 8, 1);
- grd_nbaby.mergebyfree(10, 0, 10, 3);
- grd_nbaby.mergebyfree(11, 0, 11, 3);
- model.refresh();
- */
- ]]>
- </script>
- <submission id="TRSNA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/deptinfo"/>
- <submission id="TRSNN00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nbabyindschinfo"/>
- <script type="javascript">
- <![CDATA[
- //조회
- function fGetNBabyInDschList(){
- messageBox("구현중입니다,","I");
- return;
-
- model.removeNodeset("/root/send");
- model.makeNode("/root/send");
- model.makeValue("/root/send/fromdd", model.getValue("/root/main/cond/fromdd"));
- model.makeValue("/root/send/todd", model.getValue("/root/main/cond/todd"));
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/cond/orddeptcd"));
-
- submit("TRSNN00201");
- }
- ]]>
- </script>
- </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="../../../sts/stsenrweb/js/MNA001.js"/>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:735px; ">
- <datagrid id="grd_nbaby" nodeset="/root/main/nbabyindschinfo/nbabyindschlist" caption="구분^구분^구분^구분^입실^입실^입실^입실^퇴실^퇴실^퇴실^퇴실^재원|구분^구분^구분^구분^입원^전실^재입원^소계^퇴원^퇴원^전실^소계^재원|구분^구분^구분^구분^입원^전실^재입원^소계^퇴원(사망제외)^사망^전실^소계^재원" colsep="^" colwidth="100, 110, 100, 110, 80, 80, 80, 80, 108, 80, 80, 80, 80" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1194px; height:660px; ">
- <col ref="babyflag"/>
- <col ref="nbrnflag"/>
- <col ref="incubtflag"/>
- <col ref="roomcd"/>
- <col ref="incnt"/>
- <col ref="trnsincnt"/>
- <col ref="reincnt"/>
- <col ref="incnttot"/>
- <col ref="dschcnt"/>
- <col ref="dethcnt"/>
- <col ref="trnsoutcnt"/>
- <col ref="oucnttot"/>
- <col ref="ingpatcnt"/>
- </datagrid>
- <caption id="caption2" visibility="hidden" style="left:1065px; top:50px; width:70px; height:19px; ">병상가동율 :</caption>
- <caption id="caption26" class="tit_2" style="left:5px; top:53px; width:210px; height:13px; ">신생아실 입퇴원 현황 리스트</caption>
- <output id="output1" ref="/root/main/nbabyindschinfo/changerate" visibility="hidden" style="left:1139px; top:50px; width:55px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <group id="group1" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:8px; width:90px; height:17px; ">조회일자 :</caption>
- <line id="line2" class="line_4" style="x1:1035px; y1:5px; x2:1035px; y2:27px; "/>
- <caption id="caption4" style="left:212px; top:10px; width:15px; height:14px; vertical-align:middle; ">~</caption>
- <input id="ipt_bthddtodd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:226px; top:9px; width:100px; height:19px; "/>
- <input id="ipt_bthddfromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:109px; top:9px; width:100px; height:19px; "/>
- <button id="btn_print" class="btn1_letter2" style="left:1052px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetNBabyInDschList();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:361px; top:10px; width:92px; height:17px; ">임 상 과 :</caption>
- <select1 id="cmb_dept" ref="/root/main/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:461px; top:8px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptinfo/deptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetNBabyInDschList();
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn1_letter2" style="left:1117px; top:7px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "신생아실입퇴원현황" , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_nbaby.saveExcel(fileName, "신생아실입퇴원현황", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:191px; height:14px; ">신생아실 입퇴원 현황</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|