SSMNN00200_신생아실 입퇴원 현황.xrw 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SSMNN00200_신생아실 입퇴원 현황.xrw
  4. * 수정이력
  5. * - 2008.09.16 / 최초작성 / 손은연
  6. * /* */
  7. -->
  8. <?xml-stylesheet type="txt/css" href="../../../com/commonweb/css/common.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. <fromdd/>
  18. <todd/>
  19. <orddeptcd/>
  20. </cond>
  21. <nbabyindschinfo>
  22. <nbabyindschlist>
  23. <babyflag/>
  24. <nbrnflag/>
  25. <incubtflag/>
  26. <roomcd/>
  27. <incnt/>
  28. <trnsincnt/>
  29. <reincnt/>
  30. <incnttot/>
  31. <dschcnt/>
  32. <dethcnt/>
  33. <trnsoutcnt/>
  34. <oucnttot/>
  35. <ingpatcnt/>
  36. </nbabyindschlist>
  37. </nbabyindschinfo>
  38. </main>
  39. <send/>
  40. <init>
  41. <deptinfo>
  42. <deptlist>
  43. <deptcd/>
  44. <deptnm/>
  45. </deptlist>
  46. </deptinfo>
  47. </init>
  48. <hidden/>
  49. <temp>
  50. <deptinfo>
  51. </deptinfo>
  52. </temp>
  53. </root>
  54. </instance>
  55. <script type="javascript" ev:event="xforms-ready">
  56. <![CDATA[
  57. model.removenode("/root/main/nbabyindschinfo/nbabyindschlist");
  58. model.setValue("/root/main/cond/fromdd", getCurrentDate());
  59. model.setValue("/root/main/cond/todd", getCurrentDate());
  60. var yyyymm = getCurrentDate().substring(0, 6); //default
  61. fGetDeptInfo('I', yyyymm, '/root/send', '/root/init/deptinfo'); //입원진료과
  62. model.refresh();
  63. //그리드 병합
  64. /*
  65. grd_nbaby.mergebyfree(3, 0, 6, 0);
  66. grd_nbaby.mergebyfree(7, 0, 9, 0);
  67. grd_nbaby.mergebyfree(4, 1, 5, 1);
  68. grd_nbaby.mergebyfree(7, 1, 8, 1);
  69. grd_nbaby.mergebyfree(10, 0, 10, 3);
  70. grd_nbaby.mergebyfree(11, 0, 11, 3);
  71. model.refresh();
  72. */
  73. ]]>
  74. </script>
  75. <submission id="TRSNA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/deptinfo"/>
  76. <submission id="TRSNN00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nbabyindschinfo"/>
  77. <script type="javascript">
  78. <![CDATA[
  79. //조회
  80. function fGetNBabyInDschList(){
  81. messageBox("구현중입니다,","I");
  82. return;
  83. model.removeNodeset("/root/send");
  84. model.makeNode("/root/send");
  85. model.makeValue("/root/send/fromdd", model.getValue("/root/main/cond/fromdd"));
  86. model.makeValue("/root/send/todd", model.getValue("/root/main/cond/todd"));
  87. model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/cond/orddeptcd"));
  88. submit("TRSNN00201");
  89. }
  90. ]]>
  91. </script>
  92. </model>
  93. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  96. <script type="javascript" src="../../../sts/stsenrweb/js/MNA001.js"/>
  97. </xhtml:head>
  98. <xhtml:body>
  99. <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:735px; ">
  100. <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; ">
  101. <col ref="babyflag"/>
  102. <col ref="nbrnflag"/>
  103. <col ref="incubtflag"/>
  104. <col ref="roomcd"/>
  105. <col ref="incnt"/>
  106. <col ref="trnsincnt"/>
  107. <col ref="reincnt"/>
  108. <col ref="incnttot"/>
  109. <col ref="dschcnt"/>
  110. <col ref="dethcnt"/>
  111. <col ref="trnsoutcnt"/>
  112. <col ref="oucnttot"/>
  113. <col ref="ingpatcnt"/>
  114. </datagrid>
  115. <caption id="caption2" visibility="hidden" style="left:1065px; top:50px; width:70px; height:19px; ">병상가동율 :</caption>
  116. <caption id="caption26" class="tit_2" style="left:5px; top:53px; width:210px; height:13px; ">신생아실 입퇴원 현황 리스트</caption>
  117. <output id="output1" ref="/root/main/nbabyindschinfo/changerate" visibility="hidden" style="left:1139px; top:50px; width:55px; height:19px; "/>
  118. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  119. <group id="group1" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
  120. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  121. <caption id="caption3" class="search_name" style="left:15px; top:8px; width:90px; height:17px; ">조회일자 :</caption>
  122. <line id="line2" class="line_4" style="x1:1035px; y1:5px; x2:1035px; y2:27px; "/>
  123. <caption id="caption4" style="left:212px; top:10px; width:15px; height:14px; vertical-align:middle; ">~</caption>
  124. <input id="ipt_bthddtodd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:226px; top:9px; width:100px; height:19px; "/>
  125. <input id="ipt_bthddfromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:109px; top:9px; width:100px; height:19px; "/>
  126. <button id="btn_print" class="btn1_letter2" style="left:1052px; top:7px; width:56px; height:22px; ">
  127. <caption>조회</caption>
  128. <script type="javascript" ev:event="onclick">
  129. <![CDATA[
  130. fGetNBabyInDschList();
  131. ]]>
  132. </script>
  133. </button>
  134. <caption id="caption1" class="search_name" style="left:361px; top:10px; width:92px; height:17px; ">임 상 과 :</caption>
  135. <select1 id="cmb_dept" ref="/root/main/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:461px; top:8px; width:125px; height:19px; ">
  136. <choices>
  137. <itemset nodeset="/root/init/deptinfo/deptlist">
  138. <label ref="deptnm"/>
  139. <value ref="deptcd"/>
  140. </itemset>
  141. </choices>
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. fGetNBabyInDschList();
  145. ]]>
  146. </script>
  147. </select1>
  148. <button id="button1" class="btn1_letter2" style="left:1117px; top:7px; width:56px; height:22px; ">
  149. <caption>엑셀</caption>
  150. <script type="javascript" ev:event="onclick">
  151. <![CDATA[
  152. var fileName = window.fileDialog("save", ",", false, "신생아실입퇴원현황" , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  153. if (fileName != "") {
  154. grd_nbaby.saveExcel(fileName, "신생아실입퇴원현황", true, true, "", "", true);
  155. }
  156. ]]>
  157. </script>
  158. </button>
  159. </group>
  160. </group>
  161. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  162. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  163. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:191px; height:14px; ">신생아실 입퇴원 현황</caption>
  164. </group>
  165. </xhtml:body>
  166. </xhtml:html>