SMLPP01520_외래추가처방조회.xrw 9.1 KB

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