SMMNE10500_응급실통계.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
  9. <main>
  10. <codeinfo>
  11. <codelist>
  12. <cdnm/>
  13. <cdid/>
  14. </codelist>
  15. </codeinfo>
  16. <cond>
  17. <title/>
  18. <fromdd/>
  19. <todd/>
  20. <flag/>
  21. <aftyr>2</aftyr>
  22. <deptflag>1</deptflag>
  23. </cond>
  24. <grdinfo>
  25. <grdinfo01>
  26. <orddeptnm/>
  27. <incnt/>
  28. <outcnt/>
  29. </grdinfo01>
  30. <grdinfo02>
  31. <orddeptnm/>
  32. <cnt/>
  33. </grdinfo02>
  34. <grdinfo03>
  35. <orddeptcd/>
  36. <orddeptnm/>
  37. <emchour/>
  38. <emcmin/>
  39. <eicuhour/>
  40. <eicumin/>
  41. <ewardhour/>
  42. <ewardmin/>
  43. <totalhour/>
  44. <totalmin/>
  45. </grdinfo03>
  46. <grdinfo04>
  47. <orddeptnm/>
  48. <incnt/>
  49. <outcnt/>
  50. </grdinfo04>
  51. <grdinfo05>
  52. <orddeptcd/>
  53. <orddeptnm/>
  54. <chnghour/>
  55. <chngmin/>
  56. <keephour/>
  57. <keepmin/>
  58. </grdinfo05>
  59. <grdinfo06>
  60. <deptnm/>
  61. <orddrnm/>
  62. <hour/>
  63. <minute/>
  64. </grdinfo06>
  65. <grdinfo07>
  66. <deptnm/>
  67. <incnt/>
  68. </grdinfo07>
  69. <grdinfo08>
  70. <typenm/>
  71. <cnt/>
  72. </grdinfo08>
  73. <grdinfo15>
  74. <deptnm/>
  75. <cnt/>
  76. </grdinfo15>
  77. <grdinfo16>
  78. <deptnm/>
  79. <ercnt/>
  80. <stdcnt/>
  81. </grdinfo16>
  82. <grdinfo20>
  83. <deptnm/>
  84. <cnt/>
  85. </grdinfo20>
  86. <grdinfo21>
  87. <deptnm/>
  88. <cnt/>
  89. </grdinfo21>
  90. <grdinfo22>
  91. <deptnm/>
  92. <cnt/>
  93. </grdinfo22>
  94. </grdinfo>
  95. <detlinfo>
  96. <grdinfo01>
  97. <orddeptnm/>
  98. <incnt/>
  99. <outcnt/>
  100. </grdinfo01>
  101. <grdinfo02>
  102. <orddeptnm/>
  103. <cnt/>
  104. </grdinfo02>
  105. <grdinfo03>
  106. <orddeptcd/>
  107. <orddeptnm/>
  108. <emchour/>
  109. <emcmin/>
  110. <eicuhour/>
  111. <eicumin/>
  112. <ewardhour/>
  113. <ewardmin/>
  114. <totalhour/>
  115. <totalmin/>
  116. </grdinfo03>
  117. <grdinfo04>
  118. <orddeptnm/>
  119. <incnt/>
  120. <outcnt/>
  121. </grdinfo04>
  122. <grdinfo05>
  123. <orddeptcd/>
  124. <orddeptnm/>
  125. <chnghour/>
  126. <chngmin/>
  127. <keephour/>
  128. <keepmin/>
  129. </grdinfo05>
  130. </detlinfo>
  131. </main>
  132. <init>
  133. <codeinfo/>
  134. </init>
  135. </root>
  136. </instance>
  137. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  138. <script type="javascript" src="../../../emr/ercareweb/js/SMMNE01300.js"/>
  139. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  140. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  141. <script type="javascript" ev:event="xforms-ready">
  142. <![CDATA[
  143. model.makeValue("/root/send/reqdata/cdgrupid", "'U05', 'U06', 'U22'");
  144. model.makeValue("/root/send/reqdata/srchdd", getCurrentDate());
  145. submit("TRMNW00001");
  146. var dutplcecd = getUserInfo("dutplcecd");
  147. var deptcd = model.getValue("/root/init/codeinfo/codelist[cdgrupid='U22' and cdid='" + dutplcecd + "']/cdid");
  148. if(deptcd == "" || deptcd == null) {
  149. rdo_deptflag.value = "1";
  150. } else {
  151. rdo_deptflag.value = "2";
  152. }
  153. chk_flag.visible = false;
  154. btn_search.dispatch("DOMActivate");
  155. model.setValue(ipt_fromdd.attribute("ref"), getCurrentDate());
  156. model.setValue(ipt_todd.attribute("ref"), getCurrentDate());
  157. ipt_fromdd.refresh();
  158. ipt_todd.refresh();
  159. grd_grdinfo06.colHidden(grd_grdinfo06.colRef("orddrnm")) = true;
  160. ]]>
  161. </script>
  162. <submission id="TRMNE10501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/codeinfo"/>
  163. <submission id="TRMNE10502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grdinfo"/>
  164. <submission id="TRMNE10503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlinfo"/>
  165. <script type="javascript">
  166. <![CDATA[
  167. //엑셀저장.
  168. function fSaveExcel() {
  169. var grdinfo = document.controls("grd_grdinfo" + grd_codelist.valueMatrix(grd_codelist.row, grd_codelist.colRef("cdid")));
  170. grdinfo.subtotalposition = "below";
  171. var fileName = window.fileDialog("save", ",", false, grd_codelist.valueMatrix(grd_codelist.row, grd_codelist.colRef("cdnm")), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  172. grdinfo.saveExcel(fileName , "sheetname:sheet1;colhiddenextend:false;", true, true, "", "", true);
  173. }
  174. //조회.
  175. function fSearch() {
  176. var blockyn = model.getValue("/root/init/codeinfo/codelist[cdgrupid='U05']/cdid");
  177. var starttm = model.getValue("/root/init/codeinfo/codelist[cdgrupid='U06' and supcdid='1']/cdid");
  178. var endtm = model.getValue("/root/init/codeinfo/codelist[cdgrupid='U06' and supcdid='2']/cdid");
  179. var curtm = getCurrentTime().substr(0,4);
  180. var fromdd = ipt_fromdd.value;
  181. var todd = ipt_todd.value;
  182. var daycnt = getDateInterval(fromdd, todd);
  183. if(blockyn == "Y") {
  184. if(curtm >= starttm && curtm <= endtm) {
  185. if(daycnt > 31) {
  186. messageBox("일과시간" + starttm + "과 " + endtm + "사이에는 31일 이상을 조회하실 수 없습니다.", "E");
  187. return;
  188. }
  189. }
  190. }
  191. var cdid = grd_codelist.valueMatrix(grd_codelist.row, grd_codelist.colRef("cdid"));
  192. if(cdid == "06") {
  193. chk_flag.visible = true;
  194. if(model.getValue(chk_flag.attribute("ref")) == "Y") {
  195. grd_grdinfo06.colHidden(grd_grdinfo06.colRef("orddrnm")) = false;
  196. } else {
  197. grd_grdinfo06.colHidden(grd_grdinfo06.colRef("orddrnm")) = true;
  198. }
  199. } else {
  200. chk_flag.visible = false;
  201. model.setValue(chk_flag.attribute("ref"), "");
  202. chk_flag.refresh();
  203. }
  204. model.removeNodeset("/root/send");
  205. var deptflag = model.getValue(rdo_deptflag.attribute("ref"));
  206. var erflag1 = "";
  207. var erflag2 = "";
  208. if(deptflag == "") {
  209. erflag="";
  210. erflag2 = "";
  211. } else if(deptflag=="1") {
  212. deptflag ="";
  213. erflag =""
  214. erflag2 = "Y";
  215. } else if(deptflag=="2") {
  216. deptflag ="";
  217. erflag="Y"
  218. erflag2="";
  219. }
  220. model.makeValue("/root/send/cdid" , cdid);
  221. model.makeValue("/root/send/fromdd", model.getValue(ipt_fromdd.attribute("ref")));
  222. model.makeValue("/root/send/todd" , model.getValue(ipt_todd.attribute("ref")));
  223. model.makeValue("/root/send/flag" , model.getValue(chk_flag.attribute("ref")));
  224. model.makeValue("/root/send/aftyr" , model.getValue(rdo_aftyr.attribute("ref")));
  225. model.makeValue("/root/send/deptflag" , deptflag);
  226. model.makeValue("/root/send/erflag" , erflag);
  227. model.makeValue("/root/send/erflag2" , erflag2);
  228. submit("TRMNE10502");
  229. var grdinfo = document.controls("grd_grdinfo" + cdid);
  230. if(cdid != ""){
  231. grdinfo.subtotalposition = "below";
  232. }else{
  233. messageBox("통계명을 선택해 주십시오.", "E");
  234. return;
  235. }
  236. switch(cdid) {
  237. case "01":
  238. if(erflag == "") {
  239. grdinfo.colHidden(grdinfo.colRef("incnt")) = false;
  240. grdinfo.colHidden(grdinfo.colRef("outcnt")) = false;
  241. } else {
  242. grdinfo.colHidden(grdinfo.colRef("incnt")) = true;
  243. grdinfo.colHidden(grdinfo.colRef("outcnt")) = true
  244. }
  245. if(erflag2 == "") {
  246. grdinfo.colHidden(grdinfo.colRef("wardincnt")) = false;
  247. grdinfo.colHidden(grdinfo.colRef("wardoutcnt")) = false;
  248. } else {
  249. grdinfo.colHidden(grdinfo.colRef("wardincnt")) = true;
  250. grdinfo.colHidden(grdinfo.colRef("wardoutcnt")) = true;
  251. }
  252. grdinfo.subtotal("sum", -1, grdinfo.colRef("incnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  253. grdinfo.subtotal("sum", -1, grdinfo.colRef("outcnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  254. grdinfo.subtotal("sum", -1, grdinfo.colRef("wardoutcnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  255. grdinfo.subtotal("sum", -1, grdinfo.colRef("wardincnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  256. grdinfo.subtotal("sum", -1, grdinfo.colRef("totincnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  257. grdinfo.subtotal("sum", -1, grdinfo.colRef("totoutcnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  258. break;
  259. case "02":
  260. if(erflag == "") {
  261. grdinfo.colHidden(grdinfo.colRef("cnt")) = false;
  262. } else {
  263. grdinfo.colHidden(grdinfo.colRef("cnt")) = true;
  264. }
  265. if(erflag2 == "") {
  266. grdinfo.colHidden(grdinfo.colRef("cnt2")) = false;
  267. } else {
  268. grdinfo.colHidden(grdinfo.colRef("cnt2")) = true;
  269. }
  270. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  271. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt2"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  272. grdinfo.subtotal("sum", -1, grdinfo.colRef("totcnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  273. break;
  274. case "03":
  275. if(erflag == "") {
  276. grdinfo.colHidden(grdinfo.colRef("emchour")) = false;
  277. grdinfo.colHidden(grdinfo.colRef("emcmin")) = false;
  278. grdinfo.colHidden(grdinfo.colRef("eicuhour")) = false;
  279. grdinfo.colHidden(grdinfo.colRef("eicumin")) = false;
  280. grdinfo.colHidden(grdinfo.colRef("ewardhour")) = false;
  281. grdinfo.colHidden(grdinfo.colRef("ewardmin")) = false;
  282. } else {
  283. grdinfo.colHidden(grdinfo.colRef("emchour")) = true;
  284. grdinfo.colHidden(grdinfo.colRef("emcmin")) = true;
  285. grdinfo.colHidden(grdinfo.colRef("eicuhour")) = true;
  286. grdinfo.colHidden(grdinfo.colRef("eicumin")) = true;
  287. grdinfo.colHidden(grdinfo.colRef("ewardhour")) = true;
  288. grdinfo.colHidden(grdinfo.colRef("ewardmin")) = true;
  289. }
  290. if(erflag2 == "") {
  291. grdinfo.colHidden(grdinfo.colRef("ewardmmhour")) = false;
  292. grdinfo.colHidden(grdinfo.colRef("ewardmmmin")) = false;
  293. } else {
  294. grdinfo.colHidden(grdinfo.colRef("ewardmmhour")) = true;
  295. grdinfo.colHidden(grdinfo.colRef("ewardmmmin")) = true;
  296. }
  297. break;
  298. case "04":
  299. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("orddeptnm"), "합계");
  300. break;
  301. case "05":
  302. break;
  303. case "06":
  304. break;
  305. case "07":
  306. grdinfo.subtotal("sum", -1, grdinfo.colRef("incnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");
  307. break;
  308. case "08":
  309. if(erflag == "") {
  310. grdinfo.colHidden(grdinfo.colRef("cnt")) = false;
  311. } else {
  312. grdinfo.colHidden(grdinfo.colRef("cnt")) = true;
  313. }
  314. if(erflag2 == "") {
  315. grdinfo.colHidden(grdinfo.colRef("cnt2")) = false;
  316. } else {
  317. grdinfo.colHidden(grdinfo.colRef("cnt2")) = true;
  318. }
  319. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("typenm"), "합계");
  320. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt2"), "#,###", "background-color:#99ff99", grdinfo.colRef("typenm"), "합계");
  321. grdinfo.subtotal("sum", -1, grdinfo.colRef("totcnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("typenm"), "합계");
  322. break;
  323. case "09":
  324. break;
  325. case "10":
  326. break;
  327. case "11":
  328. break;
  329. case "12":
  330. break;
  331. case "13":
  332. break;
  333. case "14":
  334. break;
  335. case "15":
  336. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");
  337. break;
  338. case "16":
  339. if(erflag == "") {
  340. grdinfo.colHidden(grdinfo.colRef("ercnt")) = false;
  341. grdinfo.colHidden(grdinfo.colRef("stdcnt")) = false;
  342. } else {
  343. grdinfo.colHidden(grdinfo.colRef("ercnt")) = true;
  344. grdinfo.colHidden(grdinfo.colRef("stdcnt")) = true;
  345. }
  346. if(erflag2 == "") {
  347. grdinfo.colHidden(grdinfo.colRef("ercnt2")) = false;
  348. grdinfo.colHidden(grdinfo.colRef("stdcnt2")) = false;
  349. } else {
  350. grdinfo.colHidden(grdinfo.colRef("ercnt2")) = true;
  351. grdinfo.colHidden(grdinfo.colRef("stdcnt2")) = true;
  352. }
  353. grdinfo.subtotal("sum", -1, grdinfo.colRef("ercnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");
  354. grdinfo.subtotal("sum", -1, grdinfo.colRef("stdcnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");
  355. grdinfo.subtotal("sum", -1, grdinfo.colRef("ercnt2"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");
  356. grdinfo.subtotal("sum", -1, grdinfo.colRef("stdcnt2"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");
  357. grdinfo.subtotal("sum", -1, grdinfo.colRef("totercnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");
  358. grdinfo.subtotal("sum", -1, grdinfo.colRef("totstdcnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");
  359. break;
  360. case "20":
  361. if(erflag == "") {
  362. grdinfo.colHidden(grdinfo.colRef("cnt")) = false;
  363. } else {
  364. grdinfo.colHidden(grdinfo.colRef("cnt")) = true;
  365. }
  366. if(erflag2 == "") {
  367. grdinfo.colHidden(grdinfo.colRef("cnt2")) = false;
  368. } else {
  369. grdinfo.colHidden(grdinfo.colRef("cnt2")) = true;
  370. }
  371. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");;
  372. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt2"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");;
  373. grdinfo.subtotal("sum", -1, grdinfo.colRef("totcnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");;
  374. break;
  375. case "21":
  376. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");;
  377. break;
  378. case "22":
  379. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");;
  380. break;
  381. case "23":
  382. grdinfo.subtotal("sum", -1, grdinfo.colRef("cnt"), "#,###", "background-color:#99ff99", grdinfo.colRef("deptnm"), "합계");;
  383. break;
  384. }
  385. }
  386. ]]>
  387. </script>
  388. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/codeinfo"/>
  389. </model>
  390. </xhtml:head>
  391. <xhtml:body guideline="1,4;1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  392. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1194px; height:764px; text-align:center; ">
  393. <line id="line1" class="line_1" style="x1:4px; y1:25px; x2:210px; y2:25px; "/>
  394. <caption id="caption1" class="tit_2" style="left:4px; top:10px; width:100px; height:14px; ">통계리스트</caption>
  395. <datagrid id="grd_codelist" nodeset="/root/main/codeinfo/codelist" autoresize="true" caption="통계명^코드" colsep="^" colwidth="187, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:4px; top:30px; width:206px; height:730px; ">
  396. <col ref="cdnm" style="text-align:left; "/>
  397. <col ref="cdid" visibility="hidden"/>
  398. <script type="javascript" ev:event="ondblclick">
  399. <![CDATA[
  400. if(grd_codelist.isCell(event.target) && grd_codelist.mouseRow >= grd_codelist.fixedrows){
  401. var cdid = parseInt(grd_codelist.valueMatrix(grd_codelist.row, grd_codelist.colRef("cdid")), 10);
  402. if(cdid == 9){
  403. modal("SPMNE11000");
  404. }else if(cdid == 19){
  405. modal("SPMNE12000");
  406. }else if(cdid == 24){
  407. modal("SPMNE14000");
  408. }else{
  409. if(cdid=="23") {
  410. rdo_aftyr.visible = true;
  411. } else {
  412. rdo_aftyr.visible = false;
  413. }
  414. model.toggle("case" + cdid);
  415. model.setValue("/root/main/cond/title", grd_codelist.valueMatrix(grd_codelist.row, grd_codelist.colRef("cdnm")));
  416. model.refresh();
  417. fSearch();
  418. }
  419. }
  420. ]]>
  421. </script>
  422. </datagrid>
  423. <button id="btn_search" class="btn2_letter2" style="left:168px; top:5px; width:42px; height:19px; ">
  424. <caption>조회</caption>
  425. <script type="javascript" ev:event="DOMActivate">
  426. <![CDATA[
  427. var dutplcecd = getUserInfo("dutplcecd");
  428. var deptcd = model.getValue("/root/init/codeinfo/codelist[cdgrupid='U22' and cdid='" + dutplcecd + "']/cdid");
  429. var cdgrupid ="T53";
  430. if(deptcd == null || deptcd == "") {
  431. cdgrupid="T53";
  432. } else {
  433. cdgrupid="U23";
  434. }
  435. model.makeValue("/root/send/reqdata/cdgrupid", cdgrupid);
  436. submit("TRMNE10501");
  437. ]]>
  438. </script>
  439. </button>
  440. <switch id="switch1" style="left:220px; top:65px; width:970px; height:695px; ">
  441. <case id="case1">
  442. <datagrid id="grd_grdinfo01" nodeset="/root/main/grdinfo/grdinfo01" caption="진료과^응급의료센터^응급의료센터^508응급병동^508응급병동^합계^합계|진료과^입원환자수^퇴원환자수^입원환자수^퇴원환자수^입원환자수^퇴원환자수" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  443. <col ref="orddeptnm"/>
  444. <col ref="incnt"/>
  445. <col ref="outcnt"/>
  446. <col ref="wardincnt"/>
  447. <col ref="wardoutcnt"/>
  448. <col ref="totincnt"/>
  449. <col ref="totoutcnt"/>
  450. </datagrid>
  451. </case>
  452. <case id="case2">
  453. <datagrid id="grd_grdinfo02" nodeset="/root/main/grdinfo/grdinfo02" caption="진료과^건수^건수^건수|진료과^응급의료센터^508응급병동^합계" colsep="^" colwidth="100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:964px; height:690px; ">
  454. <col ref="orddeptnm"/>
  455. <col ref="cnt"/>
  456. <col ref="cnt2"/>
  457. <col ref="totcnt"/>
  458. </datagrid>
  459. </case>
  460. <case id="case3" selected="true">
  461. <datagrid id="grd_grdinfo03" nodeset="/root/main/grdinfo/grdinfo03" caption="부서코드^부서명^응급실^응급실^응급실^EICU^EICU^EICU^응급병동^응급병동^응급병동^508응급병동^508응급병동^합계^합계^합계|부서코드^부서명^시간^분^일^시간^분^일^시간^분^일^시간^분^시간^분^일" colsep="^" colwidth="0, 120, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 65, 60" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  462. <col ref="orddeptcd"/>
  463. <col ref="orddeptnm"/>
  464. <col ref="emchour" format="#,###"/>
  465. <col ref="emcmin" format="#,###"/>
  466. <col ref="emc_d" format="#,###"/>
  467. <col ref="eicuhour" format="#,###"/>
  468. <col ref="eicumin" format="#,###"/>
  469. <col ref="eicu_d" format="#,###"/>
  470. <col ref="ewardhour" format="#,###"/>
  471. <col ref="ewardmin" format="#,###"/>
  472. <col ref="eward_d" format="#,###"/>
  473. <col ref="ewardmmhour" format="#,###"/>
  474. <col ref="ewardmmmin" format="#,###"/>
  475. <col ref="totalhour" format="#,###"/>
  476. <col ref="totalmin" format="#,###"/>
  477. <col ref="total_d" format="#,###"/>
  478. </datagrid>
  479. </case>
  480. <case id="case4">
  481. <datagrid id="grd_grdinfo04" nodeset="/root/main/grdinfo/grdinfo04" caption="진료과^건수" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  482. <col ref="orddeptnm"/>
  483. <col ref="cnt"/>
  484. </datagrid>
  485. </case>
  486. <case id="case5">
  487. <!--잠시숨겨둠.datagrid id="grd_detlinfo05" nodeset="/root/main/detlinfo/grdinfo05" caption="등록번호^이름^내원일자^내원시간^퇴원일자^퇴원시간^최초전과경과시간^최초전과경과시간^총내원시간^총내원시간|등록번호^이름^내원일자^내원시간^퇴원일자^퇴원시간^시^분^시^분" colsep="^" colwidth="67, 80, 80, 60, 80, 60, 71, 41, 70, 40" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:390px; width:965px; height:303px; ">
  488. <col ref="pid"/>
  489. <col ref="hngnm"/>
  490. <col ref="chosdd" format="yyyy-mm-dd"/>
  491. <col ref="chostm" format="hh:nn"/>
  492. <col ref="outrmdd" format="yyyy-mm-dd"/>
  493. <col ref="outrmtm" format="hh:nn"/>
  494. <col ref="chnghour" format="#,###"/>
  495. <col ref="chngmin" format="#,###"/>
  496. <col ref="keephour" format="#,###"/>
  497. <col ref="keepmin" format="#,###"/>
  498. </datagrid-->
  499. <datagrid id="grd_grdinfo05" nodeset="/root/main/grdinfo/grdinfo05" caption="부서코드^부서명^환자수^최초전과^최초전과^최초전과평균^최초전과평균^총내원^총내원^총내원평균^총내원평균|부서코드^부서명^환자수^시간^분^시간^분^시간^분^시간^분" colsep="^" colwidth="0, 120, 38, 80, 80, 80, 80, 80, 80, 80, 80" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  500. <col ref="orddeptcd"/>
  501. <col ref="orddeptnm"/>
  502. <col ref="patcnt"/>
  503. <col ref="chnghour" format="#,###.##"/>
  504. <col ref="chngmin" format="#,###.##"/>
  505. <col ref="avgchnghour" format="#,###.##"/>
  506. <col ref="avgchngmin" format="#,###.##"/>
  507. <col ref="keephour" format="#,###.##"/>
  508. <col ref="keepmin" format="#,###.##"/>
  509. <col ref="avgkeephour" format="#,###.##"/>
  510. <col ref="avgkeepmin" format="#,###.##"/>
  511. <script type="javascript" ev:event="ondblclick">
  512. <![CDATA[
  513. model.makeValue("/root/send/deptcd", grd_grdinfo05.valueMatrix(grd_grdinfo05.row, grd_grdinfo05.colRef("orddeptcd")));
  514. //submit("TRMNE10503");
  515. ]]>
  516. </script>
  517. </datagrid>
  518. </case>
  519. <case id="case6">
  520. <datagrid id="grd_grdinfo06" nodeset="/root/main/grdinfo/grdinfo06" caption="부서^주치의^시간^시간|부서^주치의^시^분" colsep="^" colwidth="100, 100, 47, 35" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:690px; ">
  521. <col ref="deptnm"/>
  522. <col ref="orddrnm"/>
  523. <col ref="hour" style="text-align:right; "/>
  524. <col ref="minute" style="text-align:right; "/>
  525. </datagrid>
  526. </case>
  527. <case id="case7">
  528. <datagrid id="grd_grdinfo07" nodeset="/root/main/grdinfo/grdinfo07" caption="진료과^입원수" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  529. <col ref="deptnm"/>
  530. <col ref="incnt"/>
  531. </datagrid>
  532. </case>
  533. <case id="case8">
  534. <datagrid id="grd_grdinfo08" nodeset="/root/main/grdinfo/grdinfo08" caption="유형^환자수^환자수^환자수|유형^응급의료센터^508응급병동^합계" colsep="^" colwidth="100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  535. <col ref="typenm"/>
  536. <col ref="cnt"/>
  537. <col ref="cnt2"/>
  538. <col ref="totcnt"/>
  539. </datagrid>
  540. </case>
  541. <case id="case9"/>
  542. <case id="case10"/>
  543. <case id="case11"/>
  544. <case id="case12"/>
  545. <case id="case13"/>
  546. <case id="case14"/>
  547. <case id="case15">
  548. <datagrid id="grd_grdinfo15" nodeset="/root/main/grdinfo/grdinfo15" caption="부서^건수" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  549. <col ref="deptnm"/>
  550. <col ref="cnt"/>
  551. </datagrid>
  552. </case>
  553. <case id="case16">
  554. <datagrid id="grd_grdinfo16" nodeset="/root/main/grdinfo/grdinfo16" caption="부서^응급의료센터^응급의료센터^508응급병동^508응급병동^합계^합계|부서^응급^정규^응급^정규^응급^정규" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  555. <col ref="deptnm"/>
  556. <col ref="ercnt"/>
  557. <col ref="stdcnt"/>
  558. <col ref="ercnt2"/>
  559. <col ref="stdcnt2"/>
  560. <col ref="totercnt"/>
  561. <col ref="totstdcnt"/>
  562. </datagrid>
  563. </case>
  564. <case id="case17"/>
  565. <case id="case18"/>
  566. <case id="case19"/>
  567. <case id="case20">
  568. <datagrid id="grd_grdinfo20" nodeset="/root/main/grdinfo/grdinfo20" caption="진료과^건수^건수^건수|진료과^응급의료센터^508응급병동^합계" colsep="^" colwidth="100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  569. <col ref="deptnm"/>
  570. <col ref="cnt"/>
  571. <col ref="cnt2"/>
  572. <col ref="totcnt"/>
  573. </datagrid>
  574. </case>
  575. <case id="case21">
  576. <datagrid id="grd_grdinfo21" nodeset="/root/main/grdinfo/grdinfo21" caption="진료과^건수" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  577. <col ref="deptnm"/>
  578. <col ref="cnt"/>
  579. </datagrid>
  580. </case>
  581. <case id="case22">
  582. <datagrid id="grd_grdinfo22" nodeset="/root/main/grdinfo/grdinfo22" caption="진료과^건수" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  583. <col ref="deptnm"/>
  584. <col ref="cnt"/>
  585. </datagrid>
  586. </case>
  587. <case id="case23">
  588. <datagrid id="grd_grdinfo23" nodeset="/root/main/grdinfo/grdinfo23" caption="진료과^건수" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:965px; height:690px; ">
  589. <col ref="deptnm"/>
  590. <col ref="cnt"/>
  591. </datagrid>
  592. </case>
  593. </switch>
  594. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:219px; top:0px; width:970px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  595. <caption id="caption2" class="search_name" style="left:221px; top:10px; width:63px; height:17px; ">일자 :</caption>
  596. <caption id="caption3" style="left:372px; top:10px; width:15px; height:20px; ">~</caption>
  597. <input id="ipt_todd" ref="/root/main/cond/todd" inputtype="date" style="left:386px; top:8px; width:85px; height:19px; "/>
  598. <button id="btn_settingrnid" class="btn1_letter2" style="left:1065px; top:7px; width:56px; height:22px; ">
  599. <caption>조회</caption>
  600. <script type="javascript" ev:event="DOMActivate">
  601. <![CDATA[
  602. fSearch();
  603. ]]>
  604. </script>
  605. </button>
  606. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" inputtype="date" style="left:284px; top:8px; width:85px; height:19px; "/>
  607. <caption id="cap_title" ref="/root/main/cond/title" class="tit_2" style="left:224px; top:45px; width:586px; height:13px; ">통계리스트</caption>
  608. <line id="line2" class="line_1" style="x1:220px; y1:60px; x2:1185px; y2:60px; "/>
  609. <button id="button1" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
  610. <caption>엑셀</caption>
  611. <script type="javascript" ev:event="DOMActivate">
  612. <![CDATA[
  613. fSaveExcel();
  614. ]]>
  615. </script>
  616. </button>
  617. <line id="line3" class="line_4" style="x1:1058px; y1:6px; x2:1058px; y2:28px; "/>
  618. <select id="chk_flag" ref="/root/main/cond/flag" overflow="visible" appearance="full" style="left:480px; top:10px; width:70px; height:15px; border-style:none; ">
  619. <choices>
  620. <item>
  621. <label>교수별</label>
  622. <value>Y</value>
  623. </item>
  624. </choices>
  625. <script type="javascript" ev:event="xforms-value-changed">
  626. <![CDATA[
  627. fSearch();
  628. ]]>
  629. </script>
  630. </select>
  631. <select1 id="rdo_aftyr" ref="/root/main/cond/aftyr" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:335px; top:45px; width:530px; height:13px; border-style:none; ">
  632. <choices>
  633. <item>
  634. <label>2013년이후(CPR통계는 2013년부터 존재합니다.. 이전의 기록은 따로 요청하시기 바랍니다.)</label>
  635. <value>2</value>
  636. </item>
  637. </choices>
  638. </select1>
  639. <caption id="caption4" class="search_name" style="left:570px; top:10px; width:82px; height:17px; ">구역구분:</caption>
  640. <select1 id="rdo_deptflag" ref="/root/main/cond/deptflag" appearance="full" cols="3" overflow="visible" style="left:654px; top:13px; width:265px; height:13px; border-style:none; ">
  641. <choices>
  642. <item>
  643. <label>전체</label>
  644. <value/>
  645. </item>
  646. <item>
  647. <label>응급의료센터</label>
  648. <value>1</value>
  649. </item>
  650. <item>
  651. <label>508응급병동</label>
  652. <value>2</value>
  653. </item>
  654. </choices>
  655. </select1>
  656. </group>
  657. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">응급실통계</caption>
  658. </xhtml:body>
  659. </xhtml:html>