SMLPP01500_관심증례조회.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP01500_관심증례.xrw
  4. * 설 명 : 관심증례 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.08.31
  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. <refinfo>
  20. <refinfolist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <pid/>
  25. <patnm/>
  26. <sexage/>
  27. <extrpartcnts/>
  28. <diagcnts/>
  29. <memocnts/>
  30. </refinfolist>
  31. </refinfo>
  32. </main>
  33. <send/>
  34. <init>
  35. <sysdt>
  36. <sysdtinfo>
  37. <sysdd/>
  38. <systm/>
  39. </sysdtinfo>
  40. </sysdt>
  41. </init>
  42. <hidden>
  43. <acptfromdd/>
  44. <acpttodd/>
  45. <pid/>
  46. </hidden>
  47. <message/>
  48. </root>
  49. </instance>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  53. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. fExeInitialize();
  57. ]]>
  58. </script>
  59. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  60. <submission id="TRLPP01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/refinfo/refinfolist"/>
  61. </model>
  62. <script type="javascript">
  63. <![CDATA[
  64. /* @group : 관심증례 화면
  65. * @ver : 2007.08.31 (CMCDEV-0001)
  66. * @by : 유동철(ACK)
  67. * @-----------------------------------
  68. * @type : function
  69. * @access : public
  70. * @desc : 화면초기화 함수
  71. */
  72. function fExeInitialize() {
  73. //----------------------------------------------------
  74. model.removeNodeset("/root/main/refinfo/refinfolist");
  75. //--------------------------
  76. // 시스템일자 조회
  77. model.removeNodeset("/root/send");
  78. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  79. submit("TRLPZ00102");
  80. //------------
  81. // 초기값 설정
  82. model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 정도일자(From)
  83. model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 정도일자(To)
  84. //-------------
  85. model.refresh();
  86. }
  87. /* @group : 관심증례 화면
  88. * @ver : 2007.08.2 (CMCDEV-0001)
  89. * @by : 유동철(ACK)
  90. * @-----------------------------------
  91. * @type : function
  92. * @access : public
  93. * @desc : 감사판독 소요시간 조회 처리 함수
  94. */
  95. function fGetRefInfoList() {
  96. //--------------------------------
  97. model.removeNodeset("/root/send");
  98. model.removeNodeset("/root/main/refinfo/refinfolist");
  99. //----------------------------------------------------------------------
  100. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  101. model.makeValue("/root/send/reffromdd", model.getValue("/root/hidden/acptfromdd"));
  102. model.makeValue("/root/send/reftodd", model.getValue("/root/hidden/acpttodd"));
  103. model.makeValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  104. //-------------------
  105. submit("TRLPP01501");
  106. }
  107. /* @group : 관심증례
  108. * @ver : 2007.08.24 (CMCDEV-0001)
  109. * @by : 유동철(ACK)
  110. * @-----------------------------------
  111. * @type : function
  112. * @access : public
  113. * @desc : 관심증례 Excel저장 처리 Function
  114. */
  115. function fExeSaveToExcel() {
  116. grd_refinfolist.saveExcel("C:\\SMLPP01500_관심증례.xls", "관심증례", false, false);
  117. messageBox("C:\\SMLPP01500_관심증례.xls 파일생성이 ", "I002");
  118. }
  119. /* @group : 관심증례
  120. * @ver : 2008.03.13 (CMCDEV-0001)
  121. * @by : 유동철(ACK)
  122. * @-----------------------------------
  123. * @type : function
  124. * @access : public
  125. * @desc : 등록번호 입력 처리 Function
  126. */
  127. function fExeRefValKeyPress() {
  128. if(event.keyCode == 13) {
  129. model.setValue("/root/hidden/pid", ipt_pid.currentText);
  130. ipt_pid.refresh();
  131. //----------------
  132. fGetRefInfoList();
  133. }
  134. }
  135. ]]>
  136. </script>
  137. </xhtml:head>
  138. <xhtml:body>
  139. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  140. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  141. <button id="button13" class="btn6_letter5" navindex="6" style="left:5px; top:3px; width:92px; height:22px; ">
  142. <caption>EXCEL저장</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. lpzfExeSaveToExcel(grd_refinfolist, "관심증례목록");
  146. ]]>
  147. </script>
  148. </button>
  149. </group>
  150. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  151. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:129px; height:14px; ">관심증례 환자조회</caption>
  152. </group>
  153. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  154. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:185px; height:13px; ">관심증례 환자목록</caption>
  155. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  156. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  157. <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; "/>
  158. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  159. <caption id="caption2" class="search_name" style="left:15; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  160. <caption id="caption5" class="search_no_b" style="left:207; top:8px; width:12px; height:17px; ">~</caption>
  161. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  162. <caption>조회</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. fGetRefInfoList();
  166. ]]>
  167. </script>
  168. </button>
  169. <input id="ipt_cnclfromdd" ref="/root/hidden/acptfromdd" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:104; top:8px; width:100px; height:19px; "/>
  170. <input id="ipt_cncltodd" ref="/root/hidden/acpttodd" class="input_s_essential" navindex="2" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:223; top:8px; width:100px; height:19px; "/>
  171. <caption id="caption1" class="search_name" style="left:901px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  172. <input id="ipt_pid" ref="/root/hidden/pid" navindex="3" style="left:993; top:8px; width:100px; height:19px; ">
  173. <script type="javascript" ev:event="onkeypress">
  174. <![CDATA[
  175. fExeRefValKeyPress();
  176. ]]>
  177. </script>
  178. </input>
  179. </group>
  180. <datagrid id="grd_refinfolist" nodeset="/root/main/refinfo/refinfolist" class="datagrid2" caption="기관코드^ptno^병리번호^등록번호^환자명^성별/나이^장기명^진 단^메모" colsep="^" colwidth="0, 0, 100, 80, 80, 70, 150, 500, 172" explorerbar="sortshow" rowheader="seq" rowsep="|" navindex="5" style="left:0; top:75px; width:1194px; height:653px; ">
  181. <col ref="instcd"/>
  182. <col ref="ptno"/>
  183. <col class="text_center" ref="dispptno"/>
  184. <col class="text_center" ref="pid"/>
  185. <col class="text_center" ref="patnm"/>
  186. <col class="text_center" ref="sexage"/>
  187. <col class="text_center" ref="extrpartcnts"/>
  188. <col class="text_left" ref="diagcnts"/>
  189. <col ref="memocnts"/>
  190. <script type="javascript" ev:event="onaftersort">
  191. <![CDATA[
  192. grd_refinfolist.gridToInstance();
  193. ]]>
  194. </script>
  195. <script type="javascript" ev:event="ondblclick">
  196. <![CDATA[
  197. if ( grd_refinfolist.row == 0 ) return;
  198. var dispptno = model.getValue("/root/main/refinfo/refinfolist["+ grd_refinfolist.row +"]/dispptno");
  199. var sflag = dispptno ;
  200. setParameter("opener_parameter_id", sflag);
  201. modal("SMLPR00100", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
  202. ]]>
  203. </script>
  204. </datagrid>
  205. </group>
  206. </xhtml:body>
  207. </xhtml:html>