SMPIF90500_약제코드별삭감현황.xrw 31 KB

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