SMAES02900_핵의학체내장비가동률통계.xfdl 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES02900" position="absolute 0 0 1207 807" titletext="장비가동률 통계" oninit="SMAES02900_oninit" onload="SMAES02900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 68 1193 796" anchor="all">
  8. <Tabpages>
  9. <Tabpage id="case1" text="환자수">
  10. <Layouts>
  11. <Layout>
  12. <Grid id="grd_list" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 5 1190 657" anchor="all">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="21"/>
  17. <Column size="35"/>
  18. <Column size="110"/>
  19. <Column size="120"/>
  20. <Column size="38"/>
  21. <Column size="38"/>
  22. <Column size="38"/>
  23. <Column size="38"/>
  24. <Column size="38"/>
  25. <Column size="38"/>
  26. <Column size="38"/>
  27. <Column size="38"/>
  28. <Column size="38"/>
  29. <Column size="38"/>
  30. <Column size="38"/>
  31. <Column size="38"/>
  32. <Column size="38"/>
  33. <Column size="38"/>
  34. <Column size="38"/>
  35. <Column size="38"/>
  36. <Column size="38"/>
  37. <Column size="38"/>
  38. <Column size="38"/>
  39. <Column size="38"/>
  40. <Column size="38"/>
  41. <Column size="38"/>
  42. <Column size="38"/>
  43. <Column size="38"/>
  44. <Column size="38"/>
  45. <Column size="38"/>
  46. <Column size="38"/>
  47. <Column size="38"/>
  48. <Column size="38"/>
  49. <Column size="38"/>
  50. <Column size="38"/>
  51. <Column size="60"/>
  52. <Column size="60"/>
  53. </Columns>
  54. <Rows>
  55. <Row size="24" band="head"/>
  56. <Row size="24"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell/>
  60. <Cell col="1" text="월"/>
  61. <Cell col="2" text="검사실"/>
  62. <Cell col="3" text="장비명"/>
  63. <Cell col="4" text="1일"/>
  64. <Cell col="5" text="2일"/>
  65. <Cell col="6" text="3일"/>
  66. <Cell col="7" text="4일"/>
  67. <Cell col="8" text="5일"/>
  68. <Cell col="9" text="6일"/>
  69. <Cell col="10" text="7일"/>
  70. <Cell col="11" text="8일"/>
  71. <Cell col="12" text="9일"/>
  72. <Cell col="13" text="10일"/>
  73. <Cell col="14" text="11일"/>
  74. <Cell col="15" text="12일"/>
  75. <Cell col="16" text="13일"/>
  76. <Cell col="17" text="14일"/>
  77. <Cell col="18" text="15일"/>
  78. <Cell col="19" text="16일"/>
  79. <Cell col="20" text="17일"/>
  80. <Cell col="21" text="18일"/>
  81. <Cell col="22" text="19일"/>
  82. <Cell col="23" text="20일"/>
  83. <Cell col="24" text="21일"/>
  84. <Cell col="25" text="22일"/>
  85. <Cell col="26" text="23일"/>
  86. <Cell col="27" text="24일"/>
  87. <Cell col="28" text="25일"/>
  88. <Cell col="29" text="26일"/>
  89. <Cell col="30" text="27일"/>
  90. <Cell col="31" text="28일"/>
  91. <Cell col="32" text="29일"/>
  92. <Cell col="33" text="30일"/>
  93. <Cell col="34" text="31일"/>
  94. <Cell col="35" text="합계"/>
  95. <Cell col="36" text="가동률"/>
  96. </Band>
  97. <Band id="body">
  98. <Cell celltype="head" expr="currow+1"/>
  99. <Cell col="1" text="bind:month"/>
  100. <Cell col="2" text="bind:excuroomnm"/>
  101. <Cell col="3" text="bind:eqmtnm"/>
  102. <Cell col="4" displaytype="number" text="bind:day01" mask="#,###"/>
  103. <Cell col="5" displaytype="number" text="bind:day02" mask="#,###"/>
  104. <Cell col="6" displaytype="number" text="bind:day03" mask="#,###"/>
  105. <Cell col="7" displaytype="number" text="bind:day04" mask="#,###"/>
  106. <Cell col="8" displaytype="number" text="bind:day05" mask="#,###"/>
  107. <Cell col="9" displaytype="number" text="bind:day06" mask="#,###"/>
  108. <Cell col="10" displaytype="number" text="bind:day07" mask="#,###"/>
  109. <Cell col="11" displaytype="number" text="bind:day08" mask="#,###"/>
  110. <Cell col="12" displaytype="number" text="bind:day09" mask="#,###"/>
  111. <Cell col="13" displaytype="number" text="bind:day10" mask="#,###"/>
  112. <Cell col="14" displaytype="number" text="bind:day11" mask="#,###"/>
  113. <Cell col="15" displaytype="number" text="bind:day12" mask="#,###"/>
  114. <Cell col="16" displaytype="number" text="bind:day13" mask="#,###"/>
  115. <Cell col="17" displaytype="number" text="bind:day14" mask="#,###"/>
  116. <Cell col="18" displaytype="number" text="bind:day15" mask="#,###"/>
  117. <Cell col="19" displaytype="number" text="bind:day16" mask="#,###"/>
  118. <Cell col="20" displaytype="number" text="bind:day17" mask="#,###"/>
  119. <Cell col="21" displaytype="number" text="bind:day18" mask="#,###"/>
  120. <Cell col="22" displaytype="number" text="bind:day19" mask="#,###"/>
  121. <Cell col="23" displaytype="number" text="bind:day20" mask="#,###"/>
  122. <Cell col="24" displaytype="number" text="bind:day21" mask="#,###"/>
  123. <Cell col="25" displaytype="number" text="bind:day22" mask="#,###"/>
  124. <Cell col="26" displaytype="number" text="bind:day23" mask="#,###"/>
  125. <Cell col="27" displaytype="number" text="bind:day24" mask="#,###"/>
  126. <Cell col="28" displaytype="number" text="bind:day25" mask="#,###"/>
  127. <Cell col="29" displaytype="number" text="bind:day26" mask="#,###"/>
  128. <Cell col="30" displaytype="number" text="bind:day27" mask="#,###"/>
  129. <Cell col="31" displaytype="number" text="bind:day28" mask="#,###"/>
  130. <Cell col="32" displaytype="number" text="bind:day29" mask="#,###"/>
  131. <Cell col="33" displaytype="number" text="bind:day30" mask="#,###"/>
  132. <Cell col="34" displaytype="number" text="bind:day31" mask="#,###"/>
  133. <Cell col="35" displaytype="number" text="bind:total" mask="#,###"/>
  134. <Cell col="36" displaytype="number" text="bind:rate"/>
  135. </Band>
  136. </Format>
  137. </Formats>
  138. </Grid>
  139. </Layout>
  140. </Layouts>
  141. </Tabpage>
  142. <Tabpage id="case2" text="환자수">
  143. <Layouts>
  144. <Layout>
  145. <Grid id="grd_sublist" taborder="0" binddataset="ds_main_sublist_item" useinputpanel="false" position="absolute 0 5 1190 657" anchor="all">
  146. <Formats>
  147. <Format id="default">
  148. <Columns>
  149. <Column size="28"/>
  150. <Column size="35"/>
  151. <Column size="110"/>
  152. <Column size="120"/>
  153. <Column size="38"/>
  154. <Column size="38"/>
  155. <Column size="38"/>
  156. <Column size="38"/>
  157. <Column size="38"/>
  158. <Column size="38"/>
  159. <Column size="38"/>
  160. <Column size="38"/>
  161. <Column size="38"/>
  162. <Column size="38"/>
  163. <Column size="38"/>
  164. <Column size="38"/>
  165. <Column size="38"/>
  166. <Column size="38"/>
  167. <Column size="38"/>
  168. <Column size="38"/>
  169. <Column size="38"/>
  170. <Column size="38"/>
  171. <Column size="38"/>
  172. <Column size="38"/>
  173. <Column size="38"/>
  174. <Column size="38"/>
  175. <Column size="38"/>
  176. <Column size="38"/>
  177. <Column size="38"/>
  178. <Column size="38"/>
  179. <Column size="38"/>
  180. <Column size="38"/>
  181. <Column size="38"/>
  182. <Column size="38"/>
  183. <Column size="38"/>
  184. <Column size="60"/>
  185. </Columns>
  186. <Rows>
  187. <Row size="24" band="head"/>
  188. <Row size="24"/>
  189. </Rows>
  190. <Band id="head">
  191. <Cell/>
  192. <Cell col="1" text="월"/>
  193. <Cell col="2" text="검사실"/>
  194. <Cell col="3" text="장비명"/>
  195. <Cell col="4" text="1일"/>
  196. <Cell col="5" text="2일"/>
  197. <Cell col="6" text="3일"/>
  198. <Cell col="7" text="4일"/>
  199. <Cell col="8" text="5일"/>
  200. <Cell col="9" text="6일"/>
  201. <Cell col="10" text="7일"/>
  202. <Cell col="11" text="8일"/>
  203. <Cell col="12" text="9일"/>
  204. <Cell col="13" text="10일"/>
  205. <Cell col="14" text="11일"/>
  206. <Cell col="15" text="12일"/>
  207. <Cell col="16" text="13일"/>
  208. <Cell col="17" text="14일"/>
  209. <Cell col="18" text="15일"/>
  210. <Cell col="19" text="16일"/>
  211. <Cell col="20" text="17일"/>
  212. <Cell col="21" text="18일"/>
  213. <Cell col="22" text="19일"/>
  214. <Cell col="23" text="20일"/>
  215. <Cell col="24" text="21일"/>
  216. <Cell col="25" text="22일"/>
  217. <Cell col="26" text="23일"/>
  218. <Cell col="27" text="24일"/>
  219. <Cell col="28" text="25일"/>
  220. <Cell col="29" text="26일"/>
  221. <Cell col="30" text="27일"/>
  222. <Cell col="31" text="28일"/>
  223. <Cell col="32" text="29일"/>
  224. <Cell col="33" text="30일"/>
  225. <Cell col="34" text="31일"/>
  226. <Cell col="35" text="합계"/>
  227. </Band>
  228. <Band id="body">
  229. <Cell celltype="head" expr="currow+1"/>
  230. <Cell col="1" text="bind:month"/>
  231. <Cell col="2" text="bind:excuroomnm"/>
  232. <Cell col="3" text="bind:eqmtnm"/>
  233. <Cell col="4" displaytype="number" text="bind:day01"/>
  234. <Cell col="5" displaytype="number" text="bind:day02"/>
  235. <Cell col="6" displaytype="number" text="bind:day03"/>
  236. <Cell col="7" displaytype="number" text="bind:day04"/>
  237. <Cell col="8" displaytype="number" text="bind:day05"/>
  238. <Cell col="9" displaytype="number" text="bind:day06"/>
  239. <Cell col="10" displaytype="number" text="bind:day07"/>
  240. <Cell col="11" displaytype="number" text="bind:day08"/>
  241. <Cell col="12" displaytype="number" text="bind:day09"/>
  242. <Cell col="13" displaytype="number" text="bind:day10"/>
  243. <Cell col="14" displaytype="number" text="bind:day11"/>
  244. <Cell col="15" displaytype="number" text="bind:day12"/>
  245. <Cell col="16" displaytype="number" text="bind:day13"/>
  246. <Cell col="17" displaytype="number" text="bind:day14"/>
  247. <Cell col="18" displaytype="number" text="bind:day15"/>
  248. <Cell col="19" displaytype="number" text="bind:day16"/>
  249. <Cell col="20" displaytype="number" text="bind:day17"/>
  250. <Cell col="21" displaytype="number" text="bind:day18"/>
  251. <Cell col="22" displaytype="number" text="bind:day19"/>
  252. <Cell col="23" displaytype="number" text="bind:day20"/>
  253. <Cell col="24" displaytype="number" text="bind:day21"/>
  254. <Cell col="25" displaytype="number" text="bind:day22"/>
  255. <Cell col="26" displaytype="number" text="bind:day23"/>
  256. <Cell col="27" displaytype="number" text="bind:day24"/>
  257. <Cell col="28" displaytype="number" text="bind:day25"/>
  258. <Cell col="29" displaytype="number" text="bind:day26"/>
  259. <Cell col="30" displaytype="number" text="bind:day27"/>
  260. <Cell col="31" displaytype="number" text="bind:day28"/>
  261. <Cell col="32" displaytype="number" text="bind:day29"/>
  262. <Cell col="33" displaytype="number" text="bind:day30"/>
  263. <Cell col="34" displaytype="number" text="bind:day31"/>
  264. <Cell col="35" displaytype="number" text="bind:total"/>
  265. </Band>
  266. </Format>
  267. </Formats>
  268. </Grid>
  269. </Layout>
  270. </Layouts>
  271. </Tabpage>
  272. <Tabpage id="case3" text="가동시간">
  273. <Layouts>
  274. <Layout>
  275. <Grid id="grd_mainordlist" taborder="5" binddataset="ds_main_execprescondlist_execprescond" useinputpanel="false" position="absolute 0 42 1190 694" anchor="all">
  276. <Formats>
  277. <Format id="default">
  278. <Columns>
  279. <Column size="22"/>
  280. <Column size="74"/>
  281. <Column size="63"/>
  282. <Column size="62"/>
  283. <Column size="42"/>
  284. <Column size="32"/>
  285. <Column size="108"/>
  286. <Column size="252"/>
  287. <Column size="121"/>
  288. <Column size="126"/>
  289. <Column size="129"/>
  290. <Column size="65"/>
  291. <Column size="63"/>
  292. <Column size="69"/>
  293. </Columns>
  294. <Rows>
  295. <Row size="24" band="head"/>
  296. <Row size="24"/>
  297. <Row size="24" band="summ"/>
  298. </Rows>
  299. <Band id="head">
  300. <Cell/>
  301. <Cell col="1" text="처방일자"/>
  302. <Cell col="2" text="등록번호"/>
  303. <Cell col="3" text="환자명"/>
  304. <Cell col="4" text="나이"/>
  305. <Cell col="5" text="성별"/>
  306. <Cell col="6" text="처방과"/>
  307. <Cell col="7" text="처방명"/>
  308. <Cell col="8" text="처방등록일시"/>
  309. <Cell col="9" text="검사시작일자"/>
  310. <Cell col="10" text="검사종료일자"/>
  311. <Cell col="11" text="가동시간"/>
  312. <Cell col="12" text="실시자"/>
  313. <Cell col="13" text="병실"/>
  314. </Band>
  315. <Band id="body">
  316. <Cell celltype="head" expr="currow+1"/>
  317. <Cell col="1" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  318. <Cell col="2" style="align:left middle;" text="bind:pid"/>
  319. <Cell col="3" style="align:left middle;" text="bind:hngnm"/>
  320. <Cell col="4" style="align:center middle;" text="bind:age"/>
  321. <Cell col="5" style="align:center middle;" text="bind:sex"/>
  322. <Cell col="6" style="align:left middle;" text="bind:depthngnm"/>
  323. <Cell col="7" style="align:left middle;" text="bind:excucdnm"/>
  324. <Cell col="8" displaytype="date" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm:ss"/>
  325. <Cell col="9" displaytype="date" text="bind:excuexecfromdt" mask="yyyy-MM-dd hh:mm:ss"/>
  326. <Cell col="10" displaytype="date" text="bind:excuexectodt" mask="yyyy-MM-dd hh:mm:ss"/>
  327. <Cell col="11" displaytype="number" text="bind:totexeccnt"/>
  328. <Cell col="12" text="bind:usernm"/>
  329. <Cell col="13" style="align:left middle;" text="bind:roomcd"/>
  330. </Band>
  331. <Band id="summary">
  332. <Cell/>
  333. <Cell col="1" style="font:arial,9,bold;" text="Total"/>
  334. <Cell col="2"/>
  335. <Cell col="3"/>
  336. <Cell col="4"/>
  337. <Cell col="5"/>
  338. <Cell col="6"/>
  339. <Cell col="7"/>
  340. <Cell col="8"/>
  341. <Cell col="9"/>
  342. <Cell col="10"/>
  343. <Cell col="11" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('totexeccnt')"/>
  344. <Cell col="12"/>
  345. <Cell col="13"/>
  346. </Band>
  347. </Format>
  348. </Formats>
  349. </Grid>
  350. <Div id="group1" taborder="6" position="absolute 1 5 1187 45" anchor="left top right">
  351. <Layouts>
  352. <Layout>
  353. <Shape id="roundrect2" type="roundrectangle" position="absolute 0 0 1182 35" anchor="left top right"/>
  354. <Static id="caption2" text="기준일자 :" class="search_name" position="absolute 10 10 104 27" anchor="default"/>
  355. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1098 6 1104 28" anchor="top right"/>
  356. <Button id="button3" taborder="14" text="조회" class="btn1" position="absolute 1115 6 1171 28" anchor="top right" onclick="switch1_case3_group1_button3_onclick"/>
  357. <Calendar id="ipt_todd" taborder="15" class="input_search" position="absolute 200 8 291 27" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" onchanged="switch1_case3_group1_ipt_todd_onchanged"/>
  358. <Calendar id="ipt_fromdd" taborder="16" class="input_search" position="absolute 104 8 195 27" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" onchanged="switch1_case3_group1_ipt_fromdd_onchanged"/>
  359. <Combo id="cmb_excuroom" taborder="17" innerdataset="@ds_hidden_cmb_info_excuroom_initexcuroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_default" position="absolute 585 8 727 27" anchor="default" onitemchanged="switch1_case3_group1_cmb_excuroom_onitemchanged"/>
  360. <Combo id="cmb_excuroomgrppat" taborder="18" innerdataset="@ds_init_initexcuroomgrp" codecolumn="basecdcnts" datacolumn="basecdcnts2" class="combo_default" position="absolute 465 8 583 27" anchor="default" onitemchanged="switch1_case3_group1_cmb_excuroomgrppat_onitemchanged"/>
  361. <Static id="caption1" text="검사실 :" class="search_name" position="absolute 385 10 465 27" anchor="default"/>
  362. </Layout>
  363. </Layouts>
  364. </Div>
  365. </Layout>
  366. </Layouts>
  367. </Tabpage>
  368. </Tabpages>
  369. </Tab>
  370. <Static id="caption6" text="장비가동률 통계" class="tit_1" position="absolute 0 0 239 23"/>
  371. <Shape id="line1" class="line_10" position="absolute 0 95 1190 101" anchor="left top right"/>
  372. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1111 70 1191 89" anchor="top right" onclick="btn_excsave_onclick"/>
  373. <Div id="grp_sea" taborder="3" class="div_SA" position="absolute 0 24 1190 54" anchor="left top right">
  374. <Layouts>
  375. <Layout>
  376. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 5 1113 25" anchor="top right"/>
  377. <Button id="btn_sea" taborder="7" text="조회" class="btn1" position="absolute 1120 4 1176 26" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  378. <Static id="caption3" text="일자 :" class="search_name" position="absolute 29 8 89 25" anchor="default"/>
  379. <Combo id="cmb_excuroomgrp" taborder="8" innerdataset="@ds_init_initexcuroomgrp" codecolumn="basecdcnts" datacolumn="basecdcnts2" class="combo_default" position="absolute 295 6 413 25" anchor="default" onitemchanged="grp_sea_cmb_excuroomgrp_onitemchanged"/>
  380. <Static id="caption7" text="검사실 :" class="search_name" position="absolute 215 7 295 24" anchor="default"/>
  381. <Combo id="cmb_srchdd" taborder="9" innerdataset="@ds_init_com_srchdate_item" codecolumn="value" datacolumn="label" position="absolute 96 6 169 25" anchor="default" onitemchanged="grp_sea_cmb_srchdd_onitemchanged"/>
  382. </Layout>
  383. </Layouts>
  384. </Div>
  385. </Layout>
  386. </Layouts>
  387. <Objects>
  388. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  389. <ColumnInfo>
  390. <Column id="srchdate" type="STRING" size="256"/>
  391. <Column id="suppdeptcd" type="STRING" size="256"/>
  392. <Column id="excuroomgrpcdid" type="STRING" size="256"/>
  393. <Column id="srchflag" type="STRING" size="256"/>
  394. <Column id="fromdd" type="STRING" size="256"/>
  395. <Column id="todd" type="STRING" size="256"/>
  396. <Column id="excuroomgrppat" type="STRING" size="256"/>
  397. <Column id="excuroomcd" type="STRING" size="256"/>
  398. <Column id="systkey6" type="STRING" size="256"/>
  399. </ColumnInfo>
  400. <Rows>
  401. <Row>
  402. <Col id="srchdate"/>
  403. <Col id="suppdeptcd"/>
  404. <Col id="excuroomgrpcdid"/>
  405. <Col id="srchflag"/>
  406. <Col id="fromdd"/>
  407. <Col id="todd"/>
  408. <Col id="excuroomgrppat"/>
  409. <Col id="excuroomcd"/>
  410. </Row>
  411. </Rows>
  412. </Dataset>
  413. <Dataset id="ds_init_com_srchdate_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  414. <ColumnInfo>
  415. <Column id="label" type="STRING" size="256"/>
  416. <Column id="value" type="STRING" size="256"/>
  417. </ColumnInfo>
  418. </Dataset>
  419. <Dataset id="ds_init_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  420. <ColumnInfo>
  421. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사그룹코드"/>
  422. <Column id="basecdcnts2" type="STRING" size="256" sumtext="검사그룹코드명"/>
  423. </ColumnInfo>
  424. </Dataset>
  425. <Dataset id="ds_hidden_cmb_info_excuroom_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  426. <ColumnInfo>
  427. <Column id="basecd" type="STRING" size="256" sumtext="검사실코드"/>
  428. <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검사실코드"/>
  429. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실코드"/>
  430. </ColumnInfo>
  431. </Dataset>
  432. <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  433. <ColumnInfo>
  434. <Column id="month" type="STRING" size="256" sumtext="월"/>
  435. <Column id="excuroomnm" type="STRING" size="256" sumtext="검사구분"/>
  436. <Column id="eqmtnm" type="STRING" size="256" sumtext="검사명"/>
  437. <Column id="day01" type="STRING" size="256" sumtext="1일"/>
  438. <Column id="day02" type="STRING" size="256" sumtext="2일"/>
  439. <Column id="day03" type="STRING" size="256" sumtext="3일"/>
  440. <Column id="day04" type="STRING" size="256" sumtext="4일"/>
  441. <Column id="day05" type="STRING" size="256" sumtext="5일"/>
  442. <Column id="day06" type="STRING" size="256" sumtext="6일"/>
  443. <Column id="day07" type="STRING" size="256" sumtext="7일"/>
  444. <Column id="day08" type="STRING" size="256" sumtext="8일"/>
  445. <Column id="day09" type="STRING" size="256" sumtext="9일"/>
  446. <Column id="day10" type="STRING" size="256" sumtext="10일"/>
  447. <Column id="day11" type="STRING" size="256" sumtext="11일"/>
  448. <Column id="day12" type="STRING" size="256" sumtext="12일"/>
  449. <Column id="day13" type="STRING" size="256" sumtext="13일"/>
  450. <Column id="day14" type="STRING" size="256" sumtext="14일"/>
  451. <Column id="day15" type="STRING" size="256" sumtext="15일"/>
  452. <Column id="day16" type="STRING" size="256" sumtext="16일"/>
  453. <Column id="day17" type="STRING" size="256" sumtext="17일"/>
  454. <Column id="day18" type="STRING" size="256" sumtext="18일"/>
  455. <Column id="day19" type="STRING" size="256" sumtext="19일"/>
  456. <Column id="day20" type="STRING" size="256" sumtext="20일"/>
  457. <Column id="day21" type="STRING" size="256" sumtext="21일"/>
  458. <Column id="day22" type="STRING" size="256" sumtext="22일"/>
  459. <Column id="day23" type="STRING" size="256" sumtext="23일"/>
  460. <Column id="day24" type="STRING" size="256" sumtext="24일"/>
  461. <Column id="day25" type="STRING" size="256" sumtext="25일"/>
  462. <Column id="day26" type="STRING" size="256" sumtext="26일"/>
  463. <Column id="day27" type="STRING" size="256" sumtext="27일"/>
  464. <Column id="day28" type="STRING" size="256" sumtext="28일"/>
  465. <Column id="day29" type="STRING" size="256" sumtext="29일"/>
  466. <Column id="day30" type="STRING" size="256" sumtext="30일"/>
  467. <Column id="day31" type="STRING" size="256" sumtext="31일"/>
  468. <Column id="total" type="STRING" size="256" sumtext="합계"/>
  469. <Column id="rate" type="STRING" size="256" sumtext="합계"/>
  470. </ColumnInfo>
  471. </Dataset>
  472. <Dataset id="ds_main_sublist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  473. <ColumnInfo>
  474. <Column id="month" type="STRING" size="256" sumtext="월"/>
  475. <Column id="excuroomnm" type="STRING" size="256" sumtext="검사구분"/>
  476. <Column id="eqmtnm" type="STRING" size="256" sumtext="검사명"/>
  477. <Column id="day01" type="STRING" size="256" sumtext="1일"/>
  478. <Column id="day02" type="STRING" size="256" sumtext="2일"/>
  479. <Column id="day03" type="STRING" size="256" sumtext="3일"/>
  480. <Column id="day04" type="STRING" size="256" sumtext="4일"/>
  481. <Column id="day05" type="STRING" size="256" sumtext="5일"/>
  482. <Column id="day06" type="STRING" size="256" sumtext="6일"/>
  483. <Column id="day07" type="STRING" size="256" sumtext="7일"/>
  484. <Column id="day08" type="STRING" size="256" sumtext="8일"/>
  485. <Column id="day09" type="STRING" size="256" sumtext="9일"/>
  486. <Column id="day10" type="STRING" size="256" sumtext="10일"/>
  487. <Column id="day11" type="STRING" size="256" sumtext="11일"/>
  488. <Column id="day12" type="STRING" size="256" sumtext="12일"/>
  489. <Column id="day13" type="STRING" size="256" sumtext="13일"/>
  490. <Column id="day14" type="STRING" size="256" sumtext="14일"/>
  491. <Column id="day15" type="STRING" size="256" sumtext="15일"/>
  492. <Column id="day16" type="STRING" size="256" sumtext="16일"/>
  493. <Column id="day17" type="STRING" size="256" sumtext="17일"/>
  494. <Column id="day18" type="STRING" size="256" sumtext="18일"/>
  495. <Column id="day19" type="STRING" size="256" sumtext="19일"/>
  496. <Column id="day20" type="STRING" size="256" sumtext="20일"/>
  497. <Column id="day21" type="STRING" size="256" sumtext="21일"/>
  498. <Column id="day22" type="STRING" size="256" sumtext="22일"/>
  499. <Column id="day23" type="STRING" size="256" sumtext="23일"/>
  500. <Column id="day24" type="STRING" size="256" sumtext="24일"/>
  501. <Column id="day25" type="STRING" size="256" sumtext="25일"/>
  502. <Column id="day26" type="STRING" size="256" sumtext="26일"/>
  503. <Column id="day27" type="STRING" size="256" sumtext="27일"/>
  504. <Column id="day28" type="STRING" size="256" sumtext="28일"/>
  505. <Column id="day29" type="STRING" size="256" sumtext="29일"/>
  506. <Column id="day30" type="STRING" size="256" sumtext="30일"/>
  507. <Column id="day31" type="STRING" size="256" sumtext="31일"/>
  508. <Column id="total" type="STRING" size="256" sumtext="합계"/>
  509. </ColumnInfo>
  510. </Dataset>
  511. <Dataset id="ds_main_execprescondlist_execprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  512. <ColumnInfo>
  513. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  514. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  515. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  516. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  517. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  518. <Column id="depthngnm" type="STRING" size="256" sumtext="지원부서"/>
  519. <Column id="excucdnm" type="STRING" size="256" sumtext="처방명"/>
  520. <Column id="excuexecfromdt" type="STRING" size="256" sumtext="검사시작일시"/>
  521. <Column id="excuexectodt" type="STRING" size="256" sumtext="검사종료일시"/>
  522. <Column id="progtm" type="STRING" size="256" sumtext="시간합"/>
  523. <Column id="totexeccnt" type="STRING" size="256" sumtext="장비가동율시간"/>
  524. <Column id="usernm" type="STRING" size="256" sumtext="실시자"/>
  525. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  526. <Column id="rgstdt" type="STRING" size="256" sumtext="처방등록일시"/>
  527. </ColumnInfo>
  528. </Dataset>
  529. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  530. <ColumnInfo>
  531. <Column id="excuroomgrpcdid" type="STRING" size="256" sumtext="검사실그룹코드"/>
  532. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  533. <Column id="rbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,검사실"/>
  534. <Column id="kbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,장비코드"/>
  535. <Column id="nbasecdflag" type="STRING" size="256" sumtext="핵종코드"/>
  536. <Column id="initflag" type="STRING" size="256" sumtext="astlib,병동병실코드구분,1:병동조회"/>
  537. <Column id="alladdyn" type="STRING" size="256" sumtext="검사살전체선택"/>
  538. <Column id="flag" type="STRING" size="256" sumtext="검사살전체선택"/>
  539. <Column id="baseroomflag" type="STRING" size="256" sumtext="검사실구분코드"/>
  540. <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
  541. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실그룹코드"/>
  542. <Column id="ebasecdflag" type="STRING" size="256" sumtext="실시자기본코드구분"/>
  543. </ColumnInfo>
  544. <Rows>
  545. <Row/>
  546. </Rows>
  547. </Dataset>
  548. </Objects>
  549. <Bind>
  550. <BindItem id="item0" compid="grp_sea.cmb_srchdd" propid="value" datasetid="ds_send" columnid="srchdate"/>
  551. <BindItem id="item1" compid="grp_sea.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="excuroomgrpcdid"/>
  552. <BindItem id="item2" compid="switch1.case3.group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  553. <BindItem id="item3" compid="switch1.case3.group1.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  554. <BindItem id="item4" compid="switch1.case3.group1.cmb_excuroomgrppat" propid="value" datasetid="ds_send" columnid="excuroomgrpcdid"/>
  555. <BindItem id="item5" compid="switch1.case3.group1.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
  556. </Bind>
  557. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  558. * System Name :
  559. * Job Name :
  560. * Creator :
  561. * Make Date : 2015-11-13
  562. * Description :
  563. *---------------------------------------------------------------------------------------
  564. * Modify Date Modifier Modify Description
  565. *---------------------------------------------------------------------------------------
  566. * 2015-11-13 Live Converter TF->XP
  567. *
  568. *---------------------------------------------------------------------------------------
  569. ****************************************************************************************/
  570. include "com_commonxp::comm_main.xjs";
  571. include "ast_examcurexp::AEZ0001.xjs";
  572. var vSuppdeptcd;
  573. function SMAES02900_oninit(obj:Form, e:InitEventInfo)
  574. {
  575. frmf_initForm(obj);
  576. }
  577. function SMAES02900_onload(obj:Form, e:LoadEventInfo)
  578. {
  579. grdf_initGrid(switch1.case1.grd_list);
  580. grdf_initGrid(switch1.case2.grd_sublist);
  581. grdf_initGrid(switch1.case3.grd_mainordlist);
  582. lf_aezfSetSuppDeptcd();
  583. vSuppdeptcd = frmf_getPrestDeptCd();
  584. ds_req.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
  585. dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,baseroomflag:1,srchflag:A");
  586. var oParam = {};
  587. oParam.id = "TRAES09001";
  588. oParam.service = "examcurestatsapp.NmedStats";
  589. oParam.method = "reqGetCode";
  590. oParam.inds = "req=ds_req";
  591. oParam.outds = "ds_init_initexcuroomgrp=initexcuroomgrp";
  592. oParam.async = false;
  593. //oParam.callback = "cf_TRAES09001";
  594. tranf_submit(oParam);
  595. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  596. ds_send.setColumn(0, "srchdate", String(utlf_getCurrentDate()).substr(0,6));
  597. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  598. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  599. dsf_setFixVal(ds_req, "rbasecdflag:R,initflag:1,alladdyn:Y");
  600. var oParam = {};
  601. oParam.id = "TRAEA01201";
  602. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  603. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  604. oParam.inds = "reqparam=ds_req";
  605. oParam.outds = "ds_hidden_cmb_info_excuroom_initexcuroom=initexcuroom";
  606. oParam.async = false;
  607. //oParam.callback = "cf_TRAEA01201";
  608. tranf_submit(oParam);
  609. switch1.case3.group1.cmb_excuroom.index = 0;
  610. ds_send.setColumn(0, "srchflag", "A");
  611. frmf_addComboItem("grp_sea.cmb_excuroomgrp","--전체--","","above");
  612. grp_sea.cmb_excuroomgrp.index = 0;
  613. mkDate();
  614. }
  615. function mkDate()
  616. {
  617. var startyy = "";
  618. for(var i = 8; 0 <= i; i--)
  619. {
  620. startyy = utlf_getCurrentDate().toDate().getAddDate(-i,"Y").getDateFormat().substr(0,4);
  621. frmf_addComboItem("grp_sea.cmb_srchdd",startyy+"년",startyy,"above");
  622. }
  623. ds_send.setColumn(0, "srchdate", String(utlf_getCurrentDate()).substr(0,4));
  624. }
  625. function grp_sea_cmb_srchdd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  626. {
  627. getNmedEqmtUseRateList();
  628. }
  629. function grp_sea_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  630. {
  631. getNmedEqmtUseRateList();
  632. ds_req.setColumn(0, "excuroomgrpcdid", obj.value);
  633. ds_req.setColumn(0, "basecdcnts", obj.value);
  634. dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,flag:nuclear,baseroomflag:1,srchflag:P,ebasecdflag:E");
  635. var oParam = {};
  636. oParam.id = "TRAEA01418";
  637. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  638. oParam.method = "reqGetInitNuclExamCureInfo";
  639. oParam.inds = "reqparam=ds_req";
  640. oParam.outds = "ds_hidden_cmb_info_excuroom_initexcuroom=initexcuroom";
  641. oParam.async = false;
  642. //oParam.callback = "cf_TRAEA01418";
  643. tranf_submit(oParam);
  644. }
  645. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  646. {
  647. getNmedEqmtUseRateList();
  648. }
  649. function getNmedEqmtUseRateList()
  650. {
  651. ds_main_list_item.clearData();
  652. ds_main_sublist_item.clearData();
  653. dsf_setFixVal(ds_send, "systkey6:702,srchflag:A");
  654. var oParam = {};
  655. oParam.id = "TRAES02901";
  656. oParam.service = "examcurestatsapp.NmedStats";
  657. oParam.method = "reqGetNmedEqmtUseRateList";
  658. oParam.inds = "req=ds_send";
  659. oParam.outds = "ds_main_list_item=item ds_main_sublist_item=sublist";
  660. oParam.async = false;
  661. //oParam.callback = "cf_TRAES02901";
  662. tranf_submit(oParam);
  663. switch1_case3_group1_button3_onclick();
  664. }
  665. function switch1_case3_group1_button3_onclick(obj:Button, e:ClickEventInfo)
  666. {
  667. var oParam = {};
  668. oParam.id = "TRAES02903";
  669. oParam.service = "examcurestatsapp.NmedStats";
  670. oParam.method = "reqGetNmedEqmtUseRateListPat";
  671. oParam.inds = "req=ds_send";
  672. oParam.outds = "ds_main_execprescondlist_execprescond=item";
  673. oParam.async = false;
  674. //oParam.callback = "cf_TRAES02903";
  675. tranf_submit(oParam);
  676. }
  677. function switch1_case3_group1_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  678. {
  679. ds_main_execprescondlist_execprescond.clearData();
  680. switch1.case3.group1.ipt_todd.setFocus();
  681. }
  682. function switch1_case3_group1_cmb_excuroomgrppat_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  683. {
  684. ds_req.setColumn(0, "excuroomgrpcdid", obj.value);
  685. ds_req.setColumn(0, "basecdcnts", obj.value);
  686. dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,flag:nuclear,baseroomflag:1,srchflag:P,ebasecdflag:E");
  687. var oParam = {};
  688. oParam.id = "TRAEA01418";
  689. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  690. oParam.method = "reqGetInitNuclExamCureInfo";
  691. oParam.inds = "reqparam=ds_req";
  692. oParam.outds = "ds_hidden_cmb_info_excuroom_initexcuroom=initexcuroom";
  693. oParam.async = false;
  694. //oParam.callback = "cf_TRAEA01418";
  695. tranf_submit(oParam);
  696. }
  697. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  698. {
  699. if(switch1.tabindex == 0)
  700. {
  701. grdf_exportExcel(switch1.case1.grd_list, "", "");
  702. }
  703. else
  704. {
  705. if(switch1.tabindex == 1)
  706. {
  707. grdf_exportExcel(switch1.case2.grd_sublist, "", "");
  708. }
  709. else
  710. {
  711. grdf_exportExcel(switch1.case3.grd_mainordlist, "", "");
  712. }
  713. }
  714. }
  715. function switch1_case3_group1_ipt_todd_onchanged(obj:Calendar, e:ChangeEventInfo)
  716. {
  717. switch1_case3_group1_button3_onclick();
  718. }
  719. function switch1_case3_group1_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  720. {
  721. switch1_case3_group1_button3_onclick();
  722. }
  723. ]]></Script>
  724. </Form>
  725. </FDL>