SMPIF90200_심사자별업무현황.xfdl 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF90200" position="absolute 0 0 1211 770" titletext="심사자별 업무현황" oninit="SMPIF90200_oninit" onload="SMPIF90200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 13 1191 759" id="group2" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 11 1190 131" align="align:center top;" id="group4" class="div_SA" anchor="default">
  11. <Layouts>
  12. <Layout>
  13. <Static text="작업일자 :" position="absolute 15 10 101 27" id="caption5" class="search_name" anchor="default"/>
  14. <Calendar position="absolute 97 10 187 29" id="ipt_clamymfrom" class="input_search" taborder="1" mask="yyyy-mm-dd" anchor="default" onchanged="group2_group4_ipt_clamymfrom_onchanged" dateformat="yyyy-MM-dd" value="null"/>
  15. <Shape position="absolute 1106 6 1112 110" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
  16. <Button position="absolute 1120 51 1176 73" id="button1" class="btn1" taborder="2" text="조회" anchor="top right" onclick="group2_group4_button1_onclick"/>
  17. <Static text="내원유형" position="absolute 835 10 911 27" id="caption9" class="search_name" anchor="default"/>
  18. <Combo position="absolute 915 8 1015 27" id="rdo_ioflag" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  19. <Dataset id="innerdataset">
  20. <ColumnInfo>
  21. <Column id="codecolumn"/>
  22. <Column id="datacolumn"/>
  23. </ColumnInfo>
  24. <Rows>
  25. <Row>
  26. <Col id="codecolumn">A</Col>
  27. <Col id="datacolumn">전체</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">I</Col>
  31. <Col id="datacolumn">입원</Col>
  32. </Row>
  33. <Row>
  34. <Col id="codecolumn">O</Col>
  35. <Col id="datacolumn">외래</Col>
  36. </Row>
  37. </Rows>
  38. </Dataset>
  39. </Combo>
  40. <Calendar position="absolute 207 10 297 29" id="ipt_clamymto" class="input_search" taborder="1" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  41. <Static text="~" position="absolute 192 10 207 30" id="caption2" anchor="default"/>
  42. <Static text="심사자" position="absolute 835 50 908 67" id="caption15" class="search_name" anchor="default"/>
  43. <Combo position="absolute 915 49 1015 68" id="combo1" taborder="1" innerdataset="@ds_init_U0001list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  44. <Static text="보험유형 :" position="absolute 16 49 112 66" id="caption3" class="search_name" anchor="default"/>
  45. <Static text="청구형태 :" position="absolute 400 10 490 27" id="cp_text2_3" class="search_name" anchor="default"/>
  46. <cp_checkboxList id="cb_cond2_3" titletext="CheckBox List" taborder="3" text="cp_checkboxList00" scrollbars="none" position="absolute 481 7 757 28" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
  47. <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="4" text="cp_checkboxList01" scrollbars="none" position="absolute 98 47 331 71" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
  48. </Layout>
  49. </Layouts>
  50. </Div>
  51. <Button position="absolute 1110 135 1190 154" id="button2" class="btn7" text="엑셀저장" anchor="top right" onclick="group2_button2_onclick"/>
  52. <Grid position="absolute 0 155 1190 720" id="grdjudgclam" class="datagrid2" binddataset="ds_main_list1_grdjudgclam" anchor="all" cellsizingtype="col">
  53. <Formats>
  54. <Format id="default">
  55. <Columns>
  56. <Column size="25"/>
  57. <Column size="80"/>
  58. <Column size="75"/>
  59. <Column size="100"/>
  60. <Column size="75"/>
  61. <Column size="100"/>
  62. <Column size="75"/>
  63. <Column size="75"/>
  64. <Column size="75"/>
  65. <Column size="100"/>
  66. <Column size="100"/>
  67. <Column size="100"/>
  68. <Column size="75"/>
  69. <Column size="100"/>
  70. <Column size="100"/>
  71. <Column size="100"/>
  72. <Column size="75"/>
  73. <Column size="100"/>
  74. <Column size="100"/>
  75. <Column size="100"/>
  76. </Columns>
  77. <Rows>
  78. <Row size="24" band="head"/>
  79. <Row size="24" band="head"/>
  80. <Row size="24"/>
  81. </Rows>
  82. <Band id="head">
  83. <Cell rowspan="2" taborder="undefined"/>
  84. <Cell col="1" rowspan="2" text="심사자명" taborder="undefined"/>
  85. <Cell col="2" colspan="2" text="청구" taborder="undefined"/>
  86. <Cell col="4" colspan="2" text="반송" taborder="undefined"/>
  87. <Cell col="6" colspan="14" text="이의신청" taborder="undefined"/>
  88. <Cell row="1" col="2" text="건수"/>
  89. <Cell row="1" col="3" text="총진료비"/>
  90. <Cell row="1" col="4" text="건수"/>
  91. <Cell row="1" col="5" text="총진료비"/>
  92. <Cell row="1" col="6" text="이의신청율"/>
  93. <Cell row="1" col="7" text="부제기율"/>
  94. <Cell row="1" col="8" text="이의신청건수"/>
  95. <Cell row="1" col="9" text="이의신청액"/>
  96. <Cell row="1" col="10" text="이의신청액원내"/>
  97. <Cell row="1" col="11" text="이의신청액원외"/>
  98. <Cell row="1" col="12" text="부제기건수"/>
  99. <Cell row="1" col="13" text="부제기액"/>
  100. <Cell row="1" col="14" text="부제기금액원내"/>
  101. <Cell row="1" col="15" text="부제기금액원외"/>
  102. <Cell row="1" col="16" text="조정건수"/>
  103. <Cell row="1" col="17" text="삭감액"/>
  104. <Cell row="1" col="18" text="원내삭감액"/>
  105. <Cell row="1" col="19" text="원외삭감액"/>
  106. </Band>
  107. <Band id="body">
  108. <Cell celltype="head" expr="currow+1"/>
  109. <Cell col="1" style="align:left middle;" text="bind:judgrnm" enable="false"/>
  110. <Cell col="2" displaytype="number" style="align:left middle;" text="bind:clamcnt" enable="false"/>
  111. <Cell col="3" displaytype="number" style="align:left middle;" text="bind:clamtotamt" enable="false"/>
  112. <Cell col="4" displaytype="number" style="align:left middle;" text="bind:retcnt" enable="false"/>
  113. <Cell col="5" displaytype="number" style="align:left middle;" text="bind:rettotamt" enable="false"/>
  114. <Cell col="6" displaytype="number" style="align:left middle;" text="bind:cutrate" enable="false"/>
  115. <Cell col="7" displaytype="number" style="align:left middle;" text="bind:abdrate" enable="false"/>
  116. <Cell col="8" displaytype="number" style="align:left middle;" text="bind:obtappcnt" enable="false"/>
  117. <Cell col="9" displaytype="number" style="align:left middle;" text="bind:obtappamt" enable="false"/>
  118. <Cell col="10" displaytype="number" text="bind:in_obtappamt" enable="false"/>
  119. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:out_obtappamt" enable="false"/>
  120. <Cell col="12" displaytype="number" style="align:left middle;" text="bind:abdcnt" enable="false"/>
  121. <Cell col="13" displaytype="number" style="align:left middle;" text="bind:abdamt" enable="false"/>
  122. <Cell col="14" displaytype="number" style="align:left middle;" text="bind:in_abdamt" enable="false"/>
  123. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:out_abdamt" enable="false"/>
  124. <Cell col="16" displaytype="number" style="align:left middle;" text="bind:cutcnt" enable="false"/>
  125. <Cell col="17" displaytype="number" style="align:left middle;" text="bind:cuttotamt" enable="false"/>
  126. <Cell col="18" displaytype="number" style="align:left middle;" text="bind:in_cutamt" enable="false"/>
  127. <Cell col="19" displaytype="number" style="align:left middle;" text="bind:out_cutamt" enable="false"/>
  128. </Band>
  129. </Format>
  130. </Formats>
  131. </Grid>
  132. <Static text="* 작업일자: 청구는 접수일자 기준, 반송은 해당 작업일자에 도착한 심결기준, 이의신청은 마감일자 기준" position="absolute 5 722 975 742" id="caption4" anchor="left bottom" style="color:#ff0000ff;font:Dotum,10,bold;"/>
  133. </Layout>
  134. </Layouts>
  135. </Div>
  136. <Static id="caption1" text="심사자별 업무현황" class="tit_1" position="absolute 1 0 249 23"/>
  137. </Layout>
  138. </Layouts>
  139. <Objects>
  140. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  141. <ColumnInfo>
  142. <Column id="clamymfrom" type="STRING" size="256"/>
  143. <Column id="clamymto" type="STRING" size="256"/>
  144. <Column id="clamflag" type="STRING" size="256"/>
  145. <Column id="ioflag" type="STRING" size="256"/>
  146. <Column id="insukind" type="STRING" size="256"/>
  147. <Column id="judgrid" type="STRING" size="256"/>
  148. <Column id="in_cond3" type="STRING" size="256"/>
  149. <Column id="sclamflag" type="STRING" size="256"/>
  150. <Column id="sinsukind" type="STRING" size="256"/>
  151. </ColumnInfo>
  152. <Rows>
  153. <Row>
  154. <Col id="clamymfrom"/>
  155. <Col id="clamymto"/>
  156. <Col id="clamflag"/>
  157. <Col id="ioflag"/>
  158. <Col id="insukind"/>
  159. <Col id="judgrid"/>
  160. <Col id="in_cond3"/>
  161. <Col id="sclamflag"/>
  162. <Col id="sinsukind"/>
  163. </Row>
  164. </Rows>
  165. </Dataset>
  166. <Dataset id="ds_chk_cb_cond2_3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  167. <ColumnInfo>
  168. <Column id="label" type="STRING" size="256"/>
  169. <Column id="value" type="STRING" size="256"/>
  170. </ColumnInfo>
  171. <Rows>
  172. <Row>
  173. <Col id="label">원청구</Col>
  174. <Col id="value">0,3</Col>
  175. </Row>
  176. <Row>
  177. <Col id="label">누락청구</Col>
  178. <Col id="value">4</Col>
  179. </Row>
  180. <Row>
  181. <Col id="label">추가청구</Col>
  182. <Col id="value">2</Col>
  183. </Row>
  184. <Row>
  185. <Col id="label">보완청구</Col>
  186. <Col id="value">1</Col>
  187. </Row>
  188. </Rows>
  189. </Dataset>
  190. <Dataset id="ds_chk_checkbox1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  191. <ColumnInfo>
  192. <Column id="label" type="STRING" size="256"/>
  193. <Column id="value" type="STRING" size="256"/>
  194. </ColumnInfo>
  195. <Rows>
  196. <Row>
  197. <Col id="label">건강보험</Col>
  198. <Col id="value">11</Col>
  199. </Row>
  200. <Row>
  201. <Col id="label">의료급여</Col>
  202. <Col id="value">21,22</Col>
  203. </Row>
  204. <Row>
  205. <Col id="label">산재</Col>
  206. <Col id="value">41</Col>
  207. </Row>
  208. </Rows>
  209. </Dataset>
  210. <Dataset id="ds_init_U0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  211. <ColumnInfo>
  212. <Column id="cdnm" type="STRING" size="256"/>
  213. <Column id="cdid" type="STRING" size="256"/>
  214. </ColumnInfo>
  215. </Dataset>
  216. <Dataset id="ds_main_list1_grdjudgclam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  217. <ColumnInfo>
  218. <Column id="judgrnm" type="STRING" size="256" sumtext="심사자명"/>
  219. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  220. <Column id="clamtotamt" type="STRING" size="256" sumtext="청구총진료비"/>
  221. <Column id="retcnt" type="STRING" size="256" sumtext="반송건수"/>
  222. <Column id="rettotamt" type="STRING" size="256" sumtext="반송총진료비"/>
  223. <Column id="cutrate" type="STRING" size="256" sumtext="이의신청율"/>
  224. <Column id="abdrate" type="STRING" size="256" sumtext="부제기율"/>
  225. <Column id="obtappcnt" type="STRING" size="256" sumtext="이의신청건수"/>
  226. <Column id="obtappamt" type="STRING" size="256" sumtext="이의신청액"/>
  227. <Column id="in_obtappamt" type="STRING" size="256" sumtext="이의신청액원내"/>
  228. <Column id="out_obtappamt" type="STRING" size="256" sumtext="이의신청액원외"/>
  229. <Column id="abdcnt" type="STRING" size="256" sumtext="부제기건수"/>
  230. <Column id="abdamt" type="STRING" size="256" sumtext="부제기액"/>
  231. <Column id="in_abdamt" type="STRING" size="256" sumtext="부제기금액원내"/>
  232. <Column id="out_abdamt" type="STRING" size="256" sumtext="부제기금액원외"/>
  233. <Column id="cutcnt" type="STRING" size="256" sumtext="조정건수"/>
  234. <Column id="cuttotamt" type="STRING" size="256" sumtext="삭감액"/>
  235. <Column id="in_cutamt" type="STRING" size="256" sumtext="원내삭감액"/>
  236. <Column id="out_cutamt" type="STRING" size="256" sumtext="원외삭감액"/>
  237. </ColumnInfo>
  238. </Dataset>
  239. <Dataset id="ds_init_UserInfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  240. <ColumnInfo>
  241. <Column id="userId" type="STRING" size="256" sumtext="userId"/>
  242. <Column id="userNm" type="STRING" size="256" sumtext="userNm"/>
  243. </ColumnInfo>
  244. </Dataset>
  245. </Objects>
  246. <Bind>
  247. <BindItem id="item0" compid="group2.group4.ipt_clamymfrom" propid="value" datasetid="ds_send" columnid="clamymfrom"/>
  248. <BindItem id="item1" compid="group2.group4.ipt_clamymto" propid="value" datasetid="ds_send" columnid="clamymto"/>
  249. <BindItem id="item2" compid="group2.group4.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
  250. </Bind>
  251. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  252. * System Name :
  253. * Job Name :
  254. * Creator :
  255. * Make Date : 2016-05-24
  256. * Description :
  257. *---------------------------------------------------------------------------------------
  258. * Modify Date Modifier Modify Description
  259. *---------------------------------------------------------------------------------------
  260. * 2016-05-24 Live Converter TF->XP
  261. *
  262. *---------------------------------------------------------------------------------------
  263. ****************************************************************************************/
  264. include "com_commonxp::comm_main.xjs";
  265. include "pam_pamcomnxp::PAM001.xjs";
  266. include "pam_pamcomnxp::PAM.xjs";
  267. function SMPIF90200_oninit(obj:Form, e:InitEventInfo)
  268. {
  269. frmf_initForm(obj);
  270. }
  271. function SMPIF90200_onload(obj:Form, e:LoadEventInfo)
  272. {
  273. var sProp="col=4,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  274. group2.group4.cb_cond2_3.setInitComp(sProp, ds_chk_cb_cond2_3,"value","label","fn_cmpEvent");
  275. var sProp="col=3,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  276. group2.group4.checkbox1.setInitComp(sProp, ds_chk_checkbox1,"value","label","fn_cmpEvent2");
  277. fInitialize();
  278. group2.group4.cb_cond2_3.setCheckAll(false);//초기화
  279. var clamflag = ds_send.getColumn(0, "clamflag");
  280. group2.group4.cb_cond2_3.setData(utlf_transNullToEmpty(clamflag).split("^"), "", false);
  281. group2.group4.checkbox1.setCheckAll(false);//초기화
  282. var insukind = ds_send.getColumn(0, "insukind");
  283. group2.group4.checkbox1.setData(utlf_transNullToEmpty(insukind).split("^"), "", false);
  284. }
  285. function fInitialize()
  286. {
  287. ds_main_list1_grdjudgclam.clearData();
  288. dsf_createDsRow("ds_tmp", [{col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}]);
  289. var oParam = {};
  290. oParam.id = "TRPIB00603";
  291. oParam.service = "insubasecdmngtapp.JudgCmt";
  292. oParam.method = "reqGetJudgRidList";
  293. oParam.inds = "req=ds_tmp";
  294. oParam.outds = "ds_init_U0001list=U0001 ds_init_UserInfo=UserInfo";
  295. oParam.async = false;
  296. //oParam.callback = "cf_TRPIB00603";
  297. tranf_submit(oParam);
  298. var curDate = utlf_getCurrentDate();
  299. ds_send.setColumn(0, "clamymfrom", curDate);
  300. ds_send.setColumn(0, "clamymto", curDate);
  301. ds_send.setColumn(0, "clamflag", "0,3");
  302. ds_send.setColumn(0, "insukind", "11");
  303. ds_send.setColumn(0, "ioflag", "A");
  304. ds_send.setColumn(0, "in_cond3", "1");
  305. }
  306. function fn_cmpEvent()
  307. {
  308. var chk = group2.group4.cb_cond2_3.getData();
  309. ds_send.setColumn(0, "clamflag", chk);
  310. }
  311. function fn_cmpEvent2()
  312. {
  313. var chk = group2.group4.checkbox1.getData();
  314. ds_send.setColumn(0, "insukind", chk);
  315. }
  316. function group2_group4_ipt_clamymfrom_onchanged(obj:Calendar, e:ChangeEventInfo)
  317. {
  318. ds_send.setColumn(0, "clamymfrom", obj.value);
  319. ds_send.setColumn(0, "clamymto", obj.value)
  320. }
  321. function group2_group4_button1_onclick(obj:Button, e:ClickEventInfo)
  322. {
  323. fSearch();
  324. }
  325. function fSearch()
  326. {
  327. var chk_clamymfrom = ds_send.getColumn(0, "clamymfrom");
  328. var chk_clamymto = ds_send.getColumn(0, "clamymto");
  329. if(utlf_isNull(chk_clamymfrom) || utlf_isNull(chk_clamymto))
  330. {
  331. sysf_messageBox("조회기준 일자는 ", "I003");
  332. group2.group4.ipt_clamymfrom.setFocus();
  333. return;
  334. }
  335. var af = ds_send.getColumn(0, "clamflag");
  336. var bf = "";
  337. var cf = ds_send.getColumn(0, "insukind");
  338. var df = "";
  339. var afcnt = af.length;
  340. var cfcnt = cf.length;
  341. if(!utlf_isNull(ds_send.getColumn(0, "clamflag")))
  342. {
  343. bf = af.replace("^", "','");
  344. bf = af.replace(",", "','");
  345. for(var i = 0; i < afcnt; i++)
  346. {
  347. bf = bf.replace("^", "','");
  348. if(bf.substr(0,1) != "'")
  349. {
  350. bf = "'" + bf + "'";
  351. }
  352. }
  353. }
  354. ds_send.getColumn(0, "sclamflag", bf);
  355. if(!utlf_isNull(ds_send.getColumn(0, "insukind")))
  356. {
  357. df = cf.replace("^", "','");
  358. df = cf.replace(",", "','");
  359. for(var i = 0; i < cfcnt; i++)
  360. {
  361. df = df.replace("^", "','");
  362. if(df.substr(0,1) != "'")
  363. {
  364. df = "'" + df + "'";
  365. }
  366. }
  367. }
  368. ds_send.setColumn(0, "sinsukind", df);
  369. var oParam = {};
  370. oParam.id = "TRPIF90201";
  371. oParam.service = "clamuncoapp.ClamUnco";
  372. oParam.method = "reqGetJudgClamStatistics";
  373. oParam.inds = "req=ds_send";
  374. oParam.outds = "ds_main_list1_grdjudgclam=grdjudgclam";
  375. oParam.async = false;
  376. //oParam.callback = "cf_TRPIF90201";
  377. tranf_submit(oParam);
  378. }
  379. function group2_button2_onclick(obj:Button, e:ClickEventInfo)
  380. {
  381. if(ds_main_list1_grdjudgclam.rowcount == 0)
  382. {
  383. sysf_messageBox("엑셀저장할 내역이", "I004");
  384. }
  385. else
  386. {
  387. grdf_exportExcel(group2.grdjudgclam, "심사자별 업무현황_"+utlf_getCurrentDate(), "see");
  388. }
  389. }
  390. ]]></Script>
  391. </Form>
  392. </FDL>