SMPIF90400_분류별코드별삭감현황.xrw 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SMPIF90400_분류별코드별삭감현황.xrw
  4. * 수정이력
  5. * - 2010.10.19 / 최초작성 / 김상민
  6. ************************************************
  7. -->
  8. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  9. <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">
  10. <xhtml:head>
  11. <xhtml:title>분류별코드별삭감현황</xhtml:title>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. <list1>
  17. <gridclamcutlist/>
  18. </list1>
  19. </main>
  20. <send>
  21. <clamymfrom/>
  22. <clamymto/>
  23. <clamflag/>
  24. <ioflag/>
  25. <insukind/>
  26. <basedd2/>
  27. <in_cond1>
  28. </in_cond1>
  29. <in_cond2/>
  30. <in_cond3/>
  31. <sclamflag/>
  32. <sinsukind/>
  33. <clamdg/>
  34. <ordfildcd/>
  35. <orddeptcd/>
  36. <fromdd/>
  37. <todd/>
  38. <clamdeptcd/>
  39. <clamcmp/>
  40. <codechk/>
  41. <codecls/>
  42. <codelist/>
  43. <cmmt_type/>
  44. <send_clamdg>
  45. <fromdd/>
  46. <todd/>
  47. <ioflag/>
  48. <clamflag/>
  49. <ordfildcd/>
  50. <dateflag/>
  51. </send_clamdg>
  52. <fstjr/>
  53. </send>
  54. <init>
  55. <U0001list/>
  56. <clamdglist>
  57. <clamdg>
  58. <cdid/>
  59. <cdnm/>
  60. </clamdg>
  61. </clamdglist>
  62. <P0291list>
  63. <P0291>
  64. <cdid/>
  65. <cdnm/>
  66. </P0291>
  67. </P0291list>
  68. <orddeptcdlist>
  69. <cd/>
  70. <nm/>
  71. </orddeptcdlist>
  72. <P0458list>
  73. <P0458>
  74. <cdid/>
  75. <cdnm/>
  76. </P0458>
  77. </P0458list>
  78. </init>
  79. </root>
  80. </instance>
  81. <script type="javascript" ev:event="xforms-ready">
  82. <![CDATA[
  83. // 화면 초기화
  84. fInitialize();
  85. ]]>
  86. </script>
  87. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  88. <submission id="TRPIB00603" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
  89. <submission id="TRPIF00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamdg" resultref="/root/init/clamdglist/clamdg"/>
  90. <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/tmp"/>
  91. <submission id="TRPIF90300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamdg" resultref="/root/init/clamdglist/clamdg"/>
  92. <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/tmp"/>
  93. <submission id="TRPIF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
  94. <submission id="TRPIF90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
  95. </model>
  96. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  101. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  102. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  103. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  104. <script type="javascript">
  105. <![CDATA[
  106. // 화면 초기화
  107. function fInitialize()
  108. {
  109. model.removeNodeset("/root/main/list1/gridobtapp"); // 그리드 초기화
  110. zbcfGetCodeList(new Array("P0291", "P0458"),
  111. new Array("/root/init/P0291list", "/root/init/P0458list")); // P0291(진료분야(심사청구서))
  112. submit("TRPID20309"); // 진료과 리스트 가져오기
  113. submit("TRPIB00603"); // 심사자 콤보리스트
  114. fGetClamDept(); // 청구과 콤보 리스트
  115. // 청구년월, 차수 셋팅 시작
  116. var today = new Date();
  117. var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  118. var basemonth = today.getDateFormat("MM");
  119. var currentym = baseyear + basemonth;
  120. model.setValue("/root/send/clamymfrom",currentym);
  121. model.setValue("/root/send/clamymto",currentym);
  122. ipt_clamymfrom.refresh();
  123. ipt_clamymto.refresh();
  124. var curDate = getCurrentDate();
  125. model.setValue("/root/send/basedd2", curDate);
  126. model.setValue("/root/send/fromdd", curDate);
  127. model.setValue("/root/send/todd", curDate);
  128. //기본값 세팅
  129. cb_cond2_3.value = "0,3";
  130. checkbox1.value = "11";
  131. rdo_ioflag.value = "A";
  132. //radio1.value = "A";
  133. model.setValue("/root/send/in_cond3", "1");
  134. //조회기준 숨김
  135. ipt_clamymfrom.visible = true;
  136. ipt_clamymto.visible = true;
  137. ipt_fromdd.visible = false;
  138. ipt_todd.visible = false;
  139. //청구삭감관련필드 숨기기
  140. gridobtapp.colHidden(19) = true;;
  141. gridobtapp.colHidden(20) = true;;
  142. gridobtapp.colHidden(21) = true;;
  143. gridobtapp.colHidden(22) = true;;
  144. gridobtapp.colHidden(23) = true;;
  145. gridobtapp.colHidden(24) = true;;
  146. gridobtapp.colHidden(25) = true;;
  147. gridobtapp.colHidden(26) = true;;
  148. gridobtapp.colHidden(27) = true;;
  149. gridobtapp.colHidden(28) = true;
  150. //처방코드, 처방명칭 필드 숨기기
  151. gridobtapp.colHidden(3) = true;
  152. gridobtapp.colHidden(4) = true;
  153. model.refresh();
  154. }
  155. // 조회
  156. function fSearch()
  157. {
  158. var chk_clamymfrom = model.getValue("/root/send/clamymfrom");
  159. var chk_clamymto = model.getValue("/root/send/clamymto");
  160. if ( chk_clamymfrom == "" || chk_clamymto == "")
  161. {
  162. messageBox("조회기준 일자는 ", "I003");
  163. model.setFocus("chk_clamymfrom");
  164. return;
  165. }
  166. var af = model.getValue("/root/send/clamflag");
  167. var bf = model.getValue("");
  168. var cf = model.getValue("/root/send/insukind");
  169. var df = model.getValue("");
  170. model.resetInstanceNode("/root/send/sclamflag");
  171. model.resetInstanceNode("/root/send/sinsukind");
  172. var afcnt = af.length;
  173. var cfcnt = cf.length;
  174. //청구형태 세팅
  175. if(model.getValue("/root/send/clamflag") != " " || model.getValue("/root/send/clamflag") != "" ) {
  176. bf = af.replace("^", "','");
  177. bf = af.replace(",", "','");
  178. for(var i=1; i < afcnt; i++){
  179. bf = bf.replace("^", "','");
  180. if(bf.substr(0,1) != "'"){
  181. bf = "'" + bf + "'";
  182. }
  183. }
  184. }
  185. model.setValue("/root/send/sclamflag", bf);
  186. //보험유형 세팅
  187. if(model.getValue("/root/send/insukind") != " " || model.getValue("/root/send/insukind") != "" ) {
  188. df = cf.replace("^", "','");
  189. df = cf.replace(",", "','");
  190. for(var i=1; i < cfcnt; i++){
  191. df = df.replace("^", "','");
  192. if(df.substr(0,1) != "'"){
  193. df = "'" + df + "'";
  194. }
  195. }
  196. }
  197. model.setValue("/root/send/sinsukind", df);
  198. /*
  199. var in_cond1 = model.getValue("/root/send/in_cond1");
  200. var in_cond2 = model.getValue("/root/send/in_cond2");
  201. //보류건 및 반송건 체크 세팅
  202. if(in_cond1 == "Y" && in_cond2 == "Y"){
  203. model.setValue("/root/send/cmmt_type", "A");
  204. }else if(in_cond1 == "Y" && in_cond2 != "Y"){
  205. model.setValue("/root/send/cmmt_type", "B");
  206. }else if(in_cond1 != "Y" && in_cond2 == "Y"){
  207. model.setValue("/root/send/cmmt_type", "C");
  208. }else{
  209. model.setValue("/root/send/cmmt_type", "D");
  210. }
  211. */
  212. //처방코드목록
  213. var af = model.getValue("/root/send/codelist");
  214. var bf = model.getValue("");
  215. var cnt = af.length;
  216. if(model.getValue("/root/send/codelist") != " " || model.getValue("/root/send/codelist") != "" ) {
  217. bf = af.replace(" ", "','");
  218. for(var i=1; i < cnt; i++){
  219. bf = bf.replace(" ", "','");
  220. if(bf.substr(0,1) != "'"){
  221. bf = "'" + bf + "'";
  222. }
  223. }
  224. }
  225. model.setValue("/root/send/codelist", bf);
  226. submit("TRPIF90401");
  227. }
  228. function BatchSearch(){
  229. var chk_clamymfrom = model.getValue("/root/send/clamymfrom");
  230. var chk_clamymto = model.getValue("/root/send/clamymto");
  231. if ( chk_clamymfrom == "" || chk_clamymto == "")
  232. {
  233. messageBox("조회기준 일자는 ", "I003");
  234. model.setFocus("chk_clamymfrom");
  235. return;
  236. }
  237. var af = model.getValue("/root/send/clamflag");
  238. var bf = model.getValue("");
  239. var cf = model.getValue("/root/send/insukind");
  240. var df = model.getValue("");
  241. model.resetInstanceNode("/root/send/sclamflag");
  242. model.resetInstanceNode("/root/send/sinsukind");
  243. var afcnt = af.length;
  244. var cfcnt = cf.length;
  245. //청구형태 세팅
  246. if(model.getValue("/root/send/clamflag") != " " || model.getValue("/root/send/clamflag") != "" ) {
  247. bf = af.replace("^", "','");
  248. bf = af.replace(",", "','");
  249. for(var i=1; i < afcnt; i++){
  250. bf = bf.replace("^", "','");
  251. if(bf.substr(0,1) != "'"){
  252. bf = "'" + bf + "'";
  253. }
  254. }
  255. }
  256. model.setValue("/root/send/sclamflag", bf);
  257. //보험유형 세팅
  258. if(model.getValue("/root/send/insukind") != " " || model.getValue("/root/send/insukind") != "" ) {
  259. df = cf.replace("^", "','");
  260. df = cf.replace(",", "','");
  261. for(var i=1; i < cfcnt; i++){
  262. df = df.replace("^", "','");
  263. if(df.substr(0,1) != "'"){
  264. df = "'" + df + "'";
  265. }
  266. }
  267. }
  268. model.setValue("/root/send/sinsukind", df);
  269. /*
  270. var in_cond1 = model.getValue("/root/send/in_cond1");
  271. var in_cond2 = model.getValue("/root/send/in_cond2");
  272. //보류건 및 반송건 체크 세팅
  273. if(in_cond1 == "Y" && in_cond2 == "Y"){
  274. model.setValue("/root/send/cmmt_type", "A");
  275. }else if(in_cond1 == "Y" && in_cond2 != "Y"){
  276. model.setValue("/root/send/cmmt_type", "B");
  277. }else if(in_cond1 != "Y" && in_cond2 == "Y"){
  278. model.setValue("/root/send/cmmt_type", "C");
  279. }else{
  280. model.setValue("/root/send/cmmt_type", "D");
  281. }
  282. */
  283. //처방코드목록
  284. var af = model.getValue("/root/send/codelist");
  285. var bf = model.getValue("");
  286. var cnt = af.length;
  287. if(model.getValue("/root/send/codelist") != " " || model.getValue("/root/send/codelist") != "" ) {
  288. bf = af.replace(" ", "','");
  289. for(var i=1; i < cnt; i++){
  290. bf = bf.replace(" ", "','");
  291. if(bf.substr(0,1) != "'"){
  292. bf = "'" + bf + "'";
  293. }
  294. }
  295. }
  296. model.setValue("/root/send/codelist", bf);
  297. /*
  298. var codechk = model.getValue("/root/send/codechk");
  299. if(codechk != "Y"){
  300. model.setValue("/root/send/codechk", "N");
  301. }
  302. var clamcmp = model.getValue("/root/send/clamcmp");
  303. if(clamcmp != "Y"){
  304. model.setValue("/root/send/clamcmp", "N");
  305. }
  306. */
  307. if(submit("TRPIF90402") == false){
  308. messageBox("파일 생성시 오류가 발생하였습니다." , "E999");
  309. return;
  310. }
  311. messageBox("파일 생성이 완료 되었습니다." , "E999");
  312. }
  313. function fDateChk(){
  314. var dateflag;
  315. var fromdd = model.getValue("/root/send/clamymfrom");
  316. var todd = model.getValue("/root/send/clamymto");
  317. var ioflag = model.getValue("/root/send/ioflag");
  318. var clamflag = model.getValue("/root/send/clamflag");
  319. var ordfildcd = model.getValue("/root/send/ordfildcd");
  320. if(fromdd == ""){
  321. messageBox("기간의 시작일자를","C001");
  322. model.setFocus("ipt_fromdd");
  323. return;
  324. }else{
  325. model.setValue("/root/send/send_clamdg/fromdd",fromdd);
  326. model.setValue("/root/send/send_clamdg/todd",todd);
  327. if(ioflag == 'A'){
  328. model.setValue("/root/send/send_clamdg/ioflag", "");
  329. }else if(ioflag == 'I'){
  330. model.setValue("/root/send/send_clamdg/ioflag", "I");
  331. }else if(ioflag == 'O'){
  332. model.setValue("/root/send/send_clamdg/ioflag", "O");
  333. }else{
  334. messageBox("내원유형이 선택되지 않았습니다!.", "E999", "");
  335. return;
  336. }
  337. var af = model.getValue("/root/send/clamflag");
  338. var bf = model.getValue("");
  339. model.resetInstanceNode("/root/send/send_clamdg/sclamflag");
  340. var afcnt = af.length;
  341. //청구형태 세팅
  342. if(model.getValue("/root/send/clamflag") != " " || model.getValue("/root/send/clamflag") != "" ) {
  343. bf = af.replace("^", "','");
  344. bf = af.replace(",", "','");
  345. for(var i=1; i < afcnt; i++){
  346. bf = bf.replace("^", "','");
  347. if(bf.substr(0,1) != "'"){
  348. bf = "'" + bf + "'";
  349. }
  350. }
  351. }
  352. model.setValue("/root/send/send_clamdg/clamflag", bf);
  353. model.setValue("/root/send/send_clamdg/ordfildcd",ordfildcd);
  354. model.setValue("/root/send/send_clamdg/dateflag", "1");
  355. submit("TRPIF90300");
  356. if( getNodesetCount("/root/init/clamdglist/clamdg") < 1 ){
  357. messageBox("청구된 차수가 없습니다. 미수년월을 확인 해 주세요!.", "E999", "");
  358. }
  359. }
  360. addComboItem("cmb_clamdg","전체","","above");
  361. }
  362. // 청구과 함수
  363. function fGetClamDept()
  364. {
  365. submit("TRPID20201");
  366. }
  367. ]]>
  368. </script>
  369. </xhtml:head>
  370. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1213;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  371. <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
  372. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">분류별 코드별 삭감현황</caption>
  373. </group>
  374. <group id="group2" scroll="no" style="left:0px; top:13px; width:1190px; height:762px; ">
  375. <group id="group4" style="left:0px; top:10px; width:1190px; height:120px; vertical-align:top; ">
  376. <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:120px; "/>
  377. <caption id="caption5" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">조회기준 :</caption>
  378. <input id="ipt_clamymfrom" ref="/root/send/clamymfrom" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:200px; top:15px; width:90px; height:19px; ">
  379. <script type="javascript" ev:event="xforms-value-changed">
  380. <![CDATA[
  381. model.setValue("/root/send/clamymto",model.getValue("/root/send/clamymfrom"));
  382. ]]>
  383. </script>
  384. </input>
  385. <line id="line2" class="line_4" style="x1:1109px; y1:5px; x2:1109px; y2:109px; "/>
  386. <button id="button1" class="btn1_letter2" navindex="2" style="left:1120px; top:50px; width:56px; height:22px; ">
  387. <caption>조회</caption>
  388. <script type="javascript" ev:event="DOMActivate">
  389. <![CDATA[
  390. fSearch();
  391. ]]>
  392. </script>
  393. </button>
  394. <caption id="caption9" class="search_name" style="left:865px; top:51px; width:86px; height:17px; ">내원유형 :</caption>
  395. <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="combo_search" appearance="minimal" style="left:955px; top:51px; width:100px; height:19px; ">
  396. <choices>
  397. <item>
  398. <label>전체</label>
  399. <value>A</value>
  400. </item>
  401. <item>
  402. <label>입원</label>
  403. <value>I</value>
  404. </item>
  405. <item>
  406. <label>외래</label>
  407. <value>O</value>
  408. </item>
  409. </choices>
  410. </select1>
  411. <input id="ipt_clamymto" ref="/root/send/clamymto" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:310px; top:15px; width:90px; height:19px; ">
  412. <script type="javascript" ev:event="DOMFocusOut">
  413. <![CDATA[
  414. fDateChk();
  415. ]]>
  416. </script>
  417. </input>
  418. <caption id="caption2" style="left:295px; top:15px; width:15px; height:20px; ">~</caption>
  419. <select id="checkbox1" ref="/root/send/insukind" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:96px; top:51px; width:235px; height:20px; border-style:none; ">
  420. <choices>
  421. <item>
  422. <label>건강보험</label>
  423. <value>11</value>
  424. </item>
  425. <item>
  426. <label>의료급여</label>
  427. <value>21,22</value>
  428. </item>
  429. <item>
  430. <label>자보</label>
  431. <value>31</value>
  432. </item>
  433. <item>
  434. <label>산재</label>
  435. <value>41</value>
  436. </item>
  437. </choices>
  438. </select>
  439. <caption id="caption3" class="search_name" style="left:6px; top:50px; width:96px; height:17px; ">보험유형 :</caption>
  440. <select id="cb_cond2_3" ref="/root/send/clamflag" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:548px; top:15px; width:277px; height:19px; ">
  441. <choices>
  442. <item>
  443. <label>원청구</label>
  444. <value>0,3</value>
  445. </item>
  446. <item>
  447. <label>누락청구</label>
  448. <value>4</value>
  449. </item>
  450. <item>
  451. <label>추가청구</label>
  452. <value>2</value>
  453. </item>
  454. <item>
  455. <label>보완청구</label>
  456. <value>1</value>
  457. </item>
  458. </choices>
  459. </select>
  460. <caption id="cp_text2_3" class="search_name" style="left:455px; top:15px; width:90px; height:17px; ">청구형태 :</caption>
  461. <caption id="cp_text9_8" class="search_name" style="left:456px; top:51px; width:90px; height:17px; ">기준일시 :</caption>
  462. <input id="cb_cond4_8" ref="/root/send/basedd2" class="input_search" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:549px; top:51px; width:90px; height:19px; text-align:center; ">
  463. <script type="javascript" ev:event="xforms-value-changed">
  464. <![CDATA[
  465. ]]>
  466. </script>
  467. </input>
  468. <select1 id="combo2" ref="/root/send/in_cond3" appearance="minimal" style="left:96px; top:15px; width:100px; height:19px; ">
  469. <choices>
  470. <item>
  471. <label>청구년월</label>
  472. <value>1</value>
  473. </item>
  474. <item>
  475. <label>미수년월</label>
  476. <value>2</value>
  477. </item>
  478. <item>
  479. <label>마감일자</label>
  480. <value>3</value>
  481. </item>
  482. <item>
  483. <label>결과마감일자</label>
  484. <value>4</value>
  485. </item>
  486. </choices>
  487. <script type="javascript" ev:event="xforms-value-changed">
  488. <![CDATA[
  489. // 청구년월, 차수 셋팅 시작
  490. /*
  491. var today = new Date();
  492. var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  493. var basemonth = today.getDateFormat("MM");
  494. var currentym = baseyear + basemonth;
  495. var curDate = getCurrentDate();
  496. */
  497. var in_cond3 = model.getValue("/root/send/in_cond3");
  498. if(in_cond3 == "1"){
  499. ipt_clamymfrom.visible = true;
  500. ipt_clamymto.visible = true;
  501. ipt_fromdd.visible = false;
  502. ipt_todd.visible = false;
  503. cmb_clamdg.disabled = false;
  504. }else if(in_cond3 == "2"){
  505. ipt_clamymfrom.visible = false;
  506. ipt_clamymto.visible = false;
  507. ipt_fromdd.visible = true;
  508. ipt_todd.visible = true;
  509. cmb_clamdg.disabled = true;
  510. cmb_clamdg.value = "";
  511. }else if(in_cond3 == "3"){
  512. ipt_clamymfrom.visible = false;
  513. ipt_clamymto.visible = false;
  514. ipt_fromdd.visible = true;
  515. ipt_todd.visible = true;
  516. cmb_clamdg.disabled = true;
  517. cmb_clamdg.value = "";
  518. }else if(in_cond3 == "4"){
  519. ipt_clamymfrom.visible = false;
  520. ipt_clamymto.visible = false;
  521. ipt_fromdd.visible = true;
  522. ipt_todd.visible = true;
  523. cmb_clamdg.disabled = true;
  524. cmb_clamdg.value = "";
  525. }else{
  526. messageBox("조회기준이 선택되지 않았습니다!", "E999");
  527. }
  528. model.refresh();
  529. ]]>
  530. </script>
  531. </select1>
  532. <select1 id="cmb_clamdg" ref="/root/send/clamdg" class="combo_search" appearance="minimal" style="left:955px; top:15px; width:89px; height:19px; ">
  533. <choices>
  534. <itemset nodeset="/root/init/clamdglist/clamdg">
  535. <label ref="cdid"/>
  536. <value ref="cdnm"/>
  537. </itemset>
  538. </choices>
  539. </select1>
  540. <caption id="caption7" class="search_name" style="left:865px; top:15px; width:90px; height:17px; ">청구차수 :</caption>
  541. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:200px; top:15px; width:90px; height:19px; ">
  542. <script type="javascript" ev:event="xforms-value-changed">
  543. <![CDATA[
  544. model.setValue("/root/send/todd",model.getValue("/root/send/fromdd"));
  545. ]]>
  546. </script>
  547. </input>
  548. <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:310px; top:15px; width:90px; height:19px; ">
  549. <script type="javascript" ev:event="xforms-value-changed">
  550. <![CDATA[
  551. ]]>
  552. </script>
  553. </input>
  554. <select id="cb_cond7_8" ref="/root/send/in_cond1" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:644px; top:51px; width:90px; height:19px; ">
  555. <choices>
  556. <item>
  557. <label>보류건 제외</label>
  558. <value>Y</value>
  559. </item>
  560. </choices>
  561. </select>
  562. <select id="cb_cond9_8" ref="/root/send/in_cond2" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:729px; top:51px; width:90px; height:19px; ">
  563. <choices>
  564. <item>
  565. <label>반송건 제외</label>
  566. <value>Y</value>
  567. </item>
  568. </choices>
  569. </select>
  570. <caption id="caption6" class="search_name" style="left:6px; top:86px; width:26px; height:17px; "/>
  571. <select id="checkbox2" ref="/root/send/codechk" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:30px; top:86px; width:65px; height:19px; ">
  572. <choices>
  573. <item>
  574. <label>코드별</label>
  575. <value>Y</value>
  576. </item>
  577. </choices>
  578. <script type="javascript" ev:event="xforms-value-changed">
  579. <![CDATA[
  580. var codechk = model.getValue("/root/send/codechk");
  581. if(codechk == "Y"){
  582. //처방코드, 처방명칭 필드 보이기
  583. gridobtapp.colHidden(3) = false;
  584. gridobtapp.colHidden(4) = false;
  585. //처방선택 조회 콤보 초기화
  586. model.setValue("/root/send/codecls", "");
  587. model.setValue("/root/send/codelist", "");
  588. }else{
  589. //처방코드, 처방명칭 필드 숨기기
  590. gridobtapp.colHidden(3) = true;
  591. gridobtapp.colHidden(4) = true;
  592. //처방선택 조회 콤보 초기화
  593. model.setValue("/root/send/codecls", "");
  594. model.setValue("/root/send/codelist", "");
  595. }
  596. model.refresh();
  597. ]]>
  598. </script>
  599. </select>
  600. <select1 id="combo1" ref="/root/send/codecls" appearance="minimal" style="left:96px; top:86px; width:125px; height:19px; ">
  601. <choices>
  602. <item>
  603. <label>EDI코드</label>
  604. <value>1</value>
  605. </item>
  606. <item>
  607. <label>처방코드</label>
  608. <value>2</value>
  609. </item>
  610. </choices>
  611. </select1>
  612. <select id="checkbox3" ref="/root/send/clamcmp" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:729px; top:86px; width:130px; height:19px; ">
  613. <choices>
  614. <item>
  615. <label>청구데이터 비교</label>
  616. <value>Y</value>
  617. </item>
  618. </choices>
  619. <script type="javascript" ev:event="xforms-value-changed">
  620. <![CDATA[
  621. var clamcmp = model.getValue("/root/send/clamcmp");
  622. if(clamcmp == "Y"){
  623. //청구삭감관련필드 보이기
  624. gridobtapp.colHidden(19) = false;
  625. gridobtapp.colHidden(20) = false;
  626. gridobtapp.colHidden(21) = false;
  627. gridobtapp.colHidden(22) = false;
  628. gridobtapp.colHidden(23) = false;
  629. gridobtapp.colHidden(24) = false;
  630. gridobtapp.colHidden(25) = false;
  631. gridobtapp.colHidden(26) = false;
  632. gridobtapp.colHidden(27) = false;
  633. gridobtapp.colHidden(28) = false;
  634. }else{
  635. //청구삭감관련필드 숨기기
  636. gridobtapp.colHidden(19) = true;;
  637. gridobtapp.colHidden(20) = true;;
  638. gridobtapp.colHidden(21) = true;;
  639. gridobtapp.colHidden(22) = true;;
  640. gridobtapp.colHidden(23) = true;;
  641. gridobtapp.colHidden(24) = true;;
  642. gridobtapp.colHidden(25) = true;;
  643. gridobtapp.colHidden(26) = true;;
  644. gridobtapp.colHidden(27) = true;;
  645. gridobtapp.colHidden(28) = true;
  646. }
  647. ]]>
  648. </script>
  649. </select>
  650. <select1 id="cmb_ordfildcd" ref="/root/send/ordfildcd" class="combo_search" navindex="5" appearance="minimal" style="left:955px; top:86px; width:130px; height:19px; ">
  651. <choices>
  652. <itemset nodeset="/root/init/P0291list/P0291">
  653. <label ref="cdnm"/>
  654. <value ref="cdid"/>
  655. </itemset>
  656. </choices>
  657. </select1>
  658. <caption id="caption4" class="search_name" style="left:865px; top:86px; width:90px; height:17px; ">청구분야 :</caption>
  659. <input id="input1" ref="/root/send/codelist" style="left:225px; top:86px; width:220px; height:19px; "/>
  660. <select id="checkbox4" ref="/root/send/fstjr" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:644px; top:86px; width:65px; height:19px; ">
  661. <choices>
  662. <item>
  663. <label>1차심결</label>
  664. <value>Y</value>
  665. </item>
  666. </choices>
  667. <script type="javascript" ev:event="xforms-value-changed">
  668. <![CDATA[
  669. var clamcmp = model.getValue("/root/send/clamcmp");
  670. if(clamcmp == "Y"){
  671. //청구삭감관련필드 보이기
  672. gridobtapp.colHidden(19) = false;
  673. gridobtapp.colHidden(20) = false;
  674. gridobtapp.colHidden(21) = false;
  675. gridobtapp.colHidden(22) = false;
  676. gridobtapp.colHidden(23) = false;
  677. gridobtapp.colHidden(24) = false;
  678. gridobtapp.colHidden(25) = false;
  679. gridobtapp.colHidden(26) = false;
  680. gridobtapp.colHidden(27) = false;
  681. gridobtapp.colHidden(28) = false;
  682. }else{
  683. //청구삭감관련필드 숨기기
  684. gridobtapp.colHidden(19) = true;;
  685. gridobtapp.colHidden(20) = true;;
  686. gridobtapp.colHidden(21) = true;;
  687. gridobtapp.colHidden(22) = true;;
  688. gridobtapp.colHidden(23) = true;;
  689. gridobtapp.colHidden(24) = true;;
  690. gridobtapp.colHidden(25) = true;;
  691. gridobtapp.colHidden(26) = true;;
  692. gridobtapp.colHidden(27) = true;;
  693. gridobtapp.colHidden(28) = true;
  694. }
  695. ]]>
  696. </script>
  697. </select>
  698. </group>
  699. <datagrid id="gridobtapp" nodeset="/root/main/list1/gridclamcutlist" class="datagrid2" caption="과^처방분류^처방코드^처방명칭^삭감수량^삭감수량^삭감수량^삭감수량^삭감수량^삭감수량^삭감수량^삭감액^삭감액^삭감액^삭감액^삭감액^삭감액^삭감액^청구수량^청구수량^청구수량^청구수량^청구수량^청구수량^청구수량^청구액^청구액^청구액|과^처방분류^처방코드^처방명칭^전체^입원^입원^입원^외래^외래^외래^전체^입원^입원^입원^외래^외래^외래^전체^입원^입원^입원^외래^외래^외래^전체^입원^외래|과^처방분류^처방코드^처방명칭^전체^입원 SUM^원내^원외^외래 SUM^원내^원외^전체^입원 SUM^원내^원외^외래 SUM^원내^원외^전체^입원 SUM^원내^원외^외래 SUM^원내^원외^전체^입원^외래" colsep="^" colwidth="80, 75, 100, 100, 65, 65, 65, 65, 65, 65, 65, 90, 90, 90, 90, 90, 90, 90, 65, 65, 65, 65, 65, 65, 65, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:155px; width:1190px; height:565px; ">
  700. <col disabled="true" ref="deptnm"/>
  701. <col disabled="true" ref="earncls"/>
  702. <col disabled="true" ref="snglcalcscorcd"/>
  703. <col disabled="true" ref="hngnm"/>
  704. <col disabled="true" ref="adjtotqty" format="#,###" style="text-align:right; "/>
  705. <col disabled="true" ref="inadjqty" format="#,###" style="text-align:right; "/>
  706. <col disabled="true" ref="ininadjqty" format="#,###" style="text-align:right; "/>
  707. <col disabled="true" ref="inoutadjqty" format="#,###" style="text-align:right; "/>
  708. <col disabled="true" ref="outadjqty" format="#,###" style="text-align:right; "/>
  709. <col disabled="true" ref="outinadjqty" format="#,###" style="text-align:right; "/>
  710. <col disabled="true" ref="outoutadjqty" format="#,###" style="text-align:right; "/>
  711. <col disabled="true" ref="adjttotamt" format="#,###" style="text-align:right; "/>
  712. <col disabled="true" ref="inadjtamt" format="#,###" style="text-align:right; "/>
  713. <col disabled="true" ref="ininadjtamt" format="#,###" style="text-align:right; "/>
  714. <col disabled="true" ref="inoutadjtamt" format="#,###" style="text-align:right; "/>
  715. <col disabled="true" ref="outadjtamt" format="#,###" style="text-align:right; "/>
  716. <col disabled="true" ref="outinadjtamt" format="#,###" style="text-align:right; "/>
  717. <col disabled="true" ref="outoutadjtamt" format="#,###" style="text-align:right; "/>
  718. <col disabled="true" ref="clamtotqty" format="#,###" style="text-align:right; "/>
  719. <col disabled="true" ref="inclamqty" format="#,###" style="text-align:right; "/>
  720. <col disabled="true" ref="ininclamqty" format="#,###" style="text-align:right; "/>
  721. <col disabled="true" ref="inoutclamqty" format="#,###" style="text-align:right; "/>
  722. <col disabled="true" ref="outclamqty" format="#,###" style="text-align:right; "/>
  723. <col disabled="true" ref="outinclamqty" format="#,###" style="text-align:right; "/>
  724. <col disabled="true" ref="outoutclamqty" format="#,###" style="text-align:right; "/>
  725. <col disabled="true" ref="clamtotamt" format="#,###" style="text-align:right; "/>
  726. <col disabled="true" ref="inclamamt" format="#,###" style="text-align:right; "/>
  727. <col disabled="true" ref="outclamamt" format="#,###" style="text-align:right; "/>
  728. </datagrid>
  729. <button id="button8" class="btn5_letter7" style="left:1023px; top:135px; width:97px; height:19px; ">
  730. <caption>파일 다운로드</caption>
  731. <script type="javascript" ev:event="DOMActivate">
  732. <![CDATA[
  733. //messageBox("개발 중입니다.!" , "E999");
  734. var todd = getCurrentDate();
  735. todd = todd.toDate().getAddDate(+1, 'D');
  736. zsbfOpenBatchLogPopup("clamstatmngtmgr.ClsCodeListBatch",getCurrentDate(),todd.getDateFormat());
  737. ]]>
  738. </script>
  739. </button>
  740. <button id="button9" class="btn5_letter5" style="left:945px; top:135px; width:75px; height:19px; ">
  741. <caption>파일 생성</caption>
  742. <script type="javascript" ev:event="DOMActivate">
  743. <![CDATA[
  744. BatchSearch();
  745. ]]>
  746. </script>
  747. </button>
  748. <caption id="caption8" style="left:215px; top:730px; width:970px; height:20px; font-size:10pt; font-weight:bold; color:#ff0000; ">* 조회시 시간초과 오류나 오래 걸릴시 파일생성 버튼을 눌러서 파일을 다운 받으세요!(코드별 조회시 조회버튼, 전체 조회시 배치작업)</caption>
  749. <button id="button6" class="btn2_letter4" style="left:1123px; top:135px; width:64px; height:19px; ">
  750. <caption>엑셀저장</caption>
  751. <script type="javascript" ev:event="DOMActivate">
  752. <![CDATA[
  753. var fileName = window.fileDialog("save", ",", false, "분류별코드별삭감현황" + model.getValue("/root/send/fromdd") + "_" + model.getValue("/root/send/todd"), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  754. if (fileName != "") {
  755. gridobtapp.saveExcel(fileName, "sheet");
  756. }
  757. ]]>
  758. </script>
  759. </button>
  760. </group>
  761. <button id="button11" class="btn3_letter4" style="left:5px; top:745px; width:96px; height:22px; ">
  762. <caption>수가조회</caption>
  763. <script type="javascript" ev:event="DOMActivate">
  764. <![CDATA[
  765. setParameter("openflag", '');
  766. modal("SMPIC00200" ,"", "10", "10", "SMPIC00200","/root/send/item2/grdsrchnm/iptsearch", "/root/temp", "", "");
  767. ]]>
  768. </script>
  769. </button>
  770. </xhtml:body>
  771. </xhtml:html>