SMAEA02700_환자별COMMENT관리.xfdl 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA02700" position="absolute 0 0 1219 831" titletext="환자별Comment관리" oninit="model1_oninit" onload="SMAEA02700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption2" text="일자별메모" class="tit_2" position="absolute 0 346 147 366"/>
  8. <Grid id="grdAeahMemoList" taborder="3" binddataset="ds_grid_grdAeahMemoList" useinputpanel="false" position="absolute 0 363 1218 804" anchor="left top bottom" onclick="grdAeahMemoList_onclick" oncellclick="grdAeahMemoList_oncellclick" cellsizingtype="col" autosizingtype="none" extendsizetype="none" autofittype="col">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="114"/>
  13. <Column size="101"/>
  14. <Column size="90"/>
  15. <Column size="0"/>
  16. <Column size="100"/>
  17. <Column size="362"/>
  18. </Columns>
  19. <Rows>
  20. <Row size="22" band="head"/>
  21. <Row size="24"/>
  22. </Rows>
  23. <Band id="head">
  24. <Cell text="메모일자"/>
  25. <Cell col="1" text="등록번호"/>
  26. <Cell col="2" text="환자명"/>
  27. <Cell col="3"/>
  28. <Cell col="4" text="검사/치료실"/>
  29. <Cell col="5" text="메모내용"/>
  30. </Band>
  31. <Band id="body">
  32. <Cell style="align:center middle;" text="bind:memorgstdd"/>
  33. <Cell col="1" style="align:center middle;" text="bind:pid"/>
  34. <Cell col="2" style="align:center middle;" text="bind:pnm"/>
  35. <Cell col="3" style="align:left middle;" text="bind:excuroomcd"/>
  36. <Cell col="4" style="align:center middle;" text="bind:excuroomnm"/>
  37. <Cell col="5" style="align:left middle;" text="bind:memodesc" wordwrap="word"/>
  38. <Cell col="6" style="align:center middle;"/>
  39. <Cell col="7" style="align:center middle;"/>
  40. <Cell col="8"/>
  41. <Cell col="9" style="align:center middle;"/>
  42. <Cell col="10"/>
  43. <Cell col="11"/>
  44. </Band>
  45. </Format>
  46. </Formats>
  47. </Grid>
  48. <Static id="caption1" text="메모" class="tit_2" position="absolute 530 80 579 100"/>
  49. <Static id="caption14" text="일별현황" class="tit_2" position="absolute 0 81 72 101"/>
  50. <Div id="CalDiv" taborder="10" position="absolute 0 97 536 337">
  51. <Layouts>
  52. <Layout>
  53. <Grid id="grd_calendar" class="gridcalendar" taborder="24" binddataset="ds_grid_grd_calendar" useinputpanel="false" selecttype="cell" autofittype="col" position="absolute 0 31 527 236" onclick="grd_calendar_onclick" oncelldblclick="CalDiv_grd_calendar_oncelldblclick" oncellclick="CalDiv_grd_calendar_oncellclick" scrollbars="none">
  54. <Formats>
  55. <Format id="default">
  56. <Columns>
  57. <Column size="55"/>
  58. <Column size="55"/>
  59. <Column size="55"/>
  60. <Column size="55"/>
  61. <Column size="55"/>
  62. <Column size="55"/>
  63. <Column size="55"/>
  64. </Columns>
  65. <Rows>
  66. <Row size="24" band="head"/>
  67. <Row size="18"/>
  68. <Row size="18"/>
  69. </Rows>
  70. <Band id="head">
  71. <Cell text="일"/>
  72. <Cell col="1" text="월"/>
  73. <Cell col="2" text="화"/>
  74. <Cell col="3" text="수"/>
  75. <Cell col="4" text="목"/>
  76. <Cell col="5" text="금"/>
  77. <Cell col="6" text="토"/>
  78. </Band>
  79. <Band id="body">
  80. <Cell rowspan="2" style="color:crimson;color2:crimson;" class="color_sun" text="bind:sun" taborder="undefined"/>
  81. <Cell col="1" rowspan="2" style="color:EXPR(mon_holi==1?'crimson':'black');color2:EXPR(mon_holi==1?'crimson':'black');" text="bind:mon" taborder="undefined"/>
  82. <Cell col="2" rowspan="2" style="color:EXPR(tue_holi==1?'crimson':'black');color2:EXPR(tue_holi==1?'crimson':'black');" text="bind:tue" taborder="undefined"/>
  83. <Cell col="3" rowspan="2" style="color:EXPR(wed_holi==1?'crimson':'black');color2:EXPR(wed_holi==1?'crimson':'black');" text="bind:wed" taborder="undefined"/>
  84. <Cell col="4" rowspan="2" style="color:EXPR(thu_holi==1?'crimson':'black');color2:EXPR(thu_holi==1?'crimson':'black');" text="bind:thu" taborder="undefined"/>
  85. <Cell col="5" rowspan="2" style="color:EXPR(fri_holi==1?'crimson':'black');color2:EXPR(fri_holi==1?'crimson':'black');" text="bind:fri" taborder="undefined"/>
  86. <Cell col="6" rowspan="2" style="color:EXPR(sat_holi==1?'crimson':'blue');color2:EXPR(sat_holi==1?'crimson':'blue');" class="color_sat" text="bind:sat" taborder="undefined"/>
  87. </Band>
  88. </Format>
  89. </Formats>
  90. </Grid>
  91. <Div id="grp_calendar" taborder="25" class="div_SA" position="absolute 0 1 527 31"/>
  92. <Button id="btn_nextyear" taborder="26" onclick="clickCalButton" onlbuttonup="btn_nextyear_onlbuttonup" class="icon_next_year" position="absolute 339 8 355 28"/>
  93. <Button id="btn_nextmonth" taborder="27" onclick="clickCalButton" class="icon_next_month" position="absolute 321 8 337 28"/>
  94. <Static id="caption18" text="월" class="calendar_output" position="absolute 302 6 322 26" style="color:black;"/>
  95. <Edit id="opt_month" taborder="28" readonly="true" class="calendar_output" position="absolute 269 6 299 26" ontextchange="CalDiv_opt_month_ontextchange"/>
  96. <Static id="caption15" text="년" class="calendar_output" position="absolute 250 6 270 26" style="color:black;"/>
  97. <Edit id="opt_year" taborder="29" readonly="true" class="calendar_output" position="absolute 213 6 247 26"/>
  98. <Button id="btn_premonth" taborder="30" onclick="clickCalButton" onlbuttonup="btn_premonth_onlbuttonup" class="icon_pre_month" position="absolute 189 8 205 28"/>
  99. <Button id="btn_preyear" taborder="31" onclick="clickCalButton" class="icon_pre_year" position="absolute 171 8 187 28"/>
  100. </Layout>
  101. </Layouts>
  102. </Div>
  103. <Div id="roundrect1" anchor="left top right" taborder="11" applystyletype="apply" style="align:center top;transformation:0,0 ;" scrollbars="none" class="div_SA" position="absolute 0 25 1218 65">
  104. <Layouts>
  105. <Layout>
  106. <Static id="caption1" text="등록번호" class="search_name" position="absolute 10 259 84 279" anchor="default"/>
  107. <Edit id="ipt_pid" taborder="62" imemode="hangul" maxlength="10" class="input_search" position="absolute 739 9 847 29" onmouseleave="ipt_pid_onmouseleave" anchor="default"/>
  108. <Edit id="opt_pathngnm" taborder="63" readonly="true" class="output_fix" position="absolute 209 259 309 279" anchor="default"/>
  109. <Button id="button61" taborder="64" onclick="button61_onclick" onlbuttonup="&quot;button61_onlbuttonup&quot;" class="icon_search" position="absolute 184 259 204 279" anchor="default"/>
  110. <Static id="caption5" text="적용일자" class="search_name" position="absolute 333 259 407 279" anchor="default"/>
  111. <Calendar id="ipt_startrsrvdd" taborder="65" class="input_default" position="absolute 406 259 506 279" style="align:center middle;" anchor="default"/>
  112. <Combo id="cmbExcuRoom" taborder="66" innerdataset="@ds_init_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_search" position="absolute 391 10 577 30" onitemchanged="roundrect1_cmbExcuRoom_onitemchanged" anchor="default"/>
  113. <Static id="caption02" text="검사/치료실" class="search_name" position="absolute 298 10 410 30" anchor="default"/>
  114. <Button id="btnSearch" taborder="67" text="조회" onclick="btnSearch_onclick" class="btn1" position="absolute 1153 10 1209 30" anchor="top right"/>
  115. <Static id="caption4" text="~" position="absolute 157 10 177 30" style="align:center middle;" anchor="default"/>
  116. <Static id="caption3" text="일자" class="search_name" position="absolute 8 10 50 30" anchor="default"/>
  117. <Calendar id="ipt_fromdd" taborder="71" dateformat="yyyy-MM-dd" class="input_default" position="absolute 58 10 158 30" style="align:center middle;" anchor="default" autoselect="true" autoskip="true"/>
  118. <Calendar id="ipt_todd" taborder="72" dateformat="yyyy-MM-dd " class="input_default" position="absolute 174 10 274 30" style="align:center middle;" anchor="default" autoselect="true" autoskip="true"/>
  119. <Static id="caption00" text="등록번호" class="search_name" position="absolute 671 10 745 30" anchor="default"/>
  120. <Button id="btn_pidsearch" taborder="74" class="icon_search" position="absolute 850 9 870 29" anchor="default" onclick="roundrect1_btn_pidsearch_onclick"/>
  121. </Layout>
  122. </Layouts>
  123. </Div>
  124. <Static id="caption6" text="환자별Comment관리" class="tit_1" position="absolute 0 0 160 25"/>
  125. <Static id="Static07" onclick="Static07_onclick" class="sta_DA_box" position="absolute 528 97 1218 333" anchor="left top right"/>
  126. <Static id="caption11" text="메모내용" class="cell_1" position="absolute 530 200 630 332" style="align:center middle;"/>
  127. <TextArea id="tarMemo" taborder="12" imemode="hangul" position="absolute 633 200 1209 330"/>
  128. <Static id="caption12" text="메모등록일" class="cell_1" position="absolute 530 150 630 174" style="align:center middle;"/>
  129. <Static id="caption10" text="검사/치료실" class="cell_1" position="absolute 530 125 630 149" style="align:center middle;"/>
  130. <Static id="caption66" text="등록번호" class="cell_1" position="absolute 530 100 630 124" style="align:center middle;"/>
  131. <Combo id="cmbExcuRoom2" taborder="17" class="combo_search" position="absolute 633 127 802 147" innerdataset="@ds_init_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc"/>
  132. <MaskEdit id="outMemodd" taborder="19" position="absolute 634 152 802 172" enable="false" mask="@@@@-@@-@@" type="string" style=":disabled {align:center middle;}"/>
  133. <Button id="btn_save" taborder="0" text="저장" onclick="btn_save_onclick" class="btn4" position="absolute 1160 808 1216 828" anchor="right bottom"/>
  134. <Button id="btnClear" taborder="1" text="초기화" onclick="btnClear_onclick" class="btn4" position="absolute 1088 808 1157 828" anchor="right bottom"/>
  135. <Static id="caption00" text="메모유효기간" class="cell_1" position="absolute 530 175 630 199" style="align:center middle;"/>
  136. <Calendar id="showstartdd" taborder="20" position="absolute 634 177 734 196"/>
  137. <Calendar id="showenddd" taborder="21" position="absolute 751 177 851 196"/>
  138. <Static id="Static00" text="~" position="absolute 738 182 754 196"/>
  139. <Edit id="iptPid" taborder="22" oneditdblclick="group2_opt_excucd1_oneditdblclick" class="input_essential" position="absolute 633 103 737 123"/>
  140. <Button id="btn_pidsearch" taborder="23" class="icon_search" position="absolute 738 103 758 123" onclick="btn_pidsearch_onclick"/>
  141. <Edit id="ipt_patnm" taborder="24" readonly="true" oneditdblclick="group2_opt_excucd1_oneditdblclick" class="output" position="absolute 760 103 864 123"/>
  142. <Grid id="grd_calendar" class="gridcalendar" taborder="25" binddataset="ds_grid_grd_calendar" scrollbars="none" useinputpanel="false" selecttype="cell" autofittype="col" oncellclick="CalDiv_grd_calendar_oncellclick" oncelldblclick="CalDiv_grd_calendar_oncelldblclick" position="absolute 0 431 527 636" onclick="grd_calendar_onclick" visible="false">
  143. <Formats>
  144. <Format id="default">
  145. <Columns>
  146. <Column size="55"/>
  147. <Column size="55"/>
  148. <Column size="55"/>
  149. <Column size="55"/>
  150. <Column size="55"/>
  151. <Column size="55"/>
  152. <Column size="55"/>
  153. </Columns>
  154. <Rows>
  155. <Row size="24" band="head"/>
  156. <Row size="18"/>
  157. <Row size="18"/>
  158. </Rows>
  159. <Band id="head">
  160. <Cell text="일"/>
  161. <Cell col="1" text="월"/>
  162. <Cell col="2" text="화"/>
  163. <Cell col="3" text="수"/>
  164. <Cell col="4" text="목"/>
  165. <Cell col="5" text="금"/>
  166. <Cell col="6" text="토"/>
  167. </Band>
  168. <Band id="body">
  169. <Cell rowspan="2">
  170. <Cell style="color:crimson;color2:crimson;" class="color_sun" text="bind:sun"/>
  171. <Cell row="1" text="bind:sun_memo"/>
  172. </Cell>
  173. <Cell col="1" rowspan="2">
  174. <Cell style="color:EXPR(mon_holi==1?'crimson':'black');color2:EXPR(mon_holi==1?'crimson':'black');" text="bind:mon"/>
  175. <Cell row="1" text="bind:mon_memo"/>
  176. </Cell>
  177. <Cell col="2" rowspan="2">
  178. <Cell style="color:EXPR(tue_holi==1?'crimson':'black');color2:EXPR(tue_holi==1?'crimson':'black');" text="bind:tue"/>
  179. <Cell row="1" text="bind:tue_memo"/>
  180. </Cell>
  181. <Cell col="3" rowspan="2">
  182. <Cell style="color:EXPR(wed_holi==1?'crimson':'black');color2:EXPR(wed_holi==1?'crimson':'black');" text="bind:wed"/>
  183. <Cell row="1" text="bind:wed_memo"/>
  184. </Cell>
  185. <Cell col="4" rowspan="2">
  186. <Cell style="color:EXPR(thu_holi==1?'crimson':'black');color2:EXPR(thu_holi==1?'crimson':'black');" text="bind:thu"/>
  187. <Cell row="1" text="bind:thu_memo"/>
  188. </Cell>
  189. <Cell col="5" rowspan="2">
  190. <Cell style="color:EXPR(fri_holi==1?'crimson':'black');color2:EXPR(fri_holi==1?'crimson':'black');" text="bind:fri"/>
  191. <Cell row="1" text="bind:fri_memo"/>
  192. </Cell>
  193. <Cell col="6" rowspan="2">
  194. <Cell style="color:EXPR(sat_holi==1?'crimson':'blue');color2:EXPR(sat_holi==1?'crimson':'blue');" class="color_sat" text="bind:sat"/>
  195. <Cell row="1" text="bind:sat_memo"/>
  196. </Cell>
  197. </Band>
  198. </Format>
  199. </Formats>
  200. </Grid>
  201. </Layout>
  202. </Layouts>
  203. <Objects>
  204. <Dataset id="ds_grid_grdAeahMemoList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  205. <ColumnInfo>
  206. <Column id="memorgstdd" type="STRING"/>
  207. <Column id="pid" type="STRING"/>
  208. <Column id="pnm" type="STRING"/>
  209. <Column id="excuroomcd" type="STRING"/>
  210. <Column id="excuroomnm" type="STRING"/>
  211. <Column id="memodesc" type="STRING"/>
  212. <Column id="lastupdtrid" type="STRING"/>
  213. </ColumnInfo>
  214. </Dataset>
  215. <Dataset id="ds_grid_grd_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  216. <ColumnInfo>
  217. <Column id="sun" type="STRING" size="0"/>
  218. <Column id="mon" type="STRING" size="0"/>
  219. <Column id="tue" type="STRING" size="0"/>
  220. <Column id="wed" type="STRING" size="0"/>
  221. <Column id="thu" type="STRING" size="0"/>
  222. <Column id="fri" type="STRING" size="0"/>
  223. <Column id="sat" type="STRING" size="0"/>
  224. <Column id="sun_memo" type="STRING" size="0"/>
  225. <Column id="mon_memo" type="STRING" size="0"/>
  226. <Column id="tue_memo" type="STRING" size="0"/>
  227. <Column id="wed_memo" type="STRING" size="0"/>
  228. <Column id="thu_memo" type="STRING" size="0"/>
  229. <Column id="fri_memo" type="STRING" size="0"/>
  230. <Column id="sat_memo" type="STRING" size="0"/>
  231. <Column id="sun_dut" type="STRING" size="256"/>
  232. <Column id="mon_dut" type="STRING" size="256"/>
  233. <Column id="tue_dut" type="STRING" size="256"/>
  234. <Column id="wed_dut" type="STRING" size="256"/>
  235. <Column id="thu_dut" type="STRING" size="256"/>
  236. <Column id="fri_dut" type="STRING" size="256"/>
  237. <Column id="sat_dut" type="STRING" size="256"/>
  238. <Column id="sun_holi" type="STRING" size="256"/>
  239. <Column id="mon_holi" type="STRING" size="256"/>
  240. <Column id="tue_holi" type="STRING" size="256"/>
  241. <Column id="wed_holi" type="STRING" size="256"/>
  242. <Column id="thu_holi" type="STRING" size="256"/>
  243. <Column id="fri_holi" type="STRING" size="256"/>
  244. <Column id="sat_holi" type="STRING" size="256"/>
  245. <Column id="sun_bgc" type="STRING" size="256"/>
  246. <Column id="mon_bgc" type="STRING" size="256"/>
  247. <Column id="tue_bgc" type="STRING" size="256"/>
  248. <Column id="wed_bgc" type="STRING" size="256"/>
  249. <Column id="thu_bgc" type="STRING" size="256"/>
  250. <Column id="fri_bgc" type="STRING" size="256"/>
  251. <Column id="sat_bgc" type="STRING" size="256"/>
  252. </ColumnInfo>
  253. </Dataset>
  254. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  255. <ColumnInfo>
  256. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  257. <Column id="rbasecdflag" type="STRING" size="256"/>
  258. <Column id="ebasecdflag" type="STRING" size="256"/>
  259. <Column id="instcd" type="STRING" size="256"/>
  260. <Column id="initflag" type="STRING" size="256"/>
  261. <Column id="alladdyn" type="STRING" size="256"/>
  262. <Column id="grupcdid" type="STRING" size="256"/>
  263. <Column id="screenflag" type="STRING" size="256"/>
  264. <Column id="memodd" type="STRING" size="256"/>
  265. </ColumnInfo>
  266. <Rows>
  267. <Row/>
  268. </Rows>
  269. </Dataset>
  270. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  271. <ColumnInfo>
  272. <Column id="searchPid" type="STRING" size="256"/>
  273. <Column id="flag" type="STRING" size="256"/>
  274. <Column id="searchSDate" type="STRING" size="256"/>
  275. <Column id="searchEDate" type="STRING" size="256"/>
  276. <Column id="searchRoom" type="STRING" size="256"/>
  277. <Column id="searchDate" type="STRING" size="256"/>
  278. <Column id="searchSelDate" type="STRING" size="256"/>
  279. <Column id="basedeptcd" type="STRING" size="256"/>
  280. <Column id="searchmm" type="STRING" size="256"/>
  281. <Column id="searchroom2" type="STRING" size="256"/>
  282. <Column id="fixpid" type="STRING" size="256"/>
  283. </ColumnInfo>
  284. <Rows>
  285. <Row/>
  286. </Rows>
  287. </Dataset>
  288. <Dataset id="ds_init_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  289. <ColumnInfo>
  290. <Column id="basecd"/>
  291. <Column id="basecdflagdesc"/>
  292. <Column id="excuposseqcd"/>
  293. </ColumnInfo>
  294. </Dataset>
  295. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  296. <ColumnInfo>
  297. <Column id="pid" type="STRING" size="256"/>
  298. <Column id="memodd" type="STRING" size="256"/>
  299. <Column id="excuroomcd" type="STRING" size="256"/>
  300. <Column id="memodesc" type="STRING" size="256"/>
  301. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  302. <Column id="basedeptcd" type="STRING" size="256"/>
  303. <Column id="showenddd" type="STRING" size="256"/>
  304. <Column id="showstartdd" type="STRING" size="256"/>
  305. <Column id="fixmemodd" type="STRING" size="256"/>
  306. <Column id="patnm" type="STRING" size="256"/>
  307. </ColumnInfo>
  308. <Rows>
  309. <Row/>
  310. </Rows>
  311. </Dataset>
  312. <Dataset id="ds_grid_memocnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  313. <ColumnInfo>
  314. <Column id="memorgstdd" type="STRING" size="256"/>
  315. <Column id="cnt" type="STRING" size="256"/>
  316. </ColumnInfo>
  317. </Dataset>
  318. <Dataset id="ds_send_fix" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  319. <ColumnInfo>
  320. <Column id="suppdeptcd" type="STRING" size="256"/>
  321. <Column id="pid" type="STRING" size="256"/>
  322. </ColumnInfo>
  323. <Rows>
  324. <Row/>
  325. </Rows>
  326. </Dataset>
  327. <Dataset id="ds_grd_fixmemo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  328. <ColumnInfo>
  329. <Column id="memodesc" type="STRING" size="256"/>
  330. </ColumnInfo>
  331. </Dataset>
  332. <Dataset id="ds_send_delrem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  333. <ColumnInfo>
  334. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  335. <Column id="excuroomcd" type="STRING" size="256"/>
  336. <Column id="memorgstdd" type="STRING" size="256"/>
  337. <Column id="pid" type="STRING" size="256"/>
  338. </ColumnInfo>
  339. <Rows>
  340. <Row/>
  341. </Rows>
  342. </Dataset>
  343. <Dataset id="ds_paminfocsv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  344. </Objects>
  345. <Bind>
  346. <BindItem id="item1" compid="outMemodd" propid="value" datasetid="ds_send_search" columnid="searchSelDate"/>
  347. <BindItem id="item0" compid="showstartdd" propid="value" datasetid="ds_send_data" columnid="showstartdd"/>
  348. <BindItem id="item2" compid="showenddd" propid="value" datasetid="ds_send_data" columnid="showenddd"/>
  349. <BindItem id="item3" compid="iptPid" propid="value" datasetid="ds_send_data" columnid="pid"/>
  350. <BindItem id="item4" compid="cmbExcuRoom2" propid="value" datasetid="ds_send_data" columnid="excuroomcd"/>
  351. <BindItem id="item5" compid="ipt_patnm" propid="value" datasetid="ds_send_data" columnid="patnm"/>
  352. <BindItem id="item6" compid="tarMemo" propid="value" datasetid="ds_send_data" columnid="memodesc"/>
  353. </Bind>
  354. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  355. * System Name : Himed
  356. * Job Name :
  357. * File Name : SMAEA02700_환자별COMMENT관리.xfdl
  358. * Creator :
  359. * Make Date : 2014-04-18
  360. *
  361. * Description :
  362. *---------------------------------------------------------------------------------------
  363. * Modify Date Modifier Modify Description
  364. *---------------------------------------------------------------------------------------
  365. * 2014-04-18 HIT Converting Program(TF->XP)
  366. *
  367. *---------------------------------------------------------------------------------------
  368. ****************************************************************************************/
  369. //=======================================================================================
  370. // xjs Include
  371. //---------------------------------------------------------------------------------------
  372. include "com_commonxp::comm_main.xjs";
  373. //include "com_basiccodexp::ZBC001.xjs";
  374. include "ast_examcurexp::AEZ0001.xjs";
  375. include "ast_examcurexp::combolist.xjs";
  376. var suppdeptcd = "";
  377. //=======================================================================================
  378. // Function
  379. //---------------------------------------------------------------------------------------
  380. function funcInputDataCheck(chk)
  381. {
  382. ds_grd_fixmemo.clearData();
  383. var flag = ds_send_search.getColumn(0,"flag");
  384. var sDate = roundrect1.ipt_fromdd.value //시작날짜
  385. var eDate = roundrect1.ipt_todd.value //종료날짜
  386. var room = roundrect1.cmbExcuRoom.value //검사실코드
  387. var Id = roundrect1.ipt_pid.value //등록환자
  388. ds_send_search.setColumn(0,"basedeptcd",suppdeptcd);
  389. if(chk =='save'){ // 저장버튼을 클릭시
  390. flag = ds_send_search.setColumn(0,"flag","A");
  391. var yyyymmdd = getSelectCalDate();
  392. ds_send_search.setColumn(0,"searchDate",yyyymmdd);
  393. selDate = ds_send_search.setColumn(0,"searchSelDate",yyyymmdd);
  394. } else if(chk =='cal') { //달력날짜를 더블클릭시
  395. flag = ds_send_search.setColumn(0,"flag","A");
  396. var yyyymmdd = getSelectCalDate();
  397. selDate = ds_send_search.setColumn(0,"searchSelDate",yyyymmdd);
  398. ds_send_search.setColumn(0,"searchDate",yyyymmdd);
  399. } else { // 조회 버튼 클릭시
  400. flag = ds_send_search.setColumn(0,"flag", "B");
  401. ds_send_search.setColumn(0,"searchDate","");
  402. }
  403. if(utlf_isNull(yyyymmdd) && utlf_isNull(sDate) && utlf_isNull(eDate) && utlf_isNull(room) && utlf_isNull(Id))
  404. {
  405. sysf_messageBox("[조회필수항목]일자/검사.치료실 또는 등록번호를 입력하십시오.","I999");
  406. return true;
  407. }
  408. else
  409. {
  410. gab =utlf_diffDate(sDate, eDate);
  411. if(gab<0){
  412. sysf_messageBox("[시작일자선택]조회기간을 확인하십시오.","I999");
  413. return true;
  414. }
  415. else{
  416. ds_grd_fixmemo.clearData();
  417. submit_TRAEA02701(); // 검사메모내역 가져오기
  418. }
  419. }
  420. }
  421. //검사치료실 가져오기(조회부분)
  422. function submit_TRAEA01301(){
  423. ds_send.setColumn(0,"basesuppdeptcd", suppdeptcd);
  424. ds_send.setColumn(0,"rbasecdflag", "R");
  425. ds_send.setColumn(0,"ebasecdflag", "E");
  426. ds_send.setColumn(0,"initflag", "1");
  427. var objParam = new Object();
  428. objParam.id = "TRAEA01301";
  429. objParam.service = "examcureacptexecapp.ExamCureAcpt";
  430. objParam.method = "reqGetInitExamCureRoomGrpCodeList";
  431. objParam.inds = "reqparam=ds_send";
  432. objParam.outds ="ds_init_initexecroom=initexcuroom";
  433. tranf_submit(objParam);
  434. }
  435. //조회
  436. function submit_TRAEA02701(){
  437. ds_send_search.setColumn(0,"basedeptcd", suppdeptcd);
  438. ds_send_search.setColumn(0,"searchSDate",roundrect1.ipt_fromdd.value);
  439. ds_send_search.setColumn(0,"searchEDate",roundrect1.ipt_todd.value);
  440. ds_send_search.setColumn(0,"searchPid",roundrect1.ipt_pid.value);
  441. ds_send_search.setColumn(0,"searchRoom",roundrect1.cmbExcuRoom.value);
  442. ds_send_search.setColumn(0,"searchmm",CalDiv.opt_year.value+""+CalDiv.opt_month.value);
  443. ds_send_search.setColumn(0,"searchroom2",roundrect1.cmbExcuRoom.value);
  444. var objParam = new Object();
  445. objParam.id = "TRAEA02701";
  446. objParam.service = "examcureacptexecapp.PatRem";
  447. objParam.method = "reqGetPatRemList";
  448. objParam.inds = "reqparam=ds_send_search";
  449. objParam.outds ="ds_grid_grdAeahMemoList=grdAeahMemoList ds_grid_memocnt=memocnt";
  450. objParam.callback = "cbf_TRAEA02701";
  451. tranf_submit(objParam);
  452. }
  453. function cbf_TRAEA02701(strSvcID, nErrorCode, strErrorMsg){
  454. //에러 처리
  455. if(nErrorCode == 0){
  456. //ds_grid_grdAeahMemoList.filter("showenddd == undefined");
  457. if(ds_grid_grdAeahMemoList.rowcount>0){
  458. grdAeahMemoList_oncellclick();
  459. }
  460. if(!utlf_isNull(outMemodd.value)){
  461. var idx = ds_grid_grdAeahMemoList.findRowExpr("memorgstdd == '" + outMemodd.value + "' && pid == '" + iptPid.value + "' && excuroomcd == '" + cmbExcuRoom2.value + "'");
  462. if(idx != -1){
  463. tarMemo.value = ds_grid_grdAeahMemoList.getColumn(idx, "memodesc");
  464. }
  465. }
  466. if(lv_chk =='cal'){
  467. _date = ds_grid_grdAeahMemoList.getColumn(i,"memorgstdd");
  468. _date = _date.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
  469. ds_grid_grdAeahMemoList.setColumn(i,"memorgstdd", _date);
  470. return;
  471. }
  472. for(var j=0; j<ds_grid_calendarAST.rowcount; j++){
  473. ds_grid_calendarAST.setColumn(j,"memo1","");
  474. ds_grid_calendarAST.setColumn(j,"memo2","");
  475. }
  476. if(ds_grid_memocnt.rowcount!=0){
  477. for(var i=0; i<ds_grid_memocnt.rowcount; i++){
  478. for(var j=0; j<ds_grid_calendarAST.rowcount; j++){
  479. if(ds_grid_memocnt.getColumn(i,"memorgstdd")==ds_grid_calendarAST.getColumn(j,"basedd")){
  480. ds_grid_calendarAST.setColumn(j,"memo1",ds_grid_memocnt.getColumn(i,"cnt"));
  481. ds_grid_calendarAST.setColumn(j,"memo2","");
  482. }
  483. }
  484. }
  485. }else{
  486. for(var j=0; j<ds_grid_calendarAST.rowcount; j++){
  487. ds_grid_calendarAST.setColumn(j,"memo1",0);
  488. ds_grid_calendarAST.setColumn(j,"memo2","");
  489. }
  490. }
  491. for(var j=0; j<ds_grid_calendarAST.rowcount; j++){
  492. if(utlf_isNull(ds_grid_calendarAST.getColumn(j,"memo1"))){
  493. ds_grid_calendarAST.setColumn(j,"memo1",0);
  494. ds_grid_calendarAST.setColumn(j,"memo2","");
  495. }
  496. }
  497. setCalMemo("ds_grid_calendarAST","memo1","","memo2");
  498. }else{
  499. }
  500. }
  501. function ChangeDateFormat() {
  502. var _frdt = ds_grid_grdAeahMemoList.getColumn(0,"showstartdd");
  503. var _todt = ds_grid_grdAeahMemoList.getColumn(0,"showenddd");
  504. var _date = "";
  505. // 메모내역-메모일자 란에 메모 유효기간을 출력 (방사선 종양)
  506. if ( !utlf_isNull(_frdt) && !utlf_isNull(_todt) ) {
  507. for (var i = 0; i <ds_grid_grdAeahMemoList.rowcount; i++) {
  508. _frdt = ds_grid_grdAeahMemoList.getColumn(i,"showstartdd");
  509. _todt = ds_grid_grdAeahMemoList.getColumn(i,"showenddd");
  510. //2009-10-26 메모유효기간 등록안되는 경우가 있음 (1899/11/30 으로 조회되는경우가 있음)-메모등록일자 조회되도록처리
  511. if (!utlf_isNull(_frdt) ) {
  512. _frdt = _frdt.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
  513. _todt = _todt.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
  514. _date = _frdt + " ~ " + _todt;
  515. ds_grid_grdAeahMemoList.setColumn(i,"memorgstdd", _date);
  516. }else{
  517. _date = ds_grid_grdAeahMemoList.getColumn(i,"memorgstdd");
  518. _date = _date.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
  519. ds_grid_grdAeahMemoList.setColumn(i,"memorgstdd", _date);
  520. }
  521. }
  522. }
  523. // 메모내역-메모일자 란에 메모 등록일자를 출력 (기능검사)
  524. else {
  525. for (var i = 0; i <ds_grid_grdAeahMemoList.rowcount; i++) {
  526. _date = ds_grid_grdAeahMemoList.getColumn(i,"memorgstdd");
  527. _date = _date.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
  528. ds_grid_grdAeahMemoList.setColumn(i,"memorgstdd", _date);
  529. }
  530. }
  531. }
  532. //저장
  533. function submit_TXAEA02701(){
  534. var yyyymmdd = outMemodd.value; //getSelectCalDate();
  535. ds_send_data.setColumn(0,"basesuppdeptcd", suppdeptcd);
  536. ds_send_data.setColumn(0,"excuroomcd", cmbExcuRoom2.value);
  537. ds_send_data.setColumn(0,"pid", iptPid.value);
  538. ds_send_data.setColumn(0,"memodd", yyyymmdd);
  539. ds_send_data.setColumn(0,"memodesc", tarMemo.value);
  540. ds_send_data.setColumn(0,"showstartdd", yyyymmdd);
  541. ds_send_data.setColumn(0,"showenddd", yyyymmdd);
  542. ds_send_data.setColumn(0,"fixmemodd", '');
  543. // if (utlf_isNull(ds_send_data.getColumn(0,"showenddd"))){
  544. // ds_send_data.setColumn(0,"showenddd", "00000000");
  545. // }memorgstddprcpdd `
  546. var objParam = new Object();
  547. objParam.id = "TXAEA02701";
  548. objParam.service = "examcureacptexecapp.PatRem";
  549. objParam.method = "reqInsPatRem";
  550. objParam.inds = "reqparam=ds_send_data";
  551. tranf_submit(objParam);
  552. }
  553. //=======================================================================================
  554. // Event
  555. //---------------------------------------------------------------------------------------
  556. /****************************************************************************************
  557. * Components :
  558. * Components ID : SMAEA02700
  559. * Event : onload
  560. * Argument : 01.obj : Object Event has occurred
  561. * : 02.e : Event Object
  562. * Description :
  563. ****************************************************************************************/
  564. function SMAEA02700_onload(obj:Form, e:LoadEventInfo)
  565. {
  566. frmf_initForm(obj); // 화면공통
  567. lf_aezfSetSuppDeptcd();
  568. var sdate = new String(utlf_getCurrentDate());
  569. CalDiv.opt_year.value = sdate.substr(0,4);
  570. CalDiv.opt_month.value = sdate.substr(4,2) ;
  571. aezGetCalendar();//달력
  572. //부서정보 가져오기
  573. //초기날짜 세팅
  574. var sdate = utlf_getCurrentDate();
  575. roundrect1.ipt_fromdd.value = sdate;
  576. roundrect1.ipt_todd.value = sdate;
  577. var gv_pid = sysf_getGlobalVariable("gv_pid", "A"); //글로벌변수로 넘겨준 등록번호값
  578. if(!utlf_isNull(gv_pid)) { //글로벌변수(등록번호)가 있는경우
  579. ds_send_search.setColumn(0,"searchPid", gv_pid);
  580. }
  581. switch (suppdeptcd) {
  582. // 방사선종양학과
  583. case "2170":
  584. roundrect1.cmbExcuRoom.enable = false;
  585. cmbExcuRoom2.enable = false;
  586. break;
  587. // 방종을 제외한 나머지 학과
  588. default:
  589. submit_TRAEA01301(); // 검사치료실 가져오기
  590. showstartdd.enable = false;
  591. showenddd.enable = false;
  592. break;
  593. }
  594. grdf_setGridSort(grdAeahMemoList);
  595. }
  596. /****************************************************************************************
  597. * Components :
  598. * Components ID : btnSearch
  599. * Event : onclick
  600. * Argument : 01.obj : Object Event has occurred
  601. * : 02.e : Event Object
  602. * Description :
  603. ****************************************************************************************/
  604. function btnSearch_onclick(obj:Button, e:ClickEventInfo)
  605. {
  606. lv_chk = "";
  607. funcInputDataCheck();
  608. ChangeDateFormat();
  609. }
  610. /****************************************************************************************
  611. * Components :
  612. * Components ID : grdAeahMemoList
  613. * Event : oncellclick
  614. * Argument : 01.obj : Object Event has occurred
  615. * : 02.e : Event Object
  616. * Description :
  617. ****************************************************************************************/
  618. function grdAeahMemoList_oncellclick(obj:Grid, e:GridClickEventInfo)
  619. {
  620. var i = grdAeahMemoList.currentrow;
  621. //메모등록일
  622. outMemodd.value = ds_grid_grdAeahMemoList.getColumn(ds_grid_grdAeahMemoList.rowposition, "memodd");
  623. //등록번호
  624. ds_send_data.setColumn(0,"pid",ds_grid_grdAeahMemoList.getColumn(i,"pid"));
  625. //환자명
  626. ipt_patnm.value = ds_grid_grdAeahMemoList.getColumn(i,"pnm");
  627. //등록일자
  628. ds_send_data.setColumn(0,"memodd",ds_grid_grdAeahMemoList.getColumn(i,"memodd"));
  629. //치료실 (기능검사실에만 해당)
  630. ds_send_data.setColumn(0,"excuroomcd", ds_grid_grdAeahMemoList.getColumn(i,"excuroomcd"));
  631. cmbExcuRoom2.value = ds_grid_grdAeahMemoList.getColumn(i,"excuroomcd");
  632. //메모내용
  633. ds_send_data.setColumn(0,"memodesc",ds_grid_grdAeahMemoList.getColumn(i,"memodesc"));
  634. tarMemo.value = ds_grid_grdAeahMemoList.getColumn(i,"memodesc");
  635. //부서
  636. ds_send_data.setColumn(0,"basedeptcd",suppdeptcd);
  637. //메모유효기간 (방사선 종양학과에만 해당)
  638. showstartdd.value = ds_grid_grdAeahMemoList.getColumn(i,"showstartdd");
  639. showenddd.value = ds_grid_grdAeahMemoList.getColumn(i,"showenddd");
  640. }
  641. /****************************************************************************************
  642. * Components :
  643. * Components ID : grd_calendar
  644. * Event : oncellclick
  645. * Argument : 01.obj : Object Event has occurred
  646. * : 02.e : Event Object
  647. * Description :
  648. ****************************************************************************************/
  649. function CalDiv_grd_calendar_oncellclick(obj:Grid, e:GridClickEventInfo)
  650. {
  651. var yyyymmdd = getSelectCalDate();
  652. ds_send_data.setColumn(0,"memodd",yyyymmdd);
  653. tarMemo.value = "cal";
  654. lv_chk = "cal"
  655. // iptPid.value = "";
  656. // cp_patientInfo00.edt_patnm.value = "";
  657. // cmbExcuRoom2.index=0;
  658. ds_send_search.setColumn(0,"searchSelDate","");
  659. tarMemo.value="";
  660. funcInputDataCheck("cal");
  661. }
  662. /****************************************************************************************
  663. * Components :
  664. * Components ID : grd_calendar
  665. * Event : oncelldblclick
  666. * Argument : 01.obj : Object Event has occurred
  667. * : 02.e : Event Object
  668. * Description :
  669. ****************************************************************************************/
  670. //달력 dbclick시 메모 조회
  671. var lv_chk="";
  672. function CalDiv_grd_calendar_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  673. {
  674. var yyyymmdd = getSelectCalDate();
  675. ds_send_data.setColumn(0,"memodd",yyyymmdd);
  676. lv_chk = "cal"
  677. funcInputDataCheck('cal');
  678. }
  679. /****************************************************************************************
  680. * Components :
  681. * Components ID : btnClear
  682. * Event : onclick
  683. * Argument : 01.obj : Object Event has occurred
  684. * : 02.e : Event Object
  685. * Description :
  686. ****************************************************************************************/
  687. //초기화
  688. function btnClear_onclick(obj:Button, e:ClickEventInfo)
  689. {
  690. form.reload();
  691. }
  692. /****************************************************************************************
  693. * Components :
  694. * Components ID : btn_save
  695. * Event : onclick
  696. * Argument : 01.obj : Object Event has occurred
  697. * : 02.e : Event Object
  698. * Description :
  699. ****************************************************************************************/
  700. //저장
  701. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  702. {
  703. var yyyymmdd = outMemodd.value; //getSelectCalDate();
  704. ds_send_data.setColumn(0,"memodd",yyyymmdd);
  705. //필수입력 사항 체크 - 메모등록일자/등록번호/메모내용/검사치료실
  706. var _memo = tarMemo.value;
  707. var _pid = iptPid.value;
  708. ds_send_data.setColumn(0,"basedeptcd",suppdeptcd);
  709. var _message ="";
  710. var _sc = suppdeptcd.substring(0, 4);
  711. switch (_sc) {
  712. case "2170":
  713. ds_send_data.setColumn(0,"memodd",utlf_getCurrentDate());
  714. ds_send_data.setColumn(0,"excuroomcd", _sc);
  715. break;
  716. default:
  717. break;
  718. }
  719. var _memodd = yyyymmdd;
  720. var _room = cmbExcuRoom2.value
  721. if(utlf_isNull(_memodd) || _memodd.length<8){_message +="메모일자/"}
  722. if(utlf_isNull(_memo)|| _memo.length <1){_message +="메모내용 / "}
  723. if(utlf_isNull(_pid)|| _pid.length <5 ){_message +="등록번호 / "}
  724. if(utlf_isNull(_room)){_message +="검사치료실"}
  725. if(!utlf_isNull(_message)){
  726. sysf_messageBox("[필수입력항목] "+_message+"를(을) 확인하십시오","I999");
  727. return true;
  728. }
  729. submit_TXAEA02701();
  730. //outMemodd.value = getSelectCalDate();
  731. lv_chk = "save";
  732. funcInputDataCheck("save");
  733. ChangeDateFormat();
  734. }
  735. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  736. {
  737. ds_send_delrem.setColumn(0,"basesuppdeptcd", suppdeptcd);
  738. ds_send_delrem.setColumn(0,"excuroomcd", cmbExcuRoom2.value);
  739. ds_send_delrem.setColumn(0,"memorgstdd", outMemodd.value);
  740. ds_send_delrem.setColumn(0,"pid", iptPid.value);
  741. var objParam = new Object();
  742. objParam.id = "TXAEA02701";
  743. objParam.service = "examcureacptexecapp.PatRem";
  744. objParam.method = "reqDelPatRem";
  745. objParam.inds = "reqparam=ds_send_delrem";
  746. objParam.callback = "cbf_TXAEA02701";
  747. tranf_submit(objParam);
  748. }
  749. function cbf_TXAEA02701(strSvcID, nErrorCode, strErrorMsg){
  750. //에러 처리
  751. if(nErrorCode == 0){
  752. tarMemo.value="";
  753. ds_grd_fixmemo.clearData();
  754. roundrect1.btnSearch.click();
  755. }else{
  756. }
  757. }
  758. function clickCalButton(obj:Button, e:ClickEventInfo)
  759. {
  760. var button = obj.class;
  761. if(button=="icon_pre_year"){
  762. eval(aezCalpath).opt_year.value = eval(eval(aezCalpath).opt_year.value)-1;
  763. aezGetCalendar(null,"Y");
  764. }else if(button=="icon_pre_month"){
  765. if(eval(aezCalpath).opt_month.value=="01"){
  766. eval(aezCalpath).opt_year.value = eval(eval(aezCalpath).opt_year.value)-1;
  767. eval(aezCalpath).opt_month.value = "12";
  768. }else{
  769. var getMonth = eval(eval(aezCalpath).opt_month.value)-1;
  770. var month = getMonth>9? getMonth:"0"+getMonth;
  771. eval(aezCalpath).opt_month.value = month;
  772. }
  773. aezGetCalendar(null,"Y");
  774. }else if(button=="icon_next_month"){
  775. if(eval(aezCalpath).opt_month.value=="12"){
  776. eval(aezCalpath).opt_year.value = eval(eval(aezCalpath).opt_year.value)+1;
  777. eval(aezCalpath).opt_month.value = "01";
  778. }else{
  779. var getMonth = eval(eval(aezCalpath).opt_month.value)+1;
  780. var month = getMonth>9? getMonth:"0"+getMonth;
  781. eval(aezCalpath).opt_month.value = month;
  782. }
  783. aezGetCalendar(null,"Y");
  784. }else{
  785. eval(aezCalpath).opt_year.value = eval(eval(aezCalpath).opt_year.value)+1;
  786. aezGetCalendar(null,"Y");
  787. }
  788. roundrect1.ipt_fromdd.value = ds_grid_calendarAST.getColumn(0, "basedd");
  789. roundrect1.ipt_todd.value = ds_grid_calendarAST.getColumn(ds_grid_calendarAST.rowcount -1, "basedd");
  790. // ds_send_search.setColumn(0, "searchSDate", ds_grid_calendarAST.getColumn(0, "basedd"));
  791. // ds_send_search.setColumn(0, "searchEDate", ds_grid_calendarAST.getColumn(ds_grid_calendarAST.rowcount -1, "basedd"));
  792. btnSearch_onclick();
  793. }
  794. function roundrect1_cmbExcuRoom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  795. {
  796. btnSearch_onclick();
  797. }
  798. function roundrect1_btn_pidsearch_onclick(obj:Button, e:ClickEventInfo)
  799. {
  800. frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
  801. roundrect1.ipt_pid.value = ds_patinfolist.getColumn(0,"pid");
  802. }
  803. function btn_pidsearch_onclick(obj:Button, e:ClickEventInfo)
  804. {
  805. // 환자조회화면 호출
  806. frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
  807. ds_send_data.setColumn(0,"pid" , ds_patinfolist.getColumn(0,"pid"));
  808. ds_send_data.setColumn(0,"patnm", ds_patinfolist.getColumn(0,"hngnm"));
  809. }
  810. ]]></Script>
  811. </Form>
  812. </FDL>