SMPIE01600_원외처방정산내역서(F070)조회.xrw 57 KB

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