SMPID23600_재정산내역조회.xfdl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SMPID23600" position="absolute 0 0 1020 660" titletext="재정산 내역 조회" onload="SMPID23600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_tle" position="absolute 0 0 865 13" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="cap_title" class="tit_1" position="absolute 0 0 216 15" style="" text="재정산 내역 조회" />
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 28 995 620" style="">
  15. <Layouts>
  16. <Layout>
  17. <Grid id="grd_clbsmast" binddataset="ds_main_list1_clbs" class="datagrid2" position="absolute 0 77 990 591" style="">
  18. <Formats>
  19. <Format id="default">
  20. <Columns>
  21. <Column size="65" />
  22. <Column size="55" />
  23. <Column size="110" />
  24. <Column size="70" />
  25. <Column size="90" />
  26. <Column size="53" />
  27. <Column size="70" />
  28. <Column size="35" />
  29. <Column size="35" />
  30. <Column size="35" />
  31. <Column size="35" />
  32. <Column size="35" />
  33. <Column size="35" />
  34. <Column size="220" />
  35. </Columns>
  36. <Rows>
  37. <Row size="23" band="head" />
  38. <Row size="23" />
  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="원내_외&#xA;구분" />
  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="보조유형" />
  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="원내_외&#xA;구분" />
  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. </Band>
  69. <Band id="body">
  70. <Cell text="bind:pid" />
  71. <Cell col="1" text="bind:patnm" />
  72. <Cell col="2" text="bind:orddeptcd" />
  73. <Cell col="3" text="bind:ordfromdd" />
  74. <Cell col="4" text="bind:snglcalcscorcd" />
  75. <Cell col="5" text="bind:ioflag" />
  76. <Cell col="6" text="bind:rcptexecdd" />
  77. <Cell col="7" text="bind:insukind_s" />
  78. <Cell col="8" text="bind:insukind_o" />
  79. <Cell col="9" text="bind:suppkind_s" />
  80. <Cell col="10" text="bind:suppkind_o" />
  81. <Cell col="11" text="bind:payflag_s" />
  82. <Cell col="12" text="bind:payflag_o" />
  83. <Cell col="13" text="bind:hngnm" />
  84. </Band>
  85. </Format>
  86. </Formats>
  87. </Grid>
  88. <Static id="cap_judgtrgtman" class="tit_2" position="absolute 4 56 130 69" style="" text="대상자조회" />
  89. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 72 988 75" style="" anchor="default" />
  90. <Div id="group1" position="absolute 0 5 995 45" style="align: top;">
  91. <Layouts>
  92. <Layout>
  93. <Shape id="roundrect3" anchor="default" type="roundrectangle" position="absolute 0 0 995 40" style="" />
  94. <Static id="caption30" class="search_name" position="absolute 8 11 95 28" style="" text="청구년월 :" />
  95. <Calendar id="ipt_clamym" class="input_search" taborder="1" mask="yyyy-mm" position="absolute 95 10 164 29" style="align:center ;" anchor="default" />
  96. <Button id="btn_select" class="btn1_letter2" taborder="32" position="absolute 925 9 981 31" style="" text="조회" onclick="grp_biz_group1_btn_select_onclick" />
  97. <Shape id="line3" class="line_4" linetype="vertical" position="absolute 910 4 913 37" style="" anchor="default" />
  98. </Layout>
  99. </Layouts>
  100. </Div>
  101. <Button id="btn_excelsave" class="btn2_letter4" position="absolute 926 52 990 71" style="" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" />
  102. </Layout>
  103. </Layouts>
  104. </Div>
  105. <Button id="btn_cancel" class="btn4_letter2" position="absolute 934 622 990 644" style="" text="종료" />
  106. </Layout>
  107. </Layouts>
  108. <Objects>
  109. <Dataset id="ds_init_P0291list_P0291" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  110. <ColumnInfo>
  111. <Column id="cdnm" type="STRING" size="256" />
  112. <Column id="cdid" type="STRING" size="256" />
  113. </ColumnInfo>
  114. <Rows>
  115. <Row>
  116. <Col id="cdnm"></Col>
  117. <Col id="cdid"></Col>
  118. </Row>
  119. </Rows>
  120. </Dataset>
  121. <Dataset id="ds_hidden_sppmc02500_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  122. <ColumnInfo>
  123. <Column id="srchcond" type="STRING" size="256" />
  124. <Column id="pid" type="STRING" size="256" />
  125. <Column id="hngnm" type="STRING" size="256" />
  126. <Column id="rrgstno1" type="STRING" size="256" />
  127. <Column id="rrgstno2" type="STRING" size="256" />
  128. </ColumnInfo>
  129. <Rows>
  130. <Row>
  131. <Col id="srchcond"></Col>
  132. <Col id="pid"></Col>
  133. <Col id="hngnm"></Col>
  134. <Col id="rrgstno1"></Col>
  135. <Col id="rrgstno2"></Col>
  136. </Row>
  137. </Rows>
  138. </Dataset>
  139. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  140. <ColumnInfo />
  141. </Dataset>
  142. <Dataset id="ds_hidden_sppmc02500" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  143. <ColumnInfo />
  144. </Dataset>
  145. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  146. <ColumnInfo />
  147. </Dataset>
  148. <Dataset id="ds_init_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  149. <ColumnInfo />
  150. </Dataset>
  151. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  152. <ColumnInfo />
  153. </Dataset>
  154. <Dataset id="ds_hidden_smpid20400_rslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  155. <ColumnInfo>
  156. <Column id="oldPid" type="STRING" size="256" />
  157. </ColumnInfo>
  158. <Rows>
  159. <Row>
  160. <Col id="oldPid"></Col>
  161. </Row>
  162. </Rows>
  163. </Dataset>
  164. <Dataset id="ds_init_P0155list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  165. <ColumnInfo />
  166. </Dataset>
  167. <Dataset id="ds_send_list1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  168. <ColumnInfo>
  169. <Column id="clbs" type="STRING" size="256" />
  170. </ColumnInfo>
  171. <Rows>
  172. <Row>
  173. <Col id="clbs"></Col>
  174. </Row>
  175. </Rows>
  176. </Dataset>
  177. <Dataset id="ds_init_P0291list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  178. <ColumnInfo />
  179. </Dataset>
  180. <Dataset id="ds_hidden_item1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  181. <ColumnInfo>
  182. <Column id="clamym" type="STRING" size="256" />
  183. <Column id="clamdg" type="STRING" size="256" />
  184. <Column id="pid" type="STRING" size="256" />
  185. <Column id="pidsn" type="STRING" size="256" />
  186. <Column id="ordym" type="STRING" size="256" />
  187. <Column id="maxclamdg" type="STRING" size="256" />
  188. </ColumnInfo>
  189. <Rows>
  190. <Row>
  191. <Col id="clamym"></Col>
  192. <Col id="clamdg"></Col>
  193. <Col id="pid"></Col>
  194. <Col id="pidsn"></Col>
  195. <Col id="ordym"></Col>
  196. </Row>
  197. <Row>
  198. <Col id="maxclamdg"></Col>
  199. </Row>
  200. </Rows>
  201. </Dataset>
  202. <Dataset id="ds_init_P0008list_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  203. <ColumnInfo>
  204. <Column id="cdnm" type="STRING" size="256" />
  205. <Column id="cdid" type="STRING" size="256" />
  206. </ColumnInfo>
  207. <Rows>
  208. <Row>
  209. <Col id="cdnm"></Col>
  210. <Col id="cdid"></Col>
  211. </Row>
  212. </Rows>
  213. </Dataset>
  214. <Dataset id="ds_send_item1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  215. <ColumnInfo>
  216. <Column id="clamym" type="STRING" size="256" />
  217. <Column id="pid" type="STRING" size="256" />
  218. <Column id="pidsn" type="STRING" size="256" />
  219. <Column id="ordym" type="STRING" size="256" />
  220. <Column id="judgrid" type="STRING" size="256" />
  221. <Column id="ioflag" type="STRING" size="256" />
  222. <Column id="ordfildcdyn" type="STRING" size="256" />
  223. <Column id="searchgb" type="STRING" size="256" />
  224. </ColumnInfo>
  225. <Rows>
  226. <Row>
  227. <Col id="clamym"></Col>
  228. <Col id="pid"></Col>
  229. <Col id="pidsn"></Col>
  230. <Col id="ordym"></Col>
  231. <Col id="judgrid"></Col>
  232. <Col id="ioflag">O</Col>
  233. <Col id="ordfildcdyn"></Col>
  234. <Col id="searchgb">SD</Col>
  235. </Row>
  236. </Rows>
  237. </Dataset>
  238. <Dataset id="ds_init_P0155list_P0155" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  239. <ColumnInfo>
  240. <Column id="cdnm" type="STRING" size="256" />
  241. <Column id="cdid" type="STRING" size="256" />
  242. </ColumnInfo>
  243. <Rows>
  244. <Row>
  245. <Col id="cdnm"></Col>
  246. <Col id="cdid"></Col>
  247. </Row>
  248. </Rows>
  249. </Dataset>
  250. <Dataset id="ds_hidden_smpid20400" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  251. <ColumnInfo />
  252. </Dataset>
  253. <Dataset id="ds_hidden_smpid20400_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  254. <ColumnInfo>
  255. <Column id="pid" type="STRING" size="256" />
  256. </ColumnInfo>
  257. </Dataset>
  258. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  259. <ColumnInfo />
  260. </Dataset>
  261. <Dataset id="ds_main_list1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  262. <ColumnInfo>
  263. <Column id="clbs" type="STRING" size="256" />
  264. </ColumnInfo>
  265. <Rows>
  266. <Row>
  267. <Col id="clbs"></Col>
  268. </Row>
  269. </Rows>
  270. </Dataset>
  271. </Objects>
  272. <Bind>
  273. <BindItem id="item0" compid="grp_biz.group1.ipt_clamym" propid="value" datasetid="ds_send_item1" columnid="clamym" />
  274. </Bind>
  275. <Script type="xscript4.0"><![CDATA[function SMPID23600_onload(obj:Form, e:LoadEventInfo) {
  276. frmf_initForm(obj);
  277. //grdf_initGrid(grd_XXX);
  278. //grdf_setGridSort(grd_XXX);
  279. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  280. // 화면을 초기화한다.
  281. fInitialize();
  282. }
  283. include '../../.._com_commonweb_js_common.js'
  284. include '../../.._com_commonweb_js_dateHelper.js'
  285. include '../../.._com_commonweb_js_numericHelper.js'
  286. include '../../.._com_commonweb_js_stringHelper.js'
  287. include '../../.._com_commonweb_js_tfHelper.js'
  288. include '../../.._com_basiccodeweb_js_ZBC001.js'
  289. var gToday = new Date();
  290. var gBaseyear = gToday.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  291. var gBasemonth = gToday.getDateFormat("MM");
  292. var gBaseday = gToday.getDateFormat("DD");
  293. var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
  294. var gCurrentym = gBaseyear + gBasemonth;
  295. // -----------------------
  296. // ▶ 화면초기화
  297. // -----------------------
  298. function fInitialize() {
  299. // ---------------------------------------------------------------
  300. // 공통코드를 조회한다.
  301. // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
  302. // ---------------------------------------------------------------
  303. var arrParam = [ {dsNm: "ds_init_P0291list","ds_init_P0008list"
  304. ,
  305. cdGrpId: "P0291","P0008"
  306. } ];
  307. appf_getCodeList(arrParam, );
  308. var lv_date = gCurrentym.toDate("YYYYMM" + "01");
  309. lv_date = lv_date.getAddDate(-1, "M")
  310. gCurrentym = lv_date.getDateFormat("YYYYMM")
  311. ds_send_item1.setColumn( 0, "clamym", gCurrentym);
  312. ds_send_item1.setColumn( 0, "ordym", gCurrentym);
  313. // ---------------------------------------------------------------
  314. // 청구과, 심사자, 진료과, 주치의, 청구차수, 삼시자선택 초기화
  315. // ---------------------------------------------------------------
  316. //model.refresh();
  317. // submit("TRPID20201",false);
  318. var oParam = {};
  319. oParam.id = "TRPID20201";
  320. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  321. oParam.method = "reqGetInitComCd";
  322. oParam.inds = "req=ds_";
  323. oParam.outds = "ds_=judgrid ds_=suppkind ds_=orddrid ds_=orddrid2 ds_=clamdept ds_=orddeptcd ds_=orddeptcd2 ds_=item3 ds_=clamdg ds_=aftjudgerr ds_=uuee";
  324. oParam.async = false;
  325. oParam.callback = "cf_TRPID20201";
  326. tranf_submit(oParam);
  327. /*
  328. function cf_TRPID20201(sSvcId, nErrorCode, sErrorMsg) {
  329. if(nErrorCode < 0) return;
  330. }
  331. function cf_TRPID20201(sSvcId, nErrorCode, sErrorMsg) {
  332. arErrorCode.push(sSvcId, nErrorCode);
  333. }
  334. arErrorCode.pop("TRPID20201") > -1
  335. arErrorCode.pop("TRPID20201") < 0
  336. */
  337. }
  338. // ----------------------------------------------------------------------
  339. // ▶ 동일진료일 명세서조회
  340. // ----------------------------------------------------------------------
  341. function fGetDocuList() {
  342. var chk = true;
  343. if (ds_send_item1.getColumn(0, "clamym") == "") {
  344. chk = false;
  345. sysf_messageBox("청구년월은", "I003"); //I003=필수입력입니다.
  346. grp_biz.group1.ipt_clamym.setFocus();
  347. }
  348. if (chk == true) {
  349. // submit("TRPID23601");
  350. var oParam = {};
  351. oParam.id = "TRPID23601";
  352. oParam.service = "aftjudgapp.InAftJudg";
  353. oParam.method = "reqGetReCalcList";
  354. oParam.inds = "req=ds_";
  355. oParam.outds = "ds_=clbs";
  356. oParam.async = false;
  357. oParam.callback = "cf_TRPID23601";
  358. tranf_submit(oParam);
  359. /*
  360. function cf_TRPID23601(sSvcId, nErrorCode, sErrorMsg) {
  361. if(nErrorCode < 0) return;
  362. }
  363. function cf_TRPID23601(sSvcId, nErrorCode, sErrorMsg) {
  364. arErrorCode.push(sSvcId, nErrorCode);
  365. }
  366. arErrorCode.pop("TRPID23601") > -1
  367. arErrorCode.pop("TRPID23601") < 0
  368. */
  369. }
  370. }
  371. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo) {
  372. fGetDocuList();
  373. }
  374. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo) {
  375. grp_biz.grd_clbsmast.gridToInstance();
  376. if (grp_biz.grd_clbsmast.rows > 1) {
  377. var fileName = window.fileDialog("save", "", false, "중복 명세서조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  378. if (fileName != "") {
  379. grp_biz.grd_clbsmast.saveExcel(fileName, "sheetname:;colhiddenextend:true;rowhiddenextend:false;col_3:label;col_4:label;col_5:label;col_6:label;", true, true, "", "", true);
  380. }
  381. } else {
  382. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  383. }
  384. }
  385. ]]></Script>
  386. </Form>
  387. </FDL>