SMPAS04100_전문의별특진환자수및수입현황.xfdl 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SMPAS04100" position="absolute 0 0 1211 784" titletext="전문의별특진환자수및수입현황" onload="SMPAS04100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" position="absolute 0 0 1211 13" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption60" class="tit_1" position="absolute 0 0 212 14" style="font:돋움,,돋움;align: middle;" text="전문의별 특진환자수 및 수입현황" />
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="group2" position="absolute 4 22 1207 60" style="">
  15. <Layouts>
  16. <Layout>
  17. <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 1202 35" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;" />
  18. <Static id="caption2" class="search_name" position="absolute 15 9 213 26" style="" text="기간 ~" />
  19. <Button id="btn_search" class="btn1_letter2" position="absolute 1139 7 1195 29" style="" text="조회" onclick="group2_btn_search_onclick" />
  20. <Calendar id="input7" class="input_default" taborder="7" position="absolute 70 9 190 28" style="" anchor="default" onkeydown="group2_input7_onkeydown" />
  21. <Calendar id="input1" class="input_default" taborder="7" position="absolute 215 9 335 28" style="" anchor="default" onkeydown="group2_input1_onkeydown" />
  22. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio1" position="absolute 430 9 620 28" style="">
  23. <Dataset id="innerdataset">
  24. <ColumnInfo>
  25. <Column id="codecolumn" />
  26. <Column id="datacolumn" />
  27. </ColumnInfo>
  28. <Rows>
  29. <Row>
  30. <Col id="codecolumn">A</Col>
  31. <Col id="datacolumn">전체</Col>
  32. </Row>
  33. <Row>
  34. <Col id="codecolumn">F</Col>
  35. <Col id="datacolumn">초진</Col>
  36. </Row>
  37. <Row>
  38. <Col id="codecolumn">N</Col>
  39. <Col id="datacolumn">전체-초진</Col>
  40. </Row>
  41. </Rows>
  42. </Dataset>
  43. </Radio>
  44. <Static id="caption5" position="absolute 355 11 422 25" style="font:,,bold;" text="초재진구분" />
  45. <Button id="button95" class="btn6_letter4" visible="true" position="absolute 1046 7 1126 29" style="" text="액셀저장" onclick="group2_button95_onclick" />
  46. <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1133 7 1136 29" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
  47. <CheckBox id="bool1" truevalue="Y" falsevalue="N" position="absolute 640 10 665 25" style="" text="" anchor="left bottom" />
  48. <Static id="caption4" position="absolute 665 6 745 31" style="" text="감면포함여부" />
  49. <Button id="btn_download" class="btn4_letter4" taborder="3" visible="true" position="absolute 860 7 940 29" style="" text="파일생성" onclick="group2_btn_download_onclick" />
  50. <Button id="btn_log" class="btn4_letter4" taborder="3" visible="true" position="absolute 950 7 1030 29" style="" text="생성로그" onclick="group2_btn_log_onclick" />
  51. <Shape id="line2" class="line_4" linetype="vertical" position="absolute 1038 7 1041 29" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
  52. </Layout>
  53. </Layouts>
  54. </Div>
  55. <Grid id="datagrid1" binddataset="ds_main_medicalexamamtlist_medicalexamamtstats" position="absolute 5 85 1205 766" style="">
  56. <Formats>
  57. <Format id="default">
  58. <Columns>
  59. <Column size="85" />
  60. <Column size="97" />
  61. <Column size="85" />
  62. <Column size="78" />
  63. <Column size="46" />
  64. <Column size="80" />
  65. <Column size="80" />
  66. <Column size="80" />
  67. <Column size="80" />
  68. <Column size="80" />
  69. <Column size="80" />
  70. <Column size="80" />
  71. <Column size="80" />
  72. <Column size="80" />
  73. <Column size="80" />
  74. <Column size="46" />
  75. <Column size="80" />
  76. <Column size="80" />
  77. <Column size="80" />
  78. <Column size="80" />
  79. <Column size="80" />
  80. <Column size="80" />
  81. <Column size="80" />
  82. <Column size="80" />
  83. <Column size="80" />
  84. <Column size="80" />
  85. <Column size="46" />
  86. <Column size="80" />
  87. <Column size="80" />
  88. <Column size="80" />
  89. <Column size="80" />
  90. <Column size="80" />
  91. <Column size="80" />
  92. <Column size="80" />
  93. <Column size="80" />
  94. <Column size="80" />
  95. <Column size="80" />
  96. </Columns>
  97. <Rows>
  98. <Row size="24" band="head" />
  99. <Row size="24" />
  100. </Rows>
  101. <Band id="head">
  102. <Cell text="구 분" />
  103. <Cell col="1" text="구 분" />
  104. <Cell col="2" text="구 분" />
  105. <Cell col="3" text="구 분" />
  106. <Cell col="4" text="외 래" />
  107. <Cell col="5" text="외 래" />
  108. <Cell col="6" text="외 래" />
  109. <Cell col="7" text="외 래" />
  110. <Cell col="8" text="외 래" />
  111. <Cell col="9" text="외 래" />
  112. <Cell col="10" text="외 래" />
  113. <Cell col="11" text="외 래" />
  114. <Cell col="12" text="외 래" />
  115. <Cell col="13" text="외 래" />
  116. <Cell col="14" text="외 래" />
  117. <Cell col="15" text="입 원" />
  118. <Cell col="16" text="입 원" />
  119. <Cell col="17" text="입 원" />
  120. <Cell col="18" text="입 원" />
  121. <Cell col="19" text="입 원" />
  122. <Cell col="20" text="입 원" />
  123. <Cell col="21" text="입 원" />
  124. <Cell col="22" text="입 원" />
  125. <Cell col="23" text="입 원" />
  126. <Cell col="24" text="입 원" />
  127. <Cell col="25" text="입 원" />
  128. <Cell col="26" text="합 계" />
  129. <Cell col="27" text="합 계" />
  130. <Cell col="28" text="합 계" />
  131. <Cell col="29" text="합 계" />
  132. <Cell col="30" text="합 계" />
  133. <Cell col="31" text="합 계" />
  134. <Cell col="32" text="합 계" />
  135. <Cell col="33" text="합 계" />
  136. <Cell col="34" text="합 계" />
  137. <Cell col="35" text="합 계" />
  138. <Cell col="36" text="합 계|임상과" />
  139. <Cell col="37" text="분과" />
  140. <Cell col="38" text="의사ID" />
  141. <Cell col="39" text="의사명" />
  142. <Cell col="40" text="환자수" />
  143. <Cell col="41" text="순수익" />
  144. <Cell col="42" text="마취" />
  145. <Cell col="43" text="방사선" />
  146. <Cell col="44" text="CT" />
  147. <Cell col="45" text="진단의학검사" />
  148. <Cell col="46" text="병리검사" />
  149. <Cell col="47" text="내시경" />
  150. <Cell col="48" text="초음파" />
  151. <Cell col="49" text="U_code" />
  152. <Cell col="50" text="소계" />
  153. <Cell col="51" text="환자수" />
  154. <Cell col="52" text="순수익" />
  155. <Cell col="53" text="마취" />
  156. <Cell col="54" text="방사선" />
  157. <Cell col="55" text="CT" />
  158. <Cell col="56" text="진단의학검사" />
  159. <Cell col="57" text="병리검사" />
  160. <Cell col="58" text="내시경" />
  161. <Cell col="59" text="초음파" />
  162. <Cell col="60" text="U_code" />
  163. <Cell col="61" text="소계" />
  164. <Cell col="62" text="환자수" />
  165. <Cell col="63" text="순수익" />
  166. <Cell col="64" text="마취" />
  167. <Cell col="65" text="방사선" />
  168. <Cell col="66" text="CT" />
  169. <Cell col="67" text="진단의학검사" />
  170. <Cell col="68" text="병리검사" />
  171. <Cell col="69" text="내시경" />
  172. <Cell col="70" text="초음파" />
  173. <Cell col="71" text="U_code" />
  174. <Cell col="72" text="소계" />
  175. </Band>
  176. <Band id="body">
  177. <Cell text="bind:dept2depthngnm" />
  178. <Cell col="1" text="bind:dept1depthngnm" />
  179. <Cell col="2" text="bind:medispcl" />
  180. <Cell col="3" text="bind:usernm" />
  181. <Cell col="4" text="bind:opdpatcnt" />
  182. <Cell col="5" text="bind:opdremamt" />
  183. <Cell col="6" text="bind:opdaneamt" />
  184. <Cell col="7" text="bind:opdxrayamt" />
  185. <Cell col="8" text="bind:opdctamt" />
  186. <Cell col="9" text="bind:opddiagamt" />
  187. <Cell col="10" text="bind:opdlabamt" />
  188. <Cell col="11" text="bind:opdendoamt" />
  189. <Cell col="12" text="bind:opdsonoamt" />
  190. <Cell col="13" text="bind:opducodeamt" />
  191. <Cell col="14" text="bind:opdsumamt" />
  192. <Cell col="15" text="bind:ipdpatcnt" />
  193. <Cell col="16" text="bind:ipdremamt" />
  194. <Cell col="17" text="bind:ipdaneamt" />
  195. <Cell col="18" text="bind:ipdxrayamt" />
  196. <Cell col="19" text="bind:ipdctamt" />
  197. <Cell col="20" text="bind:ipddiagamt" />
  198. <Cell col="21" text="bind:ipdlabamt" />
  199. <Cell col="22" text="bind:ipdendoamt" />
  200. <Cell col="23" text="bind:ipdsonoamt" />
  201. <Cell col="24" text="bind:ipducodeamt" />
  202. <Cell col="25" text="bind:ipdsumamt" />
  203. <Cell col="26" text="bind:sumpatcnt" />
  204. <Cell col="27" text="bind:sumremamt" />
  205. <Cell col="28" text="bind:sumaneamt" />
  206. <Cell col="29" text="bind:sumxrayamt" />
  207. <Cell col="30" text="bind:sumctamt" />
  208. <Cell col="31" text="bind:sumdiagamt" />
  209. <Cell col="32" text="bind:sumlabamt" />
  210. <Cell col="33" text="bind:sumendoamt" />
  211. <Cell col="34" text="bind:sumsonoamt" />
  212. <Cell col="35" text="bind:sumucodeamt" />
  213. <Cell col="36" text="bind:sumsumamt" />
  214. </Band>
  215. </Format>
  216. </Formats>
  217. </Grid>
  218. <Static id="caption6" position="absolute 7 70 102 90" style="" text="가톨릭대학교 :" />
  219. <Edit id="output1" position="absolute 100 70 200 89" style="font:,,bold;" anchor="default" readonly="true" />
  220. <Static id="caption3" position="absolute 760 65 1200 79" style="color:#ff0000;" text="시스템에 부하를 줄 수 있으므로 한달 초과기간으로는 조회하지 마시기 바랍니다." />
  221. <Static id="caption1" position="absolute 5 65 445 79" style="color:#ff0000;" text="한달 기간 조회시 5분에서 10분 정도 걸릴 수 있습니다." />
  222. </Layout>
  223. </Layouts>
  224. <Objects>
  225. <Dataset id="ds_main_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  226. <ColumnInfo />
  227. </Dataset>
  228. <Dataset id="ds_main_medicalexamamtlist_medicalexamamtstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  229. <ColumnInfo>
  230. <Column id="dept2depthngnm" type="STRING" size="256" />
  231. <Column id="dept1depthngnm" type="STRING" size="256" />
  232. <Column id="medispcl" type="STRING" size="256" />
  233. <Column id="usernm" type="STRING" size="256" />
  234. <Column id="opdpatcnt" type="STRING" size="256" />
  235. <Column id="opdremamt" type="STRING" size="256" />
  236. <Column id="opdaneamt" type="STRING" size="256" />
  237. <Column id="opdxrayamt" type="STRING" size="256" />
  238. <Column id="opdctamt" type="STRING" size="256" />
  239. <Column id="opddiagamt" type="STRING" size="256" />
  240. <Column id="opdlabamt" type="STRING" size="256" />
  241. <Column id="opdendoamt" type="STRING" size="256" />
  242. <Column id="opdsonoamt" type="STRING" size="256" />
  243. <Column id="opducodeamt" type="STRING" size="256" />
  244. <Column id="opdsumamt" type="STRING" size="256" />
  245. <Column id="ipdpatcnt" type="STRING" size="256" />
  246. <Column id="ipdremamt" type="STRING" size="256" />
  247. <Column id="ipdaneamt" type="STRING" size="256" />
  248. <Column id="ipdxrayamt" type="STRING" size="256" />
  249. <Column id="ipdctamt" type="STRING" size="256" />
  250. <Column id="ipddiagamt" type="STRING" size="256" />
  251. <Column id="ipdlabamt" type="STRING" size="256" />
  252. <Column id="ipdendoamt" type="STRING" size="256" />
  253. <Column id="ipdsonoamt" type="STRING" size="256" />
  254. <Column id="ipducodeamt" type="STRING" size="256" />
  255. <Column id="ipdsumamt" type="STRING" size="256" />
  256. <Column id="sumpatcnt" type="STRING" size="256" />
  257. <Column id="sumremamt" type="STRING" size="256" />
  258. <Column id="sumaneamt" type="STRING" size="256" />
  259. <Column id="sumxrayamt" type="STRING" size="256" />
  260. <Column id="sumctamt" type="STRING" size="256" />
  261. <Column id="sumdiagamt" type="STRING" size="256" />
  262. <Column id="sumlabamt" type="STRING" size="256" />
  263. <Column id="sumendoamt" type="STRING" size="256" />
  264. <Column id="sumsonoamt" type="STRING" size="256" />
  265. <Column id="sumucodeamt" type="STRING" size="256" />
  266. <Column id="sumsumamt" type="STRING" size="256" />
  267. </ColumnInfo>
  268. <Rows>
  269. <Row>
  270. <Col id="dept2depthngnm"></Col>
  271. <Col id="dept1depthngnm"></Col>
  272. <Col id="medispcl"></Col>
  273. <Col id="usernm"></Col>
  274. <Col id="opdpatcnt"></Col>
  275. <Col id="opdremamt"></Col>
  276. <Col id="opdaneamt"></Col>
  277. <Col id="opdxrayamt"></Col>
  278. <Col id="opdctamt"></Col>
  279. <Col id="opddiagamt"></Col>
  280. <Col id="opdlabamt"></Col>
  281. <Col id="opdendoamt"></Col>
  282. <Col id="opdsonoamt"></Col>
  283. <Col id="opducodeamt"></Col>
  284. <Col id="opdsumamt"></Col>
  285. <Col id="ipdpatcnt"></Col>
  286. <Col id="ipdremamt"></Col>
  287. <Col id="ipdaneamt"></Col>
  288. <Col id="ipdxrayamt"></Col>
  289. <Col id="ipdctamt"></Col>
  290. <Col id="ipddiagamt"></Col>
  291. <Col id="ipdlabamt"></Col>
  292. <Col id="ipdendoamt"></Col>
  293. <Col id="ipdsonoamt"></Col>
  294. <Col id="ipducodeamt"></Col>
  295. <Col id="ipdsumamt"></Col>
  296. <Col id="sumpatcnt"></Col>
  297. <Col id="sumremamt"></Col>
  298. <Col id="sumaneamt"></Col>
  299. <Col id="sumxrayamt"></Col>
  300. <Col id="sumctamt"></Col>
  301. <Col id="sumdiagamt"></Col>
  302. <Col id="sumlabamt"></Col>
  303. <Col id="sumendoamt"></Col>
  304. <Col id="sumsonoamt"></Col>
  305. <Col id="sumucodeamt"></Col>
  306. <Col id="sumsumamt"></Col>
  307. </Row>
  308. </Rows>
  309. </Dataset>
  310. <Dataset id="ds_main_medicalexamamtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  311. <ColumnInfo />
  312. </Dataset>
  313. <Dataset id="ds_main_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  314. <ColumnInfo>
  315. <Column id="fromdata" type="STRING" size="256" />
  316. <Column id="todata" type="STRING" size="256" />
  317. <Column id="dcgubun" type="STRING" size="256" />
  318. <Column id="reduyn" type="STRING" size="256" />
  319. </ColumnInfo>
  320. <Rows>
  321. <Row>
  322. <Col id="fromdata"></Col>
  323. <Col id="todata"></Col>
  324. <Col id="dcgubun">A</Col>
  325. <Col id="reduyn"></Col>
  326. </Row>
  327. </Rows>
  328. </Dataset>
  329. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  330. <ColumnInfo>
  331. <Column id="fromdata" type="STRING" size="256" />
  332. <Column id="todata" type="STRING" size="256" />
  333. <Column id="datagubun" type="STRING" size="256" />
  334. <Column id="erdata" type="STRING" size="256" />
  335. <Column id="dcgubun" type="STRING" size="256" />
  336. <Column id="reduyn" type="STRING" size="256" />
  337. <Column id="filenm" type="STRING" size="256" />
  338. </ColumnInfo>
  339. </Dataset>
  340. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  341. <ColumnInfo />
  342. </Dataset>
  343. <Dataset id="ds_main_medicalsumlist_medicalsumstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  344. <ColumnInfo>
  345. <Column id="dept1depthngnm" type="STRING" size="256" />
  346. <Column id="medispcl" type="STRING" size="256" />
  347. <Column id="usernm" type="STRING" size="256" />
  348. <Column id="opdpatcnt" type="STRING" size="256" />
  349. <Column id="opdremamt" type="STRING" size="256" />
  350. <Column id="opdaneamt" type="STRING" size="256" />
  351. <Column id="opdxrayamt" type="STRING" size="256" />
  352. <Column id="opdctamt" type="STRING" size="256" />
  353. <Column id="opddiagamt" type="STRING" size="256" />
  354. <Column id="opdlabamt" type="STRING" size="256" />
  355. <Column id="opdendoamt" type="STRING" size="256" />
  356. <Column id="opdsonoamt" type="STRING" size="256" />
  357. <Column id="opducodeamt" type="STRING" size="256" />
  358. <Column id="opdsumamt" type="STRING" size="256" />
  359. <Column id="ipdpatcnt" type="STRING" size="256" />
  360. <Column id="ipdremamt" type="STRING" size="256" />
  361. <Column id="ipdaneamt" type="STRING" size="256" />
  362. <Column id="ipdxrayamt" type="STRING" size="256" />
  363. <Column id="ipdctamt" type="STRING" size="256" />
  364. <Column id="ipddiagamt" type="STRING" size="256" />
  365. <Column id="ipdlabamt" type="STRING" size="256" />
  366. <Column id="ipdendoamt" type="STRING" size="256" />
  367. <Column id="ipdsonoamt" type="STRING" size="256" />
  368. <Column id="ipducodeamt" type="STRING" size="256" />
  369. <Column id="ipdsumamt" type="STRING" size="256" />
  370. <Column id="sumpatcnt" type="STRING" size="256" />
  371. <Column id="sumremamt" type="STRING" size="256" />
  372. <Column id="sumaneamt" type="STRING" size="256" />
  373. <Column id="sumxrayamt" type="STRING" size="256" />
  374. <Column id="sumctamt" type="STRING" size="256" />
  375. <Column id="sumdiagamt" type="STRING" size="256" />
  376. <Column id="sumlabamt" type="STRING" size="256" />
  377. <Column id="sumendoamt" type="STRING" size="256" />
  378. <Column id="sumsonoamt" type="STRING" size="256" />
  379. <Column id="sumucodeamt" type="STRING" size="256" />
  380. <Column id="sumsumamt" type="STRING" size="256" />
  381. </ColumnInfo>
  382. </Dataset>
  383. <Dataset id="ds_main_medicalsumlist_medicalsumstats_dept2depthngnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  384. <ColumnInfo>
  385. <Column id="총계" type="STRING" size="256" />
  386. </ColumnInfo>
  387. <Rows>
  388. <Row>
  389. <Col id="총계"></Col>
  390. </Row>
  391. </Rows>
  392. </Dataset>
  393. <Dataset id="ds_main_userinfo_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  394. <ColumnInfo>
  395. <Column id="user" type="STRING" size="256" />
  396. </ColumnInfo>
  397. <Rows>
  398. <Row>
  399. <Col id="user"></Col>
  400. </Row>
  401. </Rows>
  402. </Dataset>
  403. <Dataset id="ds_main_medicalsumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  404. <ColumnInfo />
  405. </Dataset>
  406. </Objects>
  407. <Bind>
  408. <BindItem id="item0" compid="group2.input7" propid="value" datasetid="ds_main_search" columnid="fromdata" />
  409. <BindItem id="item1" compid="group2.input1" propid="value" datasetid="ds_main_search" columnid="todata" />
  410. <BindItem id="item2" compid="group2.radio1" propid="value" datasetid="ds_main_search" columnid="dcgubun" />
  411. <BindItem id="item3" compid="group2.bool1" propid="value" datasetid="ds_main_search" columnid="reduyn" />
  412. <BindItem id="item4" compid="output1" propid="value" datasetid="ds_main_hospitalname_codename" columnid="cenm" />
  413. </Bind>
  414. <Script type="xscript4.0"><![CDATA[include '../../.._com_commonweb_js_common.js'
  415. include '../../.._com_commonweb_js_utilHelper.js'
  416. include '../../.._com_commonweb_js_tfHelper.js'
  417. include '../../.._com_commonweb_js_dateHelper.js'
  418. include '../../.._com_commonweb_js_numericHelper.js'
  419. include '../../.._com_commonweb_js_stringHelper.js'
  420. include '../../.._com_basiccodeweb_js_ZBC001.js'
  421. include '../../.._com_zipcodeweb_js_ZBP001.js'
  422. include '../../.._com_batchinfoweb_js_ZSB001.js'
  423. function SMPAS04100_onload(obj:Form, e:LoadEventInfo) {
  424. frmf_initForm(obj);
  425. //grdf_initGrid(grd_XXX);
  426. //grdf_setGridSort(grd_XXX);
  427. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  428. var vToday = new Date();
  429. var tmpYear = vToday.getYear();
  430. var tmpMonth = vToday.getMonth()+1;
  431. var tmpDate = vToday.getDate();
  432. if (tmpMonth < 10) { tmpMonth = "0"+tmpMonth; }
  433. if (tmpDate < 10) { tmpDate = "0"+tmpDate; }
  434. ds_main_search.setColumn( 0, "fromdata", tmpYear+""+tmpMonth+""+tmpDate);
  435. ds_main_search.setColumn( 0, "todata", tmpYear+""+tmpMonth+""+tmpDate);
  436. ds_main_search.setColumn( 0, "reduyn", "N");
  437. //Rexport에 출력날자를 보여주기위한 데이터 저장
  438. dsf_makeValue( ds_main_tmp_print, "date", "string", "" );
  439. ds_main_tmp_print_date.copyData(ds_main_search_fromdata);
  440. ds_main_tmp_print.setColumn( 0, "date", ds_main_search.getColumn(0, "fromdata"));
  441. //group2.input7.refresh();
  442. //group2.input1.refresh();
  443. // submit("TRPAS01332");
  444. var oParam = {};
  445. oParam.id = "TRPAS01332";
  446. oParam.service = "planteamstatsapp.planTeamOrdStats";
  447. oParam.method = "reqGetInterRecDusList";
  448. oParam.inds = "req=ds_";
  449. oParam.outds = "ds_=codename";
  450. oParam.async = false;
  451. oParam.callback = "cf_TRPAS01332";
  452. tranf_submit(oParam);
  453. /*
  454. function cf_TRPAS01332(sSvcId, nErrorCode, sErrorMsg) {
  455. if(nErrorCode < 0) return;
  456. }
  457. function cf_TRPAS01332(sSvcId, nErrorCode, sErrorMsg) {
  458. arErrorCode.push(sSvcId, nErrorCode);
  459. }
  460. arErrorCode.pop("TRPAS01332") > -1
  461. arErrorCode.pop("TRPAS01332") < 0
  462. */
  463. ds_main_hospitalname_codename.setColumn( 0, "cenm",ds_main_hospitalname_codename.getColumn(0, "cenm"));
  464. //model.refresh();
  465. }
  466. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  467. var fromdata = ds_main_search.getColumn(0, "fromdata");
  468. var todata = ds_main_search.getColumn(0, "todata");
  469. if(fromdata==""||fromdata==null){
  470. sysf_messageBox("시작일을 입력","E007");
  471. group2.input7.setFocus();
  472. return false;
  473. }
  474. if(todata==""|| todata==null){
  475. sysf_messageBox("끝일을 입력","E007");
  476. group2.input1.setFocus();
  477. return false;
  478. }
  479. if(fromdata > todata){
  480. sysf_messageBox("시작일이 끝일자보다 클수 없습니다", "")
  481. return false;
  482. }
  483. if( utlf_getDateInterval(fromdata, todata) >= 35 ) {
  484. sysf_messageBox("조회기간이 한달을 초과할 수 없습니다", "")
  485. return false;
  486. }else{
  487. ds_send.setColumn( 0, "fromdata" ,ds_main_search.getColumn(0, "fromdata"));
  488. ds_send.setColumn( 0, "todata" ,ds_main_search.getColumn(0, "todata"));
  489. ds_send.setColumn( 0, "dcgubun" ,ds_main_search.getColumn(0, "dcgubun"));
  490. ds_send.setColumn( 0, "reduyn" ,ds_main_search.getColumn(0, "reduyn"));
  491. //로드값이 있을때 엑셀저장여부 버튼 생성여부
  492. var nodelist = bind1.nodeset;
  493. if(nodelist.length>0){
  494. group2.line1.visible =true;
  495. group2.button95.visible = true;
  496. }else{
  497. group2.line1.visible =false;
  498. group2.button95.visible = false;
  499. }
  500. datagrid1.rebuildStyle(0,0,datagrid1.rows-datagrid1.frozenRows-1,datagrid1.cols-1);
  501. ds_main_medicalexamamtlist.clearData(); ds_main_medicalexamamtlist.addRow();
  502. ds_main_medicalexamamtlist.clearData();
  503. dsf_makeValue( ds_main, "medicalexamamtlist", "string", "" );
  504. // submit("TRPAS04101");
  505. var oParam = {};
  506. oParam.id = "TRPAS04101";
  507. oParam.service = "planteamstatsapp.planTeamOrdStats";
  508. oParam.method = "reqGetDocSpecAmtList";
  509. oParam.inds = "req=ds_";
  510. oParam.outds = "ds_=medicalexamamtstats";
  511. oParam.async = false;
  512. oParam.callback = "cf_TRPAS04101";
  513. tranf_submit(oParam);
  514. /*
  515. function cf_TRPAS04101(sSvcId, nErrorCode, sErrorMsg) {
  516. if(nErrorCode < 0) return;
  517. }
  518. function cf_TRPAS04101(sSvcId, nErrorCode, sErrorMsg) {
  519. arErrorCode.push(sSvcId, nErrorCode);
  520. }
  521. arErrorCode.pop("TRPAS04101") > -1
  522. arErrorCode.pop("TRPAS04101") < 0
  523. */
  524. //서브토탈 소계값 출력그리드 위치 (“above:상단에 삽입 “below: 하단에 삽입)
  525. datagrid1.subtotalposition="below";
  526. //데이터그리드 컬럼개수구하기
  527. var cols = datagrid1.cols-datagrid1.fixedCols;
  528. //서브토탈 초기화 subtotal("clear":초기화)
  529. //datagrid1.subtotal("clear", 0, i, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffff00; color:#0000ff; font-weight:bold; ", 0, "임상과소계", true);
  530. //총계합
  531. ds_main_medicalexamamtlist_medicalexamamtstats.copyData(ds_main_medicalsumlist_medicalsumstats);
  532. //서브미션2회이상 할때 데이터 그리그 초기화 * 단 rebuild 했을경우 서브토탈이 Node에 없기때문에 나오지 않음
  533. datagrid1.rebuild();
  534. //서브토탈 subtotal("sum":합계 0:기준열 i:합계위치) **기타 인자값은 help참조
  535. var datagubn = ds_main_search.getColumn(0, "datagubun");
  536. for( var i = 4; i < cols; i++ ) {
  537. datagrid1.subtotal("sum", 0, i, "format:#,###; roundmode:round; roundpostion:0", "background-color:#99CCFF; color:#333333; font-weight:soild; ", 0, "임상과소계", true);
  538. }
  539. for( var i = 4; i < cols; i++ ) {
  540. datagrid1.subtotal("sum", 1, i, "format:#,###; roundmode:round; roundpostion:0", "background-color:#daecfd; color:#333333; font-weight:soild; ", 1, "분과소계", true);
  541. }
  542. //소계 및 통계 datagrid의 cell에서 merge
  543. var rows = datagrid1.rows-datagrid1.fixedRows;
  544. for(var i=0;i<=rows;i++){
  545. var value = datagrid1.valueMatrix(i+1,1);
  546. if(value =="분과소계"){
  547. datagrid1.mergeByFree(i+1,1,i+1,3);
  548. }
  549. var valuesum = datagrid1.valueMatrix(i+1,0);
  550. if (valuesum=="임상과소계"){
  551. datagrid1.mergeByFree(i+1,0,i+1,3);
  552. }
  553. }
  554. //subtotal()함수를 쓰면 맨 밑에 총계의 소계가 또 나오는데 그걸 삭제 해주는 함수
  555. datagrid1.removeRow(false);
  556. datagrid1.cellStyle("background-color", datagrid1.rows-datagrid1.frozenRows-1, 0, datagrid1.rows-datagrid1.frozenRows-1, datagrid1.cols-1) = "#99CCFF";
  557. datagrid1.valueMatrix(datagrid1.rows-datagrid1.frozenRows-1,0) = "총 계";
  558. datagrid1.mergeByFree(datagrid1.rows-datagrid1.frozenRows-1,0,datagrid1.rows-datagrid1.frozenRows-1,3);
  559. if (datagrid1.rows-datagrid1.frozenRows-1 > 0)
  560. {
  561. datagrid1.row = 0;
  562. }
  563. //datagrid 재 생성
  564. //datagrid1.refresh();
  565. }
  566. }
  567. function group2_input7_onkeydown(obj:Calendar, e:KeyEventInfo) {
  568. if( event.keyCode == 13 ) {
  569. var pCurTargetObj = event.ptarget.parent;
  570. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  571. event.keyCode = 9;
  572. pCurTargetObj.dispatch("onkeydown");
  573. }
  574. else {
  575. event.keyCode = 9;
  576. }
  577. }
  578. event.stopPropagation();
  579. }
  580. function group2_input1_onkeydown(obj:Calendar, e:KeyEventInfo) {
  581. if( event.keyCode == 13 ) {
  582. var pCurTargetObj = event.ptarget.parent;
  583. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  584. event.keyCode = 9;
  585. pCurTargetObj.dispatch("onkeydown");
  586. }
  587. else {
  588. event.keyCode = 9;
  589. }
  590. }
  591. event.stopPropagation();
  592. }
  593. function group2_button95_onclick(obj:Button, e:ClickEventInfo) {
  594. var vToday = new Date();
  595. var tmpYear = vToday.getYear();
  596. var tmpMonth = vToday.getMonth()+1;
  597. var tmpDate = vToday.getDate();
  598. var tmpdcgubun = ds_main_search.getColumn(0, "dcgubun");
  599. var strdcgubun;
  600. if (tmpdcgubun == "A")
  601. {
  602. strdcgubun = "전체";
  603. }
  604. else if (tmpdcgubun == "F")
  605. {
  606. strdcgubun = "초진";
  607. }
  608. else if (tmpdcgubun == "N")
  609. {
  610. strdcgubun = "전체-초진";
  611. }
  612. // ds_documenttitle.setColumn( 0, "title",document.title);
  613. //
  614. //model.refresh();
  615. // var subjectTitle = ds_documenttitle.getColumn(0, "title");
  616. //엑셀저장 여부(타이틀별)
  617. //강제 이름을 지정해야 서버에서 제대로 보입니다.
  618. var fileName = window.fileDialog("save", "", false, "전문의별특진환자수및수입현황("+strdcgubun+")"+tmpYear+tmpMonth+tmpDate, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  619. if (fileName != "")
  620. {
  621. datagrid1.saveExcel(fileName, "전문의별특진환자수및수입현황("+strdcgubun+")"+tmpYear+tmpMonth+tmpDate, true, true, "", "", true);
  622. }
  623. }
  624. function group2_btn_download_onclick(obj:Button, e:ClickEventInfo) {
  625. //저장파일명
  626. //var filenm = cb_rpt.item(cb_rpt.focusIndex).label+"("+ ipt_procdd.label+").csv" ;
  627. var filenm=ds_main_search.getColumn(0, "fromdata")+"_"+ds_main_search.getColumn(0, "todata")+"전문의별 특진환자수및수입";
  628. var fromdata = ds_main_search.getColumn(0, "fromdata");
  629. var todata = ds_main_search.getColumn(0, "todata");
  630. if(fromdata==""||fromdata==null){
  631. sysf_messageBox("시작일을 입력","E007");
  632. group2.input7.setFocus();
  633. return false;
  634. }
  635. if(todata==""|| todata==null){
  636. sysf_messageBox("끝일을 입력","E007");
  637. group2.input1.setFocus();
  638. return false;
  639. }
  640. if(fromdata > todata){
  641. sysf_messageBox("시작일이 끝일자보다 클수 없습니다", "")
  642. return false;
  643. }
  644. if( utlf_getDateInterval(fromdata, todata) >= 35 ) {
  645. sysf_messageBox("조회기간이 한달을 초과할 수 없습니다", "")
  646. return false;
  647. }else{
  648. ds_send.setColumn( 0, "filenm", filenm);
  649. ds_send.setColumn( 0, "fromdata",ds_main_search.getColumn(0, "fromdata"));
  650. ds_send.setColumn( 0, "todata",ds_main_search.getColumn(0, "todata"));
  651. ds_send.setColumn( 0, "dcgubun",ds_main_search.getColumn(0, "dcgubun"));
  652. ds_send.setColumn( 0, "reduyn",ds_main_search.getColumn(0, "reduyn"));
  653. // submit("TXPAS04100");
  654. var oParam = {};
  655. oParam.id = "TXPAS04100";
  656. oParam.service = "planteamstatsapp.DocSpecAmtList";
  657. oParam.method = "reqExeMakeDocSpecAmtList";
  658. oParam.inds = "cretlist=ds_";
  659. oParam.outds = "";
  660. oParam.async = false;
  661. oParam.callback = "cf_TXPAS04100";
  662. tranf_submit(oParam);
  663. /*
  664. function cf_TXPAS04100(sSvcId, nErrorCode, sErrorMsg) {
  665. if(nErrorCode < 0) return;
  666. }
  667. function cf_TXPAS04100(sSvcId, nErrorCode, sErrorMsg) {
  668. arErrorCode.push(sSvcId, nErrorCode);
  669. }
  670. arErrorCode.pop("TXPAS04100") > -1
  671. arErrorCode.pop("TXPAS04100") < 0
  672. */
  673. }
  674. group2.btn_log.dispatch("DOMActivate");
  675. }
  676. function group2_btn_log_onclick(obj:Button, e:ClickEventInfo) {
  677. // 샘생성 배치 로그 확인
  678. var todd = utlf_getCurrentDate();
  679. todd = todd.toDate().getAddDate(+1, 'D');
  680. zsbfOpenBatchLogPopup("planteamstatsmgr.DocSpecAmtListBatch",utlf_getCurrentDate(),todd.getDateFormat());
  681. }
  682. ]]></Script>
  683. </Form>
  684. </FDL>