SSMNN00400_신생아실통계.xrw 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SSMNN00400_신생아실통계.xrw
  4. * 수정이력
  5. * - 2008.09.16 / 최초작성 / 손은연
  6. * /* */
  7. -->
  8. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="txt/css" ?>
  9. <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">
  10. <xhtml:head>
  11. <xhtml:title>신생아실 통계</xhtml:title>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. <cond>
  17. <indschflag>1</indschflag>
  18. <fromdd/>
  19. <todd/>
  20. <reinflag>1</reinflag>
  21. </cond>
  22. <nbabystatsinfo>
  23. <nbabystatslist/>
  24. </nbabystatsinfo>
  25. </main>
  26. <send/>
  27. <init/>
  28. <hidden/>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. btn_prgnweek.selected = true;
  34. model.removenode("/root/main/nbabystatsinfo/nbabystatslist");
  35. //현재 일자 세팅
  36. model.setValue("/root/main/cond/fromdd", getCurrentDate());
  37. model.setValue("/root/main/cond/todd", getCurrentDate());
  38. model.refresh();
  39. ]]>
  40. </script>
  41. <submission id="TRSNN00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nbabystatsinfo"/>
  42. </model>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. <script type="javascript">
  47. <![CDATA[
  48. //조회
  49. function fGetNBabySrchList(){
  50. messageBox("구현중입니다,","I");
  51. return;
  52. model.removeNodeset("/root/send");
  53. model.makeNode("/root/send");
  54. model.makeValue("/root/send/srchflag", model.getValue("/root/main/cond/srchflag"));
  55. model.makeValue("/root/send/fromdd", model.getValue("/root/main/cond/fromdd"));
  56. model.makeValue("/root/send/todd", model.getValue("/root/main/cond/todd"));
  57. model.makeValue("/root/send/reinflag", model.getValue("/root/main/cond/reinflag"));
  58. submit("TRSNN00401");
  59. }
  60. ]]>
  61. </script>
  62. </xhtml:head>
  63. <xhtml:body>
  64. <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:735px; ">
  65. <group id="group1" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
  66. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  67. <caption id="caption3" class="search_name" style="left:255px; top:10px; width:90px; height:17px; ">조회일자 :</caption>
  68. <line id="line2" class="line_4" style="x1:1040px; y1:5px; x2:1040px; y2:27px; "/>
  69. <caption id="caption4" style="left:452px; top:10px; width:15px; height:14px; vertical-align:middle; ">~</caption>
  70. <input id="ipt_bthddtodd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:466px; top:9px; width:100px; height:19px; "/>
  71. <input id="ipt_bthddfromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:349px; top:9px; width:100px; height:19px; "/>
  72. <button id="btn_print" class="btn1_letter2" style="left:1057px; top:7px; width:56px; height:22px; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="onclick">
  75. <![CDATA[
  76. fGetNBabySrchList();
  77. ]]>
  78. </script>
  79. </button>
  80. <caption id="cpt_reinflag" class="search_name" visibility="visible" style="left:21px; top:10px; width:65px; height:17px; ">구분 :</caption>
  81. <select1 id="rdo_reinflag" ref="/root/main/cond/indschflag" visibility="visible" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:95px; top:10px; width:110px; height:20px; border-style:none; ">
  82. <choices>
  83. <item>
  84. <label>입원</label>
  85. <value>1</value>
  86. </item>
  87. <item>
  88. <label>퇴원</label>
  89. <value>2</value>
  90. </item>
  91. </choices>
  92. </select1>
  93. <caption id="caption1" class="search_name" visibility="visible" style="left:641px; top:10px; width:102px; height:17px; ">재입원여부 :</caption>
  94. <select1 id="radio1" ref="/root/main/cond/reinflag" visibility="visible" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:755px; top:10px; width:180px; height:20px; border-style:none; ">
  95. <choices>
  96. <item>
  97. <label>전체</label>
  98. <value>1</value>
  99. </item>
  100. <item>
  101. <label>첫입원</label>
  102. <value>2</value>
  103. </item>
  104. <item>
  105. <label>재입원</label>
  106. <value>3</value>
  107. </item>
  108. </choices>
  109. </select1>
  110. <button id="button1" class="btn1_letter2" style="left:1117px; top:7px; width:56px; height:22px; ">
  111. <caption>엑셀</caption>
  112. <script type="javascript" ev:event="onclick">
  113. <![CDATA[
  114. var fileName = window.fileDialog("save", ",", false, "신생아실통계" , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  115. if (fileName != "") {
  116. grd_nbabylist.saveExcel(fileName, "신생아실통계", true, true, "", "", true);
  117. }
  118. ]]>
  119. </script>
  120. </button>
  121. </group>
  122. <button id="btn_prgnweek" class="btn_sw" group="tab" style="left:0px; top:54px; width:100px; height:22px; ">
  123. <caption>임신주수별</caption>
  124. <script type="javascript" ev:event="onclick">
  125. <![CDATA[
  126. //model.toggle("case_prgnweek");
  127. grd_nbabylist.valueMatrix(0, grd_nbabylist.colRef("srchflag")) = "임신주수";
  128. ]]>
  129. </script>
  130. <toggle case="case_nm" ev:event="onclick"/>
  131. </button>
  132. <button id="btn_bdwt" class="btn_sw" group="tab" style="left:99px; top:54px; width:100px; height:22px; ">
  133. <caption>출생시 체중별</caption>
  134. <script type="javascript" ev:event="onclick">
  135. <![CDATA[
  136. //model.toggle("case_bdwt");
  137. grd_nbabylist.valueMatrix(0, grd_nbabylist.colRef("srchflag")) = "출생시 체중";
  138. ]]>
  139. </script>
  140. <toggle case="case_td" ev:event="onclick"/>
  141. </button>
  142. <button id="btn_orddept" class="btn_sw" group="tab" style="left:198px; top:54px; width:100px; height:22px; ">
  143. <caption>임상과별</caption>
  144. <script type="javascript" ev:event="onclick">
  145. <![CDATA[
  146. //model.toggle("case_orddept");
  147. grd_nbabylist.valueMatrix(0, grd_nbabylist.colRef("srchflag")) = "임상과";
  148. ]]>
  149. </script>
  150. <toggle case="case_om" ev:event="onclick"/>
  151. </button>
  152. <line id="line1" class="line_1" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
  153. <datagrid id="grd_nbabylist" nodeset="/root/main/nbabystatsinfo/nbabystatslist" class="grd_first" caption="임신주수^본원신생아^본원신생아^본원신생아^본원신생아^전원신생아^전원신생아^전원신생아^합계|임신주수^정상아^환아^환아^신생아중환자실^환아^환아^신생아중환자실^합계|임신주수^바구니^바구니^lncubator^lncubator^바구니^lncubator^lncubator^합계|임신주수^BABY(미숙아)^SBABY(미숙아)^SBABY(미숙아)^NRICU(미숙아)^SBABY(미숙아)^SBABY(미숙아)^NRICU(미숙아)^합계" colsep="^" colwidth="221, 120, 120, 120, 120, 120, 120, 120, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:81px; width:1194px; height:650px; ">
  154. <col ref="srchflag" type="output"/>
  155. <col ref="col2" type="output"/>
  156. <col ref="col3" type="output"/>
  157. <col ref="col4" type="output"/>
  158. <col ref="col5" type="output"/>
  159. <col ref="col6" type="output"/>
  160. <col ref="col7" type="output"/>
  161. <col ref="col8" type="output"/>
  162. <col ref="col9" type="output"/>
  163. </datagrid>
  164. </group>
  165. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  166. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:191px; height:14px; ">신생아실 통계</caption>
  167. </group>
  168. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  169. </xhtml:body>
  170. </xhtml:html>