SPPMC03700_자격조회.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507
  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. <nhic>
  10. <url/>
  11. </nhic>
  12. <send>
  13. <m1>
  14. <rrgstno/>
  15. <hngnm/>
  16. <proccorpcd/>
  17. <orddd/>
  18. <msgtype/>
  19. <clntuniqval/>
  20. <empno/>
  21. <datainptdt/>
  22. <pgmtype/>
  23. <url/>
  24. </m1>
  25. </send>
  26. <main>
  27. <m2>
  28. <qualflag/>
  29. <qualacqtdd/>
  30. <hshdnm/>
  31. <secuinstmark/>
  32. <estmmark/>
  33. <paylimdd/>
  34. <ownbflag/>
  35. <heallifeamtval/>
  36. <dcntrypsnyn/>
  37. <handicaprrgstdd/>
  38. <choicorpmark1/>
  39. <choicorpmark2/>
  40. <choicorpmark3/>
  41. <choicorpmark4/>
  42. <choicorpnm1/>
  43. <choicorpnm2/>
  44. <choicorpnm3/>
  45. <choicorpnm4/>
  46. <msg/>
  47. <msgcd/>
  48. <rrgstno/>
  49. <hngnm/>
  50. <proccorpcd/>
  51. <datainptdt/>
  52. </m2>
  53. </main>
  54. <hidden>
  55. <session/>
  56. </hidden>
  57. <init>
  58. <proccd>
  59. <cd/>
  60. </proccd>
  61. </init>
  62. <init_com>
  63. <P0364list>
  64. <P0364>
  65. <cdid/>
  66. <cdnm/>
  67. </P0364>
  68. </P0364list>
  69. <P0365list>
  70. <P0365>
  71. <cdid/>
  72. <cdnm/>
  73. </P0365>
  74. </P0365list>
  75. </init_com>
  76. </root>
  77. </instance>
  78. <script type="javascript" ev:event="xforms-ready">
  79. <![CDATA[
  80. //session정보추출
  81. fGetUserInfosSampling();
  82. //의료급여기관기호 조회
  83. submit("TRPAMCOM01");
  84. //공통코드
  85. zbcfGetCodeList( new Array("P0364","P0365"),
  86. new Array("/root/init_com/P0364list" //자격여부
  87. ,"/root/init_com/P0365list" //본인부담여부
  88. )
  89. );
  90. //초기화 - url 초기세팅
  91. zehfInitialize();
  92. zehfCheckModule();
  93. //test
  94. //zehfClose();
  95. //SPPMC03700_PARM : rrgstno▦hngnm
  96. if (checkOpener())
  97. {
  98. opener.javascript.setParameter("SPPMC03700_RTN","");
  99. var SPPMC03700_PARM = opener.javascript.getParameter("SPPMC03700_PARM");
  100. var array_parm = SPPMC03700_PARM.split("▦");
  101. gRrgstno = array_parm[0];
  102. gHngnm = array_parm[1];
  103. gOrddd = array_parm[2];
  104. //입력받은 진료일자가 없으면 현재일자 세팅
  105. if (gOrddd.getTrim() =="") {
  106. gOrddd = getCurrentDate();
  107. }
  108. opener.javascript.setParameter("SPPMC03700_PARM","");
  109. }
  110. //주민번호
  111. model.setValue("/root/send/m1/rrgstno", gRrgstno );
  112. //이름
  113. model.setValue("/root/send/m1/hngnm",gHngnm);
  114. //의료급여기관기호
  115. model.setValue("/root/send/m1/proccorpcd", model.getValue("/root/init/proccd/cd") );
  116. //진료일자
  117. model.setValue("/root/send/m1/orddd", gOrddd);
  118. model.setValue("/root/nhic/url", gvNhicUrl);
  119. model.setValue("/root/send/m1/msgtype", "M1");
  120. model.setValue("/root/send/m1/pgmtype", "2");
  121. model.setValue("/root/send/m1/empno", model.getValue("/root/hidden/session/sess_userid"));
  122. model.setValue("/root/send/m1/datainptdt", getCurrentDate() + "-" +getCurrentTime() );
  123. model.setValue("/root/send/m1/clntuniqval", model.getValue("/root/hidden/session/sess_userid"));
  124. var rrgstno = model.getValue("/root/send/m1/rrgstno");
  125. var hngnm = model.getValue("/root/send/m1/hngnm");
  126. var orddd = model.getValue("/root/send/m1/orddd");
  127. if(rrgstno != "" && hngnm != "" && orddd != ""){
  128. btn_search.dispatch("DOMActivate");
  129. }
  130. model.refresh();
  131. ]]>
  132. </script>
  133. <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/init"/>
  134. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init_com"/>
  135. </model>
  136. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  137. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  138. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  139. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  140. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  141. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  142. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  143. <script type="javascript" src="../../../com/nhicinterfaceweb/js/ZEH001.js"/>
  144. <script type="javascript">
  145. <![CDATA[
  146. var gRrgstno, gHngnm, gOrddd, strSend, strRcv;
  147. //세션정보 추출하기
  148. function fGetUserInfosSampling(){
  149. var sUserInfosS = getUserInfos();
  150. sUserInfosS = sUserInfosS + "|";
  151. var UserInfosS_Array = sUserInfosS.split("|");
  152. var userid = UserInfosS_Array[0]; //사용자번호
  153. var usernm = UserInfosS_Array[1]; //사용자이름
  154. var posinstcd = UserInfosS_Array[2]; //소속기관코드
  155. var posinstnm = UserInfosS_Array[3]; //소속기관명
  156. var posdeptcd = UserInfosS_Array[4]; //소속부서코드
  157. var posdeptnm = UserInfosS_Array[5]; //소속부서명
  158. if (userid == null || userid == "" || userid == " " || userid == "-") userid = "pam";
  159. if (posinstcd == null || posinstcd == "" || posinstcd == " " || posinstcd == "-") posinstcd = "012";
  160. model.makeValue("/root/hidden/session/sess_userid",userid);
  161. model.makeValue("/root/hidden/session/sess_usernm",usernm);
  162. model.makeValue("/root/hidden/session/sess_posinstcd",posinstcd);
  163. model.makeValue("/root/hidden/session/sess_posinstnm",posinstnm);
  164. model.makeValue("/root/hidden/session/sess_posdeptcd",posdeptcd);
  165. model.makeValue("/root/hidden/session/sess_posdeptnm",posdeptnm);
  166. model.refresh();
  167. }
  168. ]]>
  169. </script>
  170. <script type="javascript" src="D:\CMCProject\application\webapps\com\hismainweb\js\DocTitle.js"/>
  171. </xhtml:head>
  172. <xhtml:body pagewidth="900" pageheight="300" guideline="1,930;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  173. <group id="group3" scroll="auto" style="left:0px; top:0px; width:875px; height:245px; ">
  174. <caption id="caption6" class="tit_2" style="left:5px; top:65px; width:108px; height:13px; ">자격조회결과</caption>
  175. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:610px; height:60px; "/>
  176. <caption id="caption1" class="search_name" style="left:17px; top:8px; width:65px; height:17px; ">이름 :</caption>
  177. <output id="opt_hngnm" ref="/root/send/m1/hngnm" class="output_fix" style="left:103px; top:7px; width:87px; height:19px; text-align:center; "/>
  178. <caption id="caption5" class="search_name" style="left:251px; top:8px; width:86px; height:17px; ">주민번호 :</caption>
  179. <caption id="caption7" class="search_name" style="left:200px; top:30px; width:138px; height:17px; ">의료급여기관번호 :</caption>
  180. <output id="output1" ref="/root/send/m1/proccorpcd" class="output_fix" style="left:343px; top:29px; width:137px; height:19px; text-align:center; "/>
  181. <line id="line1" style="x1:497px; y1:5px; x2:497px; y2:56px; border-color:#ffe4bb; border-left-style:solid; "/>
  182. <button id="btn_search" class="btn1_letter4" style="left:512px; top:18px; width:80px; height:22px; ">
  183. <caption>자격조회</caption>
  184. <script type="javascript" ev:event="DOMActivate">
  185. <![CDATA[
  186. //var WebServCtrl = CMCWebServCtrl;
  187. var rrgstno = model.getValue("/root/send/m1/rrgstno"); // 수진자 주민번호
  188. var proccorpcd = model.getValue("/root/send/m1/proccorpcd"); // 의료급여 기관번호
  189. var hngnm = model.getValue("/root/send/m1/hngnm"); // 수진자서명
  190. var orddd = model.getValue("/root/send/m1/orddd"); // 진료일자
  191. var datainptdt = model.getValue("/root/send/m1/datainptdt"); // 일자
  192. var msgtype = model.getValue("/root/send/m1/msgtype"); // 메시지 타입
  193. var clntuniqval = model.getValue("/root/send/m1/clntuniqval"); // 클라이언트 인포
  194. var empno = model.getValue("/root/send/m1/empno"); // 조작자 주민번호
  195. var pgmtype = model.getValue("/root/send/m1/pgmtype"); // 프로그램 타입
  196. var url = model.getValue("/root/nhic/url"); // url
  197. zehfAddParam("sujinjaJuminNo" , rrgstno); // 수진자 주민번호
  198. zehfAddParam("ykiho" , proccorpcd); // 의료급여 기관번호
  199. zehfAddParam("sujinjaJuminNm" , hngnm); // 수진자성명
  200. zehfAddParam("diagDt" , orddd); // 진료일자
  201. zehfAddParam("loginId" , "jinkwan"); // 공단포탈 로그인아이디
  202. zehfAddParam("password" , "ji2636"); // 공단포탈 로그인패스워드
  203. zehfAddParam("date" , datainptdt); // 일자
  204. zehfAddParam("msgType" , msgtype); // 메시지 타입
  205. zehfAddParam("clientInfo" , clntuniqval); // 클라이언트 고유정보
  206. zehfAddParam("operatorJuminNo" , empno); // 조작자 주민번호
  207. zehfAddParam("pgmType" , pgmtype); // 프로그램 타입
  208. // 자격 검증
  209. // 데이터 건수를 받아옴.
  210. var count = zehfQualify(url);
  211. var i = 0;
  212. var max = datagrid1.rows;
  213. for(i=max; i >= 1; i--)
  214. {
  215. datagrid1.deleteRow(i, true);
  216. }
  217. var rowCnt = datagrid1.rows - datagrid1.fixedRows + 1;
  218. if(count == 0 || count == -1)
  219. {
  220. alert("정보 수신 실패");
  221. var msgcd = zehfGetValue("0", "messageCode");
  222. var msg = zehfGetValue("0", "message");
  223. //alert(msg);
  224. datagrid1.addRow(false);
  225. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/rrgstno" , rrgstno);
  226. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msgcd" , msgcd);
  227. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msg" , msg);
  228. zehfClose();
  229. }
  230. // 수신받은 Data 건수만큼 Loop를 돌면서 처리함.
  231. for(i = 0; i < count; i++)
  232. {
  233. var GetValue_rrgstno = zehfGetValue(i, "sujinjaJuminNo");
  234. var GetValue_hngnm = zehfGetValue(i, "sujinjaJuminNm");
  235. var GetValue_proccorpcd = zehfGetValue(i, "ykiho");
  236. var GetValue_qualflag = zehfGetValue(i, "qlfType");
  237. var GetValue_qualacqtdd = zehfGetValue(i, "qlfChwidukDt");
  238. var GetValue_hshdnm = zehfGetValue(i, "sedaejuNm");
  239. var GetValue_secuinstmark = zehfGetValue(i, "protAdminSym");
  240. var GetValue_estmmark = zehfGetValue(i, "asylmSym");
  241. var GetValue_paylimdd = zehfGetValue(i, "payRestricDt");
  242. var GetValue_ownbflag = zehfGetValue(i, "sbrdnType");
  243. var GetValue_heallifeamtval = zehfGetValue(i, "cfhcRem");
  244. var GetValue_choicorpmark1 = zehfGetValue(i, "ykiho1");
  245. var GetValue_choicorpmark2 = zehfGetValue(i, "ykiho2");
  246. var GetValue_choicorpmark3 = zehfGetValue(i, "ykiho3");
  247. var GetValue_choicorpmark4 = zehfGetValue(i, "ykiho4");
  248. var GetValue_choicorpnm1 = zehfGetValue(i, "yoyangNm1");
  249. var GetValue_choicorpnm2 = zehfGetValue(i, "yoyangNm2");
  250. var GetValue_choicorpnm3 = zehfGetValue(i, "yoyangNm3");
  251. var GetValue_choicorpnm4 = zehfGetValue(i, "yoyangNm4");
  252. var GetValue_handicaprrgstdd = zehfGetValue(i, "obstRegDt");
  253. var GetValue_datainptdt = zehfGetValue(i, "date");
  254. var GetValue_dcntrypsnyn = zehfGetValue(i, "dprtYn");
  255. var GetValue_msgcd = zehfGetValue(i, "messageCode");
  256. var GetValue_msg = zehfGetValue(i, "message");
  257. var GetValue_msgtype = zehfGetValue(i, "msgType");
  258. var GetValue_clntuniqval = zehfGetValue(i, "clientInfo");
  259. datagrid1.addRow(false);
  260. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/rrgstno" , GetValue_rrgstno);
  261. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/hngnm" , GetValue_hngnm);
  262. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/proccorpcd" , GetValue_proccorpcd);
  263. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/qualflag" , GetValue_qualflag);
  264. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/qualacqtdd" , GetValue_qualacqtdd);
  265. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/hshdnm" , GetValue_hshdnm);
  266. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/secuinstmark" , GetValue_secuinstmark);
  267. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/estmmark" , GetValue_estmmark);
  268. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/paylimdd" , GetValue_paylimdd);
  269. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/ownbflag" , GetValue_ownbflag);
  270. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/heallifeamtval" , GetValue_heallifeamtval);
  271. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpmark1" , GetValue_choicorpmark1);
  272. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpmark2" , GetValue_choicorpmark2);
  273. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpmark3" , GetValue_choicorpmark3);
  274. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpmark4" , GetValue_choicorpmark4);
  275. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpnm1" , GetValue_choicorpnm1);
  276. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpnm2" , GetValue_choicorpnm2);
  277. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpnm3" , GetValue_choicorpnm3);
  278. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/choicorpnm4" , GetValue_choicorpnm4);
  279. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/handicaprrgstdd" , GetValue_handicaprrgstdd);
  280. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/datainptdt" , GetValue_datainptdt);
  281. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/dcntrypsnyn" , GetValue_dcntrypsnyn);
  282. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msgcd" , GetValue_msgcd);
  283. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msg" , GetValue_msg);
  284. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/msgtype" , GetValue_msgtype);
  285. model.setValue("/root/main/list[" + ( i + rowCnt ) + "]/clntuniqval" , GetValue_clntuniqval);
  286. }
  287. // 메모리 Clear
  288. zehfClose();
  289. //자격조회 결과 중 첫번째 건 세팅
  290. datagrid1.row = 1;
  291. model.copyNode("/root/main/m2","/root/main/list["+ datagrid1.row +"]");
  292. model.refresh();
  293. ]]>
  294. </script>
  295. </button>
  296. <line id="line7" class="line_1" style="x1:0px; y1:80px; x2:875px; y2:80px; "/>
  297. <caption id="caption65" class="cell_1" style="left:0px; top:85px; width:149px; height:23px; vertical-align:middle; ">자격여부</caption>
  298. <caption id="caption2" class="cell_1" style="left:0px; top:109px; width:149px; height:23px; vertical-align:middle; ">자격취득일</caption>
  299. <caption id="caption3" class="cell_1" style="left:0px; top:133px; width:149px; height:23px; vertical-align:middle; ">세대주성명</caption>
  300. <caption id="caption4" class="cell_1" style="left:0px; top:157px; width:149px; height:23px; vertical-align:middle; ">보장기관기호(사업장기호)</caption>
  301. <caption id="caption8" class="cell_1" style="left:0px; top:181px; width:149px; height:23px; vertical-align:middle; ">시설기호(증번호)</caption>
  302. <caption id="caption9" class="cell_1" style="left:285px; top:85px; width:125px; height:23px; vertical-align:middle; ">급여제한일자</caption>
  303. <caption id="caption10" class="cell_1" style="left:285px; top:109px; width:125px; height:23px; vertical-align:middle; ">본인부담여부</caption>
  304. <caption id="caption11" class="cell_1" style="left:285px; top:133px; width:125px; height:23px; vertical-align:middle; ">건강생활유지비 잔액</caption>
  305. <caption id="caption12" class="cell_1" style="left:285px; top:157px; width:125px; height:23px; vertical-align:middle; ">출국자여부</caption>
  306. <caption id="caption13" class="cell_1" style="left:285px; top:181px; width:125px; height:23px; vertical-align:middle; ">장애인 등록일자</caption>
  307. <caption id="caption14" class="cell_1" style="left:546px; top:109px; width:167px; height:23px; vertical-align:middle; ">선택기관기호2</caption>
  308. <caption id="caption15" class="cell_1" style="left:546px; top:133px; width:167px; height:23px; vertical-align:middle; ">선택기관기호3</caption>
  309. <caption id="caption16" class="cell_1" style="left:546px; top:157px; width:167px; height:23px; vertical-align:middle; ">선택기관기호4</caption>
  310. <caption id="caption17" class="cell_1" style="left:546px; top:85px; width:167px; height:23px; vertical-align:middle; ">선택기관기호1(관할지사코드)</caption>
  311. <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; "/>
  312. <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; ">
  313. <col ref="rrgstno"/>
  314. <col ref="hngnm"/>
  315. <col ref="proccorpcd" visibility="hidden"/>
  316. <col ref="qualflag" visibility="hidden"/>
  317. <col ref="qualacqtdd" visibility="hidden"/>
  318. <col ref="hshdnm" visibility="hidden"/>
  319. <col ref="secuinstmark" visibility="hidden"/>
  320. <col ref="estmmark" visibility="hidden"/>
  321. <col ref="paylimdd" visibility="hidden"/>
  322. <col ref="ownbflag" visibility="hidden"/>
  323. <col ref="heallifeamtval" visibility="hidden"/>
  324. <col ref="choicorpmark1" visibility="hidden"/>
  325. <col ref="choicorpmark2" visibility="hidden"/>
  326. <col ref="choicorpmark3" visibility="hidden"/>
  327. <col ref="choicorpmark4" visibility="hidden"/>
  328. <col ref="choicorpnm1" visibility="hidden"/>
  329. <col ref="choicorpnm2" visibility="hidden"/>
  330. <col ref="choicorpnm3" visibility="hidden"/>
  331. <col ref="choicorpnm4" visibility="hidden"/>
  332. <col ref="dcntrypsnyn" visibility="hidden"/>
  333. <col ref="datainptdt" visibility="hidden"/>
  334. <col ref="msgcd" visibility="hidden"/>
  335. <col ref="msg" visibility="hidden"/>
  336. <col ref="msgtype" visibility="hidden"/>
  337. <col ref="clntuniqval" visibility="hidden"/>
  338. <col ref="handicaprrgstdd" visibility="hidden"/>
  339. <script type="javascript" ev:event="onclick">
  340. <![CDATA[
  341. model.copyNode("/root/main/m2","/root/main/list["+ datagrid1.row +"]");
  342. model.refresh();
  343. ]]>
  344. </script>
  345. </datagrid>
  346. <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; "/>
  347. <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; "/>
  348. <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; "/>
  349. <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; "/>
  350. <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; "/>
  351. <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; "/>
  352. <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; "/>
  353. <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; "/>
  354. <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; "/>
  355. <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; "/>
  356. <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; "/>
  357. <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; "/>
  358. <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; "/>
  359. <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; "/>
  360. <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; "/>
  361. <caption id="caption18" class="cell_1" style="left:546px; top:181px; width:167px; height:23px; vertical-align:middle; ">서버 메시지</caption>
  362. <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; "/>
  363. <caption id="caption19" class="cell_1" style="left:0px; top:205px; width:149px; height:23px; vertical-align:middle; ">서버 메시지</caption>
  364. <line id="line16" class="line_3" style="x1:0px; y1:227px; x2:875px; y2:227px; "/>
  365. <select1 id="cmb_qualflag" ref="/root/main/m2/qualflag" disabled="true" appearance="minimal" style="left:151px; top:86px; width:130px; height:19px; ">
  366. <choices>
  367. <itemset nodeset="/root/init_com/P0364list/P0364">
  368. <label ref="cdnm"/>
  369. <value ref="cdid"/>
  370. </itemset>
  371. </choices>
  372. </select1>
  373. <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; "/>
  374. <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; "/>
  375. <select1 id="combo1" ref="/root/main/m2/ownbflag" disabled="true" appearance="minimal" style="left:412px; top:110px; width:130px; height:19px; ">
  376. <choices>
  377. <itemset nodeset="/root/init_com/P0365list/P0365">
  378. <label ref="cdnm"/>
  379. <value ref="cdid"/>
  380. </itemset>
  381. </choices>
  382. </select1>
  383. <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; "/>
  384. <caption id="caption20" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">진료일자 :</caption>
  385. </group>
  386. <group id="group1" scroll="auto" style="left:0px; top:245px; width:875px; height:27px; ">
  387. <button id="btn_confirm" class="btn4_letter2" style="left:757px; top:5px; width:56px; height:22px; ">
  388. <caption>확인</caption>
  389. <script type="javascript" ev:event="DOMActivate">
  390. <![CDATA[
  391. //자격여부를 보험유형으로 변환
  392. /*
  393. 1 지역가입자
  394. 2 지역세대원
  395. 4 임의계속직장가입자
  396. 5 직장가입자
  397. 6 직장피부양자
  398. 7 의료급여1종
  399. 8 의료급여2종 */
  400. if (checkOpener())
  401. {
  402. if ( model.getValue("/root/main/m2/qualflag").getTrim() == "" ) {
  403. opener.javascript.setParameter("SPPMC03700_RTN","N");
  404. }
  405. else {
  406. opener.javascript.setParameter("SPPMC03700_RTN","Y");
  407. var vinsukind = model.getValue("/root/main/m2/qualflag");
  408. if (vinsukind == "7") { //의료급여1종
  409. opener.javascript.setParameter("SPPMC03700_insukind","21");
  410. }
  411. else if (vinsukind == "8") { //의료급여2종
  412. opener.javascript.setParameter("SPPMC03700_insukind","22");
  413. }
  414. else { //건강보험
  415. opener.javascript.setParameter("SPPMC03700_insukind","11");
  416. }
  417. //test
  418. //opener.javascript.setParameter("SPPMC03700_insufromdd","20010101");
  419. //opener.javascript.setParameter("SPPMC03700_insdnm","현영");
  420. //opener.javascript.setParameter("SPPMC03700_insucd","714444");
  421. //opener.javascript.setParameter("SPPMC03700_insuno","1234");
  422. opener.javascript.setParameter("SPPMC03700_insufromdd",model.getValue("/root/main/m2/qualacqtdd"));
  423. opener.javascript.setParameter("SPPMC03700_insdnm",model.getValue("/root/main/m2/hshdnm"));
  424. opener.javascript.setParameter("SPPMC03700_insucd",model.getValue("/root/main/m2/secuinstmark"));
  425. opener.javascript.setParameter("SPPMC03700_insuno",model.getValue("/root/main/m2/estmmark"));
  426. opener.javascript.setParameter("SPPMC03700_choicorpmark1",model.getValue("/root/main/m2/choicorpmark1"));
  427. opener.javascript.setParameter("SPPMC03700_choicorpnm1",model.getValue("/root/main/m2/choicorpnm1"));
  428. }
  429. window.close();
  430. }
  431. ]]>
  432. </script>
  433. </button>
  434. <button id="btn_cancel" class="btn4_letter2" style="left:816px; top:5px; width:56px; height:22px; ">
  435. <caption>취소</caption>
  436. <script type="javascript" ev:event="DOMActivate">
  437. <![CDATA[
  438. if (checkOpener())
  439. {
  440. opener.javascript.setParameter("SPPMC03700_RTN","N");
  441. window.close();
  442. }
  443. ]]>
  444. </script>
  445. </button>
  446. <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:875px; y2:0px; "/>
  447. </group>
  448. </xhtml:body>
  449. </xhtml:html>