SPPID21300_심사전후차액조회.xfdl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPID21300" position="absolute 0 0 917 644" titletext="심사전후 차액조회" oninit="model1_oninit" onload="SPPID21300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" taborder="2" tabindex="0" position="absolute 0 30 912 622" anchor="all" positiontype="position">
  8. <Tabpages>
  9. <Tabpage id="case1" text="항목별 진료비" style="anchor:default;margin:0 0 0 0;" position="absolute 0 0 942 631">
  10. <Layouts>
  11. <Layout width="944" height="592">
  12. <Static id="caption1" class="tit_2" position="absolute 0 5 116 25" anchor="default" positiontype="position" text="항목별 진료비"/>
  13. <Button id="btn_excel" class="btn7" position="absolute 836 6 912 26" anchor="top right" positiontype="position" text="엑셀저장" onlbuttonup="btn_excel_onlbuttonup" onclick="switch1_case1_btn_excel_onclick"/>
  14. <Grid id="grd_clodlist" taborder="5" binddataset="ds_grid_grd_clodlist" useinputpanel="false" autofittype="col" onkeydown="grd_clodlist_onkeydown" oncelldblclick="grd_clodlist_oncelldblclick" position="absolute 0 28 912 560" cellsizingtype="col">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="20"/>
  19. <Column size="40"/>
  20. <Column size="40"/>
  21. <Column size="155"/>
  22. <Column size="60"/>
  23. <Column size="60"/>
  24. <Column size="60"/>
  25. <Column size="60"/>
  26. <Column size="60"/>
  27. <Column size="60"/>
  28. <Column size="70"/>
  29. <Column size="70"/>
  30. </Columns>
  31. <Rows>
  32. <Row size="22" band="head"/>
  33. <Row size="22" band="head"/>
  34. <Row size="20"/>
  35. </Rows>
  36. <Band id="head">
  37. <Cell rowspan="2"/>
  38. <Cell col="1" colspan="2" text="항목"/>
  39. <Cell col="3" rowspan="2" displaytype="normal" text="명칭"/>
  40. <Cell col="4" colspan="3" text="심사후"/>
  41. <Cell col="7" colspan="3" text="심사전"/>
  42. <Cell col="10" rowspan="2" text="비급여"/>
  43. <Cell col="11" rowspan="2" text="차액"/>
  44. <Cell row="1" col="1" text="항"/>
  45. <Cell row="1" col="2" text="목"/>
  46. <Cell row="1" col="4" text="I항"/>
  47. <Cell row="1" col="5" text="II항"/>
  48. <Cell row="1" col="6" text="종별가산금"/>
  49. <Cell row="1" col="7" text="I항"/>
  50. <Cell row="1" col="8" text="II항"/>
  51. <Cell row="1" col="9" text="종별가산금"/>
  52. </Band>
  53. <Band id="body">
  54. <Cell celltype="head" expr="expr:currow+1"/>
  55. <Cell col="1" style="align:center middle;" text="bind:item1"/>
  56. <Cell col="2" style="align:center middle;" text="bind:item2"/>
  57. <Cell col="3" style="align:left middle;" text="bind:hngnm"/>
  58. <Cell col="4" displaytype="number" text="bind:aftamt1"/>
  59. <Cell col="5" displaytype="number" text="bind:aftamt2"/>
  60. <Cell col="6" displaytype="number" text="bind:afhospaddamt"/>
  61. <Cell col="7" displaytype="number" text="bind:bframt1"/>
  62. <Cell col="8" displaytype="number" text="bind:bframt2"/>
  63. <Cell col="9" displaytype="number" text="bind:bfhospaddamt"/>
  64. <Cell col="10" displaytype="number" text="bind:nopayamt"/>
  65. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:difamt"/>
  66. <Cell col="12"/>
  67. </Band>
  68. </Format>
  69. </Formats>
  70. </Grid>
  71. </Layout>
  72. </Layouts>
  73. </Tabpage>
  74. <Tabpage id="case2" text="수정 내역" style="anchor:default;margin:0 0 0 0;">
  75. <Layouts>
  76. <Layout>
  77. <Static id="caption1" text="수정내역" onclick="grp_biz_caption1_onclick" class="tit_2" position="absolute 0 5 110 25"/>
  78. <Button id="btn_excel" taborder="3" text="엑셀저장" onlbuttonup="btn_excel_onlbuttonup" class="btn7" position="absolute 836 6 912 26" anchor="top right" onclick="switch1_case2_btn_excel_onclick"/>
  79. <Grid id="grd_mechlist" taborder="4" binddataset="ds_grid_grd_mechlist" useinputpanel="false" position="absolute 0 28 912 560" autofittype="col" cellsizingtype="col" selecttype="multirow">
  80. <Formats>
  81. <Format id="default">
  82. <Columns>
  83. <Column size="20"/>
  84. <Column size="25"/>
  85. <Column size="25"/>
  86. <Column size="50"/>
  87. <Column size="50"/>
  88. <Column size="50"/>
  89. <Column size="100"/>
  90. <Column size="40"/>
  91. <Column size="40"/>
  92. <Column size="40"/>
  93. <Column size="60"/>
  94. <Column size="40"/>
  95. <Column size="40"/>
  96. <Column size="40"/>
  97. <Column size="60"/>
  98. <Column size="60"/>
  99. <Column size="40"/>
  100. <Column size="60"/>
  101. </Columns>
  102. <Rows>
  103. <Row size="22" band="head"/>
  104. <Row size="22" band="head"/>
  105. <Row size="20"/>
  106. </Rows>
  107. <Band id="head">
  108. <Cell rowspan="2"/>
  109. <Cell col="1" colspan="2" text="항목"/>
  110. <Cell col="3" rowspan="2" text="그룹수가"/>
  111. <Cell col="4" rowspan="2" text="수가코드"/>
  112. <Cell col="5" rowspan="2" text="EDI코드"/>
  113. <Cell col="6" rowspan="2" text="한글명"/>
  114. <Cell col="7" colspan="4" text="심사후"/>
  115. <Cell col="11" colspan="4" text="심사전"/>
  116. <Cell col="15" rowspan="2" text="총진료비"/>
  117. <Cell col="16" rowspan="2" text="산정&#10;수정"/>
  118. <Cell col="17" rowspan="2" text="수정자"/>
  119. <Cell row="1" col="1" text="항"/>
  120. <Cell row="1" col="2" text="목"/>
  121. <Cell row="1" col="7" text="1일량"/>
  122. <Cell row="1" col="8" text="일수"/>
  123. <Cell row="1" col="9" text="금액"/>
  124. <Cell row="1" col="10" text="종별가산금"/>
  125. <Cell row="1" col="11" text="1일량"/>
  126. <Cell row="1" col="12" text="일수"/>
  127. <Cell row="1" col="13" text="금액"/>
  128. <Cell row="1" col="14" text="종별가산금"/>
  129. </Band>
  130. <Band id="body">
  131. <Cell celltype="head" expr="expr:currow+1"/>
  132. <Cell col="1" text="bind:item1"/>
  133. <Cell col="2" text="bind:item2"/>
  134. <Cell col="3" text="bind:grupcalcscorcd"/>
  135. <Cell col="4" text="bind:snglcalcscorcd"/>
  136. <Cell col="5" text="bind:basecd"/>
  137. <Cell col="6" style="align:left;" text="bind:hngnm"/>
  138. <Cell col="7" displaytype="number" edittype="none" text="bind:afttims" mask="0.00"/>
  139. <Cell col="8" displaytype="number" text="bind:aftdayno"/>
  140. <Cell col="9" displaytype="number" text="bind:aftamt"/>
  141. <Cell col="10" displaytype="number" text="bind:afhospaddamt"/>
  142. <Cell col="11" displaytype="number" edittype="none" text="bind:bfrtims" mask="0.00"/>
  143. <Cell col="12" displaytype="number" text="bind:bfrdayno"/>
  144. <Cell col="13" displaytype="number" text="bind:bframt"/>
  145. <Cell col="14" displaytype="number" text="bind:bfhospaddamt"/>
  146. <Cell col="15" displaytype="number" text="bind:difamt"/>
  147. <Cell col="16" text="bind:estmyn"/>
  148. <Cell col="17" text="bind:lastupdtrnm"/>
  149. </Band>
  150. </Format>
  151. </Formats>
  152. </Grid>
  153. </Layout>
  154. </Layouts>
  155. </Tabpage>
  156. </Tabpages>
  157. </Tab>
  158. <Static id="caption1" class="tit_1" position="absolute 0 0 177 26" text="심사전후 차액 조회"/>
  159. <Button id="btn_close" taborder="3" text="닫기" onclick="btn_close_onclick" class="btn4" position="absolute 859 616 912 636" anchor="right bottom"/>
  160. </Layout>
  161. </Layouts>
  162. <Objects>
  163. <Dataset id="ds_grid_grd_clodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  164. <ColumnInfo>
  165. <Column id="item1" type="STRING"/>
  166. <Column id="item2" type="STRING"/>
  167. <Column id="hngnm" type="STRING"/>
  168. <Column id="aftamt1" type="STRING"/>
  169. <Column id="aftamt2" type="STRING"/>
  170. <Column id="bframt1" type="STRING"/>
  171. <Column id="bframt2" type="STRING" size="256"/>
  172. <Column id="difamt" type="STRING" size="256"/>
  173. <Column id="nopayamt" type="STRING" size="256"/>
  174. <Column id="afhospaddamt" type="STRING" size="256"/>
  175. <Column id="bfhospaddamt" type="STRING" size="256"/>
  176. </ColumnInfo>
  177. </Dataset>
  178. <Dataset id="ds_grid_grd_mechlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="item1" type="STRING"/>
  181. <Column id="item2" type="STRING"/>
  182. <Column id="prcpdd" type="STRING"/>
  183. <Column id="grupflag" type="STRING"/>
  184. <Column id="grupcalcscorcd" type="STRING"/>
  185. <Column id="snglcalcscorcd" type="STRING"/>
  186. <Column id="basecd" type="STRING"/>
  187. <Column id="hngnm" type="STRING"/>
  188. <Column id="judgadjtresncd" type="STRING"/>
  189. <Column id="afttims" type="STRING"/>
  190. <Column id="aftdayno" type="STRING"/>
  191. <Column id="aftamt" type="STRING"/>
  192. <Column id="afhospaddamt" type="STRING"/>
  193. <Column id="bfrtims" type="STRING"/>
  194. <Column id="bfrdayno" type="STRING"/>
  195. <Column id="bframt" type="STRING"/>
  196. <Column id="bfhospaddamt" type="STRING"/>
  197. <Column id="difamt" type="STRING"/>
  198. <Column id="estmyn" type="STRING"/>
  199. <Column id="lastupdtrnm" type="STRING"/>
  200. </ColumnInfo>
  201. </Dataset>
  202. <Dataset id="ds_temp_judgamt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  203. <ColumnInfo>
  204. <Column id="edimedcaretotamt_af" type="STRING" size="256"/>
  205. <Column id="ediownbamt_af" type="STRING" size="256"/>
  206. <Column id="ediinsuclamamt_af" type="STRING" size="256"/>
  207. <Column id="edimedcaretotamt_bf" type="STRING" size="256"/>
  208. <Column id="ediownbamt_bf" type="STRING" size="256"/>
  209. <Column id="ediinsuclamamt_bf" type="STRING" size="256"/>
  210. </ColumnInfo>
  211. </Dataset>
  212. </Objects>
  213. <Bind/>
  214. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  215. * System Name :
  216. * Job Name :
  217. * Creator :
  218. * Make Date : 2016-05-24
  219. * Description :
  220. *---------------------------------------------------------------------------------------
  221. * Modify Date Modifier Modify Description
  222. *---------------------------------------------------------------------------------------
  223. * 2016-05-24 Live Converter TF->XP
  224. *
  225. *---------------------------------------------------------------------------------------
  226. ****************************************************************************************/
  227. include "com_commonxp::comm_main.xjs";
  228. // 화면을 초기화한다.
  229. function lf_Initialize() {
  230. var clamym = sClamym;
  231. var clamdg = sClamdg;
  232. var pid = sPid;
  233. var pidsn = sPidsn;
  234. var insukind = sInsukind;
  235. var suppkind = sSuppkind;
  236. var ordfromdd = sOrdfromdd;
  237. var sInDs = dsf_createDsRow("ds_cond"
  238. ,[{col: "clamym", val: clamym}
  239. , {col: "clamdg", val: clamdg}
  240. , {col: "pid", val: pid}
  241. , {col: "pidsn", val: pidsn}
  242. , {col: "insukind", val: insukind}
  243. , {col: "suppkind", val: suppkind}
  244. , {col: "ordfromdd", val: ordfromdd}
  245. , {col: "item1", val: ""}
  246. , {col: "item2", val: ""}
  247. ]);
  248. var oParam = {};
  249. oParam.id = "TRPID21301";
  250. oParam.service = "aftjudgapp.AftJudgDifAmt";
  251. oParam.method = "reqGetAftJudgItemDifAmtList";
  252. oParam.inds = "req="+sInDs;
  253. oParam.outds = "ds_grid_grd_clodlist=clod";
  254. oParam.async = false;
  255. tranf_submit(oParam);
  256. oParam = {};
  257. oParam.id = "TRPID21302";
  258. oParam.service = "aftjudgapp.AftJudgDifAmt";
  259. oParam.method = "reqGetAftJudgDetlDifAmtList";
  260. oParam.inds = "req="+sInDs;
  261. oParam.outds = "ds_grid_grd_mechlist=clod";
  262. oParam.async = false;
  263. //oParam.callback = "cf_TRPID21302";
  264. tranf_submit(oParam);
  265. }
  266. function SPPID21300_onload(obj:Form, e:LoadEventInfo)
  267. {
  268. frmf_initForm(obj); // 화면공통
  269. lf_Initialize(); // 화면을 초기화한다.
  270. //그리드 정렬
  271. grdf_setGridSort(switch1.case1.grd_clodlist);
  272. grdf_setGridSort(switch1.case2.grd_mechlist);
  273. }
  274. function switch1_case1_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  275. {
  276. if(ds_grid_grd_clodlist.rowcount > 0) {
  277. grdf_exportExcel(switch1.case1.grd_clodlist, "항목별진료비", "항목별진료비");
  278. }
  279. else {
  280. sysf_messageBox("저장할", "E013"); //데이터가 없습니다.
  281. }
  282. }
  283. function switch1_case2_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  284. {
  285. if(ds_grid_grd_mechlist.rowcount > 0) {
  286. grdf_exportExcel(switch1.case2.grd_mechlist, "수정내역", "수정내역");
  287. }
  288. else {
  289. sysf_messageBox("저장할", "E013"); //데이터가 없습니다.
  290. }
  291. }
  292. function grd_clodlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  293. {
  294. var clamym = sClamym;
  295. var clamdg = sClamdg;
  296. var pid = sPid;
  297. var pidsn = sPidsn;
  298. var insukind = sInsukind;
  299. var suppkind = sSuppkind;
  300. var ordfromdd = sOrdfromdd;
  301. var sInDs = dsf_createDsRow("ds_cond"
  302. ,[{col: "clamym", val: clamym}
  303. , {col: "clamdg", val: clamdg}
  304. , {col: "pid", val: pid}
  305. , {col: "pidsn", val: pidsn}
  306. , {col: "insukind", val: insukind}
  307. , {col: "suppkind", val: suppkind}
  308. , {col: "ordfromdd", val: ordfromdd}
  309. , {col: "item1" , val: ds_grid_grd_clodlist.getColumn(e.row, "item1") }
  310. , {col: "item2" , val: ds_grid_grd_clodlist.getColumn(e.row, "item2") }
  311. ]);
  312. var oParam = {};
  313. oParam.id = "TRPID21302";
  314. oParam.service = "aftjudgapp.AftJudgDifAmt";
  315. oParam.method = "reqGetAftJudgDetlDifAmtList";
  316. oParam.inds = "req="+sInDs;
  317. oParam.outds = "ds_grid_grd_mechlist=clod";
  318. oParam.async = false;
  319. tranf_submit(oParam);
  320. switch1.tabindex = 1;
  321. }
  322. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  323. {
  324. this.close();
  325. }
  326. ]]></Script>
  327. </Form>
  328. </FDL>