123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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="">
- <nhic>
- <url/>
- </nhic>
- <send>
- <m1>
- <rrgstno/>
- <hngnm/>
- <proccorpcd/>
- <orddd/>
- <msgtype/>
- <clntuniqval/>
- <empno/>
- <datainptdt/>
- <pgmtype/>
- <url/>
- </m1>
- </send>
- <main>
- <m2>
- <qualflag/>
- <qualacqtdd/>
- <hshdnm/>
- <secuinstmark/>
- <estmmark/>
- <paylimdd/>
- <ownbflag/>
- <heallifeamtval/>
- <dcntrypsnyn/>
- <handicaprrgstdd/>
- <choicorpmark1/>
- <choicorpmark2/>
- <choicorpmark3/>
- <choicorpmark4/>
- <choicorpnm1/>
- <choicorpnm2/>
- <choicorpnm3/>
- <choicorpnm4/>
- <msg/>
- <msgcd/>
- <rrgstno/>
- <hngnm/>
- <proccorpcd/>
- <datainptdt/>
- </m2>
- </main>
- <hidden>
- <session/>
- </hidden>
- <init>
- <proccd>
- <cd/>
- </proccd>
- </init>
- <init_com>
- <P0364list>
- <P0364>
- <cdid/>
- <cdnm/>
- </P0364>
- </P0364list>
- <P0365list>
- <P0365>
- <cdid/>
- <cdnm/>
- </P0365>
- </P0365list>
- </init_com>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //session정보추출
- fGetUserInfosSampling();
-
- //의료급여기관기호 조회
- submit("TRPAMCOM01");
-
- //공통코드
- zbcfGetCodeList( new Array("P0364","P0365"),
- new Array("/root/init_com/P0364list" //자격여부
- ,"/root/init_com/P0365list" //본인부담여부
- )
- );
-
- //초기화 - url 초기세팅
- zehfInitialize();
- zehfCheckModule();
-
- //test
- //zehfClose();
-
- //SPPMC03700_PARM : rrgstno▦hngnm
- if (checkOpener())
- {
- opener.javascript.setParameter("SPPMC03700_RTN","");
-
- var SPPMC03700_PARM = opener.javascript.getParameter("SPPMC03700_PARM");
- var array_parm = SPPMC03700_PARM.split("▦");
-
- gRrgstno = array_parm[0];
- gHngnm = array_parm[1];
- gOrddd = array_parm[2];
-
- //입력받은 진료일자가 없으면 현재일자 세팅
- if (gOrddd.getTrim() =="") {
- gOrddd = getCurrentDate();
- }
-
- opener.javascript.setParameter("SPPMC03700_PARM","");
-
-
- }
-
- //주민번호
- model.setValue("/root/send/m1/rrgstno", gRrgstno );
- //이름
- model.setValue("/root/send/m1/hngnm",gHngnm);
- //의료급여기관기호
- model.setValue("/root/send/m1/proccorpcd", model.getValue("/root/init/proccd/cd") );
- //진료일자
- model.setValue("/root/send/m1/orddd", gOrddd);
-
-
- model.setValue("/root/nhic/url", gvNhicUrl);
- model.setValue("/root/send/m1/msgtype", "M1");
- model.setValue("/root/send/m1/pgmtype", "2");
- model.setValue("/root/send/m1/empno", model.getValue("/root/hidden/session/sess_userid"));
- model.setValue("/root/send/m1/datainptdt", getCurrentDate() + "-" +getCurrentTime() );
- model.setValue("/root/send/m1/clntuniqval", model.getValue("/root/hidden/session/sess_userid"));
-
-
- var rrgstno = model.getValue("/root/send/m1/rrgstno");
- var hngnm = model.getValue("/root/send/m1/hngnm");
- var orddd = model.getValue("/root/send/m1/orddd");
-
-
- if(rrgstno != "" && hngnm != "" && orddd != ""){
- btn_search.dispatch("DOMActivate");
- }
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/init"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init_com"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/nhicinterfaceweb/js/ZEH001.js"/>
- <script type="javascript">
- <![CDATA[
- var gRrgstno, gHngnm, gOrddd, strSend, strRcv;
-
- //세션정보 추출하기
- function fGetUserInfosSampling(){
- var sUserInfosS = getUserInfos();
- sUserInfosS = sUserInfosS + "|";
-
- var UserInfosS_Array = sUserInfosS.split("|");
-
- var userid = UserInfosS_Array[0]; //사용자번호
- var usernm = UserInfosS_Array[1]; //사용자이름
- var posinstcd = UserInfosS_Array[2]; //소속기관코드
- var posinstnm = UserInfosS_Array[3]; //소속기관명
- var posdeptcd = UserInfosS_Array[4]; //소속부서코드
- var posdeptnm = UserInfosS_Array[5]; //소속부서명
-
- if (userid == null || userid == "" || userid == " " || userid == "-") userid = "pam";
- if (posinstcd == null || posinstcd == "" || posinstcd == " " || posinstcd == "-") posinstcd = "012";
-
- model.makeValue("/root/hidden/session/sess_userid",userid);
- model.makeValue("/root/hidden/session/sess_usernm",usernm);
- model.makeValue("/root/hidden/session/sess_posinstcd",posinstcd);
- model.makeValue("/root/hidden/session/sess_posinstnm",posinstnm);
- model.makeValue("/root/hidden/session/sess_posdeptcd",posdeptcd);
- model.makeValue("/root/hidden/session/sess_posdeptnm",posdeptnm);
-
- model.refresh();
- }
-
- ]]>
- </script>
- <script type="javascript" src="D:\CMCProject\application\webapps\com\hismainweb\js\DocTitle.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="300" guideline="1,930;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:875px; height:245px; ">
- <caption id="caption6" class="tit_2" style="left:5px; top:65px; width:108px; height:13px; ">자격조회결과</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:610px; height:60px; "/>
- <caption id="caption1" class="search_name" style="left:17px; top:8px; width:65px; height:17px; ">이름 :</caption>
- <output id="opt_hngnm" ref="/root/send/m1/hngnm" class="output_fix" style="left:103px; top:7px; width:87px; height:19px; text-align:center; "/>
- <caption id="caption5" class="search_name" style="left:251px; top:8px; width:86px; height:17px; ">주민번호 :</caption>
- <caption id="caption7" class="search_name" style="left:200px; top:30px; width:138px; height:17px; ">의료급여기관번호 :</caption>
- <output id="output1" ref="/root/send/m1/proccorpcd" class="output_fix" style="left:343px; top:29px; width:137px; height:19px; text-align:center; "/>
- <line id="line1" style="x1:497px; y1:5px; x2:497px; y2:56px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter4" style="left:512px; top:18px; width:80px; height:22px; ">
- <caption>자격조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //var WebServCtrl = CMCWebServCtrl;
- var rrgstno = model.getValue("/root/send/m1/rrgstno"); // 수진자 주민번호
- var proccorpcd = model.getValue("/root/send/m1/proccorpcd"); // 의료급여 기관번호
- var hngnm = model.getValue("/root/send/m1/hngnm"); // 수진자서명
- var orddd = model.getValue("/root/send/m1/orddd"); // 진료일자
- var datainptdt = model.getValue("/root/send/m1/datainptdt"); // 일자
- var msgtype = model.getValue("/root/send/m1/msgtype"); // 메시지 타입
- var clntuniqval = model.getValue("/root/send/m1/clntuniqval"); // 클라이언트 인포
- var empno = model.getValue("/root/send/m1/empno"); // 조작자 주민번호
- var pgmtype = model.getValue("/root/send/m1/pgmtype"); // 프로그램 타입
-
- var url = model.getValue("/root/nhic/url"); // url
-
- zehfAddParam("sujinjaJuminNo" , rrgstno); // 수진자 주민번호
- zehfAddParam("ykiho" , proccorpcd); // 의료급여 기관번호
- zehfAddParam("sujinjaJuminNm" , hngnm); // 수진자성명
- zehfAddParam("diagDt" , orddd); // 진료일자
- zehfAddParam("loginId" , "jinkwan"); // 공단포탈 로그인아이디
- zehfAddParam("password" , "ji2636"); // 공단포탈 로그인패스워드
- zehfAddParam("date" , datainptdt); // 일자
- zehfAddParam("msgType" , msgtype); // 메시지 타입
- zehfAddParam("clientInfo" , clntuniqval); // 클라이언트 고유정보
- zehfAddParam("operatorJuminNo" , empno); // 조작자 주민번호
- zehfAddParam("pgmType" , pgmtype); // 프로그램 타입
-
-
- // 자격 검증
- // 데이터 건수를 받아옴.
- var count = zehfQualify(url);
-
- var i = 0;
- var max = datagrid1.rows;
-
- for(i=max; i >= 1; i--)
- {
- datagrid1.deleteRow(i, true);
- }
-
- var rowCnt = datagrid1.rows - datagrid1.fixedRows + 1;
-
- if(count == 0 || count == -1)
- {
- alert("정보 수신 실패");
-
- var msgcd = zehfGetValue("0", "messageCode");
- var msg = zehfGetValue("0", "message");
-
- //alert(msg);
-
-
- datagrid1.addRow(false);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/rrgstno" , rrgstno);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msgcd" , msgcd);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msg" , msg);
-
- zehfClose();
- }
-
- // 수신받은 Data 건수만큼 Loop를 돌면서 처리함.
- for(i = 0; i < count; i++)
- {
- var GetValue_rrgstno = zehfGetValue(i, "sujinjaJuminNo");
- var GetValue_hngnm = zehfGetValue(i, "sujinjaJuminNm");
- var GetValue_proccorpcd = zehfGetValue(i, "ykiho");
- var GetValue_qualflag = zehfGetValue(i, "qlfType");
- var GetValue_qualacqtdd = zehfGetValue(i, "qlfChwidukDt");
- var GetValue_hshdnm = zehfGetValue(i, "sedaejuNm");
- var GetValue_secuinstmark = zehfGetValue(i, "protAdminSym");
- var GetValue_estmmark = zehfGetValue(i, "asylmSym");
- var GetValue_paylimdd = zehfGetValue(i, "payRestricDt");
- var GetValue_ownbflag = zehfGetValue(i, "sbrdnType");
- var GetValue_heallifeamtval = zehfGetValue(i, "cfhcRem");
- var GetValue_choicorpmark1 = zehfGetValue(i, "ykiho1");
- var GetValue_choicorpmark2 = zehfGetValue(i, "ykiho2");
- var GetValue_choicorpmark3 = zehfGetValue(i, "ykiho3");
- var GetValue_choicorpmark4 = zehfGetValue(i, "ykiho4");
- var GetValue_choicorpnm1 = zehfGetValue(i, "yoyangNm1");
- var GetValue_choicorpnm2 = zehfGetValue(i, "yoyangNm2");
- var GetValue_choicorpnm3 = zehfGetValue(i, "yoyangNm3");
- var GetValue_choicorpnm4 = zehfGetValue(i, "yoyangNm4");
- var GetValue_handicaprrgstdd = zehfGetValue(i, "obstRegDt");
- var GetValue_datainptdt = zehfGetValue(i, "date");
- var GetValue_dcntrypsnyn = zehfGetValue(i, "dprtYn");
- var GetValue_msgcd = zehfGetValue(i, "messageCode");
- var GetValue_msg = zehfGetValue(i, "message");
- var GetValue_msgtype = zehfGetValue(i, "msgType");
- var GetValue_clntuniqval = zehfGetValue(i, "clientInfo");
-
- datagrid1.addRow(false);
-
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/rrgstno" , GetValue_rrgstno);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/hngnm" , GetValue_hngnm);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/proccorpcd" , GetValue_proccorpcd);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/qualflag" , GetValue_qualflag);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/qualacqtdd" , GetValue_qualacqtdd);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/hshdnm" , GetValue_hshdnm);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/secuinstmark" , GetValue_secuinstmark);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/estmmark" , GetValue_estmmark);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/paylimdd" , GetValue_paylimdd);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/ownbflag" , GetValue_ownbflag);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/heallifeamtval" , GetValue_heallifeamtval);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpmark1" , GetValue_choicorpmark1);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpmark2" , GetValue_choicorpmark2);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpmark3" , GetValue_choicorpmark3);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpmark4" , GetValue_choicorpmark4);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpnm1" , GetValue_choicorpnm1);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpnm2" , GetValue_choicorpnm2);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpnm3" , GetValue_choicorpnm3);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpnm4" , GetValue_choicorpnm4);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/handicaprrgstdd" , GetValue_handicaprrgstdd);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/datainptdt" , GetValue_datainptdt);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/dcntrypsnyn" , GetValue_dcntrypsnyn);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msgcd" , GetValue_msgcd);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msg" , GetValue_msg);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msgtype" , GetValue_msgtype);
- model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/clntuniqval" , GetValue_clntuniqval);
- }
-
- // 메모리 Clear
- zehfClose();
-
- //자격조회 결과 중 첫번째 건 세팅
- datagrid1.row = 1;
- model.copyNode("/root/main/m2","/root/main/list["+ datagrid1.row +"]");
- model.refresh();
-
-
- ]]>
- </script>
- </button>
- <line id="line7" class="line_1" style="x1:0px; y1:80px; x2:875px; y2:80px; "/>
- <caption id="caption65" class="cell_1" style="left:0px; top:85px; width:149px; height:23px; vertical-align:middle; ">자격여부</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:109px; width:149px; height:23px; vertical-align:middle; ">자격취득일</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:133px; width:149px; height:23px; vertical-align:middle; ">세대주성명</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:157px; width:149px; height:23px; vertical-align:middle; ">보장기관기호(사업장기호)</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:181px; width:149px; height:23px; vertical-align:middle; ">시설기호(증번호)</caption>
- <caption id="caption9" class="cell_1" style="left:285px; top:85px; width:125px; height:23px; vertical-align:middle; ">급여제한일자</caption>
- <caption id="caption10" class="cell_1" style="left:285px; top:109px; width:125px; height:23px; vertical-align:middle; ">본인부담여부</caption>
- <caption id="caption11" class="cell_1" style="left:285px; top:133px; width:125px; height:23px; vertical-align:middle; ">건강생활유지비 잔액</caption>
- <caption id="caption12" class="cell_1" style="left:285px; top:157px; width:125px; height:23px; vertical-align:middle; ">출국자여부</caption>
- <caption id="caption13" class="cell_1" style="left:285px; top:181px; width:125px; height:23px; vertical-align:middle; ">장애인 등록일자</caption>
- <caption id="caption14" class="cell_1" style="left:546px; top:109px; width:167px; height:23px; vertical-align:middle; ">선택기관기호2</caption>
- <caption id="caption15" class="cell_1" style="left:546px; top:133px; width:167px; height:23px; vertical-align:middle; ">선택기관기호3</caption>
- <caption id="caption16" class="cell_1" style="left:546px; top:157px; width:167px; height:23px; vertical-align:middle; ">선택기관기호4</caption>
- <caption id="caption17" class="cell_1" style="left:546px; top:85px; width:167px; height:23px; vertical-align:middle; ">선택기관기호1(관할지사코드)</caption>
- <output id="opt_rrgstno" ref="/root/send/m1/rrgstno" class="output_fix" format="999999-9999999" style="left:343px; top:7px; width:137px; height:19px; text-align:center; "/>
- <datagrid id="datagrid1" nodeset="/root/main/list" caption="수진자 주민번호^수진자 성명^의료기관 기호^자격 여부^자격 취득일^세대주 성명^보장기관기호^시설 기호^급여제한일자^본인부담여부^건강생활유지비 잔액^선택기관기호1^선택기관기호2^선택기관기호3^선택기관기호4^선택기관이름1^선택기관이름2^선택기관이름3^선택기관이름4^출국자 여부^데이터 입력일자^서버로부터의 메시지 Code^서버로부터의 메시지^메시지 타입^화면 클라이언트의 개별 고유값^장애인등록일자" colsep="^" colwidth="120, 103, 100, 70, 100, 100, 100, 100, 100, 100, 130, 100, 100, 100, 100, 100, 100, 100, 100, 100, 150, 170, 250, 100, 200, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:614px; top:0px; width:260px; height:75px; ">
- <col ref="rrgstno"/>
- <col ref="hngnm"/>
- <col ref="proccorpcd" visibility="hidden"/>
- <col ref="qualflag" visibility="hidden"/>
- <col ref="qualacqtdd" visibility="hidden"/>
- <col ref="hshdnm" visibility="hidden"/>
- <col ref="secuinstmark" visibility="hidden"/>
- <col ref="estmmark" visibility="hidden"/>
- <col ref="paylimdd" visibility="hidden"/>
- <col ref="ownbflag" visibility="hidden"/>
- <col ref="heallifeamtval" visibility="hidden"/>
- <col ref="choicorpmark1" visibility="hidden"/>
- <col ref="choicorpmark2" visibility="hidden"/>
- <col ref="choicorpmark3" visibility="hidden"/>
- <col ref="choicorpmark4" visibility="hidden"/>
- <col ref="choicorpnm1" visibility="hidden"/>
- <col ref="choicorpnm2" visibility="hidden"/>
- <col ref="choicorpnm3" visibility="hidden"/>
- <col ref="choicorpnm4" visibility="hidden"/>
- <col ref="dcntrypsnyn" visibility="hidden"/>
- <col ref="datainptdt" visibility="hidden"/>
- <col ref="msgcd" visibility="hidden"/>
- <col ref="msg" visibility="hidden"/>
- <col ref="msgtype" visibility="hidden"/>
- <col ref="clntuniqval" visibility="hidden"/>
- <col ref="handicaprrgstdd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.copyNode("/root/main/m2","/root/main/list["+ datagrid1.row +"]");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <output id="output4" ref="/root/main/m2/secuinstmark" class="output_fix" appearance="output" style="left:151px; top:159px; width:130px; height:19px; text-align:left; "/>
- <output id="output5" ref="/root/main/m2/estmmark" class="output_fix" appearance="output" style="left:151px; top:183px; width:130px; height:19px; text-align:left; "/>
- <output id="output6" ref="/root/main/m2/dcntrypsnyn" class="output_fix" appearance="output" style="left:412px; top:158px; width:130px; height:19px; text-align:left; "/>
- <output id="output10" ref="/root/main/m2/heallifeamtval" class="output_fix" appearance="output" style="left:412px; top:133px; width:130px; height:19px; text-align:right; "/>
- <output id="output11" ref="/root/main/m2/choicorpmark4" class="output_fix" appearance="output" style="left:716px; top:158px; width:70px; height:19px; text-align:left; "/>
- <output id="output7" ref="/root/main/m2/paylimdd" class="output_fix" appearance="output" style="left:412px; top:85px; width:130px; height:19px; text-align:left; "/>
- <output id="output12" ref="/root/main/m2/choicorpmark3" class="output_fix" appearance="output" style="left:716px; top:133px; width:70px; height:19px; text-align:left; "/>
- <output id="output8" ref="/root/main/m2/handicaprrgstdd" class="output_fix" appearance="output" style="left:412px; top:182px; width:130px; height:19px; text-align:left; "/>
- <output id="output13" ref="/root/main/m2/choicorpmark1" class="output_fix" appearance="output" style="left:716px; top:85px; width:70px; height:19px; text-align:left; "/>
- <output id="output14" ref="/root/main/m2/choicorpmark2" class="output_fix" appearance="output" style="left:716px; top:109px; width:70px; height:19px; text-align:left; "/>
- <output id="output15" ref="/root/main/m2/choicorpnm4" class="output_fix" appearance="output" style="left:789px; top:158px; width:85px; height:19px; text-align:left; "/>
- <output id="output16" ref="/root/main/m2/choicorpnm3" class="output_fix" appearance="output" style="left:789px; top:133px; width:85px; height:19px; text-align:left; "/>
- <output id="output17" ref="/root/main/m2/choicorpnm1" class="output_fix" appearance="output" style="left:789px; top:85px; width:85px; height:19px; text-align:left; "/>
- <output id="output18" ref="/root/main/m2/choicorpnm2" class="output_fix" appearance="output" style="left:789px; top:109px; width:85px; height:19px; text-align:left; "/>
- <output id="output19" ref="/root/main/m2/msgcd" class="output_fix" appearance="output" style="left:716px; top:182px; width:158px; height:19px; text-align:left; "/>
- <caption id="caption18" class="cell_1" style="left:546px; top:181px; width:167px; height:23px; vertical-align:middle; ">서버 메시지</caption>
- <output id="output20" ref="/root/main/m2/msg" class="output_fix" appearance="output" style="left:151px; top:206px; width:722px; height:19px; text-align:left; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:205px; width:149px; height:23px; vertical-align:middle; ">서버 메시지</caption>
- <line id="line16" class="line_3" style="x1:0px; y1:227px; x2:875px; y2:227px; "/>
- <select1 id="cmb_qualflag" ref="/root/main/m2/qualflag" disabled="true" appearance="minimal" style="left:151px; top:86px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init_com/P0364list/P0364">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_qualacqtdd" ref="/root/main/m2/qualacqtdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:151px; top:110px; width:130px; height:19px; text-align:left; "/>
- <output id="opt_hshdnm" ref="/root/main/m2/hshdnm" class="output_fix" appearance="output" style="left:151px; top:134px; width:130px; height:19px; text-align:left; "/>
- <select1 id="combo1" ref="/root/main/m2/ownbflag" disabled="true" appearance="minimal" style="left:412px; top:110px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init_com/P0365list/P0365">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="output2" ref="/root/send/m1/orddd" class="output_fix" format="yyyy-mm-dd" style="left:103px; top:32px; width:87px; height:19px; text-align:center; "/>
- <caption id="caption20" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">진료일자 :</caption>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:245px; width:875px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:757px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //자격여부를 보험유형으로 변환
- /*
- 1 지역가입자
- 2 지역세대원
- 4 임의계속직장가입자
- 5 직장가입자
- 6 직장피부양자
- 7 의료급여1종
- 8 의료급여2종 */
-
-
- if (checkOpener())
- {
-
- if ( model.getValue("/root/main/m2/qualflag").getTrim() == "" ) {
- opener.javascript.setParameter("SPPMC03700_RTN","N");
- }
- else {
- opener.javascript.setParameter("SPPMC03700_RTN","Y");
-
- var vinsukind = model.getValue("/root/main/m2/qualflag");
- if (vinsukind == "7") { //의료급여1종
- opener.javascript.setParameter("SPPMC03700_insukind","21");
- }
- else if (vinsukind == "8") { //의료급여2종
- opener.javascript.setParameter("SPPMC03700_insukind","22");
- }
- else { //건강보험
- opener.javascript.setParameter("SPPMC03700_insukind","11");
- }
-
- //test
- //opener.javascript.setParameter("SPPMC03700_insufromdd","20010101");
- //opener.javascript.setParameter("SPPMC03700_insdnm","현영");
- //opener.javascript.setParameter("SPPMC03700_insucd","714444");
- //opener.javascript.setParameter("SPPMC03700_insuno","1234");
-
- opener.javascript.setParameter("SPPMC03700_insufromdd",model.getValue("/root/main/m2/qualacqtdd"));
- opener.javascript.setParameter("SPPMC03700_insdnm",model.getValue("/root/main/m2/hshdnm"));
- opener.javascript.setParameter("SPPMC03700_insucd",model.getValue("/root/main/m2/secuinstmark"));
- opener.javascript.setParameter("SPPMC03700_insuno",model.getValue("/root/main/m2/estmmark"));
- opener.javascript.setParameter("SPPMC03700_choicorpmark1",model.getValue("/root/main/m2/choicorpmark1"));
- opener.javascript.setParameter("SPPMC03700_choicorpnm1",model.getValue("/root/main/m2/choicorpnm1"));
-
- }
-
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:816px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (checkOpener())
- {
- opener.javascript.setParameter("SPPMC03700_RTN","N");
- window.close();
- }
- ]]>
- </script>
- </button>
- <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:875px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|