SPPIF80801_완화의료진료비현황조회.xfdl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIF80801" position="absolute 0 0 1210 791" titletext="완화의료 진료비 현황 조회" oninit="SPPIF80801_oninit" onload="SPPIF80801_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 13 1196 757" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 11 1194 49" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Button position="absolute 1128 7 1184 29" id="button1" class="btn1" text="조회" anchor="top right" onclick="grp_biz_grp_sea_button1_onclick"/>
  14. <Shape position="absolute 1115 7 1121 29" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  15. <Calendar position="absolute 296 8 366 27" id="ipt_fromdd" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_biz_grp_sea_ipt_fromdd_onchanged"/>
  16. <Static text="청구월 :" position="absolute 223 10 305 27" id="caption13" class="search_name" anchor="default"/>
  17. <Radio position="absolute 90 8 210 28" id="radio1" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  18. <Dataset id="innerdataset">
  19. <ColumnInfo>
  20. <Column id="codecolumn"/>
  21. <Column id="datacolumn"/>
  22. </ColumnInfo>
  23. <Rows>
  24. <Row>
  25. <Col id="codecolumn">C</Col>
  26. <Col id="datacolumn">청구월</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">D</Col>
  30. <Col id="datacolumn">퇴원일</Col>
  31. </Row>
  32. </Rows>
  33. </Dataset>
  34. </Radio>
  35. <Static text="기준선택 :" position="absolute 9 11 104 28" id="caption1" class="search_name" anchor="default"/>
  36. <Static text="퇴원일 :" position="absolute 450 11 535 28" id="caption2" class="search_name" anchor="default"/>
  37. <Calendar position="absolute 516 9 603 28" id="input1" class="input_search" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd"/>
  38. <Calendar position="absolute 618 9 708 28" id="ipt_todd" class="input_search" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  39. <Static text="~" position="absolute 605 8 620 28" id="caption3" anchor="default"/>
  40. <Combo position="absolute 367 8 427 27" id="cmb_clamdg" class="combo_search" innerdataset="@ds_init_clamdg_clamdglist" datacolumn="clamdgnm" codecolumn="clamdgcd" anchor="default"/>
  41. <Static text="진료과 :" position="absolute 745 10 820 27" id="caption4" class="search_name" anchor="default"/>
  42. <Combo position="absolute 818 8 933 27" id="cmb_orddeptcd" class="combo_search" innerdataset="@ds_init_list1_deptlist" datacolumn="depthngnm" codecolumn="deptcd" anchor="default"/>
  43. </Layout>
  44. </Layouts>
  45. </Div>
  46. <Button position="absolute 1115 57 1195 76" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button12_onclick"/>
  47. <Shape position="absolute 0 76 1195 82" linetype="horizontal" id="line2" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  48. <Static text="완화의료 환자 리스트" position="absolute 0 60 265 83" id="caption10" class="tit_2" anchor="default"/>
  49. <Grid position="absolute 0 81 1195 741" id="datagrid1" binddataset="ds_main_list_datagrid" anchor="all" cellsizingtype="col">
  50. <Formats>
  51. <Format id="default">
  52. <Columns>
  53. <Column size="25"/>
  54. <Column size="100"/>
  55. <Column size="56"/>
  56. <Column size="60"/>
  57. <Column size="55"/>
  58. <Column size="70"/>
  59. <Column size="70"/>
  60. <Column size="70"/>
  61. <Column size="70"/>
  62. <Column size="43"/>
  63. <Column size="100"/>
  64. <Column size="100"/>
  65. <Column size="100"/>
  66. <Column size="100"/>
  67. <Column size="100"/>
  68. <Column size="100"/>
  69. <Column size="100"/>
  70. <Column size="100"/>
  71. <Column size="100"/>
  72. <Column size="100"/>
  73. <Column size="100"/>
  74. <Column size="100"/>
  75. <Column size="100"/>
  76. <Column size="59"/>
  77. <Column size="42"/>
  78. <Column size="33"/>
  79. <Column size="59"/>
  80. <Column size="74"/>
  81. </Columns>
  82. <Rows>
  83. <Row size="24" band="head"/>
  84. <Row size="24" band="head"/>
  85. <Row size="24" band="head"/>
  86. <Row size="24" band="head"/>
  87. <Row size="24"/>
  88. <Row size="24" band="summ"/>
  89. </Rows>
  90. <Band id="head">
  91. <Cell rowspan="4" taborder="undefined"/>
  92. <Cell col="1" rowspan="4" text="진료과" taborder="undefined"/>
  93. <Cell col="2" rowspan="4" text="진료의" taborder="undefined"/>
  94. <Cell col="3" rowspan="4" text="등록번호" taborder="undefined"/>
  95. <Cell col="4" rowspan="4" text="환자명" taborder="undefined"/>
  96. <Cell col="5" rowspan="4" text="입원일자" taborder="undefined"/>
  97. <Cell col="6" rowspan="4" text="퇴원일자" taborder="undefined"/>
  98. <Cell col="7" rowspan="4" text="개시일" taborder="undefined"/>
  99. <Cell col="8" rowspan="4" text="종료일" taborder="undefined"/>
  100. <Cell col="9" rowspan="4" text="재원일" taborder="undefined"/>
  101. <Cell col="10" colspan="6" text="행위별내역(예상금액)" taborder="undefined"/>
  102. <Cell col="16" colspan="7" text="완화의료 정액수가 내역" taborder="undefined"/>
  103. <Cell col="23" colspan="5" text="청구내역" taborder="undefined"/>
  104. <Cell row="1" col="10" colspan="4" text="본인부담금" taborder="undefined"/>
  105. <Cell row="1" col="14" rowspan="3" text="공단부담금" taborder="undefined"/>
  106. <Cell row="1" col="15" rowspan="3" text="총진료비" taborder="undefined"/>
  107. <Cell row="1" col="16" colspan="5" text="본인부담금" taborder="undefined"/>
  108. <Cell row="1" col="21" rowspan="3" text="공단부담금" taborder="undefined"/>
  109. <Cell row="1" col="22" rowspan="3" text="총진료비" taborder="undefined"/>
  110. <Cell row="1" col="23" rowspan="3" text="청구월" taborder="undefined"/>
  111. <Cell row="1" col="24" rowspan="3" text="차수" taborder="undefined"/>
  112. <Cell row="1" col="25" rowspan="3" text="순번" taborder="undefined"/>
  113. <Cell row="1" col="26" rowspan="3" text="접수번호" taborder="undefined"/>
  114. <Cell row="1" col="27" rowspan="3" text="명일련번호" taborder="undefined"/>
  115. <Cell row="2" col="10" rowspan="2" text="급여&#10;(식대포함)" taborder="undefined"/>
  116. <Cell row="2" col="11" rowspan="2" text="전액본인부담금" taborder="undefined"/>
  117. <Cell row="2" col="12" rowspan="2" text="비급여액&#10;(선택진료비포함)" taborder="undefined"/>
  118. <Cell row="2" col="13" rowspan="2" text="계" taborder="undefined"/>
  119. <Cell row="2" col="16" rowspan="2" text="정액수가" taborder="undefined"/>
  120. <Cell row="2" col="17" rowspan="2" text="별도산정&#10;급여" taborder="undefined"/>
  121. <Cell row="2" col="18" rowspan="2" text="별도산정&#10;전액본인부담" taborder="undefined"/>
  122. <Cell row="2" col="19" rowspan="2" text="별도산정&#10;비급여" taborder="undefined"/>
  123. <Cell row="2" col="20" rowspan="2" text="계" taborder="undefined"/>
  124. </Band>
  125. <Band id="body">
  126. <Cell celltype="head" expr="currow+1"/>
  127. <Cell col="1" text="bind:orddeptcd"/>
  128. <Cell col="2" text="bind:medispclid"/>
  129. <Cell col="3" text="bind:pid"/>
  130. <Cell col="4" text="bind:patnm"/>
  131. <Cell col="5" displaytype="date" text="bind:indd" mask="yyyy-MM-dd"/>
  132. <Cell col="6" displaytype="date" text="bind:dschdd" mask="yyyy-MM-dd"/>
  133. <Cell col="7" displaytype="date" text="bind:fromdd" mask="yyyy-MM-dd"/>
  134. <Cell col="8" displaytype="date" text="bind:todd" mask="yyyy-MM-dd"/>
  135. <Cell col="9" displaytype="date" text="bind:inday" mask="yyyy-MM-dd"/>
  136. <Cell col="10" displaytype="number" text="bind:payownbamt"/>
  137. <Cell col="11" displaytype="number" text="bind:allownbamt"/>
  138. <Cell col="12" displaytype="number" text="bind:nopyamt"/>
  139. <Cell col="13" displaytype="number" text="bind:ownbamt"/>
  140. <Cell col="14" displaytype="number" text="bind:payinsubamt"/>
  141. <Cell col="15" displaytype="number" text="bind:totamt"/>
  142. <Cell col="16" displaytype="number" text="bind:hfixownbamt"/>
  143. <Cell col="17" displaytype="number" text="bind:hpayownbamt"/>
  144. <Cell col="18" displaytype="number" text="bind:hallownbamt"/>
  145. <Cell col="19" displaytype="number" text="bind:hnopyamt"/>
  146. <Cell col="20" displaytype="number" text="bind:hownbamt"/>
  147. <Cell col="21" displaytype="number" text="bind:hpayinsubamt"/>
  148. <Cell col="22" displaytype="number" text="bind:htotamt"/>
  149. <Cell col="23" displaytype="date" text="bind:clamym" mask="yyyy/MM"/>
  150. <Cell col="24" text="bind:clamdg"/>
  151. <Cell col="25" text="bind:pidsn"/>
  152. <Cell col="26" text="bind:acptno"/>
  153. <Cell col="27" text="bind:docuseqno"/>
  154. </Band>
  155. <Band id="summary">
  156. <Cell/>
  157. <Cell col="1"/>
  158. <Cell col="2"/>
  159. <Cell col="3"/>
  160. <Cell col="4"/>
  161. <Cell col="5"/>
  162. <Cell col="6"/>
  163. <Cell col="7"/>
  164. <Cell col="8"/>
  165. <Cell col="9"/>
  166. <Cell col="10" displaytype="number" style="align:right middle;" text="expr:getSum('payownbamt')"/>
  167. <Cell col="11" displaytype="number" style="align:right middle;" text="expr:getSum('allownbamt')"/>
  168. <Cell col="12" displaytype="number" style="align:right middle;" text="expr:getSum('nopyamt')"/>
  169. <Cell col="13" displaytype="number" style="align:right middle;" text="expr:getSum('ownbamt')"/>
  170. <Cell col="14" displaytype="number" style="align:right middle;" text="expr:getSum('payinsubamt')"/>
  171. <Cell col="15" displaytype="number" style="align:right middle;" text="expr:getSum('totamt')"/>
  172. <Cell col="16" displaytype="number" style="align:right middle;" text="expr:getSum('hfixownbamt')"/>
  173. <Cell col="17" displaytype="number" style="align:right middle;" text="expr:getSum('hpayownbamt')"/>
  174. <Cell col="18" displaytype="number" style="align:right middle;" text="expr:getSum('hallownbamt')"/>
  175. <Cell col="19" displaytype="number" style="align:right middle;" text="expr:getSum('hnopyamt')"/>
  176. <Cell col="20" displaytype="number" style="align:right middle;" text="expr:getSum('hownbamt')"/>
  177. <Cell col="21" displaytype="number" style="align:right middle;" text="expr:getSum('hpayinsubamt')"/>
  178. <Cell col="22" displaytype="number" style="align:right middle;" text="expr:getSum('htotamt')"/>
  179. <Cell col="23"/>
  180. <Cell col="24"/>
  181. <Cell col="25"/>
  182. <Cell col="26"/>
  183. <Cell col="27"/>
  184. </Band>
  185. </Format>
  186. </Formats>
  187. </Grid>
  188. </Layout>
  189. </Layouts>
  190. </Div>
  191. <Div position="absolute 0 757 1195 784" id="grp_btn"/>
  192. <Div position="absolute 0 755 1195 783" id="group1" scrollbars="autoboth" anchor="left right bottom">
  193. <Layouts>
  194. <Layout>
  195. <Button position="absolute 1139 0 1195 22" id="button45" class="btn4" text="닫기" anchor="right bottom" onclick="group1_button45_onclick"/>
  196. </Layout>
  197. </Layouts>
  198. </Div>
  199. <Static id="caption6" text="완화의료환자 진료비 현황 조회" class="tit_1" position="absolute 1 0 249 23"/>
  200. </Layout>
  201. </Layouts>
  202. <Objects>
  203. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  204. <ColumnInfo>
  205. <Column id="fromdd" type="STRING" size="256"/>
  206. <Column id="todd" type="STRING" size="256"/>
  207. <Column id="clamym" type="STRING" size="256"/>
  208. <Column id="kindcd" type="STRING" size="256"/>
  209. <Column id="clamdg" type="STRING" size="256"/>
  210. <Column id="ioflag" type="STRING" size="256"/>
  211. <Column id="orddeptcd" type="STRING" size="256"/>
  212. </ColumnInfo>
  213. <Rows>
  214. <Row>
  215. <Col id="fromdd"/>
  216. <Col id="todd"/>
  217. <Col id="clamym"/>
  218. <Col id="kindcd">C</Col>
  219. <Col id="clamdg">1</Col>
  220. <Col id="ioflag">I</Col>
  221. <Col id="orddeptcd"/>
  222. </Row>
  223. </Rows>
  224. </Dataset>
  225. <Dataset id="ds_init_list1_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  226. <ColumnInfo>
  227. <Column id="deptcd" type="STRING" size="256" sumtext="심사자id"/>
  228. <Column id="depthngnm" type="STRING" size="256" sumtext="심사자이름"/>
  229. <Column id="deptengabbr" type="STRING" size="256" sumtext="진료과약어"/>
  230. </ColumnInfo>
  231. </Dataset>
  232. <Dataset id="ds_main_list_datagrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  233. <Dataset id="ds_init_clamdg_clamdglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  234. </Objects>
  235. <Bind>
  236. <BindItem id="item0" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send" columnid="kindcd"/>
  237. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="clamym"/>
  238. <BindItem id="item2" compid="grp_biz.grp_sea.cmb_clamdg" propid="value" datasetid="ds_send" columnid="clamdg"/>
  239. <BindItem id="item3" compid="grp_biz.grp_sea.input1" propid="value" datasetid="ds_send" columnid="fromdd"/>
  240. <BindItem id="item4" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  241. <BindItem id="item5" compid="grp_biz.grp_sea.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
  242. </Bind>
  243. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  244. * System Name :
  245. * Job Name :
  246. * Creator :
  247. * Make Date : 2016-05-24
  248. * Description :
  249. *---------------------------------------------------------------------------------------
  250. * Modify Date Modifier Modify Description
  251. *---------------------------------------------------------------------------------------
  252. * 2016-05-24 Live Converter TF->XP
  253. *
  254. *---------------------------------------------------------------------------------------
  255. ****************************************************************************************/
  256. include "com_commonxp::comm_main.xjs";
  257. include "pam_pamcomnxp::PAM001.xjs";
  258. include "pam_pamcomnxp::PAM.xjs";
  259. include "pam_aftjudgstatxp::SMPIS01700.xjs";
  260. function SPPIF80801_oninit(obj:Form, e:InitEventInfo)
  261. {
  262. frmf_initForm(obj);
  263. }
  264. function SPPIF80801_onload(obj:Form, e:LoadEventInfo)
  265. {
  266. dsf_createDsRow("ds_tmp", [ {col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}
  267. , {col:"ordfildcd", type:"STRING", size:256, val: ""}
  268. , {col:"ordflag", type:"STRING", size:256, val: ""}]);
  269. var oParam = {};
  270. oParam.id = "TRPIJ00203";
  271. oParam.service = "bfjudgapp.InHospJudgTrgtMan";
  272. oParam.method = "reqGetDeptList";
  273. oParam.inds = "req=ds_tmp";
  274. oParam.outds = "ds_init_list1_deptlist=deptlist";
  275. oParam.async = false;
  276. //oParam.callback = "cf_TRPIJ00203";
  277. tranf_submit(oParam);
  278. ds_main_list_datagrid.clearData();
  279. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  280. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  281. ds_send.setColumn(0, "clamym", String(utlf_getCurrentDate()).substr(0,6));
  282. pidfGetClamdg(ds_send.getColumn(0, "clamym"), "", ds_send.getColumn(0, "ioflag"), "", "ds_init_clamdg_clamdglist")
  283. frmf_addComboItem("grp_biz.grp_sea.cmb_clamdg","전체","","above");
  284. grp_biz.grp_sea.cmb_clamdg.index = 0;
  285. }
  286. function grp_biz_grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  287. {
  288. ds_init_clamdg_clamdglist.clearData();
  289. pidfGetClamdg(String(obj.value).substr(0,6), "", ds_send.getColumn(0, "ioflag"), "", "ds_init_clamdg_clamdglist")
  290. frmf_addComboItem("grp_biz.grp_sea.cmb_clamdg","전체","","above");
  291. grp_biz.grp_sea.cmb_clamdg.index = 0;
  292. }
  293. function group1_button45_onclick(obj:Button, e:ClickEventInfo)
  294. {
  295. this.close();
  296. }
  297. function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
  298. {
  299. if(ds_main_list_datagrid.rowcount == 0)
  300. {
  301. sysf_messageBox("엑셀저장할 내역이", "I004");
  302. }
  303. else
  304. {
  305. grdf_exportExcel(grp_biz.datagrid1, "완화의료 환자 리스트", "see");
  306. }
  307. }
  308. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  309. {
  310. frmf_openLoadingBar();
  311. var oParam = {};
  312. oParam.id = "TRPIF80801";
  313. oParam.service = "clamuncoapp.ClamUnco";
  314. oParam.method = "reqGetHospiceAmtList";
  315. oParam.inds = "req=ds_send";
  316. oParam.outds = "ds_main_list_datagrid=datagrid";
  317. oParam.async = true;
  318. oParam.callback = "responseHandlerTRPIF80801";
  319. tranf_submit(oParam);
  320. }
  321. function responseHandlerTRPIF80801()
  322. {
  323. frmf_closeLoadingBar();
  324. } ]]></Script>
  325. </Form>
  326. </FDL>