SMPIE01500_의료급여정산내역서(F050)조회.xrw 98 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554
  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>의료급여정산내역서(F050)조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send01>
  11. <termflag>1</termflag>
  12. <fromterm/>
  13. <toterm/>
  14. <acptno/>
  15. <ioflag>A</ioflag>
  16. <clamno/>
  17. <ordfildcd/>
  18. <clamdgfrom/>
  19. <clamdgto/>
  20. <clamflag/>
  21. <clamym/>
  22. </send01>
  23. <send02>
  24. <calcnotino/>
  25. <calcnotidd/>
  26. <acptno/>
  27. <clamseqno/>
  28. <instcd/>
  29. <calcyearseqno/>
  30. </send02>
  31. <send03>
  32. <calcyearseqno/>
  33. <calcseqno/>
  34. <docuseqno/>
  35. <calcnotino/>
  36. <calcnotidd/>
  37. <acptno/>
  38. <clamseqno/>
  39. <instcd/>
  40. </send03>
  41. <summary/>
  42. <rem>
  43. <textno/>
  44. </rem>
  45. <send04>
  46. <calcjudgdg/>
  47. <acptno/>
  48. <insukind/>
  49. </send04>
  50. </send>
  51. <main>
  52. <list01>
  53. <gridpiehf501>
  54. <calcnotino/>
  55. <calcnotidd/>
  56. <clamno/>
  57. <ioflag/>
  58. <ordfildcd/>
  59. <acptno/>
  60. <setno/>
  61. <judgdg/>
  62. <ordym/>
  63. <clamflag/>
  64. <judgflag/>
  65. <cadecidifamtsum/>
  66. <handicaprdifamt/>
  67. <subtdifamt/>
  68. <cajrsltrcogcntsum/>
  69. <cajrsltrcogamtsum/>
  70. <docuno/>
  71. <verflag/>
  72. <clamseqno/>
  73. <corpmark/>
  74. <suppcd/>
  75. <rem/>
  76. <instcd/>
  77. <calcyearseqno/>
  78. <flag/>
  79. <druglimitdiffamtrcogadjtsum/>
  80. </gridpiehf501>
  81. </list01>
  82. <list02>
  83. <gridpiehf502_1>
  84. <caownbrtnamtsum/>
  85. <caownaddbamtsum/>
  86. <camcstotamtsum/>
  87. <caownbamtsum/>
  88. <casubtamtsum/>
  89. <cahandicaprfundsum/>
  90. <casecuinstbamtsum/>
  91. <cajrsltamtsum/>
  92. <catrudirecpamtsum/>
  93. <caioauthcnfmtcntsum/>
  94. <cacntsum/>
  95. <cadecidifamtsum/>
  96. <cajrsltrcogamtsum/>
  97. <cajrsltrcogcntsum/>
  98. <jrownbrtnamtsum/>
  99. <jrownaddbamtsum/>
  100. <jrmcstotamtsum/>
  101. <jrownbamtsum/>
  102. <jrsubtamtsum/>
  103. <jrhandicaprfundsum/>
  104. <jrsecuinstbamtsum/>
  105. <jrjudgdeciamtsum/>
  106. <jrtrudirecpamtsum/>
  107. <jrioauthcnfmtcntsum/>
  108. <jrcntsum/>
  109. <rem/>
  110. <jrdruglimitdiffamtsum/>
  111. <jrpatmcstotamtsum/>
  112. <cadruglimitdiffamtsum/>
  113. <capatmcstotamtsum/>
  114. <druglimitdiffamtrcogadjtsum/>
  115. </gridpiehf502_1>
  116. <gridpiehf502_4>
  117. <calcyearseqno/>
  118. <judgflag/>
  119. <calcchrgdeptnm/>
  120. <calcchrgjonm/>
  121. <calcchrgnm/>
  122. <calcchrgno/>
  123. <calcbizcd/>
  124. <calcbiznm/>
  125. <calcchrgtel/>
  126. </gridpiehf502_4>
  127. <gridpiehf503>
  128. <calcyearseqno/>
  129. <calcseqno/>
  130. <docuseqno/>
  131. <pid/>
  132. <patnm/>
  133. <jongflag/>
  134. <ordtype/>
  135. <flag/>
  136. <cadecidifamt/>
  137. <handicaprdifamt/>
  138. <subtdifamt/>
  139. <diagcd/>
  140. <jrmedopendd/>
  141. <docuseqnorem/>
  142. <juminno/>
  143. <secuinstmark/>
  144. <hshdnm/>
  145. <secuestbmark/>
  146. <fixrateflag/>
  147. <calcnotino/>
  148. <calcnotidd/>
  149. <acptno/>
  150. <clamseqno/>
  151. <instcd/>
  152. <orderyn/>
  153. </gridpiehf503>
  154. </list02>
  155. <list03>
  156. <gridpiehf502_2>
  157. <caownbrtnamt/>
  158. <caownaddbamt/>
  159. <camcstotamtsum/>
  160. <caownbamt/>
  161. <casubtamt/>
  162. <cahandicaprfund/>
  163. <casecuinstbamt/>
  164. <cadeciamt/>
  165. <catrudirecpamt/>
  166. <cadecidifamt/>
  167. <jrownbrtnamt/>
  168. <jrownaddbamt/>
  169. <jrmcstotamtsum/>
  170. <jrownbamt/>
  171. <jrsubtamt/>
  172. <jrhandicaprfund/>
  173. <jrsecuinstbamt/>
  174. <jrtrudirecpamt/>
  175. <rem/>
  176. <jrdruglimitdiffamtsum/>
  177. <jrpatmcstotamtsum/>
  178. <cadruglimitdiffamtsum/>
  179. <capatmcstotamtsum/>
  180. </gridpiehf502_2>
  181. <gridpiehf502_3>
  182. <caspclmark/>
  183. <caindayno/>
  184. <camedcaredayno/>
  185. <caprcptims/>
  186. <jradjtsum1/>
  187. <jradjtsum2/>
  188. <jrspclmark/>
  189. <jrindayno/>
  190. <jrmedcaredayno/>
  191. <jrprcptims/>
  192. </gridpiehf502_3>
  193. <gridpiehf504>
  194. <lnno/>
  195. <caitem/>
  196. <caadjtresn/>
  197. <camatractflag/>
  198. <cacd/>
  199. <cahngnm/>
  200. <caunitcost/>
  201. <cadayqtyrt/>
  202. <catotqtyrt/>
  203. <carcogamt/>
  204. <caadjtamt/>
  205. <cajrsltrem/>
  206. <jritem/>
  207. <jradjtresn/>
  208. <jrmatractflag/>
  209. <jrcd/>
  210. <jrhngnm/>
  211. <jrunitcost/>
  212. <jrdayqtyrt/>
  213. <jrtotqtyrt/>
  214. <jrrcogamt/>
  215. <jradjtamt/>
  216. <jrrelbase/>
  217. <jrdruglimitdiffamtrcogsum/>
  218. <jrdruglimitdiffamtadjtsum/>
  219. <jrlimitdiffamt/>
  220. <cadruglimitdiffamtrcogsum/>
  221. <cadruglimitdiffamtadjtsum/>
  222. <calimitdiffamt/>
  223. </gridpiehf504>
  224. <gridpiehf505>
  225. <lnno/>
  226. <cd/>
  227. <hngnm/>
  228. <trustinstmark/>
  229. <trudirecpamt/>
  230. <tretcd/>
  231. <rem/>
  232. </gridpiehf505>
  233. </list03>
  234. </main>
  235. <init>
  236. <P0235list>
  237. <P0235>
  238. <cdid/>
  239. <cdnm/>
  240. </P0235>
  241. </P0235list>
  242. <P0295list>
  243. <P0295>
  244. <cdid/>
  245. <cdnm/>
  246. </P0295>
  247. </P0295list>
  248. <P0261list>
  249. <P0261>
  250. <cdid/>
  251. <cdnm/>
  252. </P0261>
  253. </P0261list>
  254. <clamdgfrom>
  255. <clamdglist>
  256. <clamdgnm/>
  257. <clamdgcd/>
  258. </clamdglist>
  259. </clamdgfrom>
  260. <clamdgto>
  261. <clamdglist>
  262. <clamdgnm/>
  263. <clamdgcd/>
  264. </clamdglist>
  265. </clamdgto>
  266. <P0155list>
  267. <P0155>
  268. <cdid/>
  269. <cdnm/>
  270. </P0155>
  271. </P0155list>
  272. </init>
  273. <popupdata>
  274. <popupmenu>
  275. <grd_f501h>
  276. <item>
  277. <name>정산차수별입금등록관리</name>
  278. <func>fGridChkCalcjudgdg</func>
  279. </item>
  280. <item>
  281. <name>-</name>
  282. <func/>
  283. </item>
  284. <item>
  285. <name>의료급여정산 삭제</name>
  286. <func>fDeleteF050</func>
  287. </item>
  288. </grd_f501h>
  289. </popupmenu>
  290. </popupdata>
  291. <hidden>
  292. <list01>
  293. <claminfo>
  294. <clamno/>
  295. </claminfo>
  296. </list01>
  297. </hidden>
  298. </root>
  299. </instance>
  300. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  301. <submission id="TRPIE01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
  302. <submission id="TRPIE01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send02" resultref="/root/main/list02"/>
  303. <submission id="TRPIE01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send03" resultref="/root/main/list03"/>
  304. <submission id="TRPIE01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/hidden/list01"/>
  305. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
  306. </model>
  307. <script type="javascript" ev:event="xforms-ready">
  308. <![CDATA[
  309. // 공통코드 Load작업
  310. CommCode_Load();
  311. ]]>
  312. </script>
  313. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  314. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  315. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  316. <script type="javascript">
  317. <![CDATA[
  318. function Node_Init() {
  319. // NodeSet 초기화
  320. model.resetInstanceNode("/root/main/list01");
  321. model.resetInstanceNode("/root/main/list02");
  322. model.resetInstanceNode("/root/main/list03");
  323. model.refresh();
  324. }
  325. // 공통코드 Load작업
  326. function CommCode_Load() {
  327. zbcfGetCodeList(new Array("P0235", "P0155"), new Array( "/root/init/P0235list", "/root/init/P0155list"));
  328. // 다른화면에서 호출 (SPPIE00740_정산요약보기)
  329. var acptno = model.getValue("/root/send/summary/acptno");
  330. if (acptno != "") {
  331. model.setValue("/root/send/send01/termflag",model.getValue("/root/send/summary/termflag"));
  332. model.setValue("/root/send/send01/fromterm",model.getValue("/root/send/summary/fromterm"));
  333. model.setValue("/root/send/send01/toterm",model.getValue("/root/send/summary/toterm"));
  334. model.setValue("/root/send/send01/acptno",model.getValue("/root/send/summary/acptno"));
  335. model.setValue("/root/send/send01/clamno",model.getValue("/root/send/summary/clamno"));
  336. submit("TRPIE01501");
  337. }
  338. ipt_fromterm.attribute("format") = "";
  339. ipt_toterm.attribute("format") = "";
  340. ipt_fromterm.attribute("maxlength") = 8;
  341. ipt_toterm.attribute("maxlength") = 8;
  342. model.setFocus("ipt_fromterm");
  343. cmb_clamdgfrom.value = "";
  344. cmb_clamdgto.value = "";
  345. cmb_clamdgfrom.disabled = true;
  346. cmb_clamdgto.disabled = true;
  347. model.refresh();
  348. }
  349. // 의료급여정산 삭제
  350. function fDeleteF050() {
  351. if (grd_f501h.row >= grd_f501h.fixedRows ) {
  352. // 1. 삭제할 의료급여정산 데이터를 만든다.
  353. var rows = grd_f501h.selectedRows;
  354. var cnt = 1;
  355. for (var i = 0; i < rows; i++) {
  356. var sel = grd_f501h.selectedRow(i);
  357. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "f050");
  358. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/rsrvflag", "Y");
  359. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/uncoflag", "N");
  360. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/cutflag", "Y");
  361. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcnotino", model.getValue("/root/main/list01/gridpiehf501[" + sel + "]/calcnotino"));
  362. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcnotidd", model.getValue("/root/main/list01/gridpiehf501[" + sel + "]/calcnotidd"));
  363. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptno", model.getValue("/root/main/list01/gridpiehf501[" + sel + "]/acptno"));
  364. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamseqno", model.getValue("/root/main/list01/gridpiehf501[" + sel + "]/clamseqno"));
  365. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/list01/gridpiehf501[" + sel + "]/clamno"));
  366. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcyearseqno", model.getValue("/root/main/list01/gridpiehf501[" + sel + "]/calcyearseqno"));
  367. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/judgdg", model.getValue("/root/main/list01/gridpiehf501[" + sel + "]/judgdg"));
  368. cnt++;
  369. }
  370. // 2. 수신테이블 삭제 팝업 호출
  371. modal("SPPIE00810", "", "10", "10", "SPPIE00810", "/root/hidden/sppie00810" ,"/root/main", "", "");
  372. }
  373. }
  374. function fSearch() {
  375. model.removenode("/root/main/list01");
  376. model.removenode("/root/main/list02");
  377. model.removenode("/root/main/list03");
  378. model.refresh();
  379. submit("TRPIE01501");
  380. fSearch_Step();
  381. }
  382. function fSearch_Step() {
  383. var rtn = null;
  384. if (grd_f501h.rows > 1) {
  385. var row = 1;
  386. /*var t1 = grd_f501h.textmatrix(row,0);
  387. var t2 = grd_f501h.textmatrix(row,1);
  388. var t3 = grd_f501h.textmatrix(row,4);
  389. var t4 = grd_f501h.textmatrix(row,14);
  390. var t5 = grd_f501h.textmatrix(row,17);*/
  391. model.setValue("instance('instance1')/send/send02/calcnotino", model.getValue("/root/main/list01/gridpiehf501["+row+"]/calcnotino"));
  392. model.setValue("instance('instance1')/send/send02/calcnotidd", model.getValue("/root/main/list01/gridpiehf501["+row+"]/calcnotidd"));
  393. model.setValue("instance('instance1')/send/send02/acptno", model.getValue("/root/main/list01/gridpiehf501["+row+"]/acptno"));
  394. model.setValue("instance('instance1')/send/send02/clamseqno", model.getValue("/root/main/list01/gridpiehf501["+row+"]/clamseqno"));
  395. model.setValue("instance('instance1')/send/send02/instcd", model.getValue("/root/main/list01/gridpiehf501["+row+"]/instcd"));
  396. model.resetInstanceNode("/root/main/list02");
  397. model.resetInstanceNode("/root/main/list03");
  398. model.refresh();
  399. /*model.removeNodeset("/root/main/list02/gridpiehf502_1");
  400. model.removeNodeset("/root/main/list03/gridpiehf502_2");
  401. model.removeNodeset("/root/main/list03/gridpiehf402_3");
  402. model.removeNodeset("/root/main/list02/gridpiehf402_4");
  403. model.removeNodeset("/root/main/list02/gridpiehf403");
  404. model.removeNodeset("/root/main/list03/gridpiehf404");
  405. model.removeNodeset("/root/main/list03/gridpiehf405");*/
  406. rtn = submit("TRPIE01502");
  407. btn_acptno.selected = true;
  408. model.toggle("case1");
  409. }
  410. var rtn = null;
  411. if (grd_f503h.rows > 1) {
  412. var row = 1;
  413. /*var t1= grd_f503h.textmatrix(row,0);
  414. var t2= grd_f503h.textmatrix(row,1);
  415. var t3= grd_f503h.textmatrix(row,2);
  416. var t4= grd_f503h.textmatrix(row,17);
  417. var t5= grd_f503h.textmatrix(row,18);
  418. var t6= grd_f503h.textmatrix(row,19);
  419. var t7= grd_f503h.textmatrix(row,20);
  420. var t8= grd_f503h.textmatrix(row,21);*/
  421. model.setValue( "instance('instance1')/send/send03/calcyearseqno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/calcyearseqno"));
  422. model.setValue( "instance('instance1')/send/send03/calcseqno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/calcseqno"));
  423. model.setValue( "instance('instance1')/send/send03/docuseqno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/docuseqno"));
  424. model.setValue( "instance('instance1')/send/send03/calcnotino", model.getValue("/root/main/list02/gridpiehf503["+row+"]/calcnotino"));
  425. model.setValue( "instance('instance1')/send/send03/calcnotidd", model.getValue("/root/main/list02/gridpiehf503["+row+"]/calcnotidd"));
  426. model.setValue( "instance('instance1')/send/send03/acptno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/acptno"));
  427. model.setValue( "instance('instance1')/send/send03/clamseqno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/clamseqno"));
  428. model.setValue( "instance('instance1')/send/send03/instcd", model.getValue("/root/main/list02/gridpiehf503["+row+"]/instcd"));
  429. //model.removeNodeset("/root/main/list03");
  430. model.resetInstanceNode("/root/main/list03");
  431. model.refresh();
  432. rtn = submit("TRPIE01503");
  433. btn_acptno.selected = true;
  434. model.toggle("case1");
  435. }
  436. }
  437. // 청구년월 함수
  438. function pidfGetClamdg() {
  439. ///root/send/send01/fromterm
  440. var check = model.getValue("/root/send/send01/termflag");
  441. if ( model.getValue("/root/send/send01/fromterm") > model.getValue("/root/send/send01/toterm") ) {
  442. messageBox("종료일은 시작일보다 클 수 ", "I004");
  443. model.setValue("/root/send/send01/toterm","")
  444. }
  445. if(check == "2"){
  446. if(model.getValue("/root/send/send01/fromterm") != "" || model.getValue("/root/send/send01/toterm") != ""){
  447. model.removeNodeset("/root/init/clamdg");
  448. model.makeNode("/root/init/clamdg");
  449. model.setValue("/root/send/send01/clamym",model.getValue("/root/send/send01/fromterm"));
  450. /*
  451. model.removeNodeset("/root/send/send01/ioflag");
  452. model.makeNode("/root/send/send01/ioflag");
  453. model.setValue("/root/send/send01/ioflag", model.getValue("/root/send/send01/chosflag"));
  454. */
  455. submit("TRPID20407");
  456. model.copyNode("/root/init/clamdgfrom","/root/init/clamdg");
  457. cmb_clamdgfrom.refresh();
  458. cmb_clamdgfrom.select(0);
  459. model.setValue("/root/send/send01/clamym",model.getValue("/root/send/send01/toterm"));
  460. submit("TRPID20407");
  461. model.copyNode("/root/init/clamdgto","/root/init/clamdg");
  462. addComboItem("cmb_clamdgfrom","전체","","above");
  463. addComboItem("cmb_clamdgto","전체","","above");
  464. cmb_clamdgto.refresh();
  465. cmb_clamdgto.select(0);
  466. }
  467. }
  468. }
  469. // 청구년월 차수 기간 체크
  470. function fChkClamym()
  471. {
  472. var fromym = model.getValue("/root/send/send01/fromterm");
  473. var toym = model.getValue("/root/send/send01/toterm");
  474. var check = model.getValue("/root/send/send01/termflag");
  475. if(check == "2"){
  476. if ( fromym != toym ){
  477. cmb_clamdgfrom.value = "";
  478. cmb_clamdgto.value = "";
  479. cmb_clamdgfrom.disabled = true;
  480. cmb_clamdgto.disabled = true;
  481. }else{
  482. cmb_clamdgfrom.disabled = false;
  483. cmb_clamdgto.disabled = false;
  484. cmb_clamdgfrom.select(0);
  485. cmb_clamdgto.select(0);
  486. }
  487. cmb_clamdgto.refresh();
  488. cmb_clamdgfrom.refresh();
  489. }
  490. }
  491. ]]>
  492. </script>
  493. <script type="javascript">
  494. <![CDATA[
  495. // 정산차수별입금등록관리
  496. function fGridChkCalcjudgdg() {
  497. var row_cnt = grd_f501h.selectedRow(0);
  498. model.setValue("/root/send/send04/calcjudgdg", model.getValue("/root/main/list01/gridpiehf501["+row_cnt+"]/calcnotino"));
  499. model.setValue("/root/send/send04/acptno", model.getValue("/root/main/list01/gridpiehf501["+row_cnt+"]/acptno"));
  500. model.setValue("/root/send/send04/insukind", "2");
  501. modal("SMPIF30700", 1, 0, 0, "SMPIF30700", "/root/send/send04", "/root/send/send04");
  502. }
  503. ]]>
  504. </script>
  505. </xhtml:head>
  506. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  507. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  508. <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">의료급여정산내역서(F050)조회</caption>
  509. </group>
  510. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  511. <line id="line5" class="line_1" style="x1:287px; y1:530px; x2:941px; y2:530px; "/>
  512. <line id="line23" class="line_2" style="x1:0px; y1:332px; x2:281px; y2:332px; "/>
  513. <line id="line24" class="line_2" style="x1:0px; y1:357px; x2:281px; y2:357px; "/>
  514. <line id="line6" class="line_3" style="x1:0px; y1:732px; x2:281px; y2:732px; "/>
  515. <input id="input11" class="input_default" style="left:163px; top:361px; width:58px; height:19px; "/>
  516. <line id="line25" class="line_2" style="x1:0px; y1:382px; x2:281px; y2:382px; "/>
  517. <input id="input14" class="input_default" style="left:163px; top:336px; width:58px; height:19px; "/>
  518. <caption id="caption13" class="cell_1" style="left:0px; top:285px; width:160px; height:23px; vertical-align:middle; "/>
  519. <line id="line7" class="line_1" style="x1:0px; y1:280px; x2:282px; y2:280px; "/>
  520. <caption id="caption25" class="cell_1" style="left:0px; top:334px; width:160px; height:23px; vertical-align:middle; ">요양급여비용총액 합계</caption>
  521. <input id="input27" class="input_default" style="left:163px; top:386px; width:58px; height:19px; "/>
  522. <caption id="caption15" class="cell_1" style="left:0px; top:384px; width:160px; height:23px; vertical-align:middle; ">본인부담상한액초과금 합계</caption>
  523. <input id="input17" class="input_default" style="left:163px; top:311px; width:58px; height:19px; "/>
  524. <caption id="caption17" class="cell_1" style="left:0px; top:309px; width:160px; height:23px; text-align:left; vertical-align:middle; ">건수 합계</caption>
  525. <caption id="caption12" class="cell_1" style="left:0px; top:359px; width:160px; height:23px; vertical-align:middle; ">본인부담금 합계</caption>
  526. <line id="line8" class="line_2" style="x1:0px; y1:407px; x2:281px; y2:407px; "/>
  527. <line id="line9" class="line_2" style="x1:0px; y1:432px; x2:281px; y2:432px; "/>
  528. <input id="input4" class="input_default" style="left:163px; top:461px; width:58px; height:19px; "/>
  529. <line id="line10" class="line_2" style="x1:0px; y1:457px; x2:281px; y2:457px; "/>
  530. <line id="line11" class="line_2" style="x1:0px; y1:482px; x2:281px; y2:482px; "/>
  531. <caption id="caption14" class="cell_1" style="left:0px; top:459px; width:160px; height:23px; vertical-align:middle; ">본인부담환급금 합계</caption>
  532. <input id="input5" class="input_default" style="left:163px; top:436px; width:58px; height:19px; "/>
  533. <caption id="caption16" class="cell_1" style="left:0px; top:434px; width:160px; height:23px; vertical-align:middle; ">보험자 부담금 합계</caption>
  534. <caption id="caption18" class="cell_1" style="left:0px; top:484px; width:160px; height:23px; vertical-align:middle; ">본인추가부담금 합계</caption>
  535. <input id="input6" class="input_default" style="left:163px; top:486px; width:58px; height:19px; "/>
  536. <input id="input7" class="input_default" style="left:163px; top:411px; width:58px; height:19px; "/>
  537. <caption id="caption19" class="cell_1" style="left:0px; top:409px; width:160px; height:23px; vertical-align:middle; ">청구액 합계</caption>
  538. <caption id="caption20" class="tit_2" style="left:5px; top:265px; width:70px; height:13px; ">F020.4</caption>
  539. <input id="input8" class="input_default" style="left:163px; top:511px; width:58px; height:19px; "/>
  540. <line id="line12" class="line_2" style="x1:0px; y1:507px; x2:281px; y2:507px; "/>
  541. <line id="line14" class="line_2" style="x1:0px; y1:707px; x2:281px; y2:707px; "/>
  542. <caption id="caption22" class="cell_1" style="left:0px; top:709px; width:160px; height:23px; vertical-align:middle; ">심사결정액 합계</caption>
  543. <caption id="caption24" class="cell_1" style="left:0px; top:509px; width:160px; height:23px; vertical-align:middle; ">위탁검사 직접지급금 합계</caption>
  544. <input id="input10" class="input_default" style="left:163px; top:711px; width:58px; height:19px; "/>
  545. <input id="input13" class="input_default" style="left:224px; top:411px; width:58px; height:19px; "/>
  546. <input id="input24" class="input_default" style="left:224px; top:511px; width:58px; height:19px; "/>
  547. <input id="input29" class="input_default" style="left:224px; top:711px; width:58px; height:19px; "/>
  548. <input id="input30" class="input_default" style="left:224px; top:361px; width:58px; height:19px; "/>
  549. <input id="input31" class="input_default" style="left:224px; top:336px; width:58px; height:19px; "/>
  550. <input id="input32" class="input_default" style="left:224px; top:386px; width:58px; height:19px; "/>
  551. <input id="input33" class="input_default" style="left:224px; top:311px; width:58px; height:19px; "/>
  552. <input id="input34" class="input_default" style="left:224px; top:461px; width:58px; height:19px; "/>
  553. <input id="input35" class="input_default" style="left:224px; top:436px; width:58px; height:19px; "/>
  554. <input id="input36" class="input_default" style="left:224px; top:486px; width:58px; height:19px; "/>
  555. <caption id="caption32" class="cell_1" style="left:163px; top:285px; width:58px; height:23px; vertical-align:middle; ">청구사항</caption>
  556. <line id="line22" class="line_2" style="x1:0px; y1:307px; x2:282px; y2:307px; "/>
  557. <caption id="caption33" class="cell_1" style="left:224px; top:285px; width:58px; height:23px; vertical-align:middle; ">심결사항</caption>
  558. <input id="input3" class="input_default" style="left:163px; top:586px; width:58px; height:19px; "/>
  559. <line id="line15" class="line_2" style="x1:0px; y1:582px; x2:281px; y2:582px; "/>
  560. <input id="input9" class="input_default" style="left:163px; top:686px; width:58px; height:19px; "/>
  561. <line id="line16" class="line_2" style="x1:0px; y1:607px; x2:281px; y2:607px; "/>
  562. <input id="input12" class="input_default" style="left:224px; top:536px; width:58px; height:19px; "/>
  563. <line id="line17" class="line_2" style="x1:0px; y1:632px; x2:281px; y2:632px; "/>
  564. <line id="line18" class="line_2" style="x1:0px; y1:657px; x2:281px; y2:657px; "/>
  565. <input id="input15" class="input_default" style="left:224px; top:561px; width:58px; height:19px; "/>
  566. <line id="line19" class="line_2" style="x1:0px; y1:682px; x2:281px; y2:682px; "/>
  567. <input id="input16" class="input_default" style="left:163px; top:536px; width:58px; height:19px; "/>
  568. <line id="line20" class="line_2" style="x1:0px; y1:532px; x2:281px; y2:532px; "/>
  569. <input id="input18" class="input_default" style="left:224px; top:636px; width:58px; height:19px; "/>
  570. <line id="line21" class="line_2" style="x1:0px; y1:557px; x2:281px; y2:557px; "/>
  571. <input id="input19" class="input_default" style="left:224px; top:611px; width:58px; height:19px; "/>
  572. <input id="input20" class="input_default" style="left:224px; top:686px; width:58px; height:19px; "/>
  573. <input id="input21" class="input_default" style="left:224px; top:586px; width:58px; height:19px; "/>
  574. <caption id="caption11" class="cell_1" style="left:0px; top:534px; width:160px; height:23px; vertical-align:middle; ">본인부담금 합계</caption>
  575. <input id="input22" class="input_default" style="left:224px; top:661px; width:58px; height:19px; "/>
  576. <caption id="caption21" class="cell_1" style="left:0px; top:684px; width:160px; height:23px; vertical-align:middle; ">위탁검사 직접지급금 합계</caption>
  577. <caption id="caption23" class="cell_1" style="left:0px; top:634px; width:160px; height:23px; vertical-align:middle; ">본인부담환급금 합계</caption>
  578. <caption id="caption26" class="cell_1" style="left:0px; top:559px; width:160px; height:23px; vertical-align:middle; ">본인부담상한액초과금 합계</caption>
  579. <input id="input23" class="input_default" style="left:163px; top:561px; width:58px; height:19px; "/>
  580. <caption id="caption27" class="cell_1" style="left:0px; top:609px; width:160px; height:23px; vertical-align:middle; ">보험자 부담금 합계</caption>
  581. <caption id="caption28" class="cell_1" style="left:0px; top:659px; width:160px; height:23px; vertical-align:middle; ">본인추가부담금 합계</caption>
  582. <input id="input25" class="input_default" style="left:163px; top:636px; width:58px; height:19px; "/>
  583. <caption id="caption29" class="cell_1" style="left:0px; top:584px; width:160px; height:23px; vertical-align:middle; ">청구액 합계</caption>
  584. <input id="input26" class="input_default" style="left:163px; top:611px; width:58px; height:19px; "/>
  585. <input id="input28" class="input_default" style="left:163px; top:661px; width:58px; height:19px; "/>
  586. </group>
  587. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  588. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  589. <button id="button3" class="btn3_letter11" style="left:0px; top:5px; width:140px; height:22px; ">
  590. <caption>정산차수별입금등록관리</caption>
  591. <script type="javascript" ev:event="onclick">
  592. <![CDATA[
  593. if (grd_f501h.rows > 1) {
  594. model.makeNode("/root/send/send04/calcjudgdg");
  595. model.setValue("/root/send/send04/calcjudgdg", model.getValue("/root/main/list01/gridpiehf501[1]/calcnotino"));model.refresh();
  596. modal("SMPIF30700", 1, 1, 1, "SMPIF30700", "/root/send/send04/calcjudgdg", "/root/send/send01/calcdg");
  597. }
  598. ]]>
  599. </script>
  600. </button>
  601. </group>
  602. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  603. <caption id="caption36" class="tit_2" style="left:5px; top:80px; width:165px; height:14px; ">F050.1, F050.2 (청구서)</caption>
  604. <line id="line27" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  605. <caption id="caption37" class="tit_2" style="left:300px; top:314px; width:114px; height:14px; ">F050.3 (명세서)</caption>
  606. <line id="line28" class="line_1" style="x1:295px; y1:329px; x2:1194px; y2:329px; "/>
  607. <caption id="caption38" class="tit_2" style="left:295px; top:484px; width:101px; height:14px; ">F050.4 (처방)</caption>
  608. <line id="line29" class="line_1" style="x1:295px; y1:499px; x2:1194px; y2:499px; "/>
  609. <button id="button26" class="btn2_letter2" style="left:1152px; top:75px; width:42px; height:19px; ">
  610. <caption>출력</caption>
  611. <script type="javascript" ev:event="onclick">
  612. <![CDATA[
  613. model.removenode("/root/hidden/prnt1");
  614. model.makeNode("/root/hidden/prnt1");
  615. // 1. 출력 데이터 생성
  616. var totamt = 0;
  617. var bfcalcnotino = "";
  618. var bfacptno = "";
  619. var temp = 0;
  620. var rcogcnt = 0;
  621. var decidifamtsum = 0;
  622. var handicaprdifamtsum = 0;
  623. var subtdifamtsum = 0;
  624. var cnt = 0;
  625. for (var i = 1; i < grd_f501h.rows; i++) {
  626. if(i == 1) {
  627. temp = i;
  628. bfcalcnotino = grd_f501h.valueMatrix(temp, 1);
  629. bfacptno = grd_f501h.valueMatrix(temp,7);
  630. rcogcnt = grd_f501h.valueMatrix(temp,16);
  631. decidifamtsum = grd_f501h.valueMatrix(temp,13);
  632. handicaprdifamtsum = grd_f501h.valueMatrix(temp,14);
  633. subtdifamtsum = grd_f501h.valueMatrix(temp,15);
  634. cnt = 1;
  635. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/calcnotino", grd_f501h.valueMatrix(temp, grd_f501h.colRef("calcnotino"))); // 정산심사차수
  636. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/clamno", grd_f501h.valueMatrix(temp, grd_f501h.colRef("clamno"))); // 청구번호
  637. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ioflag", grd_f501h.valueMatrix(temp, grd_f501h.colRef("ioflag"))); // 내원유형
  638. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ordfildcd", grd_f501h.labelMatrix(temp, grd_f501h.colRef("ordfildcd"))); // 분야
  639. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/acptno", grd_f501h.valueMatrix(temp, grd_f501h.colRef("acptno"))); // 접수번호
  640. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/judgdg", grd_f501h.valueMatrix(temp, grd_f501h.colRef("judgdg"))); // 심사차수
  641. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ordym", grd_f501h.valueMatrix(temp, grd_f501h.colRef("ordym"))); // 진료월
  642. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/cadecidifamtsum", decidifamtsum); // 결정차액
  643. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/cajrsltrcogcntsum", rcogcnt); // 인정건수
  644. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/handicaprdifamt", handicaprdifamtsum); // 장애인차액
  645. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/subtdifamt", subtdifamtsum); // 대불금차액
  646. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/flag", grd_f501h.valueMatrix(temp, grd_f501h.colRef("flag"))); // 환수환급구분
  647. totamt = totamt + Number(grd_f501h.valueMatrix(temp, 13));
  648. model.makeValue("/root/hidden/prnt1/f501["+temp+"]/totamtsum", totamt); // 결정차액합계
  649. } else {
  650. if(bfcalcnotino == grd_f501h.valueMatrix(i,1) & bfacptno == grd_f501h.valueMatrix(i,7)) {
  651. rcogcnt = Number(rcogcnt) + Number(grd_f501h.valueMatrix(i,16));
  652. decidifamtsum = Number(decidifamtsum) + Number(grd_f501h.valueMatrix(i,13));
  653. handicaprdifamtsum = Number(handicaprdifamtsum) + Number(grd_f501h.valueMatrix(i,14));
  654. subtdifamtsum = Number(subtdifamtsum) + Number(grd_f501h.valueMatrix(i,15));
  655. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/calcnotino", grd_f501h.valueMatrix(temp, grd_f501h.colRef("calcnotino"))); // 정산심사차수
  656. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/clamno", grd_f501h.valueMatrix(temp, grd_f501h.colRef("clamno"))); // 청구번호
  657. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ioflag", grd_f501h.valueMatrix(temp, grd_f501h.colRef("ioflag"))); // 내원유형
  658. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ordfildcd", grd_f501h.labelMatrix(temp, grd_f501h.colRef("ordfildcd"))); // 분야
  659. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/acptno", grd_f501h.valueMatrix(temp, grd_f501h.colRef("acptno"))); // 접수번호
  660. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/judgdg", grd_f501h.valueMatrix(temp, grd_f501h.colRef("judgdg"))); // 심사차수
  661. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ordym", grd_f501h.valueMatrix(temp, grd_f501h.colRef("ordym"))); // 진료월
  662. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/cadecidifamtsum", decidifamtsum); // 결정차액
  663. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/cajrsltrcogcntsum", rcogcnt); // 인정건수
  664. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/handicaprdifamt", handicaprdifamtsum); // 장애인차액
  665. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/subtdifamt", subtdifamtsum); // 대불금차액
  666. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/flag", grd_f501h.valueMatrix(temp, grd_f501h.colRef("flag"))); // 환수환급구분
  667. totamt = totamt + Number(grd_f501h.valueMatrix(temp, 13));
  668. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/totamtsum", totamt); // 결정차액합계
  669. } else {
  670. temp = i;
  671. cnt = cnt+1;
  672. bfcalcnotino = grd_f501h.valueMatrix(temp, 1);
  673. bfacptno = grd_f501h.valueMatrix(temp,7);
  674. rcogcnt = grd_f501h.valueMatrix(temp,16);
  675. decidifamtsum = grd_f501h.valueMatrix(temp,13);
  676. handicaprdifamtsum = grd_f501h.valueMatrix(temp,14);
  677. subtdifamtsum = grd_f501h.valueMatrix(temp,15);
  678. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/calcnotino", grd_f501h.valueMatrix(temp, grd_f501h.colRef("calcnotino"))); // 정산심사차수
  679. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/clamno", grd_f501h.valueMatrix(temp, grd_f501h.colRef("clamno"))); // 청구번호
  680. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ioflag", grd_f501h.valueMatrix(temp, grd_f501h.colRef("ioflag"))); // 내원유형
  681. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ordfildcd", grd_f501h.labelMatrix(temp, grd_f501h.colRef("ordfildcd"))); // 분야
  682. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/acptno", grd_f501h.valueMatrix(temp, grd_f501h.colRef("acptno"))); // 접수번호
  683. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/judgdg", grd_f501h.valueMatrix(temp, grd_f501h.colRef("judgdg"))); // 심사차수
  684. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/ordym", grd_f501h.valueMatrix(temp, grd_f501h.colRef("ordym"))); // 진료월
  685. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/cadecidifamtsum", decidifamtsum); // 결정차액
  686. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/cajrsltrcogcntsum", rcogcnt); // 인정건수
  687. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/handicaprdifamt", handicaprdifamtsum); // 장애인차액
  688. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/subtdifamt", subtdifamtsum); // 대불금차액
  689. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/flag", grd_f501h.valueMatrix(i, grd_f501h.colRef("flag"))); // 환수환급구분
  690. totamt = totamt + Number(grd_f501h.valueMatrix(temp, 13));
  691. model.makeValue("/root/hidden/prnt1/f501["+cnt+"]/totamtsum", totamt); // 결정차액합계
  692. }
  693. }
  694. }
  695. // 2. 보고서 호출
  696. exeReportPreview("RPPIE01500", "XMLSTR", "","", "false","","","","","false");
  697. ]]>
  698. </script>
  699. </button>
  700. <button id="button2" class="btn2_letter3" style="left:921px; top:75px; width:53px; height:19px; ">
  701. <caption>셀카피</caption>
  702. <script type="javascript" ev:event="onclick">
  703. <![CDATA[
  704. grd_f501h.attribute("selectionmode") = "free";
  705. grd_f503h.attribute("selectionmode") = "free";
  706. grd_f504h.attribute("selectionmode") = "free";
  707. ]]>
  708. </script>
  709. </button>
  710. <button id="button5" class="btn2_letter3" style="left:975px; top:75px; width:53px; height:19px; ">
  711. <caption>열카피</caption>
  712. <script type="javascript" ev:event="onclick">
  713. <![CDATA[
  714. grd_f501h.attribute("selectionmode") = "bycol";
  715. grd_f503h.attribute("selectionmode") = "bycol";
  716. grd_f504h.attribute("selectionmode") = "bycol";
  717. ]]>
  718. </script>
  719. </button>
  720. <button id="button6" class="btn2_letter3" style="left:1030px; top:75px; width:53px; height:19px; ">
  721. <caption>행카피</caption>
  722. <script type="javascript" ev:event="onclick">
  723. <![CDATA[
  724. grd_f501h.attribute("selectionmode") = "byrow";
  725. grd_f503h.attribute("selectionmode") = "byrow";
  726. grd_f504h.attribute("selectionmode") = "byrow";
  727. ]]>
  728. </script>
  729. </button>
  730. <button id="button12" class="btn2_letter4" style="left:1085px; top:75px; width:64px; height:19px; ">
  731. <caption>엑셀저장</caption>
  732. <script type="javascript" ev:event="onclick">
  733. <![CDATA[
  734. var fileName = window.fileDialog("save", ",", false, "의료급여정산내역서(F050.1) 조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  735. if (fileName != "") {
  736. grd_f501h.saveExcel(fileName, "SheetName", true, true, "", "", "");
  737. }
  738. ]]>
  739. </script>
  740. </button>
  741. <switch id="switch1" class="sw_box" style="left:0px; top:125px; width:291px; height:616px; ">
  742. <case id="case1" style="left:0px; top:0px; width:289px; height:600px; ">
  743. <input id="input60" ref="/root/main/list02/gridpiehf502_1/jrhandicaprfundsum" class="input_default" format="#,###" style="left:217px; top:128px; width:68px; height:19px; text-align:right; "/>
  744. <input id="input50" ref="/root/main/list02/gridpiehf502_1/catrudirecpamtsum" class="input_default" format="#,###" style="left:146px; top:188px; width:68px; height:19px; text-align:right; "/>
  745. <input id="input61" ref="/root/main/list02/gridpiehf502_1/jrjudgdeciamtsum" class="input_default" format="#,###" style="left:217px; top:168px; width:68px; height:19px; text-align:right; "/>
  746. <input id="input62" ref="/root/main/list02/gridpiehf502_1/cadecidifamtsum" class="input_default" format="#,###" style="left:146px; top:288px; width:68px; height:19px; text-align:right; "/>
  747. <input id="input73" ref="/root/main/list02/gridpiehf502_1/cajrsltrcogcntsum" class="input_default" style="left:146px; top:348px; width:68px; height:19px; "/>
  748. <caption id="caption61" class="cell_1" style="left:4px; top:288px; width:140px; height:19px; text-align:right; vertical-align:middle; ">결정차액합계</caption>
  749. <input id="input52" ref="/root/main/list02/gridpiehf502_1/jrsubtamtsum" class="input_default" format="#,###" style="left:217px; top:108px; width:68px; height:19px; text-align:right; "/>
  750. <input id="input74" ref="/root/main/list02/gridpiehf502_1/cajrsltrcogamtsum" class="input_default" format="#,###" style="left:146px; top:308px; width:68px; height:19px; text-align:right; "/>
  751. <input id="input42" ref="/root/main/list02/gridpiehf502_1/camcstotamtsum" class="input_default" format="#,###" style="left:146px; top:68px; width:68px; height:19px; text-align:right; "/>
  752. <caption id="caption41" class="cell_1" style="left:4px; top:4px; width:140px; height:23px; vertical-align:middle; "/>
  753. <caption id="caption52" class="cell_1" style="left:4px; top:188px; width:140px; height:19px; text-align:right; vertical-align:middle; ">위탁검사직접지급금합계</caption>
  754. <input id="input53" ref="/root/main/list02/gridpiehf502_1/jrtrudirecpamtsum" class="input_default" format="#,###" style="left:217px; top:188px; width:68px; height:19px; text-align:right; "/>
  755. <line id="line44" class="line_2" style="x1:4px; y1:0px; x2:286px; y2:0px; "/>
  756. <input id="input64" ref="/root/main/list02/gridpiehf502_1/jrioauthcnfmtcntsum" class="input_default" format="#,###" style="left:217px; top:248px; width:68px; height:19px; text-align:right; "/>
  757. <input id="input43" ref="/root/main/list02/gridpiehf502_1/caownaddbamtsum" class="input_default" format="#,###" style="left:146px; top:48px; width:68px; height:19px; text-align:right; "/>
  758. <caption id="caption42" class="cell_1" style="left:4px; top:48px; width:140px; height:19px; text-align:right; vertical-align:middle; ">본인추가부담금합계</caption>
  759. <caption id="caption53" class="cell_1" style="left:145px; top:4px; width:71px; height:23px; text-align:center; vertical-align:middle; ">정산심결</caption>
  760. <input id="input44" ref="/root/main/list02/gridpiehf502_1/caownbamtsum" class="input_default" format="#,###" style="left:146px; top:88px; width:68px; height:19px; text-align:right; "/>
  761. <caption id="caption43" class="cell_1" style="left:4px; top:88px; width:140px; height:19px; text-align:right; vertical-align:middle; ">본인부담금합계</caption>
  762. <input id="input55" ref="/root/main/list02/gridpiehf502_1/jrmcstotamtsum" class="input_default" format="#,###" style="left:217px; top:68px; width:68px; height:19px; text-align:right; "/>
  763. <caption id="caption54" class="cell_1" style="left:217px; top:4px; width:69px; height:23px; text-align:center; vertical-align:middle; ">이전심결</caption>
  764. <input id="input66" ref="/root/main/list02/gridpiehf502_1/caioauthcnfmtcntsum" class="input_default" format="#,###" style="left:146px; top:248px; width:68px; height:19px; text-align:right; "/>
  765. <input id="input45" ref="/root/main/list02/gridpiehf502_1/caownbrtnamtsum" class="input_default" format="#,###" style="left:146px; top:28px; width:68px; height:19px; text-align:right; "/>
  766. <caption id="caption44" class="cell_1" style="left:4px; top:28px; width:140px; height:19px; text-align:right; vertical-align:middle; ">본인부담환급금합계</caption>
  767. <input id="input56" ref="/root/main/list02/gridpiehf502_1/jrownaddbamtsum" class="input_default" format="#,###" style="left:217px; top:48px; width:68px; height:19px; text-align:right; "/>
  768. <line id="line47" class="line_2" style="x1:4px; y1:274px; x2:285px; y2:274px; "/>
  769. <input id="input67" class="input_default" style="left:217px; top:348px; width:68px; height:19px; "/>
  770. <caption id="caption55" class="cell_1" style="left:4px; top:248px; width:140px; height:19px; text-align:right; vertical-align:middle; ">수급권확인대상건수합계</caption>
  771. <line id="line37" class="line_3" style="x1:4px; y1:2px; x2:286px; y2:2px; "/>
  772. <caption id="caption45" class="cell_1" style="left:4px; top:68px; width:140px; height:19px; text-align:right; vertical-align:middle; ">의료급여비용총액합계</caption>
  773. <input id="input46" ref="/root/main/list02/gridpiehf502_1/casecuinstbamtsum" class="input_default" format="#,###" style="left:146px; top:148px; width:68px; height:19px; text-align:right; "/>
  774. <input id="input57" ref="/root/main/list02/gridpiehf502_1/jrownbamtsum" class="input_default" format="#,###" style="left:217px; top:88px; width:68px; height:19px; text-align:right; "/>
  775. <input id="input68" class="input_default" style="left:217px; top:308px; width:68px; height:19px; "/>
  776. <caption id="caption46" class="cell_1" style="left:4px; top:148px; width:140px; height:19px; text-align:right; vertical-align:middle; ">보장기관부담금합계</caption>
  777. <input id="input47" ref="/root/main/list02/gridpiehf502_1/cahandicaprfundsum" class="input_default" format="#,###" style="left:146px; top:128px; width:68px; height:19px; text-align:right; "/>
  778. <input id="input58" ref="/root/main/list02/gridpiehf502_1/jrownbrtnamtsum" class="input_default" format="#,###" style="left:217px; top:28px; width:68px; height:19px; text-align:right; "/>
  779. <caption id="caption57" class="cell_1" style="left:4px; top:348px; width:140px; height:19px; text-align:right; vertical-align:middle; ">정산심결인정건수합계</caption>
  780. <caption id="caption47" class="cell_1" style="left:4px; top:128px; width:140px; height:19px; text-align:right; vertical-align:middle; ">장애인의료비합계</caption>
  781. <input id="input48" ref="/root/main/list02/gridpiehf502_1/cajrsltamtsum" class="input_default" format="#,###" style="left:146px; top:168px; width:68px; height:19px; text-align:right; "/>
  782. <input id="input59" ref="/root/main/list02/gridpiehf502_1/jrsecuinstbamtsum" class="input_default" format="#,###" style="left:217px; top:148px; width:68px; height:19px; text-align:right; "/>
  783. <caption id="caption58" class="cell_1" style="left:4px; top:268px; width:140px; height:19px; text-align:right; vertical-align:middle; ">건수합계</caption>
  784. <caption id="caption48" class="cell_1" style="left:4px; top:168px; width:140px; height:19px; text-align:right; vertical-align:middle; ">심사결정액합계</caption>
  785. <input id="input49" ref="/root/main/list02/gridpiehf502_1/casubtamtsum" class="input_default" format="#,###" style="left:146px; top:108px; width:68px; height:19px; text-align:right; "/>
  786. <caption id="caption59" class="cell_1" style="left:4px; top:308px; width:140px; height:19px; text-align:right; vertical-align:middle; ">정산심결인정금액합계</caption>
  787. <caption id="caption49" class="cell_1" style="left:4px; top:108px; width:140px; height:19px; text-align:right; vertical-align:middle; ">대불금합계</caption>
  788. <input id="input70" class="input_default" style="left:217px; top:288px; width:68px; height:19px; "/>
  789. <input id="input51" ref="/root/main/list02/gridpiehf502_1/jrcntsum" class="input_default" format="#,###" style="left:217px; top:268px; width:68px; height:19px; text-align:right; "/>
  790. <input id="input54" ref="/root/main/list02/gridpiehf502_1/cacntsum" class="input_default" format="#,###" style="left:146px; top:268px; width:68px; height:19px; text-align:right; "/>
  791. <input id="input98" ref="/root/main/list02/gridpiehf502_1/rem" class="input_default" style="left:146px; top:528px; width:139px; height:19px; "/>
  792. <caption id="caption40" class="cell_1" style="left:3px; top:528px; width:140px; height:19px; text-align:right; vertical-align:middle; ">참조</caption>
  793. <input id="input37" ref="/root/main/list02/gridpiehf502_1/jrdruglimitdiffamtsum" class="input_default" format="#,###" style="left:146px; top:208px; width:68px; height:19px; text-align:right; "/>
  794. <input id="input38" ref="/root/main/list02/gridpiehf502_1/cadruglimitdiffamtsum" class="input_default" format="#,###" style="left:217px; top:208px; width:68px; height:19px; text-align:right; "/>
  795. <caption id="caption1" class="cell_1" style="left:4px; top:208px; width:140px; height:19px; text-align:right; vertical-align:middle; ">약제상한차액총액합계</caption>
  796. <caption id="caption2" class="cell_1" style="left:4px; top:228px; width:140px; height:19px; text-align:right; vertical-align:middle; ">
  797. <![CDATA[수진자요양급여비용
  798. 총액합계]]>
  799. </caption>
  800. <input id="input39" ref="/root/main/list02/gridpiehf502_1/jrpatmcstotamtsum" class="input_default" format="#,###" style="left:146px; top:228px; width:68px; height:19px; text-align:right; "/>
  801. <input id="input40" ref="/root/main/list02/gridpiehf502_1/capatmcstotamtsum" class="input_default" format="#,###" style="left:217px; top:228px; width:68px; height:19px; text-align:right; "/>
  802. <input id="input41" ref="/root/main/list02/gridpiehf502_1/druglimitdiffamtrcogadjtsum" class="input_default" format="#,###" style="left:146px; top:328px; width:138px; height:19px; text-align:right; "/>
  803. <caption id="caption3" class="cell_1" style="left:4px; top:328px; width:140px; height:19px; text-align:right; vertical-align:middle; ">약제상한차액인정금액</caption>
  804. <caption id="caption95" class="cell_1" style="left:30px; top:388px; width:114px; height:19px; text-align:right; vertical-align:middle; ">총진료비</caption>
  805. <caption id="caption7" class="cell_1" style="left:4px; top:388px; width:25px; height:99px; text-align:center; vertical-align:middle; ">
  806. <![CDATA[100
  807. /
  808. 100
  809. 미만]]>
  810. </caption>
  811. <caption id="caption8" class="cell_1" style="left:30px; top:468px; width:114px; height:19px; text-align:right; vertical-align:middle; ">본인부담환급금</caption>
  812. <line id="line1" class="line_3" style="x1:3px; y1:549px; x2:285px; y2:549px; "/>
  813. <caption id="caption9" class="cell_1" style="left:30px; top:428px; width:114px; height:19px; text-align:right; vertical-align:middle; ">청구액</caption>
  814. <caption id="caption10" class="cell_1" style="left:30px; top:408px; width:114px; height:19px; text-align:right; vertical-align:middle; ">본인부담금</caption>
  815. <caption id="caption100" class="cell_1" style="left:3px; top:488px; width:140px; height:19px; text-align:right; vertical-align:middle; ">상계환급금</caption>
  816. <caption id="caption34" class="cell_1" style="left:30px; top:448px; width:114px; height:19px; text-align:right; vertical-align:middle; ">본인추가환급금</caption>
  817. <caption id="caption101" class="cell_1" style="left:3px; top:508px; width:140px; height:19px; text-align:right; vertical-align:middle; ">상계추가부담금</caption>
  818. <caption id="caption35" class="cell_1" style="left:4px; top:368px; width:142px; height:19px; text-align:right; vertical-align:middle; padding-left:2; ">100/100본인부담총액합계</caption>
  819. <input id="input137" ref="/root/main/list02/gridpiehf502_1/cainsu100ownbamtsum" class="input_default" format="#,###" style="left:148px; top:368px; width:68px; height:19px; text-align:right; "/>
  820. <input id="input138" ref="/root/main/list02/gridpiehf502_1/jrinsu100ownbamtsum" class="input_default" format="#,###" style="left:219px; top:368px; width:68px; height:19px; text-align:right; "/>
  821. <input id="input119" ref="/root/main/list02/gridpiehf502_1/castfrtnamtsum" class="input_default" format="#,###" style="left:145px; top:488px; width:68px; height:19px; text-align:right; "/>
  822. <input id="input120" ref="/root/main/list02/gridpiehf502_1/jrstfrtnamtsum" class="input_default" format="#,###" style="left:217px; top:488px; width:68px; height:19px; text-align:right; "/>
  823. <input id="input123" ref="/root/main/list02/gridpiehf502_1/cablwinsuclamamtsum" class="input_default" format="#,###" style="left:146px; top:428px; width:68px; height:19px; text-align:right; "/>
  824. <input id="input126" ref="/root/main/list02/gridpiehf502_1/castfaddbamtsum" class="input_default" format="#,###" style="left:145px; top:508px; width:68px; height:19px; text-align:right; "/>
  825. <input id="input127" ref="/root/main/list02/gridpiehf502_1/jrblwownbamtsum" class="input_default" format="#,###" style="left:217px; top:408px; width:68px; height:19px; text-align:right; "/>
  826. <input id="input128" ref="/root/main/list02/gridpiehf502_1/jrstfaddbamtsum" class="input_default" format="#,###" style="left:217px; top:508px; width:68px; height:19px; text-align:right; "/>
  827. <input id="input129" ref="/root/main/list02/gridpiehf502_1/jrblwinsuclamamtsum" class="input_default" format="#,###" style="left:217px; top:428px; width:68px; height:19px; text-align:right; "/>
  828. <input id="input130" ref="/root/main/list02/gridpiehf502_1/cablwownaddbamtsum" class="input_default" format="#,###" style="left:146px; top:448px; width:68px; height:19px; text-align:right; "/>
  829. <input id="input131" ref="/root/main/list02/gridpiehf502_1/jrblwownaddbamtsum" class="input_default" format="#,###" style="left:217px; top:448px; width:68px; height:19px; text-align:right; "/>
  830. <input id="input132" ref="/root/main/list02/gridpiehf502_1/cablwtotownamtsum" class="input_default" format="#,###" style="left:146px; top:388px; width:68px; height:19px; text-align:right; "/>
  831. <input id="input133" ref="/root/main/list02/gridpiehf502_1/cablwownbrtnamtsum" class="input_default" format="#,###" style="left:146px; top:468px; width:68px; height:19px; text-align:right; "/>
  832. <input id="input134" ref="/root/main/list02/gridpiehf502_1/jrblwownbrtnamtsum" class="input_default" format="#,###" style="left:217px; top:468px; width:68px; height:19px; text-align:right; "/>
  833. <input id="input135" ref="/root/main/list02/gridpiehf502_1/cablwownbamtsum" class="input_default" format="#,###" style="left:146px; top:408px; width:68px; height:19px; text-align:right; "/>
  834. <input id="input136" ref="/root/main/list02/gridpiehf502_1/jrblwtotownamtsum" class="input_default" format="#,###" style="left:217px; top:388px; width:68px; height:19px; text-align:right; "/>
  835. </case>
  836. <case id="case2" selected="true">
  837. <input id="input63" ref="/root/main/list03/gridpiehf502_2/jrhandicaprfund" class="input_default" format="#,###" style="left:218px; top:128px; width:68px; height:19px; text-align:right; "/>
  838. <input id="input65" class="input_default" style="left:218px; top:168px; width:68px; height:19px; "/>
  839. <input id="input69" ref="/root/main/list03/gridpiehf502_2/catrudirecpamt" class="input_default" format="#,###" style="left:147px; top:188px; width:68px; height:19px; text-align:right; "/>
  840. <input id="input71" class="input_default" style="left:218px; top:268px; width:68px; height:19px; "/>
  841. <caption id="caption50" class="cell_1" style="left:4px; top:288px; width:140px; height:19px; text-align:right; vertical-align:middle; ">결정차액</caption>
  842. <input id="input72" class="input_default" style="left:147px; top:328px; width:68px; height:19px; "/>
  843. <input id="input75" ref="/root/main/list03/gridpiehf502_2/cadecidifamt" class="input_default" format="(-)#,###" style="left:147px; top:288px; width:68px; height:19px; text-align:right; "/>
  844. <caption id="caption51" class="cell_1" style="left:4px; top:348px; width:76px; height:19px; text-align:right; vertical-align:middle; ">참조</caption>
  845. <input id="input76" class="input_default" style="left:147px; top:308px; width:68px; height:19px; "/>
  846. <input id="input77" ref="/root/main/list03/gridpiehf502_2/jrsubtamt" class="input_default" format="#,###" style="left:218px; top:108px; width:68px; height:19px; text-align:right; "/>
  847. <input id="input78" class="input_default" style="left:218px; top:248px; width:68px; height:19px; "/>
  848. <line id="line54" class="line_2" style="x1:4px; y1:0px; x2:286px; y2:0px; "/>
  849. <input id="input79" ref="/root/main/list03/gridpiehf502_2/jrtrudirecpamt" class="input_default" format="#,###" style="left:218px; top:188px; width:68px; height:19px; text-align:right; "/>
  850. <caption id="caption56" class="cell_1" style="left:4px; top:188px; width:140px; height:19px; text-align:right; vertical-align:middle; ">위탁검사직접지급금</caption>
  851. <caption id="caption60" class="cell_1" style="left:4px; top:4px; width:140px; height:23px; vertical-align:middle; "/>
  852. <input id="input80" ref="/root/main/list03/gridpiehf502_2/camcstotamtsum" class="input_default" format="#,###" style="left:147px; top:68px; width:68px; height:19px; text-align:right; "/>
  853. <input id="input81" ref="/root/main/list03/gridpiehf502_2/rem" class="input_default" style="left:83px; top:348px; width:203px; height:19px; "/>
  854. <input id="input82" class="input_default" style="left:147px; top:268px; width:68px; height:19px; "/>
  855. <caption id="caption62" class="cell_1" style="left:145px; top:4px; width:71px; height:23px; text-align:center; vertical-align:middle; ">정산심결</caption>
  856. <caption id="caption63" class="cell_1" style="left:4px; top:48px; width:140px; height:19px; text-align:right; vertical-align:middle; ">본인추가부담금</caption>
  857. <input id="input83" ref="/root/main/list03/gridpiehf502_2/caownaddbamt" class="input_default" format="#,###" style="left:147px; top:48px; width:68px; height:19px; text-align:right; "/>
  858. <input id="input84" class="input_default" style="left:147px; top:248px; width:68px; height:19px; "/>
  859. <caption id="caption64" class="cell_1" style="left:217px; top:4px; width:69px; height:23px; text-align:center; vertical-align:middle; ">이전심결</caption>
  860. <input id="input85" ref="/root/main/list03/gridpiehf502_2/jrmcstotamtsum" class="input_default" format="#,###" style="left:218px; top:68px; width:68px; height:19px; text-align:right; "/>
  861. <caption id="caption65" class="cell_1" style="left:4px; top:88px; width:140px; height:19px; text-align:right; vertical-align:middle; ">본인부담금</caption>
  862. <input id="input86" ref="/root/main/list03/gridpiehf502_2/caownbamt" class="input_default" format="#,###" style="left:147px; top:88px; width:68px; height:19px; text-align:right; "/>
  863. <caption id="caption66" class="cell_1" style="left:4px; top:248px; width:140px; height:19px; text-align:right; vertical-align:middle; ">수급권확인대상건수</caption>
  864. <input id="input88" ref="/root/main/list03/gridpiehf502_2/jrownaddbamt" class="input_default" format="#,###" style="left:218px; top:48px; width:68px; height:19px; text-align:right; "/>
  865. <caption id="caption67" class="cell_1" style="left:4px; top:28px; width:140px; height:19px; text-align:right; vertical-align:middle; ">본인부담환급금</caption>
  866. <input id="input89" ref="/root/main/list03/gridpiehf502_2/caownbrtnamt" class="input_default" format="#,###" style="left:147px; top:28px; width:68px; height:19px; text-align:right; "/>
  867. <input id="input91" ref="/root/main/list03/gridpiehf502_2/jrownbamt" class="input_default" format="#,###" style="left:218px; top:88px; width:68px; height:19px; text-align:right; "/>
  868. <input id="input92" ref="/root/main/list03/gridpiehf502_2/casecuinstbamt" class="input_default" format="#,###" style="left:147px; top:148px; width:68px; height:19px; text-align:right; "/>
  869. <caption id="caption68" class="cell_1" style="left:4px; top:68px; width:140px; height:19px; text-align:right; vertical-align:middle; ">의료급여비용총액</caption>
  870. <line id="line62" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
  871. <caption id="caption69" class="cell_1" style="left:4px; top:328px; width:140px; height:19px; text-align:right; vertical-align:middle; ">정산심사결과인정건수</caption>
  872. <input id="input93" ref="/root/main/list03/gridpiehf502_2/jrownbrtnamt" class="input_default" format="#,###" style="left:218px; top:28px; width:68px; height:19px; text-align:right; "/>
  873. <input id="input94" ref="/root/main/list03/gridpiehf502_2/cahandicaprfund" class="input_default" format="#,###" style="left:147px; top:128px; width:68px; height:19px; text-align:right; "/>
  874. <caption id="caption70" class="cell_1" style="left:4px; top:148px; width:140px; height:19px; text-align:right; vertical-align:middle; ">보장기관부담금</caption>
  875. <caption id="caption71" class="cell_1" style="left:4px; top:268px; width:140px; height:19px; text-align:right; vertical-align:middle; ">건수</caption>
  876. <input id="input95" ref="/root/main/list03/gridpiehf502_2/jrsecuinstbamt" class="input_default" format="#,###" style="left:218px; top:148px; width:68px; height:19px; text-align:right; "/>
  877. <input id="input96" ref="/root/main/list03/gridpiehf502_2/cadeciamt" class="input_default" format="#,###" style="left:147px; top:168px; width:68px; height:19px; text-align:right; "/>
  878. <caption id="caption72" class="cell_1" style="left:4px; top:128px; width:140px; height:19px; text-align:right; vertical-align:middle; ">장애인의료비</caption>
  879. <line id="line64" class="line_2" style="x1:4px; y1:69px; x2:285px; y2:69px; "/>
  880. <caption id="caption73" class="cell_1" style="left:4px; top:308px; width:140px; height:19px; text-align:right; vertical-align:middle; ">정산심사결과인정금액</caption>
  881. <input id="input97" ref="/root/main/list03/gridpiehf502_2/casubtamt" class="input_default" format="#,###" style="left:147px; top:108px; width:68px; height:19px; text-align:right; "/>
  882. <caption id="caption74" class="cell_1" style="left:4px; top:168px; width:140px; height:19px; text-align:right; vertical-align:middle; ">심사결정액</caption>
  883. <caption id="caption93" class="cell_1" style="left:4px; top:108px; width:140px; height:19px; text-align:right; vertical-align:middle; ">대불금</caption>
  884. <input id="input124" class="input_default" style="left:218px; top:288px; width:68px; height:19px; "/>
  885. <input id="input1" class="input_default" style="left:218px; top:328px; width:69px; height:19px; "/>
  886. <input id="input2" class="input_default" style="left:218px; top:308px; width:69px; height:19px; "/>
  887. <input id="input87" ref="/root/main/list03/gridpiehf502_2/cadruglimitdiffamtsum" class="input_default" format="#,###" style="left:218px; top:208px; width:68px; height:19px; text-align:right; "/>
  888. <caption id="caption4" class="cell_1" style="left:4px; top:208px; width:140px; height:19px; text-align:right; vertical-align:middle; ">약제상한차액총액</caption>
  889. <input id="input90" ref="/root/main/list03/gridpiehf502_2/jrdruglimitdiffamtsum" class="input_default" format="#,###" style="left:147px; top:208px; width:68px; height:19px; text-align:right; "/>
  890. <input id="input117" ref="/root/main/list03/gridpiehf502_2/capatmcstotamtsum" class="input_default" format="#,###" style="left:218px; top:228px; width:68px; height:19px; text-align:right; "/>
  891. <caption id="caption6" class="cell_1" style="left:4px; top:228px; width:140px; height:19px; text-align:right; vertical-align:middle; ">수진자요양급여비용총액</caption>
  892. <input id="input118" ref="/root/main/list03/gridpiehf502_2/jrpatmcstotamtsum" class="input_default" format="#,###" style="left:147px; top:228px; width:68px; height:19px; text-align:right; "/>
  893. <input id="input139" ref="/root/main/list03/gridpiehf502_2/cablwtotownamt" class="input_default" format="#,###" style="left:147px; top:368px; width:68px; height:19px; text-align:right; "/>
  894. <input id="input140" ref="/root/main/list03/gridpiehf502_2/jrblwownbamt" class="input_default" format="#,###" style="left:218px; top:388px; width:68px; height:19px; text-align:right; "/>
  895. <caption id="caption86" class="cell_1" style="left:30px; top:368px; width:114px; height:19px; text-align:right; vertical-align:middle; ">총진료비</caption>
  896. <input id="input141" ref="/root/main/list03/gridpiehf502_2/castfaddbamt" class="input_default" style="left:147px; top:488px; width:69px; height:19px; text-align:right; "/>
  897. <input id="input142" ref="/root/main/list03/gridpiehf502_2/cablwownaddbamt" class="input_default" format="(-)#,###" style="left:147px; top:428px; width:68px; height:19px; text-align:right; "/>
  898. <caption id="caption91" class="cell_1" style="left:4px; top:368px; width:25px; height:99px; text-align:center; vertical-align:middle; ">
  899. <![CDATA[100
  900. /
  901. 100
  902. 미만]]>
  903. </caption>
  904. <caption id="caption102" class="cell_1" style="left:30px; top:448px; width:114px; height:19px; text-align:right; vertical-align:middle; ">본인부담환급금</caption>
  905. <input id="input143" ref="/root/main/list03/gridpiehf502_2/jrstfaddbamt" class="input_default" format="(-)#,###" style="left:218px; top:488px; width:68px; height:19px; text-align:right; "/>
  906. <input id="input144" ref="/root/main/list03/gridpiehf502_2/cablwownbamt" class="input_default" format="#,###" style="left:147px; top:388px; width:68px; height:19px; text-align:right; "/>
  907. <input id="input145" ref="/root/main/list03/gridpiehf502_2/jrblwownaddbamt" class="input_default" format="(-)#,###" style="left:218px; top:428px; width:68px; height:19px; text-align:right; "/>
  908. <line id="line58" class="line_3" style="x1:4px; y1:509px; x2:286px; y2:509px; "/>
  909. <input id="input146" ref="/root/main/list03/gridpiehf502_2/jrblwownbrtnamt" class="input_default" format="(-)#,###" style="left:218px; top:448px; width:68px; height:19px; text-align:right; "/>
  910. <input id="input147" ref="/root/main/list03/gridpiehf502_2/cablwinsuclamamt" class="input_default" style="left:147px; top:408px; width:68px; height:19px; text-align:right; "/>
  911. <input id="input148" ref="/root/main/list03/gridpiehf502_2/cablwownbrtnamt" class="input_default" style="left:147px; top:448px; width:69px; height:19px; text-align:right; "/>
  912. <input id="input149" ref="/root/main/list03/gridpiehf502_2/castfrtnamt" class="input_default" format="(-)#,###" style="left:147px; top:468px; width:68px; height:19px; text-align:right; "/>
  913. <input id="input150" ref="/root/main/list03/gridpiehf502_2/jrblwinsuclamamt" class="input_default" style="left:218px; top:408px; width:68px; height:19px; text-align:right; "/>
  914. <input id="input151" ref="/root/main/list03/gridpiehf502_2/jrblwtotownamt" class="input_default" format="#,###" style="left:218px; top:368px; width:68px; height:19px; text-align:right; "/>
  915. <caption id="caption103" class="cell_1" style="left:30px; top:408px; width:114px; height:19px; text-align:right; vertical-align:middle; ">청구액</caption>
  916. <caption id="caption104" class="cell_1" style="left:30px; top:388px; width:114px; height:19px; text-align:right; vertical-align:middle; ">본인부담금</caption>
  917. <caption id="caption105" class="cell_1" style="left:3px; top:468px; width:140px; height:19px; text-align:right; vertical-align:middle; ">상계환급금</caption>
  918. <caption id="caption106" class="cell_1" style="left:30px; top:428px; width:114px; height:19px; text-align:right; vertical-align:middle; ">본인추가환급금</caption>
  919. <input id="input152" ref="/root/main/list03/gridpiehf502_2/jrstfrtnamt" class="input_default" format="(-)#,###" style="left:218px; top:468px; width:68px; height:19px; text-align:right; "/>
  920. <caption id="caption107" class="cell_1" style="left:3px; top:488px; width:140px; height:19px; text-align:right; vertical-align:middle; ">상계추가부담금</caption>
  921. </case>
  922. <case id="case3">
  923. <input id="input99" class="input_default" style="left:147px; top:55px; width:68px; height:19px; "/>
  924. <input id="input100" ref="/root/main/list03/gridpiehf502_3/caprcptims" class="input_default" format="#,###" style="left:147px; top:155px; width:68px; height:19px; text-align:right; "/>
  925. <line id="line65" class="line_2" style="x1:4px; y1:126px; x2:285px; y2:126px; "/>
  926. <caption id="caption76" class="cell_1" style="left:145px; top:4px; width:71px; height:23px; text-align:center; vertical-align:middle; ">정산심결</caption>
  927. <caption id="caption77" class="cell_1" style="left:4px; top:153px; width:140px; height:23px; text-align:right; vertical-align:middle; ">처방횟수</caption>
  928. <line id="line67" class="line_2" style="x1:4px; y1:151px; x2:285px; y2:151px; "/>
  929. <line id="line68" class="line_2" style="x1:4px; y1:26px; x2:286px; y2:26px; "/>
  930. <input id="input104" ref="/root/main/list03/gridpiehf502_3/jrspclmark" class="input_default" style="left:218px; top:80px; width:68px; height:19px; "/>
  931. <input id="input106" ref="/root/main/list03/gridpiehf502_3/jrprcptims" class="input_default" format="#,###" style="left:218px; top:155px; width:68px; height:19px; text-align:right; "/>
  932. <line id="line71" class="line_2" style="x1:4px; y1:51px; x2:285px; y2:51px; "/>
  933. <caption id="caption81" class="cell_1" style="left:4px; top:53px; width:140px; height:23px; text-align:right; vertical-align:middle; ">조정합계 II</caption>
  934. <input id="input107" ref="/root/main/list03/gridpiehf502_3/caindayno" class="input_default" format="#,###" style="left:147px; top:105px; width:68px; height:19px; text-align:right; "/>
  935. <input id="input108" ref="/root/main/list03/gridpiehf502_3/camedcaredayno" class="input_default" format="#,###" style="left:147px; top:130px; width:68px; height:19px; text-align:right; "/>
  936. <caption id="caption83" class="cell_1" style="left:217px; top:4px; width:69px; height:23px; text-align:center; vertical-align:middle; ">이전심결</caption>
  937. <caption id="caption84" class="cell_1" style="left:4px; top:128px; width:140px; height:23px; text-align:right; vertical-align:middle; ">요양급여일수</caption>
  938. <line id="line73" class="line_2" style="x1:4px; y1:76px; x2:285px; y2:76px; "/>
  939. <caption id="caption85" class="cell_1" style="left:4px; top:103px; width:140px; height:23px; text-align:right; vertical-align:middle; ">입원[내원]일수</caption>
  940. <input id="input114" ref="/root/main/list03/gridpiehf502_3/jradjtsum2" class="input_default" format="#,###" style="left:218px; top:55px; width:68px; height:19px; text-align:right; "/>
  941. <input id="input115" ref="/root/main/list03/gridpiehf502_3/jrmedcaredayno" class="input_default" format="#,###" style="left:218px; top:130px; width:68px; height:19px; text-align:right; "/>
  942. <input id="input116" class="input_default" style="left:147px; top:30px; width:68px; height:19px; "/>
  943. <line id="line75" class="line_3" style="x1:4px; y1:176px; x2:286px; y2:176px; "/>
  944. <caption id="caption87" class="cell_1" style="left:4px; top:28px; width:140px; height:23px; text-align:right; vertical-align:middle; ">조정합계 I</caption>
  945. <caption id="caption88" class="cell_1" style="left:4px; top:4px; width:140px; height:23px; vertical-align:middle; "/>
  946. <caption id="caption89" class="cell_1" style="left:4px; top:78px; width:140px; height:23px; text-align:right; vertical-align:middle; ">특정기호</caption>
  947. <input id="input121" ref="/root/main/list03/gridpiehf502_3/jrindayno" class="input_default" format="#,###" style="left:218px; top:105px; width:68px; height:19px; text-align:right; "/>
  948. <input id="input122" ref="/root/main/list03/gridpiehf502_3/caspclmark" class="input_default" style="left:147px; top:80px; width:68px; height:19px; "/>
  949. <line id="line79" class="line_2" style="x1:4px; y1:101px; x2:285px; y2:101px; "/>
  950. <line id="line80" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
  951. <input id="input125" ref="/root/main/list03/gridpiehf502_3/jradjtsum1" class="input_default" format="#,###" style="left:218px; top:30px; width:68px; height:19px; text-align:right; "/>
  952. </case>
  953. <case id="case4">
  954. <line id="line70" class="line_2" style="x1:4px; y1:76px; x2:285px; y2:76px; "/>
  955. <caption id="caption75" class="cell_1" style="left:4px; top:53px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당부</caption>
  956. <caption id="caption78" class="cell_1" style="left:4px; top:203px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당전화번호</caption>
  957. <line id="line72" class="line_3" style="x1:4px; y1:226px; x2:286px; y2:226px; "/>
  958. <line id="line74" class="line_2" style="x1:4px; y1:176px; x2:285px; y2:176px; "/>
  959. <caption id="caption90" class="cell_1" style="left:4px; top:128px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당자번호</caption>
  960. <line id="line77" class="line_2" style="x1:4px; y1:126px; x2:285px; y2:126px; "/>
  961. <caption id="caption92" class="cell_1" style="left:4px; top:103px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당자성명</caption>
  962. <line id="line82" class="line_2" style="x1:4px; y1:201px; x2:285px; y2:201px; "/>
  963. <line id="line83" class="line_2" style="x1:4px; y1:151px; x2:285px; y2:151px; "/>
  964. <line id="line84" class="line_2" style="x1:4px; y1:101px; x2:285px; y2:101px; "/>
  965. <caption id="caption94" class="cell_1" style="left:4px; top:28px; width:140px; height:23px; text-align:right; vertical-align:middle; ">심사구분</caption>
  966. <line id="line85" class="line_2" style="x1:4px; y1:26px; x2:286px; y2:26px; "/>
  967. <caption id="caption96" class="cell_1" style="left:4px; top:4px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산연번</caption>
  968. <caption id="caption97" class="cell_1" style="left:4px; top:153px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산업무코드</caption>
  969. <caption id="caption98" class="cell_1" style="left:4px; top:78px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당조</caption>
  970. <line id="line88" class="line_2" style="x1:4px; y1:51px; x2:285px; y2:51px; "/>
  971. <caption id="caption99" class="cell_1" style="left:4px; top:178px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산업무명</caption>
  972. <line id="line87" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
  973. <input id="input102" ref="/root/main/list02/gridpiehf502_4/calcyearseqno" class="input_default" style="left:147px; top:6px; width:139px; height:19px; "/>
  974. <input id="input101" ref="/root/main/list02/gridpiehf502_4/judgflag" class="input_default" style="left:147px; top:29px; width:139px; height:19px; "/>
  975. <input id="input103" ref="/root/main/list02/gridpiehf502_4/calcchrgjonm" class="input_default" style="left:147px; top:79px; width:139px; height:19px; "/>
  976. <input id="input105" ref="/root/main/list02/gridpiehf502_4/calcchrgdeptnm" class="input_default" style="left:147px; top:55px; width:139px; height:19px; "/>
  977. <input id="input109" ref="/root/main/list02/gridpiehf502_4/calcchrgno" class="input_default" style="left:147px; top:129px; width:139px; height:19px; "/>
  978. <input id="input110" ref="/root/main/list02/gridpiehf502_4/calcchrgnm" class="input_default" style="left:147px; top:105px; width:139px; height:19px; "/>
  979. <input id="input111" ref="/root/main/list02/gridpiehf502_4/calcbiznm" class="input_default" style="left:147px; top:179px; width:139px; height:19px; "/>
  980. <input id="input112" ref="/root/main/list02/gridpiehf502_4/calcbizcd" class="input_default" style="left:147px; top:154px; width:139px; height:19px; "/>
  981. <input id="input113" ref="/root/main/list02/gridpiehf502_4/calcchrgtel" class="input_default" style="left:147px; top:204px; width:139px; height:19px; "/>
  982. </case>
  983. </switch>
  984. <button id="btn_acptno" class="btn_sw" group="tab" selected="true" style="left:0px; top:101px; width:70px; height:22px; ">
  985. <caption>청구서</caption>
  986. <toggle case="case1" ev:event="onclick"/>
  987. </button>
  988. <button id="btn_calcyearseqno" class="btn_sw" group="tab" style="left:70px; top:101px; width:70px; height:22px; ">
  989. <caption>명세서1</caption>
  990. <toggle case="case2" ev:event="onclick"/>
  991. </button>
  992. <button id="btn_calcyearseqnoinfo" class="btn_sw" group="tab" style="left:140px; top:101px; width:89px; height:22px; ">
  993. <caption>명세서2</caption>
  994. <toggle case="case3" ev:event="onclick"/>
  995. </button>
  996. <button id="btn_chrgnm" class="btn_sw" group="tab" style="left:229px; top:101px; width:62px; height:22px; ">
  997. <caption>담당자</caption>
  998. <toggle case="case4" ev:event="onclick"/>
  999. </button>
  1000. <caption id="caption39" class="tit_2" style="left:295px; top:654px; width:127px; height:14px; ">F050.5 (위탁검사)</caption>
  1001. <line id="line30" class="line_1" style="x1:295px; y1:669px; x2:1194px; y2:669px; "/>
  1002. <button id="button7" class="btn2_letter4" style="left:1130px; top:309px; width:64px; height:19px; ">
  1003. <caption>엑셀저장</caption>
  1004. <script type="javascript" ev:event="onclick">
  1005. <![CDATA[
  1006. var fileName = window.fileDialog("save", ",", false, "의료급여정산내역서(F050.3) 조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1007. if (fileName != "") {
  1008. grd_f503h.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1009. }
  1010. ]]>
  1011. </script>
  1012. </button>
  1013. <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  1014. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  1015. <button id="button1" class="btn1_letter2" navindex="3" style="left:1123px; top:8px; width:56px; height:22px; ">
  1016. <caption>조회</caption>
  1017. <script type="javascript" ev:event="DOMActivate">
  1018. <![CDATA[
  1019. fSearch();
  1020. ]]>
  1021. </script>
  1022. </button>
  1023. <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
  1024. <caption id="caption31" style="left:386px; top:11px; width:15px; height:15px; ">~</caption>
  1025. <select1 id="rdo_ioflag" ref="/root/send/send01/ioflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:690px; top:10px; width:135px; height:17px; border-style:none; ">
  1026. <choices>
  1027. <item>
  1028. <label>전체</label>
  1029. <value>A</value>
  1030. </item>
  1031. <item>
  1032. <label>입원</label>
  1033. <value>I</value>
  1034. </item>
  1035. <item>
  1036. <label>외래</label>
  1037. <value>O</value>
  1038. </item>
  1039. </choices>
  1040. </select1>
  1041. <caption id="caption79" class="search_name" style="left:600px; top:10px; width:90px; height:17px; ">내원유형 :</caption>
  1042. <caption id="caption30" class="search_name" style="left:600px; top:35px; width:90px; height:17px; ">청구분야 :</caption>
  1043. <caption id="caption80" class="search_name" style="left:372px; top:35px; width:90px; height:17px; ">청구번호 :</caption>
  1044. <select1 id="combo1" ref="/root/send/send01/ordfildcd" class="combo_search" appearance="minimal" style="left:690px; top:35px; width:80px; height:19px; ">
  1045. <choices>
  1046. <itemset nodeset="/root/init/P0235list/P0235">
  1047. <label ref="cdnm"/>
  1048. <value ref="cdid"/>
  1049. </itemset>
  1050. </choices>
  1051. </select1>
  1052. <caption id="caption82" class="search_name" style="left:5px; top:35px; width:90px; height:17px; ">접수번호 :</caption>
  1053. <input id="ipt_fromterm" ref="/root/send/send01/fromterm" class="input_search" navindex="1" inputtype="date" style="left:242px; top:10px; width:85px; height:19px; ">
  1054. <script type="javascript" ev:event="DOMFocusOut">
  1055. <![CDATA[
  1056. model.setValue("/root/send/send01/toterm",model.getValue("/root/send/send01/fromterm"));
  1057. model.refresh();
  1058. pidfGetClamdg();
  1059. fChkClamym();
  1060. ]]>
  1061. </script>
  1062. </input>
  1063. <input id="ipt_toterm" ref="/root/send/send01/toterm" class="input_search" navindex="2" inputtype="date" style="left:400px; top:10px; width:85px; height:19px; ">
  1064. <script type="javascript" ev:event="DOMFocusOut">
  1065. <![CDATA[
  1066. pidfGetClamdg();
  1067. fChkClamym();
  1068. ]]>
  1069. </script>
  1070. </input>
  1071. <select1 id="rdo_termflag" ref="/root/send/send01/termflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:5px; top:10px; width:230px; height:17px; border-style:none; ">
  1072. <choices>
  1073. <item>
  1074. <label>정산심사차수</label>
  1075. <value>1</value>
  1076. </item>
  1077. <item>
  1078. <label>청구년월</label>
  1079. <value>2</value>
  1080. </item>
  1081. <item>
  1082. <label>통보일자</label>
  1083. <value>3</value>
  1084. </item>
  1085. </choices>
  1086. <script type="javascript" ev:event="xforms-value-changed">
  1087. <![CDATA[
  1088. model.setValue("/root/send/send01/fromterm", "");
  1089. model.setValue("/root/send/send01/toterm", "");
  1090. ipt_fromterm.refresh();
  1091. ipt_toterm.refresh();
  1092. if (rdo_termflag.value == "1") {
  1093. ipt_fromterm.attribute("inputtype") = "";
  1094. ipt_toterm.attribute("inputtype") = "";
  1095. ipt_fromterm.attribute("format") = "";
  1096. ipt_toterm.attribute("format") = "";
  1097. ipt_fromterm.attribute("maxlength") = 8;
  1098. ipt_toterm.attribute("maxlength") = 8;
  1099. cmb_clamdgfrom.value = "";
  1100. cmb_clamdgto.value = "";
  1101. cmb_clamdgfrom.disabled = true;
  1102. cmb_clamdgto.disabled = true;
  1103. }
  1104. else if (rdo_termflag.value == "2") {
  1105. ipt_fromterm.attribute("inputtype") = "date";
  1106. ipt_toterm.attribute("inputtype") = "date";
  1107. ipt_fromterm.attribute("format") = "yyyy-mm";
  1108. ipt_toterm.attribute("format") = "yyyy-mm";
  1109. ipt_fromterm.attribute("maxlength") = 6;
  1110. ipt_toterm.attribute("maxlength") = 6;
  1111. cmb_clamdgfrom.disabled = false;
  1112. cmb_clamdgto.disabled = false;
  1113. cmb_clamdgfrom.select(0);
  1114. cmb_clamdgto.select(0);
  1115. }
  1116. else {
  1117. ipt_fromterm.attribute("inputtype") = "date";
  1118. ipt_toterm.attribute("inputtype") = "date";
  1119. ipt_fromterm.attribute("format") = "yyyy-mm-dd";
  1120. ipt_toterm.attribute("format") = "yyyy-mm-dd";
  1121. ipt_fromterm.attribute("maxlength") = 8;
  1122. ipt_toterm.attribute("maxlength") = 8;
  1123. cmb_clamdgfrom.value = "";
  1124. cmb_clamdgto.value = "";
  1125. cmb_clamdgfrom.disabled = true;
  1126. cmb_clamdgto.disabled = true;
  1127. }
  1128. ipt_fromterm.disabled = false;
  1129. ipt_toterm.disabled = false;
  1130. ipt_fromterm.refresh();
  1131. ipt_toterm.refresh();
  1132. model.setFocus("ipt_fromterm");
  1133. ]]>
  1134. </script>
  1135. </select1>
  1136. <button id="button4" class="btn2_letter3" style="left:1124px; top:35px; width:53px; height:19px; ">
  1137. <caption>초기화</caption>
  1138. <script type="javascript" ev:event="onclick">
  1139. <![CDATA[
  1140. model.resetInstanceNode("/root/send");
  1141. model.setValue("/root/send/send01/termflag","1");
  1142. model.setValue("/root/send/send01/ioflag","A");
  1143. model.removeNodeset("/root/main/list01");
  1144. model.removeNodeset("/root/main/list02");
  1145. model.removeNodeset("/root/main/list03");
  1146. model.removeNodeset("/root/main/list04");
  1147. model.removeNodeset("/root/hidden/list01");
  1148. btn_acptno.selected = true;
  1149. model.toggle("case1");
  1150. cmb_clamdgfrom.value = "";
  1151. cmb_clamdgto.value = "";
  1152. cmb_clamdgfrom.disabled = true;
  1153. cmb_clamdgto.disabled = true;
  1154. model.setFocus("ipt_fromterm");
  1155. model.refresh();
  1156. ]]>
  1157. </script>
  1158. </button>
  1159. <input id="ipt_acptno" ref="/root/send/send01/acptno" class="input_search" style="left:95px; top:35px; width:80px; height:19px; ">
  1160. <script type="javascript" ev:event="onkeyup">
  1161. <![CDATA[
  1162. if (event.keyCode == "13") {
  1163. setInputNodeCurText();
  1164. if (ipt_acptno.value == "") {
  1165. cmb_clamno.value = "";
  1166. model.setValue("/root/send/send01/clamno","");
  1167. model.removenode("/root/hidden/list01");
  1168. // model.removenode("/root/main/list01");
  1169. // model.removenode("/root/main/list02");
  1170. // model.removenode("/root/main/list03");
  1171. model.refresh();
  1172. return false;
  1173. //search();
  1174. }
  1175. else {
  1176. var retVal = null;
  1177. // 보험유형 인스턴스를 만든 후 값을 강제로 세팅해준다. 의료급여정산내역 화면이기 때문에 보험유형은 당연히 21
  1178. model.makeNode("/root/send/send01/insukind");
  1179. model.setValue("/root/send/send01/insukind", "21");
  1180. submit("TRPIE01504");
  1181. if (cmb_clamno.length == 1) {
  1182. cmb_clamno.select(0); // 청구번호 콤보 세팅
  1183. // if (cmb_ordfildcd.length == 1) {
  1184. // cmb_ordfildcd.select(0); // 청구분야 콤보 세팅
  1185. // model.refresh();
  1186. // search();
  1187. // }
  1188. }
  1189. else if (cmb_clamno.length == 0) {
  1190. model.removenode("/root/main/list01");
  1191. model.removenode("/root/main/list02");
  1192. model.removenode("/root/main/list03");
  1193. model.refresh();
  1194. }
  1195. else {
  1196. model.setFocus("cmb_clamno");
  1197. }
  1198. }
  1199. fSearch();
  1200. }
  1201. ]]>
  1202. </script>
  1203. </input>
  1204. <select1 id="cmb_clamno" ref="/root/send/send01/clamno" class="combo_search" appearance="minimal" style="left:462px; top:35px; width:80px; height:19px; ">
  1205. <choices>
  1206. <itemset nodeset="/root/hidden/list01/claminfo">
  1207. <label ref="clamno"/>
  1208. <value ref="clamno"/>
  1209. </itemset>
  1210. </choices>
  1211. </select1>
  1212. <select1 id="cmb_clamflag" ref="/root/send/send01/clamflag" class="combo_search" appearance="minimal" style="left:980px; top:10px; width:95px; height:19px; ">
  1213. <choices>
  1214. <itemset nodeset="/root/init/P0155list/P0155">
  1215. <label ref="cdnm"/>
  1216. <value ref="cdid"/>
  1217. </itemset>
  1218. </choices>
  1219. </select1>
  1220. <caption id="caption5" class="search_name" style="left:890px; top:10px; width:86px; height:17px; ">청구구분 :</caption>
  1221. <select1 id="cmb_clamdgto" ref="/root/send/send01/clamdgto" class="combo_search" appearance="minimal" style="left:487px; top:10px; width:55px; height:19px; ">
  1222. <choices>
  1223. <itemset nodeset="/root/init/clamdgto/clamdglist">
  1224. <label ref="clamdgnm"/>
  1225. <value ref="clamdgcd"/>
  1226. </itemset>
  1227. </choices>
  1228. <script type="javascript" ev:event="xforms-value-changed">
  1229. <![CDATA[
  1230. model.setValue("/root/send/send01/clamdgfrom", model.getValue("/root/send/send01/clamdgto"));
  1231. model.refresh();
  1232. ]]>
  1233. </script>
  1234. </select1>
  1235. <select1 id="cmb_clamdgfrom" ref="/root/send/send01/clamdgfrom" class="combo_search" appearance="minimal" style="left:329px; top:10px; width:55px; height:19px; ">
  1236. <choices>
  1237. <itemset nodeset="/root/init/clamdgfrom/clamdglist">
  1238. <label ref="clamdgnm"/>
  1239. <value ref="clamdgcd"/>
  1240. </itemset>
  1241. </choices>
  1242. <script type="javascript" ev:event="xforms-value-changed">
  1243. <![CDATA[
  1244. model.setValue("/root/send/send01/clamdgto", model.getValue("/root/send/send01/clamdgfrom"));
  1245. model.refresh();
  1246. ]]>
  1247. </script>
  1248. </select1>
  1249. </group>
  1250. <datagrid id="grd_f501h" nodeset="/root/main/list01/gridpiehf501" class="datagrid2" caption="정산&#xA;심사차수^정산&#xA;통보일자^정산연번^청구번호^내원&#xA;유형^분야^접수번호^묶음&#xA;번호^심사차수^진료월^청구단위구분^심사&#xA;구분^결정차액^장애인차액^대불금차액^인정&#xA;건수^인정금액^약제상한차액&#xA;인정금액^서식&#xA;번호^VER^청구서&#xA;일련번호^의료급여&#xA;기관기호^지원^비고^caption1^caption2^caption3" colsep="^" colwidth="65, 80, 70, 75, 40, 40, 70, 50, 70, 60, 100, 50, 80, 80, 80, 50, 80, 100, 50, 40, 60, 80, 80, 100, 100, 100, 100" dataheight="23" defaultrows="2" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:295px; top:100px; width:899px; height:130px; ">
  1251. <col ref="calcnotino" style="text-align:center; "/>
  1252. <col ref="calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  1253. <col ref="calcyearseqno" visibility="hidden" style="text-align:center; "/>
  1254. <col ref="clamno" style="text-align:center; "/>
  1255. <col ref="ioflag" style="text-align:center; "/>
  1256. <col ref="ordfildcd" style="text-align:center; "/>
  1257. <col ref="acptno" style="text-align:center; "/>
  1258. <col ref="setno" style="text-align:center; "/>
  1259. <col ref="judgdg" style="text-align:center; "/>
  1260. <col ref="ordym" format="yyyy-mm" style="text-align:center; "/>
  1261. <col ref="clamflag" style="text-align:center; "/>
  1262. <col ref="judgflag" style="text-align:center; "/>
  1263. <col ref="cadecidifamtsum" format="(-)#,###" style="text-align:right; "/>
  1264. <col ref="handicaprdifamt" format="(-)#,###" style="text-align:right; "/>
  1265. <col ref="subtdifamt" format="(-)#,###" style="text-align:right; "/>
  1266. <col ref="cajrsltrcogcntsum" style="text-align:right; "/>
  1267. <col ref="cajrsltrcogamtsum" format="(-)#,###" style="text-align:right; "/>
  1268. <col ref="druglimitdiffamtrcogadjtsum" format="(-)#,###" style="text-align:right; "/>
  1269. <col ref="docuno" style="text-align:center; "/>
  1270. <col ref="verflag" style="text-align:center; "/>
  1271. <col ref="clamseqno" style="text-align:center; "/>
  1272. <col ref="corpmark" style="text-align:center; "/>
  1273. <col ref="suppcd" style="text-align:center; "/>
  1274. <col ref="rem" type="inputbutton" visibility="hidden"/>
  1275. <col ref="instcd" visibility="hidden"/>
  1276. <col ref="calcyearseqno" visibility="hidden"/>
  1277. <col ref="flag" visibility="hidden"/>
  1278. <script type="javascript" ev:event="onclick">
  1279. <![CDATA[
  1280. var rtn = null;
  1281. if (grd_f501h.isCell(event.target) && grd_f501h.row >= grd_f501h.fixedRows) {
  1282. var row = grd_f501h.selectedRow(0);
  1283. /*var t1 = grd_f501h.textmatrix(row,0);
  1284. var t2 = grd_f501h.textmatrix(row,1);
  1285. var t3 = grd_f501h.textmatrix(row,4);
  1286. var t4 = grd_f501h.textmatrix(row,14);
  1287. var t5 = grd_f501h.textmatrix(row,17);*/
  1288. model.setValue("instance('instance1')/send/send02/calcnotino", model.getValue("/root/main/list01/gridpiehf501["+row+"]/calcnotino"));
  1289. model.setValue("instance('instance1')/send/send02/calcnotidd", model.getValue("/root/main/list01/gridpiehf501["+row+"]/calcnotidd"));
  1290. model.setValue("instance('instance1')/send/send02/acptno", model.getValue("/root/main/list01/gridpiehf501["+row+"]/acptno"));
  1291. model.setValue("instance('instance1')/send/send02/clamseqno", model.getValue("/root/main/list01/gridpiehf501["+row+"]/clamseqno"));
  1292. model.setValue("instance('instance1')/send/send02/instcd", model.getValue("/root/main/list01/gridpiehf501["+row+"]/instcd"));
  1293. model.setValue("instance('instance1')/send/send02/calcyearseqno", model.getValue("/root/main/list01/gridpiehf501["+row+"]/calcyearseqno"));
  1294. model.resetInstanceNode("/root/main/list02");
  1295. model.resetInstanceNode("/root/main/list03");
  1296. model.refresh();
  1297. /*model.removeNodeset("/root/main/list02/gridpiehf502_1");
  1298. model.removeNodeset("/root/main/list03/gridpiehf502_2");
  1299. model.removeNodeset("/root/main/list03/gridpiehf402_3");
  1300. model.removeNodeset("/root/main/list02/gridpiehf402_4");
  1301. model.removeNodeset("/root/main/list02/gridpiehf403");
  1302. model.removeNodeset("/root/main/list03/gridpiehf404");
  1303. model.removeNodeset("/root/main/list03/gridpiehf405");*/
  1304. rtn = submit("TRPIE01502");
  1305. btn_acptno.selected = true;
  1306. model.toggle("case1");
  1307. }
  1308. ]]>
  1309. </script>
  1310. <script type="javascript" ev:event="onaftersort">
  1311. <![CDATA[
  1312. grd_f501h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  1313. ]]>
  1314. </script>
  1315. <script type="javascript" ev:event="onmousedown">
  1316. <![CDATA[
  1317. if (event.button == 3) {
  1318. if (grd_f501h.isCell(event.target) && grd_f501h.mouseRow >= grd_f501h.fixedrows) {
  1319. setPopupMenu("grd_f501h", false, "/root/popupdata/popupmenu/grd_f501h/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
  1320. }
  1321. }
  1322. ]]>
  1323. </script>
  1324. <script type="javascript" ev:event="DOMFocusOut">
  1325. <![CDATA[
  1326. initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
  1327. ]]>
  1328. </script>
  1329. <script type="javascript" ev:event="oncopy">
  1330. <![CDATA[
  1331. grid_oncopy();
  1332. ]]>
  1333. </script>
  1334. </datagrid>
  1335. <datagrid id="grd_f503h" nodeset="/root/main/list02/gridpiehf503" class="datagrid2" caption="정산연번^정산&#xA;일련번호^명일련^등록번호^수진자^종별구분^진료형태^구분^결정차액^장애인차액^대불금차액^주상병^진료개시일^비고^주민번호^보장기관기호^세대주^보장시설기호^정액&#xA;정율^처방내역 유무" colsep="^" colwidth="72, 60, 50, 60, 50, 130, 100, 40, 80, 80, 80, 50, 80, 100, 100, 85, 50, 100, 50, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:295px; top:334px; width:900px; height:146px; ">
  1336. <col ref="calcyearseqno" style="text-align:center; "/>
  1337. <col ref="calcseqno" style="text-align:center; "/>
  1338. <col ref="docuseqno" style="text-align:center; "/>
  1339. <col ref="pid" style="text-align:center; "/>
  1340. <col ref="patnm" style="text-align:center; "/>
  1341. <col ref="jongflag" style="text-align:center; "/>
  1342. <col ref="ordtype" style="text-align:center; "/>
  1343. <col ref="flag" style="text-align:center; "/>
  1344. <col ref="cadecidifamt" format="(-)#,###" style="text-align:right; "/>
  1345. <col ref="handicaprdifamt" format="(-)#,###" style="text-align:right; "/>
  1346. <col ref="subtdifamt" format="(-)#,###" style="text-align:right; "/>
  1347. <col ref="diagcd" style="text-align:center; "/>
  1348. <col ref="jrmedopendd" format="yyyy-mm-dd" style="text-align:center; "/>
  1349. <col ref="docuseqnorem" type="inputbutton">
  1350. <script type="javascript" ev:event="onbuttonclick">
  1351. <![CDATA[
  1352. var row = grd_f503h.row;
  1353. model.setValue("/root/send/rem/textno", model.getValue("/root/main/list03/gridpiehf503["+row+"]/rem"));
  1354. modal("SPPIE00200", "", "400", "400" ,"", "/root/send/rem/textno", "/root/send/textno");
  1355. ]]>
  1356. </script>
  1357. </col>
  1358. <col ref="juminno" format="999999-9999999" style="text-align:center; "/>
  1359. <col ref="secuinstmark" style="text-align:center; "/>
  1360. <col ref="hshdnm" style="text-align:center; "/>
  1361. <col ref="secuestbmark" style="text-align:center; "/>
  1362. <col ref="fixrateflag" style="text-align:center; "/>
  1363. <col ref="orderyn" style="text-align:center; "/>
  1364. <col ref="calcnotino" visibility="hidden"/>
  1365. <col ref="calcnotidd" visibility="hidden"/>
  1366. <col ref="acptno" visibility="hidden"/>
  1367. <col ref="clamseqno" visibility="hidden"/>
  1368. <col ref="instcd" visibility="hidden"/>
  1369. <script type="javascript" ev:event="onclick">
  1370. <![CDATA[
  1371. var rtn = null;
  1372. if (grd_f503h.isCell(event.target) && grd_f503h.row >= grd_f503h.fixedRows) {
  1373. var row = grd_f503h.selectedRow(0);
  1374. /*var t1= grd_f503h.textmatrix(row,0);
  1375. var t2= grd_f503h.textmatrix(row,1);
  1376. var t3= grd_f503h.textmatrix(row,2);
  1377. var t4= grd_f503h.textmatrix(row,17);
  1378. var t5= grd_f503h.textmatrix(row,18);
  1379. var t6= grd_f503h.textmatrix(row,19);
  1380. var t7= grd_f503h.textmatrix(row,20);
  1381. var t8= grd_f503h.textmatrix(row,21);*/
  1382. model.setValue( "instance('instance1')/send/send03/calcyearseqno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/calcyearseqno"));
  1383. model.setValue( "instance('instance1')/send/send03/calcseqno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/calcseqno"));
  1384. model.setValue( "instance('instance1')/send/send03/docuseqno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/docuseqno"));
  1385. model.setValue( "instance('instance1')/send/send03/calcnotino", model.getValue("/root/main/list02/gridpiehf503["+row+"]/calcnotino"));
  1386. model.setValue( "instance('instance1')/send/send03/calcnotidd", model.getValue("/root/main/list02/gridpiehf503["+row+"]/calcnotidd"));
  1387. model.setValue( "instance('instance1')/send/send03/acptno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/acptno"));
  1388. model.setValue( "instance('instance1')/send/send03/clamseqno", model.getValue("/root/main/list02/gridpiehf503["+row+"]/clamseqno"));
  1389. model.setValue( "instance('instance1')/send/send03/instcd", model.getValue("/root/main/list02/gridpiehf503["+row+"]/instcd"));
  1390. //model.removeNodeset("/root/main/list03");
  1391. model.resetInstanceNode("/root/main/list03");
  1392. model.refresh();
  1393. rtn = submit("TRPIE01503");
  1394. btn_calcyearseqno.selected = true;
  1395. model.toggle("case2");
  1396. }
  1397. ]]>
  1398. </script>
  1399. <script type="javascript" ev:event="onaftersort">
  1400. <![CDATA[
  1401. grd_f503h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  1402. ]]>
  1403. </script>
  1404. <script type="javascript" ev:event="oncopy">
  1405. <![CDATA[
  1406. grid_oncopy();
  1407. ]]>
  1408. </script>
  1409. </datagrid>
  1410. <datagrid id="grd_f504h" nodeset="/root/main/list03/gridpiehf504" caption="줄번호^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^비고^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^비고|줄번호^항목^조정사유^I,II 구분^코드^처방명칭^단가^일투^총투^인정금액^조정금액^약제상한차액인정^약제상한차액조정금^약제상한가^비고^항목^조정사유^I,II 항^코드^처방명칭^단가^일투^총투^인정금액^조정금액^약제상한차액인정^약제상한차액조정금^약제상한가^관련근거^비고" colsep="^" colwidth="59, 70, 70, 70, 100, 120, 70, 50, 50, 70, 70, 110, 115, 100, 130, 70, 70, 70, 100, 100, 70, 50, 50, 70, 70, 110, 115, 100, 100" dataheight="23" defaultrows="2" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:295px; top:504px; width:900px; height:146px; ">
  1411. <col ref="lnno" style="text-align:center; "/>
  1412. <col ref="caitem" style="text-align:center; "/>
  1413. <col ref="caadjtresn" style="text-align:center; "/>
  1414. <col ref="camatractflag" style="text-align:center; "/>
  1415. <col ref="cacd" style="text-align:center; "/>
  1416. <col ref="cahngnm"/>
  1417. <col ref="caunitcost" format="#,###" style="text-align:right; "/>
  1418. <col ref="cadayqtyrt" style="text-align:center; "/>
  1419. <col ref="catotqtyrt" style="text-align:center; "/>
  1420. <col ref="carcogamt" format="#,###" style="text-align:right; "/>
  1421. <col ref="caadjtamt" format="#,###" style="text-align:right; "/>
  1422. <col ref="jrdruglimitdiffamtrcogsum" format="#,###" style="text-align:right; "/>
  1423. <col ref="jrdruglimitdiffamtadjtsum" format="#,###" style="text-align:right; "/>
  1424. <col ref="jrlimitdiffamt" format="#,###" style="text-align:right; "/>
  1425. <col ref="cajrsltrem" type="inputbutton">
  1426. <script type="javascript" ev:event="onbuttonclick">
  1427. <![CDATA[
  1428. var row = grd_f504h.row;
  1429. model.setValue("/root/send/rem/textno", model.getValue("/root/main/list03/gridpiehf504["+(row-1)+"]/rem"));
  1430. modal("SPPIE00200", "", "400", "400" ,"", "/root/send/rem/textno", "/root/send/textno");
  1431. ]]>
  1432. </script>
  1433. </col>
  1434. <col ref="jritem" style="text-align:center; "/>
  1435. <col ref="jradjtresn" style="text-align:center; "/>
  1436. <col ref="jrmatractflag" style="text-align:center; "/>
  1437. <col ref="jrcd" style="text-align:center; "/>
  1438. <col ref="jrhngnm"/>
  1439. <col ref="jrunitcost" format="#,###" style="text-align:right; "/>
  1440. <col ref="jrdayqtyrt" style="text-align:center; "/>
  1441. <col ref="jrtotqtyrt" style="text-align:center; "/>
  1442. <col ref="jrrcogamt" format="#,###" style="text-align:right; "/>
  1443. <col ref="jradjtamt" format="#,###" style="text-align:right; "/>
  1444. <col ref="cadruglimitdiffamtrcogsum" format="#,###" style="text-align:right; "/>
  1445. <col ref="cadruglimitdiffamtadjtsum" format="#,###" style="text-align:right; "/>
  1446. <col ref="calimitdiffamt" format="#,###" style="text-align:right; "/>
  1447. <col ref="jrrelbase"/>
  1448. <script type="javascript" ev:event="oncopy">
  1449. <![CDATA[
  1450. grid_oncopy();
  1451. ]]>
  1452. </script>
  1453. </datagrid>
  1454. <datagrid id="grd_f505h" nodeset="/root/main/list03/gridpiehf505" caption="줄번호^코드^처방명칭^수탁기관기호^위탁검사직접지급금^처리코드^비고^비고" colsep="^" colwidth="59, 100, 100, 100, 121, 100, 280" dataheight="23" defaultrows="2" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:295px; top:674px; width:899px; height:67px; ">
  1455. <col ref="lnno" style="text-align:center; "/>
  1456. <col ref="cd" style="text-align:center; "/>
  1457. <col ref="hngnm"/>
  1458. <col ref="trustinstmark" style="text-align:center; "/>
  1459. <col ref="trudirecpamt" style="text-align:center; "/>
  1460. <col ref="tretcd" style="text-align:center; "/>
  1461. <col ref="rem" type="inputbutton">
  1462. <script type="javascript" ev:event="onbuttonclick">
  1463. <![CDATA[
  1464. var row = grd_f505h.row;
  1465. model.setValue("/root/send/rem/textno", model.getValue("/root/main/list03/gridpiehf505["+row+"]/rem"));
  1466. modal("SPPIE00200", "", "400", "400" ,"", "/root/send/rem/textno", "/root/send/textno");
  1467. ]]>
  1468. </script>
  1469. </col>
  1470. </datagrid>
  1471. </group>
  1472. </xhtml:body>
  1473. </xhtml:html>