SMPIE01400_요양급여정산내역서(F040)조회.xrw 90 KB

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