SMPIJ02700_급여구분별진료비구성현황.xfdl 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIJ02700" position="absolute 0 0 1150 675" titletext="급여구분별 진료비 구성현황" oninit="SMPIJ02700_oninit" onload="SMPIJ02700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="급여구분별 진료비 구성현황" position="absolute 0 0 199 22" id="caption10" class="tit_2" anchor="default"/>
  8. <Div position="absolute 0 17 1150 82" align="align:center top;" id="group2" anchor="left top right" class="div_SA">
  9. <Layouts>
  10. <Layout>
  11. <Button position="absolute 1080 20 1136 42" id="btn_srch" class="btn1" text="조회" anchor="top right" onclick="group2_btn_srch_onclick"/>
  12. <Static text="퇴원일자 :" position="absolute 15 9 101 26" id="caption5" class="search_name" anchor="default"/>
  13. <Static text="~" position="absolute 201 9 212 27" id="caption6" anchor="default"/>
  14. <Calendar position="absolute 215 7 306 27" id="ipt_todd" class="input_search" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
  15. <Static text="보험유형 :" position="absolute 350 8 450 25" id="caption7" class="search_name" anchor="default"/>
  16. <Shape position="absolute 1057 5 1063 57" linetype="vertical" id="line1" class="line_4" anchor="top right"/>
  17. <Static text="진료의사 :" position="absolute 818 11 904 28" id="caption9" class="search_name" anchor="default"/>
  18. <Static text="진료과 :" position="absolute 594 10 671 27" id="caption11" class="search_name" anchor="default"/>
  19. <Combo position="absolute 669 9 789 28" id="cmb_orddeptcd" class="combo_search" innerdataset="@ds_init_pam_init_orddeptcd" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group2_cmb_orddeptcd_onitemchanged"/>
  20. <Combo position="absolute 903 8 1023 27" id="cmb_orddrid" class="combo_search" innerdataset="@ds_init_pam_init_orddrid" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group2_cmb_orddrid_onitemchanged"/>
  21. <Combo position="absolute 450 7 555 26" id="cmb_preinsukind" class="combo_search" innerdataset="@ds_init_P0008list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  22. <Static text="심사자 :" position="absolute 350 33 425 50" id="caption3" class="search_name" anchor="default"/>
  23. <Combo position="absolute 450 33 555 52" id="cmb_judgrid" class="combo_search" innerdataset="@ds_temp_judgrid" datacolumn="nm" codecolumn="cd" anchor="default"/>
  24. <Radio position="absolute 115 35 295 50" id="opt_insupynpy1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  25. <Dataset id="innerdataset">
  26. <ColumnInfo>
  27. <Column id="codecolumn"/>
  28. <Column id="datacolumn"/>
  29. </ColumnInfo>
  30. <Rows>
  31. <Row>
  32. <Col id="codecolumn">
  33. </Col>
  34. <Col id="datacolumn">전체</Col>
  35. </Row>
  36. <Row>
  37. <Col id="codecolumn">1</Col>
  38. <Col id="datacolumn">전액본인</Col>
  39. </Row>
  40. <Row>
  41. <Col id="codecolumn">2</Col>
  42. <Col id="datacolumn">비급여</Col>
  43. </Row>
  44. </Rows>
  45. </Dataset>
  46. </Radio>
  47. <CheckBox position="absolute 596 35 736 50" id="chkOrdType" text="응급실퇴원 제외" anchor="default" truevalue="Y"/>
  48. <CheckBox position="absolute 816 32 966 52" id="chkBrateFlag" text="6시간퇴원 제외" anchor="default" truevalue="Y"/>
  49. <Static text="비급여 구분 :" position="absolute 15 35 119 52" id="caption12" class="search_name" anchor="default"/>
  50. <Calendar id="ipt_fromdd" taborder="1" position="absolute 107 7 198 27" dateformat="yyyy-MM-dd" autoselect="true" onchanged="group2_ipt_fromdd_onchanged"/>
  51. </Layout>
  52. </Layouts>
  53. </Div>
  54. <Tab id="swt_fee" anchor="all" taborder="1" onchanged="swt_fee_onchanged" tabindex="0" position="absolute 0 87 1150 675">
  55. <Tabpages>
  56. <Tabpage id="case_summary" text="요약">
  57. <Layouts>
  58. <Layout>
  59. <Shape id="line17" class="line_10" position="absolute 0 22 1145 28" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  60. <Button id="btn_cnclexcel" taborder="1" text="엑셀저장" class="btn7" position="absolute 1065 3 1145 22" anchor="top right" onclick="swt_fee_case_summary_btn_cnclexcel_onclick"/>
  61. <Grid id="grd_summary" taborder="2" binddataset="ds_main_list1_summary" useinputpanel="false" autofittype="col" oncelldblclick="swt_fee_case_summary_grd_summary_oncelldblclick" position="absolute 0 27 1145 502" anchor="all" cellsizingtype="col">
  62. <Formats>
  63. <Format id="default">
  64. <Columns>
  65. <Column size="27"/>
  66. <Column size="57"/>
  67. <Column size="57"/>
  68. <Column size="57"/>
  69. <Column size="77"/>
  70. <Column size="77"/>
  71. <Column size="77"/>
  72. <Column size="77"/>
  73. <Column size="77"/>
  74. <Column size="77"/>
  75. <Column size="55"/>
  76. <Column size="55"/>
  77. <Column size="55"/>
  78. <Column size="55"/>
  79. <Column size="55"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. </Columns>
  84. <Rows>
  85. <Row size="24" band="head"/>
  86. <Row size="24" band="head"/>
  87. <Row size="24"/>
  88. </Rows>
  89. <Band id="head">
  90. <Cell rowspan="2" taborder="undefined"/>
  91. <Cell col="1" rowspan="2" text="진료과" taborder="undefined"/>
  92. <Cell col="2" rowspan="2" text="진료의" taborder="undefined"/>
  93. <Cell col="3" rowspan="2" text="심사자" taborder="undefined"/>
  94. <Cell col="4" rowspan="2" text="총진료비" taborder="undefined"/>
  95. <Cell col="5" rowspan="2" text="급여총액" taborder="undefined"/>
  96. <Cell col="6" rowspan="2" text="비급여총액" taborder="undefined"/>
  97. <Cell col="7" rowspan="2" text="비급여액" taborder="undefined"/>
  98. <Cell col="8" rowspan="2" text="전액본인" taborder="undefined"/>
  99. <Cell col="9" rowspan="2" text="선택진료" taborder="undefined"/>
  100. <Cell col="10" rowspan="2" text="급여비" taborder="undefined"/>
  101. <Cell col="11" rowspan="2" text="비급여비" taborder="undefined"/>
  102. <Cell col="12" colspan="3" text="비급여중비율" taborder="undefined"/>
  103. <Cell col="15" text="orddeptcd"/>
  104. <Cell col="16" text="orddrid"/>
  105. <Cell col="17" text="judgrid1"/>
  106. <Cell row="1" col="12" text="비급여"/>
  107. <Cell row="1" col="13" text="전액본인"/>
  108. <Cell row="1" col="14" text="선택"/>
  109. <Cell row="1" col="15" text="orddeptcd"/>
  110. <Cell row="1" col="16" text="orddrid"/>
  111. <Cell row="1" col="17" text="judgrid1"/>
  112. </Band>
  113. <Band id="body">
  114. <Cell celltype="head" expr="currow+1"/>
  115. <Cell col="1" text="bind:deptnm"/>
  116. <Cell col="2" text="bind:drname"/>
  117. <Cell col="3" text="bind:judgrid"/>
  118. <Cell col="4" displaytype="number" text="bind:total"/>
  119. <Cell col="5" displaytype="number" text="bind:payamt"/>
  120. <Cell col="6" displaytype="number" text="bind:totnopy"/>
  121. <Cell col="7" displaytype="number" text="bind:nopyamt"/>
  122. <Cell col="8" displaytype="number" text="bind:allownownbamt"/>
  123. <Cell col="9" displaytype="number" text="bind:specamt"/>
  124. <Cell col="10" displaytype="number" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:divpayamt"/>
  125. <Cell col="11" displaytype="number" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:divtotnopy"/>
  126. <Cell col="12" text="bind:divnopyamt"/>
  127. <Cell col="13" text="bind:divallownownbamt"/>
  128. <Cell col="14" text="bind:divspecamt"/>
  129. <Cell col="15" text="bind:orddeptcd"/>
  130. <Cell col="16" text="bind:orddrid"/>
  131. <Cell col="17" text="bind:judgrid1"/>
  132. </Band>
  133. </Format>
  134. </Formats>
  135. </Grid>
  136. <Static id="caption8" text="[참고] 총진료비 = 급여총액+ 비급여총액 비급여총액 = 비급여액(일반처방 SUM)+ 전액본인 +선택진료" position="absolute 5 510 594 525" anchor="left bottom"/>
  137. </Layout>
  138. </Layouts>
  139. </Tabpage>
  140. <Tabpage id="case_pat" text="환자별">
  141. <Layouts>
  142. <Layout>
  143. <Shape id="line4" class="line_10" position="absolute 0 22 1145 28" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  144. <Button id="button2" taborder="1" text="엑셀저장" class="btn7" position="absolute 1065 3 1145 22" anchor="top right" onclick="swt_fee_case_pat_button2_onclick"/>
  145. <Static id="caption4" text="[참고] 총진료비 = 급여총액+ 비급여총액 비급여총액 = 비급여액(일반처방 SUM)+ 전액본인 +선택진료" position="absolute 5 515 594 530" anchor="left right bottom"/>
  146. <Grid id="grdpatlist" class="datagrid2" taborder="2" useinputpanel="false" autofittype="col" oncelldblclick="swt_fee_case_pat_grdpatlist_oncelldblclick" position="absolute 0 27 1145 502" anchor="all" binddataset="ds_main_list2_pat" cellsizingtype="col">
  147. <Formats>
  148. <Format id="default">
  149. <Columns>
  150. <Column size="26"/>
  151. <Column size="58"/>
  152. <Column size="47"/>
  153. <Column size="25"/>
  154. <Column size="25"/>
  155. <Column size="77"/>
  156. <Column size="77"/>
  157. <Column size="74"/>
  158. <Column size="71"/>
  159. <Column size="71"/>
  160. <Column size="71"/>
  161. <Column size="71"/>
  162. <Column size="68"/>
  163. <Column size="45"/>
  164. <Column size="56"/>
  165. <Column size="45"/>
  166. <Column size="55"/>
  167. <Column size="45"/>
  168. <Column size="53"/>
  169. <Column size="56"/>
  170. <Column size="55"/>
  171. <Column size="0"/>
  172. </Columns>
  173. <Rows>
  174. <Row size="24" band="head"/>
  175. <Row size="24" band="head"/>
  176. <Row size="24"/>
  177. </Rows>
  178. <Band id="head">
  179. <Cell rowspan="2" taborder="undefined"/>
  180. <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
  181. <Cell col="2" rowspan="2" text="수진자" taborder="undefined"/>
  182. <Cell col="3" rowspan="2" text="유형" taborder="undefined"/>
  183. <Cell col="4" rowspan="2" text="보조" taborder="undefined"/>
  184. <Cell col="5" rowspan="2" text="입원일" taborder="undefined"/>
  185. <Cell col="6" rowspan="2" text="퇴원일" taborder="undefined"/>
  186. <Cell col="7" rowspan="2" text="총진료비" taborder="undefined"/>
  187. <Cell col="8" rowspan="2" text="급여총액" taborder="undefined"/>
  188. <Cell col="9" rowspan="2" text="비급여총액" taborder="undefined"/>
  189. <Cell col="10" rowspan="2" text="비급여액" taborder="undefined"/>
  190. <Cell col="11" rowspan="2" text="전액본인" taborder="undefined"/>
  191. <Cell col="12" rowspan="2" text="선택진료" taborder="undefined"/>
  192. <Cell col="13" rowspan="2" text="급여비" taborder="undefined"/>
  193. <Cell col="14" rowspan="2" text="비급여비" taborder="undefined"/>
  194. <Cell col="15" colspan="3" text="비급여중 비율" taborder="undefined"/>
  195. <Cell col="18" rowspan="2" text="진료과" taborder="undefined"/>
  196. <Cell col="19" rowspan="2" text="진료의" taborder="undefined"/>
  197. <Cell col="20" rowspan="2" text="심사자" taborder="undefined"/>
  198. <Cell col="21" text="cretno"/>
  199. <Cell row="1" col="15" text="비급여"/>
  200. <Cell row="1" col="16" text="전액본인"/>
  201. <Cell row="1" col="17" text="선택"/>
  202. <Cell row="1" col="21" text="cretno"/>
  203. </Band>
  204. <Band id="body">
  205. <Cell celltype="head" expr="currow+1"/>
  206. <Cell col="1" text="bind:pid"/>
  207. <Cell col="2" text="bind:hngnm"/>
  208. <Cell col="3" text="bind:insukind"/>
  209. <Cell col="4" text="bind:suppkind"/>
  210. <Cell col="5" displaytype="date" text="bind:indd" mask="yyyy-MM-dd"/>
  211. <Cell col="6" displaytype="date" text="bind:dschdd" mask="yyyy-MM-dd"/>
  212. <Cell col="7" displaytype="number" text="bind:total"/>
  213. <Cell col="8" displaytype="number" text="bind:payamt"/>
  214. <Cell col="9" displaytype="number" text="bind:totnopy"/>
  215. <Cell col="10" displaytype="number" text="bind:nopyamt"/>
  216. <Cell col="11" displaytype="number" text="bind:allownownbamt"/>
  217. <Cell col="12" displaytype="number" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:specamt"/>
  218. <Cell col="13" displaytype="normal" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:divpayamt"/>
  219. <Cell col="14" displaytype="normal" text="bind:divtotnopy"/>
  220. <Cell col="15" displaytype="normal" text="bind:divnopyamt"/>
  221. <Cell col="16" displaytype="number" text="bind:divallownownbamt"/>
  222. <Cell col="17" displaytype="number" text="bind:divspecamt"/>
  223. <Cell col="18" text="bind:deptnm"/>
  224. <Cell col="19" text="bind:drname"/>
  225. <Cell col="20" text="bind:judgrid"/>
  226. <Cell col="21" text="bind:cretno"/>
  227. </Band>
  228. </Format>
  229. </Formats>
  230. </Grid>
  231. </Layout>
  232. </Layouts>
  233. </Tabpage>
  234. <Tabpage id="case_day" text="일자별">
  235. <Layouts>
  236. <Layout>
  237. <Shape id="line3" linetype="vertical" class="line_1" position="absolute 0 27 1145 33"/>
  238. <Button id="button1" taborder="3" text="엑셀저장" class="btn7" position="absolute 1065 3 1145 22" anchor="top right" onclick="swt_fee_case_day_button1_onclick"/>
  239. <Static id="caption1" text="[참고1] 계산수량 : 투여량*횟수*일수 금액 :가산액포함 비급여총액 : 금액+선택진료비 @ : 전액본인 가능한 고시 약제 &#13;&#10;" onclick="swt_fee_case_day_caption1_onclick" position="absolute 5 505 835 536" anchor="left right bottom"/>
  240. <Grid id="grddaylist" class="datagrid2" taborder="4" binddataset="ds_main_list3_day" useinputpanel="false" autofittype="col" position="absolute 0 27 1145 502" anchor="all" cellsizingtype="col">
  241. <Formats>
  242. <Format id="default">
  243. <Columns>
  244. <Column size="25"/>
  245. <Column size="54"/>
  246. <Column size="46"/>
  247. <Column size="24"/>
  248. <Column size="25"/>
  249. <Column size="68"/>
  250. <Column size="68"/>
  251. <Column size="22"/>
  252. <Column size="22"/>
  253. <Column size="17"/>
  254. <Column size="67"/>
  255. <Column size="67"/>
  256. <Column size="19"/>
  257. <Column size="179"/>
  258. <Column size="27"/>
  259. <Column size="56"/>
  260. <Column size="31"/>
  261. <Column size="56"/>
  262. <Column size="63"/>
  263. <Column size="71"/>
  264. <Column size="48"/>
  265. <Column size="49"/>
  266. <Column size="49"/>
  267. </Columns>
  268. <Rows>
  269. <Row size="24" band="head"/>
  270. <Row size="24" band="head"/>
  271. <Row size="24"/>
  272. </Rows>
  273. <Band id="head">
  274. <Cell rowspan="2" taborder="undefined"/>
  275. <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
  276. <Cell col="2" rowspan="2" text="수진자" taborder="undefined"/>
  277. <Cell col="3" rowspan="2" text="유&#13;&#10;형" taborder="undefined"/>
  278. <Cell col="4" rowspan="2" text="보&#13;&#10;조" taborder="undefined"/>
  279. <Cell col="5" rowspan="2" text="입원일" taborder="undefined"/>
  280. <Cell col="6" rowspan="2" text="퇴원일" taborder="undefined"/>
  281. <Cell col="7" rowspan="2" text="항" taborder="undefined"/>
  282. <Cell col="8" rowspan="2" text="목" taborder="undefined"/>
  283. <Cell col="9" rowspan="2" text="G" taborder="undefined"/>
  284. <Cell col="10" rowspan="2" text="그룹코드" taborder="undefined"/>
  285. <Cell col="11" rowspan="2" text="싱글코드" taborder="undefined"/>
  286. <Cell col="12" rowspan="2" text="@" taborder="undefined"/>
  287. <Cell col="13" rowspan="2" text="한글명" taborder="undefined"/>
  288. <Cell col="14" rowspan="2" text="급비" taborder="undefined"/>
  289. <Cell col="15" rowspan="2" text="단가" taborder="undefined"/>
  290. <Cell col="16" rowspan="2" text="계산&#13;&#10;수량" taborder="undefined"/>
  291. <Cell col="17" rowspan="2" text="금액" taborder="undefined"/>
  292. <Cell col="18" rowspan="2" text="선택진료비" taborder="undefined"/>
  293. <Cell col="19" rowspan="2" text="비급여총액" taborder="undefined"/>
  294. <Cell col="20" rowspan="2" text="진료과" taborder="undefined"/>
  295. <Cell col="21" rowspan="2" text="진료의" taborder="undefined"/>
  296. <Cell col="22" rowspan="2" text="심사자" taborder="undefined"/>
  297. </Band>
  298. <Band id="body">
  299. <Cell celltype="head" expr="currow+1"/>
  300. <Cell col="1" text="bind:pid"/>
  301. <Cell col="2" text="bind:hngnm"/>
  302. <Cell col="3" text="bind:insukind"/>
  303. <Cell col="4" text="bind:suppkind"/>
  304. <Cell col="5" displaytype="date" text="bind:indd" mask="yyyy-MM-dd"/>
  305. <Cell col="6" displaytype="date" text="bind:dschdd" mask="yyyy-MM-dd"/>
  306. <Cell col="7" text="bind:grupcalcscorcls1"/>
  307. <Cell col="8" text="bind:grupcalcscorcls2"/>
  308. <Cell col="9" text="bind:grupflag"/>
  309. <Cell col="10" text="bind:grupcalcscorcd"/>
  310. <Cell col="11" text="bind:snglcalcscorcd"/>
  311. <Cell col="12" text="bind:insupynpy1"/>
  312. <Cell col="13" style="align:left middle;" text="bind:code_hngnm"/>
  313. <Cell col="14" text="bind:calcpayflag"/>
  314. <Cell col="15" displaytype="number" text="bind:appunitcost"/>
  315. <Cell col="16" text="bind:calcqty"/>
  316. <Cell col="17" displaytype="number" text="bind:amt"/>
  317. <Cell col="18" displaytype="number" text="bind:specamt"/>
  318. <Cell col="19" displaytype="number" text="bind:total"/>
  319. <Cell col="20" text="bind:deptnm"/>
  320. <Cell col="21" text="bind:drname"/>
  321. <Cell col="22" text="bind:judgrid"/>
  322. </Band>
  323. </Format>
  324. </Formats>
  325. </Grid>
  326. <Shape id="line2" class="line_10" position="absolute 0 22 1145 28" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  327. <Static id="caption2" text=" [참고2] 급여처방 및 계산내역상 0원처리 된 처방 제외 &#13;&#10;" position="absolute 0 523 350 554" anchor="left bottom"/>
  328. </Layout>
  329. </Layouts>
  330. </Tabpage>
  331. </Tabpages>
  332. </Tab>
  333. </Layout>
  334. </Layouts>
  335. <Objects>
  336. <Dataset id="ds_init_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="false" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  337. <ColumnInfo>
  338. <Column id="cdnm" type="STRING" size="256"/>
  339. <Column id="cdid" type="STRING" size="256"/>
  340. </ColumnInfo>
  341. </Dataset>
  342. <Dataset id="ds_init_pam_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="false" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  343. <ColumnInfo>
  344. <Column id="cd" type="STRING" size="256"/>
  345. <Column id="nm" type="STRING" size="256"/>
  346. </ColumnInfo>
  347. </Dataset>
  348. <Dataset id="ds_init_pam_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  349. <Dataset id="ds_temp_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  350. <ColumnInfo>
  351. <Column id="cd" type="STRING" size="256"/>
  352. <Column id="nm" type="STRING" size="256"/>
  353. </ColumnInfo>
  354. </Dataset>
  355. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  356. <ColumnInfo>
  357. <Column id="cretno" type="STRING" size="256"/>
  358. <Column id="orddeptcd" type="STRING" size="256"/>
  359. <Column id="orddrid" type="STRING" size="256"/>
  360. <Column id="judgrid" type="STRING" size="256"/>
  361. <Column id="indd" type="STRING" size="256"/>
  362. <Column id="pid" type="STRING" size="256"/>
  363. <Column id="fromdd" type="STRING" size="256"/>
  364. <Column id="todd" type="STRING" size="256"/>
  365. <Column id="insukind" type="STRING" size="256"/>
  366. <Column id="insupynpy1" type="STRING" size="256"/>
  367. <Column id="ordtype" type="STRING" size="256"/>
  368. <Column id="brateflag" type="STRING" size="256"/>
  369. </ColumnInfo>
  370. <Rows>
  371. <Row/>
  372. </Rows>
  373. </Dataset>
  374. <Dataset id="ds_main_list1_summary" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  375. <ColumnInfo>
  376. <Column id="deptnm" type="STRING" size="256" sumtext="진료과"/>
  377. <Column id="drname" type="STRING" size="256" sumtext="주치의"/>
  378. <Column id="judgrid" type="STRING" size="256" sumtext="심사자"/>
  379. <Column id="total" type="STRING" size="256" sumtext="총진료비"/>
  380. <Column id="payamt" type="STRING" size="256" sumtext="급여총액"/>
  381. <Column id="totnopy" type="STRING" size="256" sumtext="비급여총액"/>
  382. <Column id="nopyamt" type="STRING" size="256" sumtext="비급여액"/>
  383. <Column id="allownownbamt" type="STRING" size="256" sumtext="전액본인"/>
  384. <Column id="specamt" type="STRING" size="256" sumtext="선택진료"/>
  385. <Column id="divpayamt" type="BIGDECIMAL" size="256" sumtext="급여비"/>
  386. <Column id="divtotnopy" type="BIGDECIMAL" size="256" sumtext="비급여비"/>
  387. <Column id="divnopyamt" type="BIGDECIMAL" size="256" sumtext="(비율)비급여비"/>
  388. <Column id="divallownownbamt" type="BIGDECIMAL" size="256" sumtext="(비율)전액본인"/>
  389. <Column id="divspecamt" type="BIGDECIMAL" size="256" sumtext="(비율)선택"/>
  390. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  391. <Column id="orddrid" type="STRING" size="256" sumtext="주치의"/>
  392. <Column id="judgrid1" type="STRING" size="256" sumtext="심사자1"/>
  393. </ColumnInfo>
  394. </Dataset>
  395. <Dataset id="ds_main_list2_pat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  396. <Dataset id="ds_main_list3_day" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  397. <ColumnInfo>
  398. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  399. <Column id="hngnm" type="STRING" size="256" sumtext="수진자"/>
  400. <Column id="insukind" type="STRING" size="256" sumtext="유형"/>
  401. <Column id="suppkind" type="STRING" size="256" sumtext="보조"/>
  402. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  403. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
  404. <Column id="grupcalcscorcls1" type="STRING" size="256" sumtext="그룹항"/>
  405. <Column id="grupcalcscorcls2" type="STRING" size="256" sumtext="그룹목"/>
  406. <Column id="grupflag" type="STRING" size="256" sumtext="G"/>
  407. <Column id="grupcalcscorcd" type="STRING" size="256" sumtext="그룹코드"/>
  408. <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="싱글코드"/>
  409. <Column id="insupynpy1" type="STRING" size="256" sumtext="@"/>
  410. <Column id="code_hngnm" type="STRING" size="256" sumtext="한글명"/>
  411. <Column id="calcpayflag" type="STRING" size="256" sumtext="급비"/>
  412. <Column id="appunitcost" type="STRING" size="256" sumtext="단가"/>
  413. <Column id="calcqty" type="STRING" size="256" sumtext="계산수량"/>
  414. <Column id="amt" type="STRING" size="256" sumtext="금액"/>
  415. <Column id="specamt" type="STRING" size="256" sumtext="선택진료비"/>
  416. <Column id="total" type="STRING" size="256" sumtext="비급여총액"/>
  417. <Column id="deptnm" type="STRING" size="256" sumtext="진료과"/>
  418. <Column id="drname" type="STRING" size="256" sumtext="주치의"/>
  419. <Column id="judgrid" type="STRING" size="256" sumtext="심사자"/>
  420. </ColumnInfo>
  421. </Dataset>
  422. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  423. <ColumnInfo>
  424. <Column id="insukind" type="STRING" size="256"/>
  425. <Column id="fromdd" type="STRING" size="256"/>
  426. <Column id="todd" type="STRING" size="256"/>
  427. <Column id="orddeptcd" type="STRING" size="256"/>
  428. <Column id="orddrid" type="STRING" size="256"/>
  429. <Column id="insupynpy1" type="STRING" size="256"/>
  430. <Column id="judgrid" type="STRING" size="256"/>
  431. <Column id="ordtype" type="STRING" size="256"/>
  432. <Column id="brateflag" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. <Rows>
  435. <Row>
  436. <Col id="insukind"/>
  437. <Col id="orddeptcd"/>
  438. <Col id="orddrid"/>
  439. <Col id="insupynpy1"/>
  440. <Col id="judgrid"/>
  441. <Col id="ordtype">Y</Col>
  442. <Col id="brateflag">Y</Col>
  443. </Row>
  444. </Rows>
  445. </Dataset>
  446. </Objects>
  447. <Bind>
  448. <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_temp" columnid="todd"/>
  449. <BindItem id="item2" compid="group2.cmb_preinsukind" propid="value" datasetid="ds_temp" columnid="insukind"/>
  450. <BindItem id="item3" compid="group2.cmb_orddrid" propid="value" datasetid="ds_temp" columnid="orddrid"/>
  451. <BindItem id="item4" compid="group2.opt_insupynpy1" propid="value" datasetid="ds_temp" columnid="insupynpy1"/>
  452. <BindItem id="item5" compid="group2.cmb_judgrid" propid="value" datasetid="ds_temp" columnid="judgrid"/>
  453. <BindItem id="item6" compid="group2.chkOrdType" propid="value" datasetid="ds_temp" columnid="ordtype"/>
  454. <BindItem id="item7" compid="group2.chkBrateFlag" propid="value" datasetid="ds_temp" columnid="brateflag"/>
  455. <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_temp" columnid="fromdd"/>
  456. <BindItem id="item8" compid="group2.cmb_orddeptcd" propid="value" datasetid="ds_temp" columnid="orddeptcd"/>
  457. </Bind>
  458. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  459. * System Name :
  460. * Job Name :
  461. * Creator :
  462. * Make Date : 2016-05-24
  463. * Description :
  464. *---------------------------------------------------------------------------------------
  465. * Modify Date Modifier Modify Description
  466. *---------------------------------------------------------------------------------------
  467. * 2016-05-24 Live Converter TF->XP
  468. *
  469. *---------------------------------------------------------------------------------------
  470. ****************************************************************************************/
  471. include "com_commonxp::comm_main.xjs";
  472. function SMPIJ02700_oninit(obj:Form, e:InitEventInfo)
  473. {
  474. frmf_initForm(obj);
  475. }
  476. function SMPIJ02700_onload(obj:Form, e:LoadEventInfo)
  477. {
  478. fInitialize();
  479. ds_temp.setColumn(0, "fromdd", utlf_getCurrentDate());
  480. ds_temp.setColumn(0, "todd", utlf_getCurrentDate());
  481. dsf_createDsRow("ds_tmp", [ { col: "pid", type: "string", size: 256, val: ""}
  482. , { col: "sess_posinstcd", type: "string", size: 256, val: ""}]);
  483. var oParam = {};
  484. oParam.id = "TRPID23105";
  485. oParam.service = "aftjudgapp.OutAddAccount";
  486. oParam.method = "reqGetJudgList";
  487. oParam.inds = "req=ds_tmp";
  488. oParam.outds = "ds_temp_judgrid=judgrid";
  489. oParam.async = false;
  490. //oParam.callback = "cf_TRPID23105";
  491. tranf_submit(oParam);
  492. var oParam = {};
  493. oParam.id = "TRPAMCOM01";
  494. oParam.service = "pamcomnapp.PamComn";
  495. oParam.method = "reqGetComCD";
  496. oParam.inds = "req=ds_tmp";
  497. oParam.outds = "ds_init_pam_init_orddeptcd=orddeptcd ds_init_pam_init_orddrid=orddrid";
  498. oParam.async = false;
  499. //oParam.callback = "cf_TRPAMCOM01";
  500. tranf_submit(oParam);
  501. frmf_addComboItem("group2.cmb_orddeptcd","전체","","above");
  502. frmf_addComboItem("group2.cmb_preinsukind","전체","","above");
  503. group2.cmb_orddeptcd.index = 0;
  504. group2.cmb_preinsukind.index = 0;
  505. }
  506. function fInitialize()
  507. {
  508. var arrParam = [{dsNm: "ds_init_P0008list", cdGrpId: "P0008"}]
  509. appf_getCodeList(arrParam);
  510. group2.opt_insupynpy1.visible = false;
  511. group2.caption12.visible = false;
  512. }
  513. function group2_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  514. {
  515. var varorddeptcd= obj.value;
  516. ds_init_pam_init_orddrid.filterstr = "dp == '"+varorddeptcd+"'";
  517. if(utlf_isNull(varorddeptcd) || varorddeptcd == "-")
  518. {
  519. ds_init_pam_init_orddrid.filterstr = "";
  520. }
  521. }
  522. function group2_cmb_orddrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  523. {
  524. var orddeptcd = ds_temp.getColumn(0, "orddeptcd");
  525. if (utlf_isNull(orddeptcd)|| orddeptcd == "-")
  526. {
  527. sysf_messageBox("진료과 선택을 먼저 하십시요!","E999","");
  528. ds_temp.setColumn(0, "orddrid", "");
  529. group2.cmb_orddeptcd.setFocus();
  530. return;
  531. }
  532. }
  533. function group2_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  534. {
  535. if(utlf_isNull(ds_temp.getColumn(0, "fromdd")) || utlf_isNull(ds_temp.getColumn(0, "todd")))
  536. {
  537. sysf_messageBox("퇴원일자는", "I003");
  538. return;
  539. }
  540. var dateDif = utlf_getDateInterval(ds_temp.getColumn(0, "fromdd"), ds_temp.getColumn(0, "todd"));
  541. if (dateDif < 0)
  542. {
  543. sysf_messageBox("검색 시작일자가 종료일자 보다 이후", "E008");
  544. return;
  545. }
  546. else if (dateDif > 14)
  547. {
  548. sysf_messageBox("검색기간은 최대 2주(14일)", "E008");
  549. return;
  550. }
  551. ds_send.setColumn(0, "orddeptcd", "");
  552. ds_send.setColumn(0, "orddrid", "");
  553. ds_send.setColumn(0, "judgrid", "");
  554. ds_send.setColumn(0, "pid", "");
  555. ds_send.setColumn(0, "indd", "");
  556. ds_send.setColumn(0, "cretno", "");
  557. ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
  558. ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
  559. ds_send.setColumn(0, "insukind", ds_temp.getColumn(0, "insukind"));
  560. ds_send.setColumn(0, "orddeptcd", ds_temp.getColumn(0, "orddeptcd"));
  561. ds_send.setColumn(0, "orddrid", ds_temp.getColumn(0, "orddrid"));
  562. ds_send.setColumn(0, "insupynpy1", ds_temp.getColumn(0, "insupynpy1"));
  563. ds_send.setColumn(0, "judgrid", ds_temp.getColumn(0, "judgrid"));
  564. ds_send.setColumn(0, "brateflag", ds_temp.getColumn(0, "brateflag"));
  565. ds_send.setColumn(0, "ordtype", ds_temp.getColumn(0, "ordtype"));
  566. if(swt_fee.tabindex == 0)
  567. {
  568. ds_main_list1_summary.clearData();
  569. var oParam = {};
  570. oParam.id = "TRPIJ02703";
  571. oParam.service = "bfjudgapp.PayDivFee";
  572. oParam.method = "reqGetSummaryList";
  573. oParam.inds = "req=ds_send";
  574. oParam.outds = "ds_main_list1_summary=summary";
  575. oParam.async = false;
  576. //oParam.callback = "cf_TRPIJ02703";
  577. tranf_submit(oParam);
  578. }
  579. else if(swt_fee.tabindex == 2)
  580. {
  581. ds_main_list3_day.clearData();
  582. var oParam = {};
  583. oParam.id = "TRPIJ02701";
  584. oParam.service = "bfjudgapp.PayDivFee";
  585. oParam.method = "reqGetDayList";
  586. oParam.inds = "req=ds_send";
  587. oParam.outds = "ds_main_list3_day=day";
  588. oParam.async = false;
  589. //oParam.callback = "cf_TRPIJ02701";
  590. tranf_submit(oParam);
  591. }
  592. else if(swt_fee.tabindex == 1)
  593. {
  594. ds_main_list2_pat.clearData();
  595. var oParam = {};
  596. oParam.id = "TRPIJ02702";
  597. oParam.service = "bfjudgapp.PayDivFee";
  598. oParam.method = "reqGetPatList";
  599. oParam.inds = "req=ds_send";
  600. oParam.outds = "ds_main_list2_pat=pat";
  601. oParam.async = false;
  602. //oParam.callback = "cf_TRPIJ02702";
  603. tranf_submit(oParam);
  604. }
  605. }
  606. function swt_fee_case_summary_grd_summary_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  607. {
  608. var row = e.row;
  609. if( row > -1 )
  610. {
  611. ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
  612. ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
  613. ds_send.setColumn(0, "insukind", ds_temp.getColumn(0, "insukind"));
  614. ds_send.setColumn(0, "orddeptcd", ds_temp.getColumn(0, "orddeptcd"));
  615. ds_send.setColumn(0, "orddrid", ds_temp.getColumn(0, "orddrid"));
  616. ds_send.setColumn(0, "insupynpy1", ds_temp.getColumn(0, "insupynpy1"));
  617. ds_send.setColumn(0, "judgrid", ds_temp.getColumn(0, "judgrid"));
  618. ds_send.setColumn(0, "orddeptcd", ds_main_list1_summary.getColumn(row, "orddeptcd"));
  619. ds_send.setColumn(0, "orddrid", ds_main_list1_summary.getColumn(row, "orddrid"));
  620. ds_send.setColumn(0, "judgrid", ds_main_list1_summary.getColumn(row, "judgrid1"));
  621. var oParam = {};
  622. oParam.id = "TRPIJ02702";
  623. oParam.service = "bfjudgapp.PayDivFee";
  624. oParam.method = "reqGetPatList";
  625. oParam.inds = "req=ds_send";
  626. oParam.outds = "ds_main_list2_pat=pat";
  627. oParam.async = false;
  628. //oParam.callback = "cf_TRPIJ02702";
  629. tranf_submit(oParam);
  630. ds_main_list2_pat.rowposition = -1;
  631. swt_fee.tabindex = 1;
  632. }
  633. }
  634. function swt_fee_case_pat_grdpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  635. {
  636. var row = e.row;
  637. if( row > -1 )
  638. {
  639. ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
  640. ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
  641. ds_send.setColumn(0, "insukind", ds_temp.getColumn(0, "insukind"));
  642. ds_send.setColumn(0, "orddeptcd", ds_temp.getColumn(0, "orddeptcd"));
  643. ds_send.setColumn(0, "orddrid", ds_temp.getColumn(0, "orddrid"));
  644. ds_send.setColumn(0, "insupynpy1", ds_temp.getColumn(0, "insupynpy1"));
  645. ds_send.setColumn(0, "judgrid", ds_temp.getColumn(0, "judgrid"));
  646. ds_send.setColumn(0, "pid", ds_main_list2_pat.getColumn(row, "pid"));
  647. ds_send.setColumn(0, "indd", ds_main_list2_pat.getColumn(row, "indd"));
  648. ds_send.setColumn(0, "cretno", ds_main_list2_pat.getColumn(row, "cretno"));
  649. var oParam = {};
  650. oParam.id = "TRPIJ02701";
  651. oParam.service = "bfjudgapp.PayDivFee";
  652. oParam.method = "reqGetDayList";
  653. oParam.inds = "req=ds_send";
  654. oParam.outds = "ds_main_list3_day=day";
  655. oParam.async = false;
  656. //oParam.callback = "cf_TRPIJ02701";
  657. tranf_submit(oParam);
  658. swt_fee.tabindex = 2;
  659. group2.caption12.visible = true;
  660. group2.opt_insupynpy1.visible = true;
  661. }
  662. }
  663. function swt_fee_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  664. {
  665. if(obj.tabindex == 0)
  666. {
  667. group2.opt_insupynpy1.visible = false;
  668. group2.caption12.visible = false;
  669. }
  670. else if(obj.tabindex == 1)
  671. {
  672. group2.opt_insupynpy1.visible = false;
  673. group2.caption12.visible = false;
  674. }
  675. else if(obj.tabindex == 2)
  676. {
  677. group2.opt_insupynpy1.visible = true;
  678. group2.caption12.visible = true;
  679. }
  680. }
  681. function swt_fee_case_summary_btn_cnclexcel_onclick(obj:Button, e:ClickEventInfo)
  682. {
  683. if(ds_main_list1_summary.rowcount == 0)
  684. {
  685. sysf_messageBox("엑셀저장할 내역이", "I004");
  686. }
  687. else
  688. {
  689. grdf_exportExcel(swt_fee.case_summary.grd_summary, "", "see");
  690. }
  691. }
  692. function swt_fee_case_pat_button2_onclick(obj:Button, e:ClickEventInfo)
  693. {
  694. if(ds_main_list2_pat.rowcount == 0)
  695. {
  696. sysf_messageBox("엑셀저장할 내역이", "I004");
  697. }
  698. else
  699. {
  700. grdf_exportExcel(swt_fee.case_pat.grdpatlist, "", "see");
  701. }
  702. }
  703. function swt_fee_case_day_button1_onclick(obj:Button, e:ClickEventInfo)
  704. {
  705. if(ds_main_list3_day.rowcount == 0)
  706. {
  707. sysf_messageBox("엑셀저장할 내역이", "I004");
  708. }
  709. else
  710. {
  711. grdf_exportExcel(swt_fee.case_day.grddaylist, "", "see");
  712. }
  713. }
  714. function group2_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  715. {
  716. group2.ipt_todd.setFocus();
  717. }
  718. ]]></Script>
  719. </Form>
  720. </FDL>