SMPIR30200_이의신청조회.xrw 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>이의신청 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list01>
  11. <gridpirmobth>
  12. <clamym/>
  13. <insukind/>
  14. <chosflag/>
  15. <ordfildcd/>
  16. <clamflagcd/>
  17. <obtappflag/>
  18. <acptno/>
  19. <judgdg/>
  20. <setno/>
  21. <rem/>
  22. <obtappendflag/>
  23. <indendyn/>
  24. <decirepldd/>
  25. <limitdd/>
  26. <restterm/>
  27. <cutcnt/>
  28. <cutamt/>
  29. <oprcpcutamt/>
  30. <cutrate/>
  31. <obtappcnt/>
  32. <obtappamt/>
  33. <oprcpobtaamt/>
  34. <obtapprate/>
  35. <oprcpobtapprate/>
  36. <clamno/>
  37. <medcaretotamt/>
  38. <clamamt/>
  39. <obtappdd/>
  40. <obtappdocuno/>
  41. <oprcpnotidd/>
  42. <hospnm/>
  43. <hospcd/>
  44. </gridpirmobth>
  45. </list01>
  46. <patinfo>
  47. <patinfolist/>
  48. </patinfo>
  49. <list02>
  50. <prtpatinfodata/>
  51. </list02>
  52. <list03/>
  53. <list04>
  54. <prtlnnoadjtresncd/>
  55. </list04>
  56. </main>
  57. <send>
  58. <termflag1/>
  59. <fromobtappdd/>
  60. <toobtappdd/>
  61. <clamflag/>
  62. <judgdg/>
  63. <acptno/>
  64. <ordfildcd/>
  65. <obtappflag/>
  66. <obtappdocuno/>
  67. <chosflag>1</chosflag>
  68. <insukind>1</insukind>
  69. <rejudgflag>1</rejudgflag>
  70. <judgrid/>
  71. <adjtamt/>
  72. <resttime/>
  73. <obtappendflag>3</obtappendflag>
  74. <patunitsrch1/>
  75. <patunitsrch2/>
  76. <indendyn/>
  77. <listval>
  78. <uuee>
  79. <flag/>
  80. <scrnid/>
  81. <compsnm/>
  82. <compscnts/>
  83. <compsrefcnts/>
  84. <compssizecnts/>
  85. </uuee>
  86. </listval>
  87. <autosrchyn/>
  88. </send>
  89. <popupdata>
  90. <popupmenu>
  91. <gridpirhobtm>
  92. <item>
  93. <name>이의신청 상세 조회</name>
  94. <func>fGridObtAppSpec</func>
  95. </item>
  96. <item>
  97. <name>일괄 부제기사유</name>
  98. <func>fTotAbdResnCdRgst</func>
  99. </item>
  100. <item>
  101. <name>심사자 변경</name>
  102. <func>fUpdateJudgrid</func>
  103. </item>
  104. <item>
  105. <name>진료비 삭감내역</name>
  106. <func>fOrdAmtReduSpec</func>
  107. </item>
  108. <item>
  109. <name>진료비 심사내역통보서</name>
  110. <func>fOrdAmtJudgSpecNoti</func>
  111. </item>
  112. </gridpirhobtm>
  113. </popupmenu>
  114. </popupdata>
  115. <init>
  116. <P0426list>
  117. <P0426>
  118. <cdid/>
  119. <cdnm/>
  120. </P0426>
  121. </P0426list>
  122. <P0291list>
  123. <P0291>
  124. <cdid/>
  125. <cdnm/>
  126. </P0291>
  127. </P0291list>
  128. <P0264list>
  129. <P0264>
  130. <cdid/>
  131. <cdnm/>
  132. </P0264>
  133. </P0264list>
  134. <P0421list>
  135. <P0421>
  136. <cdid/>
  137. <cdnm/>
  138. </P0421>
  139. </P0421list>
  140. <P0028list>
  141. <P0028>
  142. <cdid/>
  143. <cdnm/>
  144. </P0028>
  145. </P0028list>
  146. <U0001list>
  147. <U0001>
  148. <judgrid/>
  149. <judgrnm/>
  150. </U0001>
  151. </U0001list>
  152. <P0458list>
  153. <P0458>
  154. <cdid/>
  155. <cdnm/>
  156. </P0458>
  157. </P0458list>
  158. <P0398list>
  159. <P0398>
  160. <cdid/>
  161. <cdnm/>
  162. </P0398>
  163. </P0398list>
  164. </init>
  165. <hidden>
  166. <sppmc02500>
  167. <cond>
  168. <srchcond/>
  169. <pid/>
  170. <hngnm/>
  171. <rrgstno1/>
  172. <rrgstno2/>
  173. </cond>
  174. </sppmc02500>
  175. <sppir30210>
  176. <rslt>
  177. <rem/>
  178. </rslt>
  179. </sppir30210>
  180. <smpir31000>
  181. <cond>
  182. <acptno/>
  183. </cond>
  184. </smpir31000>
  185. </hidden>
  186. <source>
  187. <judgdg/>
  188. <clamno/>
  189. <acptno/>
  190. <obtappflag/>
  191. <rem/>
  192. </source>
  193. <source_obtappspec>
  194. <judgdg/>
  195. <clamno/>
  196. <acptno/>
  197. <obtappflag/>
  198. <setno/>
  199. <notidd/>
  200. <obtappdocuno/>
  201. <obtappdd/>
  202. <decidocuno/>
  203. <decirepldd/>
  204. <judgrid/>
  205. <endn/>
  206. <judgrid2/>
  207. </source_obtappspec>
  208. <source_AbdResnCdRgst>
  209. <judgdg/>
  210. <clamno/>
  211. <acptno/>
  212. <obtappflag/>
  213. <adjtresncd/>
  214. <edicd/>
  215. <abdresncd/>
  216. <abdresnmemo/>
  217. </source_AbdResnCdRgst>
  218. <source_judgrinfo>
  219. <judgrid/>
  220. </source_judgrinfo>
  221. <prtexcel>
  222. <list01>
  223. <obtappodrlist>
  224. <orddeptcd/>
  225. </obtappodrlist>
  226. </list01>
  227. <list02>
  228. <obtapplist>
  229. <orddeptcd/>
  230. </obtapplist>
  231. </list02>
  232. </prtexcel>
  233. <sendexcel>
  234. <selectlist>
  235. <judgdg/>
  236. <clamno/>
  237. <acptno/>
  238. <obtappflag/>
  239. </selectlist>
  240. </sendexcel>
  241. <selectlist>
  242. <judgdg/>
  243. <clamno/>
  244. <acptno/>
  245. <obtappflag/>
  246. </selectlist>
  247. <send2>
  248. <clamno/>
  249. <acptno/>
  250. <obtappflag/>
  251. <judgdg/>
  252. <obtappdocuno/>
  253. </send2>
  254. </root>
  255. </instance>
  256. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  257. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  258. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  259. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  260. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  261. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  262. <submission id="TRPIR30200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  263. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  264. <submission id="TRPIR30202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source_judgrinfo" resultref="/root/init/U0001list"/>
  265. <submission id="TRPIR30203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/sendexcel" resultref="/root/prtexcel/list01"/>
  266. <submission id="TRPIR30204" mediatype="application/x-www-form-urlencoded" method="post" ref="root/sendexcel" resultref="/root/prtexcel/list02"/>
  267. <submission id="TRPIR30404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send2" resultref="/root/main/list02"/>
  268. <submission id="TRPIR30405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send2" resultref="/root/main/list04"/>
  269. <submission id="TXPIJ00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/hidden/listval"/>
  270. <submission id="TRPIJ00407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/hidden/listval"/>
  271. </model>
  272. <script type="javascript" ev:event="xforms-ready">
  273. <![CDATA[
  274. CommCode_Load();
  275. model.setValue("/root/send/termflag1","1");
  276. model.setValue("/root/send/insukind","1");
  277. model.setValue("/root/send/chosflag","1");
  278. model.setValue("/root/send/rejudgflag","1");
  279. model.setValue("/root/send/obtappendflag","3");
  280. model.setValue("/root/send/toobtappdd", getCurrentDate());
  281. model.setValue("/root/send/fromobtappdd", getCurrentDate().toDate().getAddDate(-90).getDateFormat("YYYYMMDD"));
  282. // 다른 화면에서 팝업으로 이 화면을 열었을때 넘어온 파라미터로 대상목록을 조회
  283. // 조회필수 항목인 심사차수, 접수번호로 CHECK한다.
  284. model.setValue("/root/send/listval/uuee/scrnid","SMPIR30200");
  285. if ( submit("TRPIJ00407",false) ) {
  286. fSetRdoReset();
  287. }
  288. if (model.getValue("/root/send/acptno") != '' ) {
  289. submit("TRPIR30200");
  290. }else {
  291. model.removeNodeset("/root/main/list01/gridpirmobth");
  292. model.refresh();
  293. }
  294. ]]>
  295. </script>
  296. <script type="javascript">
  297. <![CDATA[
  298. var termflag1 = "";
  299. // 공통코드 Load작업f
  300. function CommCode_Load() {
  301. // 관련 Control 초기화
  302. zbcfGetCodeList(new Array("P0426","P0291","P0264","P0421","P0028", "P0458", "P0398"), new Array("/root/init/P0426list", "/root/init/P0291list","/root/init/P0264list","/root/init/P0421list", "/root/init/P0028list", "/root/init/P0458list", "/root/init/P0398list"));
  303. // 심사자 조회
  304. var judgrid = model.getValue("/root/send/judgrid");
  305. model.setValue("/root/source_judgrinfo/judgrid", judgrid);
  306. submit("TRPIR30202");
  307. model.setValue("/root/send/judgrid", model.getValue("/root/init/U0001list/U0001[judgrid='"+getUserId()+"']/judgrid"));
  308. model.refresh();
  309. }
  310. // 조회
  311. function fGetInAftJudgTrgtManList() {
  312. // 환자로 조회를 하는 경우
  313. var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
  314. model.setValue("/root/send/patunitsrch1", patunitsrch1);
  315. if (patunitsrch1 == "") {
  316. model.setValue("/root/send/patunitsrch2", "");
  317. }
  318. // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회
  319. else if (patunitsrch1.isNumber()) {
  320. // Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
  321. // if (patunitsrch1.length < 8) {
  322. // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
  323. // }
  324. model.setValue("/root/send/patunitsrch2", "pidSrch");
  325. }
  326. // 문자가 입력된 경우 환자이름으로 조회
  327. else {
  328. if (patunitsrch1.length > 1) {
  329. model.setValue("/root/send/patunitsrch2", "nmSrch");
  330. }
  331. else {
  332. model.setValue("/root/send/patunitsrch2", "");
  333. model.refresh();
  334. messageBox("환자로 조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자로 조회시 검색할 환자이름은 2글자 이상 입력하십시오.
  335. return;
  336. }
  337. }
  338. }
  339. // 이의신청 상세 조회
  340. function fGridObtAppSpec() {
  341. model.resetInstanceNode("/root/source_obtappspec");
  342. model.refresh();
  343. // model.setValue("/root/source_obtappspec/judgdg", model.getValue("/root/main/list01/gridpirmobth/judgdg"));
  344. // model.setValue("/root/source_obtappspec/clamno", model.getValue("/root/main/list01/gridpirmobth/clamno"));
  345. // model.setValue("/root/source_obtappspec/acptno", model.getValue("/root/main/list01/gridpirmobth/acptno"));
  346. // model.setValue("/root/source_obtappspec/obtappflag", model.getValue("/root/main/list01/gridpirmobth/obtappflag"));
  347. var row = grd_pirhobtm.row;
  348. model.setValue("/root/source_obtappspec/judgdg", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("judgdg")));
  349. model.setValue("/root/source_obtappspec/clamno", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamno")));
  350. model.setValue("/root/source_obtappspec/acptno", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("acptno")));
  351. model.setValue("/root/source_obtappspec/obtappflag", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("obtappflag")));
  352. model.setValue("/root/source_obtappspec/setno", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("setno")));
  353. model.setValue("/root/source_obtappspec/notidd", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("decirepldd")));
  354. modal("SMPIR30300", 1, 1, 1, "SMPIR30300", "/root/source_obtappspec", "/root/send");
  355. }
  356. // 일괄 부제기사유
  357. function fTotAbdResnCdRgst() {
  358. var curr_row = grd_pirhobtm.row - 1;
  359. // 이의신청 마감상태가 최종마감(S)이면 일괄부제기 사유 입력은 불가 처리
  360. if (model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/obtappendflag") == "S") {
  361. messageBox("이의신청청구서 마감상태가 최종마감(S)이면 입력", "E001");
  362. return;
  363. }
  364. model.setValue("/root/source_AbdResnCdRgst/judgdg", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/judgdg"));//심사차수
  365. model.setValue("/root/source_AbdResnCdRgst/clamno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/clamno"));//청구번호
  366. model.setValue("/root/source_AbdResnCdRgst/acptno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/acptno"));//접수번호
  367. model.setValue("/root/source_AbdResnCdRgst/obtappflag", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/obtappflag"));//이의신청구분()
  368. model.setValue("/root/source_AbdResnCdRgst/adjtresncd", "");
  369. model.setValue("/root/source_AbdResnCdRgst/edicd", "");
  370. model.setValue("/root/source_AbdResnCdRgst/abdresncd", "");
  371. model.setValue("/root/source_AbdResnCdRgst/abdresnmemo", "");
  372. // 팝업 창
  373. modal("SPPIR30230", 1, 1, 1, "SPPIR30230", "/root/source_AbdResnCdRgst", "/root/send/send_totabdrgst");
  374. }
  375. function fCallObtappList() {
  376. if (model.getValue("/root/send/patunitsrch1") == "") {
  377. model.setValue("/root/send/patunitsrch2", "");
  378. } else if (model.getValue("/root/send/patunitsrch2") == "") {
  379. if (model.getValue("/root/send/patunitsrch1").length > 1) {
  380. fGetInAftJudgTrgtManList();
  381. }
  382. }
  383. model.resetInstanceNode("/root/main/list01");
  384. model.refresh();
  385. submit("TRPIR30200");
  386. grd_pirhobtm.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
  387. setRowStyle("grd_pirhobtm", "5","06","obtappflag","equal"); //row의 색상을 변경한다.
  388. setRowStyle("grd_pirhobtm", "5","07","obtappflag","equal"); //row의 색상을 변경한다.
  389. setRowStyle("grd_pirhobtm", "5","12","obtappflag","equal"); //row의 색상을 변경한다. 2016.09.09 재심후심사청구 추가
  390. setRowStyle("grd_pirhobtm", "5","13","obtappflag","equal"); //row의 색상을 변경한다. 2016.09.09 재심후행정심판 추가
  391. grd_pirhobtm.rebuild();
  392. //범례구분
  393. /*
  394. obtmList = instance1.selectSingleNode("/root/main/list01/gridpirmobth");
  395. if (obtmList == null) {
  396. model.makeNode("/root/main/list01/gridpirmobth");
  397. obtmList = instance1.selectSingleNode("/root/main/list01/gridpirmobth");
  398. }
  399. var obtmNode = obtmList.childNodes;
  400. */
  401. for (var i = 1; i < grd_pirhobtm.rows - 1; i++) {
  402. // 이신여부 색깔 구분(완료:회색)
  403. var obtappendflag = model.getValue("/root/main/list01/gridpirmobth["+ i +"]/obtappendflag");
  404. if (obtappendflag == "Y" || obtappendflag == "S") {
  405. grd_pirhobtm.rowStyle(i + 1, "data", "color") = "#808080"; //회색
  406. } else {
  407. grd_pirhobtm.rowStyle(i + 1, "data", "color") = "#000000"; //검정
  408. }
  409. var cutcnt = grd_pirhobtm.valueMatrix(i + 1, grd_pirhobtm.colRef("cutcnt"));
  410. var abdcnt = grd_pirhobtm.valueMatrix(i + 1, grd_pirhobtm.colRef("abdcnt"));
  411. var obtappcnt = grd_pirhobtm.valueMatrix(i + 1, grd_pirhobtm.colRef("obtappcnt"));
  412. var cutcnt2 = grd_pirhobtm.valueMatrix(i + 1, grd_pirhobtm.colRef("cutcnt2"));
  413. var abdcnt2 = grd_pirhobtm.valueMatrix(i + 1, grd_pirhobtm.colRef("abdcnt2"));
  414. var obtappcnt2 = grd_pirhobtm.valueMatrix(i + 1, grd_pirhobtm.colRef("obtappcnt2"));
  415. grd_pirhobtm.valueMatrix(i + 1, grd_pirhobtm.colRef("endyncnt")) = cutcnt - abdcnt - obtappcnt;
  416. grd_pirhobtm.valueMatrix(i + 1, grd_pirhobtm.colRef("endyncnt2")) = cutcnt2 - abdcnt2 - obtappcnt2;
  417. /*
  418. var restterm = model.getValue("/root/main/list01/gridpirmobth["+ i +"]/restterm");
  419. var obtyn = model.getValue("/root/main/list01/gridpirmobth["+ i +"]/obtappcnt");
  420. if (restterm < 10 ) {
  421. grd_pirhobtm.rowStyle(i + 1, "data", "color") = "#ff0000"; //빨강
  422. } else if (restterm == "-") {
  423. grd_pirhobtm.rowStyle(i + 1, "data", "color") = "#808080"; //회색
  424. } else if (obtyn == "0") {
  425. grd_pirhobtm.rowStyle(i + 1, "data", "color") = "#0000ff"; //파랑
  426. } else {
  427. grd_pirhobtm.rowStyle(i + 1, "data", "color") = "#000000"; //검정
  428. }
  429. */
  430. }
  431. }
  432. function fUpdateJudgrid() {
  433. var curr_row = grd_pirhobtm.row - 1 ;
  434. model.setValue("/root/source_obtappspec/judgdg", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/judgdg"));
  435. model.setValue("/root/source_obtappspec/clamno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/clamno"));
  436. model.setValue("/root/source_obtappspec/acptno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/acptno"));
  437. model.setValue("/root/source_obtappspec/obtappflag", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/obtappflag"));
  438. model.setValue("/root/source_obtappspec/setno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/setno"));
  439. model.setValue("/root/source_obtappspec/notidd", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/decirepldd"));
  440. var obtappflag = model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/obtappflag");
  441. modal("SPPIR31200", 1, 1, 1, "SPPIR31200", "/root/source_obtappspec", "/root/send/send_obtmlist");
  442. }
  443. function fOrdAmtReduSpec() {
  444. model.setValue("root/send2/clamno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("clamno")));
  445. model.setValue("root/send2/obtappflag", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("obtappflag")));
  446. model.setValue("root/send2/acptno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("acptno")));
  447. model.setValue("root/send2/judgdg", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("judgdg")));
  448. model.setValue("root/send2/obtappdocuno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("obtappdocuno")));
  449. model.makeValue("root/main/list03/clamym", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("clamym")));
  450. model.makeValue("root/main/list03/acptno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("acptno")));
  451. model.makeValue("root/main/list03/setno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("setno")));
  452. model.makeValue("root/main/list03/judgdg", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("judgdg")));
  453. model.makeValue("root/main/list03/clamno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("clamno")));
  454. model.makeValue("root/main/list03/decirepldd", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("decirepldd")));
  455. model.makeValue("root/main/list03/hospnm", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("hospnm")));
  456. model.makeValue("root/main/list03/hospcd", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("hospcd")));
  457. model.makeValue("root/main/list03/insukind", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("insukind")));
  458. submit("TRPIR30404");
  459. exeReportPreview("RPPIR30510", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  460. }
  461. function fOrdAmtJudgSpecNoti() {
  462. model.setValue("root/send2/clamno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("clamno")));
  463. model.setValue("root/send2/obtappflag", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("obtappflag")));
  464. model.setValue("root/send2/acptno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("acptno")));
  465. model.setValue("root/send2/judgdg", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("judgdg")));
  466. model.makeValue("root/main/list03/clamym", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("clamym")));
  467. model.makeValue("root/main/list03/hospcd", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("hospcd")));
  468. model.makeValue("root/main/list03/chosflag", grd_pirhobtm.labelMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("chosflag")));
  469. model.makeValue("root/main/list03/insukind", grd_pirhobtm.labelMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("insukind")));
  470. model.makeValue("root/main/list03/sumtypecd", grd_pirhobtm.labelMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("sumtypecd")));
  471. model.makeValue("root/main/list03/judgdg", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("judgdg")));
  472. model.makeValue("root/main/list03/setno", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("setno")));
  473. submit("TRPIR30405");
  474. exeReportPreview("RPPIR30511", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  475. }
  476. function getOrderInfoOfChk(chkid){
  477. var scrnid = model.getValue("/root/hidden/listval/uuee[compsnm='"+chkid+"']/scrnid");
  478. var compscnts = model.getValue("/root/hidden/listval/uuee[compsnm='"+chkid+"']/compscnts");
  479. var chkval = model.getValue("/root/send/autosrchyn");
  480. if (scrnid == "") {
  481. model.setValue("/root/send/listval/uuee/flag","I");
  482. } else {
  483. model.setValue("/root/send/listval/uuee/flag","U");
  484. }
  485. model.setValue("/root/send/listval/uuee/scrnid","SMPIR30200");
  486. model.setValue("/root/send/listval/uuee/compsnm",chkid);
  487. model.setValue("/root/send/listval/uuee/compscnts",(chkval.length == 0 ? "N" : chkval));
  488. model.setValue("/root/send/listval/uuee/compsrefcnts", "-");
  489. model.setValue("/root/send/listval/uuee/compssizecnts","-");
  490. if ( submit("TXPIJ00402") ) {
  491. //messageBox("사용자 환경 저장이","I002");
  492. }
  493. }
  494. function fSetRdoReset(){
  495. var chk_name = model.getValue("/root/hidden/listval/uuee[compsnm='chk_autosrchyn']/compsnm");
  496. var chk_val = model.getValue("/root/hidden/listval/uuee[compsnm='chk_autosrchyn']/compscnts");
  497. if (chk_name.length > 0) {
  498. if (chk_val == "N"){
  499. model.setValue(chk_autosrchyn.attribute("ref"), chk_val);
  500. } else {
  501. model.setValue(chk_autosrchyn.attribute("ref"), "Y");
  502. }
  503. } else {
  504. model.setValue(chk_autosrchyn.attribute("ref"), "Y");
  505. }
  506. }
  507. ]]>
  508. </script>
  509. </xhtml:head>
  510. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  511. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  512. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">이의신청 조회</caption>
  513. </group>
  514. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:717px; ">
  515. <line id="line12" class="line_1" style="x1:0px; y1:141px; x2:1194px; y2:141px; "/>
  516. <caption id="caption32" class="tit_2" style="left:5px; top:126px; width:196px; height:13px; ">접수번호별 이의신청</caption>
  517. <datagrid id="grd_pirhobtm" nodeset="/root/main/list01/gridpirmobth" class="datagrid3" allowuserresize="true" 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;도착일자^기한일자^남&#xA;은&#xA;기&#xA;한^조정&#xA;삭감액^원내&#xA;삭감액^원외삭감액^삭감율&#xA;(원내)^전체^부제^이의^미심^전체^부제^이의^미심^관심^이의신청액^원내이신액^원외이신액^원내^원외^청구번호^요양급여비용&#xA;총액^이의&#xA;신청일자^이의신청&#xA;문서번호^원외심결&#xA;도착일자" colsep="^" colwidth="48, 54, 30, 51, 53, 43, 30, 54, 48, 54, 37, 75, 42, 18, 19, 19, 68, 69, 27, 64, 65, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 70, 0, 0, 44, 44, 69, 80, 66, 84, 71, 100, 100" dataheight="25" defaultrows="0" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:146px; width:1194px; height:569px; ">
  518. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  519. <col disabled="true" ref="insukind" type="combo" style="left:80px; top:43px; width:54px; height:23px; ">
  520. <choices>
  521. <itemset nodeset="/root/init/P0398list/P0398">
  522. <label ref="cdnm"/>
  523. <value ref="cdid"/>
  524. </itemset>
  525. </choices>
  526. </col>
  527. <col disabled="true" ref="chosflag" type="combo">
  528. <choices>
  529. <itemset nodeset="/root/init/P0028list/P0028">
  530. <label ref="cdnm"/>
  531. <value ref="cdid"/>
  532. </itemset>
  533. </choices>
  534. </col>
  535. <col disabled="true" ref="sumtypecd" type="combo">
  536. <choices>
  537. <itemset nodeset="/root/init/P0458list/P0458">
  538. <label ref="cdnm"/>
  539. <value ref="cdid"/>
  540. </itemset>
  541. </choices>
  542. </col>
  543. <col disabled="true" ref="ordfildcd" type="combo" visibility="hidden">
  544. <choices>
  545. <itemset nodeset="/root/init/P0291list/P0291">
  546. <label ref="cdnm"/>
  547. <value ref="cdid"/>
  548. </itemset>
  549. </choices>
  550. </col>
  551. <col disabled="true" ref="clamflagcd" type="combo">
  552. <choices>
  553. <itemset nodeset="/root/init/P0426list/P0426">
  554. <label ref="cdnm"/>
  555. <value ref="cdid"/>
  556. </itemset>
  557. </choices>
  558. </col>
  559. <col ref="clamdg"/>
  560. <col disabled="true" ref="obtappflag" type="combo">
  561. <choices>
  562. <itemset nodeset="/root/init/P0264list/P0264">
  563. <label ref="cdnm"/>
  564. <value ref="cdid"/>
  565. </itemset>
  566. </choices>
  567. </col>
  568. <col ref="acptno" style="text-align:center; "/>
  569. <col ref="judgdg" style="text-align:center; "/>
  570. <col ref="setno" style="text-align:center; "/>
  571. <col ref="rem" type="inputbutton">
  572. <script type="javascript" ev:event="onbuttonclick">
  573. <![CDATA[
  574. model.resetInstanceNode("/root/source");
  575. model.refresh();
  576. var curr_row = grd_pirhobtm.row - 1 ;
  577. model.setValue("/root/source/judgdg", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/judgdg"));
  578. model.setValue("/root/source/clamno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/clamno"));
  579. model.setValue("/root/source/acptno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/acptno"));
  580. model.setValue("/root/source/obtappflag", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/obtappflag"));
  581. model.setValue("/root/source/rem", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/rem"));
  582. // 메모 입력창 팝업 화면
  583. modal("SPPIR30210", 1,300, 300, "SPPIR30210", "/root/source", "/root/send");
  584. model.setValue("/root/main/list01/gridpirmobth[" + curr_row + "]/rem",model.getValue("/root/hidden/sppir30210/rslt/rem"))
  585. /*
  586. // 메모 입력창 팝업 화면
  587. modal("SPPIR30210", 1,300, 300, "SPPIR30210", "/root/source", "/root/main/list01/gridpirmobth");
  588. // fCutOrdSearch();
  589. */
  590. ]]>
  591. </script>
  592. </col>
  593. <col ref="judgrid" type="combo">
  594. <choices>
  595. <itemset nodeset="/root/init/U0001list/U0001">
  596. <label ref="judgrnm"/>
  597. <value ref="judgrid"/>
  598. </itemset>
  599. </choices>
  600. </col>
  601. <col ref="obtappendflag" style="text-align:center; "/>
  602. <col ref="prtyn" style="text-align:center; "/>
  603. <col ref="indendyn" style="text-align:center; "/>
  604. <col ref="decirepldd" format="yyyy-mm-dd" style="text-align:center; "/>
  605. <col ref="limitdd" format="yyyy-mm-dd" style="text-align:center; "/>
  606. <col ref="restterm" format="#,###" style="text-align:center; "/>
  607. <col ref="cuttotamt" format="#,###" style="text-align:right; "/>
  608. <col ref="cutamt" format="#,###" style="text-align:right; "/>
  609. <col ref="oprcpcutamt" format="#,###" style="left:1032px; top:43px; width:66px; height:23px; text-align:right; "/>
  610. <col ref="cutrate" format="#,###.99" style="text-align:right; "/>
  611. <col ref="cutcnt" format="#,###" style="text-align:center; "/>
  612. <col ref="abdcnt" format="#,###" style="text-align:center; "/>
  613. <col ref="obtappcnt" format="#,###" style="text-align:center; "/>
  614. <col ref="endyncnt" format="#,###" style="text-align:center; "/>
  615. <col ref="cutcnt2" format="#,###" style="text-align:center; "/>
  616. <col ref="abdcnt2" format="#,###" style="text-align:center; "/>
  617. <col ref="obtappcnt2" format="#,###" style="text-align:center; "/>
  618. <col ref="endyncnt2" format="#,###" style="text-align:center; "/>
  619. <col ref="concprcpcnt" format="#,###" style="text-align:center; "/>
  620. <col ref="obtapptotamt" format="#,###" style="text-align:right; "/>
  621. <col ref="obtappamt" format="#,###" style="text-align:right; "/>
  622. <col ref="oprcpobtaamt" format="#,###" style="text-align:right; "/>
  623. <col ref="obtapprate" format="#,###.99" style="text-align:right; "/>
  624. <col ref="oprcpobtapprate" format="#,###.99" style="text-align:right; "/>
  625. <col ref="clamno" style="text-align:center; "/>
  626. <col ref="medcaretotamt" format="#,###" style="text-align:right; "/>
  627. <col ref="obtappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  628. <col ref="obtappdocuno" style="text-align:center; "/>
  629. <col ref="oprcpnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  630. <col ref="hospnm" visibility="hidden"/>
  631. <col ref="hospcd" visibility="hidden"/>
  632. <script type="javascript" ev:event="ondblclick">
  633. <![CDATA[
  634. if (grd_pirhobtm.isCell(event.target) && grd_pirhobtm.mouseRow >= grd_pirhobtm.fixedrows) {
  635. if (grd_pirhobtm.rows < 3) {
  636. return;
  637. }
  638. model.resetInstanceNode("/root/source_obtappspec");
  639. model.refresh();
  640. var curr_row = grd_pirhobtm.row - 1 ;
  641. model.setValue("/root/source_obtappspec/judgdg", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/judgdg"));
  642. model.setValue("/root/source_obtappspec/clamno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/clamno"));
  643. model.setValue("/root/source_obtappspec/acptno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/acptno"));
  644. model.setValue("/root/source_obtappspec/obtappflag", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/obtappflag"));
  645. model.setValue("/root/source_obtappspec/setno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/setno"));
  646. model.setValue("/root/source_obtappspec/notidd", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/decirepldd"));
  647. model.setValue("/root/source_obtappspec/judgrid2", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/judgrid"));
  648. model.setValue("/root/source_obtappspec/endn", "");
  649. var obtappflag = model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/obtappflag");
  650. //model.alert(obtappflag);
  651. if(obtappflag == '06' || obtappflag == '07' || obtappflag == '12' ||obtappflag == '13' || obtappflag == '22'){
  652. modal("SMPIR31100", 1, 1, 1, "SMPIR31100", "/root/source_obtappspec", "/root/send/send_obtmlist");
  653. }
  654. else {
  655. modal("SMPIR30400", 1, 1, 1, "SMPIR30400", "/root/source_obtappspec", "/root/send/send_obtmlist");
  656. }
  657. //fCallObtappList();
  658. }
  659. ]]>
  660. </script>
  661. <script type="javascript" ev:event="onmousedown">
  662. <![CDATA[
  663. if (event.button == 3) {
  664. if (grd_pirhobtm.isCell(event.target) && grd_pirhobtm.mouseRow >= grd_pirhobtm.fixedrows) {
  665. window.setPopupMenu(true, "/root/popupdata/popupmenu/gridpirhobtm/item", "name", "func", false);
  666. }
  667. else {
  668. window.setPopupMenu(false);
  669. }
  670. }
  671. ]]>
  672. </script>
  673. <script type="javascript" ev:event="onclick">
  674. <![CDATA[
  675. if (grd_pirhobtm.rows < 3) {
  676. return;
  677. }
  678. var rtn = null;
  679. if (grd_pirhobtm.isCell(event.target) && grd_pirhobtm.row >= grd_pirhobtm.fixedRows) {
  680. var row = grd_pirhobtm.selectedRow(0);
  681. var t1 = grd_pirhobtm.textmatrix(row,8); // acptno
  682. var t2 = grd_pirhobtm.textmatrix(row,9); // judgdg
  683. var t3 = grd_pirhobtm.textmatrix(row,7); // obtappflag
  684. var t4 = grd_pirhobtm.textmatrix(row,6); // clamflagcd
  685. var t5 = grd_pirhobtm.textmatrix(row,5); // ordfildcd
  686. // model.setValue( "instance('instance1')/send/acptno", t1 );
  687. // model.setValue( "instance('instance1')/send/judgdg", t2 );
  688. // model.setValue( "instance('instance1')/send/obtappflag", t3 );
  689. // model.setValue( "instance('instance1')/send/clamflag", t4 );
  690. // model.setValue( "instance('instance1')/send/ordfildcd", t5 );
  691. }
  692. ]]>
  693. </script>
  694. <script type="javascript" ev:event="onaftersort">
  695. <![CDATA[
  696. grd_pirhobtm.gridToInstance();
  697. ]]>
  698. </script>
  699. <script type="javascript" ev:event="DOMFocusOut">
  700. <![CDATA[
  701. window.setPopupMenu(false);
  702. ]]>
  703. </script>
  704. </datagrid>
  705. <button id="button2" class="btn2_letter7" style="left:860px; top:120px; width:97px; height:19px; ">
  706. <caption>화면 엑셀 저장</caption>
  707. <script type="javascript" ev:event="DOMActivate">
  708. <![CDATA[
  709. var fileName = window.fileDialog("save", ",", false, cap_title.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  710. if (fileName != "") {
  711. grd_pirhobtm.saveExcel(fileName, "SheetName", true, true, "", "", "");
  712. }
  713. ]]>
  714. </script>
  715. </button>
  716. <group id="group2" style="left:0px; top:10px; width:1194px; height:105px; vertical-align:top; ">
  717. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:100px; background-color:#fffbf2; border-color:#ffd799; "/>
  718. <caption id="caption3" class="search_name" style="left:171px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
  719. <line id="line13" class="line_4" style="x1:1108px; y1:56px; x2:1108px; y2:78px; border-color:#ffe4bb; border-left-style:solid; "/>
  720. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:56px; width:56px; height:22px; ">
  721. <caption>조회</caption>
  722. <script type="javascript" ev:event="DOMActivate">
  723. <![CDATA[
  724. fCallObtappList();
  725. ]]>
  726. </script>
  727. </button>
  728. <select1 id="combo2" ref="/root/send/clamflag" class="combo_search" appearance="minimal" style="left:579px; top:10px; width:77px; height:19px; ">
  729. <choices>
  730. <itemset nodeset="/root/init/P0426list/P0426">
  731. <label ref="cdnm"/>
  732. <value ref="cdid"/>
  733. </itemset>
  734. </choices>
  735. <script type="javascript" ev:event="xforms-value-changed">
  736. <![CDATA[
  737. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  738. } else {
  739. fCallObtappList();
  740. }
  741. ]]>
  742. </script>
  743. </select1>
  744. <select1 id="rdo_termflag1" ref="/root/send/termflag1" class="radio_search" appearance="full" cellspacing="5" cols="2" rows="2" overflow="visible" style="left:14px; top:10px; width:156px; height:35px; border-style:none; ">
  745. <choices>
  746. <item>
  747. <label>심결통보일</label>
  748. <value>1</value>
  749. </item>
  750. <item>
  751. <label>청구년월</label>
  752. <value>3</value>
  753. </item>
  754. <item>
  755. <label>이의신청일</label>
  756. <value>2</value>
  757. </item>
  758. </choices>
  759. <script type="javascript" ev:event="xforms-value-changed">
  760. <![CDATA[
  761. var value = model.getValue("/root/send/termflag1");
  762. var fromobtappdd = model.getValue("/root/send/fromobtappdd");
  763. var toobtappdd = model.getValue("/root/send/toobtappdd");
  764. if (termflag1 == value ) {
  765. model.setValue("/root/send/termflag1","");
  766. rdo_termflag1.refresh();
  767. termflag1 = "";
  768. return;
  769. }
  770. if (value == '3' || value == '4') {
  771. ipt_fromobtappdd.attribute("format") = "yyyy-mm";
  772. ipt_toobtappdd.attribute("format") = "yyyy-mm";
  773. if (fromobtappdd != "") {
  774. model.setValue("/root/send/fromobtappdd",fromobtappdd.substring(0,6));
  775. }
  776. if (toobtappdd != "") {
  777. model.setValue("/root/send/toobtappdd",toobtappdd.substring(0,6));
  778. }
  779. } else {
  780. ipt_fromobtappdd.attribute("format") = "yyyy-mm-dd";
  781. ipt_toobtappdd.attribute("format") = "yyyy-mm-dd";
  782. if (fromobtappdd != "" && fromobtappdd.length == 6) {
  783. model.setValue("/root/send/fromobtappdd",fromobtappdd + "01");
  784. }
  785. if (toobtappdd != "" && toobtappdd.length == 6) {
  786. model.setValue("/root/send/toobtappdd",toobtappdd + "31");
  787. }
  788. }
  789. termflag1 = value
  790. model.setFocus("ipt_fromobtappdd");
  791. ipt_fromobtappdd.refresh();
  792. ipt_toobtappdd.refresh();
  793. ]]>
  794. </script>
  795. </select1>
  796. <caption id="caption1" class="search_name" style="left:490px; top:9px; width:86px; height:17px; ">청구구분 :</caption>
  797. <select1 id="rdo_insukind" ref="/root/send/insukind" class="radio_search" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:255px; top:10px; width:240px; height:15px; border-style:none; ">
  798. <choices>
  799. <item>
  800. <label>전체</label>
  801. <value>1</value>
  802. </item>
  803. <item>
  804. <label>보험</label>
  805. <value>2</value>
  806. </item>
  807. <item>
  808. <label>보호</label>
  809. <value>3</value>
  810. </item>
  811. <item>
  812. <label>산재</label>
  813. <value>4</value>
  814. </item>
  815. <item>
  816. <label>자보</label>
  817. <value>5</value>
  818. </item>
  819. </choices>
  820. <script type="javascript" ev:event="xforms-value-changed">
  821. <![CDATA[
  822. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  823. } else {
  824. fCallObtappList();
  825. }
  826. ]]>
  827. </script>
  828. </select1>
  829. <caption id="caption7" class="search_name" style="left:171px; top:33px; width:93px; height:17px; ">내원유형 :</caption>
  830. <input id="input4" ref="/root/send/obtappdocuno" class="input_search" style="left:938px; top:57px; width:132px; height:19px; ">
  831. <script type="javascript" ev:event="onkeypress">
  832. <![CDATA[
  833. if (event.keyCode == "13") {
  834. setInputNodeCurText();
  835. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  836. } else {
  837. fCallObtappList();
  838. }
  839. }
  840. ]]>
  841. </script>
  842. </input>
  843. <caption id="caption9" class="search_name" style="left:849px; top:57px; width:99px; height:17px; ">문서번호 :</caption>
  844. <caption id="caption11" class="search_name" style="left:171px; top:57px; width:86px; height:17px; ">마감구분 :</caption>
  845. <select1 id="rdo_endyn" ref="/root/send/obtappendflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:255px; top:57px; width:230px; height:15px; border-style:none; ">
  846. <choices>
  847. <item>
  848. <label>전체</label>
  849. <value>1</value>
  850. </item>
  851. <item>
  852. <label>완료</label>
  853. <value>2</value>
  854. </item>
  855. <item>
  856. <label>미완료</label>
  857. <value>3</value>
  858. </item>
  859. </choices>
  860. <script type="javascript" ev:event="xforms-value-changed">
  861. <![CDATA[
  862. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  863. } else {
  864. fCallObtappList();
  865. }
  866. ]]>
  867. </script>
  868. </select1>
  869. <select1 id="rdo_chosflag" ref="/root/send/chosflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:255px; top:34px; width:192px; height:15px; border-style:none; ">
  870. <choices>
  871. <item>
  872. <label>전체</label>
  873. <value>1</value>
  874. </item>
  875. <item>
  876. <label>입원</label>
  877. <value>2</value>
  878. </item>
  879. <item>
  880. <label>외래</label>
  881. <value>3</value>
  882. </item>
  883. </choices>
  884. <script type="javascript" ev:event="xforms-value-changed">
  885. <![CDATA[
  886. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  887. } else {
  888. fCallObtappList();
  889. }
  890. ]]>
  891. </script>
  892. </select1>
  893. <caption id="caption12" class="search_name" style="left:849px; top:33px; width:99px; height:17px; ">심사차수 :</caption>
  894. <caption id="caption2" class="search_no_b" style="left:86px; top:50px; width:12px; height:17px; ">~</caption>
  895. <input id="ipt_fromobtappdd" ref="/root/send/fromobtappdd" class="input_search" navindex="1" format="yyyy-mm-dd" style="left:15px; top:50px; width:68px; height:19px; "/>
  896. <input id="ipt_toobtappdd" ref="/root/send/toobtappdd" navindex="2" format="yyyy-mm-dd" style="left:101px; top:50px; width:68px; height:19px; ">
  897. <script type="javascript" ev:event="xforms-value-changed">
  898. <![CDATA[
  899. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  900. } else {
  901. fCallObtappList();
  902. }
  903. ]]>
  904. </script>
  905. </input>
  906. <caption id="caption4" class="search_name" style="left:490px; top:33px; width:99px; height:17px; ">청구분야 :</caption>
  907. <select1 id="combo4" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:579px; top:33px; width:77px; height:19px; ">
  908. <choices>
  909. <itemset nodeset="/root/init/P0458list/P0458[cdid != '-']">
  910. <label ref="cdnm"/>
  911. <value ref="cdid"/>
  912. </itemset>
  913. </choices>
  914. <script type="javascript" ev:event="xforms-value-changed">
  915. <![CDATA[
  916. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  917. } else {
  918. fCallObtappList();
  919. }
  920. ]]>
  921. </script>
  922. </select1>
  923. <caption id="caption13" class="search_name" style="left:849px; top:9px; width:99px; height:17px; ">접수번호 :</caption>
  924. <input id="ipt_personalsearch" ref="/root/send/patunitsrch1" class="input_search" inputtype="button" style="left:1095px; top:33px; width:84px; height:19px; ">
  925. <script type="javascript" ev:event="onkeypress">
  926. <![CDATA[
  927. // Enter 입력
  928. if (event.keyCode == "13") {
  929. // 2글자 이상이면
  930. if (ipt_personalsearch.currentText.length > 1) {
  931. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  932. fGetInAftJudgTrgtManList();
  933. }
  934. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  935. } else {
  936. fCallObtappList();
  937. }
  938. }
  939. ]]>
  940. </script>
  941. <script type="javascript" ev:event="onbuttonclick">
  942. <![CDATA[
  943. var ipt_pid = model.getValue("/root/send/patunitsrch1");
  944. if (ipt_pid) {
  945. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  946. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  947. }
  948. else {
  949. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  950. }
  951. modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
  952. var srch_pid = model.getValue ("/root/main/patinfo/patinfolist/pid");
  953. // SPPMC02500_환자조회 화면에서 조회한 경우임
  954. if (srch_pid) {
  955. model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
  956. model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
  957. model.setValue("/root/send/patunitsrch1", srch_pid);
  958. }
  959. model.refresh();
  960. fGetInAftJudgTrgtManList();
  961. ]]>
  962. </script>
  963. </input>
  964. <caption id="caption18" class="search_name" style="left:1007px; top:33px; width:90px; height:17px; ">환자조회 :</caption>
  965. <input id="ipt_judgdg" ref="/root/send/judgdg" class="input_search" navindex="5" style="left:938px; top:33px; width:67px; height:19px; ">
  966. <script type="javascript" ev:event="onkeypress">
  967. <![CDATA[
  968. if (event.keyCode == "13") {
  969. setInputNodeCurText();
  970. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  971. } else {
  972. fCallObtappList();
  973. }
  974. }
  975. ]]>
  976. </script>
  977. </input>
  978. <input id="ipt_acptno" ref="/root/send/acptno" class="input_search" navindex="6" style="left:938px; top:10px; width:67px; height:19px; ">
  979. <script type="javascript" ev:event="onkeypress">
  980. <![CDATA[
  981. if (event.keyCode == "13") {
  982. setInputNodeCurText();
  983. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  984. } else {
  985. fCallObtappList();
  986. }
  987. }
  988. ]]>
  989. </script>
  990. </input>
  991. <caption id="caption8" class="search_name" style="left:490px; top:57px; width:86px; height:17px; ">이신구분 :</caption>
  992. <select1 id="cmb_obtappflag" ref="/root/send/obtappflag" class="combo_search" navindex="7" appearance="minimal" style="left:712px; top:57px; width:115px; height:19px; ">
  993. <choices>
  994. <itemset nodeset="/root/init/P0264list/P0264">
  995. <label ref="cdnm"/>
  996. <value ref="cdid"/>
  997. </itemset>
  998. </choices>
  999. <script type="javascript" ev:event="xforms-select">
  1000. <![CDATA[
  1001. rdo_rejudgflag.deselect(1);
  1002. rdo_rejudgflag.deselect(2);
  1003. ]]>
  1004. </script>
  1005. </select1>
  1006. <select1 id="rdo_rejudgflag" ref="/root/send/rejudgflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:579px; top:57px; width:125px; height:15px; border-style:none; ">
  1007. <choices>
  1008. <item>
  1009. <label>전체</label>
  1010. <value>1</value>
  1011. </item>
  1012. <item>
  1013. <label>재심사제외</label>
  1014. <value>2</value>
  1015. </item>
  1016. </choices>
  1017. <script type="javascript" ev:event="onclick">
  1018. <![CDATA[
  1019. cmb_obtappflag.deselect(1);
  1020. ]]>
  1021. </script>
  1022. </select1>
  1023. <caption id="caption40" style="left:820px; top:35px; width:30px; height:20px; font-weight:bold; ">이상</caption>
  1024. <input id="input21" ref="/root/send/adjtamt" class="input_search" format="#,###" style="left:744px; top:33px; width:73px; height:19px; "/>
  1025. <input id="input13" ref="/root/send/resttime" class="input_search" format="#,###" style="left:744px; top:10px; width:73px; height:19px; ">
  1026. <script type="javascript" ev:event="onkeypress">
  1027. <![CDATA[
  1028. if (event.keyCode == "13") {
  1029. setInputNodeCurText();
  1030. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  1031. } else {
  1032. fCallObtappList();
  1033. }
  1034. }
  1035. ]]>
  1036. </script>
  1037. </input>
  1038. <caption id="caption37" class="search_name" style="left:656px; top:33px; width:86px; height:17px; ">삭감액 :</caption>
  1039. <caption id="caption10" class="search_name" style="left:656px; top:9px; width:86px; height:17px; ">남은기간 :</caption>
  1040. <caption id="caption14" style="left:820px; top:9px; width:30px; height:20px; font-weight:bold; ">이내</caption>
  1041. <caption id="caption15" class="search_name" style="left:1007px; top:9px; width:90px; height:17px; ">심사자 :</caption>
  1042. <select1 id="combo1" ref="/root/send/judgrid" class="combo_search" appearance="minimal" showvalue="true" style="left:1095px; top:10px; width:84px; height:19px; ">
  1043. <choices>
  1044. <itemset nodeset="/root/init/U0001list/U0001">
  1045. <label ref="judgrnm"/>
  1046. <value ref="judgrid"/>
  1047. </itemset>
  1048. </choices>
  1049. <script type="javascript" ev:event="xforms-value-changed">
  1050. <![CDATA[
  1051. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  1052. } else {
  1053. fCallObtappList();
  1054. }
  1055. ]]>
  1056. </script>
  1057. </select1>
  1058. <caption id="caption16" class="search_name" style="left:146px; top:79px; width:119px; height:17px; ">개별마감구분 :</caption>
  1059. <select1 id="radio1" ref="/root/send/indendyn" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:255px; top:81px; width:230px; height:15px; border-style:none; ">
  1060. <choices>
  1061. <item>
  1062. <label>전체</label>
  1063. <value/>
  1064. </item>
  1065. <item>
  1066. <label>마감</label>
  1067. <value>1</value>
  1068. </item>
  1069. <item>
  1070. <label>마감제외</label>
  1071. <value>2</value>
  1072. </item>
  1073. </choices>
  1074. <script type="javascript" ev:event="xforms-value-changed">
  1075. <![CDATA[
  1076. if (model.getValue(chk_autosrchyn.attribute("ref")) == "N") {
  1077. } else {
  1078. fCallObtappList();
  1079. }
  1080. ]]>
  1081. </script>
  1082. </select1>
  1083. </group>
  1084. <button id="button5" class="btn2_letter8" style="left:1082px; top:120px; width:108px; height:19px; ">
  1085. <caption>처방별 엑셀 저장</caption>
  1086. <script type="javascript" ev:event="DOMActivate">
  1087. <![CDATA[
  1088. var selectCnt = 0;
  1089. selectCnt = grd_pirhobtm.selectedRows;
  1090. if (selectCnt == 0) {
  1091. model.alert("선택후 다시 시도해 주세요");
  1092. return;
  1093. }
  1094. model.removeNodeset("root/sendexcel/selectlist");
  1095. model.refresh();
  1096. var selectCnt = grd_pirhobtm.selectedRows;
  1097. for( var i = 0; i < selectCnt; i++ ){
  1098. var sel = grd_pirhobtm.selectedRow(i);
  1099. //model.setValue("/root/selectlist/judgdg",grd_pirhobtm.valueMatrix(sel, grd_pirhobtm.colRef("judgdg"))); //이런방법으로 써도됨
  1100. model.setValue("/root/selectlist/judgdg",model.getValue("/root/main/list01/gridpirmobth[" + (sel - grd_pirhobtm.fixedRows + 1) + "]/judgdg"));
  1101. model.setValue("/root/selectlist/clamno",model.getValue("/root/main/list01/gridpirmobth[" + (sel - grd_pirhobtm.fixedRows + 1) + "]/clamno"));
  1102. model.setValue("/root/selectlist/acptno",model.getValue("/root/main/list01/gridpirmobth[" + (sel - grd_pirhobtm.fixedRows + 1) + "]/acptno"));
  1103. model.setValue("/root/selectlist/obtappflag",model.getValue("/root/main/list01/gridpirmobth[" + (sel - grd_pirhobtm.fixedRows + 1) + "]/obtappflag"));
  1104. copyNodeListType("root/sendexcel", "/root/selectlist", "after");
  1105. }
  1106. submit("TRPIR30203");
  1107. var fileName = window.fileDialog("save", ",", false, "처방별 이의신청 현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1108. if (fileName != "") {
  1109. grd_obtappodrlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1110. }
  1111. ]]>
  1112. </script>
  1113. </button>
  1114. <button id="button7" class="btn2_letter9" style="left:960px; top:120px; width:119px; height:19px; ">
  1115. <caption>명일련별 엑셀 저장</caption>
  1116. <script type="javascript" ev:event="DOMActivate">
  1117. <![CDATA[
  1118. var selectCnt = 0;
  1119. selectCnt = grd_pirhobtm.selectedRows;
  1120. if (selectCnt == 0) {
  1121. model.alert("선택후 다시 시도해 주세요");
  1122. return;
  1123. }
  1124. model.removeNodeset("root/sendexcel/selectlist");
  1125. model.refresh();
  1126. var selectCnt = grd_pirhobtm.selectedRows;
  1127. for( var i = 0; i < selectCnt; i++ ){
  1128. var sel = grd_pirhobtm.selectedRow(i);
  1129. //model.setValue("/root/selectlist/judgdg",grd_pirhobtm.valueMatrix(sel, grd_pirhobtm.colRef("judgdg"))); //이런방법으로 써도됨
  1130. model.setValue("/root/selectlist/judgdg",model.getValue("/root/main/list01/gridpirmobth[" + (sel - grd_pirhobtm.fixedRows + 1) + "]/judgdg"));
  1131. model.setValue("/root/selectlist/clamno",model.getValue("/root/main/list01/gridpirmobth[" + (sel - grd_pirhobtm.fixedRows + 1) + "]/clamno"));
  1132. model.setValue("/root/selectlist/acptno",model.getValue("/root/main/list01/gridpirmobth[" + (sel - grd_pirhobtm.fixedRows + 1) + "]/acptno"));
  1133. model.setValue("/root/selectlist/obtappflag",model.getValue("/root/main/list01/gridpirmobth[" + (sel - grd_pirhobtm.fixedRows + 1) + "]/obtappflag"));
  1134. copyNodeListType("root/sendexcel", "/root/selectlist", "after");
  1135. }
  1136. submit("TRPIR30204");
  1137. //model.download(getActionURL("TRPIR30204")+"&bizabbr=live","명일련별.csv");
  1138. //model.download("http://dev999.cmcnu.or.kr:9081/himed/webapps/cmc/web/xrw/.live?submit_id=TRPIR30204&business_id=pam&bizabbr=live", "tmp.csv");
  1139. var fileName = window.fileDialog("save", ",", false, "명일련별 이의신청 현황".value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1140. if (fileName != "") {
  1141. grd_obtapplist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1142. }
  1143. ]]>
  1144. </script>
  1145. </button>
  1146. <datagrid id="grd_obtapplist" nodeset="/root/prtexcel/list02/obtapplist" visibility="hidden" caption="진료과^진료의^명세서일련번호^등록번호^환자이름^상병코드^퇴원일자^심사자^이의신청자^조정삭감액합계^조정삭감액원내^조정삭감액원외^이신액합계^이신액원내^이신액원외^청구년월^진료년월^보험유형^내원유형^청구분야^청구구분^청구차수^이의신청구분^접수번호^심사차수^묶음번호^결정서도착일자^청구번호^총진료비^이의신청일자^이의신청문서번호^원외심결도착일자" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:215px; width:1165px; height:85px; ">
  1147. <col ref="orddeptcd"/>
  1148. <col ref="orddrid"/>
  1149. <col ref="docuseqno"/>
  1150. <col ref="pid"/>
  1151. <col ref="patnm"/>
  1152. <col ref="maindiag" visibility="hidden"/>
  1153. <col ref="dschdd"/>
  1154. <col ref="judgrid"/>
  1155. <col ref="obtappid"/>
  1156. <col ref="adjttotamt"/>
  1157. <col ref="adjtamt"/>
  1158. <col ref="oprcpadjtamt"/>
  1159. <col ref="obtapptotamt"/>
  1160. <col ref="obtappamt"/>
  1161. <col ref="oprcpobtappamt"/>
  1162. <col ref="clamym"/>
  1163. <col ref="ordym"/>
  1164. <col ref="insukind"/>
  1165. <col ref="ioflag"/>
  1166. <col ref="ordfildcd"/>
  1167. <col ref="clamflag"/>
  1168. <col ref="clamdg"/>
  1169. <col ref="obtappflag"/>
  1170. <col ref="acptno"/>
  1171. <col ref="judgdg"/>
  1172. <col ref="setno"/>
  1173. <col ref="decirepldd"/>
  1174. <col ref="clamno"/>
  1175. <col ref="edimedcaretotamt"/>
  1176. <col ref="obtappdd"/>
  1177. <col ref="obtappdocuno"/>
  1178. <col ref="oprcprsltnotidd"/>
  1179. </datagrid>
  1180. <datagrid id="grd_obtappodrlist" nodeset="/root/prtexcel/list01/obtappodrlist" visibility="hidden" caption="진료과^진료의^명세서일련번호^등록번호^환자이름^상병코드^퇴원일자^심사자^이의신청자^줄번호^항번호^구분^구분2^조정사유^12구분^처방코드^EDI코드^처방명칭^단가^청구수량^청구1회량^청구일투^청구총투^조정수량^조정1회량^조정일투^조정총투^조정삭감액합계^조정삭감액원내^조정삭감액원외^이신수량^이신1회량^이신일투^이신총투^이신액합계^이신액원내^이신액원외^이의신청여부^삭감사유코드^삭감사유TEXT^부제기사유코드^부제기사유TEXT^청구년월^진료년월^보험유형^내원유형^청구분야^청구구분^청구차수^이의신청구분^접수번호^심사차수^묶음번호^결정서도착일자^청구번호^총진료비^이의신청일자^이의신청문서번호^원외심결도착일자" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:330px; width:1170px; height:150px; ">
  1181. <col ref="orddeptcd"/>
  1182. <col ref="orddrid"/>
  1183. <col ref="docuseqno"/>
  1184. <col ref="pid"/>
  1185. <col ref="patnm"/>
  1186. <col ref="maindiag"/>
  1187. <col ref="dschdd"/>
  1188. <col ref="judgrid"/>
  1189. <col ref="obtappid"/>
  1190. <col ref="lnno"/>
  1191. <col ref="item"/>
  1192. <col ref="itemnm"/>
  1193. <col ref="itemnm2"/>
  1194. <col ref="adjtresncd"/>
  1195. <col ref="matractflag"/>
  1196. <col ref="snglcalcscorcd"/>
  1197. <col ref="edicd"/>
  1198. <col ref="hngnm"/>
  1199. <col ref="unitcost"/>
  1200. <col ref="clamsumqty"/>
  1201. <col ref="clamoneqty"/>
  1202. <col ref="clamdayqty"/>
  1203. <col ref="clamtotqty"/>
  1204. <col ref="adjtsumqty"/>
  1205. <col ref="adjtoneqty"/>
  1206. <col ref="adjtdayqty"/>
  1207. <col ref="adjttotqty"/>
  1208. <col ref="adjttotamt"/>
  1209. <col ref="adjtamt"/>
  1210. <col ref="oprcpadjtamt"/>
  1211. <col ref="obtappsumqty"/>
  1212. <col ref="obtapponeqty"/>
  1213. <col ref="obtappdayqty"/>
  1214. <col ref="obtapptotqty"/>
  1215. <col ref="obtapptotamt"/>
  1216. <col ref="obtappamt"/>
  1217. <col ref="oprcpobtappamt"/>
  1218. <col ref="obtappyn"/>
  1219. <col ref="detladjtflag"/>
  1220. <col ref="adjtresndesc"/>
  1221. <col ref="abdresncd"/>
  1222. <col ref="abdresnmemo"/>
  1223. <col ref="clamym"/>
  1224. <col ref="ordym"/>
  1225. <col ref="insukind"/>
  1226. <col ref="ioflag"/>
  1227. <col ref="ordfildcd"/>
  1228. <col ref="clamflag"/>
  1229. <col ref="clamdg"/>
  1230. <col ref="obtappflag"/>
  1231. <col ref="acptno"/>
  1232. <col ref="judgdg"/>
  1233. <col ref="setno"/>
  1234. <col ref="decirepldd"/>
  1235. <col ref="clamno"/>
  1236. <col ref="edimedcaretotamt"/>
  1237. <col ref="obtappdd"/>
  1238. <col ref="obtappdocuno"/>
  1239. <col ref="oprcprsltnotidd"/>
  1240. </datagrid>
  1241. <caption id="caption6" style="left:162px; top:119px; width:688px; height:20px; color:#ff0000; ">주의) 1.접수번호,심사차수,문서번호,등록번호로 조회시 기단 등 조회조건은 무시됩니다. 2. 기한일자가 공휴일인지 확인하세요</caption>
  1242. </group>
  1243. <group id="grp_btn" style="left:0px; top:732px; width:1195px; height:48px; ">
  1244. <button id="button1" class="btn3_letter7" style="left:0px; top:2px; width:116px; height:22px; ">
  1245. <caption>부제기 사유코드</caption>
  1246. <script type="javascript" ev:event="DOMActivate">
  1247. <![CDATA[
  1248. // 부제기 사유코드 팝업 화면
  1249. //modal("SPPIR30220", 1, "", "", "SPPIR30220", "/root/source", "/root/send");
  1250. //window.load("SPPIR30220_부제기사유코드.xrw", "modal", "pop1","width:540px; height:370px; align:center;");
  1251. modal("SPPIR30220", 1, "", "", "SPPIR30220", "", "");
  1252. ]]>
  1253. </script>
  1254. </button>
  1255. <button id="button4" class="btn3_letter6" style="left:118px; top:2px; width:104px; height:22px; ">
  1256. <caption>정산의뢰 생성</caption>
  1257. <script type="javascript" ev:event="DOMActivate">
  1258. <![CDATA[
  1259. var acptno = model.getValue("/root/main/list01/gridpirmobth[" + (grd_pirhobtm.row - 1) + "]/acptno");
  1260. if (acptno) {
  1261. model.setValue("/root/hidden/smpir31000/cond/acptno", acptno);
  1262. modal("SMPIR31000", 1, 1, 1, "SMPIR31000", "/root/hidden/smpir31000/cond", "/root/send/data0");
  1263. }
  1264. ]]>
  1265. </script>
  1266. </button>
  1267. <button id="button6" class="btn3_letter8" style="left:224px; top:2px; width:128px; height:22px; ">
  1268. <caption>이의신청 결과조회</caption>
  1269. <script type="javascript" ev:event="DOMActivate">
  1270. <![CDATA[
  1271. // 2010.03.25
  1272. model.makeNode("/root/send/srchflag"); // 조회 구분
  1273. model.makeValue("/root/send/obtapprsltendflag", "3"); // 마감구분
  1274. model.makeValue("/root/send/delcntsum", "D"); // 부제기건포함
  1275. modal("SMPIR30700", 1, 1, 1, "SMPIR30700", "/root/send", "/root/send/send_dataqry");
  1276. ]]>
  1277. </script>
  1278. </button>
  1279. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1280. <caption id="caption5" style="left:613px; top:0px; width:580px; height:45px; font-size:8pt; color:#ff0000; ">
  1281. <![CDATA[조정삭감액(조정소계1+조정소계2+원외삭감), 삭감율(조정금액/(청구요양급여총액-지급불능요양급여총액)),
  1282. 이의신청률((재료이신+행위이신)/(조정소계1 + 조정소계2), *조정삭감액(약제상한차액포함),
  1283. 요양급여비용총액(약제상한차액총액포함) ]]>
  1284. </caption>
  1285. <button id="button3" class="btn4_letter4" style="left:355px; top:2px; width:80px; height:22px; ">
  1286. <caption>환경저장</caption>
  1287. <script type="javascript" ev:event="DOMActivate">
  1288. <![CDATA[
  1289. getOrderInfoOfChk("chk_autosrchyn");
  1290. ]]>
  1291. </script>
  1292. </button>
  1293. <bool id="chk_autosrchyn" checkvalue="Y,N" ref="/root/send/autosrchyn" style="left:554px; top:3px; width:25px; height:20px; "/>
  1294. <caption id="caption17" class="search_name" style="left:439px; top:4px; width:117px; height:17px; ">자동조회 설정 :</caption>
  1295. <button id="button8" class="btn6_letter10" style="left:0px; top:25px; width:156px; height:22px; ">
  1296. <caption>행정심판 청구 취하서</caption>
  1297. <script type="javascript" ev:event="DOMActivate">
  1298. <![CDATA[
  1299. // 2010.03.25
  1300. exeReportPreview("RPPIR30530", "XMLSTR" , "" , "" , "" );
  1301. ]]>
  1302. </script>
  1303. </button>
  1304. </group>
  1305. </xhtml:body>
  1306. </xhtml:html>