SMLPP01530_지연사유조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP01530_지연사유.xrw
  4. * 설 명 : 지연사유 조회화면
  5. * 설 계 자 : 이재오
  6. * 작 성 자 : 이재오
  7. * 작 성 일 : 2013.02.26
  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. <delayresn>
  42. <delayresnlist>
  43. <ptno/>
  44. </delayresnlist>
  45. </delayresn>
  46. <resncd>
  47. <resncdlist>
  48. <instcd/>
  49. <flagcd/>
  50. <resncd/>
  51. <resncnts/>
  52. </resncdlist>
  53. </resncd>
  54. </init>
  55. <hidden>
  56. <acptfromdd/>
  57. <acpttodd/>
  58. <pid/>
  59. </hidden>
  60. <message/>
  61. </root>
  62. </instance>
  63. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  66. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  67. <script type="javascript" ev:event="xforms-ready">
  68. <![CDATA[
  69. fExeInitialize();
  70. ]]>
  71. </script>
  72. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  73. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  74. <submission id="TRLPP01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/refinfo/refinfolist"/>
  75. </model>
  76. <script type="javascript">
  77. <![CDATA[
  78. /* @group : 관심증례 화면
  79. * @ver : 2007.08.31 (CMCDEV-0001)
  80. * @by : 유동철(ACK)
  81. * @-----------------------------------
  82. * @type : function
  83. * @access : public
  84. * @desc : 화면초기화 함수
  85. */
  86. function fExeInitialize() {
  87. //----------------------------------------------------
  88. model.removeNodeset("/root/main/refinfo/refinfolist");
  89. //--------------------------
  90. // 시스템일자 조회
  91. model.removeNodeset("/root/send");
  92. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  93. submit("TRLPZ00102");
  94. //--------------
  95. // 지연사유 조회
  96. model.resetInstanceNode("/root/init/resncd");
  97. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  98. model.makeValue("/root/send/baseflagcd", "'31'");
  99. submit("TRLPZ00103", false);
  100. //-----------------------------------------------------------------
  101. // model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
  102. // iNo = getNodesetCount("/root/init/resncd/resncdlist");
  103. // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/instcd", getUserInfo("dutplceinstcd"));
  104. // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/flagcd", "31");
  105. // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncd", "-");
  106. // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncnts", "-");
  107. model.copyNode("/root/init/delayresn", "/root/init/resncd");
  108. //------------
  109. // 초기값 설정
  110. model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 정도일자(From)
  111. model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 정도일자(To)
  112. //-------------
  113. model.refresh();
  114. }
  115. /* @group : 관심증례 화면
  116. * @ver : 2007.08.2 (CMCDEV-0001)
  117. * @by : 유동철(ACK)
  118. * @-----------------------------------
  119. * @type : function
  120. * @access : public
  121. * @desc : 감사판독 소요시간 조회 처리 함수
  122. */
  123. function fGetRefInfoList() {
  124. //--------------------------------
  125. model.removeNodeset("/root/send");
  126. model.removeNodeset("/root/main/refinfo/refinfolist");
  127. //----------------------------------------------------------------------
  128. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  129. model.makeValue("/root/send/reffromdd", model.getValue("/root/hidden/acptfromdd"));
  130. model.makeValue("/root/send/reftodd", model.getValue("/root/hidden/acpttodd"));
  131. model.makeValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  132. model.makeValue("/root/send/resncd", model.getValue("/root/init/delayresn"));
  133. alert(model.getValue("/root/send/instcd"));
  134. if(model.getValue("/root/init/delayresn") == "") {
  135. // alert("지연사유를 선택하세요");
  136. cbo_delaytime.refresh();
  137. }
  138. //-------------------
  139. submit("TRLPP01503");
  140. }
  141. /* @group : 관심증례
  142. * @ver : 2007.08.24 (CMCDEV-0001)
  143. * @by : 유동철(ACK)
  144. * @-----------------------------------
  145. * @type : function
  146. * @access : public
  147. * @desc : 관심증례 Excel저장 처리 Function
  148. */
  149. function fExeSaveToExcel() {
  150. grd_refinfolist.saveExcel("C:\\SMLPP01500_관심증례.xls", "관심증례", false, false);
  151. messageBox("C:\\SMLPP01500_관심증례.xls 파일생성이 ", "I002");
  152. }
  153. /* @group : 관심증례
  154. * @ver : 2008.03.13 (CMCDEV-0001)
  155. * @by : 유동철(ACK)
  156. * @-----------------------------------
  157. * @type : function
  158. * @access : public
  159. * @desc : 등록번호 입력 처리 Function
  160. */
  161. function fExeRefValKeyPress() {
  162. if(event.keyCode == 13) {
  163. model.setValue("/root/hidden/pid", ipt_pid.currentText);
  164. ipt_pid.refresh();
  165. //----------------
  166. fGetRefInfoList();
  167. }
  168. }
  169. ]]>
  170. </script>
  171. </xhtml:head>
  172. <xhtml:body>
  173. <group id="grp_btn" style="left:0px; top:13px; width:1185px; height:77px; ">
  174. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  175. <button id="button13" class="btn6_letter5" navindex="6" style="left:5px; top:3px; width:92px; height:22px; ">
  176. <caption>EXCEL저장</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. lpzfExeSaveToExcel(grd_refinfolist, "관심증례목록");
  180. ]]>
  181. </script>
  182. </button>
  183. </group>
  184. <group id="grp_tle" style="left:0px; top:0px; width:1190px; height:13px; ">
  185. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:129px; height:14px; ">지연사유 환자조회</caption>
  186. </group>
  187. <group id="grp_biz" style="left:0px; top:45px; width:1185px; height:715px; ">
  188. <datagrid id="grd_refinfolist" nodeset="/root/main/refinfo/refinfolist" class="datagrid2" caption="기관코드^ptno^병리번호^등록번호^환자명^성별/나이^장기명^진 단^지연사유" colsep="^" colwidth="0, 0, 100, 80, 80, 70, 150,465, 130" explorerbar="sortshow" rowheader="seq" rowsep="|" navindex="5" style="left:0px; top:75px; width:1116px; height:635px; ">
  189. <col ref="instcd"/>
  190. <col ref="ptno"/>
  191. <col class="text_left" ref="dispptno"/>
  192. <col class="text_center" ref="pid"/>
  193. <col class="text_left" ref="patnm"/>
  194. <col class="text_center" ref="sexage"/>
  195. <col class="text_left" ref="extrpartcnts"/>
  196. <col class="text_left" ref="diagcnts"/>
  197. <col ref="memocnts"/>
  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 id="group2" style="left:1px; top:0px; width:1145px; height:60px; vertical-align:top; ">
  214. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1139px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  215. <line id="line13" class="line_4" style="x1:883px; y1:12px; x2:883px; y2:34px; border-color:#ffe4bb; border-left-style:solid; "/>
  216. <caption id="caption2" class="search_name" style="left:15px; top:14px; width:86px; height:17px; ">조회일자 :</caption>
  217. <caption id="caption5" class="search_no_b" style="left:207px; top:13px; width:12px; height:17px; ">~</caption>
  218. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:893px; top:12px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  219. <caption>조회</caption>
  220. <script type="javascript" ev:event="DOMActivate">
  221. <![CDATA[
  222. fGetRefInfoList();
  223. ]]>
  224. </script>
  225. </button>
  226. <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:104px; top:13px; width:100px; height:19px; "/>
  227. <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:223px; top:13px; width:100px; height:19px; "/>
  228. <caption id="caption1" class="search_name" style="left:676px; top:14px; width:86px; height:17px; ">등록번호 :</caption>
  229. <input id="ipt_pid" ref="/root/hidden/pid" navindex="3" style="left:768px; top:13px; width:100px; height:19px; ">
  230. <script type="javascript" ev:event="onkeypress">
  231. <![CDATA[
  232. fExeRefValKeyPress();
  233. ]]>
  234. </script>
  235. </input>
  236. <select1 id="cbo_delaytime" ref="/root/init/delayresn" appearance="minimal" style="left:440px; top:15px; width:229px; height:19px; ">
  237. <choices>
  238. <itemset nodeset="/root/init/delayresn/resncdlist">
  239. <label ref="resncnts"/>
  240. <value ref="resncd"/>
  241. </itemset>
  242. </choices>
  243. </select1>
  244. <caption id="caption3" class="search_name" style="left:350px; top:15px; width:86px; height:17px; ">지연사유 :</caption>
  245. </group>
  246. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:185px; height:13px; ">지연사유 환자목록</caption>
  247. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1149px; y2:70px; "/>
  248. </group>
  249. </xhtml:body>
  250. </xhtml:html>