123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>건진주소입력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <info>
- <patinfo>
- <item>
- <pid/>
- <rgstno1/>
- <rgstno2/>
- <hngnm/>
- <engnm/>
- <sex/>
- <age/>
- <brthdd/>
- <zipcd11/>
- <zipcd12/>
- <zipcdseq1/>
- <addr1/>
- <detladdr1/>
- <mpphon/>
- <telno/>
- <emailid/>
- <emailtype/>
- <healexampid/>
- <emailkind/>
- <zipcd21/>
- <zipcd22/>
- <zipcdseq2/>
- <addr2/>
- <detladdr2/>
- <psptno/>
- <brthareacnts/>
- <pidcretfg/>
- <insuid/>
- </item>
- </patinfo>
- </info>
- <temp>
- <patinfo/>
- </temp>
- </main>
- <send>
- <healexamflag/>
- <rsrvdd/>
- <rsrvno/>
- <instcd/>
- </send>
- <hidden/>
- <temp>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitCtrl();
- ]]>
- </script>
- <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/hidden"/>
- <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TXAHA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var m_AutoNameCardPrintYN = 'Y';
-
- /**==========================================================================================================================
- * 우편팝업
- 예약접수테이블키 : 건진구분, 예약일자, 예약번호, 기관코드
- 건진환자기본정보 : 건진환자등록번호, 기관코드
- *SPAHA00600_PARAM1 : 건진구분
- *SPAHA00600_PARAM2 : 예약일자
- *SPAHA00600_PARAM3 : 예약번호
- *SPAHA00600_PARAM4 : 기관코드
- *SPAHA00600_PARAM5 : 건진환자등록번호
- *SPAHA00600_PARAM6 : 등록번호
- *SPAHA00600_PARAM7 : 이름
- *SPAHA00600_PARAM8 : 네임카드자동출력여부
- *==========================================================================================================================*/
- function fInitCtrl(){
- if ( checkOpener() ){
- ipt_pid.disabled = false;
- ipt_pnm.disabled = true;
- var vPid = opener.javascript.getParameter("SPAHA00600_PARAM6") ;
- var vHngnm = opener.javascript.getParameter("SPAHA00600_PARAM7") ;
- var vHealExamFlag = opener.javascript.getParameter("SPAHA00600_PARAM1") ;
- var vRsrvdd = opener.javascript.getParameter("SPAHA00600_PARAM2") ;
- var vRsrvno = opener.javascript.getParameter("SPAHA00600_PARAM3") ;
- var vInstcd = opener.javascript.getParameter("SPAHA00600_PARAM4") ;
- var m_AutoNameCardPrintYN = opener.javascript.getParameter("SPAHA00600_PARAM8") ;
-
- model.setValue("/root/main/info/patinfo/item/pid" , vPid);
- model.setValue("/root/main/info/patinfo/item/hngnm" , vHngnm);
- model.setValue("/root/send/healexamflag", vHealExamFlag);
- model.setValue("/root/send/rsrvdd",vRsrvdd);
- model.setValue("/root/send/rsrvno",vRsrvno);
- model.setValue("/root/send/instcd",vInstcd);
- model.refresh();
- fGetPatInfo(2);
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="550" pageheight="220" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:160px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">건진주소입력</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:500px; y2:25px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:154px; x2:500px; y2:154px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:77px; x2:500px; y2:77px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:53px; x2:500px; y2:53px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:55px; width:55px; height:46px; vertical-align:middle; ">주소1</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:102px; x2:500px; y2:102px; "/>
- <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" style="left:184px; top:56px; width:316px; height:19px; "/>
- <button id="btn_searchzipcd" class="icon_search" style="left:163px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddr(1, "/root/main/info/patinfo/item");
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_n_b" style="left:102px; top:57px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <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; "/>
- <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; "/>
- <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; "/>
- <input id="opt_addr2" ref="/root/main/info/patinfo/item/addr2" class="output_fix" style="left:184px; top:106px; width:316px; height:19px; "/>
- <button id="btn_searchzipcd2" class="icon_search" style="left:163px; top:107px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddr(2, "/root/main/info/patinfo/item");
- ]]>
- </script>
- </button>
- <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; "/>
- <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; "/>
- <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; "/>
- <caption id="caption4" class="search_n_b" style="left:102px; top:107px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:127px; x2:500px; y2:127px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:104px; width:55px; height:46px; vertical-align:middle; ">주소2</caption>
- <line id="line7" class="line_2" style="x1:0px; y1:152px; x2:500px; y2:152px; "/>
- <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" style="left:58px; top:31px; width:83px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- fGetPatInfo(2);
- exeReportPreview("RPAHA00601", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- //fGetDetlInfoHid();
- }
- ]]>
- </script>
- </input>
- <caption id="caption6" class="cell_1" style="left:143px; top:30px; width:55px; height:23px; vertical-align:middle; ">성명</caption>
- <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" style="left:201px; top:31px; width:83px; height:19px; "/>
- <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" visibility="hidden" style="left:286px; top:31px; width:83px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- fGetPatInfo(2);
- //fGetDetlInfoHid();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" visibility="hidden" style="left:371px; top:31px; width:83px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- fGetPatInfo(2);
- //fGetDetlInfoHid();
- }
- ]]>
- </script>
- </input>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:160px; width:501px; height:27px; ">
- <button id="button4" class="btn4_letter2" style="left:385px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("주소를 ", "Q002") == 6 ) {
- fSavePatInfo("N");
- submit("TXAHA00601");
- }
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:444px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|