SMPIR30700_이의신청결과조회.xrw 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483
  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. <main>
  10. <list01>
  11. <gridrsltqry>
  12. <clamym/>
  13. <insukind/>
  14. <chosflag/>
  15. <ordfildcd/>
  16. <clamflag/>
  17. <clamdegree/>
  18. <obtappflag/>
  19. <acptno/>
  20. <judgdg/>
  21. <setno/>
  22. <notidecirepldd/>
  23. <obtappdd/>
  24. <obtappdocuno/>
  25. <decirepldd/>
  26. <decidocuno/>
  27. <obtappendyn/>
  28. <endyn/>
  29. <rem/>
  30. <adjtrdcnt/>
  31. <adjtrdtotamt/>
  32. <adjtrdamt/>
  33. <oprcadjtrdamt/>
  34. <obtappcnt/>
  35. <obtapptotamt/>
  36. <obtappamt/>
  37. <oprcpobtaamt/>
  38. <decicnt/>
  39. <decitotamt/>
  40. <deciamt/>
  41. <oprcpdeciamt/>
  42. <decirate/>
  43. <oprcpdecirate/>
  44. <ndecitotamt/>
  45. <ndeciamt/>
  46. <noprcpdeciamt/>
  47. <retecnt/>
  48. <retetotamt/>
  49. <reteamt/>
  50. <oprcpreteamt/>
  51. <calcrepldd/>
  52. <oprcpcalcrepldd/>
  53. <calcdecitotamt/>
  54. <calcdeciamt/>
  55. <oprcpcalcdeciamt/>
  56. <calcdecidifamt/>
  57. <oprcpcalcdecidifamt/>
  58. <clamno/>
  59. <clclamamt/>
  60. <oprcjrjudgdegree/>
  61. <oprcnotidd/>
  62. </gridrsltqry>
  63. </list01>
  64. <list02>
  65. <griddocu>
  66. <orddeptcd/>
  67. <orddeptabbr/>
  68. <atdoct/>
  69. <docuseqno/>
  70. <pid/>
  71. <patnm/>
  72. <maindiag/>
  73. <dschdd/>
  74. <obtappid/>
  75. <lnno/>
  76. <item/>
  77. <division/>
  78. <division2/>
  79. <adjtresncd/>
  80. <matractflag/>
  81. <snglcalcscorcd/>
  82. <edicd/>
  83. <hngnm/>
  84. <unitcost/>
  85. <clamqty/>
  86. <clamonesqty/>
  87. <clamone/>
  88. <clamtot/>
  89. <adjtrdqty/>
  90. <adjtonesqty/>
  91. <adjtone/>
  92. <adjttot/>
  93. <adjtrdtotamt/>
  94. <adjtrdamt/>
  95. <oprcpadjtrdamt/>
  96. <obtappqty/>
  97. <obtapponesqty/>
  98. <obtappdayqty/>
  99. <obtapptotqty/>
  100. <obtapptotamt/>
  101. <obtappamt/>
  102. <oprcpobtappamt/>
  103. <recogonesqty/>
  104. <recogdayqty/>
  105. <recogtotqty/>
  106. <recogtotamt/>
  107. <recogamt/>
  108. <oprcprecogamt/>
  109. <nrecogtotamt/>
  110. <nrecogamt/>
  111. <noprcprecogamt/>
  112. <retetotamt/>
  113. <reteamt/>
  114. <oprcpreteamt/>
  115. <calconesqty/>
  116. <calcdayqty/>
  117. <calctotqty/>
  118. <calcdecitotamt/>
  119. <calcdeciamt/>
  120. <oprcpcalcdeciamt/>
  121. <calcdecidifamt/>
  122. <oprcpcalcdecidifamt/>
  123. <reclamyn/>
  124. <ordmemo/>
  125. <clamym/>
  126. <ordym/>
  127. <insukind/>
  128. <chosflag/>
  129. <ordfildcd/>
  130. <clamfalg/>
  131. <clamdg/>
  132. <obtappflag/>
  133. <acptno/>
  134. <judgdg/>
  135. <setno/>
  136. <clamno/>
  137. <clclamamt/>
  138. <obtappdd/>
  139. <obtappdocuno/>
  140. <decirepldd/>
  141. <decidocuno/>
  142. <obtappendyn/>
  143. <endyn/>
  144. <calcnotidd/>
  145. <oprccalcnotidd/>
  146. <oprcjrjudgdegree/>
  147. <oprcnotidd/>
  148. </griddocu>
  149. </list02>
  150. <list03>
  151. <gridobtrsltspec>
  152. <orddeptcd/>
  153. <orddeptabbr/>
  154. <atdoct/>
  155. <docuseqno/>
  156. <pid/>
  157. <patnm/>
  158. <maindiag/>
  159. <dschdd/>
  160. <obtappid/>
  161. <judgrnm/>
  162. <adjtrdtotamt/>
  163. <adjtrdamt/>
  164. <oprcpadjtrdamt/>
  165. <obtapptotamt/>
  166. <obtappamt/>
  167. <oprcpobtappamt/>
  168. <recogtotamt/>
  169. <recogamt/>
  170. <oprcprecogamt/>
  171. <nrecogtotamt/>
  172. <nrecogamt/>
  173. <noprcprecogamt/>
  174. <retetotamt/>
  175. <reteamt/>
  176. <oprcpreteamt/>
  177. <calcdecitotamt/>
  178. <calcdeciamt/>
  179. <oprcpcalcdeciamt/>
  180. <calcdecidifamt/>
  181. <oprcpcalcdecidifamt/>
  182. <clamym/>
  183. <ordym/>
  184. <insukind/>
  185. <chosflag/>
  186. <ordfildcd/>
  187. <clamfalg/>
  188. <clamdg/>
  189. <obtappflag/>
  190. <acptno/>
  191. <judgdg/>
  192. <setno/>
  193. <clamno/>
  194. <clclamamt/>
  195. <obtappdd/>
  196. <obtappdocuno/>
  197. <decirepldd/>
  198. <decidocuno/>
  199. <obtappendyn/>
  200. <endyn/>
  201. <calcnotidd/>
  202. <oprccalcnotidd/>
  203. <oprcjrjudgdegree/>
  204. <oprcnotidd/>
  205. </gridobtrsltspec>
  206. </list03>
  207. <list04>
  208. <deciinfo>
  209. <decidocuno/>
  210. <decirepldd/>
  211. </deciinfo>
  212. </list04>
  213. </main>
  214. <send>
  215. <send_dataqry>
  216. <termflag1/>
  217. <fromobtappdd/>
  218. <toobtappdd/>
  219. <insukind>1</insukind>
  220. <chosflag>1</chosflag>
  221. <obtapprsltendflag>3</obtapprsltendflag>
  222. <clamflag/>
  223. <ordfildcd/>
  224. <judgdg/>
  225. <acptno/>
  226. <rejudgflag>1</rejudgflag>
  227. <obtappflag/>
  228. <obtappdocuno/>
  229. <decidocuno/>
  230. <obtappamt/>
  231. <cuttotamt/>
  232. <recogamt/>
  233. <delcntsum/>
  234. <patunitsrch1/>
  235. <obtapprid/>
  236. <patunitsrch2/>
  237. <srchflag/>
  238. </send_dataqry>
  239. <send_deciinfo>
  240. <status/>
  241. <judgdg/>
  242. <clamno/>
  243. <acptno/>
  244. <obtappflag/>
  245. <decidocuno/>
  246. <decirepldd/>
  247. <obtappdocuno/>
  248. </send_deciinfo>
  249. <send_docu>
  250. <selectlist>
  251. <judgdg/>
  252. <clamno/>
  253. <acptno/>
  254. <obtappflag/>
  255. </selectlist>
  256. </send_docu>
  257. <send_prcp>
  258. <selectlist>
  259. <judgdg/>
  260. <clamno/>
  261. <acptno/>
  262. <obtappflag/>
  263. </selectlist>
  264. </send_prcp>
  265. </send>
  266. <popupdata>
  267. <popupmenu>
  268. <gridpirhobtm>
  269. <item>
  270. <name>이의신청 결과상세 조회</name>
  271. <func>fGridObtAppRsltSpec</func>
  272. </item>
  273. </gridpirhobtm>
  274. </popupmenu>
  275. </popupdata>
  276. <init>
  277. <P0121list>
  278. <P0121>
  279. <cdid/>
  280. <cdnm/>
  281. </P0121>
  282. </P0121list>
  283. <P0291list>
  284. <P0291>
  285. <cdid/>
  286. <cdnm/>
  287. </P0291>
  288. </P0291list>
  289. <P0264list>
  290. <P0264>
  291. <cdid/>
  292. <cdnm/>
  293. </P0264>
  294. </P0264list>
  295. <P0008list>
  296. <P0008>
  297. <cdid/>
  298. <cdnm/>
  299. </P0008>
  300. </P0008list>
  301. <P0028list>
  302. <P0028>
  303. <cdid/>
  304. <cdnm/>
  305. </P0028>
  306. </P0028list>
  307. <P0421list>
  308. <P0421>
  309. <cdid/>
  310. <cdnm/>
  311. </P0421>
  312. </P0421list>
  313. <P0426list>
  314. <P0426>
  315. <cdid/>
  316. <cdnm/>
  317. </P0426>
  318. </P0426list>
  319. <P0458list>
  320. <P0458>
  321. <cdid/>
  322. <cdnm/>
  323. </P0458>
  324. </P0458list>
  325. </init>
  326. <hidden>
  327. <memo/>
  328. </hidden>
  329. <source_obtapprsltspec>
  330. <judgdg/>
  331. <clamno/>
  332. <acptno/>
  333. <setno/>
  334. <docuseqno/>
  335. <orddeptcd/>
  336. <obtappflag/>
  337. <snglcalcscorcd/>
  338. <edicd/>
  339. <item/>
  340. <orddrid/>
  341. <judgrid/>
  342. <obtappdocuno/>
  343. <obtappdd/>
  344. <decidocuno/>
  345. <decirepldd/>
  346. <adjtresncd/>
  347. <rejudgflag>1</rejudgflag>
  348. <notidd/>
  349. <endyn/>
  350. </source_obtapprsltspec>
  351. <source>
  352. <judgdg/>
  353. <clamno/>
  354. <acptno/>
  355. <obtappflag/>
  356. <rem/>
  357. </source>
  358. <source_obtappqry>
  359. <termflag1/>
  360. <fromobtappdd/>
  361. <toobtappdd/>
  362. <clamflag/>
  363. <judgdg/>
  364. <acptno/>
  365. <ordfildcd/>
  366. <obtappflag/>
  367. <obtappdocuno/>
  368. <chosflag/>
  369. <insukind/>
  370. <rejudgflag/>
  371. <judgrid/>
  372. <adjtamt/>
  373. <resttime/>
  374. <obtappendflag/>
  375. <patunitsrch1/>
  376. <patunitsrch2/>
  377. </source_obtappqry>
  378. <selectlist>
  379. <judgdg/>
  380. <clamno/>
  381. <acptno/>
  382. <obtappflag/>
  383. </selectlist>
  384. </root>
  385. </instance>
  386. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  387. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  388. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  389. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  390. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  391. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  392. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  393. <submission id="TRPIR30700" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry" resultref="/root/main/list01"/>
  394. <submission id="TRPIR30701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_docu/selectlist" resultref="/root/main/list02"/>
  395. <submission id="TRPIR30702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_prcp" resultref="/root/main/list03"/>
  396. <submission id="TXPIR30701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_deciinfo"/>
  397. </model>
  398. <script type="javascript" ev:event="xforms-ready">
  399. <![CDATA[
  400. CommCode_Load();
  401. var windowtype = window.type;
  402. if(windowtype == 'main'){
  403. rdo_termflag1.select(0);
  404. rdo_insukind.select(0);
  405. rdo_chosflag.select(0);
  406. rdo_endyn.select(2); // Default로 이의신청일자로 부터 3개월동안의 미완료건만 보여준다.
  407. // 해당되는 이의신청구분이 넘어오므로 재심사관련이의신청구분은 선택되지 않도록 한다.
  408. rdo_rejudgflag.select(0);
  409. chk_delcntsum.select(0);
  410. //보험유형이 11,21,22..이런식인데 실제 값은 1,2,3,4이므로 조건 맞춰준다.
  411. fInsuKindSet();
  412. var today = getCurrentDate();
  413. ipt_fromobtappdd.value= today;
  414. ipt_toobtappdd.value= today;
  415. }else{
  416. // 다른화면에서 팝업으로 이 화면을 열었을때 넘어온 파라미터로 대상목록을 조회한다.
  417. if (ipt_acptno.value != '' ) {
  418. model.setValue("/root/send/send_dataqry/srchflag","2"); // 2010.06.10 추가 serchflag가 2 이어야 접수번호로 조회를 한다.
  419. submit("TRPIR30700");
  420. }
  421. }
  422. // 결과수신일기준 3개월기간을 Setting 한다.
  423. // model.setValue("/root/send/send_dataqry/toobtappdd", new Date());
  424. // 날짜 계산을 위하여 yyyymmdd형태로 오늘 날짜를 구한다.
  425. // var tmp_date = new Date();
  426. // var tmp_year = tmp_date.getYear();
  427. // 월의 경우 0부터 시작이므로 +1을 해준다.
  428. // var tmp_month = tmp_date.getMonth() + 1;
  429. // var tmp_bfmonth = tmp_month - 5; // test자료의 이신일자가 2007/01/25 라서 임시로 조회기간을 6개월로 조정하여 test함...확인요망.......2007-00-25 형태로 보이는 문재해결......
  430. // var tmp_day = tmp_date.getDate();
  431. // 10보다 작은경우는 앞에 '0'을 붙여서 자릿수를 맞춘다.
  432. // if (tmp_month<10) tmp_month = "0" + tmp_month;
  433. // if (tmp_bfmonth<10) tmp_bfmonth = "0" + tmp_bfmonth;
  434. // if (tmp_day<10) tmp_day = "0" + tmp_day;
  435. // +"" 을 안해주면 숫자로 인식해서 더해버리므로 꼭 넣어준다.
  436. // ipt_toobtappdd.value = tmp_year + "" + tmp_month + "" + tmp_day;
  437. // ipt_fromobtappdd.value = tmp_year + "" + tmp_bfmonth + "" + tmp_day;
  438. // var currentdate = getCurrentDate();
  439. // alert("date : " + currentdate);
  440. // ipt_obtappdd.value = currentdate;
  441. // 다른화면에서 팝업으로 이 화면을 열었을때 넘어온 파라미터로 대상목록을 조회한다.
  442. // 조회필수 항목인 심사차수, 접수번호로 CHECK한다.
  443. // if (ipt_judgdg.value != '' && ipt_acptno.value != '' ) {
  444. ]]>
  445. </script>
  446. <script type="javascript">
  447. <![CDATA[
  448. // 공통코드 Load 작업
  449. function CommCode_Load() {
  450. // 관련 Control 초기화
  451. zbcfGetCodeList(new Array("P0121","P0291","P0264","P0008","P0028"), new Array("/root/init/P0121list", "/root/init/P0291list","/root/init/P0264list","/root/init/P0008list","/root/init/P0028list"));
  452. zbcfGetCodeList(new Array("P0421","P0426", "P0458"), new Array("/root/init/P0421list", "/root/init/P0426list", "/root/init/P0458list"));
  453. model.refresh();
  454. }
  455. // 초기화 작업
  456. function fInitialize() {
  457. //날자 입력 항목에 오늘 날자 세팅
  458. var curDate = getCurrentDate();
  459. rdo_insukind.select(0);
  460. ipt_fromobtappdd.value = curDate;
  461. ipt_toobtappdd.value = curDate;
  462. ipt_patunitsrch1.value = "";
  463. ipt_obtapprid.value = "";
  464. ipt_obtappdocuno.value = "";
  465. ipt_srchdecidocuno.value = "";
  466. rdo_insukind.select(0);
  467. rdo_chosflag.select(0);
  468. rdo_endyn.select(0);
  469. cmb_ordfildcd.deselect();
  470. cmb_clamflag.deselect();
  471. rdo_rejudgflag.select(0);
  472. cmb_obtappflag.deselect();
  473. ipt_obtappamt.value = "";
  474. ipt_recogamt.value = "";
  475. ipt_cuttotamt.value = "";
  476. chk_delcntsum.value = "";
  477. ipt_acptno.value = "";
  478. ipt_judgdg.value = "";
  479. ipt_decidocuno.value = "";
  480. ipt_decirepldd.value = "";
  481. chk_delcntsum.select(0);
  482. model.removeNodeset("/root/main/list01/gridrsltqry");
  483. model.removeNodeset("/root/main/list02/griddocu");
  484. model.removeNodeset("/root/main/list03/gridobtrsltspec");
  485. }
  486. //P0008data 정리
  487. function fInsuKindSet(){
  488. }
  489. // 이의신청 결과상세 조회
  490. function fGridObtAppRsltSpec() {
  491. var curr_row = grd_rsltqry.row - 1 ;
  492. // 이의신청결과상세조회에 가장 중요한 것만넘긴다.
  493. model.setValue("/root/source_obtapprsltspec/judgdg", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/judgdg"));
  494. model.setValue("/root/source_obtapprsltspec/clamno", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/clamno"));
  495. model.setValue("/root/source_obtapprsltspec/acptno", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/acptno"));
  496. model.setValue("/root/source_obtapprsltspec/obtappflag", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/obtappflag"));
  497. model.setValue("/root/source_obtapprsltspec/obtappdocuno", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/obtappdocuno")); // 2010.06.10 문서번호 추가
  498. model.setValue("/root/source_obtapprsltspec/endyn", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/endyn"));
  499. modal("SMPIR30900", 1, 1, 1, "SMPIR30900", "/root/source_obtapprsltspec", "/root/send/send_find");
  500. }
  501. function fChkSend(){
  502. if(ipt_judgdg.value == "" && ipt_acptno.value == ""){
  503. if (rdo_termflag1.value == '2') {
  504. if (ipt_fromobtappdd.value == "") {
  505. alert("결과수신일자(From)를 입력해 주세요");
  506. model.setFocus("ipt_fromobtappdd");
  507. return false;
  508. }
  509. if (ipt_toobtappdd.value == "") {
  510. alert("결과수신일자(To)를 입력해 주세요");
  511. model.setFocus("ipt_toobtappdd");
  512. return false;
  513. }
  514. }
  515. else {
  516. //if(rdo_termfalg1.value == '1')
  517. if (ipt_fromobtappdd.value == "") {
  518. alert("이의신청일자(From)를 입력해 주세요");
  519. model.setFocus("ipt_fromobtappdd");
  520. return false;
  521. }
  522. if (ipt_toobtappdd.value == "") {
  523. alert("이의신청일자(To)를 입력해 주세요");
  524. model.setFocus("ipt_toobtappdd");
  525. return false;
  526. }
  527. }
  528. }
  529. if(rdo_termflag1.value == "" && ipt_fromobtappdd.value == "" && ipt_toobtappdd.value == ""){
  530. if (ipt_judgdg.value == "") {
  531. alert("심사차수를 입력해 주세요");
  532. model.setFocus("ipt_judgdg");
  533. return false;
  534. }
  535. if (ipt_acptno.value == "") {
  536. alert("접수번호를 입력해 주세요");
  537. model.setFocus("ipt_acptno");
  538. return false;
  539. }
  540. }
  541. return true;
  542. }
  543. // 조회
  544. function fGetInAftJudgTrgtManList() {
  545. // 환자로 조회를 하는 경우
  546. var patunitsrch1 = model.getValue("/root/send/send_dataqry/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
  547. model.setValue("/root/send/send_dataqry/patunitsrch1", patunitsrch1);
  548. if (patunitsrch1 == "") {
  549. model.setValue("/root/send/send_dataqry/patunitsrch2", "");
  550. }
  551. // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회
  552. else if (patunitsrch1.isNumber()) {
  553. // Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
  554. // if (patunitsrch1.length < 8) {
  555. // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
  556. // }
  557. model.setValue("/root/send/send_dataqry/patunitsrch2", "pidSrch");
  558. }
  559. // 문자가 입력된 경우 환자이름으로 조회
  560. else {
  561. if (patunitsrch1.length > 1) {
  562. model.setValue("/root/send/send_dataqry/patunitsrch2", "nmSrch");
  563. }
  564. else {
  565. model.setValue("/root/send/send_dataqry/patunitsrch2", "");
  566. model.refresh();
  567. messageBox("환자로 조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자로 조회시 검색할 환자이름은 2글자 이상 입력하십시오.
  568. return;
  569. }
  570. }
  571. }
  572. // 18
  573. function fSrchFlag(){
  574. var chk1 = model.getValue("/root/send/send_dataqry/patunitsrch1");
  575. var chk2 = model.getValue("/root/send/send_dataqry/obtappdocuno");
  576. var chk3 = model.getValue("/root/send/send_dataqry/acptno");
  577. var chk4 = model.getValue("/root/send/send_dataqry/judgdg");
  578. if(chk1 != ""){
  579. model.setValue("/root/send/send_dataqry/srchflag","2");
  580. }else if(chk2 != ""){
  581. model.setValue("/root/send/send_dataqry/srchflag","2");
  582. }else if(chk3 != ""){
  583. model.setValue("/root/send/send_dataqry/srchflag","2");
  584. }else if(chk4 != ""){
  585. model.setValue("/root/send/send_dataqry/srchflag","2");
  586. }else{
  587. model.setValue("/root/send/send_dataqry/srchflag","1");
  588. }
  589. return true;
  590. }
  591. ]]>
  592. </script>
  593. </xhtml:head>
  594. <xhtml:body guideline="1,1199;" style="vertical-align:bottom; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  595. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  596. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:265px; height:14px; ">이의신청 결과 조회</caption>
  597. </group>
  598. <group id="group6" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  599. <datagrid id="grd_rsltqry" nodeset="/root/main/list01/gridrsltqry" class="datagrid2" caption="청구년월^보험&#xA;유형^내원&#xA;유형^청구&#xA;분야^청구&#xA;분야^청구&#xA;구분^청구&#xA;차수^이신&#xA;구분^접수번호^심사차수^묶음번호^통보/결정서&#xA;도착일자^이의신청일자^문서번호&#xA;가의강^결정문서&#xA;도착일자^결정문서&#xA;번호^이신&#xA;완료&#xA;여부^완료&#xA;여부^메모^총진료비^조정&#xA;삭감건수^조정삭감액^조정삭감액^조정삭감액^삭감율^삭감율^이의신청&#xA;건수^이의신청액^이의신청액^이의신청액^이의신청율^이의신청율^결정&#xA;건수^인정액^인정액^인정액^인정율^인정율^불인정액^불인정액^불인정액^보류건수^보류액^보류액^보류액^정산심사결정서&#xA;도착일자^정산심사결정서&#xA;도착일자^정산결정차액^정산결정차액^정산결정차액^인정액&#xA;정산결정차액^인정액&#xA;정산결정차액^청구번호^총진료비^원외심결&#xA;심사차수^원외&#xA;통보일자|청구년월^보험&#xA;유형^내원&#xA;유형^청구&#xA;분야^청구&#xA;분야^청구&#xA;구분^청구&#xA;차수^이신&#xA;구분^접수번호^심사차수^묶음번호^통보/결정서&#xA;도착일자^이의신청일자^문서번호&#xA;가의강^결정문서&#xA;도착일자^결정문서&#xA;번호^이신&#xA;완료&#xA;여부^완료&#xA;여부^메모^총진료비^조정&#xA;삭감건수^계^원내^원외^원내^원외^이의신청&#xA;건수^계^원내^원외^원내^원외^결정&#xA;건수^계^원내^원외^원내^원외^계^원내^원외^보류건수^계^원내^원외^원내^원외^계^원내^원외^원내^원외^청구번호^총진료비^원외심결&#xA;심사차수^원외&#xA;통보일자" colsep="^" colwidth="57, 56, 68, 70, 48, 48, 44, 72, 65, 57, 54, 80, 81, 112, 67, 108, 39, 37, 136, 90, 63, 70, 70, 75, 46, 46, 67, 70, 70, 75, 46, 46, 44, 70, 70, 75, 46, 46, 70, 70, 70, 63, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 72, 80, 81, 100" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:170px; width:1194px; height:566px; ">
  600. <col ref="clamym" format="yyyy-mm" style="left:20px; top:52px; width:57px; height:23px; text-align:center; "/>
  601. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  602. <choices>
  603. <itemset nodeset="/root/init/P0421list/P0421">
  604. <label ref="cdnm"/>
  605. <value ref="cdid"/>
  606. </itemset>
  607. </choices>
  608. </col>
  609. <col disabled="true" ref="chosflag" type="combo" style="text-align:center; ">
  610. <choices>
  611. <itemset nodeset="/root/init/P0028list/P0028">
  612. <label ref="cdnm"/>
  613. <value ref="cdid"/>
  614. </itemset>
  615. </choices>
  616. </col>
  617. <col disabled="true" ref="sumtypecd" type="combo" style="text-align:center; ">
  618. <choices>
  619. <itemset nodeset="/root/init/P0458list/P0458">
  620. <label ref="cdnm"/>
  621. <value ref="cdid"/>
  622. </itemset>
  623. </choices>
  624. </col>
  625. <col disabled="true" ref="ordfildcd" type="combo" visibility="hidden" style="text-align:center; ">
  626. <choices>
  627. <itemset nodeset="/root/init/P0291list/P0291">
  628. <label ref="cdnm"/>
  629. <value ref="cdid"/>
  630. </itemset>
  631. </choices>
  632. </col>
  633. <col disabled="true" ref="clamflag" type="combo" style="text-align:center; ">
  634. <choices>
  635. <itemset nodeset="/root/init/P0426list/P0426">
  636. <label ref="cdnm"/>
  637. <value ref="cdid"/>
  638. </itemset>
  639. </choices>
  640. </col>
  641. <col ref="clamdegree" style="text-align:center; "/>
  642. <col disabled="true" ref="obtappflag" type="combo" style="text-align:center; ">
  643. <choices>
  644. <itemset nodeset="/root/init/P0264list/P0264">
  645. <label ref="cdnm"/>
  646. <value ref="cdid"/>
  647. </itemset>
  648. </choices>
  649. </col>
  650. <col ref="acptno" style="text-align:center; "/>
  651. <col ref="judgdg" style="text-align:center; "/>
  652. <col ref="setno" style="text-align:center; "/>
  653. <col ref="notidecirepldd" format="yyyy-mm-dd" style="text-align:center; "/>
  654. <col ref="obtappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  655. <col ref="obtappdocuno" style="text-align:center; "/>
  656. <col ref="decirepldd" format="yyyy-mm-dd" style="text-align:center; "/>
  657. <col ref="decidocuno" style="text-align:center; "/>
  658. <col ref="obtappendyn" style="text-align:center; "/>
  659. <col ref="endyn" style="text-align:center; "/>
  660. <col disabled="true" ref="rem" type="inputbutton" style="text-align:left; padding-left:5; ">
  661. <script type="javascript" ev:event="onbuttonclick">
  662. <![CDATA[
  663. var target = event.target;
  664. var targetchk = target.substr(0,2);
  665. if(targetchk == '_$'){
  666. model.setValue("/root/source/judgdg", model.getValue("/root/main/list01/gridrsltqry/judgdg"));
  667. model.setValue("/root/source/clamno", model.getValue("/root/main/list01/gridrsltqry/clamno"));
  668. model.setValue("/root/source/acptno", model.getValue("/root/main/list01/gridrsltqry/acptno"));
  669. model.setValue("/root/source/obtappflag", model.getValue("/root/main/list01/gridrsltqry/obtappflag"));
  670. model.setValue("/root/source/rem", model.getValue("/root/main/list01/gridrsltqry/rem"));
  671. // 메모입력창 팝업화면
  672. modal("SPPIR30210", 1,300, 300, "SPPIR30210", "/root/source", "/root/send");
  673. //fCutOrdSearch();
  674. }
  675. ]]>
  676. </script>
  677. </col>
  678. <col ref="clclamamt" format="(-)#,###" style="text-align:right; "/>
  679. <col ref="adjtrdcnt" style="text-align:center; "/>
  680. <col ref="adjtrdtotamt" format="(-)#,###" style="text-align:right; "/>
  681. <col ref="adjtrdamt" format="(-)#,###" style="text-align:right; "/>
  682. <col ref="oprcpadjtrdamt" format="(-)#,###" style="text-align:right; "/>
  683. <col ref="adjtcutrate1" style="text-align:center; "/>
  684. <col ref="adjtcutrate2" style="text-align:center; "/>
  685. <col ref="obtappcnt" format="#,###" style="text-align:center; "/>
  686. <col ref="obtapptotamt" format="(-)#,###" style="text-align:right; "/>
  687. <col ref="obtappamt" format="(-)#,###" style="text-align:right; "/>
  688. <col ref="oprcpobtaamt" format="(-)#,###" style="text-align:right; "/>
  689. <col ref="adjtcutrate1" style="text-align:center; "/>
  690. <col ref="adjtcutrate2" style="text-align:center; "/>
  691. <col ref="decicnt" format="#,###" style="text-align:center; "/>
  692. <col ref="decitotamt" format="(-)#,###" style="text-align:right; "/>
  693. <col ref="deciamt" format="(-)#,###" style="text-align:right; "/>
  694. <col ref="oprcpdeciamt" format="(-)#,###" style="text-align:right; "/>
  695. <col ref="decirate" style="text-align:center; "/>
  696. <col ref="oprcpdecirate" style="text-align:center; "/>
  697. <col ref="ndecitotamt" format="(-)#,###" style="text-align:right; "/>
  698. <col ref="ndeciamt" format="(-)#,###" style="text-align:right; "/>
  699. <col ref="noprcpdeciamt" format="(-)#,###" style="text-align:right; "/>
  700. <col ref="retecnt" format="#,###" style="text-align:center; "/>
  701. <col ref="retetotamt" format="(-)#,###" style="text-align:right; "/>
  702. <col ref="reteamt" format="(-)#,###" style="text-align:right; "/>
  703. <col ref="oprcpreteamt" format="(-)#,###" style="text-align:right; "/>
  704. <col ref="calcrepldd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  705. <col ref="oprcpcalcrepldd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  706. <col ref="calcdecitotamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  707. <col ref="calcdeciamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  708. <col ref="oprcpcalcdeciamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  709. <col ref="calcdecidifamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  710. <col ref="oprcpcalcdecidifamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  711. <col ref="clamno" visibility="hidden" style="text-align:center; "/>
  712. <col ref="clclamamt1" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  713. <col ref="oprcjrjudgdegree" visibility="hidden" style="text-align:center; "/>
  714. <col ref="oprcnotidd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  715. <script type="javascript" ev:event="ondblclick">
  716. <![CDATA[
  717. var target = event.target;
  718. var targetchk = target.substr(0,2);
  719. if(targetchk == '_$'){
  720. var curr_row = grd_rsltqry.row - 1;
  721. // 이의신청결과에 넘기는 값중 중요값에 해당하는것만 넘김.-> 다시 원래대로 다 넘김. ㅋㅋ~
  722. // 넘기는 값 추가 : endyn 완료여부(이의신청결과마감여부) -> 이 값넘겨서 수정할수 잇는 버튼 여부를 설정한다. Y면보이고 N이면 안보이고. ㅋㅋ
  723. model.setValue("/root/source_obtapprsltspec/clamno", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/clamno"));
  724. model.setValue("/root/source_obtapprsltspec/acptno", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/acptno"));
  725. model.setValue("/root/source_obtapprsltspec/judgdg", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/judgdg"));
  726. model.setValue("/root/source_obtapprsltspec/setno", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/setno"));
  727. model.setValue("/root/source_obtapprsltspec/notidd", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/notidecirepldd"));
  728. model.setValue("/root/source_obtapprsltspec/rejudgflag", "");
  729. model.setValue("/root/source_obtapprsltspec/obtappflag", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/obtappflag"));
  730. model.setValue("/root/source_obtapprsltspec/obtappdocuno", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/obtappdocuno"));
  731. model.setValue("/root/source_obtapprsltspec/obtappdd", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/obtappdd"));
  732. model.setValue("/root/source_obtapprsltspec/decidocuno", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/decidocuno"));
  733. model.setValue("/root/source_obtapprsltspec/decirepldd", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/decirepldd"));
  734. model.setValue("/root/source_obtapprsltspec/endyn", model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/endyn"));
  735. modal("SMPIR30800", 1, 1, 1, "SMPIR30800", "/root/source_obtapprsltspec", "/root/send/send_obtmlist");
  736. // 이신결과 화면 닫으면 재조회
  737. btn_search.dispatch("DOMActivate");
  738. }
  739. ]]>
  740. </script>
  741. <script type="javascript" ev:event="onmousedown">
  742. <![CDATA[
  743. if (event.button == 3) {
  744. if (grd_rsltqry.isCell(event.target) && grd_rsltqry.mouseRow >= grd_rsltqry.fixedRows) {
  745. window.setPopupMenu(true, "/root/popupdata/popupmenu/gridpirhobtm/item", "name", "func", false);
  746. }
  747. else {
  748. window.setPopupMenu(false);
  749. }
  750. }
  751. ]]>
  752. </script>
  753. <script type="javascript" ev:event="onclick">
  754. <![CDATA[
  755. var curr_row = grd_rsltqry.row - 1;
  756. var decidocuno = model.getValue( "/root/main/list01/gridrsltqry[" + curr_row + "]/decidocuno");
  757. var decirepldd = model.getValue( "/root/main/list01/gridrsltqry[" + curr_row + "]/decirepldd");
  758. ipt_decidocuno.value = "";
  759. ipt_decirepldd.value = "";
  760. // alert("decidocuno : " + decidocuno);
  761. // alert("decirepldd : " + decirepldd);
  762. ipt_decidocuno.value = model.getValue( "/root/main/list01/gridrsltqry[" + curr_row + "]/decidocuno");
  763. ipt_decirepldd.value = model.getValue( "/root/main/list01/gridrsltqry[" + curr_row + "]/decirepldd");
  764. // ipt_decidocuno.value = decidocuno;
  765. // ipt_decirepldd.value = decirepldd;
  766. if (grd_rsltqry.rows < 3) {
  767. return;
  768. }
  769. var curr_row = grd_rsltqry.row - 1; // 항목명칭의 2행구조로 인한 Miss Matching으로 인한 조정....
  770. // 메모 보여주기
  771. if (grd_rsltqry.col == "18") {
  772. var memo = model.getValue( "/root/main/list01/gridrsltqry[" + curr_row + "]/rem");
  773. model.setValue("/root/hidden/memo",memo);
  774. grp_memo.visible = true;
  775. model.refresh();
  776. }
  777. // 선택한 row의 명일련별, 처방별 엑셀저장을 하기위한 send조건으로 보기 위하여
  778. // status를 "U"로 하고 버튼 클릭시 getUpdateData로 받아서 넘겨주고 status를 다시 "O"로 만든다.
  779. for(var i=0; i<grd_rsltqry.selectedRows; i++)
  780. {
  781. var row = grd_rsltqry.selectedRow(i);
  782. grd_rsltqry.rowStatus(row) = 2;
  783. }
  784. ]]>
  785. </script>
  786. </datagrid>
  787. <line id="line12" class="line_1" style="x1:0px; y1:164px; x2:1194px; y2:164px; "/>
  788. <button id="button5" class="btn2_letter9" style="left:965px; top:144px; width:119px; height:19px; ">
  789. <caption>명일련별 엑셀저장</caption>
  790. <script type="javascript" ev:event="DOMActivate">
  791. <![CDATA[
  792. // 선택된 row가 있는지 확인한다.
  793. var selectCnt = 0;
  794. selectCnt = grd_rsltqry.selectedRows;
  795. if (selectCnt == 0) {
  796. model.alert("선택후 다시 시도해 주세요");
  797. return;
  798. }
  799. model.removeNodeset("/root/send/send_docu/selectlist");
  800. model.refresh();
  801. // 선택된 row의 조회 조건 값을 받는다.
  802. var rows = grd_rsltqry.rows;
  803. for (var i=0; i<rows; i++) {
  804. var sel = grd_rsltqry.selectedRow(i);
  805. if(sel != '-1'){
  806. model.setValue("/root/selectlist/judgdg", model.getValue("/root/main/list01/gridrsltqry[" + (sel - grd_rsltqry.fixedRows + 1) + "]/judgdg"));
  807. model.setValue("/root/selectlist/clamno", model.getValue("/root/main/list01/gridrsltqry[" + (sel - grd_rsltqry.fixedRows + 1) + "]/clamno"));
  808. model.setValue("/root/selectlist/acptno", model.getValue("/root/main/list01/gridrsltqry[" + (sel - grd_rsltqry.fixedRows + 1) + "]/acptno"));
  809. model.setValue("/root/selectlist/obtappflag", model.getValue("/root/main/list01/gridrsltqry[" + (sel - grd_rsltqry.fixedRows + 1) + "]/obtappflag"));
  810. copyNodeListType("root/send/send_docu", "/root/selectlist", "after");
  811. }
  812. }
  813. // 선택된 값으로 명세서별로 조회
  814. submit("TRPIR30701");
  815. var today = getCurrentDate();
  816. if (grd_griddocu.rows == 2) {
  817. return;
  818. }
  819. // 해당 인스턴스를 엑셀저장한다.(인스턴스에 있는값을 받아야 하는데..확인해야함)
  820. var fileName = window.fileDialog("save", ",", false, "이의신청결과조회-명일련별이의신청결과_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  821. if (fileName != "") {
  822. grd_griddocu.saveExcel(fileName, "명일련별이의신청결과", true, true, "", "", "");
  823. }
  824. ]]>
  825. </script>
  826. </button>
  827. <caption id="caption32" class="tit_2" style="left:5px; top:150px; width:274px; height:13px; ">접수번호별 이의신청 결과</caption>
  828. <group id="group2" style="left:0px; top:3px; width:1195px; height:109px; vertical-align:top; ">
  829. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:105px; background-color:#fffbf2; border-color:#ffd799; "/>
  830. <caption id="caption3" class="search_name" style="left:472px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
  831. <line id="line13" class="line_4" style="x1:1090px; y1:20px; x2:1090px; y2:42px; border-color:#ffe4bb; border-left-style:solid; "/>
  832. <button id="btn_search" class="btn1_letter3" navindex="3" style="left:1105px; top:20px; width:68px; height:22px; ">
  833. <caption>조 회</caption>
  834. <script type="javascript" ev:event="DOMActivate">
  835. <![CDATA[
  836. if(fChkSend()){
  837. model.resetInstanceNode("/root/main/list01");
  838. // 재조회시
  839. // 결정문서번호, 결정문서도착일자를 초기화한다.
  840. ipt_decidocuno.value = "";
  841. ipt_decirepldd.value = "";
  842. model.refresh();
  843. fSrchFlag();
  844. submit("TRPIR30700");
  845. setRowStyle("grd_rsltqry", "7","06","obtappflag","equal"); //row의 색상을 변경한다.
  846. setRowStyle("grd_rsltqry", "7","07","obtappflag","equal"); //row의 색상을 변경한다.
  847. }
  848. ]]>
  849. </script>
  850. </button>
  851. <select1 id="cmb_clamflag" ref="/root/send/send_dataqry/clamflag" class="combo_search" navindex="8" appearance="minimal" style="left:308px; top:82px; width:135px; height:19px; ">
  852. <choices>
  853. <itemset nodeset="/root/init/P0426list/P0426">
  854. <label ref="cdnm"/>
  855. <value ref="cdid"/>
  856. </itemset>
  857. </choices>
  858. </select1>
  859. <select1 id="rdo_termflag1" ref="/root/send/send_dataqry/termflag1" class="radio_search" appearance="full" cellspacing="5" cols="3" rows="1" overflow="visible" style="left:18px; top:10px; width:241px; height:17px; border-style:none; ">
  860. <choices>
  861. <item>
  862. <label>심결통보일</label>
  863. <value>1</value>
  864. </item>
  865. <item>
  866. <label>이의신청일</label>
  867. <value>2</value>
  868. </item>
  869. <item>
  870. <label>청구년월</label>
  871. <value>3</value>
  872. </item>
  873. </choices>
  874. <script type="javascript" ev:event="xforms-value-changed">
  875. <![CDATA[
  876. var termflag1 = "";
  877. var value = model.getValue("/root/send/send_dataqry/termflag1");
  878. var fromobtappdd = model.getValue("/root/send/send_dataqry/fromobtappdd");
  879. var toobtappdd = model.getValue("/root/send/send_dataqry/toobtappdd");
  880. if (termflag1 == value ) {
  881. model.setValue("/root/send/send_dataqry/termflag1","");
  882. rdo_termflag1.refresh();
  883. termflag1 = "";
  884. return;
  885. }
  886. if (value == '3' || value == '4') {
  887. ipt_fromobtappdd.attribute("format") = "yyyy-mm";
  888. ipt_toobtappdd.attribute("format") = "yyyy-mm";
  889. if (fromobtappdd != "") {
  890. model.setValue("/root/send/send_dataqry/fromobtappdd",fromobtappdd.substring(0,6));
  891. }
  892. if (toobtappdd != "") {
  893. model.setValue("/root/send/send_dataqry/toobtappdd",toobtappdd.substring(0,6));
  894. }
  895. } else {
  896. ipt_fromobtappdd.attribute("format") = "yyyy-mm-dd";
  897. ipt_toobtappdd.attribute("format") = "yyyy-mm-dd";
  898. if (fromobtappdd != "" && fromobtappdd.length == 6) {
  899. model.setValue("/root/send/send_dataqry/fromobtappdd",fromobtappdd + "01");
  900. }
  901. if (toobtappdd != "" && toobtappdd.length == 6) {
  902. model.setValue("/root/send/send_dataqry/toobtappdd",toobtappdd + "31");
  903. }
  904. }
  905. termflag1 = value
  906. model.setFocus("ipt_fromobtappdd");
  907. ipt_fromobtappdd.refresh();
  908. ipt_toobtappdd.refresh();
  909. ]]>
  910. </script>
  911. </select1>
  912. <caption id="caption1" class="search_name" style="left:193px; top:83px; width:111px; height:17px; ">청구구분 :</caption>
  913. <select1 id="rdo_insukind" ref="/root/send/send_dataqry/insukind" class="radio_search" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:564px; top:10px; width:241px; height:15px; border-style:none; ">
  914. <choices>
  915. <item>
  916. <label>전체</label>
  917. <value>1</value>
  918. </item>
  919. <item>
  920. <label>보험</label>
  921. <value>2</value>
  922. </item>
  923. <item>
  924. <label>보호</label>
  925. <value>3</value>
  926. </item>
  927. <item>
  928. <label>자보</label>
  929. <value>5</value>
  930. </item>
  931. <item>
  932. <label>산재</label>
  933. <value>4</value>
  934. </item>
  935. </choices>
  936. </select1>
  937. <caption id="caption7" class="search_name" style="left:472px; top:33px; width:93px; height:17px; ">내원유형 :</caption>
  938. <caption id="caption11" class="search_name" style="left:472px; top:58px; width:86px; height:17px; ">마감구분 :</caption>
  939. <select1 id="rdo_endyn" ref="/root/send/send_dataqry/obtapprsltendflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:564px; top:59px; width:150px; height:15px; border-style:none; ">
  940. <choices>
  941. <item>
  942. <label>전체</label>
  943. <value>1</value>
  944. </item>
  945. <item>
  946. <label>완료</label>
  947. <value>2</value>
  948. </item>
  949. <item>
  950. <label>미완료</label>
  951. <value>3</value>
  952. </item>
  953. </choices>
  954. </select1>
  955. <select1 id="rdo_chosflag" ref="/root/send/send_dataqry/chosflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:564px; top:34px; width:141px; height:15px; border-style:none; ">
  956. <choices>
  957. <item>
  958. <label>전체</label>
  959. <value>1</value>
  960. </item>
  961. <item>
  962. <label>입원</label>
  963. <value>2</value>
  964. </item>
  965. <item>
  966. <label>외래</label>
  967. <value>3</value>
  968. </item>
  969. </choices>
  970. </select1>
  971. <caption id="caption12" class="search_name" style="left:1004px; top:82px; width:86px; height:17px; ">심사차수 :</caption>
  972. <caption id="caption2" class="search_no_b" style="left:346px; top:10px; width:12px; height:17px; ">~</caption>
  973. <input id="ipt_fromobtappdd" ref="/root/send/send_dataqry/fromobtappdd" class="input_search" navindex="10" inputtype="date" format="yyyy-mm-dd" style="left:260px; top:9px; width:86px; height:19px; ">
  974. <script type="javascript" ev:event="DOMFocusOut">
  975. <![CDATA[
  976. model.setValue("/root/send/send_dataqry/toobtappdd",model.getValue("/root/send/send_dataqry/fromobtappdd"));
  977. model.refreshpart("/root/send/send_dataqry/toobtappdd");
  978. ]]>
  979. </script>
  980. </input>
  981. <input id="ipt_toobtappdd" ref="/root/send/send_dataqry/toobtappdd" class="input_search" navindex="11" inputtype="date" format="yyyy-mm-dd" style="left:359px; top:9px; width:86px; height:19px; "/>
  982. <caption id="caption4" class="search_name" style="left:17px; top:83px; width:99px; height:17px; ">청구분야 :</caption>
  983. <select1 id="cmb_ordfildcd" ref="/root/send/send_dataqry/ordfildcd" class="combo_search" navindex="9" appearance="minimal" style="left:104px; top:82px; width:85px; height:19px; ">
  984. <choices>
  985. <itemset nodeset="/root/init/P0458list/P0458">
  986. <label ref="cdnm"/>
  987. <value ref="cdid"/>
  988. </itemset>
  989. </choices>
  990. </select1>
  991. <caption id="caption13" class="search_name" style="left:808px; top:82px; width:96px; height:17px; ">접수번호 :</caption>
  992. <input id="ipt_patunitsrch1" ref="/root/send/send_dataqry/patunitsrch1" class="input_s_essential" inputtype="button" style="left:104px; top:33px; width:85px; height:19px; ">
  993. <script type="javascript" ev:event="onkeypress">
  994. <![CDATA[
  995. // Enter 입력
  996. if (event.keyCode == "13") {
  997. // 2글자 이상이면
  998. if (ipt_patunitsrch1.currentText.length > 1) {
  999. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1000. fGetInAftJudgTrgtManList();
  1001. model.refreshpart("/root/send/send_dataqry") ;
  1002. btn_search.dispatch("DOMActivate");
  1003. }
  1004. }
  1005. ]]>
  1006. </script>
  1007. </input>
  1008. <caption id="caption18" class="search_name" style="left:17px; top:34px; width:95px; height:17px; ">환자조회 :</caption>
  1009. <input id="ipt_judgdg" ref="/root/send/send_dataqry/judgdg" class="input_s_essential" navindex="1" style="left:1093px; top:81px; width:90px; height:19px; ">
  1010. <script type="javascript" ev:event="onkeypress">
  1011. <![CDATA[
  1012. // Enter 입력
  1013. if (event.keyCode == "13") {
  1014. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1015. btn_search.dispatch("DOMActivate");
  1016. }
  1017. ]]>
  1018. </script>
  1019. </input>
  1020. <input id="ipt_acptno" ref="/root/send/send_dataqry/acptno" class="input_s_essential" navindex="2" style="left:910px; top:80px; width:90px; height:19px; ">
  1021. <script type="javascript" ev:event="onkeypress">
  1022. <![CDATA[
  1023. // Enter 입력
  1024. if (event.keyCode == "13") {
  1025. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1026. btn_search.dispatch("DOMActivate");
  1027. }
  1028. ]]>
  1029. </script>
  1030. </input>
  1031. <select1 id="cmb_obtappflag" ref="/root/send/send_dataqry/obtappflag" class="combo_search" navindex="7" appearance="minimal" style="left:690px; top:82px; width:95px; height:19px; ">
  1032. <choices>
  1033. <itemset nodeset="/root/init/P0264list/P0264">
  1034. <label ref="cdnm"/>
  1035. <value ref="cdid"/>
  1036. </itemset>
  1037. </choices>
  1038. <script type="javascript" ev:event="xforms-select">
  1039. <![CDATA[
  1040. rdo_rejudgflag.deselect(1);
  1041. rdo_rejudgflag.deselect(2);
  1042. ]]>
  1043. </script>
  1044. </select1>
  1045. <caption id="caption8" class="search_name" style="left:472px; top:83px; width:86px; height:17px; ">이신구분 :</caption>
  1046. <select1 id="rdo_rejudgflag" ref="/root/send/send_dataqry/rejudgflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:564px; top:85px; width:125px; height:15px; border-style:none; ">
  1047. <choices>
  1048. <item>
  1049. <label>전체</label>
  1050. <value>1</value>
  1051. </item>
  1052. <item>
  1053. <label>재심사제외</label>
  1054. <value>2</value>
  1055. </item>
  1056. </choices>
  1057. <script type="javascript" ev:event="onclick">
  1058. <![CDATA[
  1059. cmb_obtappflag.deselect(1);
  1060. ]]>
  1061. </script>
  1062. </select1>
  1063. <caption id="caption15" class="search_name" style="left:193px; top:34px; width:119px; height:17px; ">이의 신청자 :</caption>
  1064. <input id="ipt_obtapprid" ref="/root/send/send_dataqry/obtapprid" class="input_search" style="left:308px; top:33px; width:135px; height:19px; "/>
  1065. <caption id="caption40" style="left:1004px; top:9px; width:30px; height:20px; font-weight:bold; ">이상</caption>
  1066. <input id="ipt_obtappamt" ref="/root/send/send_dataqry/obtappamt" class="input_search" format="#,###" style="left:909px; top:8px; width:90px; height:19px; text-align:right; "/>
  1067. <caption id="caption10" class="search_name" style="left:808px; top:32px; width:103px; height:17px; ">인 정 액 :</caption>
  1068. <input id="ipt_recogamt" ref="/root/send/send_dataqry/recogamt" class="input_search" format="#,###" style="left:909px; top:31px; width:90px; height:19px; text-align:right; "/>
  1069. <caption id="caption14" style="left:1004px; top:32px; width:30px; height:20px; font-weight:bold; ">이상</caption>
  1070. <caption id="caption37" class="search_name" style="left:808px; top:9px; width:103px; height:17px; ">이의신청액 :</caption>
  1071. <input id="ipt_obtappdocuno" ref="/root/send/send_dataqry/obtappdocuno" class="input_s_essential" style="left:104px; top:57px; width:85px; height:19px; ">
  1072. <script type="javascript" ev:event="onkeypress">
  1073. <![CDATA[
  1074. // Enter 입력
  1075. if (event.keyCode == "13") {
  1076. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1077. btn_search.dispatch("DOMActivate");
  1078. }
  1079. ]]>
  1080. </script>
  1081. </input>
  1082. <caption id="caption16" class="search_name" style="left:17px; top:58px; width:86px; height:17px; ">문서번호 :</caption>
  1083. <input id="ipt_srchdecidocuno" ref="/root/send/send_dataqry/decidocuno" class="input_search" style="left:308px; top:57px; width:135px; height:19px; "/>
  1084. <caption id="caption17" class="search_name" style="left:193px; top:58px; width:112px; height:17px; ">결정문서번호 :</caption>
  1085. <caption id="caption9" style="left:1004px; top:57px; width:30px; height:20px; font-weight:bold; ">이상</caption>
  1086. <input id="ipt_cuttotamt" ref="/root/send/send_dataqry/cuttotamt" class="input_search" format="#,###" style="left:909px; top:56px; width:90px; height:19px; text-align:right; "/>
  1087. <caption id="caption19" class="search_name" style="left:808px; top:57px; width:101px; height:17px; ">삭감총액 :</caption>
  1088. </group>
  1089. <button id="button1" class="btn2_letter8" style="left:1085px; top:144px; width:108px; height:19px; ">
  1090. <caption>처방별 엑셀저장</caption>
  1091. <script type="javascript" ev:event="DOMActivate">
  1092. <![CDATA[
  1093. // 선택된 row가 있는지 확인한다.
  1094. var selectCnt = 0;
  1095. selectCnt = grd_rsltqry.selectedRows;
  1096. if (selectCnt == 0) {
  1097. model.alert("선택후 다시 시도해 주세요");
  1098. return;
  1099. }
  1100. model.removeNodeset("/root/send/send_prcp/selectlist");
  1101. model.refresh();
  1102. // 선택된 row의 조회 조건 값을 받는다.
  1103. var rows = grd_rsltqry.rows;
  1104. for (var i=0; i<rows; i++) {
  1105. var sel = grd_rsltqry.selectedRow(i);
  1106. if(sel != '-1'){
  1107. model.setValue("/root/selectlist/judgdg", model.getValue("/root/main/list01/gridrsltqry[" + (sel - grd_rsltqry.fixedRows + 1) + "]/judgdg"));
  1108. model.setValue("/root/selectlist/clamno", model.getValue("/root/main/list01/gridrsltqry[" + (sel - grd_rsltqry.fixedRows + 1) + "]/clamno"));
  1109. model.setValue("/root/selectlist/acptno", model.getValue("/root/main/list01/gridrsltqry[" + (sel - grd_rsltqry.fixedRows + 1) + "]/acptno"));
  1110. model.setValue("/root/selectlist/obtappflag", model.getValue("/root/main/list01/gridrsltqry[" + (sel - grd_rsltqry.fixedRows + 1) + "]/obtappflag"));
  1111. copyNodeListType("root/send/send_prcp", "/root/selectlist", "after");
  1112. }
  1113. }
  1114. // 선택된 값으로 명세서별로 조회
  1115. submit("TRPIR30702");
  1116. var today = getCurrentDate();
  1117. if (grd_pirhobtspec.rows == 2) {
  1118. return;
  1119. }
  1120. // 해당 인스턴스를 엑셀저장한다.(인스턴스에 있는값을 받아야 하는데..확인해야함)
  1121. var fileName = window.fileDialog("save", ",", false, "이의신청결과-처방별엑셀저장_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1122. if (fileName != "") {
  1123. grd_pirhobtspec.saveExcel(fileName, "처방별엑셀저장", true, true, "", "", "");
  1124. }
  1125. ]]>
  1126. </script>
  1127. </button>
  1128. <line id="line9" class="line_3" style="x1:0px; y1:115px; x2:1194px; y2:115px; "/>
  1129. <button id="button6" class="btn2_letter2" navindex="6" style="left:493px; top:118px; width:42px; height:19px; ">
  1130. <caption>저장</caption>
  1131. <script type="javascript" ev:event="DOMActivate">
  1132. <![CDATA[
  1133. // 결정문서번호와 결정문서도착일자는 청구서단위로 저장이 된다. 즉 이신한 내용에 대해서 저장을 하면
  1134. // 선택된 row의 기관코드, 심사차수, 접수번호, 청구번호, 이신구분을 가지고 OBTH, OBTM, OBTD를 UPDATE한다.
  1135. // 이는 이의신청 결과 상세조회에 있는 결정문서번호, 일자 저장하는 것과 같았는데 변경됐다.
  1136. // 결정이 오면 이신결과조회에서 결정문서번호를 모두 등록하고 해당하는 건의 보류문서번호는 이신결과에서 행추가로 등록하고
  1137. // 이후 보류건에 결정이 이루어지면 이신결과상세조회에서 결정문서번호를 수정저장한다.
  1138. var curr_row = grd_rsltqry.row - 1;
  1139. var status = "update";
  1140. if(curr_row >= 1){
  1141. var judgdg = model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/judgdg");
  1142. var clamno = model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/clamno");
  1143. var acptno = model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/acptno");
  1144. var obtappflag = model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/obtappflag");
  1145. var obtappdocuno = model.getValue("/root/main/list01/gridrsltqry[" + curr_row + "]/obtappdocuno");
  1146. var decidocuno = ipt_decidocuno.value;
  1147. var decirepldd = ipt_decirepldd.value;
  1148. model.setValue("/root/send/send_deciinfo/judgdg", judgdg);
  1149. model.setValue("/root/send/send_deciinfo/clamno", clamno);
  1150. model.setValue("/root/send/send_deciinfo/acptno", acptno);
  1151. model.setValue("/root/send/send_deciinfo/obtappflag", obtappflag);
  1152. model.setValue("/root/send/send_deciinfo/status", status);
  1153. model.setValue("/root/send/send_deciinfo/decidocuno", decidocuno);
  1154. model.setValue("/root/send/send_deciinfo/decirepldd", decirepldd);
  1155. model.setValue("/root/send/send_deciinfo/obtappdocuno", obtappdocuno);
  1156. submit("TXPIR30701");
  1157. model.resetInstanceNode("/root/main/list01");
  1158. ipt_decirepldd.value = "";
  1159. //model.refresh();
  1160. if(fChkSend()){
  1161. submit("TRPIR30700");
  1162. }
  1163. } else {
  1164. messageBox("결정정보를 저장할 ROW를 ","C002");
  1165. }
  1166. ]]>
  1167. </script>
  1168. </button>
  1169. <line id="line11" class="line_3" style="x1:0px; y1:139px; x2:1194px; y2:139px; "/>
  1170. <input id="ipt_decidocuno" ref="/root/main/list04/deciinfo/decidocuno" class="input_default" navindex="4" style="left:93px; top:118px; width:162px; height:19px; text-align:right; "/>
  1171. <input id="ipt_decirepldd" ref="/root/main/list04/deciinfo/decirepldd" class="input_default" navindex="4" inputtype="date" format="yyyy-mm-dd" style="left:372px; top:118px; width:118px; height:19px; text-align:right; "/>
  1172. <caption id="caption38" class="cell_1" style="left:0px; top:116px; width:91px; height:23px; text-align:left; vertical-align:middle; ">결정문서번호</caption>
  1173. <caption id="caption39" class="cell_1" style="left:257px; top:116px; width:113px; height:23px; text-align:left; vertical-align:middle; ">결정문서도착일자</caption>
  1174. <button id="button7" class="btn2_letter4" style="left:899px; top:144px; width:64px; height:19px; ">
  1175. <caption>엑셀저장</caption>
  1176. <script type="javascript" ev:event="DOMActivate">
  1177. <![CDATA[
  1178. var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  1179. // 그리드 제목을 선택하면 저장이 안된다.
  1180. if (grd_rsltqry.rows == 2) {
  1181. return;
  1182. }
  1183. var fileName = window.fileDialog("save", ",", false, "이의신청결과조회-접수번호별이의신청결과_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1184. if (fileName != "") {
  1185. grd_rsltqry.saveExcel(fileName, "접수번호별이의신청결과", true, true, "", "", "insukind:label;chosflag:label;ordfildcd:label;clamflag:label;obtappflag:label;");
  1186. }
  1187. ]]>
  1188. </script>
  1189. </button>
  1190. <select id="chk_delcntsum" ref="/root/send/send_dataqry/delcntsum" overflow="visible" appearance="full" style="left:1040px; top:62px; width:95px; height:15px; border-style:none; ">
  1191. <choices>
  1192. <item>
  1193. <label>부제기건포함</label>
  1194. <value>D</value>
  1195. </item>
  1196. </choices>
  1197. </select>
  1198. <group id="grp_memo" visibility="hidden" style="left:875px; top:275px; width:305px; height:202px; border-color:#c7a3cf; border-style:solid; ">
  1199. <caption id="cpt_text" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">메모</caption>
  1200. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:300 px; y2:15px; "/>
  1201. <textarea id="txt_text" ref="/root/hidden/memo" scroll="vertical" imemode="hangul" maxlength="1750" style="left:5px; top:21px; width:294px; height:154px; text-align:left; vertical-align:top; padding-left:5; "/>
  1202. <button id="btn_closememo" class="btn4_letter2" style="left:239px; top:176px; width:56px; height:22px; ">
  1203. <caption>
  1204. <![CDATA[확인]]>
  1205. </caption>
  1206. <script type="javascript" ev:event="DOMActivate">
  1207. <![CDATA[
  1208. // model.removeNodeset("/root/hidden/savememo");
  1209. model.destroy("/root/hidden/memo");
  1210. model.makeNode("/root/hidden/memo");
  1211. grp_memo.visible = false;
  1212. ]]>
  1213. </script>
  1214. </button>
  1215. </group>
  1216. <datagrid id="grd_pirhobtspec" nodeset="/root/main/list03/gridobtrsltspec" class="datagrid2" visibility="hidden" caption="진료과^진료의^명일련^등록번호^환자이름^상병코드^퇴원일자^이의&#xA;신청자코드^이의&#xA;신청자^줄번호^항^구분^구분2^조정&#xA;사유^I, II&#xA;구분^처방코드^EDI코드^처방명칭^단가^청구&#xA;수량^청구&#xA;1회량^청구&#xA;일투^청구&#xA;총투^조정&#xA;삭감&#xA;수량^조정&#xA;1회량^조정&#xA;일투^조정&#xA;총투^조정삭감액^조정삭감액^조정삭감액^이신&#xA;수량^이신&#xA;1회량^이의&#xA;일투^이의&#xA;총투^이의신청액^이의신청액^이의신청액^인정&#xA;1회량^인정&#xA;일투^인정&#xA;총투^인정액^인정액^인정액^불인정액^불인정액^불인정액^보류액^보류액^보류액^정산&#xA;1회량^정산&#xA;일투^정산&#xA;총투^정산결정차액^정산결정차액^정산결정차액^인정액_정산결정차액^인정액_정산결정차액^다음&#xA;단계^비고란^청구&#xA;년월^보험&#xA;유형^내원&#xA;유형^청구&#xA;분야^청구&#xA;구분^청구&#xA;차수^이신&#xA;구분^접수&#xA;번호^심사&#xA;차수^묶음&#xA;번호^청구&#xA;번호^총&#xA;진료비^이의&#xA;신청&#xA;일자^문서번호&#xA;가의강^결정문서&#xA;도착일자^결정&#xA;문서&#xA;번호^이신&#xA;완료&#xA;여부^완료&#xA;여부^정산내역서&#xA;도착일자^정산내역서&#xA;도착일자^원외심결&#xA;심사차수^원외&#xA;통보일자|진료과^진료의^명일련^등록번호^환자이름^상병코드^퇴원일자^이의&#xA;신청자코드^이의&#xA;신청자^줄번호^항^구분^구분2^조정&#xA;사유^I, II&#xA;구분^처방코드^EDI코드^처방명칭^단가^청구&#xA;수량^청구&#xA;1회량^청구&#xA;일투^청구&#xA;총투^조정&#xA;삭감&#xA;수량^조정&#xA;1회량^조정&#xA;일투^조정&#xA;총투^계^원내^원외^이신&#xA;수량^이신&#xA;1회량^이의&#xA;일투^이의&#xA;총투^계^원내^원외^인정&#xA;1회량^인정&#xA;일투^인정&#xA;총투^계^원내^원외^계^원내^원외^계^원내^원외^정산&#xA;1회량^정산&#xA;일투^정산&#xA;총투^계^원내^원외^원내^원외^다음&#xA;단계^비고란^청구&#xA;년월^보험&#xA;유형^내원&#xA;유형^청구&#xA;분야^청구&#xA;구분^청구&#xA;차수^이신&#xA;구분^접수&#xA;번호^심사&#xA;차수^묶음&#xA;번호^청구&#xA;번호^총&#xA;진료비^이의&#xA;신청&#xA;일자^문서번호&#xA;가의강^결정문서&#xA;도착일자^결정&#xA;문서&#xA;번호^이신&#xA;완료&#xA;여부^완료&#xA;여부^원내^원외^원외심결&#xA;심사차수^원외&#xA;통보일자" colsep="^" colwidth="60, 80, 60, 60, 60, 70, 50, 71, 60, 40, 30, 40, 40, 40, 40, 70, 70, 200, 60, 50, 50, 50, 50, 50, 50, 50, 50, 63, 63, 63, 40, 40, 35, 35, 64, 64, 64, 40, 35, 35, 63, 63, 63, 63, 63, 63, 63, 63, 63, 40, 35, 35, 80, 63, 63, 63, 63, 59, 128, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 100, 100" dataheight="25" defaultrows="4" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" selectionmode="byrow" tooltip="true" style="left:10px; top:590px; width:1170px; height:110px; vertical-align:middle; ">
  1217. <col ref="orddeptabbr" style="text-align:center; "/>
  1218. <col ref="atdoctnm" style="text-align:center; "/>
  1219. <col ref="docuseqno" style="text-align:center; "/>
  1220. <col ref="pid" style="text-align:center; "/>
  1221. <col ref="patnm" style="text-align:center; "/>
  1222. <col ref="maindiag" style="text-align:center; "/>
  1223. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1224. <col ref="obtappid" style="text-align:center; "/>
  1225. <col ref="judgrnm" style="text-align:center; "/>
  1226. <col ref="lnno" style="text-align:center; "/>
  1227. <col ref="item" style="text-align:center; "/>
  1228. <col ref="division" style="text-align:center; "/>
  1229. <col ref="division2" style="text-align:center; "/>
  1230. <col ref="adjtresncd" style="text-align:center; "/>
  1231. <col ref="matractflag" style="text-align:center; "/>
  1232. <col ref="snglcalcscorcd" style="text-align:center; "/>
  1233. <col ref="edicd" style="text-align:center; "/>
  1234. <col ref="hngnm" style="left:850px; top:52px; width:200px; height:23px; text-align:center; "/>
  1235. <col ref="unitcost" format="(-)#,###" style="text-align:right; "/>
  1236. <col ref="clamqty" style="text-align:center; "/>
  1237. <col ref="clamonesqty" style="text-align:center; "/>
  1238. <col ref="clamone" style="text-align:center; "/>
  1239. <col ref="clamtot" style="text-align:center; "/>
  1240. <col ref="adjtrdqty" style="text-align:center; "/>
  1241. <col ref="adjtonesqty" style="text-align:center; "/>
  1242. <col ref="adjtone" style="text-align:center; "/>
  1243. <col ref="adjttot" style="text-align:center; "/>
  1244. <col ref="adjtrdtotamt" format="(-)#,###" style="text-align:right; "/>
  1245. <col ref="adjtrdamt" format="(-)#,###" style="text-align:right; "/>
  1246. <col ref="oprcpadjtrdamt" format="(-)#,###" style="text-align:right; "/>
  1247. <col ref="obtappqty" style="text-align:center; "/>
  1248. <col ref="obtapponesqty" style="text-align:center; "/>
  1249. <col ref="obtappdayqty" type="input" style="text-align:center; "/>
  1250. <col ref="obtapptotqty" type="input" style="text-align:center; "/>
  1251. <col ref="obtapptotamt" format="(-)#,###" style="text-align:right; "/>
  1252. <col ref="obtappamt" format="(-)#,###" style="text-align:right; "/>
  1253. <col ref="oprcpobtappamt" format="(-)#,###" style="text-align:right; "/>
  1254. <col ref="recogonesqty" format="#,###" style="text-align:center; "/>
  1255. <col ref="recogdayqty" style="text-align:center; "/>
  1256. <col ref="recogtotqty" style="text-align:center; "/>
  1257. <col ref="recogtotamt" format="(-)#,###" style="text-align:right; "/>
  1258. <col ref="recogamt" format="(-)#,###" style="text-align:right; "/>
  1259. <col ref="oprcprecogamt" format="(-)#,###" style="text-align:right; "/>
  1260. <col ref="nrecogtotamt" format="(-)#,###" style="text-align:right; "/>
  1261. <col ref="nrecogamt" format="(-)#,###" style="text-align:right; "/>
  1262. <col ref="noprcprecogamt" format="(-)#,###" style="text-align:right; "/>
  1263. <col ref="retetotamt" format="(-)#,###" style="text-align:right; "/>
  1264. <col ref="reteamt" format="(-)#,###" style="text-align:right; "/>
  1265. <col ref="oprcpreteamt" format="(-)#,###" style="text-align:right; "/>
  1266. <col ref="calconesqty" style="text-align:center; "/>
  1267. <col ref="calcdayqty" style="text-align:center; "/>
  1268. <col ref="calctotqty" style="text-align:center; "/>
  1269. <col ref="calcdecitotamt" format="(-)#,###" style="text-align:right; "/>
  1270. <col ref="calcdeciamt" format="(-)#,###" style="text-align:right; "/>
  1271. <col ref="oprcpcalcdeciamt" format="(-)#,###" style="text-align:right; "/>
  1272. <col ref="calcdecidifamt" format="(-)#,###" style="text-align:right; "/>
  1273. <col ref="oprcpcalcdecidifamt" format="(-)#,###" style="text-align:right; "/>
  1274. <col ref="reclamyn" style="text-align:center; "/>
  1275. <col ref="ordmemo" type="inputbutton" style="text-align:left; padding-left:5; "/>
  1276. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  1277. <col ref="insukind" style="text-align:center; "/>
  1278. <col ref="chosflag" style="text-align:center; "/>
  1279. <col ref="ordfildcd" style="text-align:center; "/>
  1280. <col ref="clamflag" style="text-align:center; "/>
  1281. <col ref="clamdg" style="text-align:center; "/>
  1282. <col ref="obtappflag" style="text-align:center; "/>
  1283. <col ref="acptno" style="text-align:center; "/>
  1284. <col ref="judgdg" style="text-align:center; "/>
  1285. <col ref="setno" style="text-align:center; "/>
  1286. <col ref="clamno" style="text-align:center; "/>
  1287. <col ref="clclamamt" format="(-)#,###" style="text-align:right; "/>
  1288. <col ref="obtappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1289. <col ref="obtappdocuno" style="text-align:center; "/>
  1290. <col ref="decirepldd" format="yyyy-mm-dd" style="text-align:center; "/>
  1291. <col ref="decidocuno" style="text-align:center; "/>
  1292. <col ref="obtappendyn" style="text-align:center; "/>
  1293. <col ref="endyn" style="text-align:center; "/>
  1294. <col ref="calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  1295. <col ref="oprccalcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  1296. <col ref="oprcjrjudgdegree" style="text-align:center; "/>
  1297. <col ref="oprcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  1298. </datagrid>
  1299. <datagrid id="grd_griddocu" nodeset="/root/main/list02/griddocu" class="datagrid2" visibility="hidden" caption="진료과^진료의^명일련^등록번호^환자이름^상병코드^퇴원일자^이의&#xA;신청자코드^이의&#xA;신청자^조정삭감액^조정삭감액^조정삭감액^이의신청액^이의신청액^이의신청액^인정액^인정액^인정액^불인정액^불인정액^불인정액^보류액^보류액^보류액^정산결정차액^정산결정차액^정산결정차액^인정액-정산결정차액^인정액-정산결정차액^청구&#xA;년월^보험&#xA;유형^내원&#xA;유형^청구&#xA;분야^청구&#xA;구분^청구&#xA;차수^이신&#xA;구분^접수&#xA;번호^심사&#xA;차수^묶음&#xA;번호^청구&#xA;번호^총&#xA;진료비^이의&#xA;신청&#xA;일자^문서번호&#xA;가의강^결정문서&#xA;도착일자^결정&#xA;문서&#xA;번호^이신&#xA;완료&#xA;여부^완료&#xA;여부^정산내역서&#xA;도착일자^정산내역서&#xA;도착일자^원외심결&#xA;심사차수^원외&#xA;통보일자|진료과^진료의^명일련^등록번호^환자이름^상병코드^퇴원일자^이의&#xA;신청자코드^이의&#xA;신청자^계^원내^원외^계^원내^원외^계^원내^원외^계^원내^원외^계^원내^원외^계^원내^원외^원내^원외^청구&#xA;년월^보험&#xA;유형^내원&#xA;유형^청구&#xA;분야^청구&#xA;구분^청구&#xA;차수^이신&#xA;구분^접수&#xA;번호^심사&#xA;차수^묶음&#xA;번호^청구&#xA;번호^총&#xA;진료비^이의&#xA;신청&#xA;일자^문서번호&#xA;가의강^결정문서&#xA;도착일자^결정&#xA;문서&#xA;번호^이신&#xA;완료&#xA;여부^완료&#xA;여부^원내^원외^원외심결&#xA;심사차수^원외&#xA;통보일자" colsep="^" colwidth="60, 80, 60, 60, 60, 70, 50, 71, 60, 40, 30, 40, 40, 40, 40, 40, 40, 40, 70, 70, 200, 64, 40, 35, 35, 63, 63, 63, 63, 40, 35, 35, 80, 63, 63, 59, 128, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 55, 100" dataheight="25" defaultrows="4" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" selectionmode="byrow" tooltip="true" style="left:10px; top:480px; width:1169px; height:110px; vertical-align:middle; ">
  1300. <col ref="orddeptabbr" style="text-align:center; "/>
  1301. <col ref="atdoctnm" style="text-align:center; "/>
  1302. <col ref="docuseqno" style="text-align:center; "/>
  1303. <col ref="pid" style="text-align:center; "/>
  1304. <col ref="patnm" style="text-align:center; "/>
  1305. <col ref="maindiag" style="text-align:center; "/>
  1306. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1307. <col ref="obtappid" style="text-align:center; "/>
  1308. <col ref="judgrnm" style="text-align:center; "/>
  1309. <col ref="adjtrdtotamt" format="(-)#,###" style="text-align:right; "/>
  1310. <col ref="adjtrdamt" format="(-)#,###" style="text-align:right; "/>
  1311. <col ref="oprcpadjtrdamt" format="(-)#,###" style="text-align:right; "/>
  1312. <col ref="obtapptotamt" format="(-)#,###" style="text-align:right; "/>
  1313. <col ref="obtappamt" format="(-)#,###" style="text-align:right; "/>
  1314. <col ref="oprcpobtappamt" format="(-)#,###" style="text-align:right; "/>
  1315. <col ref="recogtotamt" format="(-)#,###" style="text-align:right; "/>
  1316. <col ref="recogamt" format="(-)#,###" style="text-align:right; "/>
  1317. <col ref="oprcprecogamt" format="(-)#,###" style="text-align:right; "/>
  1318. <col ref="nrecogtotamt" format="(-)#,###" style="text-align:right; "/>
  1319. <col ref="nrecogamt" format="(-)#,###" style="left:1104px; top:52px; width:70px; height:23px; text-align:right; "/>
  1320. <col ref="noprcprecogamt" format="(-)#,###" style="text-align:right; "/>
  1321. <col ref="retetotamt" format="(-)#,###" style="text-align:right; "/>
  1322. <col ref="reteamt" format="(-)#,###" style="text-align:right; "/>
  1323. <col ref="oprcpreteamt" format="(-)#,###" style="text-align:right; "/>
  1324. <col ref="calcdecitotamt" format="(-)#,###" style="left:1513px; top:52px; width:35px; height:23px; text-align:right; "/>
  1325. <col ref="calcdeciamt" format="(-)#,###" style="text-align:right; "/>
  1326. <col ref="oprcpcalcdeciamt" format="(-)#,###" style="text-align:right; "/>
  1327. <col ref="calcdecidifamt" format="(-)#,###" style="text-align:right; "/>
  1328. <col ref="oprcpcalcdecidifamt" format="(-)#,###" style="text-align:right; "/>
  1329. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  1330. <col ref="insukind" style="text-align:center; "/>
  1331. <col ref="chosflag" style="text-align:center; "/>
  1332. <col ref="ordfildcd" style="text-align:center; "/>
  1333. <col ref="clamflag" style="text-align:center; "/>
  1334. <col ref="clamdg" style="text-align:center; "/>
  1335. <col ref="obtappflag" style="text-align:center; "/>
  1336. <col ref="acptno" style="text-align:center; "/>
  1337. <col ref="judgdg" style="text-align:center; "/>
  1338. <col ref="setno" style="text-align:center; "/>
  1339. <col ref="clamno" style="text-align:center; "/>
  1340. <col ref="clclamamt" format="(-)#,###" style="text-align:right; "/>
  1341. <col ref="obtappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1342. <col ref="obtappdocuno" style="text-align:center; "/>
  1343. <col ref="decirepldd" format="yyyy-mm-dd" style="text-align:center; "/>
  1344. <col ref="decidocuno" style="text-align:center; "/>
  1345. <col ref="obtappendyn" style="text-align:center; "/>
  1346. <col ref="endyn" style="text-align:center; "/>
  1347. <col ref="calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  1348. <col ref="oprccalcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  1349. <col ref="oprcjrjudgdegree" style="text-align:center; "/>
  1350. <col ref="oprcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  1351. </datagrid>
  1352. <caption id="caption6" style="left:703px; top:120px; width:490px; height:16px; font-size:8pt; font-weight:bold; color:#fa0413; background-color:#f5feb8; ">** 접수번호, 심사차수, 문서번호, 등록번호로 조회시 기간 등 조회조건은 무시됩니다. **</caption>
  1353. </group>
  1354. <group id="grp_btn" style="left:0px; top:757px; width:1194px; height:27px; ">
  1355. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1356. <button id="button3" class="btn3_letter6" style="left:3px; top:5px; width:104px; height:22px; ">
  1357. <caption>이의신청 조회</caption>
  1358. <script type="javascript" ev:event="onclick">
  1359. <![CDATA[
  1360. var curr_row = grd_rsltqry.row - 1;
  1361. model.setValue("/root/source_obtappqry/termflag1", model.getValue("/root/send/send_dataqry/termflag1")); // 날짜구분
  1362. model.setValue("/root/source_obtappqry/fromobtappdd", model.getValue("/root/send/send_dataqry/fromobtappdd").toDate().getAddDate(-90).getDateFormat("YYYYMMDD")); // 시작일자
  1363. model.setValue("/root/source_obtappqry/toobtappdd", model.getValue("/root/send/send_dataqry/toobtappdd")); // 종료일자
  1364. model.setValue("/root/source_obtappqry/clamflag", model.getValue("/root/send/send_dataqry/clamflag")); // 청구구분
  1365. model.setValue("/root/source_obtappqry/judgdg", model.getValue("/root/send/send_dataqry/judgdg")); // 심사차수
  1366. model.setValue("/root/source_obtappqry/acptno", model.getValue("/root/send/send_dataqry/acptno")); // 접수번호
  1367. model.setValue("/root/source_obtappqry/ordfildcd", model.getValue("/root/send/send_dataqry/ordfildcd")); // 청구분야
  1368. model.setValue("/root/source_obtappqry/obtappflag", model.getValue("/root/send/send_dataqry/obtappflag")); // 이신구분
  1369. model.setValue("/root/source_obtappqry/obtappdocuno", model.getValue("/root/send/send_dataqry/obtappdocuno")); // 이의신청문서번호
  1370. model.setValue("/root/source_obtappqry/chosflag", model.getValue("/root/send/send_dataqry/chosflag")); // 내원유형
  1371. model.setValue("/root/source_obtappqry/insukind", model.getValue("/root/send/send_dataqry/insukind")); // 보험유형
  1372. model.setValue("/root/source_obtappqry/rejudgflag", model.getValue("/root/send/send_dataqry/rejudgflag")); // 이신구분자
  1373. model.setValue("/root/source_obtappqry/judgrid", model.getValue("/root/send/send_dataqry/obtapprid")); // 심사자(이의신청자)
  1374. model.setValue("/root/source_obtappqry/adjtamt", model.getValue("/root/send/send_dataqry/cuttotamt")); // 삭감액
  1375. model.setValue("/root/source_obtappqry/resttime", ""); // 남은기한(결과는 없어서 값안준다)
  1376. model.setValue("/root/source_obtappqry/obtappendflag", ""); // 이의신청구분(결과는 마감구분이기에 값안준다)
  1377. model.setValue("/root/source_obtappqry/patunitsrch1", model.getValue("/root/send/send_dataqry/patunitsrch1")); // 환자조회
  1378. model.setValue("/root/source_obtappqry/patunitsrch2", model.getValue("/root/send/send_dataqry/patunitsrch2")); // 환자구분
  1379. modal("SMPIR30200", 1, 1, 1, "SMPIR30200", "/root/source_obtappqry","/root/send");
  1380. ]]>
  1381. </script>
  1382. </button>
  1383. <button id="button4" class="btn4_letter2" style="left:1135px; top:0px; width:56px; height:22px; ">
  1384. <caption>닫기</caption>
  1385. <close ev:event="DOMActivate"/>
  1386. </button>
  1387. <button id="btn_init" class="btn4_letter3" navindex="22" style="left:1067px; top:0px; width:68px; height:22px; ">
  1388. <caption>초기화</caption>
  1389. <script type="javascript" ev:event="DOMActivate">
  1390. <![CDATA[
  1391. fInitialize();
  1392. ]]>
  1393. </script>
  1394. </button>
  1395. </group>
  1396. </xhtml:body>
  1397. </xhtml:html>