SMPAS01200_일일보고(입원).xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SPSTP00100_통계집계.xrw
  4. * 수정이력
  5. * - 2008.06.24 / 최초작성 / 박정화
  6. -->
  7. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  8. <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">
  9. <xhtml:head>
  10. <xhtml:title>일일보고(입원)</xhtml:title>
  11. <model id="model1">
  12. <instance id="instance1">
  13. <root xmlns="">
  14. <send>
  15. <enddd/>
  16. <flag/>
  17. <orddrid/>
  18. </send>
  19. <main>
  20. <drpt>
  21. <incnt/>
  22. <month_incnt/>
  23. <dschcnt/>
  24. <month_dschcnt/>
  25. <admcnt/>
  26. <month_admcnt/>
  27. <beduserate/>
  28. <month_beduserate/>
  29. <ercnt/>
  30. <month_ercnt/>
  31. <outcnt/>
  32. <month_outcnt/>
  33. <opcnt/>
  34. <month_opcnt/>
  35. <inrsrvcnt/>
  36. <month_inrsrvcnt/>
  37. <totinrsrvcnt/>
  38. <incmmt/>
  39. </drpt>
  40. <ward>
  41. <wardlist/>
  42. </ward>
  43. <nullward>
  44. <nullwardlist/>
  45. </nullward>
  46. <fmlyvip>
  47. <fmlyviplist/>
  48. </fmlyvip>
  49. </main>
  50. <sub>
  51. <bedinfo>
  52. <bedinfolist/>
  53. </bedinfo>
  54. </sub>
  55. <sub2>
  56. <deptinfo>
  57. <deptinfolist/>
  58. </deptinfo>
  59. </sub2>
  60. <sub3>
  61. <wardcdinfo>
  62. <wardcdinfolist/>
  63. </wardcdinfo>
  64. </sub3>
  65. </root>
  66. </instance>
  67. <script type="javascript" ev:event="xforms-ready">
  68. <![CDATA[
  69. model.setValue("/root/send/enddd",getCurrentDate().toDate().getAddDate(-1, 'D').getDateFormat("YYYYMMDD"));
  70. btn_all.dispatch("onclick");
  71. //button10.dispatch("onclick");
  72. model.setValue("/root/send/orddrid","Y");
  73. model.refresh();
  74. ]]>
  75. </script>
  76. <submission id="TRPAS01200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  77. <submission id="TRPAS01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/sub"/>
  78. <submission id="TRPAS01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/sub2"/>
  79. <submission id="TRPAS01203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/sub3"/>
  80. <submission id="TXPAS01200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  81. </model>
  82. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  87. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  88. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  89. <script type="javascript">
  90. <![CDATA[
  91. ]]>
  92. </script>
  93. </xhtml:head>
  94. <xhtml:body style="font-family:돋움, Arial; font-size:12px; color:#4d4d4d; ">
  95. <group id="grp_tle" style="left:0px; top:0px; width:1146px; height:13px; ">
  96. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">입원일일보고</caption>
  97. </group>
  98. <switch id="switch1" style="left:0px; top:91px; width:1190px; height:694px; ">
  99. <case id="case1">
  100. <input id="input7" ref="/root/main/drpt/ercnt" format="#,###" style="left:541px; top:57px; width:98px; height:19px; text-align:right; "/>
  101. <input id="input8" ref="/root/main/drpt/month_ercnt" format="#,###" style="left:541px; top:81px; width:98px; height:19px; text-align:right; "/>
  102. <input id="input9" ref="/root/main/drpt/beduserate" format="#,###.#%" style="left:440px; top:57px; width:98px; height:19px; text-align:right; "/>
  103. <caption id="caption30" class="cell_1" style="left:5px; top:56px; width:130px; height:23px; text-align:center; vertical-align:middle; ">실인원</caption>
  104. <input id="input11" ref="/root/main/drpt/month_beduserate" format="#,###.#%" style="left:440px; top:81px; width:98px; height:19px; text-align:right; "/>
  105. <caption id="caption10" class="cell_1" style="left:338px; top:32px; width:100px; height:23px; text-align:center; vertical-align:middle; ">재원환자</caption>
  106. <caption id="caption1" class="cell_1" style="left:5px; top:32px; width:130px; height:23px; text-align:center; vertical-align:middle; ">구분</caption>
  107. <input id="input12" ref="/root/main/drpt/opcnt" format="#,###" style="left:238px; top:129px; width:98px; height:19px; text-align:right; "/>
  108. <input id="input13" ref="/root/main/drpt/outcnt" format="#,###" style="left:137px; top:129px; width:98px; height:19px; text-align:right; "/>
  109. <caption id="caption3" class="cell_1" style="left:136px; top:32px; width:100px; height:23px; text-align:center; vertical-align:middle; ">입원환자</caption>
  110. <input id="input14" ref="/root/main/drpt/month_opcnt" format="#,###" style="left:238px; top:153px; width:98px; height:19px; text-align:right; "/>
  111. <caption id="caption4" class="cell_1" style="left:439px; top:32px; width:100px; height:23px; text-align:center; vertical-align:middle; ">재원율(%)</caption>
  112. <input id="input15" ref="/root/main/drpt/month_outcnt" format="#,###" style="left:137px; top:153px; width:98px; height:19px; text-align:right; "/>
  113. <caption id="caption5" class="cell_1" style="left:540px; top:32px; width:100px; height:23px; text-align:center; vertical-align:middle; ">응급실</caption>
  114. <line id="line1" class="line_1" style="x1:5px; y1:27px; x2:640px; y2:27px; "/>
  115. <input id="input1" ref="/root/main/drpt/incnt" format="#,###" style="left:137px; top:57px; width:98px; height:19px; text-align:right; "/>
  116. <caption id="caption15" class="cell_1" style="left:237px; top:32px; width:100px; height:23px; text-align:center; vertical-align:middle; ">퇴원환자</caption>
  117. <input id="input2" ref="/root/main/drpt/month_incnt" format="#,###" style="left:137px; top:81px; width:98px; height:19px; text-align:right; "/>
  118. <input id="input3" ref="/root/main/drpt/dschcnt" format="#,###" style="left:238px; top:57px; width:98px; height:19px; text-align:right; "/>
  119. <caption id="caption17" class="cell_1" style="left:5px; top:80px; width:130px; height:23px; text-align:center; vertical-align:middle; ">월인원</caption>
  120. <caption id="caption8" class="cell_1" style="left:237px; top:104px; width:100px; height:23px; text-align:center; vertical-align:middle; ">수술</caption>
  121. <input id="input4" ref="/root/main/drpt/month_dschcnt" format="#,###" style="left:238px; top:81px; width:98px; height:19px; text-align:right; "/>
  122. <caption id="caption9" class="cell_1" style="left:136px; top:104px; width:100px; height:23px; text-align:center; vertical-align:middle; ">외래환자수</caption>
  123. <input id="input5" ref="/root/main/drpt/admcnt" format="#,###" style="left:339px; top:57px; width:98px; height:19px; text-align:right; "/>
  124. <input id="input6" ref="/root/main/drpt/month_admcnt" format="#,###" style="left:339px; top:81px; width:98px; height:19px; text-align:right; "/>
  125. <line id="line2" class="line_3" style="x1:5px; y1:175px; x2:640px; y2:175px; "/>
  126. <line id="line3" class="line_1" style="x1:5px; y1:332px; x2:1182px; y2:332px; "/>
  127. <caption id="caption32" style="left:10px; top:10px; width:85px; height:15px; font-weight:bold; ">1. 환자현황</caption>
  128. <caption id="caption7" style="left:10px; top:315px; width:85px; height:15px; font-weight:bold; ">2. 빈병상현황</caption>
  129. <datagrid id="datagrid2" nodeset="/root/main/nullward/nullwardlist" class="datagrid2" caption="병동^특실^특실^1인실^1인실^2인실^2인실^3인실^3인실^4인실^4인실^5인실^5인실^6인실^6인실^중환자실^중환자실^기타^기타^합계^합계" colsep="^" colwidth="100, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 60, 60" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:337px; width:1177px; height:160px; ">
  130. <col ref="wardcd" style="text-align:center; "/>
  131. <col ref="ward_vip_tot" format="#,###" style="text-align:right; "/>
  132. <col ref="ward_vip_cnt" format="#,###" style="text-align:right; "/>
  133. <col ref="ward_1_tot" format="#,###" style="text-align:right; "/>
  134. <col ref="ward_1_cnt" format="#,###" style="text-align:right; "/>
  135. <col ref="ward_2_tot" format="#,###" style="text-align:right; "/>
  136. <col ref="ward_2_cnt" format="#,###" style="text-align:right; "/>
  137. <col ref="ward_3_tot" format="#,###" style="text-align:right; "/>
  138. <col ref="ward_3_cnt" format="#,###" style="text-align:right; "/>
  139. <col ref="ward_4_tot" format="#,###" style="text-align:right; "/>
  140. <col ref="ward_4_cnt" format="#,###" style="text-align:right; "/>
  141. <col ref="ward_5_tot" format="#,###" style="text-align:right; "/>
  142. <col ref="ward_5_cnt" format="#,###" style="text-align:right; "/>
  143. <col ref="ward_6_tot" format="#,###" style="text-align:right; "/>
  144. <col ref="ward_6_cnt" format="#,###" style="text-align:right; "/>
  145. <col ref="ward_sd_tot" format="#,###" style="text-align:right; "/>
  146. <col ref="ward_sd_cnt" format="#,###" style="text-align:right; "/>
  147. <col ref="ward_etc_tot" format="#,###" style="text-align:right; "/>
  148. <col ref="ward_etc_cnt" format="#,###" style="text-align:right; "/>
  149. <col ref="ward_tot" format="#,###" style="text-align:right; "/>
  150. <col ref="ward_cnt" format="#,###" style="text-align:right; "/>
  151. </datagrid>
  152. <caption id="caption2" style="left:10px; top:505px; width:155px; height:15px; font-weight:bold; ">3. 교직원가족 및 VIP현황</caption>
  153. <datagrid id="datagrid3" nodeset="/root/main/fmlyvip/fmlyviplist" class="datagrid2" caption="관계^환자번호^환자명^입원일자^진료과^진료의사^병동^병실" colsep="^" colwidth="200, 100, 90, 100, 130, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:527px; width:1177px; height:160px; ">
  154. <col ref="rela" style="text-align:center; "/>
  155. <col ref="pid" style="text-align:center; "/>
  156. <col ref="hngnm" style="text-align:center; "/>
  157. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  158. <col ref="orddeptcd" style="text-align:center; "/>
  159. <col ref="orddrid" style="text-align:center; "/>
  160. <col ref="wardcd" style="text-align:center; "/>
  161. <col ref="roomcd" style="text-align:center; "/>
  162. </datagrid>
  163. <line id="line4" class="line_1" style="x1:5px; y1:522px; x2:1182px; y2:522px; "/>
  164. <datagrid id="datagrid4" nodeset="/root/main/ward/wardlist" caption="병동^실인원^월인원^병동^실인원^월인원^병동^실인원^월인원^병동^실인원^월인원" colsep="^" colwidth="125, 80, 80, 130, 80, 80, 125, 80, 80, 125, 80, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:195px; width:1177px; height:110px; ">
  165. <col ref="wardcd1" style="text-align:center; "/>
  166. <col ref="incnt1" style="text-align:right; "/>
  167. <col ref="month_incnt1" style="text-align:right; "/>
  168. <col ref="wardcd2" style="text-align:center; "/>
  169. <col ref="incnt2" style="text-align:right; "/>
  170. <col ref="month_incnt2" style="text-align:right; "/>
  171. <col ref="wardcd3" style="text-align:center; "/>
  172. <col ref="incnt3" style="text-align:right; "/>
  173. <col ref="month_incnt3" style="text-align:right; "/>
  174. <col ref="wardcd4" style="text-align:center; "/>
  175. <col ref="incnt4" style="text-align:right; "/>
  176. <col ref="month_incnt4" style="text-align:right; "/>
  177. </datagrid>
  178. <caption id="caption20" class="cell_1" style="left:339px; top:104px; width:100px; height:23px; text-align:center; vertical-align:middle; ">금일입원예약</caption>
  179. <caption id="caption14" class="cell_1" style="left:440px; top:104px; width:137px; height:23px; text-align:center; vertical-align:middle; ">총입원예약(금일제외)</caption>
  180. <input id="input29" ref="/root/main/drpt/inrsrvcnt" format="#,###" style="left:340px; top:129px; width:98px; height:19px; text-align:right; "/>
  181. <input id="input30" ref="/root/main/drpt/month_inrsrvcnt" format="#,###" style="left:340px; top:153px; width:98px; height:19px; text-align:right; "/>
  182. <input id="input32" ref="/root/main/drpt/totinrsrvcnt" format="#,###" style="left:441px; top:141px; width:135px; height:19px; text-align:right; "/>
  183. <line id="line5" class="line_1" style="x1:645px; y1:27px; x2:1182px; y2:27px; "/>
  184. <caption id="caption40" class="cell_1" style="left:645px; top:32px; width:537px; height:23px; text-align:center; vertical-align:middle; ">보고사항</caption>
  185. <textarea id="textarea2" ref="/root/main/drpt/incmmt" style="left:645px; top:57px; width:537px; height:118px; text-align:left; "/>
  186. <button id="button59" class="btn5_letter6" style="left:1091px; top:6px; width:86px; height:19px; ">
  187. <caption>코멘트 저장</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. var incmmt = model.getValue("/root/main/drpt/incmmt");
  191. if(incmmt !="" ){
  192. model.makeValue("/root/send/incmmt",incmmt);
  193. }
  194. submit("TXPAS01200");
  195. btn_search.dispatch("DOMActivate");
  196. ]]>
  197. </script>
  198. </button>
  199. <caption id="caption11" class="cell_1" style="left:5px; top:128px; width:130px; height:23px; text-align:center; vertical-align:middle; ">실인원</caption>
  200. <caption id="caption12" class="cell_1" style="left:5px; top:104px; width:130px; height:23px; text-align:center; vertical-align:middle; "/>
  201. <caption id="caption13" class="cell_1" style="left:5px; top:152px; width:130px; height:23px; text-align:center; vertical-align:middle; ">월인원</caption>
  202. <line id="line6" class="line_1" style="x1:5px; y1:190px; x2:1182px; y2:190px; "/>
  203. </case>
  204. <case id="case2">
  205. <line id="line8" class="line_1" style="x1:5px; y1:5px; x2:1182px; y2:5px; "/>
  206. <datagrid id="datagrid1" nodeset="/root/sub/bedinfo/bedinfolist" class="datagrid2" caption="병동^특실^특실^1인실^1인실^2인실^2인실^3인실^3인실^4인실^4인실^5인실^5인실^6인실^6인실^중환자실^중환자실^기타^기타^합계^합계^병동별&#xA;가동율(%)^평균&#xA;가동율(%)" colsep="^" colwidth="110, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 80, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:10px; width:1177px; height:676px; ">
  207. <col ref="wardcd" style="text-align:center; "/>
  208. <col ref="ward_vip_tot" format="#,###" style="text-align:right; "/>
  209. <col ref="ward_vip_cnt" format="#,###" style="text-align:right; "/>
  210. <col ref="ward_1_tot" format="#,###" style="text-align:right; "/>
  211. <col ref="ward_1_cnt" format="#,###" style="text-align:right; "/>
  212. <col ref="ward_2_tot" format="#,###" style="text-align:right; "/>
  213. <col ref="ward_2_cnt" format="#,###" style="text-align:right; "/>
  214. <col ref="ward_3_tot" format="#,###" style="text-align:right; "/>
  215. <col ref="ward_3_cnt" format="#,###" style="text-align:right; "/>
  216. <col ref="ward_4_tot" format="#,###" style="text-align:right; "/>
  217. <col ref="ward_4_cnt" format="#,###" style="text-align:right; "/>
  218. <col ref="ward_5_tot" format="#,###" style="text-align:right; "/>
  219. <col ref="ward_5_cnt" format="#,###" style="text-align:right; "/>
  220. <col ref="ward_6_tot" format="#,###" style="text-align:right; "/>
  221. <col ref="ward_6_cnt" format="#,###" style="text-align:right; "/>
  222. <col ref="ward_sd_tot" format="#,###" style="text-align:right; "/>
  223. <col ref="ward_sd_cnt" format="#,###" style="text-align:right; "/>
  224. <col ref="ward_etc_tot" format="#,###" style="text-align:right; "/>
  225. <col ref="ward_etc_cnt" format="#,###" style="text-align:right; "/>
  226. <col ref="ward_tot" format="#,###" style="text-align:right; "/>
  227. <col ref="ward_cnt" format="#,###" style="text-align:right; "/>
  228. <col ref="ward_use" style="text-align:right; "/>
  229. <col ref="avg_use" style="text-align:right; "/>
  230. </datagrid>
  231. </case>
  232. <case id="case3" selected="true">
  233. <datagrid id="grd_d" nodeset="/root/sub2/deptinfo/deptinfolist" caption="진료과^진료의사^전일재원^전일재원^전일재원^입원^입원^입원^퇴원^퇴원^퇴원^당일입퇴원^퇴원연인원^퇴원연인원^퇴원연인원^전과(IN)^전과(OUT)^금일재원^금일재원^금일재원^금일재원^금일재원^평균&#xA;재원일수^선택진료^선택진료^최종수정일시|진료과^진료의사^남^여^계^남^여^계^남^여^계^당일입퇴원^남^여^계^전과(IN)^전과(OUT)^남^비율^여^비율^계^평균&#xA;재원일수^환자수^비율^최종수정일시" colsep="^" colwidth="120, 90, 60, 60, 60, 60, 60, 60, 60, 60, 60, 90, 60, 60, 60, 90, 90, 60, 60, 60, 60, 60, 90, 60, 60" dataheight="23" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:10px; width:1177px; height:676px; text-align:center; ">
  234. <col ref="orddeptcd" style="text-align:center; "/>
  235. <col ref="orddrid" style="text-align:center; "/>
  236. <col ref="yes_male_admcnt" format="#,###.#" style="left:140px; top:23px; width:100px; height:23px; text-align:right; "/>
  237. <col ref="yes_female_admcnt" format="#,###.#" style="text-align:right; "/>
  238. <col ref="yes_admcnt" format="#,###.#" style="text-align:right; "/>
  239. <col ref="tod_male_incnt" format="#,###.#" style="text-align:right; "/>
  240. <col ref="tod_female_incnt" format="#,###.#" style="text-align:right; "/>
  241. <col ref="tod_incnt" format="#,###.#" style="text-align:right; "/>
  242. <col ref="tod_male_dschcnt" format="#,###.#" style="text-align:right; "/>
  243. <col ref="tod_female_dschcnt" format="#,###.#" style="text-align:right; "/>
  244. <col ref="tod_dschcnt" format="#,###.#" style="text-align:right; "/>
  245. <col ref="tod_indschcnt" format="#,###.#" style="text-align:right; "/>
  246. <col ref="dsch_male_daycnt" format="#,###.#" style="text-align:right; "/>
  247. <col ref="dsch_female_daycnt" format="#,###.#" style="text-align:right; "/>
  248. <col ref="dsch_daycnt" format="#,###.#" style="text-align:right; "/>
  249. <col ref="chg_in" format="#,###.#" style="text-align:right; "/>
  250. <col ref="chg_out" format="#,###.#" style="text-align:right; "/>
  251. <col ref="tod_male_admcnt" format="#,###.#" style="text-align:right; "/>
  252. <col ref="tod_male_rate" format="#,###.#%" style="text-align:right; "/>
  253. <col ref="tod_female_admcnt" format="#,###.#" style="text-align:right; "/>
  254. <col ref="tod_female_rate" format="#,###.#%" style="text-align:right; "/>
  255. <col ref="tod_admcnt" format="#,###.#" style="text-align:right; "/>
  256. <col ref="avg_inday" format="#,###.#" style="text-align:right; "/>
  257. <col ref="speccnt" format="#,###.#" style="text-align:right; "/>
  258. <col ref="specrate" format="#,###.#%" style="text-align:right; "/>
  259. </datagrid>
  260. <line id="line7" class="line_1" style="x1:5px; y1:5px; x2:1182px; y2:5px; "/>
  261. </case>
  262. <case id="case4">
  263. <line id="line9" class="line_1" style="x1:5px; y1:5px; x2:1182px; y2:5px; "/>
  264. <datagrid id="datagrid5" nodeset="/root/sub3/wardcdinfo/wardcdinfolist" caption="병동^전일재원^전일재원^전일재원^입원^입원^입원^퇴원^퇴원^퇴원^당일입퇴원^퇴원연인원^퇴원연인원^퇴원연인원^전과(IN)^전과(OUT)^금일재원^금일재원^금일재원^금일재원^금일재원^평균&#xA;재원일수^선택진료^선택진료^가동율^최종수정일시|병동^남^여^계^남^여^계^남^여^계^당일입퇴원^남^여^계^전과(IN)^전과(OUT)^남^비율^여^비율^계^평균&#xA;재원일수^환자수^비율^가동율^최종수정일시" colsep="^" colwidth="120, 60, 60, 60, 60, 60, 60, 60, 60, 60, 90, 60, 60, 60, 90, 90, 60, 60, 60, 60, 60, 90, 60, 60, 70" dataheight="23" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:10px; width:1177px; height:676px; text-align:center; ">
  265. <col ref="wardcd" style="text-align:center; "/>
  266. <col ref="yes_male_admcnt" format="#,###.#" style="left:140px; top:23px; width:100px; height:23px; text-align:right; "/>
  267. <col ref="yes_female_admcnt" format="#,###.#" style="text-align:right; "/>
  268. <col ref="yes_admcnt" format="#,###.#" style="text-align:right; "/>
  269. <col ref="tod_male_incnt" format="#,###.#" style="text-align:right; "/>
  270. <col ref="tod_female_incnt" format="#,###.#" style="text-align:right; "/>
  271. <col ref="tod_incnt" format="#,###.#" style="text-align:right; "/>
  272. <col ref="tod_male_dschcnt" format="#,###.#" style="text-align:right; "/>
  273. <col ref="tod_female_dschcnt" format="#,###.#" style="text-align:right; "/>
  274. <col ref="tod_dschcnt" format="#,###.#" style="text-align:right; "/>
  275. <col ref="tod_indschcnt" format="#,###.#" style="text-align:right; "/>
  276. <col ref="dsch_male_daycnt" format="#,###.#" style="text-align:right; "/>
  277. <col ref="dsch_female_daycnt" format="#,###.#" style="text-align:right; "/>
  278. <col ref="dsch_daycnt" format="#,###.#" style="text-align:right; "/>
  279. <col ref="chg_in" format="#,###.#" style="text-align:right; "/>
  280. <col ref="chg_out" format="#,###.#" style="text-align:right; "/>
  281. <col ref="tod_male_admcnt" format="#,###.#" style="text-align:right; "/>
  282. <col ref="tod_male_rate" format="#,###.#%" style="text-align:right; "/>
  283. <col ref="tod_female_admcnt" format="#,###.#" style="text-align:right; "/>
  284. <col ref="tod_female_rate" format="#,###.#%" style="text-align:right; "/>
  285. <col ref="tod_admcnt" format="#,###.#" style="text-align:right; "/>
  286. <col ref="avg_inday" format="#,###.#" style="text-align:right; "/>
  287. <col ref="speccnt" format="#,###.#" style="text-align:right; "/>
  288. <col ref="specrate" format="#,###.#%" style="text-align:right; "/>
  289. <col ref="beduserate" format="#,###.#%" style="text-align:right; "/>
  290. </datagrid>
  291. </case>
  292. </switch>
  293. <button id="btn_all" class="btn_sw" group="tab" style="left:0px; top:70px; width:100px; height:22px; ">
  294. <caption>전 체</caption>
  295. <toggle case="case1" ev:event="xforms-activate"/>
  296. <script type="javascript" ev:event="onclick">
  297. <![CDATA[
  298. model.setValue("/root/send/flag","all");
  299. checkbox2.visible = false;
  300. ]]>
  301. </script>
  302. </button>
  303. <group id="group2" style="left:0px; top:25px; width:1190px; height:35px; ">
  304. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  305. <caption id="caption74" class="search_name" style="left:15px; top:9px; width:101px; height:17px; ">마감일자 :</caption>
  306. <button id="btn_search" class="btn1_letter2" navindex="3" style="left:1124px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  307. <caption>조회</caption>
  308. <script type="javascript" ev:event="DOMActivate">
  309. <![CDATA[
  310. if ( model.getValue("/root/send/flag") =="all") {
  311. submit("TRPAS01200");
  312. }else if ( model.getValue("/root/send/flag") =="bed"){
  313. submit("TRPAS01201");
  314. var size = getNodesetCount("/root/sub/bedinfo/bedinfolist");
  315. for(var i=0; i<=size; i++){
  316. var ward_use = model.getValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use");
  317. if( ward_use ==".1%"){
  318. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.1%");
  319. }
  320. if( ward_use ==".2%"){
  321. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.2%");
  322. }
  323. if( ward_use ==".3%"){
  324. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.3%");
  325. }
  326. if( ward_use ==".4%"){
  327. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.4%");
  328. }
  329. if( ward_use ==".5%"){
  330. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.5%");
  331. }
  332. if( ward_use ==".6%"){
  333. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.6%");
  334. }
  335. if( ward_use ==".7%"){
  336. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.7%");
  337. }
  338. if( ward_use ==".8%"){
  339. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.8%");
  340. }
  341. if( ward_use ==".9%"){
  342. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0.9%");
  343. }
  344. if( ward_use ==".0%"){
  345. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/ward_use","0%");
  346. }
  347. var avg_use = model.getValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use");
  348. if( avg_use ==".1%"){
  349. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.1%");
  350. }
  351. if( avg_use ==".2%"){
  352. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.2%");
  353. }
  354. if( avg_use ==".3%"){
  355. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.3%");
  356. }
  357. if( avg_use ==".4%"){
  358. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.4%");
  359. }
  360. if( avg_use ==".5%"){
  361. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.5%");
  362. }
  363. if( avg_use ==".6%"){
  364. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.6%");
  365. }
  366. if( avg_use ==".7%"){
  367. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.7%");
  368. }
  369. if( avg_use ==".8%"){
  370. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.8%");
  371. }
  372. if( avg_use ==".9%"){
  373. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0.9%");
  374. }
  375. if( avg_use ==".0%"){
  376. model.setValue("/root/sub/bedinfo/bedinfolist["+ i +"]/avg_use","0%");
  377. }
  378. var wardcd = model.getValue("/root/sub/bedinfo/bedinfolist["+ i +"]/wardcd");
  379. if( wardcd =="병상가동율" || wardcd =="평균가동율"){
  380. datagrid1.cellFormat(i, datagrid1.colRef("ward_vip_tot") ) = "9999999999";
  381. datagrid1.cellFormat(i, datagrid1.colRef("ward_vip_cnt") ) = "9999999999";
  382. datagrid1.cellFormat(i, datagrid1.colRef("ward_1_tot") ) = "9999999999";
  383. datagrid1.cellFormat(i, datagrid1.colRef("ward_1_cnt") ) = "9999999999";
  384. datagrid1.cellFormat(i, datagrid1.colRef("ward_2_tot") ) = "9999999999";
  385. datagrid1.cellFormat(i, datagrid1.colRef("ward_2_cnt") ) = "9999999999";
  386. datagrid1.cellFormat(i, datagrid1.colRef("ward_3_tot") ) = "9999999999";
  387. datagrid1.cellFormat(i, datagrid1.colRef("ward_3_cnt") ) = "9999999999";
  388. datagrid1.cellFormat(i, datagrid1.colRef("ward_4_tot") ) = "9999999999";
  389. datagrid1.cellFormat(i, datagrid1.colRef("ward_4_cnt") ) = "9999999999";
  390. datagrid1.cellFormat(i, datagrid1.colRef("ward_5_tot") ) = "9999999999";
  391. datagrid1.cellFormat(i, datagrid1.colRef("ward_5_cnt") ) = "9999999999";
  392. datagrid1.cellFormat(i, datagrid1.colRef("ward_6_tot") ) = "9999999999";
  393. datagrid1.cellFormat(i, datagrid1.colRef("ward_6_cnt") ) = "9999999999";
  394. datagrid1.cellFormat(i, datagrid1.colRef("ward_sd_tot") ) = "9999999999";
  395. datagrid1.cellFormat(i, datagrid1.colRef("ward_sd_cnt") ) = "9999999999";
  396. datagrid1.cellFormat(i, datagrid1.colRef("ward_etc_tot") ) = "9999999999";
  397. datagrid1.cellFormat(i, datagrid1.colRef("ward_etc_cnt") ) = "9999999999";
  398. datagrid1.cellFormat(i, datagrid1.colRef("ward_tot") ) = "9999999999";
  399. datagrid1.cellFormat(i, datagrid1.colRef("ward_cnt") ) = "9999999999";
  400. datagrid1.cellFormat(i, datagrid1.colRef("ward_use") ) = "9999999999";
  401. datagrid1.cellFormat(i, datagrid1.colRef("avg_use") ) = "9999999999";
  402. }
  403. }
  404. }else if(model.getValue("/root/send/flag") =="dept"){
  405. submit("TRPAS01202");
  406. }else if(model.getValue("/root/send/flag") =="wardcd"){
  407. submit("TRPAS01203");
  408. }
  409. ]]>
  410. </script>
  411. </button>
  412. <input id="input43" ref="/root/send/enddd" class="input_default" navindex="1" inputtype="date" maxlength="8" style="left:105px; top:8px; width:110px; height:19px; ">
  413. <script type="javascript" ev:event="onkeydown">
  414. <![CDATA[
  415. if( event.keyCode == 13 ) {
  416. var pCurTargetObj = event.ptarget.parent;
  417. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  418. event.keyCode = 9;
  419. pCurTargetObj.dispatch("onkeydown");
  420. } else {
  421. event.keyCode = 9;
  422. }
  423. }
  424. event.stopPropagation();
  425. ]]>
  426. </script>
  427. </input>
  428. <button id="btn_print" class="btn6_letter2" style="left:1064px; top:7px; width:56px; height:22px; ">
  429. <caption>출력</caption>
  430. <script type="javascript" ev:event="DOMActivate">
  431. <![CDATA[
  432. if(btn_all.selected==true){
  433. exeReportPreview("RPPMS02113", "XMLSTR", "","", "false","","","","","false");
  434. }else if(btn_dept.selected==true){
  435. exeReportPreview("RPPMS02125", "XMLSTR", "","", "false","","","","","false");
  436. }else if(btn_ward.selected==true){
  437. exeReportPreview("RPPMS02126", "XMLSTR", "","", "false","","","","","false");
  438. }else if(btn_bed.selected==true){
  439. exeReportPreview("RPPMS02124", "XMLSTR", "","", "false","","","","","false");
  440. }
  441. ]]>
  442. </script>
  443. </button>
  444. <select id="checkbox2" ref="/root/send/orddrid" visibility="hidden" overflow="visible" appearance="full" style="left:225px; top:9px; width:110px; height:20px; border-style:none; ">
  445. <choices>
  446. <item>
  447. <label>진료의사</label>
  448. <value>Y</value>
  449. </item>
  450. </choices>
  451. <script type="javascript" ev:event="xforms-value-changed">
  452. <![CDATA[
  453. var orddrid = model.getValue("/root/send/orddrid");
  454. if( orddrid =="Y"){
  455. grd_d.colHidden(2) = false;
  456. }else{
  457. grd_d.colHidden(2) = true;
  458. }
  459. btn_search.dispatch("DOMActivate");
  460. ]]>
  461. </script>
  462. </select>
  463. </group>
  464. <button id="btn_bed" class="btn_sw" group="tab" style="left:303px; top:70px; width:100px; height:22px; ">
  465. <caption>병상별</caption>
  466. <toggle case="case2" ev:event="xforms-activate"/>
  467. <script type="javascript" ev:event="onclick">
  468. <![CDATA[
  469. model.setValue("/root/send/flag","bed");
  470. checkbox2.visible = false;
  471. ]]>
  472. </script>
  473. </button>
  474. <button id="btn_dept" class="btn_sw" group="tab" style="left:101px; top:70px; width:100px; height:22px; ">
  475. <caption>진료과별</caption>
  476. <toggle case="case3" ev:event="xforms-activate"/>
  477. <script type="javascript" ev:event="onclick">
  478. <![CDATA[
  479. model.setValue("/root/send/flag","dept");
  480. checkbox2.visible = true;
  481. ]]>
  482. </script>
  483. </button>
  484. <button id="btn_ward" class="btn_sw" group="tab" style="left:202px; top:70px; width:100px; height:22px; ">
  485. <caption>병동별</caption>
  486. <toggle case="case4" ev:event="xforms-activate"/>
  487. <script type="javascript" ev:event="onclick">
  488. <![CDATA[
  489. model.setValue("/root/send/flag","wardcd");
  490. checkbox2.visible = false;
  491. ]]>
  492. </script>
  493. </button>
  494. </xhtml:body>
  495. </xhtml:html>