SMPIS00900_외과흉부외과가산조회.xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SMPIS00900" position="absolute 0 0 1280 1024" titletext="외과흉부외과가산조회" onload="SMPIS00900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 1211 13" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption1" class="tit_1" position="absolute 0 0 200 13" style="" text="외과,흉부외과 가산내역 조회" />
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="group2" scrollbars="autoboth" position="absolute 0 13 1211 745" style="">
  15. <Layouts>
  16. <Layout>
  17. <Div id="group3" position="absolute 0 10 1210 65" style="align: top;">
  18. <Layouts>
  19. <Layout>
  20. <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 0 1210 55" style="" />
  21. <Static id="caption2" class="search_name" position="absolute 10 19 91 36" style="" text="기준일자" />
  22. <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1109 5 1112 47" style="" anchor="default" />
  23. <Button id="btn_search" class="btn1_letter2" taborder="2" position="absolute 1134 15 1190 37" style="" text="조회" onclick="group2_group3_btn_search_onclick" />
  24. <Static id="caption26" class="search_name" position="absolute 305 18 381 35" style="" text="조회기간" />
  25. <Static id="caption3" class="search_name" position="absolute 665 19 741 36" style="" text="내원유형" />
  26. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_ioflag" class="radio_search" position="absolute 755 19 855 36" style="">
  27. <Dataset id="innerdataset">
  28. <ColumnInfo>
  29. <Column id="codecolumn" />
  30. <Column id="datacolumn" />
  31. </ColumnInfo>
  32. <Rows>
  33. <Row>
  34. <Col id="codecolumn">I</Col>
  35. <Col id="datacolumn">입원</Col>
  36. </Row>
  37. <Row>
  38. <Col id="codecolumn">O</Col>
  39. <Col id="datacolumn">외래</Col>
  40. </Row>
  41. </Rows>
  42. </Dataset>
  43. </Radio>
  44. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio1" class="radio_search" position="absolute 99 19 264 36" style="">
  45. <Dataset id="innerdataset">
  46. <ColumnInfo>
  47. <Column id="codecolumn" />
  48. <Column id="datacolumn" />
  49. </ColumnInfo>
  50. <Rows>
  51. <Row>
  52. <Col id="codecolumn">1</Col>
  53. <Col id="datacolumn">실시일기준</Col>
  54. </Row>
  55. <Row>
  56. <Col id="codecolumn">2</Col>
  57. <Col id="datacolumn">처방일기준</Col>
  58. </Row>
  59. </Rows>
  60. </Dataset>
  61. </Radio>
  62. <Static id="caption4" position="absolute 490 17 505 37" style="" text="~" />
  63. <Calendar id="ipt_todd" class="input_search" taborder="3" mask="yyyy-mm-dd" position="absolute 505 17 600 36" style="" anchor="default" />
  64. <Calendar id="ipt_fromdd" class="input_search" taborder="3" mask="yyyy-mm-dd" position="absolute 390 17 485 36" style="" anchor="default" />
  65. </Layout>
  66. </Layouts>
  67. </Div>
  68. <Static id="caption8" class="tit_2" position="absolute 0 75 100 89" style="" text="리스트" />
  69. <Grid id="grd_gscslist" binddataset="ds_main_item1_gscslist" class="datagrid2" position="absolute 0 90 1210 730" style="">
  70. <Formats>
  71. <Format id="default">
  72. <Columns>
  73. <Column size="42" />
  74. <Column size="49" />
  75. <Column size="83" />
  76. <Column size="139" />
  77. <Column size="100" />
  78. <Column size="100" />
  79. <Column size="100" />
  80. <Column size="76" />
  81. <Column size="44" />
  82. <Column size="47" />
  83. <Column size="54" />
  84. <Column size="119" />
  85. <Column size="50" />
  86. <Column size="80" />
  87. <Column size="80" />
  88. <Column size="80" />
  89. <Column size="80" />
  90. <Column size="80" />
  91. <Column size="80" />
  92. <Column size="80" />
  93. </Columns>
  94. <Rows>
  95. <Row size="24" band="head" />
  96. <Row size="24" />
  97. </Rows>
  98. <Band id="head">
  99. <Cell text="입외" />
  100. <Cell col="1" text="년월" />
  101. <Cell col="2" text="수가코드" />
  102. <Cell col="3" text="수가명" />
  103. <Cell col="4" text="진료과" />
  104. <Cell col="5" text="등록과" />
  105. <Cell col="6" text="처리과" />
  106. <Cell col="7" text="단가" />
  107. <Cell col="8" text="수량" />
  108. <Cell col="9" text="일수" />
  109. <Cell col="10" text="산정코드" />
  110. <Cell col="11" text="산정명칭" />
  111. <Cell col="12" text="건수" />
  112. <Cell col="13" text="총금액" />
  113. <Cell col="14" text="계산금액" />
  114. <Cell col="15" text="병원가산" />
  115. <Cell col="16" text="선택진료" />
  116. <Cell col="17" text="산정금액" />
  117. <Cell col="18" text="전문의가산" />
  118. <Cell col="19" text="병원가산차액" />
  119. </Band>
  120. <Band id="body">
  121. <Cell text="bind:ioflag" />
  122. <Cell col="1" text="bind:yymm" />
  123. <Cell col="2" text="bind:snglcalcscorcd" />
  124. <Cell col="3" text="bind:hngnm" />
  125. <Cell col="4" text="bind:orddeptnm" />
  126. <Cell col="5" text="bind:rgstdeptnm" />
  127. <Cell col="6" text="bind:deptnm" />
  128. <Cell col="7" text="bind:appunitcost" />
  129. <Cell col="8" text="bind:prcpqty" />
  130. <Cell col="9" text="bind:prcpdayno" />
  131. <Cell col="10" text="bind:estmmeancd" />
  132. <Cell col="11" text="bind:estmmeannm" />
  133. <Cell col="12" text="bind:cnt" />
  134. <Cell col="13" text="bind:totamt" />
  135. <Cell col="14" text="bind:calamt" />
  136. <Cell col="15" text="bind:hospaddamt" />
  137. <Cell col="16" text="bind:specamt" />
  138. <Cell col="17" text="bind:estmamt" />
  139. <Cell col="18" text="bind:doctadd" />
  140. <Cell col="19" text="bind:hospdiff" />
  141. </Band>
  142. </Format>
  143. </Formats>
  144. </Grid>
  145. <Button id="button2" class="btn2_letter4" position="absolute 1130 69 1194 88" style="" text="엑셀저장" onclick="group2_button2_onclick" />
  146. </Layout>
  147. </Layouts>
  148. </Div>
  149. </Layout>
  150. </Layouts>
  151. <Objects>
  152. <Dataset id="ds_main_item1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  153. <ColumnInfo />
  154. </Dataset>
  155. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  156. <ColumnInfo>
  157. <Column id="fromdd" type="STRING" size="256" />
  158. <Column id="todd" type="STRING" size="256" />
  159. <Column id="jobflag" type="STRING" size="256" />
  160. <Column id="ioflag" type="STRING" size="256" />
  161. </ColumnInfo>
  162. </Dataset>
  163. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  164. <ColumnInfo />
  165. </Dataset>
  166. <Dataset id="ds_main_item1_gscslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  167. <ColumnInfo>
  168. <Column id="pid" type="STRING" size="256" />
  169. <Column id="hngnm" type="STRING" size="256" />
  170. <Column id="rrgstno" type="STRING" size="256" />
  171. <Column id="clamym" type="STRING" size="256" />
  172. <Column id="clamprcsstat" type="STRING" size="256" />
  173. <Column id="clamdg" type="STRING" size="256" />
  174. <Column id="ioflag" type="STRING" size="256" />
  175. <Column id="insukind" type="STRING" size="256" />
  176. <Column id="suppkind" type="STRING" size="256" />
  177. <Column id="clamdeptnm" type="STRING" size="256" />
  178. <Column id="orddeptcd" type="STRING" size="256" />
  179. <Column id="orddrnm" type="STRING" size="256" />
  180. <Column id="judgendyn" type="STRING" size="256" />
  181. <Column id="clamendyn" type="STRING" size="256" />
  182. <Column id="acptno" type="STRING" size="256" />
  183. <Column id="docuseqno" type="STRING" size="256" />
  184. <Column id="ordfromdd" type="STRING" size="256" />
  185. <Column id="fromdd" type="STRING" size="256" />
  186. <Column id="todd" type="STRING" size="256" />
  187. <Column id="judgyn" type="STRING" size="256" />
  188. <Column id="delreason1" type="STRING" size="256" />
  189. <Column id="delreason2" type="STRING" size="256" />
  190. <Column id="rtnrsncd1" type="STRING" size="256" />
  191. <Column id="rtnrsncd2" type="STRING" size="256" />
  192. <Column id="edimedcaretotamt" type="STRING" size="256" />
  193. <Column id="ediownbamt" type="STRING" size="256" />
  194. <Column id="ediinsuclamamt" type="STRING" size="256" />
  195. <Column id="edilimitamt" type="STRING" size="256" />
  196. <Column id="edisuppamt" type="STRING" size="256" />
  197. <Column id="edisubtamt" type="STRING" size="256" />
  198. <Column id="edihandcaprfund" type="STRING" size="256" />
  199. <Column id="judgrid" type="STRING" size="256" />
  200. <Column id="judgenddd" type="STRING" size="256" />
  201. <Column id="insuno" type="STRING" size="256" />
  202. </ColumnInfo>
  203. <Rows>
  204. <Row>
  205. <Col id="pid"></Col>
  206. <Col id="hngnm"></Col>
  207. <Col id="rrgstno"></Col>
  208. <Col id="clamym"></Col>
  209. <Col id="clamprcsstat"></Col>
  210. <Col id="clamdg"></Col>
  211. <Col id="ioflag"></Col>
  212. <Col id="insukind"></Col>
  213. <Col id="suppkind"></Col>
  214. <Col id="clamdeptnm"></Col>
  215. <Col id="orddeptcd"></Col>
  216. <Col id="orddrnm"></Col>
  217. <Col id="judgendyn"></Col>
  218. <Col id="clamendyn"></Col>
  219. <Col id="acptno"></Col>
  220. <Col id="docuseqno"></Col>
  221. <Col id="ordfromdd"></Col>
  222. <Col id="fromdd"></Col>
  223. <Col id="todd"></Col>
  224. <Col id="judgyn"></Col>
  225. <Col id="delreason1"></Col>
  226. <Col id="delreason2"></Col>
  227. <Col id="rtnrsncd1"></Col>
  228. <Col id="rtnrsncd2"></Col>
  229. <Col id="edimedcaretotamt"></Col>
  230. <Col id="ediownbamt"></Col>
  231. <Col id="ediinsuclamamt"></Col>
  232. <Col id="edilimitamt"></Col>
  233. <Col id="edisuppamt"></Col>
  234. <Col id="edisubtamt"></Col>
  235. <Col id="edihandcaprfund"></Col>
  236. <Col id="judgrid"></Col>
  237. <Col id="judgenddd"></Col>
  238. <Col id="insuno"></Col>
  239. </Row>
  240. </Rows>
  241. </Dataset>
  242. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  243. <ColumnInfo>
  244. <Column id="init" type="STRING" size="256" />
  245. </ColumnInfo>
  246. <Rows>
  247. <Row>
  248. <Col id="init"></Col>
  249. </Row>
  250. </Rows>
  251. </Dataset>
  252. </Objects>
  253. <Bind>
  254. <BindItem id="item0" compid="group2.group3.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag" />
  255. <BindItem id="item1" compid="group2.group3.radio1" propid="value" datasetid="ds_send" columnid="jobflag" />
  256. <BindItem id="item2" compid="group2.group3.ipt_todd" propid="value" datasetid="ds_send" columnid="todd" />
  257. <BindItem id="item3" compid="group2.group3.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd" />
  258. </Bind>
  259. <Script type="xscript4.0"><![CDATA[function SMPIS00900_onload(obj:Form, e:LoadEventInfo) {
  260. frmf_initForm(obj);
  261. //grdf_initGrid(grd_XXX);
  262. //grdf_setGridSort(grd_XXX);
  263. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  264. // 화면 초기화
  265. fInitialize();
  266. }
  267. include '../../.._com_commonweb_js_common.js'
  268. include '../../.._com_commonweb_js_utilHelper.js'
  269. include '../../.._com_commonweb_js_numericHelper.js'
  270. include '../../.._com_commonweb_js_stringHelper.js'
  271. include '../../.._com_commonweb_js_dateHelper.js'
  272. include '../../.._com_commonweb_js_tfHelper.js'
  273. // 화면 초기화
  274. function fInitialize()
  275. {
  276. ds_send.setColumn( 0, "fromdd",utlf_getCurrentDate());
  277. ds_send.setColumn( 0, "todd",utlf_getCurrentDate());
  278. ds_send.setColumn( 0, "jobflag","1");
  279. ds_send.setColumn( 0, "ioflag","I");
  280. //model.refresh();
  281. }
  282. function group2_group3_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  283. ds_main_item1_gscslist.clearData();
  284. // submit("TRPIS00900");
  285. var oParam = {};
  286. oParam.id = "TRPIS00900";
  287. oParam.service = "aftjudgstatapp.GsCsAddlist";
  288. oParam.method = "reqGetGsCsAddList";
  289. oParam.inds = "req=ds_";
  290. oParam.outds = "ds_=gscslist";
  291. oParam.async = false;
  292. oParam.callback = "cf_TRPIS00900";
  293. tranf_submit(oParam);
  294. /*
  295. function cf_TRPIS00900(sSvcId, nErrorCode, sErrorMsg) {
  296. if(nErrorCode < 0) return;
  297. }
  298. function cf_TRPIS00900(sSvcId, nErrorCode, sErrorMsg) {
  299. arErrorCode.push(sSvcId, nErrorCode);
  300. }
  301. arErrorCode.pop("TRPIS00900") > -1
  302. arErrorCode.pop("TRPIS00900") < 0
  303. */
  304. }
  305. function group2_button2_onclick(obj:Button, e:ClickEventInfo) {
  306. if (group2.grd_gscslist.rows > 1) {
  307. var fileName = window.fileDialog("save", "", false, "외과흉부외과 가산내역 조회_" + utlf_getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  308. if (fileName != "") {
  309. //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
  310. grdf_exportExcel(//group2.grd_gscslist, "Sheet1", fileName, false, "" , 'user' , true);
  311. group2.grd_gscslist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
  312. }
  313. } else {
  314. sysf_messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
  315. }
  316. }
  317. ]]></Script>
  318. </Form>
  319. </FDL>