SMPIF30200_개인별심사보류및주민보류내역조회.xrw 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  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>개인별 심사보류 및 주민보류 내역조회(SMPIF30200)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send01>
  11. <termflag>1</termflag>
  12. <fromdd/>
  13. <todd/>
  14. <insukind>11</insukind>
  15. <endyn>A</endyn>
  16. <reteflag>0</reteflag>
  17. <ioflag>A</ioflag>
  18. <acptno/>
  19. <docuseqno/>
  20. <patnm/>
  21. <insuflag/>
  22. </send01>
  23. <send02>
  24. <termflag>1</termflag>
  25. <fromdd/>
  26. <todd/>
  27. <insukind>0</insukind>
  28. <endyn>A</endyn>
  29. <reteflag>0</reteflag>
  30. <ioflag>A</ioflag>
  31. <acptno/>
  32. <docuseqno/>
  33. <patnm/>
  34. <insuflag/>
  35. </send02>
  36. </send>
  37. <main>
  38. <list01>
  39. <gridpsnretedetl>
  40. <insukind/>
  41. <ioflag/>
  42. <decotretflag/>
  43. <clamym/>
  44. <uncoym/>
  45. <clamflag/>
  46. <acptno/>
  47. <fstjudgdg/>
  48. <docuseqno/>
  49. <fstadjtresn/>
  50. <clamdeptcd/>
  51. <orddeptcd/>
  52. <pid/>
  53. <patnm/>
  54. <clmcstotamt/>
  55. <clownbamt/>
  56. <clclamamt/>
  57. <clownbmaxexamt/>
  58. <remainamt/>
  59. <lastjudgdg/>
  60. <jrjudgdeciamt/>
  61. <cutamt/>
  62. <sndjudgdg/>
  63. <sndadjtresn/>
  64. <thrdjudgdg/>
  65. <thrdadjtresn/>
  66. <insuno/>
  67. <insunm/>
  68. </gridpsnretedetl>
  69. </list01>
  70. <list02>
  71. <gridpsnretedetl>
  72. <insukind/>
  73. <ioflag/>
  74. <decotretflag/>
  75. <clamym/>
  76. <uncoym/>
  77. <clamflag/>
  78. <acptno/>
  79. <fstjudgdg/>
  80. <docuseqno/>
  81. <fstadjtresn/>
  82. <clamdeptcd/>
  83. <orddeptcd/>
  84. <pid/>
  85. <patnm/>
  86. <clmcstotamt/>
  87. <clownbamt/>
  88. <clclamamt/>
  89. <clhandicaprfund/>
  90. <clsubtamt/>
  91. <remainamt/>
  92. <lastjudgdg/>
  93. <jrjudgdeciamt/>
  94. <cutamt/>
  95. <sndjudgdg/>
  96. <sndadjtresn/>
  97. <thrdjudgdg/>
  98. <thrdadjtresn/>
  99. <insuno/>
  100. <insunm/>
  101. </gridpsnretedetl>
  102. </list02>
  103. </main>
  104. <init>
  105. <P0245list>
  106. <P0245>
  107. <cdid/>
  108. <cdnm/>
  109. </P0245>
  110. </P0245list>
  111. <P0287list>
  112. <P0287>
  113. <cdid/>
  114. <cdnm/>
  115. </P0287>
  116. </P0287list>
  117. </init>
  118. </root>
  119. </instance>
  120. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  121. <submission id="TRPIF30201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
  122. <submission id="TRPIF30202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send02" resultref="/root/main/list02"/>
  123. </model>
  124. <script type="javascript" ev:event="xforms-ready">
  125. <![CDATA[
  126. // 공통코드 Load작업
  127. CommCode_Load();
  128. model.removenode("/root/main/list01");
  129. model.refresh();
  130. ]]>
  131. </script>
  132. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  133. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  134. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  135. <script type="javascript">
  136. <![CDATA[
  137. function Node_Init() {
  138. // NodeSet 초기화
  139. }
  140. function rtnGridCheck() {
  141. // NodeSet 초기화
  142. var row_cnt = grd_pifhrtns.row;alert(row_cnt);
  143. if(grd_pifhrtns.valueMatrix(row_cnt,2) == "01" || grd_pifhrtns.valueMatrix(row_cnt,2) == "02" || grd_pifhrtns.valueMatrix(row_cnt,2) == "07" ) {
  144. grd_pifhrtns.valueMatrix(row_cnt,3).disabled = false;
  145. grd_pifhrtns.valueMatrix(row_cnt,4).disabled = false;
  146. } else {
  147. grd_pifhrtns.valueMatrix(row_cnt,3).disabled = true;
  148. grd_pifhrtns.valueMatrix(row_cnt,4).disabled = true;
  149. }
  150. }
  151. // 공통코드 Load작업
  152. function CommCode_Load() {
  153. // 관련 Control 초기화
  154. zbcfGetCodeList(new Array("P0245","P0287"), new Array( "/root/init/P0245list","/root/init/P0287list"));
  155. }
  156. ]]>
  157. </script>
  158. </xhtml:head>
  159. <xhtml:body class="datagrid2" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  160. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  161. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:281px; height:14px; ">개인별 심사보류 및 주민보류내역 조회</caption>
  162. </group>
  163. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  164. <switch id="switch1" class="sw_box" style="left:0px; top:36px; width:1194px; height:695px; ">
  165. <case id="case1" selected="true">
  166. <button id="button1" class="btn2_letter4" style="left:1124px; top:73px; width:64px; height:19px; ">
  167. <caption>엑셀저장</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. var today = new Date();
  171. var yy = today.getYear()+"";
  172. var mm = today.getMonth()+1;
  173. var dd = today.getDate();
  174. if(mm < 10) { mm = "0"+mm; }
  175. else { mm = mm+""; }
  176. if(dd < 10) { dd = "0" + dd; }
  177. else { dd = dd + ""; }
  178. var tmp = yy+mm+dd;
  179. var fileName = window.fileDialog("save", ",", false, "개인별보류내역(보험)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  180. if (fileName != "") { grd_psnretedetl1.saveExcel(fileName, "SheetName", true, true, "", "", ""); }
  181. ]]>
  182. </script>
  183. </button>
  184. <group id="group2" style="left:4px; top:10px; width:1184px; height:59px; vertical-align:top; ">
  185. <shape id="roundrect1" class="roundrec_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1184px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
  186. <caption id="caption10" class="search_name" style="left:330px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
  187. <line id="line13" class="line_4" style="x1:1108px; y1:20px; x2:1108px; y2:42px; border-color:#ffe4bb; border-left-style:solid; "/>
  188. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
  189. <caption>조회</caption>
  190. <script type="javascript" ev:event="onclick">
  191. <![CDATA[
  192. if(rdo_termflag1.value == "1") {
  193. if(ipt_fromdd1.value == "") {
  194. messageBox("청구월 시작일을","C002");
  195. model.setFocus("ipt_fromdd1");
  196. return false;
  197. }
  198. }
  199. if(rdo_termflag1.value == "2") {
  200. if(ipt_fromdd1.value == "") {
  201. alert("진료월 시작일을 입력해주세요");
  202. model.setFocus("ipt_fromdd1");
  203. return false;
  204. }
  205. }
  206. model.setValue("/root/send/send01/insuflag","01");
  207. submit("TRPIF30201");
  208. ]]>
  209. </script>
  210. </button>
  211. <caption id="caption4" class="search_name" style="left:539px; top:33px; width:73px; height:17px; ">명일련 :</caption>
  212. <caption id="caption7" class="search_name" style="left:14px; top:33px; width:112px; height:17px; ">내원유형 :</caption>
  213. <caption id="caption9" class="search_name" style="left:747px; top:33px; width:86px; height:17px; ">수진자명 :</caption>
  214. <caption id="caption11" class="search_name" style="left:538px; top:9px; width:86px; height:17px; ">완료구분 :</caption>
  215. <caption id="caption3" class="search_name" style="left:801px; top:9px; width:86px; height:17px; ">보류구분 :</caption>
  216. <caption id="caption2" class="search_no_b" style="left:210px; top:8px; width:12px; height:17px; ">~</caption>
  217. <select1 id="rdo_insuflag1" ref="/root/send/send01/insukind" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:420px; top:10px; width:85px; height:16px; border-style:none; ">
  218. <choices>
  219. <item>
  220. <label>보험</label>
  221. <value>11</value>
  222. </item>
  223. <item>
  224. <label>산재</label>
  225. <value>41</value>
  226. </item>
  227. </choices>
  228. </select1>
  229. <select1 id="rdo_termflag1" ref="/root/send/send01/termflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:15px; top:9px; width:115px; height:17px; border-style:none; ">
  230. <choices>
  231. <item>
  232. <label>청구월</label>
  233. <value>1</value>
  234. </item>
  235. <item>
  236. <label>미수월</label>
  237. <value>2</value>
  238. </item>
  239. </choices>
  240. <script type="javascript" ev:event="xforms-select">
  241. <![CDATA[
  242. model.setValue("/root/send/send01/fromdd","");
  243. model.setValue("/root/send/send01/todd","");
  244. model.refresh();
  245. model.setFocus("ipt_fromdd1");
  246. ]]>
  247. </script>
  248. </select1>
  249. <input id="ipt_fromdd1" ref="/root/send/send01/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:132px; top:8px; width:73px; height:19px; ">
  250. <script type="javascript" ev:event="DOMFocusOut">
  251. <![CDATA[
  252. ipt_todd1.value = ipt_fromdd1.value;
  253. model.refreshpart("/root/send/send01/todd");
  254. ]]>
  255. </script>
  256. </input>
  257. <input id="ipt_todd1" ref="/root/send/send01/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:225px; top:8px; width:75px; height:19px; "/>
  258. <select1 id="rdo_endyn" ref="/root/send/send01/endyn" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:627px; top:10px; width:148px; height:16px; border-style:none; ">
  259. <choices>
  260. <item>
  261. <label>전체</label>
  262. <value>A</value>
  263. </item>
  264. <item>
  265. <label>완료</label>
  266. <value>Y</value>
  267. </item>
  268. <item>
  269. <label>미완료</label>
  270. <value>N</value>
  271. </item>
  272. </choices>
  273. </select1>
  274. <select1 id="rdo_reteflag1" ref="/root/send/send01/reteflag" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:890px; top:10px; width:185px; height:16px; border-style:none; ">
  275. <choices>
  276. <item>
  277. <label>전체</label>
  278. <value>0</value>
  279. </item>
  280. <item>
  281. <label>심사보류</label>
  282. <value>1</value>
  283. </item>
  284. <item>
  285. <label>주민보류</label>
  286. <value>2</value>
  287. </item>
  288. </choices>
  289. </select1>
  290. <select1 id="rdo_ioflag1" ref="/root/send/send01/ioflag" class="radio_search" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:110px; top:33px; width:148px; height:15px; border-style:none; ">
  291. <choices>
  292. <item>
  293. <label>전체</label>
  294. <value>A</value>
  295. </item>
  296. <item>
  297. <label>입원</label>
  298. <value>I</value>
  299. </item>
  300. <item>
  301. <label>외래</label>
  302. <value>O</value>
  303. </item>
  304. </choices>
  305. </select1>
  306. <input id="ipt_docuseqno1" ref="/root/send/send01/docuseqno" class="input_search" style="left:628px; top:32px; width:85px; height:19px; ">
  307. <script type="javascript" ev:event="onkeyup">
  308. <![CDATA[
  309. if(event.keyCode == "13") {
  310. setInputNodeCurText();
  311. var patnm = ipt_patnm1.value;
  312. ipt_patnm1.value = "";
  313. var cnt = 0;
  314. if(grd_psnretedetl1.rows <= 1) {
  315. return false;
  316. } else {
  317. if(patnm == "") { // 수진자로 조회를 하지 않은 경우.
  318. if(grd_psnretedetl1.row > 1) { // 명일련으로 1회이상 조회했을시 그 위치 아래로 똑같은 명일련이 있는지 조회하려 할 때
  319. for(var i=grd_psnretedetl1.row+1;i<grd_psnretedetl1.rows;i++) {
  320. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/docuseqno") == docuseqno) {
  321. if(eval(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno1.value)) {
  322. grd_psnretedetl1.row = i;
  323. grd_psnretedetl1.topRow = i;
  324. cnt++;
  325. return false;
  326. }
  327. }
  328. } else { // 명일련으로 처음 조회할 경우
  329. for(var i=1;i<grd_psnretedetl1.rows;i++) {
  330. if(eval(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno1.value)) {
  331. grd_psnretedetl1.row = i;
  332. grd_psnretedetl1.topRow = i;
  333. cnt++;
  334. return false;
  335. }
  336. }
  337. }
  338. } else { // 수진자로 1회이상 조회를 했을경우 무조건 명일련은 첫행부터 비교한다.
  339. for(var i=1;i<grd_psnretedetl1.rows;i++) {
  340. if(eval(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno1.value)) {
  341. grd_psnretedetl1.row = i;
  342. grd_psnretedetl1.topRow = i;
  343. cnt++;
  344. return false;
  345. }
  346. }
  347. }
  348. if(cnt == 0) {
  349. messageBox("찾는 명일련이","I004");
  350. grd_psnretedetl1.row = 0;
  351. model.setFocus("ipt_docuseqno1");
  352. //researchgrid("docuseqno",docuseqno);
  353. }
  354. }
  355. }
  356. ]]>
  357. </script>
  358. </input>
  359. <input id="ipt_patnm1" ref="/root/send/send01/patnm" class="input_search" style="left:836px; top:34px; width:90px; height:19px; ">
  360. <script type="javascript" ev:event="onkeyup">
  361. <![CDATA[
  362. if(event.keyCode == "13") {
  363. setInputNodeCurText();
  364. var docuseqno = ipt_docuseqno1.value;
  365. ipt_docuseqno1.value = "";
  366. var cnt = 0;
  367. if(grd_psnretedetl1.rows <= 1) {
  368. return false;
  369. } else {
  370. if(docuseqno == "") { // 명일련으로 조회한 적이 없는 경우.
  371. if(grd_psnretedetl1.row > 1) { // 명일련으로 1회이상 조회했을시 그 위치 아래로 똑같은 명일련이 있는지 조회하려 할 때
  372. for(var i=grd_psnretedetl1.row+1;i<grd_psnretedetl1.rows;i++) {
  373. if(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/patnm") == ipt_patnm1.value) {
  374. grd_psnretedetl1.row = i;
  375. grd_psnretedetl1.topRow = i;
  376. cnt++;
  377. return false;
  378. }
  379. }
  380. } else { // 명일련으로 처음 조회할 경우
  381. for(var i=1;i<grd_psnretedetl1.rows;i++) {
  382. if(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/patnm") == ipt_patnm1.value) {
  383. grd_psnretedetl1.row = i;
  384. grd_psnretedetl1.topRow = i;
  385. cnt++;
  386. return false;
  387. }
  388. }
  389. }
  390. } else { // 명일련으로 조회한 적이 1회이상 있는경우 무조건 1행부터 조회한다.
  391. for(var i=1;i<grd_psnretedetl1.rows;i++) {
  392. if(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/patnm") == ipt_patnm1.value) {
  393. grd_psnretedetl1.row = i;
  394. grd_psnretedetl1.topRow = i;
  395. cnt++;
  396. return false;
  397. }
  398. }
  399. }
  400. if(cnt == 0) {
  401. messageBox("찾는 수진자가","I004");
  402. grd_psnretedetl1.row = 0;
  403. model.setFocus("ipt_patnm1");
  404. }
  405. }
  406. }
  407. ]]>
  408. </script>
  409. </input>
  410. <input id="input1" ref="/root/send/send01/acptno" class="input_search" style="left:419px; top:32px; width:85px; height:19px; ">
  411. <script type="javascript" ev:event="onkeyup">
  412. <![CDATA[
  413. if(event.keyCode == "13") {
  414. setInputNodeCurText();
  415. var patnm = ipt_patnm1.value;
  416. ipt_patnm1.value = "";
  417. var cnt = 0;
  418. if(grd_psnretedetl1.rows <= 1) {
  419. return false;
  420. } else {
  421. if(patnm == "") { // 수진자로 조회를 하지 않은 경우.
  422. if(grd_psnretedetl1.row > 1) { // 명일련으로 1회이상 조회했을시 그 위치 아래로 똑같은 명일련이 있는지 조회하려 할 때
  423. for(var i=grd_psnretedetl1.row+1;i<grd_psnretedetl1.rows;i++) {
  424. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/docuseqno") == docuseqno) {
  425. if(eval(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno1.value)) {
  426. grd_psnretedetl1.row = i;
  427. grd_psnretedetl1.topRow = i;
  428. cnt++;
  429. return false;
  430. }
  431. }
  432. } else { // 명일련으로 처음 조회할 경우
  433. for(var i=1;i<grd_psnretedetl1.rows;i++) {
  434. if(eval(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno1.value)) {
  435. grd_psnretedetl1.row = i;
  436. grd_psnretedetl1.topRow = i;
  437. cnt++;
  438. return false;
  439. }
  440. }
  441. }
  442. } else { // 수진자로 1회이상 조회를 했을경우 무조건 명일련은 첫행부터 비교한다.
  443. for(var i=1;i<grd_psnretedetl1.rows;i++) {
  444. if(eval(model.getValue("/root/main/list01/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno1.value)) {
  445. grd_psnretedetl1.row = i;
  446. grd_psnretedetl1.topRow = i;
  447. cnt++;
  448. return false;
  449. }
  450. }
  451. }
  452. if(cnt == 0) {
  453. messageBox("찾는 명일련이","I004");
  454. grd_psnretedetl1.row = 0;
  455. model.setFocus("ipt_docuseqno1");
  456. //researchgrid("docuseqno",docuseqno);
  457. }
  458. }
  459. }
  460. ]]>
  461. </script>
  462. </input>
  463. <caption id="caption5" class="search_name" style="left:330px; top:33px; width:86px; height:17px; ">접수번호 :</caption>
  464. </group>
  465. <caption id="caption1" class="tit_2" style="left:10px; top:79px; width:118px; height:14px; ">개인별 보류내역</caption>
  466. <line id="line1" class="line_1" style="x1:4px; y1:94px; x2:1188px; y2:94px; "/>
  467. <datagrid id="grd_psnretedetl1" nodeset="/root/main/list01/gridpsnretedetl" class="datagrid2" caption="보험유형^입/외^보류구분^청구년월^미수월^청구구분^접수번호^1차&#xA;보류차수^명일련^사유^청구과^진료과^진료의^등록번호^수진자^총진료비^본인부담금^청구금액^본인부담상한금^청구지원금^청구장애인^보류액^완료차수^심사결정액^심결장애인^삭감액^2차&#xA;보류차수^사유^3차&#xA;보류차수^사유^조합기호^조합명" colsep="^" colwidth="60, 41, 60, 60, 60, 60, 60, 70, 50, 40, 80, 60, 51, 70, 50, 80, 80, 80, 90, 86, 82, 90, 63, 80, 78, 80, 70, 50, 70, 50, 100, 100" dataheight="23" defaultrows="2" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:4px; top:99px; width:1184px; height:590px; ">
  468. <col ref="insukind" style="text-align:center; "/>
  469. <col ref="ioflag" style="text-align:center; "/>
  470. <col ref="decotretflag" style="text-align:center; "/>
  471. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  472. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  473. <col ref="clamflag" style="text-align:center; "/>
  474. <col ref="acptno" style="text-align:center; "/>
  475. <col ref="fstjudgdg" style="text-align:center; "/>
  476. <col ref="docuseqno" style="text-align:center; "/>
  477. <col ref="fstadjtresn" style="text-align:center; "/>
  478. <col ref="clamdeptcd" style="text-align:center; "/>
  479. <col ref="orddeptcd" style="text-align:center; "/>
  480. <col ref="orddridnm" style="text-align:center; "/>
  481. <col ref="pid" style="text-align:center; "/>
  482. <col ref="patnm" style="text-align:center; "/>
  483. <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
  484. <col ref="clownbamt" format="#,###" style="text-align:right; "/>
  485. <col ref="clclamamt" format="#,###" style="text-align:right; "/>
  486. <col ref="clownbmaxexamt" format="#,###" style="text-align:right; "/>
  487. <col ref="clsuppamt" format="#,###" style="text-align:right; "/>
  488. <col ref="clhandicaprfund" format="#,###" style="text-align:right; "/>
  489. <col ref="remainamt" format="#,###" style="text-align:right; "/>
  490. <col ref="lastjudgdg" style="text-align:center; "/>
  491. <col ref="jrjudgdeciamt" format="#,###" style="left:1575px; top:32px; width:100px; height:23px; text-align:right; "/>
  492. <col ref="jrhandicaprfund" format="#,###" style="text-align:right; "/>
  493. <col ref="cutamt" format="#,###" style="text-align:right; "/>
  494. <col ref="sndjudgdg" style="text-align:center; "/>
  495. <col ref="sndadjtresn" style="text-align:center; "/>
  496. <col ref="thrdjudgdg" style="text-align:center; "/>
  497. <col ref="thrdadjtresn" style="text-align:center; "/>
  498. <col ref="insuno" style="text-align:center; "/>
  499. <col ref="insunm" style="text-align:center; "/>
  500. </datagrid>
  501. </case>
  502. <case id="case2">
  503. <button id="button2" class="btn2_letter4" style="left:1124px; top:73px; width:64px; height:19px; ">
  504. <caption>엑셀저장</caption>
  505. <script type="javascript" ev:event="DOMActivate">
  506. <![CDATA[
  507. var today = new Date();
  508. var yy = today.getYear()+"";
  509. var mm = today.getMonth()+1;
  510. var dd = today.getDate();
  511. if(mm < 10) {
  512. mm = "0"+mm;
  513. } else {
  514. mm = mm+"";
  515. }
  516. if(dd < 10) {
  517. dd = "0" + dd;
  518. } else {
  519. dd = dd + "";
  520. }
  521. var tmp = yy+mm+dd;
  522. var fileName = window.fileDialog("save", ",", false, "개인별보류내역(보호)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  523. if (fileName != "")
  524. {
  525. grd_psnretedetl2.saveExcel(fileName, "SheetName", true, true, "", "", "");
  526. }
  527. ]]>
  528. </script>
  529. </button>
  530. <caption id="caption8" class="tit_2" style="left:10px; top:79px; width:118px; height:14px; ">개인별 보류내역</caption>
  531. <group id="group1" style="left:4px; top:10px; width:1184px; height:59px; vertical-align:top; ">
  532. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1184px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
  533. <caption id="caption12" class="search_name" style="left:315px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
  534. <button id="button3" class="btn1_letter2" style="left:1123px; top:31px; width:56px; height:22px; ">
  535. <caption>조회</caption>
  536. <script type="javascript" ev:event="onclick">
  537. <![CDATA[
  538. if(rdo_termflag2.value == "1") {
  539. if(ipt_fromdd2.value == "") {
  540. alert("청구월 시작일을 입력해주세요");
  541. model.setFocus("ipt_fromdd2");
  542. return false;
  543. }
  544. }
  545. if(rdo_termflag2.value == "2") {
  546. if(ipt_fromdd2.value == "") {
  547. alert("진료월 시작일을 입력해주세요");
  548. model.setFocus("ipt_fromdd2");
  549. return false;
  550. }
  551. }
  552. model.setValue("/root/send/send02/insuflag","02");
  553. submit("TRPIF30202");
  554. ]]>
  555. </script>
  556. </button>
  557. <caption id="caption14" class="search_name" style="left:644px; top:33px; width:73px; height:17px; ">명일련 :</caption>
  558. <caption id="caption15" class="search_name" style="left:14px; top:33px; width:112px; height:17px; ">내원유형 :</caption>
  559. <caption id="caption16" class="search_name" style="left:892px; top:33px; width:86px; height:17px; ">수진자명 :</caption>
  560. <caption id="caption17" class="search_name" style="left:644px; top:9px; width:86px; height:17px; ">완료구분 :</caption>
  561. <caption id="caption18" class="search_no_b" style="left:210px; top:8px; width:12px; height:17px; ">~</caption>
  562. <caption id="caption19" class="search_name" style="left:892px; top:9px; width:86px; height:17px; ">보류구분 :</caption>
  563. <select1 id="rdo_termflag2" ref="/root/send/send02/termflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:15px; top:9px; width:115px; height:17px; border-style:none; ">
  564. <choices>
  565. <item>
  566. <label>청구월</label>
  567. <value>1</value>
  568. </item>
  569. <item>
  570. <label>미수월</label>
  571. <value>2</value>
  572. </item>
  573. </choices>
  574. <script type="javascript" ev:event="xforms-select">
  575. <![CDATA[
  576. model.setValue("/root/send/send02/fromdd","");
  577. model.setValue("/root/send/send02/todd","");
  578. model.refresh();
  579. model.setFocus("ipt_fromdd2");
  580. ]]>
  581. </script>
  582. </select1>
  583. <input id="ipt_fromdd2" ref="/root/send/send02/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:132px; top:8px; width:73px; height:19px; ">
  584. <script type="javascript" ev:event="DOMFocusOut">
  585. <![CDATA[
  586. ipt_todd2.value = ipt_fromdd2.value;
  587. model.refreshpart("/root/send/send02/todd");
  588. ]]>
  589. </script>
  590. </input>
  591. <input id="ipt_todd2" ref="/root/send/send02/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:225px; top:8px; width:75px; height:19px; "/>
  592. <select1 id="rdo_insuflag2" ref="/root/send/send02/insukind" appearance="full" cols="5" rows="1" overflow="visible" style="left:405px; top:10px; width:240px; height:16px; border-style:none; ">
  593. <choices>
  594. <item>
  595. <label>전체</label>
  596. <value>0</value>
  597. </item>
  598. <item>
  599. <label>1종</label>
  600. <value>1</value>
  601. </item>
  602. <item>
  603. <label>2종</label>
  604. <value>2</value>
  605. </item>
  606. <item>
  607. <label>2종장애인</label>
  608. <value>6</value>
  609. </item>
  610. <item>
  611. <label>행려</label>
  612. <value>4</value>
  613. </item>
  614. </choices>
  615. </select1>
  616. <select1 id="rdo_retestat2" ref="/root/send/send02/endyn" appearance="full" cols="3" rows="1" overflow="visible" style="left:733px; top:10px; width:143px; height:16px; border-style:none; ">
  617. <choices>
  618. <item>
  619. <label>전체</label>
  620. <value>A</value>
  621. </item>
  622. <item>
  623. <label>완료</label>
  624. <value>Y</value>
  625. </item>
  626. <item>
  627. <label>미완료</label>
  628. <value>N</value>
  629. </item>
  630. </choices>
  631. </select1>
  632. <select1 id="rdo_reteflag2" ref="/root/send/send02/reteflag" appearance="full" cols="4" rows="1" overflow="visible" style="left:981px; top:10px; width:180px; height:16px; border-style:none; ">
  633. <choices>
  634. <item>
  635. <label>전체</label>
  636. <value>0</value>
  637. </item>
  638. <item>
  639. <label>심사보류</label>
  640. <value>1</value>
  641. </item>
  642. <item>
  643. <label>자격보류</label>
  644. <value>2</value>
  645. </item>
  646. </choices>
  647. </select1>
  648. <select1 id="rdo_ioflag2" ref="/root/send/send02/ioflag" class="radio_search" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:110px; top:33px; width:148px; height:15px; border-style:none; ">
  649. <choices>
  650. <item>
  651. <label>전체</label>
  652. <value>A</value>
  653. </item>
  654. <item>
  655. <label>입원</label>
  656. <value>I</value>
  657. </item>
  658. <item>
  659. <label>외래</label>
  660. <value>O</value>
  661. </item>
  662. </choices>
  663. </select1>
  664. <input id="ipt_docuseqno2" ref="/root/send/send02/docuseqno" class="input_search" style="left:733px; top:32px; width:85px; height:19px; ">
  665. <script type="javascript" ev:event="onkeyup">
  666. <![CDATA[
  667. if(event.keyCode == "13") {
  668. setInputNodeCurText();
  669. var patnm = ipt_patnm2.value;
  670. ipt_patnm2.value = "";
  671. var cnt = 0;
  672. if(grd_psnretedetl2.rows <= 1) {
  673. return false;
  674. } else {
  675. if(patnm == "") { // 수진자로 조회를 하지 않은 경우.
  676. if(grd_psnretedetl2.row > 1) { // 명일련으로 1회이상 조회했을시 그 위치 아래로 똑같은 명일련이 있는지 조회하려 할 때
  677. for(var i=grd_psnretedetl2.row+1;i<grd_psnretedetl2.rows;i++) {
  678. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/docuseqno") == docuseqno) {
  679. if(eval(model.getValue("/root/main/list02/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno2.value)) {
  680. grd_psnretedetl2.row = i;
  681. grd_psnretedetl2.topRow = i;
  682. cnt++;
  683. return false;
  684. }
  685. }
  686. } else { // 명일련으로 처음 조회할 경우
  687. for(var i=1;i<grd_psnretedetl2.rows;i++) {
  688. if(eval(model.getValue("/root/main/list02/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno2.value)) {
  689. grd_psnretedetl2.row = i;
  690. grd_psnretedetl2.topRow = i;
  691. cnt++;
  692. return false;
  693. }
  694. }
  695. }
  696. } else { // 수진자로 1회이상 조회를 했을경우 무조건 명일련은 첫행부터 비교한다.
  697. for(var i=1;i<grd_psnretedetl2.rows;i++) {
  698. if(eval(model.getValue("/root/main/list02/gridpsnretedetl["+i+"]/docuseqno")) == eval(ipt_docuseqno2.value)) {
  699. grd_psnretedetl2.row = i;
  700. grd_psnretedetl2.topRow = i;
  701. cnt++;
  702. return false;
  703. }
  704. }
  705. }
  706. if(cnt == 0) {
  707. messageBox("찾는 명일련이","I004");
  708. grd_psnretedetl2.row = 0;
  709. model.setFocus("ipt_docuseqno2");
  710. //researchgrid("docuseqno",docuseqno);
  711. }
  712. }
  713. }
  714. ]]>
  715. </script>
  716. </input>
  717. <input id="ipt_patnm2" ref="/root/send/send02/patnm" class="input_search" style="left:981px; top:32px; width:90px; height:19px; ">
  718. <script type="javascript" ev:event="onkeyup">
  719. <![CDATA[
  720. if(event.keyCode == "13") {
  721. setInputNodeCurText();
  722. var docuseqno = ipt_docuseqno2.value;
  723. ipt_docuseqno2.value = "";
  724. var cnt = 0;
  725. if(grd_psnretedetl2.rows <= 1) {
  726. return false;
  727. } else {
  728. if(docuseqno == "") { // 명일련으로 조회한 적이 없는 경우.
  729. if(grd_psnretedetl2.row > 1) { // 명일련으로 1회이상 조회했을시 그 위치 아래로 똑같은 명일련이 있는지 조회하려 할 때
  730. for(var i=grd_psnretedetl2.row+1;i<grd_psnretedetl2.rows;i++) {
  731. if(model.getValue("/root/main/list02/gridpsnretedetl["+i+"]/patnm") == ipt_patnm2.value) {
  732. grd_psnretedetl2.row = i;
  733. grd_psnretedetl2.topRow = i;
  734. cnt++;
  735. return false;
  736. }
  737. }
  738. } else { // 명일련으로 처음 조회할 경우
  739. for(var i=1;i<grd_psnretedetl2.rows;i++) {
  740. if(model.getValue("/root/main/list02/gridpsnretedetl["+i+"]/patnm") == ipt_patnm2.value) {
  741. grd_psnretedetl2.row = i;
  742. grd_psnretedetl2.topRow = i;
  743. cnt++;
  744. return false;
  745. }
  746. }
  747. }
  748. } else { // 명일련으로 조회한 적이 1회이상 있는경우 무조건 1행부터 조회한다.
  749. for(var i=1;i<grd_psnretedetl2.rows;i++) {
  750. if(model.getValue("/root/main/list02/gridpsnretedetl["+i+"]/patnm") == ipt_patnm2.value) {
  751. grd_psnretedetl2.row = i;
  752. grd_psnretedetl2.topRow = i;
  753. cnt++;
  754. return false;
  755. }
  756. }
  757. }
  758. if(cnt == 0) {
  759. messageBox("찾는 수진자가","I004");
  760. grd_psnretedetl2.row = 0;
  761. model.setFocus("ipt_patnm2");
  762. }
  763. }
  764. }
  765. ]]>
  766. </script>
  767. </input>
  768. <line id="line4" class="line_4" style="x1:1108px; y1:31px; x2:1108px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
  769. <input id="input2" ref="/root/send/send02/acptno" class="input_search" style="left:404px; top:32px; width:85px; height:19px; "/>
  770. <caption id="caption13" class="search_name" style="left:315px; top:33px; width:86px; height:17px; ">접수번호 :</caption>
  771. </group>
  772. <line id="line3" class="line_1" style="x1:4px; y1:94px; x2:1188px; y2:94px; "/>
  773. <datagrid id="grd_psnretedetl2" nodeset="/root/main/list02/gridpsnretedetl" class="datagrid2" caption="보험유형^입/외^보류구분^청구년월^미수월^청구구분^접수번호^1차&#xA;보류차수^명일련^사유^청구과^진료과^진료의^등록번호^수진자^총진료비^본인부담금^청구금액^장애인기금^대불금^보류액^완료차수^심사결정액^삭감액^2차&#xA;보류차수^사유^3차&#xA;보류차수^사유^조합기호^조합명" colsep="^" colwidth="60, 40, 60, 60, 60, 60, 60, 70, 50, 40, 80, 60, 47, 70, 50, 80, 80, 80, 80, 80, 80, 63, 80, 80, 70, 50, 70, 50, 100, 100" dataheight="23" defaultrows="2" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:4px; top:99px; width:1184px; height:590px; ">
  774. <col ref="insukind" style="text-align:center; "/>
  775. <col ref="ioflag" style="text-align:center; "/>
  776. <col ref="decotretflag" style="text-align:center; "/>
  777. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  778. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  779. <col ref="clamflag" style="text-align:center; "/>
  780. <col ref="acptno" style="text-align:center; "/>
  781. <col ref="fstjudgdg" style="text-align:center; "/>
  782. <col ref="docuseqno" style="text-align:center; "/>
  783. <col ref="fstadjtresn" style="text-align:center; "/>
  784. <col ref="clamdeptcd" style="text-align:center; "/>
  785. <col ref="orddeptcd" style="text-align:center; "/>
  786. <col ref="orddridnm" style="text-align:center; "/>
  787. <col ref="pid" style="text-align:center; "/>
  788. <col ref="patnm" style="text-align:center; "/>
  789. <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
  790. <col ref="clownbamt" format="#,###" style="text-align:right; "/>
  791. <col ref="clclamamt" format="#,###" style="text-align:right; "/>
  792. <col ref="clhandicaprfund" format="#,###" style="text-align:right; "/>
  793. <col ref="clsubtamt" format="#,###" style="text-align:right; "/>
  794. <col ref="remainamt" format="#,###" style="text-align:right; "/>
  795. <col ref="lastjudgdg" style="text-align:center; "/>
  796. <col ref="jrjudgdeciamt" format="#,###" style="text-align:right; "/>
  797. <col ref="cutamt" format="#,###" style="text-align:right; "/>
  798. <col ref="sndjudgdg" style="text-align:center; "/>
  799. <col ref="sndadjtresn" style="text-align:center; "/>
  800. <col ref="thrdjudgdg" style="text-align:center; "/>
  801. <col ref="thrdadjtresn" style="text-align:center; "/>
  802. <col ref="insuno" style="text-align:center; "/>
  803. <col ref="insunm" style="text-align:center; "/>
  804. </datagrid>
  805. </case>
  806. </switch>
  807. <button id="button6" class="btn_sw" group="tab" selected="true" style="left:0px; top:15px; width:120px; height:22px; ">
  808. <caption>요양급여(보험)</caption>
  809. <toggle case="case1" ev:event="onclick"/>
  810. </button>
  811. <button id="button7" class="btn_sw" group="tab" style="left:120px; top:15px; width:120px; height:22px; ">
  812. <caption>의료급여(보호)</caption>
  813. <toggle case="case2" ev:event="onclick"/>
  814. </button>
  815. </group>
  816. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
  817. </xhtml:body>
  818. </xhtml:html>