SPAER01002_TurnAroundTime.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPAER01002.xrw
  4. * 설 명 : 영상의학 TAT
  5. * 설 계 자 : 박재영
  6. * 작 성 자 : 최예원
  7. * 작 성 일 : 2011.02.08
  8. * 수정이력 : 2011.02.08 최예원 신규
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head tag="&quot;&quot;">
  14. <xhtml:title>Turn Around Time</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <execrcodelist>
  20. <execrcode>
  21. <sortno/>
  22. <basecd/>
  23. <basecdflagdesc/>
  24. <basecdcnts/>
  25. <basecdflag/>
  26. <basesuppdeptcd/>
  27. <seq/>
  28. </execrcode>
  29. </execrcodelist>
  30. <turnarndlist>
  31. <item>
  32. <pid/>
  33. <hngnm/>
  34. <calcscorcd/>
  35. <excucdnm/>
  36. <phocntstats/>
  37. <prcpdt/>
  38. <acptdt/>
  39. <excuexectodt/>
  40. <cnfmdt/>
  41. <rgstdepthngnm/>
  42. <wardcdnm/>
  43. <prcpgenrflag/>
  44. <execprcpstatcd/>
  45. <tat1/>
  46. <tat2/>
  47. <tat3/>
  48. <execprcpuniqno/>
  49. <hisorderid/>
  50. <excuroomcd/>
  51. <prcprem/>
  52. </item>
  53. <avgitem>
  54. <pcnt/>
  55. <cnt/>
  56. <fcnt/>
  57. <tatavg1/>
  58. <tatavg2/>
  59. </avgitem>
  60. </turnarndlist>
  61. </main>
  62. <send>
  63. <srch>
  64. <srchfromdd/>
  65. <srchtodd/>
  66. <suppdeptcd/>
  67. <srchexcuroomgrp/>
  68. <srchexecroom/>
  69. <srchpid/>
  70. <srchioflag/>
  71. </srch>
  72. <globalinstance>
  73. <instance1/>
  74. </globalinstance>
  75. <basecd/>
  76. <basecdflag/>
  77. <instcd/>
  78. <selectallyn/>
  79. <prntnum/>
  80. <bolpart/>
  81. <bolindi/>
  82. <cnt1/>
  83. <cnt2/>
  84. <cnt3/>
  85. <excuroomgrpcdid/>
  86. </send>
  87. <init>
  88. <baseinfo>
  89. <initinsukind/>
  90. <initprcpgenrflagcd/>
  91. <initexecprcpstatcd/>
  92. </baseinfo>
  93. <cmb_section/>
  94. <cmb_info/>
  95. </init>
  96. <hidden>
  97. <item>
  98. <count/>
  99. </item>
  100. <comcd/>
  101. </hidden>
  102. <temp>
  103. <templst/>
  104. </temp>
  105. </root>
  106. </instance>
  107. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  110. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  111. <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
  112. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  113. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  114. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  115. <script type="javascript" ev:event="xforms-ready">
  116. <![CDATA[
  117. fGetScreenInit();
  118. fGetComboInit();
  119. model.removeNodeset("/root/main/turnarndlist/item");
  120. model.refresh();
  121. ]]>
  122. </script>
  123. <submission id="TRAVB00001"/>
  124. <submission id="TRAAA00001"/>
  125. <submission id="TRZBC00101"/>
  126. <!-- SECTION 정보 가져오기-->
  127. <submission id="TRAEF00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_section"/>
  128. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  129. <submission id="TRAEA05900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/partprcplst"/>
  130. <submission id="TXAEA01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/count"/>
  131. <submission id="TXAER01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  132. <submission id="TRAER01006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/turnarndlist"/>
  133. <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
  134. </model>
  135. <script type="javascript">
  136. <![CDATA[
  137. /**
  138. * 콤보 초기화
  139. */
  140. function fGetComboInit() {
  141. aezfSetSuppDeptcd();
  142. model.setValue("/root/send/srch/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  143. zbcfGetCodeList( new Array("M0011","M0010"), new Array("/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initprcpgenrflagcd") );
  144. addComboItem("cmb_ioflag", "", "", "above");
  145. // 구분 정보
  146. submit("TRAEA01301");
  147. model.removeNodeset("/root/init/cmb_info2/initexecroom");
  148. var cnt = getNodesetCount("/root/init/cmb_info/initexecroom");
  149. for( var i = 1; i <= cnt ; i++ ){
  150. model.makeNode("/root/init/cmb_info2/initexecroom[" + i + "]");
  151. model.copyNode("/root/init/cmb_info2/initexecroom[" + i + "]", "/root/init/cmb_info/initexecroom[" + i + "]");
  152. }
  153. // 검사실 Combo박스 전체추가
  154. addComboItem("cmb_exroom", "", "", "above");
  155. cmb_exroom.select(0);
  156. model.refresh();
  157. }
  158. /**
  159. * 화면 기본 초기화
  160. */
  161. function fGetScreenInit() {
  162. model.resetInstanceNode("/root/send");
  163. model.setValue("/root/send/srch/srchfromdd", getCurrentDate() );
  164. model.setValue("/root/send/srch/srchtodd", getCurrentDate() );
  165. model.refresh();
  166. }
  167. ]]>
  168. </script>
  169. </xhtml:head>
  170. <xhtml:body guideline="1,1217;2,885;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  171. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  172. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">Turn Around Time</caption>
  173. </group>
  174. <group id="grp_btn" style="left:0px; top:750px; width:1185px; height:27px; ">
  175. <button id="btn_prt" class="btn6_letter2" navindex="6" visibility="hidden" style="left:1px; top:3px; width:56px; height:22px; ">
  176. <caption>출력</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. ]]>
  180. </script>
  181. </button>
  182. </group>
  183. <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:1190px; height:732px; ">
  184. <group id="grp_srch" style="left:0px; top:7px; width:1185px; height:35px; vertical-align:top; ">
  185. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1184px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  186. <line id="line16" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; "/>
  187. <button id="btn_select" class="btn1_letter2" navindex="5" style="left:1118px; top:7px; width:56px; height:22px; ">
  188. <caption>조회</caption>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. model.resetInstanceNode("/root/main/turnarndlist/item");
  192. model.resetInstanceNode("/root/main/turnarndlist/avgitem");
  193. if(submit("TRAER01006")){
  194. var cnt = getNodesetCount("/root/main/turnarndlist/item");
  195. var cnt1 = 0;
  196. var cnt2 = 0;
  197. var cnt3 = 0;
  198. var pidcnt = 0;
  199. var bfpid = "";
  200. for(var i = 1; i <= cnt ; i++){
  201. if( parseInt(model.getValue("/root/main/turnarndlist/item[" + i + "]/tat3")) > 0 ){
  202. grd_turnarndlist.cellstyle("background-color", i, 15, i , 15 ) = "#ffff99";
  203. }else{
  204. grd_turnarndlist.cellstyle("background-color", i, 15, i , 15 ) = "#ffffff";
  205. }
  206. }
  207. }
  208. model.refresh();
  209. ]]>
  210. </script>
  211. </button>
  212. <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" navindex="4" inputtype="date" style="left:232px; top:8px; width:100px; height:19px; "/>
  213. <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" navindex="3" inputtype="date" style="left:106px; top:8px; width:100px; height:19px; "/>
  214. <caption id="lbl_srchdd" class="search_name" style="left:345px; top:9px; width:86px; height:17px; ">구분 :</caption>
  215. <caption id="lbl_~" class="search_no_b" style="left:213px; top:10px; width:12px; height:17px; ">~</caption>
  216. <select1 id="cmb_excuroomgrp" ref="/root/send/srch/srchexcuroomgrp" class="combo_search" navindex="1" appearance="minimal" style="left:410px; top:8px; width:80px; height:19px; ">
  217. <choices>
  218. <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
  219. <label ref="excuroomgrpcdnm"/>
  220. <value ref="excuroomgrpcdid"/>
  221. </itemset>
  222. </choices>
  223. <script type="javascript" ev:event="xforms-select">
  224. <![CDATA[
  225. model.setValue("/root/send/excuroomgrpcdid", model.getValue("/root/send/srch/srchexcuroomgrp") );
  226. submit("TRAEA01306");
  227. cmb_exroom.select(0);
  228. model.refresh();
  229. ]]>
  230. </script>
  231. </select1>
  232. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:94px; height:17px; ">접수일자 :</caption>
  233. <caption id="caption4" class="search_name" style="left:506px; top:9px; width:86px; height:17px; ">검사실 :</caption>
  234. <select1 id="cmb_exroom" ref="/root/send/srch/srchexecroom" class="combo_search" navindex="1" appearance="minimal" style="left:583px; top:8px; width:147px; height:19px; ">
  235. <choices>
  236. <itemset nodeset="/root/init/cmb_info2/initexecroom">
  237. <label ref="excuroomcdnm"/>
  238. <value ref="excuroomcdid"/>
  239. </itemset>
  240. </choices>
  241. </select1>
  242. <input id="ipt_pid" ref="/root/send/srch/srchpid" class="input_search" maxlength="10" style="left:995px; top:8px; width:85px; height:19px; font-size:12pt; font-weight:bold; ">
  243. <script type="javascript" ev:event="onkeyup">
  244. <![CDATA[
  245. inputEnterKey("btn_select", "DOMActivate");
  246. ]]>
  247. </script>
  248. </input>
  249. <caption id="caption1" class="search_name" style="left:905px; top:9px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
  250. <caption id="caption3" class="search_name" style="left:746px; top:9px; width:86px; height:17px; ">I / O :</caption>
  251. <select1 id="cmb_ioflag" ref="/root/send/srch/srchioflag" class="combo_search" navindex="1" appearance="minimal" style="left:823px; top:8px; width:62px; height:19px; ">
  252. <choices>
  253. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  254. <label ref="cdnm"/>
  255. <value ref="cdid"/>
  256. </itemset>
  257. </choices>
  258. </select1>
  259. </group>
  260. <caption id="caption45" class="tit_2" style="left:5px; top:55px; width:190px; height:13px; ">Turn Around Time List</caption>
  261. <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1180px; y2:70px; "/>
  262. <datagrid id="grd_turnarndlist" nodeset="/root/main/turnarndlist/item" autoresize="true" caption="환자번호^환자명^검사코드^검사명^매수^처방시간^예약/접수^실시시간^판독시간^의뢰과^병동^구분^상태^TAT1^TAT2^TAT3^execprcpuniqno^기록자^검사실^처방Comment" colsep="^" colwidth="65, 58, 80, 200, 34, 72, 72, 72, 72, 90, 80, 43, 60, 70, 70, 70, 100, 90, 100, 300" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1180px; height:650px; ">
  263. <col ref="pid" type="output" style="text-align:center; "/>
  264. <col ref="hngnm" type="output" style="text-align:center; "/>
  265. <col ref="calcscorcd" type="output" style="text-align:left; "/>
  266. <col ref="excucdnm" type="output" style="text-align:left; "/>
  267. <col ref="phocntstats" type="output" style="text-align:center; "/>
  268. <col ref="prcpdt" type="output" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
  269. <col ref="acptdt" type="output" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
  270. <col ref="excuexectodt" type="output" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
  271. <col ref="cnfmdt" type="output" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
  272. <col ref="rgstdepthngnm" type="output" style="text-align:center; "/>
  273. <col ref="wardcdnm" type="output" style="text-align:center; "/>
  274. <col disabled="true" ref="prcpgenrflag" type="combo" style="text-align:center; ">
  275. <choices>
  276. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  277. <label ref="cdnm"/>
  278. <value ref="cdid"/>
  279. </itemset>
  280. </choices>
  281. </col>
  282. <col disabled="true" ref="execprcpstatcd" type="combo" style="text-align:center; ">
  283. <choices>
  284. <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
  285. <label ref="cdnm"/>
  286. <value ref="cdid"/>
  287. </itemset>
  288. </choices>
  289. </col>
  290. <col ref="tat1" type="output" style="text-align:center; "/>
  291. <col ref="tat2" type="output" style="text-align:center; "/>
  292. <col ref="tat3" type="output" visibility="hidden" style="text-align:center; "/>
  293. <col ref="execprcpuniqno" type="output" visibility="hidden" style="text-align:center; "/>
  294. <col ref="hisorderid" type="output" visibility="hidden" style="text-align:center; "/>
  295. <col disabled="true" ref="excuroomcd" type="combo" style="text-align:center; ">
  296. <choices>
  297. <itemset nodeset="/root/init/cmb_info/initexecroom">
  298. <label ref="excuroomcdnm"/>
  299. <value ref="excuroomcdid"/>
  300. </itemset>
  301. </choices>
  302. </col>
  303. <col ref="prcprem" type="output" style="text-align:left; "/>
  304. <script type="javascript" ev:event="onaftersort">
  305. <![CDATA[
  306. grd_turnarndlist.gridToInstance();
  307. ]]>
  308. </script>
  309. </datagrid>
  310. <button id="btn_excel1" class="btn2_letter2" style="left:1138px; top:48px; width:42px; height:19px; ">
  311. <caption>엑셀</caption>
  312. <script type="javascript" ev:event="DOMActivate">
  313. <![CDATA[
  314. var filename = window.fileDialog("save", ",", false, "Turn Around Time List", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  315. if (filename != "") {
  316. grd_turnarndlist.saveExcel(filename, "grd_turnarndlist", true, false, "", "", "");
  317. }
  318. ]]>
  319. </script>
  320. </button>
  321. <caption id="caption5" style="left:963px; top:48px; width:25px; height:25px; font-family:돋움; font-size:11pt; font-weight:bold; vertical-align:top; ">명</caption>
  322. <caption id="caption8" style="left:1035px; top:48px; width:25px; height:25px; font-family:돋움; font-size:11pt; font-weight:bold; vertical-align:top; ">건</caption>
  323. <caption id="caption9" style="left:1106px; top:48px; width:25px; height:25px; font-family:돋움; font-size:11pt; font-weight:bold; vertical-align:top; ">매</caption>
  324. <caption id="caption18" class="tit_2" style="left:544px; top:50px; width:86px; height:13px; ">평균시간 :</caption>
  325. <input id="input1" ref="/root/main/turnarndlist/avgitem/tatavg1" class="input_search" disabled="true" style="left:625px; top:47px; width:140px; height:19px; font-size:10pt; font-weight:bold; text-align:left; border-color:#b7c9ff; border-width:1px; "/>
  326. <input id="input2" ref="/root/main/turnarndlist/avgitem/tatavg2" class="input_search" disabled="true" style="left:768px; top:47px; width:140px; height:19px; font-size:10pt; font-weight:bold; color:#b7c9ff; text-align:left; border-color:#aabfff; border-width:1px; "/>
  327. <input id="input3" ref="/root/main/turnarndlist/avgitem/pcnt" class="input_search" disabled="true" style="left:912px; top:47px; width:50px; height:19px; font-size:11pt; font-weight:bold; color:#b7c9ff; text-align:right; border-color:#aabfff; border-width:1px; "/>
  328. <input id="input4" ref="/root/main/turnarndlist/avgitem/cnt" class="input_search" disabled="true" style="left:984px; top:47px; width:50px; height:19px; font-size:11pt; font-weight:bold; color:#b7c9ff; text-align:right; border-color:#aabfff; border-width:1px; "/>
  329. <input id="input5" ref="/root/main/turnarndlist/avgitem/fcnt" class="input_search" disabled="true" style="left:1055px; top:47px; width:50px; height:19px; font-size:11pt; font-weight:bold; color:#b7c9ff; text-align:right; border-color:#aabfff; border-width:1px; "/>
  330. </group>
  331. </xhtml:body>
  332. </xhtml:html>