SSMNW00600_병동환자통계.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>병동기간별통계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <inpt>
  11. <inptlist>
  12. <deptengabbr/>
  13. <wdrdroom/>
  14. <reparoom/>
  15. <tdayroom/>
  16. <chngwardcd/>
  17. <totinrmcnt/>
  18. <dschdd/>
  19. <prestwardcd/>
  20. <totoutrmcnt/>
  21. <dethdt/>
  22. <opcnfmdd/>
  23. <gadong/>
  24. <dschrate/>
  25. <avgrepaday/>
  26. <realreparoom/>
  27. <indschtdpat/>
  28. <dept01/>
  29. <dept02/>
  30. <dept03/>
  31. <dept04/>
  32. <dept05/>
  33. <dept06/>
  34. <dept07/>
  35. <dept08/>
  36. <dept09/>
  37. <dept10/>
  38. <dept11/>
  39. <dept12/>
  40. <dept13/>
  41. <dept14/>
  42. <dept15/>
  43. <dept16/>
  44. <dept17/>
  45. <dept18/>
  46. <dept19/>
  47. <dept20/>
  48. <dept21/>
  49. <dept22/>
  50. <dept23/>
  51. <dept24/>
  52. <dept25/>
  53. <dept26/>
  54. <dept27/>
  55. <dept28/>
  56. <dept29/>
  57. <dept30/>
  58. <dept31/>
  59. <dept32/>
  60. <dept33/>
  61. <dept34/>
  62. <dept35/>
  63. <dept36/>
  64. <dept37/>
  65. <dept38/>
  66. <dept39/>
  67. <dept40/>
  68. <dept41/>
  69. <dept42/>
  70. <dept43/>
  71. <dept44/>
  72. <dept45/>
  73. <dept46/>
  74. <dept47/>
  75. <dept48/>
  76. <dept49/>
  77. <dept50/>
  78. <dept51/>
  79. <dept52/>
  80. <dept53/>
  81. <dept54/>
  82. <dept55/>
  83. <dept56/>
  84. <dept57/>
  85. <dept58/>
  86. <dept59/>
  87. <dept60/>
  88. <dept61/>
  89. <dept62/>
  90. <dept63/>
  91. <dept64/>
  92. <dept65/>
  93. <dept66/>
  94. <dept67/>
  95. <dept68/>
  96. <dept69/>
  97. <dept70/>
  98. <dept71/>
  99. <dept72/>
  100. <dept73/>
  101. <dept74/>
  102. <dept75/>
  103. <dept76/>
  104. <dept77/>
  105. <dept78/>
  106. <dept79/>
  107. <dept80/>
  108. <dept81/>
  109. <dept82/>
  110. <dept83/>
  111. <dept84/>
  112. <dept85/>
  113. <dept86/>
  114. <dept87/>
  115. <dept88/>
  116. <dept89/>
  117. <dept90/>
  118. <dept91/>
  119. <dept92/>
  120. <dept93/>
  121. <dept94/>
  122. <dept95/>
  123. <dept96/>
  124. <dept97/>
  125. <dept98/>
  126. <dept99/>
  127. </inptlist>
  128. </inpt>
  129. <cond>
  130. <fromdd/>
  131. <todd/>
  132. <deptcd/>
  133. <srchflag>1</srchflag>
  134. <flag>1</flag>
  135. </cond>
  136. <dept>
  137. <deptlist>
  138. <seq/>
  139. <deptengabbr/>
  140. </deptlist>
  141. </dept>
  142. </main>
  143. <send>
  144. </send>
  145. <init/>
  146. </root>
  147. </instance>
  148. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  149. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  150. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  151. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  152. <script type="javascript" ev:event="xforms-ready">
  153. <![CDATA[
  154. model.setValue(ipt_fromdd.attribute("ref"), getAddDay(getCurrentDate(),-1));
  155. model.setValue(ipt_todd.attribute("ref") , getAddDay(getCurrentDate(),-1));
  156. // model.setValue(ipt_fromdd.attribute("ref"), "20110725");
  157. // model.setValue(ipt_todd.attribute("ref"), "20110725");
  158. ipt_fromdd.refresh();
  159. ipt_todd.refresh();
  160. //submit("TRMNW10802");
  161. var instcd = getUserInfo("dutplceinstcd");
  162. var standard_yn = "orduseyn";
  163. var ord_deptflag = 'W';
  164. var rslt_ref = "/root/init/dept";
  165. var sort_field = "depthngnm";
  166. var sort_method = "asc";
  167. var dt = getCurrentDate();
  168. /////zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method); //부서코드 콤보조회
  169. /////zsdfGetOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, dt );
  170. // 간호외래진료부서콤보 (특정하위부서를 포함- 분만실, 육아상담실, 인공신장실)
  171. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref , sort_field, sort_method, dt);
  172. setTitle();
  173. ]]>
  174. </script>
  175. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  176. <submission id="TRSNW00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inpt"/>
  177. <submission id="TRMNW10802" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/dept"/>
  178. <submission id="TRMNB01203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dept"/>
  179. <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  180. </model>
  181. <script type="javascript">
  182. <![CDATA[
  183. function setTitle() {
  184. addComboItem("cmb_orddept", "전 체", "", "above");
  185. model.makeValue("/root/send/orddd", model.getValue(ipt_fromdd.attribute("ref")));
  186. model.makeValue("/root/send/fromdd", model.getValue(ipt_fromdd.attribute("ref")));
  187. model.makeValue("/root/send/todd", model.getValue(ipt_todd.attribute("ref")));
  188. submit("TRMNB01203");
  189. var inpttitle = "업무일자^부서^병상^재원^입원^전입^입실^퇴원^전출^퇴실^사망^수술^가동율^가동율^전일\n퇴원예고율^전일\n퇴원예고율^평균\n재원일수^실재원^당일\n입퇴원";
  190. var deptengabbr = "";
  191. var cnt = 0;
  192. for(var i = 1 ; i <= grd_deptlist.rows-1 ; i++){
  193. deptengabbr = grd_deptlist.valueMatrix(i, grd_deptlist.colRef("deptengabbr"));
  194. if(deptengabbr == null || deptengabbr == "") {
  195. grd_inptlist.colhidden( grd_inptlist.colRef("indschtdpatcnt") + i ) = true;
  196. } else {
  197. grd_inptlist.colhidden( grd_inptlist.colRef("indschtdpatcnt") + i ) = false;
  198. inpttitle = inpttitle +"^"+ deptengabbr;
  199. cnt++;
  200. }
  201. }
  202. for(var i = cnt+ grd_inptlist.colRef("indschtdpatcnt"); i < grd_inptlist.cols; i++) {
  203. grd_inptlist.colhidden(i+1) = true;
  204. }
  205. grd_inptlist.caption = inpttitle;
  206. }
  207. function getAddDay(inputday,addend){
  208. var backDate ="";
  209. var rt = 0;
  210. var yyyy = inputday.substring(0,4) +"";
  211. var mm = inputday.substring(4,6) +"";
  212. var dd = inputday.substring(6,8) +"";
  213. var startDate = new Date(yyyy,(eval(mm)-1),dd);
  214. startDate.setTime(startDate.getTime()+(86400000*addend));
  215. NowYear = startDate.getYear();// 년
  216. NowMonth = startDate.getMonth()+1;// 월
  217. NowDay = startDate.getDate(); // 일
  218. backDate += NowYear ; //년도
  219. if (NowMonth < 10 ) backDate += "0" + NowMonth ;
  220. else backDate += (startDate.getMonth() + 1);
  221. if (NowDay < 10 ) backDate += "0" + NowDay ;
  222. else backDate += (startDate.getDate());
  223. return backDate ;
  224. }
  225. function fSearch() {
  226. var srchflag = model.getValue(rdo_srchflag.attribute("ref"));
  227. var deptcd = model.getValue(cmb_orddept.attribute("ref"));
  228. var flag = model.getValue(rdo_flag.attribute("ref"));
  229. if(srchflag=="1") {
  230. } else {
  231. if(deptcd== null || deptcd == "") {
  232. messageBox("병동을 선택하십시오.", "I");
  233. return;
  234. }
  235. }
  236. model.makeValue("/root/send/reqdata/fromdd", model.getValue(ipt_fromdd.attribute("ref")));
  237. model.makeValue("/root/send/reqdata/todd" , model.getValue(ipt_todd.attribute("ref")));
  238. model.makeValue("/root/send/reqdata/deptcd", model.getValue(cmb_orddept.attribute("ref")));
  239. model.makeValue("/root/send/reqdata/srchflag", srchflag);
  240. model.makeValue("/root/send/reqdata/flag", flag);
  241. submit("TRSNW00601");
  242. grd_inptlist.subtotalPosition="below";
  243. var srchflag = model.getValue(rdo_srchflag.attribute("ref"));
  244. if(srchflag == "1") {
  245. grd_inptlist.subtotal("sum", -1,2, "#,###.##", "background-color:#99ff99", 0, "");
  246. grd_inptlist.subtotal("sum", -1,3, "#,###.##", "background-color:#99ff99", 0, "");
  247. grd_inptlist.subtotal("sum", -1, 17, "#,###.##", "background-color:#99ff99", 0, "");
  248. } else {
  249. grd_inptlist.subtotal("average", -1,2, "#,###.##", "background-color:#99ff99", 0, "");
  250. grd_inptlist.subtotal("average", -1,3, "#,###.##", "background-color:#99ff99", 0, "");
  251. grd_inptlist.subtotal("average", -1, 17, "#,###.##", "background-color:#99ff99", 0, "");
  252. }
  253. grd_inptlist.subtotal("sum", -1, 4, "#,###.##", "background-color:#99ff99", 0, "");
  254. grd_inptlist.subtotal("sum", -1, 5, "#,###.##", "background-color:#99ff99", 0, "");
  255. grd_inptlist.subtotal("sum", -1, 6, "#,###.##", "background-color:#99ff99", 0, "");
  256. grd_inptlist.subtotal("sum", -1, 7, "#,###.##", "background-color:#99ff99", 0, "");
  257. grd_inptlist.subtotal("sum", -1, 8, "#,###.##", "background-color:#99ff99", 0, "");
  258. grd_inptlist.subtotal("sum", -1, 9, "#,###.##", "background-color:#99ff99", 0, "");
  259. grd_inptlist.subtotal("sum", -1, 10, "#,###.##", "background-color:#99ff99", 0, "");
  260. grd_inptlist.subtotal("sum", -1, 11, "#,###.##", "background-color:#99ff99", 0, "");
  261. grd_inptlist.subtotal("average", -1, 12, "#,###", "background-color:#99ff99", 13, "%");
  262. grd_inptlist.subtotal("average", -1, 14, "#,###", "background-color:#99ff99", 15, "%");
  263. grd_inptlist.subtotal("average", -1, 16, "#,###", "background-color:#99ff99", 0, "");
  264. grd_inptlist.subtotal("sum", -1, 18, "#,###.##", "background-color:#99ff99", 0, "");
  265. for(var i = grd_inptlist.colRef("dept01"); i <=grd_inptlist.colRef("dept99"); i++){
  266. grd_inptlist.subtotal("sum", -1, i, "#,###", "background-color:#99ff99", 0, "");
  267. }
  268. //
  269. // grd_inptlist.subtotal("sum", -1, 18, "#,###", "background-color:#99ff99", 0, "");
  270. // grd_inptlist.subtotal("sum", -1, 19, "#,###", "background-color:#99ff99", 0, "");
  271. // grd_inptlist.subtotal("sum", -1, 20, "#,###", "background-color:#99ff99", 0, "");
  272. // grd_inptlist.subtotal("sum", -1, 21, "#,###", "background-color:#99ff99", 0, "");
  273. // grd_inptlist.subtotal("sum", -1, 22, "#,###", "background-color:#99ff99", 0, "");
  274. // grd_inptlist.subtotal("sum", -1, 23, "#,###", "background-color:#99ff99", 0, "");
  275. // grd_inptlist.subtotal("sum", -1, 24, "#,###", "background-color:#99ff99", 0, "");
  276. // grd_inptlist.subtotal("sum", -1, 25, "#,###", "background-color:#99ff99", 0, "");
  277. // grd_inptlist.subtotal("sum", -1, 26, "#,###", "background-color:#99ff99", 0, "");
  278. // grd_inptlist.subtotal("sum", -1, 27, "#,###", "background-color:#99ff99", 0, "");
  279. // grd_inptlist.subtotal("sum", -1, 28, "#,###", "background-color:#99ff99", 0, "");
  280. // grd_inptlist.subtotal("sum", -1, 29, "#,###", "background-color:#99ff99", 0, "");
  281. // grd_inptlist.subtotal("sum", -1, 30, "#,###", "background-color:#99ff99", 0, "");
  282. // grd_inptlist.subtotal("sum", -1, 31, "#,###", "background-color:#99ff99", 0, "");
  283. // grd_inptlist.subtotal("sum", -1, 32, "#,###", "background-color:#99ff99", 0, "");
  284. // grd_inptlist.subtotal("sum", -1, 33, "#,###", "background-color:#99ff99", 0, "");
  285. // grd_inptlist.subtotal("sum", -1, 34, "#,###", "background-color:#99ff99", 0, "");
  286. // grd_inptlist.subtotal("sum", -1, 35, "#,###", "background-color:#99ff99", 0, "");
  287. // grd_inptlist.subtotal("sum", -1, 36, "#,###", "background-color:#99ff99", 0, "");
  288. // grd_inptlist.subtotal("sum", -1, 37, "#,###", "background-color:#99ff99", 0, "");
  289. // grd_inptlist.subtotal("sum", -1, 38, "#,###", "background-color:#99ff99", 0, "");
  290. // grd_inptlist.subtotal("sum", -1, 39, "#,###", "background-color:#99ff99", 0, "");
  291. // grd_inptlist.subtotal("sum", -1, 40, "#,###", "background-color:#99ff99", 0, "");
  292. // grd_inptlist.subtotal("sum", -1, 41, "#,###", "background-color:#99ff99", 0, "");
  293. // grd_inptlist.subtotal("sum", -1, 42, "#,###", "background-color:#99ff99", 0, "");
  294. // grd_inptlist.subtotal("sum", -1, 43, "#,###", "background-color:#99ff99", 0, "");
  295. // grd_inptlist.subtotal("sum", -1, 44, "#,###", "background-color:#99ff99", 0, "");
  296. // grd_inptlist.subtotal("sum", -1, 45, "#,###", "background-color:#99ff99", 0, "");
  297. // grd_inptlist.subtotal("sum", -1, 46, "#,###", "background-color:#99ff99", 0, "");
  298. // grd_inptlist.subtotal("sum", -1, 47, "#,###", "background-color:#99ff99", 0, "");
  299. // grd_inptlist.subtotal("sum", -1, 48, "#,###", "background-color:#99ff99", 0, "");
  300. // grd_inptlist.subtotal("sum", -1, 49, "#,###", "background-color:#99ff99", 0, "");
  301. // grd_inptlist.subtotal("sum", -1, 50, "#,###", "background-color:#99ff99", 0, "");
  302. // grd_inptlist.subtotal("sum", -1, 51, "#,###", "background-color:#99ff99", 0, "");
  303. // grd_inptlist.subtotal("sum", -1, 52, "#,###", "background-color:#99ff99", 0, "");
  304. // grd_inptlist.subtotal("sum", -1, 53, "#,###", "background-color:#99ff99", 0, "");
  305. // grd_inptlist.subtotal("sum", -1, 54, "#,###", "background-color:#99ff99", 0, "");
  306. // grd_inptlist.subtotal("sum", -1, 55, "#,###", "background-color:#99ff99", 0, "");
  307. // grd_inptlist.subtotal("sum", -1, 56, "#,###", "background-color:#99ff99", 0, "");
  308. // grd_inptlist.subtotal("sum", -1, 57, "#,###", "background-color:#99ff99", 0, "");
  309. // grd_inptlist.subtotal("sum", -1, 58, "#,###", "background-color:#99ff99", 0, "");
  310. // grd_inptlist.subtotal("sum", -1, 59, "#,###", "background-color:#99ff99", 0, "");
  311. // grd_inptlist.subtotal("sum", -1, 60, "#,###", "background-color:#99ff99", 0, "");
  312. // grd_inptlist.subtotal("sum", -1, 61, "#,###", "background-color:#99ff99", 0, "");
  313. // grd_inptlist.subtotal("sum", -1, 62, "#,###", "background-color:#99ff99", 0, "");
  314. // grd_inptlist.subtotal("sum", -1, 63, "#,###", "background-color:#99ff99", 0, "");
  315. // grd_inptlist.subtotal("sum", -1, 64, "#,###", "background-color:#99ff99", 0, "");
  316. // grd_inptlist.subtotal("sum", -1, 65, "#,###", "background-color:#99ff99", 0, "");
  317. // grd_inptlist.subtotal("sum", -1, 66, "#,###", "background-color:#99ff99", 0, "");
  318. // grd_inptlist.subtotal("sum", -1, 67, "#,###", "background-color:#99ff99", 0, "");
  319. // grd_inptlist.subtotal("sum", -1, 68, "#,###", "background-color:#99ff99", 0, "");
  320. // grd_inptlist.subtotal("sum", -1, 69, "#,###", "background-color:#99ff99", 0, "");
  321. // grd_inptlist.subtotal("sum", -1, 70, "#,###", "background-color:#99ff99", 0, "");
  322. // grd_inptlist.subtotal("sum", -1, 71, "#,###", "background-color:#99ff99", 0, "");
  323. // grd_inptlist.subtotal("sum", -1, 72, "#,###", "background-color:#99ff99", 0, "");
  324. }
  325. ]]>
  326. </script>
  327. </xhtml:head>
  328. <xhtml:body guideline="1,1195;2,822;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  329. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  330. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">병동통계</caption>
  331. </group>
  332. <group id="group2" style="left:0px; top:13px; width:1195px; height:719px; vertical-align:top; ">
  333. <datagrid id="grd_inptlist" nodeset="/root/main/inpt/inptlist" class="datagrid2" caption="업무일자^부서^병상^재원^입원^전입^입실^퇴원^전출^퇴실^사망^수술^가동율^가동율^전일&#xA;퇴원예고율^전일&#xA;퇴원예고율^평균&#xA;재원일수^실재원^당일&#xA;입퇴원" colsep="^" colwidth="80, 90, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 36, 19, 53, 18, 60, 47, 47, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35" explorerbar="sort" frozencols="11" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:1195px; height:620px; vertical-align:middle; ">
  334. <col ref="stsdd" format="yyyy-mm-dd"/>
  335. <col ref="wardnm" type="output"/>
  336. <col ref="roomcnt" roundmode="round" roundposition="2" style="text-align:right; "/>
  337. <col ref="ingcnt" roundmode="round" roundposition="2" style="text-align:right; "/>
  338. <col ref="inptcnt" style="text-align:right; "/>
  339. <col ref="trnsinrmcnt" style="text-align:right; "/>
  340. <col ref="totinrmcnt" style="text-align:right; "/>
  341. <col ref="dschcnt" style="text-align:right; "/>
  342. <col ref="trnsoutrmcnt" style="text-align:right; "/>
  343. <col ref="totoutrmcnt" style="text-align:right; "/>
  344. <col ref="dethcnt" style="text-align:right; "/>
  345. <col ref="opcnfmcnt" style="text-align:right; "/>
  346. <col ref="gadong" style="text-align:right; "/>
  347. <col ref="gadongper" style="text-align:right; "/>
  348. <col ref="dschrate" style="text-align:right; "/>
  349. <col ref="dschrateper"/>
  350. <col ref="avgrepaday" style="text-align:right; "/>
  351. <col ref="realreparoomcnt" style="text-align:right; "/>
  352. <col ref="indschtdpatcnt" style="text-align:right; "/>
  353. <col ref="dept01" style="text-align:right; "/>
  354. <col ref="dept02" style="text-align:right; "/>
  355. <col ref="dept03" style="text-align:right; "/>
  356. <col ref="dept04" style="text-align:right; "/>
  357. <col ref="dept05" style="text-align:right; "/>
  358. <col ref="dept06" style="text-align:right; "/>
  359. <col ref="dept07" style="text-align:right; "/>
  360. <col ref="dept08" style="text-align:right; "/>
  361. <col ref="dept09" style="text-align:right; "/>
  362. <col ref="dept10" style="text-align:right; "/>
  363. <col ref="dept11" style="text-align:right; "/>
  364. <col ref="dept12" style="text-align:right; "/>
  365. <col ref="dept13" style="text-align:right; "/>
  366. <col ref="dept14" style="text-align:right; "/>
  367. <col ref="dept15" style="text-align:right; "/>
  368. <col ref="dept16" style="text-align:right; "/>
  369. <col ref="dept17" style="text-align:right; "/>
  370. <col ref="dept18" style="text-align:right; "/>
  371. <col ref="dept19" style="text-align:right; "/>
  372. <col ref="dept20" style="text-align:right; "/>
  373. <col ref="dept21" style="text-align:right; "/>
  374. <col ref="dept22" style="text-align:right; "/>
  375. <col ref="dept23" style="text-align:right; "/>
  376. <col ref="dept24" style="text-align:right; "/>
  377. <col ref="dept25" style="text-align:right; "/>
  378. <col ref="dept26" style="text-align:right; "/>
  379. <col ref="dept27" style="text-align:right; "/>
  380. <col ref="dept28" style="text-align:right; "/>
  381. <col ref="dept29" style="text-align:right; "/>
  382. <col ref="dept30" style="text-align:right; "/>
  383. <col ref="dept31" style="text-align:right; "/>
  384. <col ref="dept32" style="text-align:right; "/>
  385. <col ref="dept33" style="text-align:right; "/>
  386. <col ref="dept34" style="text-align:right; "/>
  387. <col ref="dept35" style="text-align:right; "/>
  388. <col ref="dept36" style="text-align:right; "/>
  389. <col ref="dept37" style="text-align:right; "/>
  390. <col ref="dept38" style="text-align:right; "/>
  391. <col ref="dept39" style="text-align:right; "/>
  392. <col ref="dept40" style="text-align:right; "/>
  393. <col ref="dept41" style="text-align:right; "/>
  394. <col ref="dept42" style="text-align:right; "/>
  395. <col ref="dept43" style="text-align:right; "/>
  396. <col ref="dept44" style="text-align:right; "/>
  397. <col ref="dept45" style="text-align:right; "/>
  398. <col ref="dept46" style="text-align:right; "/>
  399. <col ref="dept47" style="text-align:right; "/>
  400. <col ref="dept48" style="text-align:right; "/>
  401. <col ref="dept49" style="text-align:right; "/>
  402. <col ref="dept50" style="text-align:right; "/>
  403. <col ref="dept51" style="text-align:right; "/>
  404. <col ref="dept52" style="text-align:right; "/>
  405. <col ref="dept53" style="text-align:right; "/>
  406. <col ref="dept54" style="text-align:right; "/>
  407. <col ref="dept55" style="text-align:right; "/>
  408. <col ref="dept56" style="text-align:right; "/>
  409. <col ref="dept57" style="text-align:right; "/>
  410. <col ref="dept58" style="text-align:right; "/>
  411. <col ref="dept59" style="text-align:right; "/>
  412. <col ref="dept60" style="text-align:right; "/>
  413. <col ref="dept61" style="text-align:right; "/>
  414. <col ref="dept62" style="text-align:right; "/>
  415. <col ref="dept63" style="text-align:right; "/>
  416. <col ref="dept64" style="text-align:right; "/>
  417. <col ref="dept65" style="text-align:right; "/>
  418. <col ref="dept66" style="text-align:right; "/>
  419. <col ref="dept67" style="text-align:right; "/>
  420. <col ref="dept68" style="text-align:right; "/>
  421. <col ref="dept69" style="text-align:right; "/>
  422. <col ref="dept70" style="text-align:right; "/>
  423. <col ref="dept71" style="text-align:right; "/>
  424. <col ref="dept72" style="text-align:right; "/>
  425. <col ref="dept73" style="text-align:right; "/>
  426. <col ref="dept74" style="text-align:right; "/>
  427. <col ref="dept75" style="text-align:right; "/>
  428. <col ref="dept76" style="text-align:right; "/>
  429. <col ref="dept77" style="text-align:right; "/>
  430. <col ref="dept78" style="text-align:right; "/>
  431. <col ref="dept79" style="text-align:right; "/>
  432. <col ref="dept80" style="text-align:right; "/>
  433. <col ref="dept81" style="text-align:right; "/>
  434. <col ref="dept82" style="text-align:right; "/>
  435. <col ref="dept83" style="text-align:right; "/>
  436. <col ref="dept84" style="text-align:right; "/>
  437. <col ref="dept85" style="text-align:right; "/>
  438. <col ref="dept86" style="text-align:right; "/>
  439. <col ref="dept87" style="text-align:right; "/>
  440. <col ref="dept88" style="text-align:right; "/>
  441. <col ref="dept89" style="text-align:right; "/>
  442. <col ref="dept90" style="text-align:right; "/>
  443. <col ref="dept91" style="text-align:right; "/>
  444. <col ref="dept92" style="text-align:right; "/>
  445. <col ref="dept93" style="text-align:right; "/>
  446. <col ref="dept94" style="text-align:right; "/>
  447. <col ref="dept95" style="text-align:right; "/>
  448. <col ref="dept96" style="text-align:right; "/>
  449. <col ref="dept97" style="text-align:right; "/>
  450. <col ref="dept98" style="text-align:right; "/>
  451. <col ref="dept99" style="text-align:right; "/>
  452. <script type="javascript" ev:event="onaftersort">
  453. <![CDATA[
  454. grd_inptlist.gridToInstance();
  455. grd_inptlist.refresh();
  456. ]]>
  457. </script>
  458. </datagrid>
  459. <caption id="caption1" class="tit_2" style="left:0px; top:56px; width:115px; height:13px; ">병동별현황</caption>
  460. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  461. <group id="group3" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  462. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  463. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_default" navindex="1" inputtype="date" style="left:100px; top:9px; width:100px; height:19px; ">
  464. <script type="javascript" ev:event="xforms-value-changed">
  465. <![CDATA[
  466. ]]>
  467. </script>
  468. </input>
  469. <caption id="caption8" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">업무일자 :</caption>
  470. <button id="btn_srch" class="btn1_letter2" navindex="5" style="left:1065px; top:7px; width:56px; height:22px; ">
  471. <caption>조회</caption>
  472. <script type="javascript" ev:event="DOMActivate">
  473. <![CDATA[
  474. setTitle();
  475. fSearch();
  476. ]]>
  477. </script>
  478. </button>
  479. <button id="button24" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
  480. <caption>엑셀</caption>
  481. <script type="javascript" ev:event="DOMActivate">
  482. <![CDATA[
  483. fileName = window.fileDialog("save", ",", false, "병동통계", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  484. grd_inptlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
  485. ]]>
  486. </script>
  487. </button>
  488. <line id="line2" class="line_4" style="x1:1055px; y1:7px; x2:1055px; y2:29px; "/>
  489. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_default" navindex="1" inputtype="date" style="left:220px; top:9px; width:100px; height:19px; ">
  490. <script type="javascript" ev:event="xforms-value-changed">
  491. <![CDATA[
  492. ]]>
  493. </script>
  494. </input>
  495. <caption id="caption2" style="left:205px; top:9px; width:15px; height:20px; font-weight:bold; ">~</caption>
  496. <select1 id="cmb_orddept" ref="/root/main/cond/deptcd" appearance="minimal" style="left:550px; top:8px; width:100px; height:19px; ">
  497. <choices>
  498. <itemset nodeset="/root/init/dept/dept">
  499. <label ref="depthngnm"/>
  500. <value ref="deptcd"/>
  501. </itemset>
  502. </choices>
  503. </select1>
  504. <caption id="caption3" class="search_name" style="left:460px; top:10px; width:86px; height:17px; ">부서코드 :</caption>
  505. <select1 id="rdo_srchflag" ref="/root/main/cond/srchflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:330px; top:10px; width:130px; height:13px; border-style:none; ">
  506. <choices>
  507. <item>
  508. <label>기간별</label>
  509. <value>1</value>
  510. </item>
  511. <item>
  512. <label>병동별</label>
  513. <value>2</value>
  514. </item>
  515. </choices>
  516. <script type="javascript" ev:event="xforms-value-changed">
  517. <![CDATA[
  518. var srchflag = model.getValue(rdo_srchflag.attribute("ref"));
  519. if(srchflag == "1") {
  520. model.setValue( cmb_orddept.attribute("ref"), "");
  521. cmb_orddept.refresh();
  522. grd_inptlist.colHidden(grd_inptlist.colRef("stsdd")) = true;
  523. grd_inptlist.colHidden(grd_inptlist.colRef("wardnm")) = false;
  524. } else{
  525. model.setValue( cmb_orddept.attribute("ref"), getUserInfo("dutplcecd"));
  526. cmb_orddept.refresh();
  527. grd_inptlist.colHidden(grd_inptlist.colRef("stsdd")) = false;
  528. grd_inptlist.colHidden(grd_inptlist.colRef("wardnm")) = true;
  529. }
  530. fSearch();
  531. ]]>
  532. </script>
  533. </select1>
  534. <select1 id="rdo_flag" ref="/root/main/cond/flag" appearance="full" cols="2" overflow="visible" style="left:800px; top:10px; width:100px; height:20px; border-style:none; ">
  535. <choices>
  536. <item>
  537. <label>입원</label>
  538. <value>1</value>
  539. </item>
  540. <item>
  541. <label>재원</label>
  542. <value>2</value>
  543. </item>
  544. </choices>
  545. </select1>
  546. <caption id="caption4" class="search_name" style="left:660px; top:10px; width:138px; height:17px; ">과별건수조회방법 :</caption>
  547. </group>
  548. <datagrid id="grd_deptlist" nodeset="/root/main/dept/deptlist" visibility="hidden" caption="seq^deptengabbr" colsep="^" colwidth="53, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:790px; top:130px; width:146px; height:150px; ">
  549. <col ref="seq"/>
  550. <col ref="deptengabbr"/>
  551. </datagrid>
  552. <caption id="caption5" style="left:0px; top:697px; width:1144px; height:20px; ">* 과별건수조회방법 항목이 입원일 경우에는 과별 건수가 일자별, 월별 입원환자수에 대한 건수가 조회되고, 재원일 경우에는 일자별, 월별 재원환자수에 대한 건수가 조회됩니다. 병상수는 허가병상수 기준입니다.</caption>
  553. </group>
  554. </xhtml:body>
  555. </xhtml:html>