SMLPP01300_검사판독소요시간.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP01300_검사판독소요시간.xrw
  4. * 설 명 : 검사판독소요시간 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.08.24
  8. * 수정이력 :
  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>
  14. <xhtml:title>검사판독소요시간</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <acptinfo>
  20. <acptinfolist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <pid/>
  25. <patnm/>
  26. <wardroom/>
  27. <testcd/>
  28. <testnm/>
  29. <orddeptcd/>
  30. <orddeptnm/>
  31. <spccd/>
  32. <spcnm/>
  33. <prcpdd/>
  34. <prcptm/>
  35. <acptdd/>
  36. <acpttm/>
  37. <grostestdd/>
  38. <grostesttm/>
  39. <makeenddd/>
  40. <makeendtm/>
  41. <readdd/>
  42. <readtm/>
  43. <readdrid/>
  44. <acptusemin/>
  45. <acptusetm/>
  46. <acptusedd/>
  47. <makeusemin/>
  48. <makeusetm/>
  49. <makeusedd/>
  50. <makereadmin/>
  51. <makereadtm/>
  52. <makereaddd/>
  53. <totmin/>
  54. <tottm/>
  55. <totdd/>
  56. </acptinfolist>
  57. </acptinfo>
  58. </main>
  59. <send/>
  60. <init>
  61. <ptnocode/>
  62. <fromyear/>
  63. <fromptno/>
  64. <toyear/>
  65. <toptno/>
  66. <sysdt>
  67. <sysdtinfo>
  68. <sysdd/>
  69. <systm/>
  70. </sysdtinfo>
  71. </sysdt>
  72. <ptnocd>
  73. <ptnocdlist>
  74. <instcd/>
  75. <ptnocd/>
  76. <ptnonm/>
  77. </ptnocdlist>
  78. </ptnocd>
  79. </init>
  80. <hidden>
  81. <acptfromdd/>
  82. <acpttodd/>
  83. <seameth>0</seameth>
  84. <seaval/>
  85. </hidden>
  86. <message/>
  87. </root>
  88. </instance>
  89. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  92. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  93. <script type="javascript" ev:event="xforms-ready">
  94. <![CDATA[
  95. fExeInitialize();
  96. ]]>
  97. </script>
  98. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  99. <submission id="TRLPP01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/acptinfolist"/>
  100. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  101. </model>
  102. <script type="javascript">
  103. <![CDATA[
  104. /* @group : 검사판독소요시간 화면
  105. * @ver : 2007.02.24 (CMCDEV-0001)
  106. * @by : 유동철(ACK)
  107. * @-----------------------------------
  108. * @type : function
  109. * @access : public
  110. * @desc : 화면초기화 함수
  111. */
  112. function fExeInitialize() {
  113. var sCurDate = "";
  114. //------------------------------------------------------
  115. model.removeNodeset("/root/main/acptinfo/acptinfolist");
  116. //--------------------------
  117. // 시스템일자 조회
  118. model.removeNodeset("/root/send");
  119. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  120. submit("TRLPZ00102");
  121. //------------------------------------------------------------
  122. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  123. //------------
  124. // 초기값 설정
  125. model.makeValue("/root/hidden/seaval", ""); // 검색값
  126. model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 취소일자(From)
  127. model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 취소일자(To)
  128. model.makeValue("/root/hidden/seameth", "1"); // 검색방법(등록번호)
  129. model.makeValue("/root/init/ptnocode", "");
  130. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  131. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  132. model.makeValue("/root/init/fromptno", "");
  133. model.makeValue("/root/init/toptno", "");
  134. //병리번호코드조회.
  135. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  136. submit("TRLPZ00109", false);
  137. //-------------
  138. model.refresh();
  139. }
  140. /* @group : 검사판독소요시간 화면
  141. * @ver : 2007.08.2 (CMCDEV-0001)
  142. * @by : 유동철(ACK)
  143. * @-----------------------------------
  144. * @type : function
  145. * @access : public
  146. * @desc : 감사판독 소요시간 조회 처리 함수
  147. */
  148. function fGetAcptInfoList() {
  149. var sTemp = "";
  150. var sFromDD = model.getValue("/root/hidden/acptfromdd");
  151. var sToDD = model.getValue("/root/hidden/acpttodd");
  152. //------------------------------------------------
  153. if (model.getValue("/root/init/ptnocode") != "") {
  154. //------------------------------------------------
  155. if (model.getValue("/root/init/fromyear") == "") {
  156. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  157. } else {
  158. sTemp = model.getValue("/root/init/fromyear");
  159. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  160. }
  161. //----------------------------------------------
  162. if (model.getValue("/root/init/toyear") == "") {
  163. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  164. } else {
  165. sTemp = model.getValue("/root/init/toyear");
  166. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  167. }
  168. //------------------------------------------------
  169. if (model.getValue("/root/init/fromptno") == "") {
  170. model.makeValue("/root/init/fromptno", "000000");
  171. } else {
  172. sTemp = model.getValue("/root/init/fromptno");
  173. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  174. }
  175. //----------------------------------------------
  176. if (model.getValue("/root/init/toptno") == "") {
  177. model.makeValue("/root/init/toptno", "999999");
  178. } else {
  179. sTemp = model.getValue("/root/init/toptno");
  180. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  181. }
  182. }
  183. //--------------------------------------------
  184. sTemp = model.getValue("/root/init/ptnocode");
  185. //--------------------------------
  186. model.removeNodeset("/root/send");
  187. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  188. model.makeValue("/root/send/acptfromdd", model.getValue("/root/hidden/acptfromdd"));
  189. model.makeValue("/root/send/acpttodd", model.getValue("/root/hidden/acpttodd"));
  190. model.makeValue("/root/send/refmthd", model.getValue("/root/hidden/seameth"));
  191. model.makeValue("/root/send/refval", model.getValue("/root/hidden/seaval"));
  192. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  193. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  194. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  195. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  196. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  197. //-------------------
  198. if(submit("TRLPP01301")) {
  199. for(var iRow = 1 ; iRow < grd_acptinfolist.rows ; iRow++) {
  200. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("acptusemin")) = "처방일시 <-> 접수일시" ;
  201. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("acptusetm")) = "처방일시 <-> 접수일시" ;
  202. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("acptusedd")) = "처방일시 <-> 접수일시" ;
  203. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("makeusemin")) = "접수일시 <-> 슬라이드 제작일시" ;
  204. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("makeusetm")) = "접수일시 <-> 슬라이드 제작일시" ;
  205. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("makeusedd")) = "접수일시 <-> 슬라이드 제작일시" ;
  206. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("makereadmin")) = "슬라이드 제작일시 <-> 판독일시" ;
  207. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("makereadtm")) = "슬라이드 제작일시 <-> 판독일시" ;
  208. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("makereaddd")) = "슬라이드 제작일시 <-> 판독일시" ;
  209. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("totmin")) = "접수일시 <-> 판독일시" ;
  210. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("tottm")) = "접수일시 <-> 판독일시" ;
  211. grd_acptinfolist.tooltipText(iRow, grd_acptinfolist.colRef("totdd")) = "접수일시 <-> 판독일시" ;
  212. }
  213. }
  214. }
  215. /* @group : 검사판독소요시간
  216. * @ver : 2007.08.24 (CMCDEV-0001)
  217. * @by : 유동철(ACK)
  218. * @-----------------------------------
  219. * @type : function
  220. * @access : public
  221. * @desc : 검사판독소요시간 Excel저장 처리 Function
  222. */
  223. function fExeSaveToExcel() {
  224. // grd_acptinfolist.saveExcel("C:\\SMLPP01300_검사판독소요시간.xls", "검사판독소요시간", false, true);
  225. lpzfExeSaveToExcel(grd_acptinfolist, "검사판독소요시간");
  226. }
  227. /* @group : 검사판독소요시간
  228. * @ver : 2007.08.24 (CMCDEV-0001)
  229. * @by : 유동철(ACK)
  230. * @-----------------------------------
  231. * @type : function
  232. * @access : public
  233. * @desc : 검색값을 입력하고 Enter키를 누를 경우 처리 Function
  234. */
  235. function fExeInputKey() {
  236. if(event.keyCode == 13) {
  237. model.makeValue("/root/hidden/seaval", ipt_seaval.currentText);
  238. ipt_seaval.refresh();
  239. //-----------------
  240. fGetAcptInfoList();
  241. }
  242. }
  243. ]]>
  244. </script>
  245. </xhtml:head>
  246. <xhtml:body>
  247. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  248. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  249. <button id="button13" class="btn6_letter5" navindex="11" style="left:5px; top:3px; width:92px; height:22px; ">
  250. <caption>EXCEL출력</caption>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. fExeSaveToExcel();
  254. ]]>
  255. </script>
  256. </button>
  257. </group>
  258. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  259. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:129px; height:14px; ">검사 판독 소요시간</caption>
  260. </group>
  261. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  262. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:108px; height:14px; ">검체접수목록</caption>
  263. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  264. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  265. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  266. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  267. <caption id="caption1" class="search_name" style="left:519px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  268. <caption id="caption2" class="search_name" style="left:787px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  269. <input id="ipt_seaval" ref="/root/hidden/seaval" class="input_search" navindex="6" maxlength="10" style="left:610px; top:8px; width:105px; height:19px; ">
  270. <script type="javascript" ev:event="onkeypress">
  271. <![CDATA[
  272. fExeInputKey();
  273. ]]>
  274. </script>
  275. </input>
  276. <caption id="caption5" class="search_no_b" style="left:979px; top:8px; width:12px; height:17px; ">~</caption>
  277. <button id="btn_sea" class="btn1_letter2" navindex="9" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  278. <caption>조회</caption>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. fGetAcptInfoList();
  282. ]]>
  283. </script>
  284. </button>
  285. <input id="ipt_cnclfromdd" ref="/root/hidden/acptfromdd" class="input_s_essential" navindex="7" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:876px; top:8px; width:100px; height:19px; ">
  286. <script type="javascript" ev:event="xforms-value-changed">
  287. <![CDATA[
  288. lpzfExeDateChange(ipt_fromyear, "/root/hidden/acptfromdd", "/root/init/fromyear");
  289. ]]>
  290. </script>
  291. </input>
  292. <input id="ipt_cncltodd" ref="/root/hidden/acpttodd" class="input_s_essential" navindex="8" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:995px; top:8px; width:100px; height:19px; ">
  293. <script type="javascript" ev:event="xforms-value-changed">
  294. <![CDATA[
  295. lpzfExeDateChange(ipt_toyear, "/root/hidden/acpttodd", "/root/init/toyear");
  296. ]]>
  297. </script>
  298. </input>
  299. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:109px; top:8px; width:141px; height:19px; ">
  300. <choices>
  301. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  302. <label ref="ptnonm"/>
  303. <value ref="ptnocd"/>
  304. </itemset>
  305. </choices>
  306. </select1>
  307. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:283px; top:8px; width:50px; height:19px; "/>
  308. <caption id="caption3" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
  309. <caption id="caption7" class="search_no_b" style="left:336px; top:8px; width:12px; height:17px; ">~</caption>
  310. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:381px; top:8px; width:50px; height:19px; "/>
  311. <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:351px; top:8px; width:27px; height:19px; "/>
  312. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:253px; top:8px; width:27px; height:19px; "/>
  313. </group>
  314. <datagrid id="grd_acptinfolist" nodeset="/root/main/acptinfo/acptinfolist" class="datagrid2" caption="기관코드^병리번호^병리번호^등록번호^환자명^병동/병실^검사코드^검사명^진료과코드^진료과^검체코드^검체명^처방일자^처방&#xA;시간^접수일자^접수&#xA;시간^Gross&#xA;일자^Gross&#xA;시간^제작일자^제작&#xA;시간^판독일자^판독&#xA;시간^판독의ID^접수&#xA;소요분^접수&#xA;소요시간^접수&#xA;소요일^제작&#xA;소요분^제작&#xA;소요시간^제작&#xA;소요일^판독&#xA;소요분^판독&#xA;소요일^판독&#xA;소요시간^총&#xA;소요분^총&#xA;소요시간^총&#xA;소요일" colsep="^" colwidth="0, 0, 80, 70, 70, 80, 0, 150, 0, 50, 0, 100, 70, 54, 70, 54, 73, 63, 70, 54, 70, 54, 0, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54" dataheight="25" explorerbar="sortshow" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="10" style="left:0px; top:75px; width:1194px; height:653px; ">
  315. <col ref="instcd"/>
  316. <col ref="ptno"/>
  317. <col class="text_center" ref="dispptno"/>
  318. <col class="text_center" ref="pid"/>
  319. <col class="text_center" ref="patnm"/>
  320. <col ref="wardroom"/>
  321. <col ref="testcd"/>
  322. <col ref="testnm"/>
  323. <col ref="orddeptcd"/>
  324. <col class="text_center" ref="orddeptnm"/>
  325. <col ref="spccd"/>
  326. <col ref="spcnm"/>
  327. <col ref="prcpdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  328. <col ref="prcptm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  329. <col ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  330. <col ref="acpttm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  331. <col ref="grostestdd" format="yyyy-mm-dd"/>
  332. <col ref="grostesttm" format="hh:nn:ss"/>
  333. <col ref="makeenddd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  334. <col ref="makeendtm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  335. <col ref="readdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  336. <col ref="readtm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  337. <col ref="readdrid"/>
  338. <col ref="acptusemin"/>
  339. <col ref="acptusetm"/>
  340. <col ref="acptusedd"/>
  341. <col ref="makeusemin"/>
  342. <col ref="makeusetm"/>
  343. <col ref="makeusedd"/>
  344. <col ref="makereadmin"/>
  345. <col ref="makereadtm"/>
  346. <col ref="makereaddd"/>
  347. <col ref="totmin"/>
  348. <col ref="tottm"/>
  349. <col ref="totdd"/>
  350. <script type="javascript" ev:event="onaftersort">
  351. <![CDATA[
  352. grd_acptinfolist.gridToInstance();
  353. ]]>
  354. </script>
  355. </datagrid>
  356. </group>
  357. </xhtml:body>
  358. </xhtml:html>