SPPMO02000_외래미시행내역조회.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>외래 미시행내역조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <dethotptlist>
  11. <dethotptinfo>
  12. <type/>
  13. <orddrnm/>
  14. <orddrid/>
  15. <orddeptnm/>
  16. <orddeptcd/>
  17. <orddd/>
  18. <pid/>
  19. </dethotptinfo>
  20. </dethotptlist>
  21. <patinfo>
  22. <patinfolist/>
  23. </patinfo>
  24. </main>
  25. <send>
  26. <pid/>
  27. <hngnm/>
  28. <srchfromdd/>
  29. <srchtodd/>
  30. </send>
  31. <init/>
  32. <hidden>
  33. <source>
  34. <srchcond/>
  35. <pid/>
  36. <hngnm/>
  37. <rrgstno1/>
  38. <rrgstno2/>
  39. </source>
  40. </hidden>
  41. </root>
  42. </instance>
  43. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/main/patinfo"/>
  44. <submission id="TRPAO00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp_deth"/>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. // 날짜 기간 선택
  51. model.setValue("/root/send/srchfromdd", getCurrentDate().toDate().getAddDate(-1,"Y").getDateFormat());
  52. model.setValue("/root/send/srchtodd", "99991231");
  53. if(checkOpener()){
  54. var pid = opener.javascript.getParameter("SPPMO02000_PID");
  55. if( pid != '' && pid != ' ' && pid != '-' ){
  56. model.setValue("/root/send/pid", pid);
  57. btn_search.dispatch("DOMActivate");
  58. }
  59. }
  60. ]]>
  61. </script>
  62. </model>
  63. </xhtml:head>
  64. <xhtml:body pagewidth="680" pageheight="343" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="group3" scroll="auto" style="left:0px; top:0px; width:663px; height:316px; ">
  66. <group id="group2" style="left:0px; top:0px; width:662px; height:35px; vertical-align:top; ">
  67. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:662px; height:35px; "/>
  68. <caption id="caption2" class="search_name" style="left:0px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
  69. <button id="btn_search" class="btn1_letter2" style="left:590px; top:7px; width:56px; height:22px; ">
  70. <caption>조회</caption>
  71. <script type="javascript" ev:event="DOMActivate">
  72. <![CDATA[
  73. var pid = model.getValue("/root/send/pid");
  74. var hngnm = model.getValue("/root/send/hngnm");
  75. if( pid == '' || pid == '' || pid == '-' ){
  76. messageBox("등록번호가 없습니다. 환자조회 후 다시 시도해 주세요.", "E999", "");
  77. return false;
  78. }else{
  79. model.setValue("/root/hidden/source/srchcond", "1");
  80. model.setValue("/root/hidden/source/pid", pid);
  81. if(submit("TRPMC02500")){
  82. if( getNodesetCount("/root/main/patinfo/patinfolist/pid") > 0 ){
  83. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  84. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  85. model.refresh();
  86. }else{
  87. messageBox("존재하지 않는 등록번호입니다. 등록번호를 확인하세요.", 'E999', '');
  88. return false;
  89. }
  90. }else{
  91. return false;
  92. }
  93. }
  94. if(submit("TRPAO00003")){
  95. model.resetInstanceNode("/root/main/dethotptlist");
  96. model.copyNode("/root/main/dethotptlist", "/root/temp_deth");
  97. model.refresh();
  98. }
  99. ]]>
  100. </script>
  101. </button>
  102. <line id="line13" class="line_4" style="x1:574px; y1:7px; x2:574px; y2:29px; "/>
  103. <input id="input3" ref="/root/send/pid" class="input_search" style="left:86px; top:8px; width:70px; height:19px; ">
  104. <script type="javascript" ev:event="onkeypress">
  105. <![CDATA[
  106. if(event.keyCode == "13") {
  107. model.setValue("/root/send/pid", input3.currentText);
  108. inputEnterKey("btn_search", "DOMActivate");
  109. }
  110. ]]>
  111. </script>
  112. </input>
  113. <caption id="caption3" class="search_name" style="left:260px; top:10px; width:86px; height:17px; ">조회일자 :</caption>
  114. <button id="button1" accesskey="f2" class="icon_search" style="left:160px; top:9px; width:16px; height:16px; ">
  115. <caption/>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
  119. if(model.getValue("/root/main/popupendflag") == 'ok'){
  120. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  121. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  122. }
  123. model.refresh();
  124. ]]>
  125. </script>
  126. </button>
  127. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:345px; top:8px; width:95px; height:19px; "/>
  128. <caption id="caption50" class="search_n_b" style="left:444px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  129. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:460px; top:8px; width:95px; height:19px; "/>
  130. <input id="input1" ref="/root/send/hngnm" class="input_search" disabled="true" style="left:180px; top:8px; width:70px; height:19px; ">
  131. <script type="javascript" ev:event="onkeypress">
  132. <![CDATA[
  133. if(event.keyCode == "13") {
  134. model.setValue("/root/send/pid", input3.currentText);
  135. inputEnterKey("btn_search", "DOMActivate");
  136. }
  137. ]]>
  138. </script>
  139. </input>
  140. </group>
  141. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:225px; height:13px; ">외래 미시행내역</caption>
  142. <datagrid id="grd_dethotptlist" nodeset="/root/main/dethotptlist/dethotptinfo" caption="환자번호^진료일자^진료과^진료의사^비고^수신자명^희망진료일자" colsep="^" colwidth="90, 90, 120, 90, 100" dataheight="23" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:65px; width:662px; height:249px; ">
  143. <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:662px; y2:60px; "/>
  144. <col ref="pid" visibility="hidden"/>
  145. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  146. <col ref="orddeptnm" style="text-align:left; "/>
  147. <col ref="orddrnm" style="text-align:center; "/>
  148. <col ref="type" style="text-align:left; "/>
  149. </datagrid>
  150. </group>
  151. <group id="group1" scroll="auto" style="left:0px; top:316px; width:663px; height:27px; ">
  152. <button id="btn_close" class="btn4_letter2" style="left:606px; top:5px; width:56px; height:22px; ">
  153. <caption>닫기</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. window.close();
  157. ]]>
  158. </script>
  159. </button>
  160. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:662px; y2:0px; "/>
  161. </group>
  162. </xhtml:body>
  163. </xhtml:html>