SPAHA00600_건진자정보입력.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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. <main>
  10. <info>
  11. <patinfo>
  12. <item>
  13. <pid/>
  14. <rgstno1/>
  15. <rgstno2/>
  16. <hngnm/>
  17. <engnm/>
  18. <sex/>
  19. <age/>
  20. <brthdd/>
  21. <zipcd11/>
  22. <zipcd12/>
  23. <zipcdseq1/>
  24. <addr1/>
  25. <detladdr1/>
  26. <mpphon/>
  27. <telno/>
  28. <emailid/>
  29. <emailtype/>
  30. <healexampid/>
  31. <emailkind/>
  32. <zipcd21/>
  33. <zipcd22/>
  34. <zipcdseq2/>
  35. <addr2/>
  36. <detladdr2/>
  37. <psptno/>
  38. <brthareacnts/>
  39. <pidcretfg/>
  40. <insuid/>
  41. </item>
  42. </patinfo>
  43. </info>
  44. <temp>
  45. <patinfo/>
  46. </temp>
  47. </main>
  48. <send>
  49. <healexamflag/>
  50. <rsrvdd/>
  51. <rsrvno/>
  52. <instcd/>
  53. </send>
  54. <hidden/>
  55. <temp>
  56. </temp>
  57. </root>
  58. </instance>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  61. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  62. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. fInitCtrl();
  67. ]]>
  68. </script>
  69. <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/hidden"/>
  70. <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  71. <submission id="TXAHA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  72. </model>
  73. <script type="javascript">
  74. <![CDATA[
  75. var m_AutoNameCardPrintYN = 'Y';
  76. /**==========================================================================================================================
  77. * 우편팝업
  78. 예약접수테이블키 : 건진구분, 예약일자, 예약번호, 기관코드
  79. 건진환자기본정보 : 건진환자등록번호, 기관코드
  80. *SPAHA00600_PARAM1 : 건진구분
  81. *SPAHA00600_PARAM2 : 예약일자
  82. *SPAHA00600_PARAM3 : 예약번호
  83. *SPAHA00600_PARAM4 : 기관코드
  84. *SPAHA00600_PARAM5 : 건진환자등록번호
  85. *SPAHA00600_PARAM6 : 등록번호
  86. *SPAHA00600_PARAM7 : 이름
  87. *SPAHA00600_PARAM8 : 네임카드자동출력여부
  88. *==========================================================================================================================*/
  89. function fInitCtrl(){
  90. if ( checkOpener() ){
  91. ipt_pid.disabled = false;
  92. ipt_pnm.disabled = true;
  93. var vPid = opener.javascript.getParameter("SPAHA00600_PARAM6") ;
  94. var vHngnm = opener.javascript.getParameter("SPAHA00600_PARAM7") ;
  95. var vHealExamFlag = opener.javascript.getParameter("SPAHA00600_PARAM1") ;
  96. var vRsrvdd = opener.javascript.getParameter("SPAHA00600_PARAM2") ;
  97. var vRsrvno = opener.javascript.getParameter("SPAHA00600_PARAM3") ;
  98. var vInstcd = opener.javascript.getParameter("SPAHA00600_PARAM4") ;
  99. var m_AutoNameCardPrintYN = opener.javascript.getParameter("SPAHA00600_PARAM8") ;
  100. model.setValue("/root/main/info/patinfo/item/pid" , vPid);
  101. model.setValue("/root/main/info/patinfo/item/hngnm" , vHngnm);
  102. model.setValue("/root/send/healexamflag", vHealExamFlag);
  103. model.setValue("/root/send/rsrvdd",vRsrvdd);
  104. model.setValue("/root/send/rsrvno",vRsrvno);
  105. model.setValue("/root/send/instcd",vInstcd);
  106. model.refresh();
  107. fGetPatInfo(2);
  108. }
  109. }
  110. ]]>
  111. </script>
  112. </xhtml:head>
  113. <xhtml:body pagewidth="550" pageheight="220" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  114. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:160px; ">
  115. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">건진주소입력</caption>
  116. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:500px; y2:25px; "/>
  117. <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
  118. <line id="line6" class="line_3" style="x1:0px; y1:154px; x2:500px; y2:154px; "/>
  119. <line id="line2" class="line_2" style="x1:0px; y1:77px; x2:500px; y2:77px; "/>
  120. <line id="line4" class="line_2" style="x1:0px; y1:53px; x2:500px; y2:53px; "/>
  121. <caption id="caption2" class="cell_1" style="left:0px; top:55px; width:55px; height:46px; vertical-align:middle; ">주소1</caption>
  122. <line id="line3" class="line_2" style="x1:0px; y1:102px; x2:500px; y2:102px; "/>
  123. <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" style="left:184px; top:56px; width:316px; height:19px; "/>
  124. <button id="btn_searchzipcd" class="icon_search" style="left:163px; top:57px; width:16px; height:16px; ">
  125. <caption/>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. fSetAddr(1, "/root/main/info/patinfo/item");
  129. ]]>
  130. </script>
  131. </button>
  132. <caption id="caption5" class="search_n_b" style="left:102px; top:57px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  133. <input id="opt_zipcd11" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:58px; top:56px; width:42px; height:19px; "/>
  134. <input id="ipt_detladdr" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" imemode="hangul" maxlength="100" style="left:58px; top:81px; width:442px; height:19px; "/>
  135. <input id="opt_zipcd12" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:116px; top:56px; width:42px; height:19px; "/>
  136. <input id="opt_addr2" ref="/root/main/info/patinfo/item/addr2" class="output_fix" style="left:184px; top:106px; width:316px; height:19px; "/>
  137. <button id="btn_searchzipcd2" class="icon_search" style="left:163px; top:107px; width:16px; height:16px; ">
  138. <caption/>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. fSetAddr(2, "/root/main/info/patinfo/item");
  142. ]]>
  143. </script>
  144. </button>
  145. <input id="ipt_zipcd21" ref="/root/main/info/patinfo/item/zipcd21" class="output_fix" format="999" style="left:58px; top:106px; width:42px; height:19px; "/>
  146. <input id="input1" ref="/root/main/info/patinfo/item/detladdr2" class="input_default" imemode="hangul" maxlength="100" style="left:58px; top:131px; width:442px; height:19px; "/>
  147. <input id="ipt_zipcd22" ref="/root/main/info/patinfo/item/zipcd22" class="output_fix" format="999" style="left:116px; top:106px; width:42px; height:19px; "/>
  148. <caption id="caption4" class="search_n_b" style="left:102px; top:107px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  149. <line id="line5" class="line_2" style="x1:0px; y1:127px; x2:500px; y2:127px; "/>
  150. <caption id="caption3" class="cell_1" style="left:0px; top:104px; width:55px; height:46px; vertical-align:middle; ">주소2</caption>
  151. <line id="line7" class="line_2" style="x1:0px; y1:152px; x2:500px; y2:152px; "/>
  152. <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" style="left:58px; top:31px; width:83px; height:19px; ">
  153. <script type="javascript" ev:event="onkeyup">
  154. <![CDATA[
  155. if( event.keyCode == 13 ){
  156. fGetPatInfo(2);
  157. exeReportPreview("RPAHA00601", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  158. //fGetDetlInfoHid();
  159. }
  160. ]]>
  161. </script>
  162. </input>
  163. <caption id="caption6" class="cell_1" style="left:143px; top:30px; width:55px; height:23px; vertical-align:middle; ">성명</caption>
  164. <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" style="left:201px; top:31px; width:83px; height:19px; "/>
  165. <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" visibility="hidden" style="left:286px; top:31px; width:83px; height:19px; ">
  166. <script type="javascript" ev:event="onkeyup">
  167. <![CDATA[
  168. if( event.keyCode == 13 ){
  169. fGetPatInfo(2);
  170. //fGetDetlInfoHid();
  171. }
  172. ]]>
  173. </script>
  174. </input>
  175. <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" visibility="hidden" style="left:371px; top:31px; width:83px; height:19px; ">
  176. <script type="javascript" ev:event="onkeyup">
  177. <![CDATA[
  178. if( event.keyCode == 13 ){
  179. fGetPatInfo(2);
  180. //fGetDetlInfoHid();
  181. }
  182. ]]>
  183. </script>
  184. </input>
  185. </group>
  186. <group id="grp_btn" scroll="auto" style="left:0px; top:160px; width:501px; height:27px; ">
  187. <button id="button4" class="btn4_letter2" style="left:385px; top:3px; width:56px; height:22px; ">
  188. <caption>확인</caption>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. if( messageBox("주소를 ", "Q002") == 6 ) {
  192. fSavePatInfo("N");
  193. submit("TXAHA00601");
  194. }
  195. ]]>
  196. </script>
  197. </button>
  198. <button id="button9" class="btn4_letter2" style="left:444px; top:3px; width:56px; height:22px; ">
  199. <caption>취소</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. window.close();
  203. ]]>
  204. </script>
  205. </button>
  206. </group>
  207. </xhtml:body>
  208. </xhtml:html>