SMAES02300_핵의학체내코드별치료현황.xfdl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES02300" position="absolute 0 0 1206 763" titletext="핵의학체내 검사별 치료현황(일별)" oninit="SMAES02300_oninit" onload="SMAES02300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="핵의학체내 검사별 현황(일별)" class="tit_1" position="absolute 0 0 238 23"/>
  8. <Shape id="line2" class="line_3" position="absolute 0 728 1195 734" anchor="left right bottom"/>
  9. <Static id="caption22" text="총근무일수" class="cell_1" position="absolute 0 732 272 755" anchor="left bottom"/>
  10. <Edit id="input20" taborder="1" readonly="true" class="input_default" position="absolute 273 733 314 752" anchor="left bottom" style="align:right middle;"/>
  11. <Shape id="line36" class="line_3" position="absolute 0 752 1195 758" anchor="left right bottom"/>
  12. <Shape id="line1" class="line_10" position="absolute 0 88 1195 94" anchor="left top right"/>
  13. <Static id="caption1" text="핵의학체내 검사별 현황(일별)" class="tit_2" position="absolute 0 72 244 94"/>
  14. <Grid id="grd_list" taborder="2" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 93 1195 728" anchor="all">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="24"/>
  19. <Column size="100"/>
  20. <Column size="205"/>
  21. <Column size="41"/>
  22. <Column size="40"/>
  23. <Column size="40"/>
  24. <Column size="40"/>
  25. <Column size="40"/>
  26. <Column size="40"/>
  27. <Column size="40"/>
  28. <Column size="40"/>
  29. <Column size="40"/>
  30. <Column size="40"/>
  31. <Column size="40"/>
  32. <Column size="40"/>
  33. <Column size="40"/>
  34. <Column size="40"/>
  35. <Column size="40"/>
  36. <Column size="40"/>
  37. <Column size="40"/>
  38. <Column size="40"/>
  39. <Column size="40"/>
  40. <Column size="40"/>
  41. <Column size="40"/>
  42. <Column size="40"/>
  43. <Column size="40"/>
  44. <Column size="40"/>
  45. <Column size="40"/>
  46. <Column size="40"/>
  47. <Column size="40"/>
  48. <Column size="40"/>
  49. <Column size="40"/>
  50. <Column size="40"/>
  51. <Column size="40"/>
  52. <Column size="40"/>
  53. <Column size="40"/>
  54. </Columns>
  55. <Rows>
  56. <Row size="24" band="head"/>
  57. <Row size="24"/>
  58. </Rows>
  59. <Band id="head">
  60. <Cell/>
  61. <Cell col="1" text="검사코드"/>
  62. <Cell col="2" text="검사명"/>
  63. <Cell col="3"/>
  64. <Cell col="4" text="1일"/>
  65. <Cell col="5" text="2일"/>
  66. <Cell col="6" text="3일"/>
  67. <Cell col="7" text="4일"/>
  68. <Cell col="8" text="5일"/>
  69. <Cell col="9" text="6일"/>
  70. <Cell col="10" text="7일"/>
  71. <Cell col="11" text="8일"/>
  72. <Cell col="12" text="9일"/>
  73. <Cell col="13" text="10일"/>
  74. <Cell col="14" text="11일"/>
  75. <Cell col="15" text="12일"/>
  76. <Cell col="16" text="13일"/>
  77. <Cell col="17" text="14일"/>
  78. <Cell col="18" text="15일"/>
  79. <Cell col="19" text="16일"/>
  80. <Cell col="20" text="17일"/>
  81. <Cell col="21" text="18일"/>
  82. <Cell col="22" text="19일"/>
  83. <Cell col="23" text="20일"/>
  84. <Cell col="24" text="21일"/>
  85. <Cell col="25" text="22일"/>
  86. <Cell col="26" text="23일"/>
  87. <Cell col="27" text="24일"/>
  88. <Cell col="28" text="25일"/>
  89. <Cell col="29" text="26일"/>
  90. <Cell col="30" text="27일"/>
  91. <Cell col="31" text="28일"/>
  92. <Cell col="32" text="29일"/>
  93. <Cell col="33" text="30일"/>
  94. <Cell col="34" text="31일"/>
  95. <Cell col="35" text="합계"/>
  96. </Band>
  97. <Band id="body">
  98. <Cell celltype="head" expr="currow+1"/>
  99. <Cell col="1" text="bind:prcpcd"/>
  100. <Cell col="2" style="align:left middle;" text="bind:prcpnm"/>
  101. <Cell col="3" text="bind:nm"/>
  102. <Cell col="4" displaytype="number" text="bind:day01"/>
  103. <Cell col="5" displaytype="number" text="bind:day02"/>
  104. <Cell col="6" displaytype="number" text="bind:day03"/>
  105. <Cell col="7" displaytype="number" text="bind:day04"/>
  106. <Cell col="8" displaytype="number" text="bind:day05"/>
  107. <Cell col="9" displaytype="number" text="bind:day06"/>
  108. <Cell col="10" displaytype="number" text="bind:day07"/>
  109. <Cell col="11" displaytype="number" text="bind:day08"/>
  110. <Cell col="12" displaytype="number" text="bind:day09"/>
  111. <Cell col="13" displaytype="number" text="bind:day10"/>
  112. <Cell col="14" displaytype="number" text="bind:day11"/>
  113. <Cell col="15" displaytype="number" text="bind:day12"/>
  114. <Cell col="16" displaytype="number" text="bind:day13"/>
  115. <Cell col="17" displaytype="number" text="bind:day14"/>
  116. <Cell col="18" displaytype="number" text="bind:day15"/>
  117. <Cell col="19" displaytype="number" text="bind:day16"/>
  118. <Cell col="20" displaytype="number" text="bind:day17"/>
  119. <Cell col="21" displaytype="number" text="bind:day18"/>
  120. <Cell col="22" displaytype="number" text="bind:day19"/>
  121. <Cell col="23" displaytype="number" text="bind:day20"/>
  122. <Cell col="24" displaytype="number" text="bind:day21"/>
  123. <Cell col="25" displaytype="number" text="bind:day22"/>
  124. <Cell col="26" displaytype="number" text="bind:day23"/>
  125. <Cell col="27" displaytype="number" text="bind:day24"/>
  126. <Cell col="28" displaytype="number" text="bind:day25"/>
  127. <Cell col="29" displaytype="number" text="bind:day26"/>
  128. <Cell col="30" displaytype="number" text="bind:day27"/>
  129. <Cell col="31" displaytype="number" text="bind:day28"/>
  130. <Cell col="32" displaytype="number" text="bind:day29"/>
  131. <Cell col="33" displaytype="number" text="bind:day30"/>
  132. <Cell col="34" displaytype="number" text="bind:day31"/>
  133. <Cell col="35" displaytype="number" text="bind:total"/>
  134. </Band>
  135. </Format>
  136. </Formats>
  137. </Grid>
  138. <Div id="grp_sea" taborder="3" class="div_SA" position="absolute 0 24 1195 64" anchor="left top right">
  139. <Layouts>
  140. <Layout>
  141. <Static id="caption2" text="구분 :" class="search_name" position="absolute 15 11 101 28"/>
  142. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 7 1113 31" anchor="top right"/>
  143. <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1120 8 1176 30" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  144. <Static id="caption3" text="일자 :" class="search_name" position="absolute 455 11 518 28"/>
  145. <Combo id="cmb_excuroomgrp" taborder="7" innerdataset="ds_init_cmb_excuroomgrp" codecolumn="cd" datacolumn="nm" class="combo_default" visible="false" position="absolute 640 10 758 29"/>
  146. <Calendar id="input1" taborder="8" position="absolute 522 10 612 29" mask="yyyy-mm" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_sea_input1_onchanged" autoselect="true"/>
  147. <cp_checkboxList id="cp_checkboxList00" titletext="CheckBox List" taborder="9" text="cp_checkboxList00" scrollbars="none" position="absolute 78 9 391 33" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  148. </Layout>
  149. </Layouts>
  150. </Div>
  151. <Button id="btn_excsave" taborder="4" text="엑셀저장" class="btn7" position="absolute 1115 69 1195 88" anchor="top right" onclick="btn_excsave_onclick"/>
  152. </Layout>
  153. </Layouts>
  154. <Objects>
  155. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  156. <ColumnInfo>
  157. <Column id="srchdate" type="STRING" size="256"/>
  158. <Column id="suppdeptcd" type="STRING" size="256"/>
  159. <Column id="initexcuroomgrp" type="STRING" size="256"/>
  160. <Column id="selectexcuroommgrp" type="STRING" size="256"/>
  161. <Column id="selectexcuroommgrpcdid" type="STRING" size="256"/>
  162. </ColumnInfo>
  163. <Rows>
  164. <Row>
  165. <Col id="srchdate"/>
  166. <Col id="suppdeptcd"/>
  167. <Col id="initexcuroomgrp"/>
  168. <Col id="selectexcuroommgrp"/>
  169. </Row>
  170. </Rows>
  171. </Dataset>
  172. <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  173. <ColumnInfo>
  174. <Column id="prcpcd" type="STRING" size="256" sumtext="처방명"/>
  175. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  176. <Column id="nm" type="STRING" size="256" sumtext="환자/검사"/>
  177. <Column id="day01" type="STRING" size="256" sumtext="1일"/>
  178. <Column id="day02" type="STRING" size="256" sumtext="2일"/>
  179. <Column id="day03" type="STRING" size="256" sumtext="3일"/>
  180. <Column id="day04" type="STRING" size="256" sumtext="4일"/>
  181. <Column id="day05" type="STRING" size="256" sumtext="5일"/>
  182. <Column id="day06" type="STRING" size="256" sumtext="6일"/>
  183. <Column id="day07" type="STRING" size="256" sumtext="7일"/>
  184. <Column id="day08" type="STRING" size="256" sumtext="8일"/>
  185. <Column id="day09" type="STRING" size="256" sumtext="9일"/>
  186. <Column id="day10" type="STRING" size="256" sumtext="10일"/>
  187. <Column id="day11" type="STRING" size="256" sumtext="11일"/>
  188. <Column id="day12" type="STRING" size="256" sumtext="12일"/>
  189. <Column id="day13" type="STRING" size="256" sumtext="13일"/>
  190. <Column id="day14" type="STRING" size="256" sumtext="14일"/>
  191. <Column id="day15" type="STRING" size="256" sumtext="15일"/>
  192. <Column id="day16" type="STRING" size="256" sumtext="16일"/>
  193. <Column id="day17" type="STRING" size="256" sumtext="17일"/>
  194. <Column id="day18" type="STRING" size="256" sumtext="18일"/>
  195. <Column id="day19" type="STRING" size="256" sumtext="19일"/>
  196. <Column id="day20" type="STRING" size="256" sumtext="20일"/>
  197. <Column id="day21" type="STRING" size="256" sumtext="21일"/>
  198. <Column id="day22" type="STRING" size="256" sumtext="22일"/>
  199. <Column id="day23" type="STRING" size="256" sumtext="23일"/>
  200. <Column id="day24" type="STRING" size="256" sumtext="24일"/>
  201. <Column id="day25" type="STRING" size="256" sumtext="25일"/>
  202. <Column id="day26" type="STRING" size="256" sumtext="26일"/>
  203. <Column id="day27" type="STRING" size="256" sumtext="27일"/>
  204. <Column id="day28" type="STRING" size="256" sumtext="28일"/>
  205. <Column id="day29" type="STRING" size="256" sumtext="29일"/>
  206. <Column id="day30" type="STRING" size="256" sumtext="30일"/>
  207. <Column id="day31" type="STRING" size="256" sumtext="31일"/>
  208. <Column id="total" type="STRING" size="256" sumtext="합계"/>
  209. </ColumnInfo>
  210. </Dataset>
  211. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  212. <ColumnInfo>
  213. <Column id="excuroomgrpcdid" type="STRING" size="256" sumtext="검사실그룹코드"/>
  214. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  215. <Column id="rbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,검사실"/>
  216. <Column id="kbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,장비코드"/>
  217. <Column id="nbasecdflag" type="STRING" size="256" sumtext="핵종코드"/>
  218. <Column id="initflag" type="STRING" size="256" sumtext="astlib,병동병실코드구분,1:병동조회"/>
  219. <Column id="alladdyn" type="STRING" size="256" sumtext="검사살전체선택"/>
  220. <Column id="flag" type="STRING" size="256" sumtext="검사살전체선택"/>
  221. <Column id="baseroomflag" type="STRING" size="256" sumtext="검사실구분코드"/>
  222. <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
  223. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실그룹코드"/>
  224. <Column id="ebasecdflag" type="STRING" size="256" sumtext="실시자기본코드구분"/>
  225. </ColumnInfo>
  226. <Rows>
  227. <Row/>
  228. </Rows>
  229. </Dataset>
  230. <Dataset id="ds_init_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  231. <ColumnInfo>
  232. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사그룹코드"/>
  233. <Column id="basecdcnts2" type="STRING" size="256" sumtext="검사그룹코드명"/>
  234. </ColumnInfo>
  235. </Dataset>
  236. <Dataset id="ds_main_list_wkcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  237. <ColumnInfo>
  238. <Column id="cnt" type="STRING" size="256"/>
  239. </ColumnInfo>
  240. </Dataset>
  241. </Objects>
  242. <Bind>
  243. <BindItem id="item0" compid="grp_sea.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="initexcuroomgrp"/>
  244. <BindItem id="item1" compid="grp_sea.input1" propid="value" datasetid="ds_send" columnid="srchdate"/>
  245. <BindItem id="item2" compid="input20" propid="value" datasetid="ds_main_list_wkcnt" columnid="cnt"/>
  246. </Bind>
  247. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  248. * System Name :
  249. * Job Name :
  250. * Creator :
  251. * Make Date : 2015-11-13
  252. * Description :
  253. *---------------------------------------------------------------------------------------
  254. * Modify Date Modifier Modify Description
  255. *---------------------------------------------------------------------------------------
  256. * 2015-11-13 Live Converter TF->XP
  257. *
  258. *---------------------------------------------------------------------------------------
  259. ****************************************************************************************/
  260. include "com_commonxp::comm_main.xjs";
  261. include "ast_examcurexp::AEZ0001.xjs";
  262. var vSuppdeptcd;
  263. function SMAES02300_oninit(obj:Form, e:InitEventInfo)
  264. {
  265. frmf_initForm(obj);
  266. }
  267. function SMAES02300_onload(obj:Form, e:LoadEventInfo)
  268. {
  269. grdf_initGrid(grd_list);
  270. lf_aezfSetSuppDeptcd();
  271. vSuppdeptcd = frmf_getPrestDeptCd();
  272. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  273. ds_req.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
  274. dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,baseroomflag:1,srchflag:A");
  275. var oParam = {};
  276. oParam.id = "TRAES09001";
  277. oParam.service = "examcurestatsapp.NmedStats";
  278. oParam.method = "reqGetCode";
  279. oParam.inds = "req=ds_req";
  280. oParam.outds = "ds_init_initexcuroomgrp=initexcuroomgrp";
  281. oParam.async = false;
  282. //oParam.callback = "cf_TRAES09001";
  283. tranf_submit(oParam);
  284. var fromdd = utlf_getCurrentDate().substr(0,6);
  285. ds_send.setColumn(0, "srchdate", fromdd);
  286. var sProp="col=2,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  287. grp_sea.cp_checkboxList00.setInitComp(sProp, ds_init_initexcuroomgrp,"basecdcnts","basecdcnts2","fn_cmpEvent");
  288. }
  289. function fn_cmpEvent(aa)
  290. {
  291. var rtn = cp_checkboxList00.getData();
  292. ds_send.setColumn(0, "selectexcuroommgrp", rtn);
  293. }
  294. function grp_sea_input1_onchanged(obj:Calendar, e:ChangeEventInfo)
  295. {
  296. ds_send.setColumn(0, "srchdate", String(obj.value).substr(0,6));
  297. }
  298. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  299. {
  300. var selectexcuroommgrp = ds_send.getColumn(0, "selectexcuroommgrp");
  301. if (!utlf_isNull(selectexcuroommgrp))
  302. {
  303. selectexcuroommgrp = "'" + selectexcuroommgrp.split(" ").join("','") + "'";
  304. }
  305. ds_send.setColumn(0, "selectexcuroommgrpcdid", selectexcuroommgrp);
  306. var oParam = {};
  307. oParam.id = "TRAES02300";
  308. oParam.service = "examcurestatsapp.NmedStats";
  309. oParam.method = "reqGetNmedStatsCodeDDList";
  310. oParam.inds = "req=ds_send";
  311. oParam.outds = "ds_main_list_item=item ds_main_list_wkcnt=wkcnt";
  312. oParam.async = false;
  313. //oParam.callback = "cf_TRAES02300";
  314. tranf_submit(oParam);
  315. }
  316. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  317. {
  318. if(ds_main_list_item.rowcount > 0)
  319. {
  320. grdf_exportExcel(grd_list, "", "");
  321. }
  322. }
  323. ]]></Script>
  324. </Form>
  325. </FDL>