SMPID20800_청구진행상황건수집계조회.xfdl 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPID20800" position="absolute 0 0 1256 805" titletext="청구진행상황 건수 집계 조회" onload="SMPID20800_onload" onkeydown="SMPID20800_onkeydown" oninit="SMPID20800_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="Div00" taborder="1" class="div_SA" anchor="left top right" position="absolute 0 27 1256 94" positiontype="position">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption7" text="청구년월" class="search_name" position="absolute 8 10 82 30" anchor="default" positiontype="position"/>
  11. <Static id="caption46" text="진료과" class="search_name" position="absolute 8 35 69 55" anchor="default" positiontype="position"/>
  12. <Combo id="cmb_orddeptcd" taborder="2" class="combo_search" position="absolute 82 35 238 55" innerdataset="@ds_init_cmb_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="Div00_cmb_orddeptcd_onitemchanged" anchor="default" positiontype="position"/>
  13. <Button id="btn_up" taborder="3" onclick="btn_up_onclick" class="btn_up" position="absolute 160 10 173 19" text="" anchor="default" positiontype="position"/>
  14. <Button id="btn_down" taborder="4" onclick="btn_down_onclick" class="btn_down" position="absolute 160 20 173 29" text="" anchor="default" positiontype="position"/>
  15. <Combo id="cmb_clamdg" taborder="5" position="absolute 176 10 238 30" innerdataset="@ds_init_clamdg" codecolumn="clamdgcd" datacolumn="clamdgnm" style="align:center middle;" anchor="default" positiontype="position"/>
  16. <Static id="caption1" text="외래입원구분" class="search_name" position="absolute 282 10 382 30" anchor="default" positiontype="position"/>
  17. <Static id="caption5" text="진료의사" class="search_name" position="absolute 491 35 565 55" anchor="default" positiontype="position"/>
  18. <Combo id="cmb_ioflag" taborder="7" class="combo_search" position="absolute 382 10 467 30" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="Div00_cmb_ioflag_onitemchanged" anchor="default" positiontype="position">
  19. <Dataset id="innerdataset">
  20. <ColumnInfo>
  21. <Column id="codecolumn" size="256"/>
  22. <Column id="datacolumn" size="256"/>
  23. </ColumnInfo>
  24. <Rows>
  25. <Row>
  26. <Col id="codecolumn">I</Col>
  27. <Col id="datacolumn">입원</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">O</Col>
  31. <Col id="datacolumn">외래</Col>
  32. </Row>
  33. </Rows>
  34. </Dataset>
  35. </Combo>
  36. <Static id="caption4" text="청구구분" class="search_name" position="absolute 491 10 565 30" anchor="default" positiontype="position"/>
  37. <Combo id="cmb_docuflagcd" taborder="9" class="combo_search" position="absolute 565 10 666 30" innerdataset="@ds_init_cmb_clamflag" codecolumn="cdid" datacolumn="cdnm" anchor="default" positiontype="position"/>
  38. <Static id="caption3" text="청구분야" class="search_name" position="absolute 690 10 764 30" anchor="default" positiontype="position"/>
  39. <Combo id="cmb_ordfildcd" taborder="10" class="combo_search" position="absolute 765 10 850 30" innerdataset="@ds_init_cmb_ordfildcd" codecolumn="cdid" datacolumn="cdnm" onitemchanged="Div00_cmb_ordfildcd_onitemchanged" anchor="default" positiontype="position"/>
  40. <Static id="caption2" text="보험유형" class="search_name" position="absolute 874 10 948 30" anchor="default" positiontype="position"/>
  41. <Combo id="cmb_insukind" taborder="11" class="combo_search" position="absolute 947 10 1048 30" innerdataset="@ds_init_insukind_insulist" codecolumn="cdid" datacolumn="cdnm" anchor="default" positiontype="position"/>
  42. <Button id="btn_search" taborder="12" text="조회" onlbuttonup="btn_search_onlbuttonup" class="btn1" position="absolute 1189 10 1245 30" anchor="top right" onclick="btn_search_onclick" hotkey="F5" positiontype="position"/>
  43. <CheckBox id="CheckBox00" taborder="13" text="의사별 조회" position2="absolute l:282 w:100 t:35 h:20" onchanged="Div00_CheckBox00_onchanged" falsevalue="N" truevalue="Y" positiontype="position2"/>
  44. <Edit id="opt_insukind" taborder="14" readonly="true" class="output_search" position="absolute 1051 10 1084 30" anchor="default" positiontype="position"/>
  45. <cp_monthCal id="cp_monthCal00" titletext="monthCalendar" taborder="15" text="cp_monthCal00" scrollbars="none" position="absolute 82 10 157 30" class="input_essential" anchor="default"/>
  46. <Combo id="cmb_orddrid" taborder="16" class="combo_search" position="absolute 565 35 666 55" innerdataset="@ds_init_atdoctlist" codecolumn="atdoctid" datacolumn="atdocthngnm" anchor="default"/>
  47. </Layout>
  48. </Layouts>
  49. </Div>
  50. <Static id="caption6" text="청구진행상황 건수 집계 조회" class="tit_1" position="absolute 0 0 219 26" positiontype="position"/>
  51. <Tab id="switch1" taborder="2" tabindex="0" position="absolute 0 102 1256 790" anchor="all" positiontype="position" onchanged="switch1_onchanged">
  52. <Tabpages>
  53. <Tabpage id="case1" text="심사자별" style="anchor:default;margin:0 0 0 0;" position="absolute 0 0 0 0">
  54. <Layouts>
  55. <Layout>
  56. <Static id="caption11" text="심사자별 청구진행상황" class="tit_2" position="absolute 0 9 187 29" anchor="default" positiontype="position"/>
  57. <Button id="btn_judgexcel" taborder="1" text="엑셀저장" onlbuttonup="btn_judgexcel_onlbuttonup" class="btn7" position="absolute 1172 5 1256 25" anchor="top right" positiontype="position" onclick="btn_judgexcel_onclick"/>
  58. <Grid id="grd_judglist" taborder="2" useinputpanel="false" position="absolute 0 28 1256 658" autofittype="col" anchor="all" binddataset="ds_grid_grd_judglist" positiontype="position" cellsizingtype="col" oncellclick="switch1_case1_grd_judglist_oncellclick" onkeydown="switch1_case1_grd_judglist_onkeydown">
  59. <Formats>
  60. <Format id="default">
  61. <Columns>
  62. <Column size="20"/>
  63. <Column size="65"/>
  64. <Column size="65"/>
  65. <Column size="65"/>
  66. <Column size="65"/>
  67. <Column size="65"/>
  68. <Column size="65"/>
  69. <Column size="65"/>
  70. <Column size="65"/>
  71. <Column size="65"/>
  72. <Column size="65"/>
  73. <Column size="65"/>
  74. <Column size="65"/>
  75. <Column size="65"/>
  76. <Column size="65"/>
  77. <Column size="65"/>
  78. <Column size="65"/>
  79. <Column size="65"/>
  80. <Column size="65"/>
  81. <Column size="65"/>
  82. </Columns>
  83. <Rows>
  84. <Row size="22" band="head"/>
  85. <Row size="22" band="head"/>
  86. <Row size="24"/>
  87. </Rows>
  88. <Band id="head">
  89. <Cell rowspan="2"/>
  90. <Cell col="1" rowspan="2" text="심사자ID"/>
  91. <Cell col="2" rowspan="2" text="심사자명"/>
  92. <Cell col="3" rowspan="2" text="진료과"/>
  93. <Cell col="4" colspan="8" text="건수"/>
  94. <Cell col="12" colspan="8" text="비율(%)"/>
  95. <Cell row="1" col="4" text="전체"/>
  96. <Cell row="1" col="5" text="미심"/>
  97. <Cell row="1" col="6" text="보류"/>
  98. <Cell row="1" col="7" text="심사중"/>
  99. <Cell row="1" col="8" text="삭제"/>
  100. <Cell row="1" col="9" text="심사완료"/>
  101. <Cell row="1" col="10" text="통합완료"/>
  102. <Cell row="1" col="11" text="일괄완료"/>
  103. <Cell row="1" col="12" text="전체"/>
  104. <Cell row="1" col="13" text="미심"/>
  105. <Cell row="1" col="14" text="보류"/>
  106. <Cell row="1" col="15" text="심사중"/>
  107. <Cell row="1" col="16" text="삭제"/>
  108. <Cell row="1" col="17" text="심사완료"/>
  109. <Cell row="1" col="18" text="통합완료"/>
  110. <Cell row="1" col="19" text="일괄완료"/>
  111. </Band>
  112. <Band id="body">
  113. <Cell celltype="head" expr="expr:currow+1"/>
  114. <Cell col="1" text="bind:judgrid"/>
  115. <Cell col="2" text="bind:judgnm"/>
  116. <Cell col="3" text="bind:orddeptcd"/>
  117. <Cell col="4" displaytype="number" text="bind:cnta"/>
  118. <Cell col="5" displaytype="number" text="bind:cntb"/>
  119. <Cell col="6" displaytype="number" text="bind:cntc"/>
  120. <Cell col="7" displaytype="number" text="bind:cnte"/>
  121. <Cell col="8" displaytype="number" text="bind:cntf"/>
  122. <Cell col="9" displaytype="number" text="bind:cntd"/>
  123. <Cell col="10" displaytype="number" text="bind:cnth"/>
  124. <Cell col="11" displaytype="number" text="bind:cnth"/>
  125. <Cell col="12" displaytype="number" text="bind:ratea"/>
  126. <Cell col="13" displaytype="number" text="bind:rateb"/>
  127. <Cell col="14" displaytype="number" text="bind:ratec"/>
  128. <Cell col="15" displaytype="number" text="bind:ratee"/>
  129. <Cell col="16" displaytype="number" text="bind:rateg"/>
  130. <Cell col="17" displaytype="number" text="bind:rated"/>
  131. <Cell col="18" displaytype="number" text="bind:rateg"/>
  132. <Cell col="19" displaytype="number" text="bind:rateh"/>
  133. </Band>
  134. </Format>
  135. </Formats>
  136. </Grid>
  137. <Static id="Static00" onclick="Static76_onclick" class="sta_guide" position="absolute 218 -402 353 -399" anchor="default"/>
  138. <Button id="button1" taborder="3" text="셀카피" class="btn2" position="absolute 1007 5 1060 24" anchor="top right" onclick="switch1_case1_button1_onclick"/>
  139. <Button id="button5" taborder="4" text="열카피" class="btn2" position="absolute 1062 5 1115 24" anchor="top right" onclick="switch1_case1_button5_onclick"/>
  140. <Button id="button2" taborder="5" text="행카피" class="btn2" position="absolute 1117 5 1170 24" anchor="top right" onclick="switch1_case1_button2_onclick"/>
  141. </Layout>
  142. </Layouts>
  143. </Tabpage>
  144. <Tabpage id="case2" text="진료과별" style="anchor:default;margin:0 0 0 0;">
  145. <Layouts>
  146. <Layout>
  147. <Static id="caption12" text="진료과별 청구진행상황" class="tit_2" position="absolute 0 9 187 29" positiontype="position"/>
  148. <Button id="btn_deptexec" taborder="1" text="엑셀저장" onlbuttonup="btn_deptexec_onlbuttonup" class="btn7" position="absolute 1172 5 1256 25" anchor="top right" positiontype="position" onclick="btn_deptexec_onclick"/>
  149. <Grid id="grd_deptlist" taborder="5" useinputpanel="false" position="absolute 0 28 1255 658" autofittype="col" anchor="all" binddataset="ds_grid_grd_deptlist" positiontype="position" cellsizingtype="col" oncellclick="switch1_case2_grd_deptlist_oncellclick" onkeydown="switch1_case2_grd_deptlist_onkeydown">
  150. <Formats>
  151. <Format id="default">
  152. <Columns>
  153. <Column size="20"/>
  154. <Column size="65"/>
  155. <Column size="130"/>
  156. <Column size="0"/>
  157. <Column size="0"/>
  158. <Column size="65"/>
  159. <Column size="65"/>
  160. <Column size="65"/>
  161. <Column size="65"/>
  162. <Column size="65"/>
  163. <Column size="65"/>
  164. <Column size="65"/>
  165. <Column size="65"/>
  166. <Column size="65"/>
  167. <Column size="65"/>
  168. <Column size="65"/>
  169. <Column size="65"/>
  170. <Column size="65"/>
  171. <Column size="65"/>
  172. <Column size="65"/>
  173. <Column size="65"/>
  174. </Columns>
  175. <Rows>
  176. <Row size="22" band="head"/>
  177. <Row size="22" band="head"/>
  178. <Row size="20"/>
  179. </Rows>
  180. <Band id="head">
  181. <Cell rowspan="2"/>
  182. <Cell col="1" rowspan="2" text="진료과"/>
  183. <Cell col="2" rowspan="2" text="과명"/>
  184. <Cell col="3" rowspan="2" text="진료의"/>
  185. <Cell col="4" rowspan="2" text="심사자"/>
  186. <Cell col="5" colspan="8" text="건수"/>
  187. <Cell col="13" colspan="8" text="비율(%)"/>
  188. <Cell row="1" col="5" text="전체"/>
  189. <Cell row="1" col="6" text="미심"/>
  190. <Cell row="1" col="7" text="보류"/>
  191. <Cell row="1" col="8" text="심사완료"/>
  192. <Cell row="1" col="9" text="통합완료"/>
  193. <Cell row="1" col="10" text="일괄완료"/>
  194. <Cell row="1" col="11" text="심사중"/>
  195. <Cell row="1" col="12" text="삭제"/>
  196. <Cell row="1" col="13" text="전체"/>
  197. <Cell row="1" col="14" text="미심"/>
  198. <Cell row="1" col="15" text="보류"/>
  199. <Cell row="1" col="16" text="심사완료"/>
  200. <Cell row="1" col="17" text="통합완료"/>
  201. <Cell row="1" col="18" text="일괄완료"/>
  202. <Cell row="1" col="19" text="심사중"/>
  203. <Cell row="1" col="20" text="삭제"/>
  204. </Band>
  205. <Band id="body">
  206. <Cell celltype="head" expr="expr:currow+1"/>
  207. <Cell col="1" text="bind:orddeptcd"/>
  208. <Cell col="2" style="align:left;" text="bind:orddeptnm"/>
  209. <Cell col="3" text="bind:orddrnm"/>
  210. <Cell col="4" text="bind:judgnm"/>
  211. <Cell col="5" displaytype="number" text="bind:cnta"/>
  212. <Cell col="6" displaytype="number" text="bind:cntb"/>
  213. <Cell col="7" displaytype="number" text="bind:cntc"/>
  214. <Cell col="8" displaytype="number" text="bind:cntd"/>
  215. <Cell col="9" displaytype="number" text="bind:cntg"/>
  216. <Cell col="10" displaytype="number" text="bind:cnth"/>
  217. <Cell col="11" displaytype="number" text="bind:cnte"/>
  218. <Cell col="12" displaytype="number" text="bind:cntf"/>
  219. <Cell col="13" displaytype="number" text="bind:ratea"/>
  220. <Cell col="14" displaytype="number" text="bind:rateb"/>
  221. <Cell col="15" displaytype="number" text="bind:ratec"/>
  222. <Cell col="16" displaytype="number" text="bind:rated"/>
  223. <Cell col="17" displaytype="number" text="bind:rateg"/>
  224. <Cell col="18" displaytype="number" text="bind:rateh"/>
  225. <Cell col="19" displaytype="number" text="bind:ratee"/>
  226. <Cell col="20" displaytype="number" text="bind:ratef"/>
  227. </Band>
  228. </Format>
  229. </Formats>
  230. </Grid>
  231. <Button id="button3" taborder="6" text="셀카피" class="btn2" position="absolute 1007 5 1060 24" anchor="top right" onclick="switch1_case2_button3_onclick"/>
  232. <Button id="button6" taborder="7" text="열카피" class="btn2" position="absolute 1062 5 1115 24" anchor="top right" onclick="switch1_case2_button6_onclick"/>
  233. <Button id="button4" taborder="8" text="행카피" class="btn2" position="absolute 1117 5 1170 24" anchor="top right" onclick="switch1_case2_button4_onclick"/>
  234. </Layout>
  235. </Layouts>
  236. </Tabpage>
  237. </Tabpages>
  238. </Tab>
  239. <Button id="button7" taborder="3" text="초기화[F6]" onlbuttonup="button7_onlbuttonup" class="btn4" position="absolute 1163 785 1256 805" anchor="right bottom" positiontype="position" onclick="button7_onclick" hotkey="F6"/>
  240. </Layout>
  241. </Layouts>
  242. <Objects>
  243. <Dataset id="ds_grid_grd_judglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  244. <ColumnInfo>
  245. <Column id="judgrid" type="STRING"/>
  246. <Column id="judgnm" type="STRING"/>
  247. <Column id="orddeptcd" type="STRING"/>
  248. <Column id="cnta" type="BIGDECIMAL"/>
  249. <Column id="cntb" type="BIGDECIMAL"/>
  250. <Column id="cntc" type="BIGDECIMAL"/>
  251. <Column id="cntd" type="BIGDECIMAL"/>
  252. <Column id="cntf" type="BIGDECIMAL"/>
  253. <Column id="cntd" type="BIGDECIMAL"/>
  254. <Column id="cntg" type="BIGDECIMAL"/>
  255. <Column id="cnth" type="BIGDECIMAL"/>
  256. <Column id="ratea" type="BIGDECIMAL"/>
  257. <Column id="rateb" type="BIGDECIMAL"/>
  258. <Column id="ratec" type="BIGDECIMAL"/>
  259. <Column id="ratee" type="BIGDECIMAL"/>
  260. <Column id="ratef" type="BIGDECIMAL"/>
  261. <Column id="rated" type="BIGDECIMAL"/>
  262. <Column id="rateg" type="BIGDECIMAL"/>
  263. <Column id="rateh" type="BIGDECIMAL"/>
  264. </ColumnInfo>
  265. </Dataset>
  266. <Dataset id="ds_grid_grd_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  267. <ColumnInfo>
  268. <Column id="orddeptcd" type="STRING"/>
  269. <Column id="orddeptnm" type="STRING"/>
  270. <Column id="orddrnm" type="STRING"/>
  271. <Column id="judgnm" type="STRING"/>
  272. <Column id="cnta" type="STRING"/>
  273. <Column id="cntb" type="STRING"/>
  274. <Column id="cntc" type="STRING"/>
  275. <Column id="cntd" type="STRING"/>
  276. <Column id="cntg" type="STRING"/>
  277. <Column id="cnth" type="STRING"/>
  278. <Column id="cnte" type="STRING"/>
  279. <Column id="cntf" type="STRING"/>
  280. <Column id="ratea" type="STRING"/>
  281. <Column id="rateb" type="STRING"/>
  282. <Column id="ratec" type="STRING"/>
  283. <Column id="rated" type="STRING"/>
  284. <Column id="rateg" type="STRING"/>
  285. <Column id="rateh" type="STRING"/>
  286. <Column id="ratee" type="STRING"/>
  287. <Column id="ratef" type="STRING"/>
  288. </ColumnInfo>
  289. </Dataset>
  290. <Dataset id="ds_init_cmb_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="cdid" type="STRING" size="256"/>
  293. <Column id="cdnm" type="STRING" size="256"/>
  294. <Column id="dispseq" type="STRING" size="256"/>
  295. </ColumnInfo>
  296. </Dataset>
  297. <Dataset id="ds_init_cmb_ordfildcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  298. <ColumnInfo>
  299. <Column id="cdid" type="STRING" size="256"/>
  300. <Column id="cdnm" type="STRING" size="256"/>
  301. </ColumnInfo>
  302. </Dataset>
  303. <Dataset id="ds_init_cmb_clamflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  304. <ColumnInfo>
  305. <Column id="cdid" type="STRING" size="256"/>
  306. <Column id="cdnm" type="STRING" size="256"/>
  307. <Column id="cdid_cdnm" type="STRING" size="256"/>
  308. </ColumnInfo>
  309. </Dataset>
  310. <Dataset id="ds_init_cmb_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  311. <ColumnInfo>
  312. <Column id="deptcd" type="STRING" size="256"/>
  313. <Column id="depthngnm" type="STRING" size="256"/>
  314. <Column id="deptengabbr" type="STRING" size="256"/>
  315. </ColumnInfo>
  316. </Dataset>
  317. <Dataset id="ds_init_clamdg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  318. <ColumnInfo>
  319. <Column id="clamdgcd" type="STRING" size="256"/>
  320. <Column id="clamdgnm" type="STRING" size="256"/>
  321. </ColumnInfo>
  322. </Dataset>
  323. <Dataset id="ds_init_insulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  324. <ColumnInfo>
  325. <Column id="cdid" type="STRING" size="256"/>
  326. <Column id="cdnm" type="STRING" size="256"/>
  327. </ColumnInfo>
  328. <Rows>
  329. <Row>
  330. <Col id="cdid">1</Col>
  331. <Col id="cdnm">보험+급여</Col>
  332. </Row>
  333. <Row>
  334. <Col id="cdid">2</Col>
  335. <Col id="cdnm">보험</Col>
  336. </Row>
  337. <Row>
  338. <Col id="cdid">3</Col>
  339. <Col id="cdnm">의료급여</Col>
  340. </Row>
  341. <Row>
  342. <Col id="cdid">21</Col>
  343. <Col id="cdnm">의료급여1종</Col>
  344. </Row>
  345. <Row>
  346. <Col id="cdid">22</Col>
  347. <Col id="cdnm">의료급여2종</Col>
  348. </Row>
  349. <Row>
  350. <Col id="cdid">31</Col>
  351. <Col id="cdnm">자보</Col>
  352. </Row>
  353. <Row>
  354. <Col id="cdid">41</Col>
  355. <Col id="cdnm">산재</Col>
  356. </Row>
  357. </Rows>
  358. </Dataset>
  359. <Dataset id="ds_init_atdoctlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  360. <ColumnInfo>
  361. <Column id="atdocthngnm" type="STRING" size="256"/>
  362. <Column id="atdoctid" type="STRING" size="256"/>
  363. </ColumnInfo>
  364. </Dataset>
  365. <Dataset id="ds_init_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  366. <ColumnInfo>
  367. <Column id="cdnm" type="STRING" size="256"/>
  368. <Column id="cdid" type="STRING" size="256"/>
  369. </ColumnInfo>
  370. </Dataset>
  371. <Dataset id="ds_init_insukind_insulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  372. <ColumnInfo>
  373. <Column id="cdnm" type="STRING" size="256"/>
  374. <Column id="cdid" type="STRING" size="256"/>
  375. </ColumnInfo>
  376. <Rows>
  377. <Row>
  378. <Col id="cdnm"/>
  379. <Col id="cdid"/>
  380. </Row>
  381. <Row>
  382. <Col id="cdnm">보험+급여</Col>
  383. <Col id="cdid">1</Col>
  384. </Row>
  385. <Row>
  386. <Col id="cdnm">보험</Col>
  387. <Col id="cdid">2</Col>
  388. </Row>
  389. <Row>
  390. <Col id="cdnm">의료급여</Col>
  391. <Col id="cdid">3</Col>
  392. </Row>
  393. <Row>
  394. <Col id="cdnm">의료급여1종</Col>
  395. <Col id="cdid">21</Col>
  396. </Row>
  397. <Row>
  398. <Col id="cdnm">의료급여2종</Col>
  399. <Col id="cdid">22</Col>
  400. </Row>
  401. <Row>
  402. <Col id="cdnm">자보</Col>
  403. <Col id="cdid">31</Col>
  404. </Row>
  405. <Row>
  406. <Col id="cdnm">산재</Col>
  407. <Col id="cdid">41</Col>
  408. </Row>
  409. </Rows>
  410. </Dataset>
  411. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  412. <ColumnInfo>
  413. <Column id="insukind" type="STRING" size="256"/>
  414. <Column id="ioflag" type="STRING" size="256"/>
  415. <Column id="ordfildcd" type="STRING" size="256"/>
  416. <Column id="clamflagcd" type="STRING" size="256"/>
  417. <Column id="clamym" type="STRING" size="256"/>
  418. <Column id="clamdg" type="STRING" size="256"/>
  419. <Column id="orddeptcd" type="STRING" size="256"/>
  420. <Column id="orddrid" type="STRING" size="256"/>
  421. <Column id="checkyn" type="STRING" size="256"/>
  422. </ColumnInfo>
  423. <Rows>
  424. <Row>
  425. <Col id="insukind"/>
  426. <Col id="ioflag">I</Col>
  427. <Col id="ordfildcd"/>
  428. <Col id="clamflagcd"/>
  429. <Col id="clamym"/>
  430. <Col id="clamdg"/>
  431. <Col id="orddeptcd"/>
  432. <Col id="orddrid"/>
  433. <Col id="checkyn">Y</Col>
  434. </Row>
  435. </Rows>
  436. </Dataset>
  437. </Objects>
  438. <Bind>
  439. <BindItem id="item0" compid="Div00.cmb_clamdg" propid="value" datasetid="ds_send_data1" columnid="clamdg"/>
  440. <BindItem id="item1" compid="Div00.cmb_ioflag" propid="value" datasetid="ds_send_data1" columnid="ioflag"/>
  441. <BindItem id="item2" compid="Div00.cmb_docuflagcd" propid="value" datasetid="ds_send_data1" columnid="clamflagcd"/>
  442. <BindItem id="item3" compid="Div00.cmb_ordfildcd" propid="value" datasetid="ds_send_data1" columnid="ordfildcd"/>
  443. <BindItem id="item4" compid="Div00.cmb_insukind" propid="value" datasetid="ds_send_data1" columnid="insukind"/>
  444. <BindItem id="item5" compid="Div00.opt_insukind" propid="value" datasetid="ds_send_data1" columnid="insukind"/>
  445. <BindItem id="item6" compid="Div00.cmb_orddeptcd" propid="value" datasetid="ds_send_data1" columnid="orddeptcd"/>
  446. <BindItem id="item7" compid="Div00.CheckBox00" propid="value" datasetid="ds_send_data1" columnid="checkyn"/>
  447. <BindItem id="item8" compid="Div00.cmb_orddrid" propid="value" datasetid="ds_send_data1" columnid="orddrid"/>
  448. </Bind>
  449. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  450. * System Name :
  451. * Job Name :
  452. * Creator :
  453. * Make Date : 2016-05-24
  454. * Description :
  455. *---------------------------------------------------------------------------------------
  456. * Modify Date Modifier Modify Description
  457. *---------------------------------------------------------------------------------------
  458. * 2016-05-24 Live Converter TF->XP
  459. *
  460. *---------------------------------------------------------------------------------------
  461. ****************************************************************************************/
  462. include "com_commonxp::comm_main.xjs";
  463. var col = "N";
  464. function SMPID20800_oninit(obj:Form, e:InitEventInfo)
  465. {
  466. frmf_initForm(obj);
  467. }
  468. function SMPID20800_onload(obj:Form, e:LoadEventInfo)
  469. {
  470. grdf_initGrid(switch1.case1.grd_judglist);
  471. grdf_initGrid(switch1.case2.grd_deptlist);
  472. var arrParam = [{dsNm: "ds_init_P0008list", cdGrpId: "P0008"}
  473. ,{dsNm: "ds_init_cmb_ordfildcd", cdGrpId: "P0291"}
  474. ,{dsNm: "ds_init_cmb_clamflag", cdGrpId: "P0155", showValue:true}]
  475. appf_getCodeList(arrParam, false, false);
  476. ds_init_cmb_ordfildcd.insertRow(0);
  477. ds_init_cmb_clamflag.insertRow(0);
  478. dsf_createDsRow("ds_search" , [{col: "instcd" , val: sysf_getUserInfo("dutplceinstcd")}
  479. , {col: "ordfildcd", val: ""}
  480. , {col: "ordflag" , val: ""}]);
  481. var oParam = {};
  482. oParam.id = "TRPIJ00203";
  483. oParam.service = "bfjudgapp.InHospJudgTrgtMan";
  484. oParam.method = "reqGetDeptList";
  485. oParam.inds = "req=ds_search";
  486. oParam.outds = "ds_init_cmb_dept=deptlist";
  487. oParam.async = false;
  488. //oParam.callback = "cf_TRPIJ00203";
  489. tranf_submit(oParam);
  490. lf_monthCalOnChange();
  491. Div00.cp_monthCal00.setCallEvent("lf_monthCalOnChange");
  492. lf_Initialize();
  493. }
  494. function lf_Initialize()
  495. {
  496. ds_send_data1.setColumn(0, "insukind", "");
  497. ds_send_data1.setColumn(0, "ioflag", "O");
  498. ds_send_data1.setColumn(0, "ordfildcd", "");
  499. ds_send_data1.setColumn(0, "clamflagcd", "");
  500. var today = new Date();
  501. var baseyear = today.getDateFormat("YYYY");
  502. var basemonth = today.getDateFormat("MM");
  503. var baseday = today.getDateFormat("DD");
  504. var currentym = baseyear + basemonth;
  505. var currentdd = baseyear + basemonth + baseday;
  506. ds_send_data1.setColumn(0, "clamym", currentym);
  507. ds_send_data1.setColumn(0, "clamdg", "");
  508. frmf_addComboItem("Div00.cmb_orddeptcd","전체","","above");
  509. frmf_addComboItem("Div00.cmb_orddrid","전체","","above");
  510. ds_send_data1.setColumn(0, "checkyn", "N");
  511. Div00.caption46.visible = false; //진료과 캡션
  512. Div00.cmb_orddeptcd.visible = false; //진료과 콤보
  513. Div00.CheckBox00.visible = false; //의사별 조회 체크박스
  514. Div00.caption5.visible = false; //진료의사 캡션
  515. Div00.cmb_orddrid.visible = false; //진료의사 콤보
  516. Div00.cp_monthCal00.cal_Month.value = utlf_getCurrentDate();
  517. lf_monthCalOnChange();
  518. ds_grid_grd_judglist.clearData();
  519. ds_grid_grd_deptlist.clearData();
  520. switch1.tabindex = 0;
  521. }
  522. // 조회
  523. function lf_GetClamList()
  524. {
  525. ds_grid_grd_judglist.clearData();
  526. ds_grid_grd_deptlist.clearData();
  527. ds_send_data1.setColumn(0, "clamym", Div00.cp_monthCal00.getData());
  528. if(utlf_isNull(ds_send_data1.getColumn(0, "clamym")))
  529. {
  530. sysf_messageBox("청구년월이", "I004"); //없습니다.
  531. return false;
  532. }
  533. if(utlf_isNull(ds_send_data1.getColumn(0, "clamdg")))
  534. {
  535. sysf_messageBox("청구차수가", "I004"); //없습니다.
  536. return false;
  537. }
  538. var oParam = {};
  539. oParam.id = "TRPID21001";
  540. oParam.service = "aftjudgapp.JudgProgStat";
  541. oParam.method = "reqGetJudgProgStatList";
  542. oParam.inds = "req=ds_send_data1";
  543. oParam.outds = "ds_grid_grd_judglist=judg ds_grid_grd_deptlist=dept";
  544. oParam.async = false;
  545. oParam.callback = "cf_TRPID21001";
  546. tranf_submit(oParam);
  547. }
  548. function cf_TRPID21001(aSvcId, nErrorCode, sErrorMsg)
  549. {
  550. if( nErrorCode < 0 )
  551. {
  552. alert( sErrorMsg ) ;
  553. }
  554. else
  555. {
  556. ds_grid_grd_judglist.rowposition = -1;
  557. ds_grid_grd_deptlist.rowposition = -1;
  558. }
  559. }
  560. function lf_monthCalOnChange()
  561. {
  562. ds_send_data1.setColumn(0, "clamym", Div00.cp_monthCal00.getData());
  563. dsf_createDsRow("ds_search" , [{col: "clamym" , val: Div00.cp_monthCal00.getData()}
  564. , {col: "ioflag" , val: Div00.cmb_ioflag.value }
  565. , {col: "insukind" , val: Div00.cmb_insukind.value}]);
  566. var oParam = {};
  567. oParam.id = "TRPID20407";
  568. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  569. oParam.method = "reqGetClamdg";
  570. oParam.inds = "req=ds_search";
  571. oParam.outds = "ds_init_clamdg=clamdg";
  572. oParam.async = false;
  573. //oParam.callback = "cf_TRPID20407";
  574. tranf_submit(oParam);
  575. Div00.cmb_clamdg.index = 0;
  576. }
  577. function btn_judgexcel_onclick(obj:Button, e:ClickEventInfo)
  578. {
  579. if(ds_grid_grd_judglist.rowcount < 1 )
  580. {
  581. sysf_messageBox("엑셀저장할 심사자별 청구진행상황 데이터가", "I004"); //없습니다.
  582. return;
  583. }
  584. grdf_exportExcel(switch1.case1.grd_judglist, "심사자별 청구진행상황", "심사자별 청구진행상황");
  585. }
  586. function btn_deptexec_onclick(obj:Button, e:ClickEventInfo)
  587. {
  588. if(ds_grid_grd_deptlist.rowcount < 1 )
  589. {
  590. sysf_messageBox("엑셀저장할 진료과별 청구진행상황 데이터가", "I004"); //없습니다.
  591. return;
  592. }
  593. grdf_exportExcel(switch1.case2.grd_deptlist, "진료과별 청구진행상황", "진료과별 청구진행상황");
  594. }
  595. function btn_up_onclick(obj:Button, e:ClickEventInfo)
  596. {
  597. var curDate = Div00.cp_monthCal00.getData() + "01";
  598. var nextMonth = utlf_addMonth( curDate, 1 );
  599. Div00.cp_monthCal00.setData( nextMonth );
  600. lf_monthCalOnChange();
  601. }
  602. function btn_down_onclick(obj:Button, e:ClickEventInfo)
  603. {
  604. var curDate = Div00.cp_monthCal00.getData() + "01";
  605. var nextMonth = utlf_addMonth( curDate, -1 );
  606. Div00.cp_monthCal00.setData( nextMonth );
  607. lf_monthCalOnChange();
  608. }
  609. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  610. {
  611. lf_GetClamList();
  612. switch ( Div00.CheckBox00.value )
  613. {
  614. case "Y" :
  615. switch1.case2.grd_deptlist.setFormatColProperty(3, "size", 80); //진료의 컬럼 보이기
  616. break;
  617. case "N" :
  618. switch1.case2.grd_deptlist.setFormatColProperty(3, "size", 0); //진료의 컬럼 숨기기
  619. break;
  620. }
  621. }
  622. function button7_onclick(obj:Button, e:ClickEventInfo)
  623. {
  624. lf_Initialize();
  625. }
  626. function Div00_CheckBox00_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  627. {
  628. switch( obj.value )
  629. {
  630. case "Y" :
  631. Div00.caption5.visible = true;
  632. Div00.cmb_orddrid.visible = true;
  633. Div00.cmb_orddrid.value = "-";
  634. break;
  635. case "N" :
  636. Div00.caption5.visible = false;
  637. Div00.cmb_orddrid.visible = false;
  638. break;
  639. }
  640. }
  641. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  642. {
  643. switch( obj.tabindex )
  644. {
  645. case 0:
  646. Div00.caption46.visible = false; //진료과 캡션
  647. Div00.cmb_orddeptcd.visible = false; //진료과 콤보
  648. Div00.CheckBox00.visible = false; //의사별 조회 체크박스
  649. Div00.CheckBox00.value = Div00.CheckBox00.falsevalue;
  650. break;
  651. case 1:
  652. Div00.caption46.visible = true; //진료과 캡션
  653. Div00.cmb_orddeptcd.visible = true; //진료과 콤보
  654. Div00.CheckBox00.visible = true; //의사별 조회 체크박스
  655. break;
  656. }
  657. }
  658. function Div00_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  659. {
  660. ds_init_atdoctlist.clearData();
  661. dsf_createDsRow("ds_search" , [{col: "instcd" , val: sysf_getUserInfo("dutplceinstcd")}
  662. , {col: "orddeptcd" , val: obj.value}]);
  663. var oParam = {};
  664. oParam.id = "TRPIJ00204";
  665. oParam.service = "bfjudgapp.InHospJudgTrgtMan";
  666. oParam.method = "reqGetAtdoctList";
  667. oParam.inds = "req=ds_search";
  668. oParam.outds = "ds_init_atdoctlist=atdoctlist";
  669. oParam.async = false;
  670. //oParam.callback = "cf_TRPIJ00204";
  671. tranf_submit(oParam);
  672. }
  673. function Div00_cmb_ioflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  674. {
  675. lf_monthCalOnChange();
  676. }
  677. function switch1_case2_button3_onclick(obj:Button, e:ClickEventInfo)
  678. {
  679. col = "N";
  680. switch1.case2.grd_deptlist.selecttype = "multiarea";
  681. }
  682. function switch1_case2_button6_onclick(obj:Button, e:ClickEventInfo)
  683. {
  684. col = "Y";
  685. switch1.case2.grd_deptlist.selecttype = "multiarea";
  686. }
  687. function switch1_case2_button4_onclick(obj:Button, e:ClickEventInfo)
  688. {
  689. col = "N";
  690. switch1.case2.grd_deptlist.selecttype = "multirow";
  691. }
  692. function switch1_case1_button1_onclick(obj:Button, e:ClickEventInfo)
  693. {
  694. col = "N";
  695. switch1.case1.grd_judglist.selecttype = "multiarea";
  696. }
  697. function switch1_case1_button5_onclick(obj:Button, e:ClickEventInfo)
  698. {
  699. col = "Y";
  700. switch1.case1.grd_judglist.selecttype = "multiarea";
  701. }
  702. function switch1_case1_button2_onclick(obj:Button, e:ClickEventInfo)
  703. {
  704. col = "N";
  705. switch1.case1.grd_judglist.selecttype = "multirow";
  706. }
  707. function switch1_case1_grd_judglist_oncellclick(obj:Grid, e:GridClickEventInfo)
  708. {
  709. var lv_nAreaStartRow;
  710. var lv_nAreaEndRow;
  711. var lv_nAreaStartCol;
  712. var lv_nAreaEndCol;
  713. if(col == "Y")
  714. {
  715. lv_nAreaStartRow = 0;
  716. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  717. lv_nAreaStartCol = parseInt(obj.currentcol);
  718. lv_nAreaEndCol = parseInt(obj.currentcol);
  719. grdf_initGridStyle(obj);
  720. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  721. {
  722. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  723. {
  724. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  725. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  726. }
  727. }
  728. }
  729. else
  730. {
  731. grdf_initGridStyle(obj);
  732. }
  733. }
  734. function switch1_case1_grd_judglist_onkeydown(obj:Grid, e:KeyEventInfo)
  735. {
  736. if(col == "Y")
  737. {
  738. var CONST_SEPARATOR = " "; //컬럼별 구분자
  739. var lv_oBindDs = eval(obj.binddataset);
  740. var lv_sColID;
  741. var lv_sVal;
  742. var lv_sClipboard = "";
  743. var lv_nAreaStartRow;
  744. var lv_nAreaEndRow;
  745. var lv_nAreaStartCol;
  746. var lv_nAreaEndCol;
  747. if(obj.selecttype == "multiarea")
  748. {
  749. lv_nAreaStartRow = 0;
  750. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  751. lv_nAreaStartCol = parseInt(obj.currentcol);
  752. lv_nAreaEndCol = parseInt(obj.currentcol);
  753. }
  754. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  755. {
  756. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  757. {
  758. lv_sColID = obj.getCellProperty("body",nCell,"text");
  759. lv_sVal = obj.getCellValue(nRow,nCell);
  760. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  761. }
  762. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  763. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  764. }
  765. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  766. iv_sClipboard = lv_sClipboard;
  767. system.setClipboard("CF_TEXT",lv_sClipboard);
  768. }
  769. else
  770. {
  771. if (e.ctrlKey == true && e.keycode == 67 )
  772. {
  773. grdf_clipboardCopy(obj, "PAM");
  774. }
  775. }
  776. }
  777. function switch1_case2_grd_deptlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  778. {
  779. var lv_nAreaStartRow;
  780. var lv_nAreaEndRow;
  781. var lv_nAreaStartCol;
  782. var lv_nAreaEndCol;
  783. if(col == "Y")
  784. {
  785. lv_nAreaStartRow = 0;
  786. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  787. lv_nAreaStartCol = parseInt(obj.currentcol);
  788. lv_nAreaEndCol = parseInt(obj.currentcol);
  789. grdf_initGridStyle(obj);
  790. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  791. {
  792. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  793. {
  794. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  795. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  796. }
  797. }
  798. }
  799. else
  800. {
  801. grdf_initGridStyle(obj);
  802. }
  803. }
  804. function switch1_case2_grd_deptlist_onkeydown(obj:Grid, e:KeyEventInfo)
  805. {
  806. if(col == "Y")
  807. {
  808. var CONST_SEPARATOR = " "; //컬럼별 구분자
  809. var lv_oBindDs = eval(obj.binddataset);
  810. var lv_sColID;
  811. var lv_sVal;
  812. var lv_sClipboard = "";
  813. var lv_nAreaStartRow;
  814. var lv_nAreaEndRow;
  815. var lv_nAreaStartCol;
  816. var lv_nAreaEndCol;
  817. if(obj.selecttype == "multiarea")
  818. {
  819. lv_nAreaStartRow = 0;
  820. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  821. lv_nAreaStartCol = parseInt(obj.currentcol);
  822. lv_nAreaEndCol = parseInt(obj.currentcol);
  823. }
  824. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  825. {
  826. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  827. {
  828. lv_sColID = obj.getCellProperty("body",nCell,"text");
  829. lv_sVal = obj.getCellValue(nRow,nCell);
  830. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  831. }
  832. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  833. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  834. }
  835. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  836. iv_sClipboard = lv_sClipboard;
  837. system.setClipboard("CF_TEXT",lv_sClipboard);
  838. }
  839. else
  840. {
  841. if (e.ctrlKey == true && e.keycode == 67 )
  842. {
  843. grdf_clipboardCopy(obj, "PAM");
  844. }
  845. }
  846. }
  847. ]]></Script>
  848. </Form>
  849. </FDL>