SMAEA00950_RM입원환자치료시간표.xfdl 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA00950" position="absolute 0 0 1256 805" titletext="RM 입원환자 치료시간표" onload="SMAEA00950_onload" oninit="SMAEA00950_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="datagrid2" taborder="11" binddataset="ds_grid_datagrid1" useinputpanel="false" cellsizingtype="col" position="absolute 0 94 1212 773" anchor="all">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="33"/>
  12. <Column size="83"/>
  13. <Column size="87"/>
  14. <Column size="111"/>
  15. <Column size="75"/>
  16. <Column size="75"/>
  17. <Column size="90"/>
  18. <Column size="75"/>
  19. <Column size="75"/>
  20. <Column size="90"/>
  21. <Column size="75"/>
  22. <Column size="75"/>
  23. <Column size="90"/>
  24. <Column size="75"/>
  25. <Column size="75"/>
  26. <Column size="90"/>
  27. </Columns>
  28. <Rows>
  29. <Row size="24" band="head"/>
  30. <Row size="24" band="head"/>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell colspan="16" celltype="head" style="align:center middle;" text="RM 재활치료실 입원환자 치료시간표" taborder="undefined"/>
  36. <Cell col="16"/>
  37. <Cell col="17"/>
  38. <Cell col="18"/>
  39. <Cell col="19"/>
  40. <Cell col="20"/>
  41. <Cell col="21"/>
  42. <Cell row="1" rowspan="2" celltype="head" taborder="undefined"/>
  43. <Cell row="1" col="1" rowspan="2" text="환자번호"/>
  44. <Cell row="1" col="2" rowspan="2" text="환자성명" taborder="undefined"/>
  45. <Cell row="1" col="3" rowspan="2" text="병실" taborder="undefined"/>
  46. <Cell row="1" col="4" colspan="3" text="운동치료"/>
  47. <Cell row="1" col="7" colspan="3" text="작업치료"/>
  48. <Cell row="1" col="10" colspan="3" text="전기온열치료실" taborder="undefined"/>
  49. <Cell row="1" col="13" colspan="3" text="음성언어치료실"/>
  50. <Cell row="1" col="16" text="caption2"/>
  51. <Cell row="1" col="17" text="caption3"/>
  52. <Cell row="1" col="18" text="caption4"/>
  53. <Cell row="1" col="19" text="caption5"/>
  54. <Cell row="1" col="20" text="caption6"/>
  55. <Cell row="1" col="21"/>
  56. <Cell row="2" col="4" text="1차"/>
  57. <Cell row="2" col="5" text="2차"/>
  58. <Cell row="2" col="6" text="치료사"/>
  59. <Cell row="2" col="7" text="1차"/>
  60. <Cell row="2" col="8" text="2차"/>
  61. <Cell row="2" col="9" text="치료사"/>
  62. <Cell row="2" col="10" text="1차"/>
  63. <Cell row="2" col="11" text="2차"/>
  64. <Cell row="2" col="12" text="치료사"/>
  65. <Cell row="2" col="13" text="1차"/>
  66. <Cell row="2" col="14" text="2차"/>
  67. <Cell row="2" col="15" text="치료사"/>
  68. </Band>
  69. <Band id="body">
  70. <Cell celltype="head" text="expr:currow+1"/>
  71. <Cell col="1" celltype="head" style="background:azure;background2:azure;" text="bind:pid" suppress="0" suppressalign="first"/>
  72. <Cell col="2" text="bind:pname"/>
  73. <Cell col="3" text="bind:roomcd"/>
  74. <Cell col="4" style="background:EXPR(rm001!=null&amp;&amp;rm001&gt;=1300?'gold':'');background2:EXPR(rm001!=null&amp;&amp;rm001&gt;=1300?'gold':'');selectbackground:EXPR(rsrvtm1!=null&amp;&amp;rsrvtm1&gt;=1300?'gold':'');" text="bind:rm001" mask="expr:rm001==null?&quot;&quot;:'@@:@@'"/>
  75. <Cell col="5" style="background:EXPR(rm001_2!=null&amp;&amp;rm001_2&gt;=1300?'gold':'');background2:EXPR(rm001_2!=null&amp;&amp;rm001_2&gt;=1300?'gold':'');" text="bind:rm001_2" mask="expr:rm001_2==null?&quot;&quot;:'@@:@@'"/>
  76. <Cell col="6" style="align:center middle;" text="bind:rm001_3" tooltiptype="mouse"/>
  77. <Cell col="7" style="background:EXPR(rm004!=null&amp;&amp;rm004&gt;=1300?'gold':'');background2:EXPR(rm004!=null&amp;&amp;rm004&gt;=1300?'gold':'');selectbackground:EXPR(rsrvtm2!=null&amp;&amp;rsrvtm2&gt;=1300?'gold':'');" text="bind:rm004" mask="expr:rm004==null?&quot;&quot;:'@@:@@'"/>
  78. <Cell col="8" style="background:EXPR(rm004_2!=null&amp;&amp;rm004_2&gt;=1300?'gold':'');background2:EXPR(rm004_2!=null&amp;&amp;rm004_2&gt;=1300?'gold':'');" text="bind:rm004_2" mask="expr:rm004_2==null?&quot;&quot;:'@@:@@'" tooltiptext="bind:pid2"/>
  79. <Cell col="9" style="align:center middle;" text="bind:rm004_3" tooltiptype="mouse" tooltiptext="bind:rm004_3"/>
  80. <Cell col="10" style="background:EXPR(rm005!=null&amp;&amp;rm005&gt;=1300?'gold':'');background2:EXPR(rm005!=null&amp;&amp;rm005&gt;=1300?'gold':'');" text="bind:rm005" mask="expr:rm005==null?&quot;&quot;:'@@:@@'"/>
  81. <Cell col="11" style="background:EXPR(rm005_2!=null&amp;&amp;rm005_2&gt;=1300?'gold':'');background2:EXPR(rm005_2!=null&amp;&amp;rm005_2&gt;=1300?'gold':'');" text="bind:rm005_2" mask="expr:rm005_2==null?&quot;&quot;:'@@:@@'"/>
  82. <Cell col="12" text="bind:rm005_3" tooltiptype="mouse" tooltiptext="bind:excucdnm3"/>
  83. <Cell col="13" style="background:EXPR(rm006!=null&amp;&amp;rm006&gt;=1300?'gold':'');background2:0?gold:;selectbackground:EXPR(rsrvtm3!=null&amp;&amp;rsrvtm3&gt;=1300?'gold':'');" text="bind:rm006" mask="expr:rm006==null?&quot;&quot;:'@@:@@'"/>
  84. <Cell col="14" style="background:EXPR(rm006_2!=null&amp;&amp;rm006_2&gt;=1300?'gold':'');background2:EXPR(rm006_2!=null&amp;&amp;rm006_2&gt;=1300?'gold':'');" text="bind:rm006_2" mask="expr:rm006_2==null?&quot;&quot;:'@@:@@'"/>
  85. <Cell col="15" style="align:center middle;" text="bind:rm006_3" tooltiptype="mouse" tooltiptext="bind:excucdnm3"/>
  86. </Band>
  87. </Format>
  88. </Formats>
  89. </Grid>
  90. <Grid id="datagrid1" taborder="5" useinputpanel="false" position="absolute 0 94 1212 773" anchor="all" binddataset="ds_grid_datagrid1" positiontype="position" cellsizingtype="col">
  91. <Formats>
  92. <Format id="default">
  93. <Columns>
  94. <Column size="33"/>
  95. <Column size="83"/>
  96. <Column size="65"/>
  97. <Column size="79"/>
  98. <Column size="50"/>
  99. <Column size="50"/>
  100. <Column size="70"/>
  101. <Column size="50"/>
  102. <Column size="50"/>
  103. <Column size="70"/>
  104. <Column size="50"/>
  105. <Column size="50"/>
  106. <Column size="70"/>
  107. <Column size="50"/>
  108. <Column size="50"/>
  109. <Column size="70"/>
  110. <Column size="50"/>
  111. <Column size="50"/>
  112. <Column size="70"/>
  113. </Columns>
  114. <Rows>
  115. <Row size="24" band="head"/>
  116. <Row size="24" band="head"/>
  117. <Row size="24" band="head"/>
  118. <Row size="24"/>
  119. </Rows>
  120. <Band id="head">
  121. <Cell colspan="19" celltype="head" style="align:center middle;" text="RM 재활치료실 입원환자 치료시간표" taborder="undefined"/>
  122. <Cell col="19"/>
  123. <Cell col="20"/>
  124. <Cell col="21"/>
  125. <Cell col="22"/>
  126. <Cell col="23"/>
  127. <Cell col="24"/>
  128. <Cell row="1" rowspan="2" celltype="head" taborder="undefined"/>
  129. <Cell row="1" col="1" rowspan="2" text="환자번호"/>
  130. <Cell row="1" col="2" rowspan="2" text="환자성명" taborder="undefined"/>
  131. <Cell row="1" col="3" rowspan="2" text="병실" taborder="undefined"/>
  132. <Cell row="1" col="4" colspan="3" text="운동치료"/>
  133. <Cell row="1" col="7" colspan="3" text="작업치료"/>
  134. <Cell row="1" col="10" colspan="3" text="언어치료"/>
  135. <Cell row="1" col="13" colspan="3" text="심장호흡재활치료"/>
  136. <Cell row="1" col="16" colspan="3" text="심뇌운동치료"/>
  137. <Cell row="1" col="19" text="caption1"/>
  138. <Cell row="1" col="20" text="caption2"/>
  139. <Cell row="1" col="21" text="caption3"/>
  140. <Cell row="1" col="22" text="caption4"/>
  141. <Cell row="1" col="23" text="caption5"/>
  142. <Cell row="1" col="24" text="caption6"/>
  143. <Cell row="2" col="4" text="1차"/>
  144. <Cell row="2" col="5" text="2차"/>
  145. <Cell row="2" col="6" text="치료사"/>
  146. <Cell row="2" col="7" text="1차"/>
  147. <Cell row="2" col="8" text="2차"/>
  148. <Cell row="2" col="9" text="치료사"/>
  149. <Cell row="2" col="10" text="1차"/>
  150. <Cell row="2" col="11" text="2차"/>
  151. <Cell row="2" col="12" text="치료사"/>
  152. <Cell row="2" col="13" text="1차"/>
  153. <Cell row="2" col="14" text="2차"/>
  154. <Cell row="2" col="15" text="치료사"/>
  155. <Cell row="2" col="16" text="1차"/>
  156. <Cell row="2" col="17" text="2차"/>
  157. <Cell row="2" col="18" text="치료사"/>
  158. </Band>
  159. <Band id="body">
  160. <Cell celltype="head" text="expr:currow+1"/>
  161. <Cell col="1" celltype="head" style="background:azure;background2:azure;" text="bind:pid" suppress="0" suppressalign="first"/>
  162. <Cell col="2" text="bind:pname"/>
  163. <Cell col="3" text="bind:roomcd"/>
  164. <Cell col="4" style="background:EXPR(rm001!=null&amp;&amp;rm001&gt;=1300?'gold':'');background2:EXPR(rm001!=null&amp;&amp;rm001&gt;=1300?'gold':'');selectbackground:EXPR(rsrvtm1!=null&amp;&amp;rsrvtm1&gt;=1300?'gold':'');" text="bind:rm001" mask="expr:rm001==null?&quot;&quot;:'@@:@@'"/>
  165. <Cell col="5" style="background:EXPR(rm001_2!=null&amp;&amp;rm001_2&gt;=1300?'gold':'');background2:EXPR(rm001_2!=null&amp;&amp;rm001_2&gt;=1300?'gold':'');" text="bind:rm001_2" mask="expr:rm001_2==null?&quot;&quot;:'@@:@@'"/>
  166. <Cell col="6" style="align:center middle;" text="bind:rm001_3" tooltiptype="mouse"/>
  167. <Cell col="7" style="background:EXPR(rm004!=null&amp;&amp;rm004&gt;=1300?'gold':'');background2:EXPR(rm004!=null&amp;&amp;rm004&gt;=1300?'gold':'');selectbackground:EXPR(rsrvtm2!=null&amp;&amp;rsrvtm2&gt;=1300?'gold':'');" text="bind:rm004" mask="expr:rm004==null?&quot;&quot;:'@@:@@'"/>
  168. <Cell col="8" style="background:EXPR(rm004_2!=null&amp;&amp;rm004_2&gt;=1300?'gold':'');background2:EXPR(rm004_2!=null&amp;&amp;rm004_2&gt;=1300?'gold':'');" text="bind:rm004_2" mask="expr:rm004_2==null?&quot;&quot;:'@@:@@'" tooltiptext="bind:pid2"/>
  169. <Cell col="9" style="align:center middle;" text="bind:rm004_3" tooltiptype="mouse" tooltiptext="bind:rm004_3"/>
  170. <Cell col="10" style="background:EXPR(rm005!=null&amp;&amp;rm005&gt;=1300?'gold':'');background2:EXPR(rm005!=null&amp;&amp;rm005&gt;=1300?'gold':'');selectbackground:EXPR(rsrvtm3!=null&amp;&amp;rsrvtm3&gt;=1300?'gold':'');" text="bind:rm005" mask="expr:rm005==null?&quot;&quot;:'@@:@@'"/>
  171. <Cell col="11" style="background:EXPR(rm005_2!=null&amp;&amp;rm005_2&gt;=1300?'gold':'');background2:EXPR(rm005_2!=null&amp;&amp;rm005_2&gt;=1300?'gold':'');" text="bind:rm005_2" mask="expr:rm005_2==null?&quot;&quot;:'@@:@@'" tooltiptext="bind:pid3"/>
  172. <Cell col="12" style="align:center middle;" text="bind:rm005_3" tooltiptype="mouse" tooltiptext="bind:excucdnm3"/>
  173. <Cell col="13" style="background:EXPR(rm006!=null&amp;&amp;rm006&gt;=1300?'gold':'');background2:EXPR(rm006!=null&amp;&amp;rm006&gt;=1300?'gold':'');selectbackground:EXPR(rsrvtm4!=null&amp;&amp;rsrvtm4&gt;=1300?'gold':'');" text="bind:rm006" mask="expr:rm006==null?&quot;&quot;:'@@:@@'"/>
  174. <Cell col="14" style="background:EXPR(rm006_2!=null&amp;&amp;rm006_2&gt;=1300?'gold':'');background2:EXPR(rm006_2!=null&amp;&amp;rm006_2&gt;=1300?'gold':'');" text="bind:rm006_2" mask="expr:rm006_2==null?&quot;&quot;:'@@:@@'" tooltiptext="bind:pid4"/>
  175. <Cell col="15" style="align:center middle;" text="bind:rm006_3" tooltiptype="mouse" tooltiptext="bind:excucdnm4"/>
  176. <Cell col="16" style="background:EXPR(rm007!=null&amp;&amp;rm007&gt;=1300?'gold':'');background2:EXPR(rm007!=null&amp;&amp;rm007&gt;=1300?'gold':'');" text="bind:rm007" mask="expr:rm007==null?&quot;&quot;:'@@:@@'"/>
  177. <Cell col="17" style="background:EXPR(rm007_2!=null&amp;&amp;rm007_2&gt;=1300?'gold':'');background2:EXPR(rm007_2!=null&amp;&amp;rm007_2&gt;=1300?'gold':'');" text="bind:rm007_2" mask="expr:rm007_2==null?&quot;&quot;:'@@:@@'" tooltiptext="bind:rm007_2"/>
  178. <Cell col="18" style="align:center middle;" text="bind:rm007_3" tooltiptype="mouse" tooltiptext="bind:rm007_3"/>
  179. </Band>
  180. </Format>
  181. </Formats>
  182. </Grid>
  183. <Button id="btn_prt" taborder="9" text="출력" onlbuttonup="btn_prt_onlbuttonup" class="btn6" position="absolute 1144 67 1200 87" anchor="right bottom" visible="false" positiontype="position" onclick="btn_prt_onclick"/>
  184. <Static id="caption19" text="RM 입원환자 치료예약시간표" class="tit_1" position="absolute 0 0 220 25" positiontype="position"/>
  185. <Button id="button51" taborder="8" text="엑셀" onclick="button51_onclick" class="btn7" position="absolute 1088 67 1140 89" anchor="top right" positiontype="position"/>
  186. <Div id="roundrect1" taborder="10" applystyletype="apply" style="align:center top;transformation:0,0 ;" scrollbars="none" class="div_SA" position="absolute 0 25 1248 65" anchor="left top right" type="roundrectangle" positiontype="position">
  187. <Layouts>
  188. <Layout>
  189. <Button id="btn_sea" taborder="95" text="조회" class="btn1" position="absolute 1164 10 1220 30" anchor="top right" onclick="btn_sea_onclick" positiontype="position"/>
  190. <Calendar id="ipt_frdt" taborder="100" class="input_default" position="absolute 56 11 164 31" anchor="default" value="null" onkeydown="roundrect1_ipt_frdt_onkeydown" autoselect="true" dateformat="yyyy-MM-dd ddd" positiontype="position"/>
  191. <Static id="caption04" text="날짜" class="search_name" position="absolute 8 11 52 31" anchor="default"/>
  192. </Layout>
  193. </Layouts>
  194. </Div>
  195. <Shape id="line03" class="line_10" position="absolute 0 89 1216 95" anchor="left top right"/>
  196. </Layout>
  197. </Layouts>
  198. <Objects>
  199. <Dataset id="ds_grid_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  200. <ColumnInfo>
  201. <Column id="pid" type="STRING"/>
  202. <Column id="pname" type="STRING"/>
  203. <Column id="rm001" type="STRING"/>
  204. <Column id="rm001_2" type="STRING"/>
  205. <Column id="rm001_3" type="STRING"/>
  206. <Column id="rm004" type="STRING"/>
  207. <Column id="rm004_2" type="STRING"/>
  208. <Column id="rm004_3" type="STRING"/>
  209. <Column id="rm005" type="STRING"/>
  210. <Column id="rm005_2" type="STRING"/>
  211. <Column id="rm005_3" type="STRING"/>
  212. <Column id="rm006" type="STRING"/>
  213. <Column id="rm006_2" type="STRING"/>
  214. <Column id="rm006_3" type="STRING"/>
  215. <Column id="rm007" type="STRING"/>
  216. <Column id="rm007_2" type="STRING"/>
  217. <Column id="rm007_3" type="STRING"/>
  218. <Column id="titledesc" type="STRING" size="256"/>
  219. <Column id="roomcd" type="STRING" size="256"/>
  220. </ColumnInfo>
  221. </Dataset>
  222. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  223. <ColumnInfo>
  224. <Column id="suppdeptcd" type="STRING" size="256"/>
  225. <Column id="frdt" type="STRING" size="256"/>
  226. <Column id="instcd" type="STRING" size="256"/>
  227. </ColumnInfo>
  228. <Rows>
  229. <Row>
  230. <Col id="suppdeptcd"/>
  231. <Col id="frdt"/>
  232. </Row>
  233. </Rows>
  234. </Dataset>
  235. <Dataset id="ds_init_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  236. <ColumnInfo>
  237. <Column id="suppdeptcd"/>
  238. <Column id="depthngnm"/>
  239. </ColumnInfo>
  240. </Dataset>
  241. <Dataset id="ds_init_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  242. <ColumnInfo>
  243. <Column id="basecd" type="STRING" size="256"/>
  244. <Column id="basecdflagdesc" type="STRING" size="256"/>
  245. </ColumnInfo>
  246. </Dataset>
  247. <Dataset id="ds_init_execr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  248. <ColumnInfo>
  249. <Column id="basecd" type="STRING" size="256"/>
  250. <Column id="basecdflagdesc" type="STRING" size="256"/>
  251. </ColumnInfo>
  252. </Dataset>
  253. <Dataset id="ds_report" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  254. <ColumnInfo>
  255. <Column id="rsrvtm" type="STRING" size="256"/>
  256. <Column id="hngnm1" type="STRING" size="256"/>
  257. <Column id="hngnm2" type="STRING" size="256"/>
  258. <Column id="hngnm3" type="STRING" size="256"/>
  259. <Column id="hngnm4" type="STRING" size="256"/>
  260. <Column id="hngnm5" type="STRING" size="256"/>
  261. </ColumnInfo>
  262. <Rows>
  263. <Row>
  264. <Col id="rsrvtm">09000930</Col>
  265. </Row>
  266. <Row>
  267. <Col id="rsrvtm">09301000</Col>
  268. </Row>
  269. <Row>
  270. <Col id="rsrvtm">10001030</Col>
  271. </Row>
  272. <Row>
  273. <Col id="rsrvtm">10301100</Col>
  274. </Row>
  275. <Row>
  276. <Col id="rsrvtm">11001130</Col>
  277. </Row>
  278. <Row>
  279. <Col id="rsrvtm">12001300</Col>
  280. </Row>
  281. <Row>
  282. <Col id="rsrvtm">13001330</Col>
  283. </Row>
  284. <Row>
  285. <Col id="rsrvtm">13301400</Col>
  286. </Row>
  287. <Row>
  288. <Col id="rsrvtm">14001430</Col>
  289. </Row>
  290. <Row>
  291. <Col id="rsrvtm">14301500</Col>
  292. </Row>
  293. <Row>
  294. <Col id="rsrvtm">15001530</Col>
  295. </Row>
  296. <Row>
  297. <Col id="rsrvtm">15301600</Col>
  298. </Row>
  299. <Row>
  300. <Col id="rsrvtm">16001630</Col>
  301. </Row>
  302. <Row>
  303. <Col id="rsrvtm">16301700</Col>
  304. </Row>
  305. <Row>
  306. <Col id="rsrvtm">1700~</Col>
  307. </Row>
  308. </Rows>
  309. </Dataset>
  310. <Dataset id="ds_send_rexdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  311. <Dataset id="ds_grid_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  312. <ColumnInfo>
  313. <Column id="pid" type="STRING"/>
  314. <Column id="pname" type="STRING"/>
  315. <Column id="rm001" type="STRING"/>
  316. <Column id="rm001_2" type="STRING"/>
  317. <Column id="rm001_3" type="STRING"/>
  318. <Column id="rm004" type="STRING"/>
  319. <Column id="rm004_2" type="STRING"/>
  320. <Column id="rm004_3" type="STRING"/>
  321. <Column id="rm005" type="STRING"/>
  322. <Column id="rm005_2" type="STRING"/>
  323. <Column id="rm005_3" type="STRING"/>
  324. <Column id="rm006" type="STRING"/>
  325. <Column id="rm006_2" type="STRING"/>
  326. <Column id="rm006_3" type="STRING"/>
  327. <Column id="rm007" type="STRING"/>
  328. <Column id="rm007_2" type="STRING"/>
  329. <Column id="rm007_3" type="STRING"/>
  330. <Column id="titledesc" type="STRING" size="256"/>
  331. <Column id="roomcd" type="STRING" size="256"/>
  332. </ColumnInfo>
  333. </Dataset>
  334. </Objects>
  335. <Bind>
  336. <BindItem id="item1" compid="roundrect1.ipt_frdt" propid="value" datasetid="ds_send" columnid="frdt"/>
  337. </Bind>
  338. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  339. * System Name : Himed
  340. * Job Name :
  341. * File Name : SMAEA00950_RM입원환자치료시간표.xfdl
  342. * Creator :
  343. * Make Date : 2014-04-18
  344. *
  345. * Description :
  346. *---------------------------------------------------------------------------------------
  347. * Modify Date Modifier Modify Description
  348. *---------------------------------------------------------------------------------------
  349. * 2014-04-18 HIT Converting Program(TF->XP)
  350. *
  351. *---------------------------------------------------------------------------------------
  352. ****************************************************************************************/
  353. //=======================================================================================
  354. // xjs Include
  355. //---------------------------------------------------------------------------------------
  356. include "com_commonxp::comm_main.xjs";
  357. include "ast_examcurexp::AEZ0001.xjs";
  358. // include "com_commodulexp::SSZFM00401.xjs"; // Dataset 뷰어용
  359. var sSystemcd = "";
  360. var sSysteminstcd = "" ;
  361. //=======================================================================================
  362. // Event
  363. //---------------------------------------------------------------------------------------
  364. /****************************************************************************************
  365. * Components :
  366. * Components ID : SMAEA00910
  367. * Event : onload
  368. * Argument : 01.obj : Object Event has occurred
  369. * : 02.e : Event Object
  370. * Description :
  371. ****************************************************************************************/
  372. function SMAEA00950_onload(obj:Form, e:LoadEventInfo)
  373. {
  374. lf_aezfSetSuppDeptcd_main();
  375. //20180822 진료과 설정
  376. if (utlf_transNullToEmpty(suppdeptcd) =="") {
  377. suppdeptcd = sysf_getUserInfo( "dutplcecd" );
  378. }
  379. ds_send.setColumn(0,"suppdeptcd","2220200000");
  380. roundrect1.ipt_frdt.value = utlf_getCurrentDate();
  381. datagrid1.tooltiptype = "hover";
  382. sSystemcd = sysf_getSystemCd();
  383. sSysteminstcd = sSystemcd.substring(3,6);
  384. if (sSysteminstcd == "031" ) {
  385. datagrid1.visible = true;
  386. datagrid2.visible = false;
  387. } else {
  388. datagrid1.visible = false;
  389. datagrid2.visible = true;
  390. };
  391. }
  392. /****************************************************************************************
  393. * Components :
  394. * Components ID : button51
  395. * Event : onclick
  396. * Argument : 01.obj : Object Event has occurred
  397. * : 02.e : Event Object
  398. * Description :
  399. ****************************************************************************************/
  400. function button51_onclick(obj:Button, e:ClickEventInfo)
  401. {
  402. if (sSysteminstcd == "031" ) {
  403. grdf_exportExcel(datagrid1, "RM 입원환자 치료예약시간표", "sheet1", false, "", "user", false);
  404. } else {
  405. grdf_exportExcel(datagrid2, "RM 입원환자 치료예약시간표", "sheet1", false, "", "user", false);
  406. }
  407. }
  408. /****************************************************************************************
  409. * Components :
  410. * Components ID : btn_sea
  411. * Event : onclick
  412. * Argument : 01.obj : Object Event has occurred
  413. * : 02.e : Event Object
  414. * Description :
  415. ****************************************************************************************/
  416. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  417. {
  418. setTitle();
  419. ds_send.setColumn(0,"frdt",roundrect1.ipt_frdt.value);
  420. ds_send.setColumn(0,"suppdeptcd","2220200000");
  421. ds_send.setColumn(0,"instcd",sSysteminstcd);
  422. var objParam = new Object();
  423. objParam.id = "TRAEA00950_dummy";
  424. objParam.service = "examcurersrvapp.RsrvRef";
  425. objParam.method = "reqGetCurerRsrvRMInpat";
  426. objParam.inds = "req=ds_send";
  427. objParam.outds ="ds_grid_datagrid1=rsrvlist";
  428. //objParam.callback = "cbf_TRAEA00904";
  429. tranf_submit(objParam);
  430. }
  431. function setTitle() {
  432. var curD = String(roundrect1.ipt_frdt.value);
  433. var curDD = curD.substr(0,4) + "-" + curD.substr(4,2) + "-" + curD.substr(6,2)
  434. datagrid1.setCellProperty("Head", 0, "text", "RM 재활치료실 입원환자 치료시간표 (" + curDD +")");
  435. }
  436. function roundrect1_ipt_frdt_onkeydown(obj:Calendar, e:KeyEventInfo)
  437. {
  438. if(e.keycode == 13){
  439. obj.updateToDataset();
  440. btn_sea_onclick();
  441. }
  442. }
  443. function SMAEA00950_oninit(obj:Form, e:InitEventInfo)
  444. {
  445. frmf_initForm(obj); // 화면공통
  446. }
  447. function btn_prt_onclick(obj:Button, e:ClickEventInfo)
  448. {
  449. var rowCnt = datagrid1.rowcount;
  450. if( rowCnt > 0 ) {
  451. var printgubn = ds_send.getColumn(0, "printgubn");
  452. var reportid = "";
  453. var blank;
  454. reportid = "RPAEA00951";
  455. ds_send_rexdata.clearData();
  456. ds_send_rexdata.copyData(datagrid1,true);
  457. var srchsearch = "";
  458. if( !utlf_isNull(String(roundrect1.ipt_frdt.value)) ){
  459. srchsearch = "▣ 예약일자 : " + String(roundrect1.ipt_frdt.value);
  460. }
  461. ds_send_rexdata.addConstColumn("srchsearch", srchsearch);
  462. var objDOM = rptf_createDOM(); // DOM 객체 설정
  463. rptf_setValueToDOM(objDOM, "root/send/srchsearch", srchsearch); // 조회조건 설정
  464. rptf_setNodeListToDOM(objDOM, "root/send/rexdata", ds_send_rexdata); // 데이터셋 1
  465. var objParam = new Object();
  466. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  467. var option = "open=1;save=1;directprint=0;print=1;zoom=0";
  468. rptf_exeReportPreview30([reportid],[objParam], option);
  469. } else {
  470. sysf_messageBox( "출력할 재활치료실 치료시간표", "E013" );
  471. }
  472. }
  473. ]]></Script>
  474. </Form>
  475. </FDL>