SMPIE01200_원외처방심사결과통보서(F090)조회.xrw 48 KB

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