SPPAS00780_미수안내.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?xml version="1.0" encoding="UTF-16"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <send>
  10. <pid/>
  11. <ptunyn/>
  12. </send>
  13. <main>
  14. <patinfo>
  15. <patinfolist>
  16. <pid/>
  17. <hngnm/>
  18. <engnm/>
  19. <chinm/>
  20. <rrgstno1/>
  21. <rrgstno2/>
  22. <brthdd/>
  23. <sex/>
  24. <age/>
  25. <bindpid/>
  26. <hometel/>
  27. <mpphontel/>
  28. <etctel1/>
  29. <etctel2/>
  30. <smsaprvyn/>
  31. <email/>
  32. <zipcd1/>
  33. <zipcd2/>
  34. <zipcdseq/>
  35. <addr/>
  36. <detladdr/>
  37. <recmyn/>
  38. <recmerid/>
  39. <recmerrela/>
  40. <vipyn/>
  41. <viprem/>
  42. <forgeryn/>
  43. <ptunyn/>
  44. </patinfolist>
  45. </patinfo>
  46. </main>
  47. <source>
  48. <srchcond/>
  49. <pid/>
  50. </source>
  51. <result/>
  52. <temp>
  53. <rrgstno/>
  54. <zipaddr/>
  55. </temp>
  56. <list>
  57. <patinfo>
  58. <pid/>
  59. </patinfo>
  60. </list>
  61. </root>
  62. </instance>
  63. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/patinfo"/>
  64. <submission id="TRPAS00860" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list"/>
  65. </model>
  66. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  71. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  72. <script type="javascript" src="../../../pam/outordamtmngtweb/js/SMPAO00100.js"/>
  73. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. fInitialize();
  77. if (checkOpener())
  78. {
  79. //..추후 요청이 있을 경우 환자번호로 자동조회
  80. //SMPAM00100_PID_PARM
  81. var SMPAM00100_PID_PARM = opener.javascript.getParameter("SMPAM00100_PID_PARM");
  82. opener.javascript.setParameter("SMPAM00100_PID_PARM","");
  83. if (SMPAM00100_PID_PARM != null && SMPAM00100_PID_PARM != "" && SMPAM00100_PID_PARM != " " && SMPAM00100_PID_PARM != "-")
  84. {
  85. model.setValue("/root/main/patinfo/patinfolist/pid",SMPAM00100_PID_PARM);
  86. model.refresh();
  87. //환자번호 조건으로 인적정보 조회
  88. model.setValue("/root/source/srchcond", "1");
  89. model.setValue("/root/source/pid", SMPAM00100_PID_PARM);
  90. //환자기본정보 node clear
  91. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  92. //환자등록번호 체크
  93. if(submit("TRPMC02500")){
  94. var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  95. if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  96. //조회내역 체크
  97. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  98. fInitialize();
  99. return;
  100. }
  101. }
  102. }
  103. }
  104. model.setValue("/root/temp/rrgstno" , model.getValue("/root/main/patinfo/patinfolist/rrgstno1") + '-' +model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
  105. model.setValue("/root/temp/zipaddr" , model.getValue("/root/main/patinfo/patinfolist/addr") + model.getValue("/root/main/patinfo/patinfolist/detladdr"));
  106. model.setValue("/root/send/pid" , model.getValue("/root/main/patinfo/patinfolist/pid"));
  107. model.refresh();
  108. ]]>
  109. </script>
  110. </xhtml:head>
  111. <xhtml:body pagewidth="530" pageheight="200">
  112. <group id="group2" style="left:0px; top:23px; width:530px; height:37px; ">
  113. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:0px; width:520px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  114. <caption id="caption4" class="search_name" style="left:10px; top:10px; width:91px; height:17px; ">환자번호 :</caption>
  115. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" style="left:100px; top:8px; width:105px; height:19px; ">
  116. <script type="javascript" ev:event="onkeypress">
  117. <![CDATA[
  118. if(event.keyCode == "13") {
  119. vcheck_pid = ipt_pid.currentText;
  120. fInitialize();
  121. //fRcptInfoInit();
  122. //fComCDValSet();
  123. if (instance1.selectSingleNode("/root/main/patinfo/patinfolist/pid") == null){
  124. model.makeNode("/root/main/patinfo/patinfolist/pid");
  125. }
  126. model.setValue("/root/main/patinfo/patinfolist/pid",vcheck_pid);
  127. model.refresh();
  128. //환자번호 null체크
  129. if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  130. model.setValue("/root/main/patinfo/patinfolist/pid","");
  131. model.setValue("/root/main/patinfo/patinfolist/hngnm","");
  132. model.setValue("/root/main/patinfo/patinfolist/rrgstno1","");
  133. model.setValue("/root/main/patinfo/patinfolist/rrgstno2","");
  134. model.refresh();
  135. fSearch();
  136. messageBox("환자등록번호가 입력되지","E007");
  137. return;
  138. }
  139. //환자번호 조건으로 인적정보 조회
  140. model.setValue("/root/source/srchcond", "1");
  141. model.setValue("/root/source/pid", ipt_pid.currentText);
  142. //환자기본정보 node clear
  143. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  144. //환자등록번호 체크
  145. if(submit("TRPMC02500")){
  146. var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  147. if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  148. //조회내역 체크
  149. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  150. fInitialize();
  151. return;
  152. }
  153. //재원환자 체크(계산진행 못하게 할 것인지는 추후 수납확인필요)
  154. var vcheck_inhospyn = model.getValue("/root/main/patinfo/patinfolist/inhospyn");
  155. if (vcheck_inhospyn == 'Y') {
  156. messageBox("["+model.getValue("/root/main/patinfo/patinfolist/hngnm")+"] 환자는 재원 중인 환자","E008");//E008=입니다
  157. }
  158. }//End if(event.keyCode == "13") {
  159. }
  160. model.resetInstanceNode("/root/send")
  161. ]]>
  162. </script>
  163. </input>
  164. </group>
  165. <group id="group3" style="left:0px; top:0px; width:525px; height:13px; ">
  166. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">미수안내</caption>
  167. </group>
  168. <caption id="caption2" class="tit_2" style="left:10px; top:66px; width:140px; height:14px; ">환자정보</caption>
  169. <caption id="caption1" class="cell_1" style="left:5px; top:90px; width:70px; height:20px; ">환자명</caption>
  170. <line id="line2" class="line_1" style="x1:5px; y1:85px; x2:525px; y2:85px; "/>
  171. <caption id="caption3" class="cell_1" style="left:5px; top:113px; width:70px; height:20px; ">주민번호</caption>
  172. <caption id="caption5" class="cell_1" style="left:5px; top:137px; width:70px; height:20px; ">안내여부</caption>
  173. <line id="line3" class="line_2" style="x1:5px; y1:110px; x2:525px; y2:110px; "/>
  174. <line id="line4" class="line_2" style="x1:5px; y1:133px; x2:525px; y2:133px; "/>
  175. <caption id="caption6" class="cell_1" style="left:185px; top:90px; width:100px; height:20px; ">연락처</caption>
  176. <caption id="caption7" class="cell_1" style="left:185px; top:113px; width:100px; height:20px; ">휴대폰번호</caption>
  177. <caption id="caption8" class="cell_1" style="left:185px; top:137px; width:100px; height:20px; ">주소</caption>
  178. <output id="output1" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:80px; top:90px; width:100px; height:19px; "/>
  179. <output id="output2" ref="/root/temp/rrgstno" class="output_fix" style="left:80px; top:113px; width:100px; height:19px; "/>
  180. <output id="output4" ref="/root/main/patinfo/patinfolist/hometel" class="output_fix" style="left:290px; top:90px; width:100px; height:19px; "/>
  181. <output id="output5" ref="/root/main/patinfo/patinfolist/mpphontel" class="output_fix" style="left:290px; top:113px; width:100px; height:19px; "/>
  182. <output id="output6" ref="/root/temp/zipaddr" class="output_fix" style="left:290px; top:136px; width:235px; height:19px; "/>
  183. <select1 id="combo1" ref="/root/main/patinfo/patinfolist/ptunyn" appearance="minimal" style="left:80px; top:137px; width:100px; height:19px; ">
  184. <choices>
  185. <item>
  186. <label>안내</label>
  187. <value>Y</value>
  188. </item>
  189. <item>
  190. <label>안내안함</label>
  191. <value>N</value>
  192. </item>
  193. </choices>
  194. <script type="javascript" ev:event="xforms-select">
  195. <![CDATA[
  196. model.setValue("/root/send/ptunyn" , model.getValue("/root/main/patinfo/patinfolist/ptunyn"));
  197. model.refresh();
  198. ]]>
  199. </script>
  200. </select1>
  201. <button id="button1" class="btn4_letter2" style="left:400px; top:165px; width:56px; height:22px; ">
  202. <caption>확인</caption>
  203. <script type="javascript" ev:event="DOMActivate">
  204. <![CDATA[
  205. if(model.getValue("/root/send/ptunyn") == ""){
  206. model.close();
  207. }else {
  208. submit("TRPAS00860");
  209. }
  210. ]]>
  211. </script>
  212. </button>
  213. <button id="button2" class="btn4_letter2" style="left:460px; top:165px; width:56px; height:22px; ">
  214. <caption>취소</caption>
  215. <script type="javascript" ev:event="DOMActivate">
  216. <![CDATA[
  217. model.close();
  218. ]]>
  219. </script>
  220. </button>
  221. </xhtml:body>
  222. </xhtml:html>