SMPIE03000_요양(의료)급여비용결정서(F130)조회.xrw 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>요양(의료)급여비용결정서(F130)조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send_f131>
  11. <flag/>
  12. <fromdd/>
  13. <todd/>
  14. <ioflag/>
  15. <calcjudgdg/>
  16. <noflag/>
  17. <no/>
  18. <clamflag/>
  19. <relbase/>
  20. <formflag/>
  21. <judgrid/>
  22. <orddeptcd/>
  23. <endyn/>
  24. </send_f131>
  25. <send_f133>
  26. <calcjudgdg/>
  27. <calcnotidd/>
  28. <formflag/>
  29. <acptno/>
  30. <clamseqno/>
  31. <calcyearseqno/>
  32. <docuseqno/>
  33. <judgrid/>
  34. </send_f133>
  35. <send_end>
  36. <calcjudgdg/>
  37. <calcnotidd/>
  38. <formflag/>
  39. <acptno/>
  40. <clamseqno/>
  41. <calcyearseqno/>
  42. <docuseqno/>
  43. <judgrid/>
  44. <endyn/>
  45. <list/>
  46. </send_end>
  47. </send>
  48. <main>
  49. <list01>
  50. <gridpiehf131>
  51. <calcjudgdg/>
  52. <calcnotidd/>
  53. <formflag/>
  54. <insuflag/>
  55. <clamno/>
  56. <fild/>
  57. <acptno/>
  58. <judgdg/>
  59. <clamseqno/>
  60. <calcyearseqno/>
  61. <decidifamtsum/>
  62. <relbase/>
  63. <remtwo/>
  64. <docuno/>
  65. <calcchrgdeptnm/>
  66. <calcchrgnm/>
  67. <calcbiztel/>
  68. <remone/>
  69. <docuenddd/>
  70. <suppcd/>
  71. </gridpiehf131>
  72. </list01>
  73. <list02>
  74. <gridpiehf133>
  75. <docuseqno/>
  76. <pid/>
  77. <patnm/>
  78. <decidifamt/>
  79. <deccntnt/>
  80. </gridpiehf133>
  81. </list02>
  82. </main>
  83. <init>
  84. <P0291list>
  85. <P0291>
  86. <cdid/>
  87. <cdnm/>
  88. </P0291>
  89. </P0291list>
  90. <P0247list>
  91. <P0247>
  92. <cdid/>
  93. <cdnm/>
  94. </P0247>
  95. </P0247list>
  96. <P0286list>
  97. <P0286>
  98. <cdid/>
  99. <cdnm/>
  100. </P0286>
  101. </P0286list>
  102. <PK077list/>
  103. </init>
  104. <hidden>
  105. </hidden>
  106. <sendprinter>
  107. <gridpiehf131>
  108. <calcjudgdg/>
  109. <calcnotidd/>
  110. <formflag/>
  111. <acptno/>
  112. <judgdg/>
  113. <fild/>
  114. <ioflag/>
  115. <calcyearseqno/>
  116. <decidifamtsum/>
  117. <relbase/>
  118. <remtwo/>
  119. </gridpiehf131>
  120. <list02>
  121. <grd_piehf133>
  122. <docuseqno/>
  123. <pid/>
  124. <patnm/>
  125. <decidifamt/>
  126. <deccntnt/>
  127. </grd_piehf133>
  128. </list02>
  129. </sendprinter>
  130. <tmp>
  131. <filterlist>
  132. <judgrid/>
  133. </filterlist>
  134. </tmp>
  135. </root>
  136. </instance>
  137. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  138. <submission id="TRPIE03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_f131" resultref="/root/main/list01"/>
  139. <submission id="TRPIE03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_f133" resultref="/root/main/list02"/>
  140. <submission id="TRPIE03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_f133" resultref="/root/sendprinter/"/>
  141. <submission id="TRPIJ00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/list1"/>
  142. <submission id="TRPIJ00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/send" resultref="/root/hidden"/>
  143. <submission id="TXPIE03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_end" resultref="/"/>
  144. <submission id="TXPIE03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_end" resultref="/"/>
  145. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  146. </model>
  147. <script type="javascript" ev:event="xforms-ready">
  148. <![CDATA[
  149. // 공통코드 Load작업
  150. CommCode_Load();
  151. // 그리드 고정
  152. //grd_piehf131.frozenCols = grd_piehf131.colRef("calcnotidd");
  153. fInitialize();
  154. grd_piehf131.fixedcellcheckbox(0,grd_piehf131.colRef("endyn")) = true;
  155. ]]>
  156. </script>
  157. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  158. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  159. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  160. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  161. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  162. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  163. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  164. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  165. <script type="javascript">
  166. <![CDATA[
  167. function Node_Init() {
  168. // NodeSet 초기화
  169. model.resetInstanceNode("/root/main/list");
  170. model.refresh();
  171. }
  172. // 공통코드 Load작업
  173. function CommCode_Load() {
  174. submit("TRPIJ00203",false);
  175. submit("TRPIJ00202",false);
  176. zbcfGetCodeList(new Array("P0291","P0247","P0286"), new Array( "/root/init/P0291list","/root/init/P0247list","/root/init/P0286list")); // 청구분야, 보험자구분
  177. pamfGetCodeList(new Array("PK077"), new Array("/root/init/PK077list"));
  178. }
  179. function fSendChk() {
  180. var flag = model.getValue("/root/send/send_f131/flag"); //차수및일자
  181. var fromdd = model.getValue("/root/send/send_f131/fromdd");
  182. var todd = model.getValue("/root/send/send_f131/todd");
  183. var ioflag = model.getValue("/root/send/send_f131/ioflag");
  184. var calcjudgdg = model.getValue("/root/send/send_f131/calcjudgdg");
  185. var noflag = model.getValue("/root/send/send_f131/noflag"); //접수&청구번호
  186. var no = model.getValue("/root/send/send_f131/no");
  187. var clamflag = model.getValue("/root/send/send_f131/clamflag");
  188. return true;
  189. }
  190. function fDayChk(){
  191. var appno = model.getValue("/root/send/appno1");
  192. var dd = getCurrentDate();
  193. if(appno != dd){
  194. var chk = messageBox("신청일자가 오늘일자와 다릅니다.","Q003");
  195. if(chk == "6"){
  196. return true;
  197. }else{
  198. return false;
  199. }
  200. }
  201. }
  202. function fNewLnnoSet(){
  203. var rows = grd_piehh702.rows;
  204. var frows = grd_piehh702.fixedRows;
  205. var nrows = rows - frows;
  206. var newlnno = model.getValue("/root/main/list01/gridpiehh702[" + nrows + "]/lnno")
  207. model.setValue("/root/main/list02/gridpiehh702info/lnno", newlnno);
  208. //약품조회시 처음에 insert한다는 전제하에 status를 I로 한다.
  209. var rows = grd_piehh703.rows;
  210. var frows = grd_piehh703.fixedRows;
  211. var nrows = rows - frows;
  212. for(var i = 1; i <= nrows; i++){
  213. model.setValue("/root/main/list03/gridpiehh703[" + i + "]/lnno",newlnno);
  214. grd_piehh703.rowStatus(i) = 1;
  215. }
  216. model.refresh();
  217. }
  218. function fInitialize(){
  219. //model.resetInstanceNode("/root/send");
  220. model.removeNodeset("/root/main/list01/gridpiehf131");
  221. model.removeNodeset("/root/main/list02/gridpiehf133");
  222. model.setValue("/root/send/send_f131/flag", "1");
  223. model.setValue("/root/send/send_f131/ioflag", "A");
  224. model.setValue("/root/send/send_f131/noflag", "A");
  225. model.refresh();
  226. }
  227. function fPrinter(){
  228. model.removeNodeset("/root/sendprinter");
  229. for (var i =1; i < grd_piehf131.rows; i++) {
  230. model.makeValue("/root/sendprinter/gridpiehf131/calcjudgdg",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcjudgdg"))); //정산심사차수
  231. model.makeValue("/root/sendprinter/gridpiehf131/calcnotidd",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcnotidd"))); //정산통보일자
  232. model.makeValue("/root/sendprinter/gridpiehf131/formflag",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("formflag"))); //서식구분
  233. model.makeValue("/root/sendprinter/gridpiehf131/acptno",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("acptno"))); //접수번호
  234. model.makeValue("/root/sendprinter/gridpiehf131/judgdg",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("judgdg"))); //심사차수
  235. model.makeValue("/root/sendprinter/gridpiehf131/fild",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("fild"))); //분야
  236. model.makeValue("/root/sendprinter/gridpiehf131/ioflag",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("ioflag"))); //내원유형
  237. model.makeValue("/root/sendprinter/gridpiehf131/calcyearseqno",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcyearseqno"))); //정산연변
  238. model.makeValue("/root/sendprinter/gridpiehf131/decidifamtsum",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("decidifamtsum"))); //정산결정차액합
  239. model.makeValue("/root/sendprinter/gridpiehf131/relbase",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("relbase"))); //관련근거
  240. model.makeValue("/root/sendprinter/gridpiehf131/remtwo",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("remtwo"))); //참조
  241. model.makeValue("/root/sendprinter/gridpiehf131/instcd", getUserInfo("dutplceinstcd")); //참조
  242. model.makeValue("/root/sendprinter/gridpiehf131/sign1", model.getValue("/root/init/PK077list/PK077[cdid=1]/cdnm")); //담당
  243. model.makeValue("/root/sendprinter/gridpiehf131/sign2", model.getValue("/root/init/PK077list/PK077[cdid=2]/cdnm")); //팀장
  244. model.makeValue("/root/sendprinter/gridpiehf131/sign3", model.getValue("/root/init/PK077list/PK077[cdid=3]/cdnm")); //과장
  245. // F110.2를 조회하기 위한 set작업
  246. model.setValue("/root/send/send_f133/calcjudgdg", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcjudgdg")));
  247. model.setValue("/root/send/send_f133/calcnotidd", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcnotidd")));
  248. model.setValue("/root/send/send_f133/formflag", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("formflag")));
  249. model.setValue("/root/send/send_f133/acptno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("acptno")));
  250. model.setValue("/root/send/send_f133/clamseqno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("clamseqno")));
  251. model.setValue("/root/send/send_f133/calcyearseqno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcyearseqno")));
  252. //model.setValue("/root/send/send_f133/docuseqno", model.getValue("/root/main/list01/gridpiehf131[" + i + "]/docuseqno"));
  253. model.refresh();
  254. // F110.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  255. submit("TRPIE03002");
  256. model.removeNodeset("/root/sendprinter/list02/grd_piehf133");
  257. model.makeNode("/root/sendprinter/list02/grd_piehf133");
  258. if( getNodesetCount("/root/sendprinter/list02/grd_piehf133") > 0 ){
  259. model.copyNode("/root/sendprinter/list02", "/root/main/list02");
  260. }
  261. exeReportPreview("RPPIE03000", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  262. fsetGridSelEndYN(i, "Y");
  263. fsetGridCellColor(i);
  264. }
  265. }
  266. function fSelPrinter(){
  267. model.removeNodeset("/root/sendprinter");
  268. for (var i =1; i < grd_piehf131.rows; i++){
  269. if (model.getValue("/root/main/list01/gridpiehf131[" + i + "]/patspecyn") == "Y") {
  270. model.makeValue("/root/sendprinter/gridpiehf131/calcjudgdg",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcjudgdg"))); //정산심사차수
  271. model.makeValue("/root/sendprinter/gridpiehf131/calcnotidd",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcnotidd"))); //정산통보일자
  272. model.makeValue("/root/sendprinter/gridpiehf131/formflag",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("formflag"))); //서식구분
  273. model.makeValue("/root/sendprinter/gridpiehf131/acptno",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("acptno"))); //접수번호
  274. model.makeValue("/root/sendprinter/gridpiehf131/judgdg",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("judgdg"))); //심사차수
  275. model.makeValue("/root/sendprinter/gridpiehf131/fild",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("fild"))); //분야
  276. model.makeValue("/root/sendprinter/gridpiehf131/ioflag",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("ioflag"))); //내원유형
  277. model.makeValue("/root/sendprinter/gridpiehf131/calcyearseqno",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcyearseqno"))); //정산연변
  278. model.makeValue("/root/sendprinter/gridpiehf131/decidifamtsum",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("decidifamtsum"))); //정산결정차액합
  279. model.makeValue("/root/sendprinter/gridpiehf131/relbase",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("relbase"))); //관련근거
  280. model.makeValue("/root/sendprinter/gridpiehf131/remtwo",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("remtwo"))); //참조
  281. model.makeValue("/root/sendprinter/gridpiehf131/instcd", getUserInfo("dutplceinstcd")); //참조
  282. model.makeValue("/root/sendprinter/gridpiehf131/sign1", model.getValue("/root/init/PK077list/PK077[cdid=1]/cdnm")); //담당
  283. model.makeValue("/root/sendprinter/gridpiehf131/sign2", model.getValue("/root/init/PK077list/PK077[cdid=2]/cdnm")); //팀장
  284. model.makeValue("/root/sendprinter/gridpiehf131/sign3", model.getValue("/root/init/PK077list/PK077[cdid=3]/cdnm")); //과장
  285. // F110.2를 조회하기 위한 set작업
  286. model.setValue("/root/send/send_f133/calcjudgdg", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcjudgdg")));
  287. model.setValue("/root/send/send_f133/calcnotidd", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcnotidd")));
  288. model.setValue("/root/send/send_f133/formflag", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("formflag")));
  289. model.setValue("/root/send/send_f133/acptno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("acptno")));
  290. model.setValue("/root/send/send_f133/clamseqno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("clamseqno")));
  291. model.setValue("/root/send/send_f133/calcyearseqno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcyearseqno")));
  292. model.refresh();
  293. // F110.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  294. submit("TRPIE03002");
  295. model.removeNodeset("/root/sendprinter/list02/grd_piehf133");
  296. model.makeNode("/root/sendprinter/list02/grd_piehf133");
  297. if( getNodesetCount("/root/sendprinter/list02/grd_piehf133") > 0 ){
  298. model.copyNode("/root/sendprinter/list02", "/root/main/list02");
  299. }
  300. exeReportPreview("RPPIE03000", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  301. fsetGridSelEndYN(i, "Y");
  302. fsetGridCellColor(i);
  303. }
  304. }
  305. }
  306. function ffilterList(){
  307. var selval = model.getValue(cmb_judgrid.attribute("ref"));
  308. var node = "*";
  309. if (selval == '') {
  310. node = "*";
  311. } else {
  312. node = "judgrid='"+ selval+"'";
  313. }
  314. grd_piehf133.nodeset = "/root/main/list02/gridpiehf133[" + node + "]";
  315. }
  316. function fsetGridColor(){
  317. grd_piehf131.rebuildStyle(grd_piehf131.fixedRows, 1, grd_piehf131.rows-grd_piehf131.fixedRows, grd_piehf131.cols -1 );
  318. var endyncnt = model.getXPathValue("count("+grd_piehf131.nodeset + "[endyn='Y'])");
  319. var startrow = grd_piehf131.findRow("Y", grd_piehf131.fixedRows, grd_piehf131.colRef("endyn"),true,true);
  320. for (var i =0; i < endyncnt; i++){
  321. var nowrow = grd_piehf131.findRow("Y", startrow, grd_piehf131.colRef("endyn"),true,true);
  322. grd_piehf131.rowstyle(nowrow , "all", "background-color") = "#FFF000";
  323. startrow = grd_piehf131.findRow("Y", startrow, grd_piehf131.colRef("endyn"),true,true) + 1;
  324. }
  325. }
  326. function fsetGridCellColor(row){
  327. if (grd_piehf131.valueMatrix(row,grd_piehf131.colRef("endyn")) == "Y") {
  328. grd_piehf131.rowstyle(row , "all", "background-color") = "#FFF000";
  329. } else {
  330. grd_piehf131.rebuildStyle(row, 1, row, grd_piehf131.cols -1 );
  331. }
  332. }
  333. function fsetGridSelEndYN(row, endyn){
  334. model.setValue("/root/send/send_end/endyn", endyn);
  335. model.setValue("/root/send/send_end/calcjudgdg", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("calcjudgdg")));
  336. model.setValue("/root/send/send_end/calcnotidd", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("calcnotidd")));
  337. model.setValue("/root/send/send_end/formflag", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("formflag")));
  338. model.setValue("/root/send/send_end/acptno", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("acptno")));
  339. model.setValue("/root/send/send_end/clamseqno", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("clamseqno")));
  340. model.setValue("/root/send/send_end/calcyearseqno", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("calcyearseqno")));
  341. submit("TXPIE03001", false);
  342. model.resetInstanceNode("/root/send/send_end");
  343. grd_piehf131.valueMatrix(row,grd_piehf131.colRef("endyn")) = endyn;
  344. }
  345. ]]>
  346. </script>
  347. </xhtml:head>
  348. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  349. <group id="group4" scroll="auto" style="left:0px; top:15px; width:1194px; height:741px; ">
  350. <datagrid id="grd_piehf131" nodeset="/root/main/list01/gridpiehf131" class="datagrid2" caption="선택^심사자^정산&#xA;심사차수^통보일자^서식&#xA;구분^보험자&#xA;구분^청구번호^분야^접수번호^내원&#xA;유형^심사차수^청구서&#xA;일련번호^정산연번^정산심사&#xA;결정차액합^관련근거^참조란^문서번호^담당부서^담당자명^담당전화^안내사항^문서완료일자^지원코드^완료&#xA;구분" colsep="^" colwidth="35, 62, 60, 60, 40, 85, 75, 30, 60, 30, 60, 62, 80, 83, 100, 150, 80, 90, 90, 90, 400, 100, 57, 52" dataheight="25" ellipsis="true" explorerbar="sortmove" fixedcols="1" focuscolor="#b9e5fb" frozencols="1" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:118px; width:1194px; height:226px; ">
  351. <col checkvalue="Y,N" ref="patspecyn" type="checkbox"/>
  352. <col ref="judgrnm"/>
  353. <col ref="calcjudgdg" style="text-align:center; "/>
  354. <col ref="calcnotidd" style="text-align:center; "/>
  355. <col ref="formflag" style="text-align:center; "/>
  356. <col disabled="true" ref="insuflag" type="combo" style="text-align:center; ">
  357. <choices>
  358. <itemset nodeset="/root/init/P0247list/P0247">
  359. <label ref="cdnm"/>
  360. <value ref="cdid"/>
  361. </itemset>
  362. </choices>
  363. </col>
  364. <col ref="clamno" style="text-align:center; "/>
  365. <col ref="fild" style="text-align:center; "/>
  366. <col ref="acptno" style="text-align:center; "/>
  367. <col ref="ioflag" style="text-align:center; "/>
  368. <col ref="judgdg" style="text-align:center; "/>
  369. <col ref="clamseqno" style="text-align:center; "/>
  370. <col ref="calcyearseqno" style="text-align:center; "/>
  371. <col ref="decidifamtsum" format="(-)#,###" style="text-align:right; "/>
  372. <col ref="relbase" style="text-align:center; "/>
  373. <col ref="remtwo"/>
  374. <col ref="docuno" style="text-align:center; "/>
  375. <col ref="calcchrgdeptnm" style="text-align:center; "/>
  376. <col ref="calcchrgnm" style="text-align:center; "/>
  377. <col ref="calcbiztel" style="text-align:center; "/>
  378. <col ref="remone"/>
  379. <col ref="docuenddd" style="text-align:center; "/>
  380. <col ref="suppcd" type="combo" style="text-align:center; ">
  381. <choices>
  382. <itemset nodeset="/root/init/P0286list/P0286">
  383. <label ref="cdnm"/>
  384. <value ref="cdid"/>
  385. </itemset>
  386. </choices>
  387. </col>
  388. <col checkvalue="Y,N" ref="endyn" type="checkbox"/>
  389. <script type="javascript" ev:event="ondblclick">
  390. <![CDATA[
  391. // F110.2를 조회하기 위한 set작업
  392. if(grd_piehf131.isCell(event.target) && grd_piehf131.row >= grd_piehf131.fixedRows) {
  393. var row = grd_piehf131.row;
  394. model.setValue("/root/send/send_f133/calcjudgdg", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("calcjudgdg")));
  395. model.setValue("/root/send/send_f133/calcnotidd", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("calcnotidd")));
  396. model.setValue("/root/send/send_f133/formflag", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("formflag")));
  397. model.setValue("/root/send/send_f133/acptno", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("acptno")));
  398. model.setValue("/root/send/send_f133/clamseqno", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("clamseqno")));
  399. model.setValue("/root/send/send_f133/calcyearseqno", grd_piehf131.valueMatrix(row,grd_piehf131.colRef("calcyearseqno")));
  400. // F110.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  401. submit("TRPIE03002");
  402. ffilterList();
  403. }
  404. ]]>
  405. </script>
  406. <script type="javascript" ev:event="onkeydown">
  407. <![CDATA[
  408. // 셀 복사 Ctrl + C 키를 누른 경우
  409. if (grd_piehf131.isCell(event.target) && grd_piehf131.row >= grd_piehf131.fixedRows) {
  410. var row = grd_piehf131.row;
  411. var col = grd_piehf131.col;
  412. var clip = grd_piehf131.labelMatrix(row, col);
  413. window.clipBoardData = clip;
  414. }
  415. ]]>
  416. </script>
  417. <script type="javascript" ev:event="oncopy">
  418. <![CDATA[
  419. grid_oncopy();
  420. ]]>
  421. </script>
  422. <script type="javascript" ev:event="xforms-value-changed">
  423. <![CDATA[
  424. if (grd_piehf131.col == grd_piehf131.colRef("endyn")) {
  425. var row = grd_piehf131.row;
  426. fsetGridSelEndYN(row, grd_piehf131.valueMatrix(row,grd_piehf131.colRef("endyn")));
  427. fsetGridCellColor(row);
  428. }
  429. ]]>
  430. </script>
  431. <script type="javascript" ev:event="onclick">
  432. <![CDATA[
  433. if (grd_piehf131.row == 0 && grd_piehf131.col == grd_piehf131.colRef("endyn")) {
  434. model.setValue("/root/send/send_end/list",grd_piehf131.getUpdateDataAll("u"));
  435. submit("TXPIE03002", false);
  436. fsetGridColor();
  437. }
  438. ]]>
  439. </script>
  440. <script type="javascript" ev:event="onaftersort">
  441. <![CDATA[
  442. grd_piehf131.gridToInstance();
  443. ]]>
  444. </script>
  445. </datagrid>
  446. <caption id="caption5" class="tit_2" style="left:5px; top:98px; width:110px; height:14px; ">F130. 1/2</caption>
  447. <datagrid id="grd_piehf133" nodeset="/root/main/list02/gridpiehf133" class="datagrid2" caption="명일련^등록번호^수진자^심사결정차액^진료과^심사자^결정내용" colsep="^" colwidth="100, 100, 100, 100, 100, 50, 659" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:386px; width:1194px; height:351px; ">
  448. <col ref="docuseqno" style="text-align:center; "/>
  449. <col ref="pid" style="text-align:center; "/>
  450. <col ref="patnm" style="text-align:center; "/>
  451. <col ref="decidifamt" format="(-)#,###" style="text-align:right; "/>
  452. <col ref="orddeptcd" style="text-align:center; "/>
  453. <col ref="judgrid" style="text-align:center; "/>
  454. <col ref="deccntnt"/>
  455. <script type="javascript" ev:event="onkeydown">
  456. <![CDATA[
  457. // 셀 복사 Ctrl + C 키를 누른 경우
  458. if (grd_piehf133.isCell(event.target) && grd_piehf133.row >= grd_piehf133.fixedRows) {
  459. var row = grd_piehf133.row;
  460. var col = grd_piehf133.col;
  461. var clip = grd_piehf133.labelMatrix(row, col);
  462. window.clipBoardData = clip;
  463. }
  464. ]]>
  465. </script>
  466. <script type="javascript" ev:event="oncopy">
  467. <![CDATA[
  468. grid_oncopy();
  469. ]]>
  470. </script>
  471. </datagrid>
  472. <line id="line2" class="line_1" style="x1:0px; y1:380px; x2:1194px; y2:380px; "/>
  473. <caption id="caption8" class="tit_2" style="left:5px; top:366px; width:65px; height:14px; ">F130.3</caption>
  474. <line id="line3" class="line_1" style="x1:0px; y1:115px; x2:1194px; y2:114px; "/>
  475. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:76px; vertical-align:top; ">
  476. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:76px; background-color:#fffbf2; border-color:#ffd799; "/>
  477. <line id="line4" class="line_4" style="x1:1115px; y1:13px; x2:1115px; y2:60px; "/>
  478. <caption id="caption9" class="search_name" style="left:270px; top:29px; width:96px; height:17px; ">청구분야 :</caption>
  479. <caption id="caption11" style="left:429px; top:7px; width:15px; height:15px; ">~</caption>
  480. <button id="btn_srch" class="btn1_letter2" style="left:1130px; top:28px; width:56px; height:22px; ">
  481. <caption>조회</caption>
  482. <script type="javascript" ev:event="DOMActivate">
  483. <![CDATA[
  484. // 조회조건 확인
  485. if(fSendChk()){
  486. model.resetInstanceNode(grd_piehf133.nodeset);
  487. // 조회조건으로 F110.1 data를 조회한다.
  488. submit("TRPIE03001");
  489. fsetGridColor()
  490. }
  491. ]]>
  492. </script>
  493. </button>
  494. <select1 id="rdo_flag" ref="/root/send/send_f131/flag" appearance="full" cols="3" overflow="visible" style="left:122px; top:6px; width:210px; height:15px; border-style:none; ">
  495. <choices>
  496. <item>
  497. <label>정산차수</label>
  498. <value>1</value>
  499. </item>
  500. <item>
  501. <label>진료년월</label>
  502. <value>2</value>
  503. </item>
  504. <item>
  505. <label>통보일자</label>
  506. <value>3</value>
  507. </item>
  508. </choices>
  509. <script type="javascript" ev:event="xforms-select">
  510. <![CDATA[
  511. if (rdo_flag.value == 1) {
  512. ipt_fromdd.attribute("maxlength") = 8;
  513. ipt_todd.attribute("maxlength") = 8;
  514. ipt_fromdd.attribute("format") = "";
  515. ipt_todd.attribute("format") = "";
  516. ipt_fromdd.attribute("inputtype") = "";
  517. ipt_todd.attribute("inputtype") = "";
  518. }else if (rdo_flag.value == 2) {
  519. ipt_fromdd.attribute("format") = "yyyy-mm";
  520. ipt_todd.attribute("format") = "yyyy-mm";
  521. ipt_fromdd.attribute("inputtype") = "date";
  522. ipt_todd.attribute("inputtype") = "date";
  523. var cur_date = getCurrentDate();
  524. model.setValue("/root/send/send_f131/fromdd", cur_date.substr(0,6));
  525. model.setValue("/root/send/send_f131/todd", cur_date.substr(0,6));
  526. }else if (rdo_flag.value == 3){
  527. ipt_fromdd.attribute("format") = "yyyy-mm-dd";
  528. ipt_todd.attribute("format") = "yyyy-mm-dd";
  529. ipt_fromdd.attribute("inputtype") = "date";
  530. ipt_todd.attribute("inputtype") = "date";
  531. model.setValue("/root/send/send_f131/fromdd", getCurrentDate());
  532. model.setValue("/root/send/send_f131/todd", getCurrentDate());
  533. }
  534. model.setFocus("ipt_todd");
  535. model.refresh();
  536. ]]>
  537. </script>
  538. </select1>
  539. <select1 id="rdo_ioflag" ref="/root/send/send_f131/ioflag" appearance="full" cols="3" overflow="visible" style="left:650px; top:6px; width:135px; height:15px; border-style:none; ">
  540. <choices>
  541. <item>
  542. <label>전체</label>
  543. <value>A</value>
  544. </item>
  545. <item>
  546. <label>입원</label>
  547. <value>I</value>
  548. </item>
  549. <item>
  550. <label>외래</label>
  551. <value>O</value>
  552. </item>
  553. </choices>
  554. <script type="javascript" ev:event="xforms-value-changed">
  555. <![CDATA[
  556. var flag = model.getValue("/root/send/send_f111/dateflag");
  557. if(flag == "0"){
  558. ipt_notifromdd.disabled = false;
  559. ipt_notitodd.disabled = false;
  560. ipt_appfromdd.disabled = false;
  561. ipt_apptodd.disabled = false;
  562. }
  563. if(flag == "1"){
  564. ipt_notifromdd.disabled = false;
  565. ipt_notitodd.disabled = false;
  566. ipt_appfromdd.disabled = true;
  567. ipt_apptodd.disabled = true;
  568. }
  569. if(flag == "2"){
  570. ipt_notifromdd.disabled = true;
  571. ipt_notitodd.disabled = true;
  572. ipt_appfromdd.disabled = false;
  573. ipt_apptodd.disabled = false;
  574. }
  575. ]]>
  576. </script>
  577. </select1>
  578. <caption id="caption2" class="search_name" style="left:556px; top:5px; width:96px; height:17px; ">내원유형 :</caption>
  579. <caption id="caption3" class="search_name" style="left:5px; top:29px; width:117px; height:17px; ">정산심사차수 :</caption>
  580. <input id="ipt_calcjudgdg" ref="/root/send/send_f131/calcjudgdg" class="input_search" autonext="false" maxlength="8" appearance="input" style="left:125px; top:27px; width:100px; height:19px; ">
  581. <script type="javascript" ev:event="onkeydown">
  582. <![CDATA[
  583. inputEnterKey("btn_srch", "DOMActivate");
  584. ]]>
  585. </script>
  586. </input>
  587. <select1 id="rdo_noflag" ref="/root/send/send_f131/noflag" appearance="full" cols="3" overflow="visible" style="left:650px; top:28px; width:135px; height:19px; border-style:none; ">
  588. <choices>
  589. <item>
  590. <label>접수번호</label>
  591. <value>A</value>
  592. </item>
  593. <item>
  594. <label>청구번호</label>
  595. <value>C</value>
  596. </item>
  597. </choices>
  598. <script type="javascript" ev:event="xforms-value-changed">
  599. <![CDATA[
  600. var flag = model.getValue("/root/send/send_f111/dateflag");
  601. if(flag == "0"){
  602. ipt_notifromdd.disabled = false;
  603. ipt_notitodd.disabled = false;
  604. ipt_appfromdd.disabled = false;
  605. ipt_apptodd.disabled = false;
  606. }
  607. if(flag == "1"){
  608. ipt_notifromdd.disabled = false;
  609. ipt_notitodd.disabled = false;
  610. ipt_appfromdd.disabled = true;
  611. ipt_apptodd.disabled = true;
  612. }
  613. if(flag == "2"){
  614. ipt_notifromdd.disabled = true;
  615. ipt_notitodd.disabled = true;
  616. ipt_appfromdd.disabled = false;
  617. ipt_apptodd.disabled = false;
  618. }
  619. ]]>
  620. </script>
  621. </select1>
  622. <input id="input1" ref="/root/send/send_f131/no" class="input_search" autonext="false" maxlength="10" appearance="input" style="left:790px; top:26px; width:100px; height:19px; ">
  623. <script type="javascript" ev:event="onkeypress">
  624. <![CDATA[
  625. inputEnterKey("btn_srch", "DOMActivate");
  626. ]]>
  627. </script>
  628. </input>
  629. <select1 id="cmb_clamflag" ref="/root/send/send_f131/clamflag" class="combo_search" appearance="minimal" style="left:365px; top:27px; width:100px; height:19px; ">
  630. <choices>
  631. <itemset nodeset="/root/init/P0291list/P0291">
  632. <label ref="cdnm"/>
  633. <value ref="cdid"/>
  634. </itemset>
  635. </choices>
  636. </select1>
  637. <caption id="caption1" class="search_name" style="left:6px; top:4px; width:117px; height:17px; ">차수 및 일자 :</caption>
  638. <caption id="caption4" class="search_name" style="left:557px; top:29px; width:96px; height:17px; ">번 호 :</caption>
  639. <caption id="caption7" class="search_name" style="left:905px; top:7px; width:96px; height:17px; ">관련근거 :</caption>
  640. <input id="input2" ref="/root/send/send_f131/relbase" style="left:1000px; top:6px; width:100px; height:19px; ">
  641. <script type="javascript" ev:event="onkeydown">
  642. <![CDATA[
  643. inputEnterKey("btn_srch", "DOMActivate");
  644. ]]>
  645. </script>
  646. </input>
  647. <input id="ipt_fromdd" ref="/root/send/send_f131/fromdd" class="input_search" inputtype="date" style="left:335px; top:4px; width:90px; height:19px; ">
  648. <script type="javascript" ev:event="DOMFocusOut">
  649. <![CDATA[
  650. model.setValue("/root/send/send_f131/todd",model.getValue("/root/send/send_f131/fromdd"));
  651. model.refresh();
  652. ]]>
  653. </script>
  654. </input>
  655. <input id="ipt_todd" ref="/root/send/send_f131/todd" class="input_search" inputtype="date" style="left:444px; top:4px; width:90px; height:19px; ">
  656. <script type="javascript" ev:event="onkeypress">
  657. <![CDATA[
  658. inputEnterKey("btn_srch", "DOMActivate");
  659. ]]>
  660. </script>
  661. </input>
  662. <select1 id="combo1" ref="/root/send/send_f131/judgrid" class="combo_search" appearance="minimal" style="left:365px; top:52px; width:100px; height:19px; ">
  663. <choices>
  664. <itemset nodeset="/root/list/judglist">
  665. <label ref="judgnm"/>
  666. <value ref="judgid"/>
  667. </itemset>
  668. </choices>
  669. </select1>
  670. <caption id="caption10" class="search_name" style="left:270px; top:52px; width:96px; height:17px; ">심사자 :</caption>
  671. <caption id="caption12" class="search_name" style="left:5px; top:52px; width:117px; height:17px; ">서식구분 :</caption>
  672. <caption id="caption13" class="search_name" style="left:558px; top:51px; width:96px; height:17px; ">진 료 과 :</caption>
  673. <select1 id="combo2" ref="/root/send/send_f131/orddeptcd" class="combo_search" appearance="minimal" style="left:650px; top:50px; width:135px; height:19px; ">
  674. <choices>
  675. <itemset nodeset="/root/init/list1/deptlist">
  676. <label ref="depthngnm"/>
  677. <value ref="deptcd"/>
  678. </itemset>
  679. </choices>
  680. </select1>
  681. <select1 id="combo3" ref="/root/send/send_f131/formflag" class="combo_search" appearance="minimal" style="left:125px; top:52px; width:100px; height:19px; ">
  682. <choices>
  683. <item>
  684. <label>전체</label>
  685. <value/>
  686. </item>
  687. <item>
  688. <label>F130</label>
  689. <value>F130</value>
  690. </item>
  691. <item>
  692. <label>F140</label>
  693. <value>F140</value>
  694. </item>
  695. <item>
  696. <label>F150</label>
  697. <value>F150</value>
  698. </item>
  699. </choices>
  700. </select1>
  701. <caption id="caption14" class="search_name" style="left:866px; top:51px; width:96px; height:17px; ">완료구분 :</caption>
  702. <select1 id="radio1" ref="/root/send/send_f131/endyn" appearance="full" cols="3" overflow="visible" style="left:956px; top:53px; width:144px; height:15px; border-style:none; ">
  703. <choices>
  704. <item>
  705. <label>전체</label>
  706. <value/>
  707. </item>
  708. <item>
  709. <label>완료</label>
  710. <value>Y</value>
  711. </item>
  712. <item>
  713. <label>미완료</label>
  714. <value>N</value>
  715. </item>
  716. </choices>
  717. <script type="javascript" ev:event="xforms-select">
  718. <![CDATA[
  719. if (rdo_flag.value == 1) {
  720. ipt_fromdd.attribute("maxlength") = 8;
  721. ipt_todd.attribute("maxlength") = 8;
  722. ipt_fromdd.attribute("format") = "";
  723. ipt_todd.attribute("format") = "";
  724. ipt_fromdd.attribute("inputtype") = "";
  725. ipt_todd.attribute("inputtype") = "";
  726. }else if (rdo_flag.value == 2) {
  727. ipt_fromdd.attribute("format") = "yyyy-mm";
  728. ipt_todd.attribute("format") = "yyyy-mm";
  729. ipt_fromdd.attribute("inputtype") = "date";
  730. ipt_todd.attribute("inputtype") = "date";
  731. var cur_date = getCurrentDate();
  732. model.setValue("/root/send/send_f131/fromdd", cur_date.substr(0,6));
  733. model.setValue("/root/send/send_f131/todd", cur_date.substr(0,6));
  734. }else if (rdo_flag.value == 3){
  735. ipt_fromdd.attribute("format") = "yyyy-mm-dd";
  736. ipt_todd.attribute("format") = "yyyy-mm-dd";
  737. ipt_fromdd.attribute("inputtype") = "date";
  738. ipt_todd.attribute("inputtype") = "date";
  739. model.setValue("/root/send/send_f131/fromdd", getCurrentDate());
  740. model.setValue("/root/send/send_f131/todd", getCurrentDate());
  741. }
  742. model.setFocus("ipt_todd");
  743. model.refresh();
  744. ]]>
  745. </script>
  746. </select1>
  747. </group>
  748. <group id="grp_spclspec" visibility="hidden" style="left:720px; top:475px; width:430px; height:230px; ">
  749. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:430px; y2:20px; "/>
  750. <caption id="caption26" class="tit_2" style="left:5px; top:5px; width:159px; height:14px; ">결정내역(현재사용안함)</caption>
  751. <textarea id="txa_guidefactsspec" editable="false" style="left:0px; top:25px; width:430px; height:180px; "/>
  752. <button id="btn_cancel" class="btn4_letter2" style="left:371px; top:206px; width:56px; height:22px; ">
  753. <caption>닫기</caption>
  754. <script type="javascript" ev:event="DOMActivate">
  755. <![CDATA[
  756. grp_spclspec.visible = false;
  757. ]]>
  758. </script>
  759. </button>
  760. </group>
  761. <button id="button26" class="btn2_letter4" style="left:1127px; top:90px; width:64px; height:19px; ">
  762. <caption>전체출력</caption>
  763. <script type="javascript" ev:event="DOMActivate">
  764. <![CDATA[
  765. fPrinter();
  766. ]]>
  767. </script>
  768. </button>
  769. <button id="button1" class="btn2_letter4" style="left:1061px; top:90px; width:64px; height:19px; ">
  770. <caption>개별출력</caption>
  771. <script type="javascript" ev:event="DOMActivate">
  772. <![CDATA[
  773. fSelPrinter();
  774. ]]>
  775. </script>
  776. </button>
  777. <button id="button2" class="btn2_letter3" style="left:896px; top:90px; width:53px; height:19px; ">
  778. <caption>셀카피</caption>
  779. <script type="javascript" ev:event="onclick">
  780. <![CDATA[
  781. grd_piehf131.attribute("selectionmode") = "free";
  782. grd_piehf133.attribute("selectionmode") = "free";
  783. ]]>
  784. </script>
  785. </button>
  786. <button id="button3" class="btn2_letter3" style="left:1006px; top:90px; width:53px; height:19px; ">
  787. <caption>행카피</caption>
  788. <script type="javascript" ev:event="onclick">
  789. <![CDATA[
  790. grd_piehf131.attribute("selectionmode") = "byrow";
  791. grd_piehf133.attribute("selectionmode") = "byrow";
  792. ]]>
  793. </script>
  794. </button>
  795. <button id="button5" class="btn2_letter3" style="left:951px; top:90px; width:53px; height:19px; ">
  796. <caption>열카피</caption>
  797. <script type="javascript" ev:event="onclick">
  798. <![CDATA[
  799. grd_piehf131.attribute("selectionmode") = "bycol";
  800. grd_piehf133.attribute("selectionmode") = "bycol";
  801. ]]>
  802. </script>
  803. </button>
  804. <button id="button4" class="btn2_letter6" style="left:808px; top:90px; width:86px; height:19px; ">
  805. <caption>전체미리보기</caption>
  806. <script type="javascript" ev:event="DOMActivate">
  807. <![CDATA[
  808. model.removeNodeset("/root/sendprinter");
  809. for (var i =1; i < grd_piehf131.rows; i++){
  810. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/calcjudgdg",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcjudgdg"))); //정산심사차수
  811. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/calcnotidd",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcnotidd"))); //정산통보일자
  812. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/formflag",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("formflag"))); //서식구분
  813. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/acptno",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("acptno"))); //접수번호
  814. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/judgdg",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("judgdg"))); //심사차수
  815. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/fild",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("fild"))); //분야
  816. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/ioflag",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("ioflag"))); //내원유형
  817. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/calcyearseqno",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcyearseqno"))); //정산연변
  818. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/decidifamtsum",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("decidifamtsum"))); //정산결정차액합
  819. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/relbase",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("relbase"))); //관련근거
  820. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/remtwo",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("remtwo"))); //참조
  821. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/instcd", getUserInfo("dutplceinstcd")); //참조
  822. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/sign1", model.getValue("/root/init/PK077list/PK077[cdid=1]/cdnm")); //담당
  823. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/sign2", model.getValue("/root/init/PK077list/PK077[cdid=2]/cdnm")); //팀장
  824. model.makeValue("/root/sendprinter/gridpiehf131[" + i + "]/sign3", model.getValue("/root/init/PK077list/PK077[cdid=3]/cdnm")); //과장
  825. // F110.2를 조회하기 위한 set작업
  826. model.setValue("/root/send/send_f133/calcjudgdg", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcjudgdg")));
  827. model.setValue("/root/send/send_f133/calcnotidd", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcnotidd")));
  828. model.setValue("/root/send/send_f133/formflag", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("formflag")));
  829. model.setValue("/root/send/send_f133/acptno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("acptno")));
  830. model.setValue("/root/send/send_f133/clamseqno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("clamseqno")));
  831. model.setValue("/root/send/send_f133/calcyearseqno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcyearseqno")));
  832. model.refresh();
  833. // F110.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  834. submit("TRPIE03003");
  835. model.makeNode("/root/sendprinter/list02");
  836. }
  837. exeReportPreview("RPPIE03001", "XMLSTR" , "" , "" , "false" , "", "", "", "", "fasle");
  838. ]]>
  839. </script>
  840. </button>
  841. <button id="button6" class="btn2_letter6" style="left:720px; top:90px; width:86px; height:19px; ">
  842. <caption>개별미리보기</caption>
  843. <script type="javascript" ev:event="DOMActivate">
  844. <![CDATA[
  845. model.removeNodeset("/root/sendprinter");
  846. var j = 0;
  847. for (var i =1; i < grd_piehf131.rows; i++){
  848. if (model.getValue("/root/main/list01/gridpiehf131[" + i + "]/patspecyn") == "Y") {
  849. j++;
  850. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/calcjudgdg",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcjudgdg"))); //정산심사차수
  851. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/calcnotidd",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcnotidd"))); //정산통보일자
  852. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/formflag",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("formflag"))); //서식구분
  853. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/acptno",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("acptno"))); //접수번호
  854. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/judgdg",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("judgdg"))); //심사차수
  855. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/fild",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("fild"))); //분야
  856. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/ioflag",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("ioflag"))); //내원유형
  857. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/calcyearseqno",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcyearseqno"))); //정산연변
  858. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/decidifamtsum",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("decidifamtsum"))); //정산결정차액합
  859. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/relbase",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("relbase"))); //관련근거
  860. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/remtwo",grd_piehf131.labelmatrix(i, grd_piehf131.colRef("remtwo"))); //참조
  861. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/instcd", getUserInfo("dutplceinstcd")); //참조
  862. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/sign1", model.getValue("/root/init/PK077list/PK077[cdid=1]/cdnm")); //담당
  863. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/sign2", model.getValue("/root/init/PK077list/PK077[cdid=2]/cdnm")); //팀장
  864. model.makeValue("/root/sendprinter/gridpiehf131[" + j + "]/sign3", model.getValue("/root/init/PK077list/PK077[cdid=3]/cdnm")); //과장
  865. // F110.2를 조회하기 위한 set작업
  866. model.setValue("/root/send/send_f133/calcjudgdg", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcjudgdg")));
  867. model.setValue("/root/send/send_f133/calcnotidd", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcnotidd")));
  868. model.setValue("/root/send/send_f133/formflag", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("formflag")));
  869. model.setValue("/root/send/send_f133/acptno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("acptno")));
  870. model.setValue("/root/send/send_f133/clamseqno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("clamseqno")));
  871. model.setValue("/root/send/send_f133/calcyearseqno", grd_piehf131.labelmatrix(i, grd_piehf131.colRef("calcyearseqno")));
  872. model.refresh();
  873. // F110.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  874. submit("TRPIE03003");
  875. model.makeNode("/root/sendprinter/list02");
  876. }
  877. }
  878. if (getNodesetCount("/root/main/list01/gridpiehf131[patspecyn='Y']/patspecyn") > 0) {
  879. exeReportPreview("RPPIE03001", "XMLSTR" , "" , "" , "false" , "", "", "", "", "fasle");
  880. }
  881. ]]>
  882. </script>
  883. </button>
  884. <group id="group2" style="left:95px; top:348px; width:1095px; height:32px; vertical-align:top; ">
  885. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1094px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  886. <select1 id="cmb_judgrid" ref="/root/tmp/filterlist/judgrid" class="combo_search" appearance="minimal" style="left:98px; top:6px; width:100px; height:19px; ">
  887. <choices>
  888. <itemset nodeset="/root/list/judglist">
  889. <label ref="judgnm"/>
  890. <value ref="judgnm"/>
  891. </itemset>
  892. </choices>
  893. <hint>
  894. <![CDATA[필터링 할 항목을 선택하세요.]]>
  895. </hint>
  896. <script type="javascript" ev:event="xforms-value-changed">
  897. <![CDATA[
  898. ffilterList();
  899. ]]>
  900. </script>
  901. </select1>
  902. <caption id="caption21" class="search_name" style="left:8px; top:6px; width:96px; height:17px; ">심사자 :</caption>
  903. </group>
  904. </group>
  905. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  906. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">요양(의료)급여비용결정서(F130)조회</caption>
  907. </group>
  908. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1194px; height:27px; ">
  909. <button id="btn_init" class="btn4_letter3" style="left:1119px; top:4px; width:68px; height:22px; ">
  910. <caption>초기화</caption>
  911. <script type="javascript" ev:event="DOMActivate">
  912. <![CDATA[
  913. model.resetInstanceNode("/root/send");
  914. fInitialize();
  915. ]]>
  916. </script>
  917. </button>
  918. </group>
  919. </xhtml:body>
  920. </xhtml:html>