SMPIE01300_원외처방추가심사결과통보서(F080)조회.xrw 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>원외처방추가심사결과통보서(F080) 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <termflag>1</termflag>
  11. <fromterm/>
  12. <toterm/>
  13. <insuflag>1</insuflag>
  14. <acptno/>
  15. <chosflag>A</chosflag>
  16. <clamno/>
  17. <ordfildcd/>
  18. <sendf801>
  19. <calcjudgdg/>
  20. <acptno/>
  21. <clamseqno/>
  22. <calcnotidd/>
  23. <instcd/>
  24. </sendf801>
  25. <sendf803>
  26. <calcjudgdg/>
  27. <acptno/>
  28. <clamseqno/>
  29. <calcyearseqno/>
  30. <calcseqno/>
  31. <docuseqno/>
  32. <calcnotidd/>
  33. <instcd/>
  34. </sendf803>
  35. <send_clamno>
  36. <acptno/>
  37. </send_clamno>
  38. <summary/>
  39. <rem>
  40. <textno/>
  41. </rem>
  42. <send_lnno500>
  43. <termflag/>
  44. <fromjudgdg/>
  45. <tojudgdg/>
  46. <insuflag/>
  47. <acptno/>
  48. <chosflag/>
  49. <clamno/>
  50. <ordfildcd/>
  51. <scrflag/>
  52. </send_lnno500>
  53. <clamdgfrom/>
  54. <clamdgto/>
  55. <clamflag/>
  56. <clamym/>
  57. <ioflag/>
  58. </send>
  59. <popupdata>
  60. <popupmenu>
  61. <grd_f801h>
  62. <item>
  63. <name>원외처방추가심결 삭제</name>
  64. <func>fDeleteF080</func>
  65. </item>
  66. </grd_f801h>
  67. </popupmenu>
  68. </popupdata>
  69. <main>
  70. <list01>
  71. <gridpiehf801>
  72. <calcjudgdg/>
  73. <calcnotidd/>
  74. <insuflag/>
  75. <clamno/>
  76. <ioflag/>
  77. <ordfildcd/>
  78. <acptno/>
  79. <setno/>
  80. <judgdg/>
  81. <jrcntsum/>
  82. <jrramtsum/>
  83. <ordym/>
  84. <clamym/>
  85. <acptdd/>
  86. <clamflag/>
  87. <acptym/>
  88. <docuno/>
  89. <verflag/>
  90. <clamseqno/>
  91. <corpmark/>
  92. <suppcd/>
  93. <instcd/>
  94. </gridpiehf801>
  95. </list01>
  96. <list02>
  97. <gridpiehf802_1>
  98. <jrownbrtnamtsum/>
  99. <jrramtsum/>
  100. <jrcorpramtsum/>
  101. <jrinsubamtsum/>
  102. <jrjudgdeciamtsum/>
  103. <jrcntsum/>
  104. <rem/>
  105. </gridpiehf802_1>
  106. <gridpiehf802_3>
  107. <calcyearseqno/>
  108. <calcchrgdeptnm/>
  109. <calcchrgjonm/>
  110. <calcchrgnm/>
  111. <calcchrgno/>
  112. <calcbizcd/>
  113. <calcbiznm/>
  114. <calcchrgtel/>
  115. </gridpiehf802_3>
  116. <gridpiehf803>
  117. <docuseqno/>
  118. <pid/>
  119. <patnm/>
  120. <diagcd/>
  121. <corpramt/>
  122. <ownbrtnamt/>
  123. <insubamt/>
  124. <deciamt/>
  125. <docuseqnorem/>
  126. <bizplcecd/>
  127. <certno/>
  128. <medcarekindflag/>
  129. <subscrnm/>
  130. <calcyearseqno/>
  131. <calcseqno/>
  132. <calcjudgdg/>
  133. <acptno/>
  134. <clamseqno/>
  135. <calcnotidd/>
  136. <instcd/>
  137. </gridpiehf803>
  138. </list02>
  139. <list03>
  140. <gridpiehf802_2>
  141. <ownbrtnamt/>
  142. <corpramt/>
  143. <insubamt/>
  144. <deciamt/>
  145. <docuseqnorem/>
  146. </gridpiehf802_2>
  147. <gridpiehf804>
  148. <mpsno/>
  149. <lnno/>
  150. <adjtresn/>
  151. <cd/>
  152. <hngnm/>
  153. <ramt/>
  154. <oneqtyrt/>
  155. <dayqtyrt/>
  156. <totqtyrt/>
  157. <prcpinstmark/>
  158. <prcpinstnm/>
  159. <prcpinstacptno/>
  160. <prcpinstacptym/>
  161. <prcpinstdocuseqno/>
  162. <calcjrsltrem/>
  163. </gridpiehf804>
  164. </list03>
  165. <list04>
  166. <rem>
  167. <textdata/>
  168. </rem>
  169. </list04>
  170. </main>
  171. <init>
  172. <P0235list>
  173. <P0235>
  174. <cdid/>
  175. <cdnm/>
  176. </P0235>
  177. </P0235list>
  178. <P0247list>
  179. <P0247>
  180. <cdid/>
  181. <cdnm/>
  182. </P0247>
  183. </P0247list>
  184. <P0295list>
  185. <P0295>
  186. <cdid/>
  187. <cdnm/>
  188. </P0295>
  189. </P0295list>
  190. <P0261list>
  191. <P0261>
  192. <cdid/>
  193. <cdnm/>
  194. </P0261>
  195. </P0261list>
  196. <P0155list>
  197. <P0155>
  198. <cdid/>
  199. <cdnm/>
  200. </P0155>
  201. </P0155list>
  202. <clamdgfrom/>
  203. <clamdgto/>
  204. <clamdg/>
  205. </init>
  206. <hidden>
  207. <list01>
  208. <list_clamno>
  209. <claminfo>
  210. <clamno/>
  211. </claminfo>
  212. </list_clamno>
  213. </list01>
  214. </hidden>
  215. </root>
  216. </instance>
  217. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  218. <submission id="TRPIE01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  219. <submission id="TRPIE01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendf801" resultref="/root/main/list02"/>
  220. <submission id="TRPIE01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendf803" resultref="/root/main/list03"/>
  221. <submission id="TRPIE01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamno" resultref="/root/hidden/list01/claminfo"/>
  222. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
  223. </model>
  224. <script type="javascript" ev:event="xforms-ready">
  225. <![CDATA[
  226. // 공통코드 Load작업
  227. CommCode_Load();
  228. ]]>
  229. </script>
  230. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  231. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  232. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  233. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  234. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  235. <script type="javascript">
  236. <![CDATA[
  237. function Node_Init() {
  238. // NodeSet 초기화
  239. model.resetInstanceNode("/root/main/list");
  240. model.refresh();
  241. }
  242. // 공통코드 Load작업
  243. function CommCode_Load() {
  244. zbcfGetCodeList(new Array("P0235", "P0155"), new Array( "/root/init/P0235list", "/root/init/P0155list"));
  245. cap_rem.value = "비고";
  246. // 다른 화면에서 팝업으로 호출
  247. // 호출화면 : SMPIF20100_개인별모든내역보기, SMPIF20300_개인별청구및심결내역조회, SPPIE00720_심결요약보기
  248. var acptno = model.getValue("/root/send/summary/acptno");
  249. if (acptno != "") {
  250. model.setValue("/root/send/termflag",model.getValue("/root/send/summary/termflag"));
  251. model.setValue("/root/send/fromterm",model.getValue("/root/send/summary/fromterm"));
  252. model.setValue("/root/send/toterm",model.getValue("/root/send/summary/toterm"));
  253. model.setValue("/root/send/acptno",model.getValue("/root/send/summary/acptno"));
  254. model.setValue("/root/send/clamno",model.getValue("/root/send/summary/clamno"));
  255. submit("TRPIE01601");
  256. }
  257. ipt_fromterm.attribute("format") = "";
  258. ipt_toterm.attribute("format") = "";
  259. ipt_fromterm.attribute("maxlength") = 8;
  260. ipt_toterm.attribute("maxlength") = 8;
  261. model.setFocus("ipt_fromterm");
  262. cmb_clamdgfrom.value = "";
  263. cmb_clamdgto.value = "";
  264. cmb_clamdgfrom.disabled = true;
  265. cmb_clamdgto.disabled = true;
  266. model.refresh();
  267. }
  268. // 원외처방추가심결통보서 삭제
  269. function fDeleteF080() {
  270. if (grd_f801h.row >= grd_f801h.fixedRows ) {
  271. // 1. 삭제할 원외처방추가심결통보서 데이터를 만든다.
  272. var rows = grd_f801h.selectedRows;
  273. var cnt = 1;
  274. for (var i = 0; i < rows; i++) {
  275. var sel = grd_f801h.selectedRow(i);
  276. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "f080");
  277. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/rsrvflag", "Y");
  278. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/uncoflag", "N");
  279. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/cutflag", "Y");
  280. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcjudgdg", model.getValue("/root/main/list01/gridpiehf801[" + sel + "]/calcjudgdg"));
  281. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptno", model.getValue("/root/main/list01/gridpiehf801[" + sel + "]/acptno"));
  282. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamseqno", model.getValue("/root/main/list01/gridpiehf801[" + sel + "]/clamseqno"));
  283. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcnotidd", model.getValue("/root/main/list01/gridpiehf801[" + sel + "]/calcnotidd"));
  284. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/list01/gridpiehf801[" + sel + "]/clamno"));
  285. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcyearseqno", model.getValue("/root/main/list01/gridpiehf801[" + sel + "]/calcyearseqno"));
  286. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/judgdg", model.getValue("/root/main/list01/gridpiehf801[" + sel + "]/judgdg"));
  287. cnt++;
  288. }
  289. // 2. 수신테이블 삭제 팝업 호출
  290. modal("SPPIE00810", "", "10", "10", "SPPIE00810", "/root/hidden/sppie00810" ,"/root/main", "", "");
  291. }
  292. }
  293. function fSearch() {
  294. //model.resetInstanceNode("/root/main/list01");
  295. //model.resetInstanceNode("/root/main/list02");
  296. //model.resetInstanceNode("/root/main/list03");
  297. model.removenode("/root/main/list01");
  298. model.removenode("/root/main/list02");
  299. model.removenode("/root/main/list03");
  300. model.refresh();
  301. submit("TRPIE01301");
  302. acptno_btn.selected = true;
  303. fSearch_Step();
  304. }
  305. function fSearch_Step() {
  306. if (grd_f801h.rows > 1) {
  307. model.removeNodeset("/root/main/list02");
  308. model.removeNodeset("/root/main/list03");
  309. model.refresh();
  310. var row = 1;
  311. model.setValue( "instance('instance1')/send/sendf801/calcjudgdg", model.getValue("/root/main/list01/gridpiehf801["+row+"]/calcjudgdg"));
  312. model.setValue( "instance('instance1')/send/sendf801/acptno", model.getValue("/root/main/list01/gridpiehf801["+row+"]/acptno"));
  313. model.setValue( "instance('instance1')/send/sendf801/clamseqno", model.getValue("/root/main/list01/gridpiehf801["+row+"]/clamseqno"));
  314. model.setValue( "instance('instance1')/send/sendf801/calcnotidd", model.getValue("/root/main/list01/gridpiehf801["+row+"]/calcnotidd"));
  315. model.setValue( "instance('instance1')/send/sendf801/instcd", model.getValue("/root/main/list01/gridpiehf801["+row+"]/instcd"));
  316. // model.resetInstanceNode("/root/main/list02");
  317. // model.resetInstanceNode("/root/main/list03");
  318. submit("TRPIE01302");
  319. acptno_btn.selected = true;
  320. model.toggle("case1");
  321. }
  322. if (grd_f803h.rows > 1) {
  323. cap_rem.value = "비고 (F080.3)";
  324. model.setValue("/root/main/list04/rem/textdata", model.getValue("/root/main/list02/gridpiehf803["+grd_f803h.row+"]/docuseqnorem"));
  325. model.removeNodeset("/root/main/list03");
  326. model.refresh();
  327. var row = 1;
  328. model.setValue("/root/send/sendf803/calcjudgdg", model.getValue("/root/main/list02/gridpiehf803["+row+"]/calcjudgdg"));
  329. model.setValue("/root/send/sendf803/acptno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/acptno"));
  330. model.setValue("/root/send/sendf803/clamseqno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/clamseqno"));
  331. model.setValue("/root/send/sendf803/calcyearseqno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/calcyearseqno"));
  332. model.setValue("/root/send/sendf803/calcseqno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/calcseqno"));
  333. model.setValue("/root/send/sendf803/docuseqno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/docuseqno"));
  334. model.setValue("/root/send/sendf803/calcnotidd", model.getValue("/root/main/list02/gridpiehf803["+row+"]/calcnotidd"));
  335. model.setValue("/root/send/sendf803/instcd", model.getValue("/root/main/list02/gridpiehf803["+row+"]/instcd"));
  336. //model.removeNodeset("/root/main/list03/gridpiehf802_2");
  337. //model.removeNodeset("/root/main/list03/gridpiehf804");
  338. // model.resetInstanceNode("/root/main/list03");
  339. submit("TRPIE01303");
  340. acptno_btn.selected = true;
  341. model.toggle("case1");
  342. }
  343. }
  344. // 청구년월 함수
  345. function pidfGetClamdg() {
  346. var check = model.getValue("/root/send/termflag");
  347. if ( model.getValue("/root/send/fromterm") > model.getValue("/root/send/toterm") ) {
  348. messageBox("종료일은 시작일보다 클 수 ", "I004");
  349. model.setValue("/root/send/toterm","")
  350. }
  351. if(check == "2"){
  352. if(model.getValue("/root/send/fromterm") != "" || model.getValue("/root/send/toterm") != ""){
  353. model.removeNodeset("/root/init/clamdg");
  354. model.makeNode("/root/init/clamdg");
  355. model.setValue("/root/send/clamym",model.getValue("/root/send/fromterm"));
  356. model.removeNodeset("/root/send/ioflag");
  357. model.makeNode("/root/send/ioflag");
  358. model.setValue("/root/send/ioflag", model.getValue("/root/send/chosflag"));
  359. submit("TRPID20407");
  360. model.copyNode("/root/init/clamdgfrom","/root/init/clamdg");
  361. cmb_clamdgfrom.refresh();
  362. cmb_clamdgfrom.select(0);
  363. model.setValue("/root/send/clamym",model.getValue("/root/send/toterm"));
  364. submit("TRPID20407");
  365. model.copyNode("/root/init/clamdgto","/root/init/clamdg");
  366. addComboItem("cmb_clamdgfrom","전체","","above");
  367. addComboItem("cmb_clamdgto","전체","","above");
  368. cmb_clamdgto.refresh();
  369. cmb_clamdgto.select(0);
  370. }
  371. }
  372. }
  373. // 청구년월 차수 기간 체크
  374. function fChkClamym()
  375. {
  376. var fromym = model.getValue("/root/init/clamdgfrom");
  377. var toym = model.getValue("/root/send/toterm");
  378. var check = model.getValue("/root/send/termflag");
  379. if(check == "2"){
  380. if ( fromym != toym ){
  381. cmb_clamdgfrom.select(0);
  382. cmb_clamdgto.select(0);
  383. cmb_clamdgfrom.disabled = false;
  384. cmb_clamdgto.disabled = false;
  385. }else{
  386. cmb_clamdgfrom.disabled = true;
  387. cmb_clamdgto.disabled = true;
  388. cmb_clamdgfrom.value = "";
  389. cmb_clamdgto.value = "";
  390. }
  391. cmb_clamdgto.refresh();
  392. cmb_clamdgfrom.refresh();
  393. }
  394. }
  395. ]]>
  396. </script>
  397. </xhtml:head>
  398. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  399. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  400. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">원외처방추가심사결과통보서(F080)조회</caption>
  401. </group>
  402. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  403. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  404. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  405. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  406. <caption>조회</caption>
  407. </button>
  408. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  409. <caption id="caption2" class="search_name" style="left:780px; top:8px; width:145px; height:17px; ">청구번호/청구분야 :</caption>
  410. <caption id="caption7" style="left:311px; top:9px; width:15px; height:15px; ">~</caption>
  411. <input id="ipt_fromacptym" ref="/root/send/fromacptym" class="input_search" style="left:222px; top:8px; width:85px; height:19px; "/>
  412. <input id="ipt_toacptym" ref="/root/send/toacptym" class="input_search" style="left:325px; top:8px; width:85px; height:19px; "/>
  413. <input id="ipt_clamno" class="input_search" style="left:932px; top:8px; width:80px; height:19px; "/>
  414. <select1 id="rdo_term" ref="/root/send/termflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:5px; top:8px; width:210px; height:17px; border-style:none; ">
  415. <choices>
  416. <item>
  417. <label>심사차수</label>
  418. <value>1</value>
  419. </item>
  420. <item>
  421. <label>진료연월</label>
  422. <value>2</value>
  423. </item>
  424. <item>
  425. <label>통보일자</label>
  426. <value>3</value>
  427. </item>
  428. </choices>
  429. </select1>
  430. <select1 id="cmb_clamfield" class="combo_search" appearance="minimal" style="left:1015px; top:8px; width:80px; height:19px; ">
  431. <choices>
  432. <item>
  433. <label>combo1</label>
  434. <value>combo1</value>
  435. </item>
  436. </choices>
  437. </select1>
  438. <input id="input1" ref="/root/send/toacptym" class="input_search" style="left:510px; top:8px; width:80px; height:19px; "/>
  439. <caption id="caption9" class="search_name" style="left:420px; top:8px; width:90px; height:17px; ">접수번호 :</caption>
  440. <input id="input2" ref="/root/send/toacptym" class="input_search" style="left:690px; top:8px; width:80px; height:19px; "/>
  441. <caption id="caption10" class="search_name" style="left:600px; top:8px; width:90px; height:17px; ">묶음번호 :</caption>
  442. </group>
  443. </group>
  444. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  445. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  446. </group>
  447. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  448. <caption id="caption36" class="tit_2" style="left:5px; top:80px; width:70px; height:13px; ">F080.1</caption>
  449. <line id="line27" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  450. <caption id="caption37" class="tit_2" style="left:300px; top:334px; width:70px; height:14px; ">F080.3</caption>
  451. <line id="line28" class="line_1" style="x1:295px; y1:349px; x2:1194px; y2:349px; "/>
  452. <caption id="caption38" class="tit_2" style="left:295px; top:539px; width:70px; height:14px; ">F080.4</caption>
  453. <line id="line29" class="line_1" style="x1:295px; y1:554px; x2:1194px; y2:554px; "/>
  454. <button id="button12" class="btn2_letter4" style="left:1086px; top:75px; width:64px; height:19px; ">
  455. <caption>엑셀저장</caption>
  456. <script type="javascript" ev:event="onclick">
  457. <![CDATA[
  458. var fileName = window.fileDialog("save", ",", false, "원외처방추가심사결과통보서(F080.1) 조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  459. if (fileName != ""){
  460. grd_f801h.saveExcel(fileName, "SheetName", true, true, "", "", "");
  461. }
  462. ]]>
  463. </script>
  464. </button>
  465. <switch id="switch1" class="sw_box" style="left:0px; top:355px; width:291px; height:205px; ">
  466. <case id="case1">
  467. <line id="line41" class="line_2" style="x1:4px; y1:153px; x2:285px; y2:153px; "/>
  468. <input id="input50" ref="/root/main/list02/gridpiehf802_1/rem" class="input_default" style="left:53px; top:156px; width:233px; height:19px; "/>
  469. <line id="line33" class="line_2" style="x1:4px; y1:28px; x2:285px; y2:28px; "/>
  470. <input id="input42" ref="/root/main/list02/gridpiehf802_1/jrcorpramtsum" class="input_default" format="#,###" style="left:147px; top:57px; width:139px; height:19px; text-align:right; "/>
  471. <caption id="caption52" class="cell_1" style="left:4px; top:155px; width:46px; height:23px; text-align:right; vertical-align:middle; ">참조</caption>
  472. <line id="line34" class="line_2" style="x1:4px; y1:53px; x2:285px; y2:53px; "/>
  473. <input id="input43" ref="/root/main/list02/gridpiehf802_1/jrramtsum" class="input_default" format="#,###" style="left:147px; top:32px; width:139px; height:19px; text-align:right; "/>
  474. <caption id="caption42" class="cell_1" style="left:4px; top:30px; width:140px; height:23px; text-align:right; vertical-align:middle; ">환수금액</caption>
  475. <line id="line35" class="line_3" style="x1:4px; y1:178px; x2:286px; y2:178px; "/>
  476. <input id="input44" ref="/root/main/list02/gridpiehf802_1/jrinsubamtsum" class="input_default" format="#,###" style="left:147px; top:82px; width:139px; height:19px; text-align:right; "/>
  477. <caption id="caption43" class="cell_1" style="left:4px; top:80px; width:140px; height:23px; text-align:right; vertical-align:middle; ">보험자부담금</caption>
  478. <line id="line36" class="line_2" style="x1:4px; y1:78px; x2:285px; y2:78px; "/>
  479. <input id="input45" ref="/root/main/list02/gridpiehf802_1/jrownbrtnamtsum" class="input_default" format="#,###" style="left:147px; top:7px; width:139px; height:19px; text-align:right; "/>
  480. <caption id="caption44" class="cell_1" style="left:4px; top:5px; width:140px; height:23px; text-align:right; vertical-align:middle; ">본인부담환급금</caption>
  481. <line id="line37" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
  482. <caption id="caption45" class="cell_1" style="left:4px; top:55px; width:140px; height:23px; text-align:right; vertical-align:middle; ">요양기관환수금</caption>
  483. <line id="line38" class="line_2" style="x1:4px; y1:103px; x2:285px; y2:103px; "/>
  484. <input id="input47" ref="/root/main/list02/gridpiehf802_1/jrcntsum" class="input_default" format="#,###" style="left:147px; top:132px; width:139px; height:19px; text-align:right; "/>
  485. <line id="line39" class="line_2" style="x1:4px; y1:128px; x2:285px; y2:128px; "/>
  486. <caption id="caption47" class="cell_1" style="left:4px; top:130px; width:140px; height:23px; text-align:right; vertical-align:middle; ">건수</caption>
  487. <input id="input49" ref="/root/main/list02/gridpiehf802_1/jrjudgdeciamtsum" class="input_default" format="#,###" style="left:147px; top:107px; width:139px; height:19px; text-align:right; "/>
  488. <caption id="caption49" class="cell_1" style="left:4px; top:105px; width:140px; height:23px; text-align:right; vertical-align:middle; ">심사결정액</caption>
  489. </case>
  490. <case id="case2">
  491. <line id="line31" class="line_2" style="x1:4px; y1:153px; x2:285px; y2:153px; "/>
  492. <caption id="caption39" class="cell_1" style="left:4px; top:155px; width:46px; height:23px; text-align:right; vertical-align:middle; ">참조</caption>
  493. <line id="line43" class="line_2" style="x1:4px; y1:28px; x2:285px; y2:28px; "/>
  494. <caption id="caption50" class="cell_1" style="left:4px; top:30px; width:140px; height:23px; text-align:right; vertical-align:middle; "/>
  495. <line id="line45" class="line_2" style="x1:4px; y1:53px; x2:285px; y2:53px; "/>
  496. <caption id="caption55" class="cell_1" style="left:4px; top:80px; width:140px; height:23px; text-align:right; vertical-align:middle; ">보험자부담금</caption>
  497. <line id="line46" class="line_3" style="x1:4px; y1:178px; x2:286px; y2:178px; "/>
  498. <caption id="caption56" class="cell_1" style="left:4px; top:5px; width:140px; height:23px; text-align:right; vertical-align:middle; ">본인부담환급금</caption>
  499. <line id="line47" class="line_2" style="x1:4px; y1:78px; x2:285px; y2:78px; "/>
  500. <caption id="caption57" class="cell_1" style="left:4px; top:55px; width:140px; height:23px; text-align:right; vertical-align:middle; ">요양기관환수금</caption>
  501. <line id="line48" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
  502. <input id="input69" class="input_default" style="left:147px; top:132px; width:139px; height:19px; text-align:right; "/>
  503. <line id="line49" class="line_2" style="x1:4px; y1:103px; x2:285px; y2:103px; "/>
  504. <caption id="caption59" class="cell_1" style="left:4px; top:130px; width:140px; height:23px; text-align:right; vertical-align:middle; "/>
  505. <line id="line50" class="line_2" style="x1:4px; y1:128px; x2:285px; y2:128px; "/>
  506. <caption id="caption60" class="cell_1" style="left:4px; top:105px; width:140px; height:23px; text-align:right; vertical-align:middle; ">결정금액</caption>
  507. <input id="ipt_ownbrtnamt" ref="/root/main/list03/gridpiehf802_2/ownbrtnamt" class="input_default" format="#,###" style="left:147px; top:7px; width:139px; height:19px; text-align:right; "/>
  508. <input id="ipt_jrramtsum" class="input_default" style="left:147px; top:32px; width:139px; height:19px; text-align:right; "/>
  509. <input id="ipt_corpramt" ref="/root/main/list03/gridpiehf802_2/corpramt" class="input_default" format="#,###" style="left:147px; top:57px; width:139px; height:19px; text-align:right; "/>
  510. <input id="ipt_insubamt" ref="/root/main/list03/gridpiehf802_2/insubamt" class="input_default" format="#,###" style="left:147px; top:82px; width:139px; height:19px; text-align:right; "/>
  511. <input id="ipt_deciamt" ref="/root/main/list03/gridpiehf802_2/deciamt" class="input_default" format="#,###" style="left:147px; top:107px; width:139px; height:19px; text-align:right; "/>
  512. <input id="ipt_docuseqnorem" ref="/root/main/list03/gridpiehf802_2/docuseqnorem" class="input_default" style="left:53px; top:156px; width:233px; height:19px; "/>
  513. </case>
  514. <case id="case3" selected="true">
  515. <caption id="caption92" class="cell_1" style="left:4px; top:78px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당자</caption>
  516. <line id="line84" class="line_2" style="x1:4px; y1:76px; x2:285px; y2:76px; "/>
  517. <line id="line74" class="line_2" style="x1:4px; y1:151px; x2:285px; y2:151px; "/>
  518. <line id="line77" class="line_2" style="x1:4px; y1:101px; x2:285px; y2:101px; "/>
  519. <caption id="caption96" class="cell_1" style="left:4px; top:4px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산연번</caption>
  520. <line id="line88" class="line_2" style="x1:4px; y1:26px; x2:285px; y2:26px; "/>
  521. <input id="input98" ref="/root/main/list02/gridpiehf802_3/calcbizcd" class="input_default" style="left:147px; top:129px; width:139px; height:19px; "/>
  522. <caption id="caption75" class="cell_1" style="left:4px; top:28px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당부</caption>
  523. <caption id="caption97" class="cell_1" style="left:4px; top:128px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산업무코드</caption>
  524. <input id="input110" ref="/root/main/list02/gridpiehf802_3/calcchrgnm" class="input_default" style="left:147px; top:80px; width:139px; height:19px; "/>
  525. <caption id="caption98" class="cell_1" style="left:4px; top:53px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당조</caption>
  526. <input id="input111" ref="/root/main/list02/gridpiehf802_3/calcbiznm" class="input_default" style="left:147px; top:154px; width:139px; height:19px; "/>
  527. <caption id="caption99" class="cell_1" style="left:4px; top:153px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산업무명</caption>
  528. <input id="input124" ref="/root/main/list02/gridpiehf802_3/calcchrgdeptnm" class="input_default" style="left:147px; top:30px; width:139px; height:19px; "/>
  529. <caption id="caption78" class="cell_1" style="left:4px; top:178px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당전화번호</caption>
  530. <input id="input113" ref="/root/main/list02/gridpiehf802_3/calcchrgtel" class="input_default" style="left:147px; top:179px; width:139px; height:19px; "/>
  531. <input id="input126" ref="/root/main/list02/gridpiehf802_3/calcchrgno" class="input_default" style="left:147px; top:104px; width:139px; height:19px; "/>
  532. <input id="input118" ref="/root/main/list02/gridpiehf802_3/calcchrgjonm" class="input_default" style="left:147px; top:54px; width:139px; height:19px; "/>
  533. <line id="line70" class="line_2" style="x1:4px; y1:51px; x2:285px; y2:51px; "/>
  534. <caption id="caption90" class="cell_1" style="left:4px; top:103px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당자번호</caption>
  535. <line id="line82" class="line_2" style="x1:4px; y1:176px; x2:285px; y2:176px; "/>
  536. <input id="input109" ref="/root/main/list02/gridpiehf802_3/calcyearseqno" class="input_default" style="left:147px; top:6px; width:139px; height:19px; "/>
  537. <line id="line72" class="line_3" style="x1:4px; y1:201px; x2:286px; y2:201px; "/>
  538. <line id="line83" class="line_2" style="x1:4px; y1:126px; x2:285px; y2:126px; "/>
  539. <line id="line87" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
  540. </case>
  541. </switch>
  542. <button id="acptno_btn" class="btn_sw" group="tab" selected="true" style="left:0px; top:334px; width:70px; height:22px; ">
  543. <caption>접수번호별</caption>
  544. <toggle case="case1" ev:event="onclick"/>
  545. </button>
  546. <button id="calcyearseqno_btn" class="btn_sw" group="tab" style="left:70px; top:334px; width:70px; height:22px; ">
  547. <caption>정산연번별</caption>
  548. <toggle case="case2" ev:event="onclick"/>
  549. </button>
  550. <button id="chrgnm_btn" class="btn_sw" group="tab" style="left:140px; top:334px; width:59px; height:22px; ">
  551. <caption>담당자</caption>
  552. <toggle case="case3" ev:event="onclick"/>
  553. </button>
  554. <button id="button7" class="btn2_letter4" style="left:1130px; top:329px; width:64px; height:19px; ">
  555. <caption>엑셀저장</caption>
  556. <script type="javascript" ev:event="onclick">
  557. <![CDATA[
  558. var fileName = window.fileDialog("save", ",", false, "원외처방추가심사결과통보서(F080.3) 조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  559. if (fileName != "") {
  560. grd_f803h.saveExcel(fileName, "SheetName", true, true, "", "", "");
  561. }
  562. ]]>
  563. </script>
  564. </button>
  565. <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  566. <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; "/>
  567. <button id="button1" class="btn1_letter2" style="left:1123px; top:8px; width:56px; height:22px; ">
  568. <caption>조회</caption>
  569. <script type="javascript" ev:event="DOMActivate">
  570. <![CDATA[
  571. fSearch();
  572. ]]>
  573. </script>
  574. </button>
  575. <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
  576. <caption id="caption30" class="search_name" style="left:570px; top:35px; width:90px; height:17px; ">청구분야 :</caption>
  577. <caption id="caption31" style="left:366px; top:11px; width:15px; height:15px; ">~</caption>
  578. <select1 id="combo1" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:660px; top:35px; width:80px; height:19px; text-align:left; ">
  579. <choices>
  580. <itemset nodeset="/root/init/P0235list/P0235">
  581. <label ref="cdnm"/>
  582. <value ref="cdid"/>
  583. </itemset>
  584. </choices>
  585. </select1>
  586. <caption id="caption34" class="search_name" style="left:5px; top:35px; width:90px; height:17px; ">접수번호 :</caption>
  587. <select1 id="radio3" ref="/root/send/chosflag" class="radio_search" overflow="visible" appearance="full" cols="3" rows="1" style="left:925px; top:10px; width:135px; height:17px; border-style:none; ">
  588. <choices>
  589. <item>
  590. <label>전체</label>
  591. <value>A</value>
  592. </item>
  593. <item>
  594. <label>입원</label>
  595. <value>I</value>
  596. </item>
  597. <item>
  598. <label>외래</label>
  599. <value>O</value>
  600. </item>
  601. </choices>
  602. </select1>
  603. <select1 id="radio2" ref="/root/send/insuflag" overflow="visible" appearance="full" cols="4" rows="1" style="left:660px; top:10px; width:135px; height:17px; text-align:left; border-style:none; ">
  604. <choices>
  605. <item>
  606. <label>전체</label>
  607. <value>1</value>
  608. </item>
  609. <item>
  610. <label>보험</label>
  611. <value>2</value>
  612. </item>
  613. <item>
  614. <label>보호</label>
  615. <value>3</value>
  616. </item>
  617. </choices>
  618. </select1>
  619. <caption id="caption61" class="search_name" style="left:570px; top:10px; width:90px; height:17px; ">보험유형 :</caption>
  620. <caption id="caption62" class="search_name" style="left:835px; top:10px; width:90px; height:17px; ">내원유형 :</caption>
  621. <caption id="caption1" class="search_name" style="left:337px; top:35px; width:90px; height:17px; ">청구번호 :</caption>
  622. <select1 id="combo2" ref="/root/send/clamno" class="combo_search" appearance="minimal" style="left:437px; top:35px; width:85px; height:19px; ">
  623. <choices>
  624. <itemset nodeset="/root/hidden/list01/list_clamno/claminfo">
  625. <label ref="clamno"/>
  626. <value ref="clamno"/>
  627. </itemset>
  628. </choices>
  629. </select1>
  630. <select1 id="rdo_termflag" ref="/root/send/termflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:5px; top:10px; width:210px; height:17px; border-style:none; ">
  631. <choices>
  632. <item>
  633. <label>정산차수</label>
  634. <value>1</value>
  635. </item>
  636. <item>
  637. <label>청구년월</label>
  638. <value>2</value>
  639. </item>
  640. <item>
  641. <label>통보일자</label>
  642. <value>3</value>
  643. </item>
  644. </choices>
  645. <script type="javascript" ev:event="xforms-value-changed">
  646. <![CDATA[
  647. model.setValue("/root/send/fromterm", "");
  648. model.setValue("/root/send/toterm", "");
  649. if (model.getValue("/root/send/termflag") == "1") {
  650. ipt_fromterm.attribute("maxlength") = 8;
  651. ipt_toterm.attribute("maxlength") = 8;
  652. ipt_fromterm.attribute("format") = "";
  653. ipt_toterm.attribute("format") = "";
  654. ipt_fromterm.attribute("inputtype") = "";
  655. ipt_toterm.attribute("inputtype") = "";
  656. cmb_clamdgfrom.value = "";
  657. cmb_clamdgto.value = "";
  658. cmb_clamdgfrom.disabled = true;
  659. cmb_clamdgto.disabled = true;
  660. /*
  661. ipt_fromterm.attribute("format") = "";
  662. ipt_toterm.attribute("format") = "";
  663. // ipt_fromterm.attribute("inputtype") = "";
  664. // ipt_toterm.attribute("inputtype") = "";
  665. ipt_fromterm.attribute("maxlength") = 8;
  666. ipt_toterm.attribute("maxlength") = 8;
  667. */
  668. }
  669. else if (model.getValue("/root/send/termflag") == "3") {
  670. ipt_fromterm.attribute("format") = "yyyy-mm-dd";
  671. ipt_toterm.attribute("format") = "yyyy-mm-dd";
  672. ipt_fromterm.attribute("inputtype") = "date";
  673. ipt_toterm.attribute("inputtype") = "date";
  674. model.setValue("/root/send/fromterm", getCurrentDate());
  675. model.setValue("/root/send/toterm", getCurrentDate());
  676. cmb_clamdgfrom.value = "";
  677. cmb_clamdgto.value = "";
  678. cmb_clamdgfrom.disabled = true;
  679. cmb_clamdgto.disabled = true;
  680. /*
  681. ipt_fromterm.attribute("format") = "yyyy-mm-dd";
  682. ipt_toterm.attribute("format") = "yyyy-mm-dd";
  683. // ipt_fromterm.attribute("inputtype") = "date";
  684. // ipt_toterm.attribute("inputtype") = "date";
  685. */
  686. }
  687. else {
  688. ipt_fromterm.attribute("format") = "yyyy-mm";
  689. ipt_toterm.attribute("format") = "yyyy-mm";
  690. ipt_fromterm.attribute("inputtype") = "date";
  691. ipt_toterm.attribute("inputtype") = "date";
  692. model.setValue("/root/send/fromterm", getCurrentDate().substr(0,6));
  693. model.setValue("/root/send/toterm", getCurrentDate().substr(0,6));
  694. if (ipt_fromterm.value.length >= 7) {
  695. // 사용자에게 에러 메시지를 보여주고 'YYYYMM'형식으로 변환시킨다.
  696. messageBox("진료년월을 'YYYYMM'형식으로 입력해 주십시오.", "C009");
  697. ipt_fromterm.value = ipt_fromterm.value.substr(0,6);
  698. ipt_toterm.value = ipt_toterm.value.substr(0,6);
  699. }
  700. cmb_clamdgfrom.disabled = false;
  701. cmb_clamdgto.disabled = false;
  702. cmb_clamdgfrom.select(0);
  703. cmb_clamdgto.select(0);
  704. /*
  705. ipt_fromterm.attribute("format") = "yyyy-mm";
  706. ipt_toterm.attribute("format") = "yyyy-mm";
  707. // ipt_fromterm.attribute("inputtype") = "date";
  708. // ipt_toterm.attribute("inputtype") = "date";
  709. */
  710. }
  711. model.refresh();
  712. model.setFocus("ipt_fromterm");
  713. ]]>
  714. </script>
  715. </select1>
  716. <input id="ipt_fromterm" ref="/root/send/fromterm" class="input_search" inputtype="date" style="left:222px; top:10px; width:85px; height:19px; ">
  717. <script type="javascript" ev:event="DOMFocusOut">
  718. <![CDATA[
  719. //model.setValue("/root/send/toterm",model.getValue("/root/send/fromterm"));
  720. model.refresh();
  721. pidfGetClamdg();
  722. fChkClamym();
  723. // model.refreshpart("/root/send/toterm");
  724. ]]>
  725. </script>
  726. </input>
  727. <input id="ipt_toterm" ref="/root/send/toterm" class="input_search" inputtype="date" style="left:380px; top:10px; width:85px; height:19px; ">
  728. <script type="javascript" ev:event="DOMFocusOut">
  729. <![CDATA[
  730. pidfGetClamdg();
  731. fChkClamym();
  732. ]]>
  733. </script>
  734. </input>
  735. <input id="ipt_acptno" ref="/root/send/acptno" class="input_search" style="left:95px; top:35px; width:80px; height:19px; ">
  736. <script type="javascript" ev:event="onkeyup">
  737. <![CDATA[
  738. if (event.keyCode == "13") {
  739. setInputNodeCurText();
  740. if (ipt_acptno.value == "") {
  741. return false;
  742. }
  743. var retVal = null;
  744. // 접수번호로 청구번호(ClamNo)정보를 조회한다.
  745. var acptno = model.getValue("/root/send/acptno");
  746. model.setValue("/root/send/send_clamno/acptno", acptno);
  747. submit("TRPIE01304");
  748. model.setValue("/root/send/clamno", model.getValue("/root/hidden/list01/list_clamno/claminfo/clamno"));
  749. model.refresh();
  750. //model.setfocus("ipt_clamno");
  751. fSearch();
  752. }
  753. ]]>
  754. </script>
  755. </input>
  756. <button id="button3" class="btn2_letter3" style="left:1124px; top:35px; width:53px; height:19px; ">
  757. <caption>초기화</caption>
  758. <script type="javascript" ev:event="onclick">
  759. <![CDATA[
  760. model.resetInstanceNode("/root/send");
  761. model.setValue("/root/send/termflag","1");
  762. model.setValue("/root/send/insuflag","1");
  763. model.setValue("/root/send/chosflag","A");
  764. model.removeNodeset("/root/main/list01");
  765. model.removeNodeset("/root/main/list02");
  766. model.removeNodeset("/root/main/list03");
  767. model.removeNodeset("/root/main/list04");
  768. model.removeNodeset("/root/hidden/list01");
  769. acptno_btn.selected = true;
  770. model.toggle("case1");
  771. cmb_clamdgfrom.value = "";
  772. cmb_clamdgto.value = "";
  773. cmb_clamdgfrom.disabled = true;
  774. cmb_clamdgto.disabled = true;
  775. model.setFocus("ipt_fromterm");
  776. model.refresh();
  777. ]]>
  778. </script>
  779. </button>
  780. <select1 id="cmb_clamdgto" ref="/root/send/clamdgto" class="combo_search" appearance="minimal" style="left:467px; top:10px; width:55px; height:19px; ">
  781. <choices>
  782. <itemset nodeset="/root/init/clamdgto/clamdglist">
  783. <label ref="clamdgnm"/>
  784. <value ref="clamdgcd"/>
  785. </itemset>
  786. </choices>
  787. <script type="javascript" ev:event="xforms-value-changed">
  788. <![CDATA[
  789. model.setValue("/root/send/clamdgfrom", model.getValue("/root/send/clamdgto"));
  790. model.refresh();
  791. ]]>
  792. </script>
  793. </select1>
  794. <select1 id="cmb_clamdgfrom" ref="/root/send/clamdgfrom" class="combo_search" appearance="minimal" style="left:309px; top:10px; width:55px; height:19px; ">
  795. <choices>
  796. <itemset nodeset="/root/init/clamdgfrom/clamdglist">
  797. <label ref="clamdgnm"/>
  798. <value ref="clamdgcd"/>
  799. </itemset>
  800. </choices>
  801. <script type="javascript" ev:event="xforms-value-changed">
  802. <![CDATA[
  803. model.setValue("/root/send/clamdgto", model.getValue("/root/send/clamdgfrom"));
  804. model.refresh();
  805. ]]>
  806. </script>
  807. </select1>
  808. <select1 id="combo3" ref="/root/send/clamflag" class="combo_search" navindex="3" appearance="minimal" style="left:925px; top:36px; width:95px; height:19px; ">
  809. <choices>
  810. <itemset nodeset="/root/init/P0155list/P0155">
  811. <label ref="cdnm"/>
  812. <value ref="cdid"/>
  813. </itemset>
  814. </choices>
  815. </select1>
  816. <caption id="caption8" class="search_name" style="left:835px; top:35px; width:88px; height:17px; ">청구구분 :</caption>
  817. </group>
  818. <datagrid id="grd_f801h" nodeset="/root/main/list01/gridpiehf801" class="datagrid2" caption="정산&#xA;심사차수^정산&#xA;통보일자^정산연번^보험자&#xA;구분^청구번호^내원&#xA;유형^분야^접수번호^묶음&#xA;번호^심사차수^건수^환수금액&#xA;합계^진료월^청구월^접수일자^청구단위구분^접수&#xA;년도^서식&#xA;번호^VER^청구서&#xA;일련번호^요양급여&#xA;기관기호^지원" colsep="^" colwidth="60, 75, 60, 60, 75, 40, 40, 60, 50, 60, 40, 65, 55, 55, 70, 95, 40, 40, 35, 60, 60, 70, 100" dataheight="23" defaultrows="2" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:0px; top:100px; width:1194px; height:228px; ">
  819. <col ref="calcjudgdg" style="text-align:center; "/>
  820. <col ref="calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  821. <col ref="calcyearseqno" visibility="hidden"/>
  822. <col ref="insuflag" style="text-align:center; "/>
  823. <col ref="clamno" style="text-align:center; "/>
  824. <col ref="ioflag" style="text-align:center; "/>
  825. <col disabled="true" ref="ordfildcd" style="text-align:center; "/>
  826. <col ref="acptno" style="text-align:center; "/>
  827. <col ref="setno" style="text-align:center; "/>
  828. <col ref="judgdg" style="text-align:center; "/>
  829. <col ref="jrcntsum" format="#,###" style="text-align:right; "/>
  830. <col ref="jrramtsum" format="(-)#,###" style="text-align:right; "/>
  831. <col ref="ordym" format="yyyy-mm" style="text-align:center; "/>
  832. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  833. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  834. <col ref="clamflag" style="text-align:center; "/>
  835. <col ref="acptym" style="text-align:center; "/>
  836. <col ref="docuno" style="text-align:center; "/>
  837. <col ref="verflag" style="text-align:center; "/>
  838. <col ref="clamseqno" style="text-align:center; "/>
  839. <col ref="corpmark" style="text-align:center; "/>
  840. <col ref="suppcd" style="text-align:center; "/>
  841. <col ref="instcd" visibility="hidden"/>
  842. <script type="javascript" ev:event="onclick">
  843. <![CDATA[
  844. if (grd_f801h.isCell(event.target) && grd_f801h.row >= grd_f801h.fixedRows) {
  845. model.removeNodeset("/root/main/list02");
  846. model.removeNodeset("/root/main/list03");
  847. model.refresh();
  848. var row = grd_f801h.selectedRow(0);
  849. model.setValue( "instance('instance1')/send/sendf801/calcjudgdg", model.getValue("/root/main/list01/gridpiehf801["+row+"]/calcjudgdg"));
  850. model.setValue( "instance('instance1')/send/sendf801/acptno", model.getValue("/root/main/list01/gridpiehf801["+row+"]/acptno"));
  851. model.setValue( "instance('instance1')/send/sendf801/clamseqno", model.getValue("/root/main/list01/gridpiehf801["+row+"]/clamseqno"));
  852. model.setValue( "instance('instance1')/send/sendf801/calcnotidd", model.getValue("/root/main/list01/gridpiehf801["+row+"]/calcnotidd"));
  853. model.setValue( "instance('instance1')/send/sendf801/instcd", model.getValue("/root/main/list01/gridpiehf801["+row+"]/instcd"));
  854. // model.resetInstanceNode("/root/main/list02");
  855. // model.resetInstanceNode("/root/main/list03");
  856. submit("TRPIE01302");
  857. acptno_btn.selected = true;
  858. model.toggle("case1");
  859. }
  860. ]]>
  861. </script>
  862. <script type="javascript" ev:event="onaftersort">
  863. <![CDATA[
  864. grd_f801h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  865. ]]>
  866. </script>
  867. <script type="javascript" ev:event="onmousedown">
  868. <![CDATA[
  869. if (event.button == 3) { // 3 : 오른쪽 버튼
  870. if (grd_f801h.isCell(event.target) && grd_f801h.mouseRow >= grd_f801h.fixedrows) {
  871. setPopupMenu("grd_f801h", false, "/root/popupdata/popupmenu/grd_f801h/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
  872. }
  873. }
  874. ]]>
  875. </script>
  876. <script type="javascript" ev:event="DOMFocusOut">
  877. <![CDATA[
  878. initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
  879. ]]>
  880. </script>
  881. <script type="javascript" ev:event="oncopy">
  882. <![CDATA[
  883. grid_oncopy();
  884. ]]>
  885. </script>
  886. </datagrid>
  887. <datagrid id="grd_f803h" nodeset="/root/main/list02/gridpiehf803" class="datagrid2" caption="명일련^등록번호^수진자^주상병^요양기관&#xA;환수금^본인부담&#xA;환급금^보험자&#xA;부담금^결정금액^비고^사업장기호^증번호^종별구분^가입자^정산연번^정산&#xA;일련번호" colsep="^" colwidth="56, 65, 50, 49, 70, 70, 70, 70, 120, 80, 90, 80, 60, 80, 60, 100, 100, 100, 100, 100" dataheight="23" defaultrows="2" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:295px; top:354px; width:899px; height:179px; ">
  888. <col ref="docuseqno" style="text-align:center; "/>
  889. <col ref="pid" style="text-align:center; "/>
  890. <col ref="patnm" style="text-align:center; "/>
  891. <col ref="diagcd" style="text-align:center; "/>
  892. <col ref="corpramt" format="(-)#,###" style="text-align:right; "/>
  893. <col ref="ownbrtnamt" format="(-)#,###" style="text-align:right; "/>
  894. <col ref="insubamt" format="#,###" style="text-align:right; "/>
  895. <col ref="deciamt" format="(-)#,###" style="text-align:right; "/>
  896. <col ref="docuseqnorem" type="inputbutton" style="text-align:center; ">
  897. <script type="javascript" ev:event="onbuttonclick">
  898. <![CDATA[
  899. var row = grd_f803h.row;
  900. model.setValue("/root/send/rem/textno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/rem"));
  901. modal("SPPIE00200", "", "400", "400" ,"", "/root/send/rem/textno", "/root/send/textno");
  902. ]]>
  903. </script>
  904. </col>
  905. <col ref="bizplcecd" style="text-align:center; "/>
  906. <col ref="certno" style="text-align:center; "/>
  907. <col ref="medcarekindflag" type="output" style="text-align:center; "/>
  908. <col ref="subscrnm" style="text-align:center; "/>
  909. <col ref="calcyearseqno" style="text-align:center; "/>
  910. <col ref="calcseqno" style="text-align:center; "/>
  911. <col ref="calcjudgdg" visibility="hidden"/>
  912. <col ref="acptno" visibility="hidden"/>
  913. <col ref="clamseqno" visibility="hidden"/>
  914. <col ref="calcnotidd" visibility="hidden"/>
  915. <col ref="instcd" visibility="hidden"/>
  916. <script type="javascript" ev:event="onclick">
  917. <![CDATA[
  918. if (grd_f803h.isCell(event.target) && grd_f803h.row >= grd_f803h.fixedRows) {
  919. cap_rem.value = "비고 (F080.3)";
  920. model.setValue("/root/main/list04/rem/textdata", model.getValue("/root/main/list02/gridpiehf803["+grd_f803h.row+"]/docuseqnorem"));
  921. model.removeNodeset("/root/main/list03");
  922. model.refresh();
  923. var row = grd_f803h.selectedRow(0);
  924. model.setValue("/root/send/sendf803/calcjudgdg", model.getValue("/root/main/list02/gridpiehf803["+row+"]/calcjudgdg"));
  925. model.setValue("/root/send/sendf803/acptno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/acptno"));
  926. model.setValue("/root/send/sendf803/clamseqno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/clamseqno"));
  927. model.setValue("/root/send/sendf803/calcyearseqno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/calcyearseqno"));
  928. model.setValue("/root/send/sendf803/calcseqno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/calcseqno"));
  929. model.setValue("/root/send/sendf803/docuseqno", model.getValue("/root/main/list02/gridpiehf803["+row+"]/docuseqno"));
  930. model.setValue("/root/send/sendf803/calcnotidd", model.getValue("/root/main/list02/gridpiehf803["+row+"]/calcnotidd"));
  931. model.setValue("/root/send/sendf803/instcd", model.getValue("/root/main/list02/gridpiehf803["+row+"]/instcd"));
  932. //model.removeNodeset("/root/main/list03/gridpiehf802_2");
  933. //model.removeNodeset("/root/main/list03/gridpiehf804");
  934. // model.resetInstanceNode("/root/main/list03");
  935. submit("TRPIE01303");
  936. calcyearseqno_btn.selected = true;
  937. model.toggle("case2");
  938. }
  939. ]]>
  940. </script>
  941. <script type="javascript" ev:event="onaftersort">
  942. <![CDATA[
  943. grd_f803h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  944. ]]>
  945. </script>
  946. <script type="javascript" ev:event="oncopy">
  947. <![CDATA[
  948. grid_oncopy();
  949. ]]>
  950. </script>
  951. </datagrid>
  952. <datagrid id="grd_f804h" nodeset="/root/main/list03/gridpiehf804" caption="처방전교부번호^줄번호^줄단위 조정내역^줄단위 조정내역^줄단위 조정내역^줄단위 조정내역^줄단위 조정내역^줄단위 조정내역^줄단위 조정내역^조제기관정보^조제기관정보^조제기관정보^조제기관정보^조제기관정보^비고^비고|처방전교부번호^줄번호^조정사유^의약품코드^처방명칭^환수금액^1회인정^일투인정^총투인정^기호^명칭^접수번호^접수년도^명일련^비고^비고" colsep="^" colwidth="95, 45, 60, 75, 120, 80, 55, 55, 55, 70, 90, 70, 60, 60, 120" dataheight="23" defaultrows="2" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:295px; top:559px; width:899px; height:179px; ">
  953. <col ref="mpsno" style="text-align:center; "/>
  954. <col ref="lnno" style="text-align:center; "/>
  955. <col ref="adjtresn" style="text-align:center; "/>
  956. <col ref="cd" style="text-align:center; "/>
  957. <col ref="hngnm"/>
  958. <col ref="ramt" format="#,###" style="text-align:right; "/>
  959. <col ref="oneqtyrt" style="text-align:center; "/>
  960. <col ref="dayqtyrt" style="text-align:center; "/>
  961. <col ref="totqtyrt" style="text-align:center; "/>
  962. <col ref="prcpinstmark" style="text-align:center; "/>
  963. <col ref="prcpinstnm" style="text-align:center; "/>
  964. <col ref="prcpinstacptno" style="text-align:center; "/>
  965. <col ref="prcpinstacptym" style="text-align:center; "/>
  966. <col ref="prcpinstdocuseqno" style="text-align:center; "/>
  967. <col type="inputbutton">
  968. <script type="javascript" ev:event="onbuttonclick">
  969. <![CDATA[
  970. var row = grd_f804h.row;
  971. model.setValue("/root/send/rem/textno", model.getValue("/root/main/list03/gridpiehf804["+(row-1)+"]/rem"));
  972. modal("SPPIE00200", "", "400", "400" ,"", "/root/send/rem/textno", "/root/send/textno");
  973. ]]>
  974. </script>
  975. </col>
  976. <script type="javascript" ev:event="onclick">
  977. <![CDATA[
  978. cap_rem.value = "비고 (F080.4)";
  979. model.setValue("/root/main/list04/rem/textdata", model.getValue("/root/main/list03/gridpiehf804["+grd_f804h.row+"]/calcjrsltrem"));
  980. ]]>
  981. </script>
  982. <script type="javascript" ev:event="oncopy">
  983. <![CDATA[
  984. grid_oncopy();
  985. ]]>
  986. </script>
  987. </datagrid>
  988. <button id="button2" class="btn2_letter3" style="left:844px; top:75px; width:53px; height:19px; ">
  989. <caption>셀카피</caption>
  990. <script type="javascript" ev:event="onclick">
  991. <![CDATA[
  992. grd_f801h.attribute("selectionmode") = "free";
  993. grd_f803h.attribute("selectionmode") = "free";
  994. grd_f804h.attribute("selectionmode") = "free";
  995. ]]>
  996. </script>
  997. </button>
  998. <button id="button5" class="btn2_letter3" style="left:899px; top:75px; width:53px; height:19px; ">
  999. <caption>열카피</caption>
  1000. <script type="javascript" ev:event="onclick">
  1001. <![CDATA[
  1002. grd_f801h.attribute("selectionmode") = "bycol";
  1003. grd_f803h.attribute("selectionmode") = "bycol";
  1004. grd_f804h.attribute("selectionmode") = "bycol";
  1005. ]]>
  1006. </script>
  1007. </button>
  1008. <button id="button9" class="btn2_letter3" style="left:954px; top:75px; width:53px; height:19px; ">
  1009. <caption>행카피</caption>
  1010. <script type="javascript" ev:event="onclick">
  1011. <![CDATA[
  1012. grd_f801h.attribute("selectionmode") = "byrow";
  1013. grd_f803h.attribute("selectionmode") = "byrow";
  1014. grd_f804h.attribute("selectionmode") = "byrow";
  1015. ]]>
  1016. </script>
  1017. </button>
  1018. <button id="button4" class="btn2_letter5" style="left:1009px; top:75px; width:75px; height:19px; ">
  1019. <caption>줄번호500</caption>
  1020. <script type="javascript" ev:event="DOMActivate">
  1021. <![CDATA[
  1022. model.setValue("/root/send/send_lnno500/termflag", model.getValue("/root/send/termflag"));
  1023. if (rdo_termflag.value == "1") {
  1024. model.setValue("/root/send/send_lnno500/fromjudgdg", model.getValue("/root/send/fromterm"));
  1025. model.setValue("/root/send/send_lnno500/tojudgdg", model.getValue("/root/send/toterm"));
  1026. }
  1027. else {
  1028. model.setValue("/root/send/send_lnno500/fromjudgdg", "");
  1029. model.setValue("/root/send/send_lnno500/tojudgdg", "");
  1030. }
  1031. model.setValue("/root/send/send_lnno500/insuflag", model.getValue("/root/send/insuflag"));
  1032. model.setValue("/root/send/send_lnno500/acptno", model.getValue("/root/send/acptno"));
  1033. model.setValue("/root/send/send_lnno500/chosflag", model.getValue("/root/send/chosflag"));
  1034. model.setValue("/root/send/send_lnno500/clamno", model.getValue("/root/send/clamno"));
  1035. model.setValue("/root/send/send_lnno500/ordfildcd", model.getValue("/root/send/ordfildcd"));
  1036. model.setValue("/root/send/send_lnno500/scrflag", "f080");
  1037. modal("SPPIE01210", 1, 1, 1, "SPPIE01210", "/root/send/send_lnno500", "/root/send/send_lnno500");
  1038. ]]>
  1039. </script>
  1040. </button>
  1041. <caption id="cap_rem" class="tit_2" style="left:5px; top:565px; width:115px; height:13px; "/>
  1042. <line id="line1" class="line_1" style="x1:0px; y1:580px; x2:291px; y2:580px; "/>
  1043. <textarea id="textarea1" ref="/root/main/list04/rem/textdata" style="left:0px; top:585px; width:291px; height:155px; "/>
  1044. <button id="button26" class="btn2_letter2" style="left:1152px; top:75px; width:42px; height:19px; ">
  1045. <caption>출력</caption>
  1046. <script type="javascript" ev:event="onclick">
  1047. <![CDATA[
  1048. // 1. 출력 데이터 생성
  1049. for (var i = 1; i < grd_f801h.rows; i++) {
  1050. model.makeValue("/root/hidden/prnt1/f801["+i+"]/calcjudgdg", grd_f801h.valueMatrix(i, grd_f801h.colRef("calcjudgdg"))); // 정산심사차수
  1051. model.makeValue("/root/hidden/prnt1/f801["+i+"]/calcnotidd", grd_f801h.valueMatrix(i, grd_f801h.colRef("calcnotidd"))); // 정산통보일자
  1052. model.makeValue("/root/hidden/prnt1/f801["+i+"]/insuflag", grd_f801h.valueMatrix(i, grd_f801h.colRef("insuflag"))); // 보험유형
  1053. model.makeValue("/root/hidden/prnt1/f801["+i+"]/clamno", grd_f801h.valueMatrix(i, grd_f801h.colRef("clamno"))); // 청구번호
  1054. model.makeValue("/root/hidden/prnt1/f801["+i+"]/ioflag", grd_f801h.valueMatrix(i, grd_f801h.colRef("ioflag"))); // 내원유형
  1055. model.makeValue("/root/hidden/prnt1/f801["+i+"]/ordfildcd", grd_f801h.labelMatrix(i, grd_f801h.colRef("ordfildcd"))); // 분야
  1056. model.makeValue("/root/hidden/prnt1/f801["+i+"]/acptno", grd_f801h.valueMatrix(i, grd_f801h.colRef("acptno"))); // 접수번호
  1057. model.makeValue("/root/hidden/prnt1/f801["+i+"]/judgdg", grd_f801h.valueMatrix(i, grd_f801h.colRef("judgdg"))); // 접수번호
  1058. model.makeValue("/root/hidden/prnt1/f801["+i+"]/jrcntsum", grd_f801h.valueMatrix(i, grd_f801h.colRef("jrcntsum"))); // 조정건수
  1059. model.makeValue("/root/hidden/prnt1/f801["+i+"]/jrramtsum", grd_f801h.labelMatrix(i, grd_f801h.colRef("jrramtsum"))); // 조정금액
  1060. model.makeValue("/root/hidden/prnt1/f801["+i+"]/ordym", grd_f801h.valueMatrix(i, grd_f801h.colRef("ordym"))); // 진료월
  1061. }
  1062. // 2. 보고서 호출
  1063. exeReportPreview("RPPIE01300", "XMLSTR");
  1064. //exeReportPreview("RPPIE01300", "XMLSTR", "/root/hidden/prnt1");
  1065. ]]>
  1066. </script>
  1067. </button>
  1068. </group>
  1069. </xhtml:body>
  1070. </xhtml:html>