SMMNE02100_과별 환자 현황.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  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. <cond>
  11. <fromdd/>
  12. <todd/>
  13. <kindflag>1</kindflag>
  14. </cond>
  15. <deptlist>
  16. <deptinfomm>
  17. <srctm/>
  18. <deptmdcnt/>
  19. <deptmhcnt/>
  20. <deptmgcnt/>
  21. <deptmicnt/>
  22. <deptmecnt/>
  23. <deptmccnt/>
  24. <deptmpcnt/>
  25. <deptmncnt/>
  26. <deptmrcnt/>
  27. <deptmocnt/>
  28. <deptnucnt/>
  29. <deptnpcnt/>
  30. <deptgscnt/>
  31. <deptoscnt/>
  32. <deptnscnt/>
  33. <deptcscnt/>
  34. <deptpscnt/>
  35. <deptobgycnt/>
  36. <deptodcnt/>
  37. <deptpdcnt/>
  38. <depteycnt/>
  39. <deptetcnt/>
  40. <deptdrcnt/>
  41. <depturcnt/>
  42. <deptdtcnt/>
  43. <deptetccnt/>
  44. <deptedcnt/>
  45. <deptrmcnt/>
  46. <deptfmcnt/>
  47. <depthccnt/>
  48. <pattotal/>
  49. <inpatcnt/>
  50. <icupatcnt/>
  51. <diepatcnt/>
  52. <doapatcnt/>
  53. <opinpatcnt/>
  54. <cprpatcnt/>
  55. <outcurecnt/>
  56. </deptinfomm>
  57. <deptinfodd>
  58. <srctm/>
  59. <deptmdcnt/>
  60. <deptmhcnt/>
  61. <deptmgcnt/>
  62. <deptmicnt/>
  63. <deptmecnt/>
  64. <deptmccnt/>
  65. <deptmpcnt/>
  66. <deptmncnt/>
  67. <deptmrcnt/>
  68. <deptmocnt/>
  69. <deptnucnt/>
  70. <deptnpcnt/>
  71. <deptgscnt/>
  72. <deptoscnt/>
  73. <deptnscnt/>
  74. <deptcscnt/>
  75. <deptpscnt/>
  76. <deptobgycnt/>
  77. <deptodcnt/>
  78. <deptpdcnt/>
  79. <depteycnt/>
  80. <deptetcnt/>
  81. <deptdrcnt/>
  82. <depturcnt/>
  83. <deptdtcnt/>
  84. <deptetccnt/>
  85. <deptedcnt/>
  86. <deptrmcnt/>
  87. <deptfmcnt/>
  88. <depthccnt/>
  89. <pattotal/>
  90. <inpatcnt/>
  91. <icupatcnt/>
  92. <diepatcnt/>
  93. <doapatcnt/>
  94. <opinpatcnt/>
  95. <cprpatcnt/>
  96. <outcurecnt/>
  97. </deptinfodd>
  98. <deptsum>
  99. <srctm/>
  100. <deptmdcnt/>
  101. <deptmhcnt/>
  102. <deptmgcnt/>
  103. <deptmicnt/>
  104. <deptmecnt/>
  105. <deptmccnt/>
  106. <deptmpcnt/>
  107. <deptmncnt/>
  108. <deptmrcnt/>
  109. <deptmocnt/>
  110. <deptnucnt/>
  111. <deptnpcnt/>
  112. <deptgscnt/>
  113. <deptoscnt/>
  114. <deptnscnt/>
  115. <deptcscnt/>
  116. <deptpscnt/>
  117. <deptobgycnt/>
  118. <deptodcnt/>
  119. <deptpdcnt/>
  120. <depteycnt/>
  121. <deptetcnt/>
  122. <deptdrcnt/>
  123. <depturcnt/>
  124. <deptdtcnt/>
  125. <deptetccnt/>
  126. <deptedcnt/>
  127. <deptrmcnt/>
  128. <deptfmcnt/>
  129. <depthccnt/>
  130. <pattotal/>
  131. <inpatcnt/>
  132. <icupatcnt/>
  133. <diepatcnt/>
  134. <doapatcnt/>
  135. <opinpatcnt/>
  136. <cprpatcnt/>
  137. <outcurecnt/>
  138. </deptsum>
  139. </deptlist>
  140. </main>
  141. <codedata>
  142. <popup>
  143. <item>
  144. <name>상세환자리스트</name>
  145. <func>fSrcPatDay</func>
  146. </item>
  147. <itemmonth>
  148. <name>상세환자리스트</name>
  149. <func>fSrcPatMonth</func>
  150. </itemmonth>
  151. </popup>
  152. </codedata>
  153. <srcdata>
  154. <list/>
  155. </srcdata>
  156. </root>
  157. </instance>
  158. <submission id="TRMNE02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/deptlist"/>
  159. <submission id="TRMNE02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/srcdata/list"/>
  160. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  161. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  162. <script type="javascript" ev:event="xforms-ready">
  163. <![CDATA[
  164. fInit();
  165. ]]>
  166. </script>
  167. </model>
  168. <script type="javascript">
  169. <![CDATA[
  170. function fSearchList(){
  171. var sSrchData = "";
  172. var sSrchHeader = "fromdd▦todd▦kindflag▩";
  173. var sSrchData = model.getValue("/root/main/cond/fromdd") + "▦"
  174. + model.getValue("/root/main/cond/todd") + "▦"
  175. + model.getValue("/root/main/cond/kindflag") + "▩";
  176. model.removenode("/root/send");
  177. model.makeValue("/root/send/cond", sSrchHeader + sSrchData);
  178. submit("TRMNE02101");
  179. }
  180. function fInit(){
  181. model.setValue("/root/main/cond/fromdd", getCurrentDate() );
  182. model.setValue("/root/main/cond/todd", getCurrentDate() );
  183. fSearchList();
  184. model.refresh();
  185. }
  186. function fSrcPatMonth() {
  187. fSrcPat("M");
  188. }
  189. function fSrcPatDay() {
  190. fSrcPat("D");
  191. }
  192. function fSrcPat(plag) {
  193. var sCol = "";
  194. var sRow = "";
  195. var sDoc = "";
  196. var sSrcData = "";
  197. var title = "";
  198. var sSrcData2 = "";
  199. var outcurecntCol = "";
  200. // window.load( "SMMNE03300_대기시간별상세환자리스트.xrw", "modeless" , "test", "left:100px; top:100px; width:800px; height:600px;");
  201. if(plag == "D"){
  202. sCol = grd_daylist.col;
  203. sRow = grd_daylist.row ;
  204. sDoc = grd_daylist.colAttribute(sCol, "ref") ;
  205. outcurecntCol = grd_daylist.colRef("outcurecnt");
  206. } else {
  207. sCol = grd_monthlist.col;
  208. sRow = grd_monthlist.row ;
  209. sDoc = grd_monthlist.colAttribute(sCol, "ref") ;
  210. outcurecntCol = grd_monthlist.colRef("outcurecnt");
  211. }
  212. if(sCol == "1" || sCol > outcurecntCol ){
  213. return;
  214. }
  215. if(plag == "D"){
  216. if( isNull( model.getValue("/root/main/deptlist/deptinfodd["+sRow+"]/"+ sDoc+"" ) ) ){
  217. return;
  218. } else {
  219. model.removenode("/root/send");
  220. model.makeValue("/root/send/srcdate", model.getValue("/root/main/deptlist/deptinfodd["+sRow+"]/srctm"));
  221. model.makeValue("/root/send/flag", "D");
  222. }
  223. } else {
  224. if( isNull( model.getValue("/root/main/deptlist/deptinfomm["+sRow+"]/"+ sDoc+"" ) ) ){
  225. return;
  226. } else {
  227. model.removenode("/root/send");
  228. model.makeValue("/root/send/srcdate", model.getValue("/root/main/deptlist/deptinfomm["+sRow+"]/srctm"));
  229. model.makeValue("/root/send/flag", "M");
  230. }
  231. }
  232. switch(sCol){
  233. case 2 : sSrcData = "E01" ; break;//MD
  234. case 3 : sSrcData = "E07" ; break;//MH
  235. case 4 : sSrcData = "E02" ; break;//MG
  236. case 5 : sSrcData = "E09" ; break;//MI
  237. case 6 : sSrcData = "E04" ; break;//ME
  238. case 7 : sSrcData = "E03" ; break;//MC
  239. case 8 : sSrcData = "E05" ; break;//MP
  240. case 9 : sSrcData = "E06" ; break;//MN
  241. case 10 : sSrcData = "E10" ; break;//MR
  242. case 11 : sSrcData = "E08" ; break;//MO
  243. case 12 : sSrcData = "E11" ; break;//NU
  244. case 13 : sSrcData = "E12" ; break;//NP
  245. case 14 : sSrcData = "E13" ; break;//GS
  246. case 15 : sSrcData = "E14" ; break;//OS
  247. case 16 : sSrcData = "E15" ; break;//NS
  248. case 17 : sSrcData = "E16" ; break;//CS
  249. case 18 : sSrcData = "E17" ; break;//PS
  250. case 19 : sSrcData = "E19" ; break;//OBGY
  251. case 20 : sSrcData = "E34" ; break;//OD
  252. case 21 : sSrcData = "E20" ; break;//PD
  253. case 22 : sSrcData = "E21" ; break;//EY
  254. case 23 : sSrcData = "E22" ; break;//ET
  255. case 24 : sSrcData = "E23" ; break;//DR
  256. case 25 : sSrcData = "E24" ; break;//UR
  257. case 26 : sSrcData = "E32" ; break;//DT
  258. case 27 : sSrcData = "ETC" ; break;//'E18', 'E25', 'E26', 'E27', 'E28', 'E29'
  259. case 28 : sSrcData = "E33" ; break;//ED
  260. case 29 : sSrcData = "E30" ; break;//RM
  261. case 30 : sSrcData = "E31" ; break;//FM
  262. case 31 : sSrcData = "HC"; sSrcData2 = "Y"; title = "호스피스"; break;
  263. case 32 : sSrcData = "TT" ; titletotm = "전체"; break; // 계ㅇㅇ
  264. case 33: sSrcData = "INR" ; sSrcData2 = "Y"; title = "입원"; break; // 입원수
  265. case 34 : sSrcData = "ICU" ; sSrcData2 = "Y"; title = "ICU"; break; // ICU
  266. case 35 : sSrcData = "DIE" ; sSrcData2 = "Y"; title = "사망"; break; // 사망
  267. case 36 : sSrcData = "DOA" ; sSrcData2 = "Y"; title = "DOA"; break; // DOA
  268. case 37 : sSrcData = "OP" ; sSrcData2 = "Y"; title = "수술입원"; break; // 수술입원
  269. case 38 : sSrcData = "CPR"; sSrcData2 = "Y"; title = "CPR"; break; // CPR
  270. case 39 : sSrcData = "OUT"; sSrcData2 = "Y"; title = "외래처치"; break; // 외래처치ㅇㅇ
  271. }
  272. //alert(sSrcData);
  273. model.makeValue("/root/send/srcdata", sSrcData );
  274. model.makeValue("/root/send/srcdata2", sSrcData2);
  275. submit("TRMNE02102");
  276. model.makeValue("/root/srcdata/list/flag", model.getValue("/root/main/cond/kindflag"));
  277. model.makeValue("/root/srcdata/list/totime" , title); // 추가_20081126
  278. model.makeValue("/root/srcdata/list/xrwflag", "dept"); // 화면구분(dept:과별 환자 현황) 추가_20081126
  279. var NodeCnt = instance1.selectSingleNode("/root/srcdata/list").childNodes.length;
  280. var iNode = "/root/srcdata/list/patlist";
  281. setParameter("SMMNE02100", sSrcData);
  282. fShowModal("SMMNE03400");
  283. }
  284. function fShowModal(pProgID) {
  285. var xpos = event.screenX-100;
  286. var ypos = event.screenY-100;
  287. modal(pProgID, 1, xpos, ypos, pProgID, "/root/srcdata/list", "/root/main/list");
  288. var iProperties = getParameter("SendData");
  289. return iProperties
  290. }
  291. ]]>
  292. </script>
  293. </xhtml:head>
  294. <xhtml:body guideline="1,1192;1,90;1,1130;" style="text-align:justify; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  295. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  296. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">과별 환자현황</caption>
  297. </group>
  298. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  299. <caption id="caption1" class="tit_2" style="left:5px; top:57px; width:215px; height:14px; vertical-align:middle; ">응급센터 환자현황(과별)(일별)</caption>
  300. <group id="group2" style="left:0px; top:11px; width:1194px; height:35px; vertical-align:top; ">
  301. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  302. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:91px; height:17px; ">검색일자 :</caption>
  303. <input id="input_refFrDT" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:104px; top:8px; width:100px; height:19px; "/>
  304. <caption id="caption5" class="search_no_b" style="left:206px; top:10px; width:15px; height:17px; ">~</caption>
  305. <input id="input_refToDT" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:220px; top:8px; width:100px; height:19px; "/>
  306. <select1 id="radio2" ref="/root/main/cond/kindflag" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:340px; top:9px; width:100px; height:20px; border-style:none; ">
  307. <choices>
  308. <item>
  309. <label>일별</label>
  310. <value>1</value>
  311. </item>
  312. <item>
  313. <label>월별</label>
  314. <value>2</value>
  315. </item>
  316. </choices>
  317. <script type="javascript" ev:event="xforms-select">
  318. <![CDATA[
  319. model.setValue("/root/main/cond/fromdd", getCurrentDate() );
  320. model.setValue("/root/main/cond/todd", getCurrentDate() );
  321. if(radio2.value==1)
  322. {
  323. grd_daylist.attribute("visibility") ="visibility";
  324. grd_monthlist.attribute("visibility") ="hidden";
  325. caption1.visible="true";
  326. caption3.visible="false";
  327. input_refFrDT.attribute("format") = "yyyy-mm-dd";
  328. input_refToDT.attribute("format") = "yyyy-mm-dd";
  329. input_refFrDT.refresh();
  330. input_refToDT.refresh();
  331. }
  332. else
  333. {
  334. grd_daylist.attribute("visibility") ="hidden";
  335. grd_monthlist.attribute("visibility") ="visibility";
  336. caption1.visible="false";
  337. caption3.visible="true";
  338. input_refFrDT.attribute("format") = "yyyy-mm";
  339. input_refToDT.attribute("format") = "yyyy-mm";
  340. input_refFrDT.refresh();
  341. input_refToDT.refresh();
  342. }
  343. fSearchList();
  344. //model.refresh();
  345. ]]>
  346. </script>
  347. </select1>
  348. <button id="button1" class="btn1_letter2" style="left:993px; top:7px; width:56px; height:22px; ">
  349. <caption>조회</caption>
  350. <script type="javascript" ev:event="DOMActivate">
  351. <![CDATA[
  352. fSearchList();
  353. ]]>
  354. </script>
  355. </button>
  356. <button id="button7" class="btn1_letter2" style="left:1052px; top:7px; width:56px; height:22px; ">
  357. <caption>엑셀</caption>
  358. <script type="javascript" ev:event="DOMActivate">
  359. <![CDATA[
  360. var fromdd = model.getValue("/root/main/cond/fromdd");
  361. var todd = model.getValue("/root/main/cond/todd");
  362. if( model.getValue("/root/main/cond/kindflag") == "2"){
  363. fromdd = fromdd.substr(0,6);
  364. todd = todd.substr(0,6);
  365. }
  366. if(fromdd != todd){
  367. var fileName = window.fileDialog("save", ",", false, "과별환자현황("+fromdd+ "~" + todd + ")", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  368. }else{
  369. var fileName = window.fileDialog("save", ",", false, "과별환자현황("+fromdd+")", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  370. }
  371. if (fileName != "") {
  372. if (model.getValue("/root/main/cond/kindflag")=="1") {
  373. grd_daylist.saveExcel(fileName, "SheetName", true, true, "", "", false);
  374. }else if (model.getValue("/root/main/cond/kindflag")=="2") {
  375. grd_monthlist.saveExcel(fileName,"SheetName",true,true,"","",false);
  376. }
  377. }
  378. ]]>
  379. </script>
  380. </button>
  381. <button id="button8" class="btn1_letter3" style="left:1111px; top:7px; width:68px; height:22px; ">
  382. <caption>초기화</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. datagrid1.hscroll.attribute("pos") = "0";
  386. grd_monthlist.hscroll.attribute("pos") = "0";
  387. grd_daylist.hscroll.attribute("pos") = "0";
  388. fInit();
  389. ]]>
  390. </script>
  391. </button>
  392. <line id="line5" class="line_4" style="x1:977px; y1:7px; x2:977px; y2:29px; "/>
  393. </group>
  394. <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:1194px; y2:72px; "/>
  395. <caption id="caption45" class="tit_2" style="left:5px; top:636px; width:89px; height:13px; vertical-align:middle; ">과별 통계</caption>
  396. <line id="line7" class="line_1" style="x1:0px; y1:651px; x2:1194px; y2:651px; "/>
  397. <datagrid id="datagrid1" nodeset="/root/main/deptlist/deptsum" class="datagrid2" caption="Total^MD^MH^MG^MI^ME^MC^MP^MN^MR^MO^NU^NP^GS^OS^NS^CS^PS^OBGY^OD^PD^EY^ET^DR^UR^DT^ETC^ED^RM^FM^HC^계^입원수^ICU^사망^DOA^수술입원수^CPR^외래처치건수" colsep="^" colwidth="90, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 61, 40, 40, 40, 40, 40, 40, 40" dataheight="25" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheight="90" rowsep="|" subtotalposition="below" style="left:0px; top:655px; width:1194px; height:73px; ">
  398. <col ref="srctm" style="left:20px; top:32px; width:80px; height:25px; text-align:center; "/>
  399. <col ref="deptmdcnt" style="text-align:center; "/>
  400. <col ref="deptmhcnt" style="text-align:center; "/>
  401. <col ref="deptmgcnt" style="text-align:center; "/>
  402. <col ref="deptmicnt" style="text-align:center; "/>
  403. <col ref="deptmecnt" style="text-align:center; "/>
  404. <col ref="deptmccnt" style="text-align:center; "/>
  405. <col ref="deptmpcnt" style="text-align:center; "/>
  406. <col ref="deptmncnt" style="text-align:center; "/>
  407. <col ref="deptmrcnt" style="text-align:center; "/>
  408. <col ref="deptmocnt" style="text-align:center; "/>
  409. <col ref="deptnucnt" style="text-align:center; "/>
  410. <col ref="deptnpcnt" style="text-align:center; "/>
  411. <col ref="deptgscnt" style="text-align:center; "/>
  412. <col ref="deptoscnt" style="text-align:center; "/>
  413. <col ref="deptnscnt" style="text-align:center; "/>
  414. <col ref="deptcscnt" style="text-align:center; "/>
  415. <col ref="deptpscnt" style="text-align:center; "/>
  416. <col ref="deptobgycnt" style="text-align:center; "/>
  417. <col ref="deptodcnt" style="text-align:center; "/>
  418. <col ref="deptpdcnt" style="text-align:center; "/>
  419. <col ref="depteycnt" style="text-align:center; "/>
  420. <col ref="deptetcnt" style="text-align:center; "/>
  421. <col ref="deptdrcnt" style="text-align:center; "/>
  422. <col ref="depturcnt" style="text-align:center; "/>
  423. <col ref="deptdtcnt" style="text-align:center; "/>
  424. <col ref="deptetccnt" style="text-align:center; "/>
  425. <col ref="deptedcnt" style="text-align:center; "/>
  426. <col ref="deptrmcnt" style="text-align:center; "/>
  427. <col ref="deptfmcnt" style="text-align:center; "/>
  428. <col ref="depthccnt" style="text-align:center; "/>
  429. <col ref="pattotal" style="text-align:center; "/>
  430. <col ref="inpatcnt" style="text-align:center; "/>
  431. <col ref="icupatcnt" style="text-align:center; "/>
  432. <col ref="diepatcnt" style="text-align:center; "/>
  433. <col ref="doapatcnt" style="text-align:center; "/>
  434. <col ref="opinpatcnt" style="text-align:center; "/>
  435. <col ref="cprpatcnt" style="text-align:center; "/>
  436. <col ref="outcurecnt" style="text-align:center; "/>
  437. </datagrid>
  438. <datagrid id="grd_monthlist" nodeset="/root/main/deptlist/deptinfomm" class="datagrid2" visibility="hidden" caption="월^MD^MH^MG^MI^ME^MC^MP^MN^MR^MO^NU^NP^GS^OS^NS^CS^PS^OBGY^OD^PD^EY^ET^DR^UR^DT^ETC^ED^RM^FM^HC^계^입원수^ICU^사망^DOA^수술입원수^CPR^외래처치건수" colsep="^" colwidth="70, 40, 40, 40, 40, 40, 40, 41, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 61, 40, 40, 40, 40, 40, 40, 40" dataheight="25" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="90" rowsep="|" subtotalposition="below" style="left:0px; top:77px; width:1194px; height:556px; ">
  439. <col ref="srctm" format="yyyy-mm" style="text-align:center; "/>
  440. <col ref="deptmdcnt" style="text-align:center; "/>
  441. <col ref="deptmhcnt" style="text-align:center; "/>
  442. <col ref="deptmgcnt" style="text-align:center; "/>
  443. <col ref="deptmicnt" style="text-align:center; "/>
  444. <col ref="deptmecnt" style="text-align:center; "/>
  445. <col ref="deptmccnt" style="text-align:center; "/>
  446. <col ref="deptmpcnt" style="text-align:center; "/>
  447. <col ref="deptmncnt" style="text-align:center; "/>
  448. <col ref="deptmrcnt" style="text-align:center; "/>
  449. <col ref="deptmocnt" style="text-align:center; "/>
  450. <col ref="deptnucnt" style="text-align:center; "/>
  451. <col ref="deptnpcnt" style="text-align:center; "/>
  452. <col ref="deptgscnt" style="text-align:center; "/>
  453. <col ref="deptoscnt" style="text-align:center; "/>
  454. <col ref="deptnscnt" style="text-align:center; "/>
  455. <col ref="deptcscnt" style="text-align:center; "/>
  456. <col ref="deptpscnt" style="text-align:center; "/>
  457. <col ref="deptobgycnt" style="text-align:center; "/>
  458. <col ref="deptodcnt" style="text-align:center; "/>
  459. <col ref="deptpdcnt" style="text-align:center; "/>
  460. <col ref="depteycnt" style="text-align:center; "/>
  461. <col ref="deptetcnt" style="text-align:center; "/>
  462. <col ref="deptdrcnt" style="text-align:center; "/>
  463. <col ref="depturcnt" style="text-align:center; "/>
  464. <col ref="deptdtcnt" style="text-align:center; "/>
  465. <col ref="deptetccnt" style="text-align:center; "/>
  466. <col ref="deptedcnt" style="text-align:center; "/>
  467. <col ref="deptrmcnt" style="text-align:center; "/>
  468. <col ref="deptfmcnt" style="text-align:center; "/>
  469. <col ref="depthccnt" style="text-align:center; "/>
  470. <col ref="pattotal" style="text-align:center; "/>
  471. <col ref="inpatcnt" style="text-align:center; "/>
  472. <col ref="icupatcnt" style="text-align:center; "/>
  473. <col ref="diepatcnt" style="text-align:center; "/>
  474. <col ref="doapatcnt" style="text-align:center; "/>
  475. <col ref="opinpatcnt" style="text-align:center; "/>
  476. <col ref="cprpatcnt" style="text-align:center; "/>
  477. <col ref="outcurecnt" style="text-align:center; "/>
  478. <script type="javascript" ev:event="onmousedown">
  479. <![CDATA[
  480. if(event.button == 3){
  481. if(grd_monthlist.isCell(event.target) && grd_monthlist.mouseRow >= grd_monthlist.fixedrows){
  482. window.setPopupMenu(true, "/root/codedata/popup/monthitem", "name", "func", false);
  483. }else{
  484. window.setPopupMenu(false);
  485. }
  486. }
  487. ]]>
  488. </script>
  489. <script type="javascript" ev:event="DOMFocusOut">
  490. <![CDATA[
  491. window.setPopupMenu(false);
  492. ]]>
  493. </script>
  494. <script type="javascript" ev:event="onscrolltrack">
  495. <![CDATA[
  496. datagrid1.hscroll.attribute("pos") = grd_monthlist.hscroll.attribute("pos");
  497. ]]>
  498. </script>
  499. <script type="javascript" ev:event="ondblclick">
  500. <![CDATA[
  501. fSrcPat("M");
  502. ]]>
  503. </script>
  504. </datagrid>
  505. <caption id="caption3" class="tit_2" visibility="hidden" style="left:5px; top:57px; width:215px; height:14px; vertical-align:middle; ">응급센터 환자현황(과별)(월별)</caption>
  506. <datagrid id="grd_daylist" nodeset="/root/main/deptlist/deptinfodd" class="datagrid2" caption="일^MD^MH^MG^MI^ME^MC^MP^MN^MR^MO^NU^NP^GS^OS^NS^CS^PS^OBGY^OD^PD^EY^ET^DR^UR^DT^ETC^ED^RM^FM^HC^계^입원수^ICU^사망^DOA^수술입원수^CPR^외래처치건수" colsep="^" colwidth="70, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 61, 40, 40, 40, 40, 40, 40, 40" dataheight="25" extendlastcol="false" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="90" rowsep="|" subtotalposition="below" style="left:0px; top:70px; width:1194px; height:556px; ">
  507. <col ref="srctm" format="yyyy-mm-dd" style="text-align:center; "/>
  508. <col ref="deptmdcnt" style="text-align:center; "/>
  509. <col ref="deptmhcnt" style="text-align:center; "/>
  510. <col ref="deptmgcnt" style="text-align:center; "/>
  511. <col ref="deptmicnt" style="text-align:center; "/>
  512. <col ref="deptmecnt" style="text-align:center; "/>
  513. <col ref="deptmccnt" style="text-align:center; "/>
  514. <col ref="deptmpcnt" style="text-align:center; "/>
  515. <col ref="deptmncnt" style="text-align:center; "/>
  516. <col ref="deptmrcnt" style="text-align:center; "/>
  517. <col ref="deptmocnt" style="text-align:center; "/>
  518. <col ref="deptnucnt" style="text-align:center; "/>
  519. <col ref="deptnpcnt" style="text-align:center; "/>
  520. <col ref="deptgscnt" style="text-align:center; "/>
  521. <col ref="deptoscnt" style="text-align:center; "/>
  522. <col ref="deptnscnt" style="text-align:center; "/>
  523. <col ref="deptcscnt" style="text-align:center; "/>
  524. <col ref="deptpscnt" style="text-align:center; "/>
  525. <col ref="deptobgycnt" style="text-align:center; "/>
  526. <col ref="deptodcnt" style="text-align:center; "/>
  527. <col ref="deptpdcnt" style="text-align:center; "/>
  528. <col ref="depteycnt" style="text-align:center; "/>
  529. <col ref="deptetcnt" style="text-align:center; "/>
  530. <col ref="deptdrcnt" style="text-align:center; "/>
  531. <col ref="depturcnt" style="text-align:center; "/>
  532. <col ref="deptdtcnt" style="text-align:center; "/>
  533. <col ref="deptetccnt" style="text-align:center; "/>
  534. <col ref="deptedcnt" style="text-align:center; "/>
  535. <col ref="deptrmcnt" style="text-align:center; "/>
  536. <col ref="deptfmcnt" style="text-align:center; "/>
  537. <col ref="depthccnt" style="text-align:center; "/>
  538. <col ref="pattotal" style="text-align:center; "/>
  539. <col ref="inpatcnt" style="text-align:center; "/>
  540. <col ref="icupatcnt" style="text-align:center; "/>
  541. <col ref="diepatcnt" style="text-align:center; "/>
  542. <col ref="doapatcnt" style="text-align:center; "/>
  543. <col ref="opinpatcnt" style="text-align:center; "/>
  544. <col ref="cprpatcnt" style="text-align:center; "/>
  545. <col ref="outcurecnt" style="text-align:center; "/>
  546. <script type="javascript" ev:event="onmousedown">
  547. <![CDATA[
  548. if(event.button == 3){
  549. if(grd_daylist.isCell(event.target) && grd_daylist.mouseRow >= grd_daylist.fixedrows){
  550. window.setPopupMenu(true, "/root/codedata/popup/item", "name", "func", false);
  551. }else{
  552. window.setPopupMenu(false);
  553. }
  554. }
  555. ]]>
  556. </script>
  557. <script type="javascript" ev:event="DOMFocusOut">
  558. <![CDATA[
  559. window.setPopupMenu(false);
  560. ]]>
  561. </script>
  562. <script type="javascript" ev:event="onscrolltrack">
  563. <![CDATA[
  564. datagrid1.hscroll.attribute("pos") = grd_daylist.hscroll.attribute("pos");
  565. ]]>
  566. </script>
  567. <script type="javascript" ev:event="ondblclick">
  568. <![CDATA[
  569. //alert(grd_daylist.colRef("deptetccnt"));
  570. fSrcPat("D");
  571. ]]>
  572. </script>
  573. </datagrid>
  574. <caption id="caption10" class="hand" style="left:230px; top:55px; width:240px; height:17px; vertical-align:middle; ">사망은 D,O,A포함, 입원은 ICU 포함</caption>
  575. <caption id="caption9" class="hand" style="left:495px; top:55px; width:240px; height:17px; vertical-align:middle; ">00:00 ~ 24:00 기준</caption>
  576. </group>
  577. </xhtml:body>
  578. </xhtml:html>