SMAES04500_기능검사실통계(심전도실일별).xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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. <list>
  11. <item>
  12. <prcpcd/>
  13. <prcpnm/>
  14. <day01/>
  15. <day02/>
  16. <day03/>
  17. <day04/>
  18. <day05/>
  19. <day06/>
  20. <day07/>
  21. <day08/>
  22. <day09/>
  23. <day10/>
  24. <day11/>
  25. <day12/>
  26. <day13/>
  27. <day14/>
  28. <day15/>
  29. <day16/>
  30. <day17/>
  31. <day18/>
  32. <day19/>
  33. <day20/>
  34. <day21/>
  35. <day22/>
  36. <day23/>
  37. <day24/>
  38. <day25/>
  39. <day26/>
  40. <day27/>
  41. <day28/>
  42. <day29/>
  43. <day30/>
  44. <day31/>
  45. <daysum/>
  46. </item>
  47. </list>
  48. </main>
  49. <send>
  50. <srchyyyy/>
  51. <srchmm/>
  52. <excuroomcd/>
  53. <globalinstance>
  54. <instance1/>
  55. </globalinstance>
  56. <ioflag>A</ioflag>
  57. </send>
  58. <init>
  59. <cmb_info/>
  60. </init>
  61. <hidden/>
  62. <init1>
  63. <baseinfo>
  64. <examposinfo/>
  65. </baseinfo>
  66. </init1>
  67. </root>
  68. </instance>
  69. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  73. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  74. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  75. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  76. <script type="javascript" ev:event="xforms-ready">
  77. <![CDATA[
  78. aezfSetSuppDeptcd();
  79. var toyy = getCurrentDate().substr(0,4);
  80. var tomm = getCurrentDate().substr(4,2);
  81. addComboItem("cmb_excuroomcd","--전체--","","above");
  82. model.removenode("/root/main/list/item");
  83. model.setValue("/root/send/srchyyyy", toyy);
  84. model.setValue("/root/send/srchmm", tomm);
  85. // 진료지원 공통 코드 조회 : 심전도 검사에 대한 검사실 위치 정보 조회
  86. astGetComboList( new Array("PS001"), new Array("/root/init1/baseinfo/examposinfo") );
  87. var nodeCnt = getNodesetCount("/root/init1/baseinfo/examposinfo/PS001");
  88. if (nodeCnt > 1) {
  89. model.setValue("/root/init1/baseinfo/examposinfo/PS001[" + 1 + "]/cdnm","3층 심전도실 전체");
  90. nodeCnt++;
  91. model.makeValue("/root/init1/baseinfo/examposinfo/PS001[" + nodeCnt + "]/cdnm","포터블");
  92. model.makeValue("/root/init1/baseinfo/examposinfo/PS001[" + nodeCnt + "]/cdid","P");
  93. nodeCnt++;
  94. model.makeValue("/root/init1/baseinfo/examposinfo/PS001[" + nodeCnt + "]/cdnm","합계");
  95. model.makeValue("/root/init1/baseinfo/examposinfo/PS001[" + nodeCnt + "]/cdid","T");
  96. }
  97. //검사실 갖고오기
  98. submit("TRAEA01115");
  99. cmb_excuroomcd.select(0);
  100. model.refresh();
  101. ]]>
  102. </script>
  103. <submission id="TRAES04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  104. <submission id="TRAEA01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  105. <submission id="TRAAA00001"/>
  106. </model>
  107. <script type="javascript">
  108. <![CDATA[
  109. function fSetDate(id, gb) {
  110. var cYear = eval(id).value;
  111. if(gb == "up") {
  112. eval(id).value = eval(cYear)+1;
  113. }else {
  114. eval(id).value = eval(cYear)-1;
  115. }
  116. }
  117. ]]>
  118. </script>
  119. </xhtml:head>
  120. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  121. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  122. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:201px; height:14px; ">기능검사실 통계(심전도실)</caption>
  123. </group>
  124. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  125. <caption id="caption1" class="tit_2" style="left:5px; top:50px; width:200px; height:14px; ">기능검사실 통계(심전도실)</caption>
  126. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1195px; y2:65px; "/>
  127. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:30px; vertical-align:top; ">
  128. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  129. <caption id="caption2" class="search_name" style="left:15px; top:7px; width:107px; height:17px; ">조회기간년 :</caption>
  130. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:25px; "/>
  131. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:4px; width:56px; height:22px; ">
  132. <caption>조회</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. submit("TRAES04501");
  136. // grd_list.subtotal("sum", -1, 3, "#,###", "background-color:#99ff99", 2, "합계");
  137. // for(i=4; i<grd_list.cols; i++) {
  138. // grd_list.subtotal("sum", -1, i, "#,###");
  139. // }
  140. ]]>
  141. </script>
  142. </button>
  143. <caption id="caption7" class="search_name" style="left:450px; top:7px; width:86px; height:17px; ">검사실 :</caption>
  144. <select1 id="cmb_excuroomcd" ref="/root/send/excuroomcd" appearance="minimal" itemcount="10" style="left:530px; top:6px; width:115px; height:19px; ">
  145. <choices>
  146. <itemset nodeset="/root/init/cmb_info/initexcuroomcd">
  147. <label ref="excuroomnm"/>
  148. <value ref="excuroomcd"/>
  149. </itemset>
  150. </choices>
  151. </select1>
  152. <select1 id="combo1" ref="/root/send/srchmm" appearance="minimal" style="left:349px; top:6px; width:51px; height:19px; ">
  153. <choices>
  154. <item>
  155. <label>1월</label>
  156. <value>01</value>
  157. </item>
  158. <item>
  159. <label>2월</label>
  160. <value>02</value>
  161. </item>
  162. <item>
  163. <label>3월</label>
  164. <value>03</value>
  165. </item>
  166. <item>
  167. <label>4월</label>
  168. <value>04</value>
  169. </item>
  170. <item>
  171. <label>5월</label>
  172. <value>05</value>
  173. </item>
  174. <item>
  175. <label>6월</label>
  176. <value>06</value>
  177. </item>
  178. <item>
  179. <label>7월</label>
  180. <value>07</value>
  181. </item>
  182. <item>
  183. <label>8월</label>
  184. <value>08</value>
  185. </item>
  186. <item>
  187. <label>9월</label>
  188. <value>09</value>
  189. </item>
  190. <item>
  191. <label>10월</label>
  192. <value>10</value>
  193. </item>
  194. <item>
  195. <label>11월</label>
  196. <value>11</value>
  197. </item>
  198. <item>
  199. <label>12월</label>
  200. <value>12</value>
  201. </item>
  202. </choices>
  203. </select1>
  204. <group id="group2" style="left:184px; top:3px; width:14px; height:26px; ">
  205. <button id="button3" style="left:0px; top:11px; width:13px; height:13px; background-image:../../../com/commonweb/images/grid_scroll_v_s_down.gif; ">
  206. <caption/>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. fSetDate("ipt_eYear", "down");
  210. ]]>
  211. </script>
  212. </button>
  213. <button id="button4" style="left:0px; top:0px; width:13px; height:13px; background-image:../../../com/commonweb/images/grid_scroll_v_s_up.gif; ">
  214. <caption/>
  215. <script type="javascript" ev:event="DOMActivate">
  216. <![CDATA[
  217. fSetDate("ipt_eYear", "up");
  218. ]]>
  219. </script>
  220. </button>
  221. </group>
  222. <input id="ipt_eYear" ref="/root/send/srchyyyy" class="input_s_essential" style="left:120px; top:6px; width:65px; height:19px; "/>
  223. <caption id="caption3" class="search_name" style="left:240px; top:7px; width:107px; height:17px; ">조회기간월 :</caption>
  224. <caption id="caption4" class="search_name" style="left:675px; top:7px; width:70px; height:18px; ">구분 :</caption>
  225. <select1 id="radio1" ref="/root/send/ioflag" appearance="full" cols="3" overflow="visible" style="left:745px; top:8px; width:145px; height:15px; border-style:none; ">
  226. <choices>
  227. <item>
  228. <label>전체</label>
  229. <value>A</value>
  230. </item>
  231. <item>
  232. <label>입원</label>
  233. <value>I</value>
  234. </item>
  235. <item>
  236. <label>외래</label>
  237. <value>O</value>
  238. </item>
  239. </choices>
  240. </select1>
  241. </group>
  242. <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:45px; width:64px; height:19px; ">
  243. <caption>엑셀저장</caption>
  244. <script type="javascript" ev:event="DOMActivate">
  245. <![CDATA[
  246. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  247. if (fileName != "") {
  248. grd_list.saveExcel(fileName);
  249. }
  250. ]]>
  251. </script>
  252. </button>
  253. <datagrid id="grd_list" nodeset="/root/main/list/item" caption="검사코드^검사명^검사실구분^1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일^합계" colsep="^" colwidth="80, 80, 120, 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, 40, 40" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:0px; top:70px; width:1195px; height:670px; ">
  254. <col ref="prcpcd"/>
  255. <col ref="prcpnm"/>
  256. <col ref="exampos" type="combo">
  257. <choices>
  258. <itemset nodeset="/root/init1/baseinfo/examposinfo/PS001">
  259. <label ref="cdnm"/>
  260. <value ref="cdid"/>
  261. </itemset>
  262. </choices>
  263. </col>
  264. <col ref="day01" format="#,###" style="text-align:right; "/>
  265. <col ref="day02" format="#,###" style="text-align:right; "/>
  266. <col ref="day03" format="#,###" style="text-align:right; "/>
  267. <col ref="day04" format="#,###" style="text-align:right; "/>
  268. <col ref="day05" format="#,###" style="text-align:right; "/>
  269. <col ref="day06" format="#,###" style="text-align:right; "/>
  270. <col ref="day07" format="#,###" style="text-align:right; "/>
  271. <col ref="day08" format="#,###" style="text-align:right; "/>
  272. <col ref="day09" format="#,###" style="text-align:right; "/>
  273. <col ref="day10" format="#,###" style="text-align:right; "/>
  274. <col ref="day11" format="#,###" style="text-align:right; "/>
  275. <col ref="day12" format="#,###" style="text-align:right; "/>
  276. <col ref="day13" format="#,###" style="text-align:right; "/>
  277. <col ref="day14" format="#,###" style="text-align:right; "/>
  278. <col ref="day15" format="#,###" style="text-align:right; "/>
  279. <col ref="day16" format="#,###" style="text-align:right; "/>
  280. <col ref="day17" format="#,###" style="text-align:right; "/>
  281. <col ref="day18" format="#,###" style="text-align:right; "/>
  282. <col ref="day19" format="#,###" style="text-align:right; "/>
  283. <col ref="day20" format="#,###" style="text-align:right; "/>
  284. <col ref="day21" format="#,###" style="text-align:right; "/>
  285. <col ref="day22" format="#,###" style="text-align:right; "/>
  286. <col ref="day23" format="#,###" style="text-align:right; "/>
  287. <col ref="day24" format="#,###" style="text-align:right; "/>
  288. <col ref="day25" format="#,###" style="text-align:right; "/>
  289. <col ref="day26" format="#,###" style="text-align:right; "/>
  290. <col ref="day27" format="#,###" style="text-align:right; "/>
  291. <col ref="day28" format="#,###" style="text-align:right; "/>
  292. <col ref="day29" format="#,###" style="text-align:right; "/>
  293. <col ref="day30" format="#,###" style="text-align:right; "/>
  294. <col ref="day31" format="#,###" style="text-align:right; "/>
  295. <col ref="daysum" format="#,###" style="text-align:right; "/>
  296. </datagrid>
  297. </group>
  298. </xhtml:body>
  299. </xhtml:html>