SMPMO00999_감사자료조회(개인).xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMO00999" position="absolute 0 0 1280 1024" titletext="자료조회" onload="SMPMO00999_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 1195 25" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 189 23" style="" text="자료조회"/>
  11. <Static id="caption4" class="patient_text_black" position="absolute 922 0 1194 12" style=""/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Div id="group5" position="absolute 0 23 1195 68" style="align: top;" class="div_SA">
  16. <Layouts>
  17. <Layout>
  18. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1051 7 1054 40" style="border: solid #ffe4bb #ffe4bb;" anchor="default"/>
  19. <Static id="caption21" class="search_name" position="absolute 16 12 102 29" style="" text="조회일자 :"/>
  20. <Button id="btn_search" class="btn2_letter2" position="absolute 1057 11 1113 33" style="" text="조회" onclick="group5_btn_search_onclick"/>
  21. <Static id="caption1" class="search_name" position="absolute 331 14 417 31" style="" text="진료과 :"/>
  22. <Combo innerdataset="ds_init_pam_init_orddeptcd" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="cmb_orddeptcd" position="absolute 405 12 575 31" style="align:center middle;"/>
  23. <Static id="caption2" class="search_name" position="absolute 586 13 672 30" style="" text="수진구분:"/>
  24. <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="combo3" position="absolute 670 12 770 31" style="align:center middle;">
  25. <Dataset id="innerdataset">
  26. <ColumnInfo>
  27. <Column id="codecolumn"/>
  28. <Column id="datacolumn"/>
  29. </ColumnInfo>
  30. <Rows>
  31. <Row>
  32. <Col id="codecolumn">O</Col>
  33. <Col id="datacolumn">외래</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">I</Col>
  37. <Col id="datacolumn">입원</Col>
  38. </Row>
  39. </Rows>
  40. </Dataset>
  41. </Combo>
  42. <Static id="caption3" position="absolute 205 12 220 32" style="" text="~"/>
  43. <Calendar id="ipt_fromdd" class="input_s_essential" position="absolute 100 12 192 31" style="" anchor="default"/>
  44. <Calendar id="ipt_todd" class="input_s_essential" position="absolute 225 12 317 31" style="" anchor="default"/>
  45. <Button id="button1" class="btn2_letter4" position="absolute 1114 11 1178 33" style="" text="엑셀저장" onclick="group5_button1_onclick"/>
  46. </Layout>
  47. </Layouts>
  48. </Div>
  49. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 69 1195 74" style="" anchor="default"/>
  50. <Grid id="grd_pat" binddataset="ds_main_masterdata" position="absolute 0 73 1195 783" style="" oncelldblclick="grd_pat_oncelldblclick">
  51. <Formats>
  52. <Format id="default">
  53. <Columns>
  54. <Column size="24"/>
  55. <Column size="76"/>
  56. <Column size="72"/>
  57. <Column size="70"/>
  58. <Column size="70"/>
  59. <Column size="150"/>
  60. <Column size="170"/>
  61. <Column size="150"/>
  62. <Column size="150"/>
  63. <Column size="150"/>
  64. <Column size="150"/>
  65. <Column size="150"/>
  66. <Column size="150"/>
  67. <Column size="150"/>
  68. <Column size="150"/>
  69. <Column size="150"/>
  70. <Column size="150"/>
  71. <Column size="150"/>
  72. <Column size="150"/>
  73. <Column size="150"/>
  74. <Column size="150"/>
  75. <Column size="150"/>
  76. <Column size="150"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. </Columns>
  81. <Rows>
  82. <Row size="24" band="head"/>
  83. <Row size="24"/>
  84. </Rows>
  85. <Band id="head">
  86. <Cell/>
  87. <Cell col="1" text="환자번호"/>
  88. <Cell col="2" text="환자명"/>
  89. <Cell col="3" text="진료일자"/>
  90. <Cell col="4" text="실시일자"/>
  91. <Cell col="5" text="진료과"/>
  92. <Cell col="6" text="총급여액(원금액-변경금액)"/>
  93. <Cell col="7" text="총급여액(원금액)"/>
  94. <Cell col="8" text="공단부담금(원금액)"/>
  95. <Cell col="9" text="본인부담금(원금액)"/>
  96. <Cell col="10" text="비보험액(원금액)"/>
  97. <Cell col="11" text="비급여액(원금액)"/>
  98. <Cell col="12" text="선택진료비(원금액)"/>
  99. <Cell col="13" text="감면액(원금액)"/>
  100. <Cell col="14" text="미수액(원금액)"/>
  101. <Cell col="15" text="총급여액(변경금액)"/>
  102. <Cell col="16" text="공단부담금(변경금액)"/>
  103. <Cell col="17" text="본인부담금(변경금액)"/>
  104. <Cell col="18" text="비보험액(변경금액)"/>
  105. <Cell col="19" text="비급여액(변경금액)"/>
  106. <Cell col="20" text="선택진료비(변경금액)"/>
  107. <Cell col="21" text="감면액(변경금액)"/>
  108. <Cell col="22" text="미수액(변경금액)"/>
  109. <Cell col="23" text="caption1"/>
  110. <Cell col="24" text="caption2"/>
  111. <Cell col="25" text="수진형태"/>
  112. </Band>
  113. <Band id="body">
  114. <Cell expr="currow + 1"/>
  115. <Cell col="1" text="bind:pid"/>
  116. <Cell col="2" text="bind:hngnm"/>
  117. <Cell col="3" displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  118. <Cell col="4" displaytype="date" text="bind:fromdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  119. <Cell col="5" style="align:left middle;" text="bind:depthngnm"/>
  120. <Cell col="6" displaytype="number" text="bind:minus_payamt" mask="#,##0"/>
  121. <Cell col="7" displaytype="number" text="bind:org_payamt" mask="#,##0"/>
  122. <Cell col="8" displaytype="number" text="bind:org_payinsubamt" mask="#,##0"/>
  123. <Cell col="9" displaytype="number" text="bind:org_payownbamt" mask="#,##0"/>
  124. <Cell col="10" displaytype="number" text="bind:org_allownbamt" mask="#,##0"/>
  125. <Cell col="11" displaytype="number" text="bind:org_nopyamt" mask="#,##0"/>
  126. <Cell col="12" displaytype="number" text="bind:org_specamt" mask="#,##0"/>
  127. <Cell col="13" displaytype="number" text="bind:org_discamt" mask="#,##0"/>
  128. <Cell col="14" displaytype="number" text="bind:org_uncoamt" mask="#,##0"/>
  129. <Cell col="15" displaytype="number" text="bind:payamt" mask="#,##0"/>
  130. <Cell col="16" displaytype="number" text="bind:payinsubamt" mask="#,##0"/>
  131. <Cell col="17" displaytype="number" text="bind:payownbamt" mask="#,##0"/>
  132. <Cell col="18" displaytype="number" text="bind:allownbamt" mask="#,##0"/>
  133. <Cell col="19" displaytype="number" text="bind:nopyamt" mask="#,##0"/>
  134. <Cell col="20" displaytype="number" text="bind:specamt" mask="#,##0"/>
  135. <Cell col="21" displaytype="number" text="bind:discamt" mask="#,##0"/>
  136. <Cell col="22" displaytype="number" text="bind:uncoamt" mask="#,##0"/>
  137. <Cell col="23" text="bind:orddeptcd"/>
  138. <Cell col="24" text="bind:cretno"/>
  139. <Cell col="25" text="bind:ordtype"/>
  140. </Band>
  141. </Format>
  142. </Formats>
  143. </Grid>
  144. </Layout>
  145. </Layouts>
  146. <Objects>
  147. <Dataset id="ds_main_masterdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  148. <ColumnInfo>
  149. <Column id="pid" type="STRING" size="256"/>
  150. <Column id="hngnm" type="STRING" size="256"/>
  151. <Column id="indd" type="STRING" size="256"/>
  152. <Column id="fromdd" type="STRING" size="256"/>
  153. <Column id="depthngnm" type="STRING" size="256"/>
  154. <Column id="minus_payamt" type="STRING" size="256"/>
  155. <Column id="org_payamt" type="STRING" size="256"/>
  156. <Column id="org_payinsubamt" type="STRING" size="256"/>
  157. <Column id="org_payownbamt" type="STRING" size="256"/>
  158. <Column id="org_allownbamt" type="STRING" size="256"/>
  159. <Column id="org_nopyamt" type="STRING" size="256"/>
  160. <Column id="org_specamt" type="STRING" size="256"/>
  161. <Column id="org_discamt" type="STRING" size="256"/>
  162. <Column id="org_uncoamt" type="STRING" size="256"/>
  163. <Column id="payamt" type="STRING" size="256"/>
  164. <Column id="payinsubamt" type="STRING" size="256"/>
  165. <Column id="payownbamt" type="STRING" size="256"/>
  166. <Column id="allownbamt" type="STRING" size="256"/>
  167. <Column id="nopyamt" type="STRING" size="256"/>
  168. <Column id="specamt" type="STRING" size="256"/>
  169. <Column id="discamt" type="STRING" size="256"/>
  170. <Column id="uncoamt" type="STRING" size="256"/>
  171. <Column id="orddeptcd" type="STRING" size="256"/>
  172. <Column id="cretno" type="STRING" size="256"/>
  173. <Column id="ordtype" type="STRING" size="256"/>
  174. </ColumnInfo>
  175. <Rows>
  176. <Row>
  177. <Col id="pid"/>
  178. <Col id="hngnm"/>
  179. <Col id="indd"/>
  180. <Col id="fromdd"/>
  181. <Col id="depthngnm"/>
  182. <Col id="minus_payamt"/>
  183. <Col id="org_payamt"/>
  184. <Col id="org_payinsubamt"/>
  185. <Col id="org_payownbamt"/>
  186. <Col id="org_allownbamt"/>
  187. <Col id="org_nopyamt"/>
  188. <Col id="org_specamt"/>
  189. <Col id="org_discamt"/>
  190. <Col id="org_uncoamt"/>
  191. <Col id="payamt"/>
  192. <Col id="payinsubamt"/>
  193. <Col id="payownbamt"/>
  194. <Col id="allownbamt"/>
  195. <Col id="nopyamt"/>
  196. <Col id="specamt"/>
  197. <Col id="discamt"/>
  198. <Col id="uncoamt"/>
  199. <Col id="orddeptcd"/>
  200. <Col id="cretno"/>
  201. <Col id="ordtype"/>
  202. </Row>
  203. </Rows>
  204. </Dataset>
  205. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  206. <ColumnInfo/>
  207. </Dataset>
  208. <Dataset id="ds_init_pam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  209. <ColumnInfo>
  210. <Column id="init" type="STRING" size="256"/>
  211. </ColumnInfo>
  212. </Dataset>
  213. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  214. <ColumnInfo>
  215. <Column id="init" type="STRING" size="256"/>
  216. </ColumnInfo>
  217. <Rows>
  218. <Row>
  219. <Col id="init"/>
  220. </Row>
  221. </Rows>
  222. </Dataset>
  223. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  224. <ColumnInfo>
  225. <Column id="orddeptcd" type="STRING" size="256"/>
  226. <Column id="ordtype" type="STRING" size="256"/>
  227. <Column id="fromdd" type="STRING" size="256"/>
  228. <Column id="todd" type="STRING" size="256"/>
  229. </ColumnInfo>
  230. <Rows>
  231. <Row>
  232. <Col id="orddeptcd"/>
  233. <Col id="ordtype"/>
  234. <Col id="fromdd"/>
  235. <Col id="todd"/>
  236. </Row>
  237. </Rows>
  238. </Dataset>
  239. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  240. <ColumnInfo/>
  241. </Dataset>
  242. </Objects>
  243. <Bind>
  244. <BindItem id="item0" compid="group5.cmb_orddeptcd" propid="value" datasetid="ds_send_reqdata" columnid="orddeptcd"/>
  245. <BindItem id="item1" compid="group5.combo3" propid="value" datasetid="ds_send_reqdata" columnid="ordtype"/>
  246. <BindItem id="item2" compid="group5.ipt_fromdd" propid="value" datasetid="ds_send_reqdata" columnid="fromdd"/>
  247. <BindItem id="item3" compid="group5.ipt_todd" propid="value" datasetid="ds_send_reqdata" columnid="todd"/>
  248. </Bind>
  249. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
  250. include "com_basiccodexp::ZBC001.xjs"
  251. include "pam_pamcomnxp::PAM.xjs"
  252. include "emr_prcpmngtxp::MMO001.xjs"
  253. function SMPMO00999_onload(obj:Form, e:LoadEventInfo) {
  254. frmf_initForm(obj);
  255. //grdf_initGrid(grd_XXX);
  256. grdf_setGridSort(this.grd_pat);
  257. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  258. //addComboInstance("ds_init_pam_init_orddeptcd" , "cd^nm", "-^전체", "");
  259. frmf_addComboItem("group5.cmb_orddeptcd","전체", "-", "above");
  260. dsf_makeValue( ds_send_reqdata, "fromdd", "string", utlf_getCurrentDate());
  261. dsf_makeValue( ds_send_reqdata, "todd", "string", utlf_getCurrentDate());
  262. dsf_makeValue( ds_send_reqdata, "orddeptcd", "string", "-");
  263. dsf_makeValue( ds_send_reqdata, "ordtype", "string", "O");
  264. //model.refresh();
  265. }
  266. function group5_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  267. //if(submit("TRPAO05001")){
  268. var oParam = {};
  269. oParam.id = "TRPAO05001";
  270. oParam.service = "pamcomnapp.GamSa";
  271. oParam.method = "reqGetMasterData";
  272. oParam.inds = "req=ds_send_reqdata";
  273. oParam.outds = "ds_main_masterdata=item";
  274. oParam.async = false;
  275. oParam.callback = "cf_TRPAO05001";
  276. tranf_submit(oParam);
  277. if(arErrorCode.pop("TRPAO05001") > -1) {
  278. //model.refresh();
  279. }
  280. }
  281. function cf_TRPAO05001(sSvcId, nErrorCode, sErrorMsg) {
  282. arErrorCode.push(sSvcId, nErrorCode);
  283. }
  284. function group5_button1_onclick(obj:Button, e:ClickEventInfo) {
  285. // var fileName = window.fileDialog("save", ",", false, "개인별", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  286. // grd_pat.saveExcel(fileName, "sheet1");
  287. grdf_exportExcel(this.grd_pat, "Sheet1", "개인별", false, "" , 'user' , true);
  288. }
  289. function grd_pat_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  290. var row = ds_main_masterdata.rowposition;
  291. if(row >= 0){
  292. frmf_setParameter("pid", ds_main_masterdata.getColumn( row, "pid"));
  293. frmf_setParameter("indd", ds_main_masterdata.getColumn( row, "indd"));
  294. frmf_setParameter("cretno", ds_main_masterdata.getColumn( row, "cretno"));
  295. frmf_setParameter("orddeptcd", ds_main_masterdata.getColumn( row, "orddeptcd"));
  296. frmf_setParameter("ordtype", ds_main_masterdata.getColumn( row, "ordtype"));
  297. frmf_setParameter("hngnm", ds_main_masterdata.getColumn( row, "hngnm"));
  298. frmf_modal("SMPMO00997", "SMPMO00997", "", "", "", "", "", "", "", "", "", "", "M");
  299. }
  300. }
  301. ]]></Script>
  302. </Form>
  303. </FDL>