SPPIE00740_정산요약보기.xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SPPIE00740" position="absolute 0 0 720 560" titletext="업로드정보" onload="SPPIE00740_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 700 13" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 700 14" style="" text="정산요약보기" />
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="group3" scrollbars="autoboth" position="absolute 0 13 700 505" style="">
  15. <Layouts>
  16. <Layout>
  17. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 28 700 31" style="" anchor="default" />
  18. <Static id="caption2" class="tit_2" position="absolute 5 13 103 27" style="" text="요약정보" />
  19. <Button id="button3" class="btn2_letter4" position="absolute 634 7 698 26" style="" text="엑셀저장" onclick="group3_button3_onclick" />
  20. <Grid id="grd_summary" binddataset="ds_main_list01_gridsummary" class="datagrid1" visible="true" position="absolute 0 34 700 489" style="" oncelldblclick="group3_grd_summary_oncelldblclick">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="100" />
  25. <Column size="100" />
  26. <Column size="100" />
  27. <Column size="100" />
  28. <Column size="100" />
  29. <Column size="100" />
  30. <Column size="100" />
  31. <Column size="100" />
  32. <Column size="100" />
  33. <Column size="100" />
  34. <Column size="100" />
  35. </Columns>
  36. <Rows>
  37. <Row size="25" band="head" />
  38. <Row size="25" />
  39. </Rows>
  40. <Band id="head">
  41. <Cell text="진료년월" />
  42. <Cell col="1" text="정산심사차수" />
  43. <Cell col="2" text="정산통보번호" />
  44. <Cell col="3" text="환수_환급" />
  45. <Cell col="4" text="접수번호" />
  46. <Cell col="5" text="내원구분" />
  47. <Cell col="6" text="분야" />
  48. <Cell col="7" text="청구번호" />
  49. <Cell col="8" text="건수" />
  50. <Cell col="9" text="입금액" />
  51. <Cell col="10" text="fileflag" />
  52. <Cell col="11" text="" />
  53. <Cell col="12" text="생성" />
  54. <Cell col="13" text="등록번호" />
  55. <Cell col="14" text="청구일자" />
  56. <Cell col="15" text="입원일자" />
  57. <Cell col="16" text="적용일자" />
  58. <Cell col="17" text="환자유형" />
  59. <Cell col="18" text="조합기호" />
  60. <Cell col="19" text="장애수첩" />
  61. <Cell col="20" text="접수번호" />
  62. <Cell col="21" text="심사차수" />
  63. <Cell col="22" text="일련번호" />
  64. <Cell col="23" text="처리구분" />
  65. <Cell col="24" text="총진료비(청구)" />
  66. <Cell col="25" text="본인부담(청구)" />
  67. <Cell col="26" text="청구금액" />
  68. <Cell col="27" text="비고" />
  69. <Cell col="28" text="생성여부" />
  70. </Band>
  71. <Band id="body">
  72. <Cell text="bind:ordym" />
  73. <Cell col="1" text="bind:calcjudgdg" />
  74. <Cell col="2" text="bind:calcnotino" />
  75. <Cell col="3" text="bind:acptno" />
  76. <Cell col="4" text="bind:ioflag" />
  77. <Cell col="5" text="bind:ordfildcd" />
  78. <Cell col="6" text="bind:clamno" />
  79. <Cell col="7" text="bind:cnt" />
  80. <Cell col="8" text="bind:fileflag" />
  81. </Band>
  82. </Format>
  83. </Formats>
  84. </Grid>
  85. </Layout>
  86. </Layouts>
  87. </Div>
  88. <Div id="grp_btn" scrollbars="autoboth" position="absolute 0 510 700 537" style="">
  89. <Layouts>
  90. <Layout>
  91. <Shape id="line33" class="line_6" linetype="horizontal" position="absolute 0 0 700 3" style="" anchor="default" />
  92. <Button id="button1" class="btn4_letter2" position="absolute 644 5 700 27" style="" text="닫기" onclick="grp_btn_button1_onclick" />
  93. </Layout>
  94. </Layouts>
  95. </Div>
  96. </Layout>
  97. </Layouts>
  98. <Objects>
  99. <Dataset id="ds_send_sendf203" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  100. <ColumnInfo>
  101. <Column id="judgdg" type="STRING" size="256" />
  102. <Column id="clamno" type="STRING" size="256" />
  103. <Column id="acptno" type="STRING" size="256" />
  104. <Column id="setno" type="STRING" size="256" />
  105. <Column id="docuseqno" type="STRING" size="256" />
  106. </ColumnInfo>
  107. <Rows>
  108. <Row>
  109. <Col id="judgdg"></Col>
  110. <Col id="clamno"></Col>
  111. <Col id="acptno"></Col>
  112. <Col id="setno"></Col>
  113. <Col id="docuseqno"></Col>
  114. </Row>
  115. </Rows>
  116. </Dataset>
  117. <Dataset id="ds_init_P0235list_P0235" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  118. <ColumnInfo>
  119. <Column id="cdid" type="STRING" size="256" />
  120. <Column id="cdnm" type="STRING" size="256" />
  121. </ColumnInfo>
  122. <Rows>
  123. <Row>
  124. <Col id="cdid"></Col>
  125. <Col id="cdnm"></Col>
  126. </Row>
  127. </Rows>
  128. </Dataset>
  129. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  130. <ColumnInfo>
  131. <Column id="termflag" type="STRING" size="256" />
  132. <Column id="fromterm" type="STRING" size="256" />
  133. <Column id="toterm" type="STRING" size="256" />
  134. <Column id="acptno" type="STRING" size="256" />
  135. <Column id="setno" type="STRING" size="256" />
  136. <Column id="chosflag" type="STRING" size="256" />
  137. <Column id="clamno" type="STRING" size="256" />
  138. <Column id="ordfildcd" type="STRING" size="256" />
  139. </ColumnInfo>
  140. <Rows>
  141. <Row>
  142. <Col id="termflag"></Col>
  143. <Col id="fromterm"></Col>
  144. <Col id="toterm"></Col>
  145. <Col id="acptno"></Col>
  146. <Col id="setno"></Col>
  147. <Col id="chosflag"></Col>
  148. <Col id="clamno"></Col>
  149. <Col id="ordfildcd"></Col>
  150. </Row>
  151. </Rows>
  152. </Dataset>
  153. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  154. <ColumnInfo />
  155. </Dataset>
  156. <Dataset id="ds_init_P0235list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  157. <ColumnInfo />
  158. </Dataset>
  159. <Dataset id="ds_send_sendf202" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  160. <ColumnInfo>
  161. <Column id="judgdg" type="STRING" size="256" />
  162. <Column id="clamno" type="STRING" size="256" />
  163. <Column id="acptno" type="STRING" size="256" />
  164. <Column id="setno" type="STRING" size="256" />
  165. </ColumnInfo>
  166. <Rows>
  167. <Row>
  168. <Col id="judgdg"></Col>
  169. <Col id="clamno"></Col>
  170. <Col id="acptno"></Col>
  171. <Col id="setno"></Col>
  172. </Row>
  173. </Rows>
  174. </Dataset>
  175. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  176. <ColumnInfo>
  177. <Column id="hidden" type="STRING" size="256" />
  178. </ColumnInfo>
  179. </Dataset>
  180. <Dataset id="ds_send_summary" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  181. <ColumnInfo>
  182. <Column id="termflag" type="STRING" size="256" />
  183. <Column id="fromterm" type="STRING" size="256" />
  184. <Column id="toterm" type="STRING" size="256" />
  185. <Column id="acptno" type="STRING" size="256" />
  186. <Column id="clamno" type="STRING" size="256" />
  187. </ColumnInfo>
  188. <Rows>
  189. <Row>
  190. <Col id="termflag">1</Col>
  191. <Col id="fromterm"></Col>
  192. <Col id="toterm"></Col>
  193. <Col id="acptno"></Col>
  194. <Col id="clamno"></Col>
  195. </Row>
  196. </Rows>
  197. </Dataset>
  198. <Dataset id="ds_main_list01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  199. <ColumnInfo />
  200. </Dataset>
  201. <Dataset id="ds_main_list01_gridsummary" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  202. <ColumnInfo>
  203. <Column id="judgdg" type="STRING" size="256" />
  204. <Column id="acptdd" type="STRING" size="256" />
  205. <Column id="acptno" type="STRING" size="256" />
  206. <Column id="ioflag" type="STRING" size="256" />
  207. <Column id="ordfildcd" type="STRING" size="256" />
  208. <Column id="clamno" type="STRING" size="256" />
  209. <Column id="clamcnt" type="STRING" size="256" />
  210. <Column id="cnt" type="STRING" size="256" />
  211. <Column id="fileflag" type="STRING" size="256" />
  212. <Column id="insukind" type="STRING" size="256" />
  213. <Column id="ordym" type="STRING" size="256" />
  214. <Column id="calcjudgdg" type="STRING" size="256" />
  215. <Column id="calcnotino" type="STRING" size="256" />
  216. </ColumnInfo>
  217. <Rows>
  218. <Row>
  219. <Col id="judgdg"></Col>
  220. <Col id="acptdd"></Col>
  221. <Col id="acptno"></Col>
  222. <Col id="ioflag"></Col>
  223. <Col id="ordfildcd"></Col>
  224. <Col id="clamno"></Col>
  225. <Col id="clamcnt"></Col>
  226. <Col id="cnt"></Col>
  227. <Col id="fileflag"></Col>
  228. <Col id="insukind"></Col>
  229. <Col id="ordym"></Col>
  230. <Col id="calcjudgdg"></Col>
  231. <Col id="calcnotino"></Col>
  232. </Row>
  233. </Rows>
  234. </Dataset>
  235. <Dataset id="ds_init_P0028list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  236. <ColumnInfo />
  237. </Dataset>
  238. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  239. <ColumnInfo />
  240. </Dataset>
  241. <Dataset id="ds_init_P0028list_P0028" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  242. <ColumnInfo>
  243. <Column id="cdid" type="STRING" size="256" />
  244. <Column id="cdnm" type="STRING" size="256" />
  245. </ColumnInfo>
  246. <Rows>
  247. <Row>
  248. <Col id="cdid"></Col>
  249. <Col id="cdnm"></Col>
  250. </Row>
  251. </Rows>
  252. </Dataset>
  253. </Objects>
  254. <Bind />
  255. <Script type="xscript4.0"><![CDATA[function SPPIE00740_onload(obj:Form, e:LoadEventInfo) {
  256. frmf_initForm(obj);
  257. //grdf_initGrid(grd_XXX);
  258. //grdf_setGridSort(grd_XXX);
  259. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  260. CommCode_Load();
  261. }
  262. include '../../.._com_commonweb_js_common.js'
  263. include '../../.._com_commonweb_js_tfHelper.js'
  264. include '../../.._com_basiccodeweb_js_ZBC001.js'
  265. // 공통코드 Load작업
  266. function CommCode_Load() {
  267. var arrParam = [ {dsNm: "ds_init_P0235list",
  268. cdGrpId: "P0235" } ];
  269. appf_getCodeList(arrParam, , false);
  270. var arrParam = [ {dsNm: "ds_init_P0028list",
  271. cdGrpId: "P0028" } ];
  272. appf_getCodeList(arrParam, , false);
  273. //model.refresh();
  274. }
  275. function group3_button3_onclick(obj:Button, e:ClickEventInfo) {
  276. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  277. if (fileName != "")
  278. {
  279. group3.grd_summary.saveExcel(fileName, "SheetName", true, true, "", "", "");
  280. }
  281. }
  282. function group3_grd_summary_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  283. // 2007.07.19 업로드정보 화면을 클릭하면 해당 조회화면으로 조회조건을 넘긴다.
  284. if( group3.grd_summary.isCell(event.target) && group3.grd_summary.row >= group3.grd_summary.fixedRows ){
  285. var row = group3.grd_summary.selectedRow(0);
  286. // 여기에서 각 노드에 조회 조건을 저장한다.
  287. ds_send_summary.setColumn( 0, "acptno",group3.grd_summary.textmatrix(row,5)); // 접수번호
  288. ds_send_summary.setColumn( 0, "clamno",group3.grd_summary.textmatrix(row,8)); // 청구번호
  289. ds_send_summary.setColumn( 0, "fromterm",group3.grd_summary.textmatrix(row,2)); // 심사차수
  290. ds_send_summary.setColumn( 0, "toterm",group3.grd_summary.textmatrix(row,2)); // 심사차수
  291. var text = group3.grd_summary.textmatrix(row,11);
  292. // 2007.10.17 원외추가심결인 경우 3번째 컬럼 값(정산통보번호)으로 심사차수를 지정한다.
  293. if(text == "050"){
  294. ds_send_summary.setColumn( 0, "fromterm",group3.grd_summary.textmatrix(row,3)); // 심사차수
  295. ds_send_summary.setColumn( 0, "toterm",group3.grd_summary.textmatrix(row,3)); // 심사차수
  296. }
  297. // 선택항목이 요양급여인 경우
  298. if(text == "040"){
  299. // 2007.12.13 modaless로 화면을 호출한다.
  300. // window.load("SMPIE01400_요양급여정산내역서(F040)조회.xrw", "modal", "pop", "width:1140; height:640;", "ds_send_summary", "ds_send_summary");
  301. frmf_open("SMPIE01400", "SMPIE01400", "ds_send_summary""-"ds_send_summary"", "", "", "400", "400", "", "", "", "", "", "M");
  302. }else if(text == "050"){
  303. // 2007.12.13 modaless로 화면을 호출한다.
  304. // window.load("SMPIE01500_의료급여정산내역서(F050)조회.xrw", "modal", "pop", "width:1140; height:640;", "ds_send_summary", "ds_send_summary");
  305. frmf_open("SMPIE01500", "SMPIE01500", "ds_send_summary""-"ds_send_summary"", "", "", "400", "400", "", "", "", "", "", "M");
  306. }else if(text == "070"){
  307. // 2007.12.13 modaless로 화면을 호출한다.
  308. // window.load("SMPIE01600_원외처방정산내역서(F070)조회.xrw", "modal", "pop", "width:1140; height:640;", "ds_send_summary", "ds_send_summary");
  309. frmf_open("SMPIE01600", "SMPIE01600", "ds_send_summary""-"ds_send_summary"", "", "", "400", "400", "", "", "", "", "", "M");
  310. }
  311. }
  312. }
  313. function grp_btn_button1_onclick(obj:Button, e:ClickEventInfo) {
  314. // 윈도우 닫기
  315. window.close();
  316. }
  317. ]]></Script>
  318. </Form>
  319. </FDL>