SMAEA05400_부서별예약취소및변경내역조회.xfdl 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA05400" position="absolute 0 0 1197 762" titletext="검사 예약 변경 조회" oninit="SMAEA05400_oninit" onload="SMAEA05400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="검사 예약변경/취소 내역 조회" class="tit_1" position="absolute 0 0 233 23"/>
  8. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 109 1195 753" anchor="all">
  9. <Tabpages>
  10. <Tabpage id="case1" text="미확인내역">
  11. <Layouts>
  12. <Layout>
  13. <Grid id="grd_rsrvcnclprescond" taborder="0" binddataset="ds_main_rsrvupdtpreslist_rsrvupdtpresinfo" useinputpanel="false" position="absolute 1 11 1191 596" cellsizingtype="col" anchor="all" autoenter="select">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="22"/>
  18. <Column size="28"/>
  19. <Column size="70"/>
  20. <Column size="58"/>
  21. <Column size="72"/>
  22. <Column size="132"/>
  23. <Column size="99"/>
  24. <Column size="210"/>
  25. <Column size="0"/>
  26. <Column size="43"/>
  27. <Column size="88"/>
  28. <Column size="105"/>
  29. <Column size="105"/>
  30. <Column size="115"/>
  31. <Column size="125"/>
  32. <Column size="75"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="24" band="head"/>
  39. <Row size="24"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell/>
  43. <Cell col="1"/>
  44. <Cell col="2" text="등록번호"/>
  45. <Cell col="3" text="환자명"/>
  46. <Cell col="4" text="처방일자"/>
  47. <Cell col="5" text="진료과(진료의)"/>
  48. <Cell col="6" text="처방코드"/>
  49. <Cell col="7" text="처방명"/>
  50. <Cell col="8" text="처방상태"/>
  51. <Cell col="9" text="구분"/>
  52. <Cell col="10" text="치료실"/>
  53. <Cell col="11" text="기존예약일시"/>
  54. <Cell col="12" text="변경예약일시"/>
  55. <Cell col="13" text="변경/취소일시"/>
  56. <Cell col="14" text="사유"/>
  57. <Cell col="15" text="변경/취소자"/>
  58. <Cell col="16" text="예약자"/>
  59. <Cell col="17" text="치료사"/>
  60. <Cell col="18" text="2"/>
  61. </Band>
  62. <Band id="body">
  63. <Cell celltype="head" expr="currow+1"/>
  64. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'Y' ? 1 : 0"/>
  65. <Cell col="2" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:pid"/>
  66. <Cell col="3" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:hngnm"/>
  67. <Cell col="4" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
  68. <Cell col="5" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpdept" calendardisplaynulltype="nulltext"/>
  69. <Cell col="6" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpcd" calendardisplaynulltype="nulltext"/>
  70. <Cell col="7" style="align:left top;padding:2 2 2 2;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpnm" wordwrap="word"/>
  71. <Cell col="8" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:execprcpstatcd"/>
  72. <Cell col="9" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:state"/>
  73. <Cell col="10" style="align:left top;padding:2 2 2 2;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:excuroom" wordwrap="word"/>
  74. <Cell col="11" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:rsrvdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  75. <Cell col="12" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:updtaft" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  76. <Cell col="13" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclhistdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  77. <Cell col="14" style="align:left top;padding:2 2 2 2;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclresncd" wordwrap="word"/>
  78. <Cell col="15" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclhistid"/>
  79. <Cell col="16" text="bind:rsrvrid"/>
  80. <Cell col="17" text="bind:execrid"/>
  81. <Cell col="18" text="bind:execprcpuniqno"/>
  82. </Band>
  83. </Format>
  84. </Formats>
  85. </Grid>
  86. </Layout>
  87. </Layouts>
  88. </Tabpage>
  89. <Tabpage id="case2" text="확인내역">
  90. <Layouts>
  91. <Layout>
  92. <Grid id="grd_rsrvcnfmprescond" taborder="0" binddataset="ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo" useinputpanel="false" position="absolute 1 11 1191 596" cellsizingtype="col" anchor="all" autoenter="select">
  93. <Formats>
  94. <Format id="default">
  95. <Columns>
  96. <Column size="23"/>
  97. <Column size="28"/>
  98. <Column size="70"/>
  99. <Column size="58"/>
  100. <Column size="72"/>
  101. <Column size="132"/>
  102. <Column size="99"/>
  103. <Column size="210"/>
  104. <Column size="0"/>
  105. <Column size="43"/>
  106. <Column size="88"/>
  107. <Column size="105"/>
  108. <Column size="105"/>
  109. <Column size="115"/>
  110. <Column size="125"/>
  111. <Column size="75"/>
  112. <Column size="63"/>
  113. <Column size="115"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. </Columns>
  118. <Rows>
  119. <Row size="24" band="head"/>
  120. <Row size="24"/>
  121. </Rows>
  122. <Band id="head">
  123. <Cell/>
  124. <Cell col="1"/>
  125. <Cell col="2" text="등록번호"/>
  126. <Cell col="3" text="환자명"/>
  127. <Cell col="4" text="처방일자"/>
  128. <Cell col="5" text="진료과(진료의)"/>
  129. <Cell col="6" text="처방코드"/>
  130. <Cell col="7" text="처방명"/>
  131. <Cell col="8" text="처방상태"/>
  132. <Cell col="9" text="구분"/>
  133. <Cell col="10" text="치료실"/>
  134. <Cell col="11" text="기존예약일시"/>
  135. <Cell col="12" text="변경예약일시"/>
  136. <Cell col="13" text="변경/취소일시"/>
  137. <Cell col="14" text="사유"/>
  138. <Cell col="15" text="변경/취소자"/>
  139. <Cell col="16" text="확인자"/>
  140. <Cell col="17" text="확인일시"/>
  141. <Cell col="18" text="예약자"/>
  142. <Cell col="19" text="치료사"/>
  143. <Cell col="20" text="2"/>
  144. </Band>
  145. <Band id="body">
  146. <Cell celltype="head" expr="currow+1"/>
  147. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'Y' ? 1 : 0"/>
  148. <Cell col="2" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:pid"/>
  149. <Cell col="3" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:hngnm"/>
  150. <Cell col="4" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
  151. <Cell col="5" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpdept"/>
  152. <Cell col="6" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpcd"/>
  153. <Cell col="7" style="align:left middle;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpnm" wordwrap="word"/>
  154. <Cell col="8" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:execprcpstatcd"/>
  155. <Cell col="9" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:state"/>
  156. <Cell col="10" style="align:left middle;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:excuroom" wordwrap="word"/>
  157. <Cell col="11" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:rsrvdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  158. <Cell col="12" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:updtaft" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  159. <Cell col="13" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclhistdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  160. <Cell col="14" style="align:left middle;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclresncd" wordwrap="word"/>
  161. <Cell col="15" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclhistid"/>
  162. <Cell col="16" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnfmmanid"/>
  163. <Cell col="17" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnfmdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  164. <Cell col="18" text="bind:rsrvrid"/>
  165. <Cell col="19" text="bind:execrid"/>
  166. <Cell col="20" text="bind:execprcpuniqno"/>
  167. </Band>
  168. </Format>
  169. </Formats>
  170. </Grid>
  171. </Layout>
  172. </Layouts>
  173. </Tabpage>
  174. </Tabpages>
  175. </Tab>
  176. <Shape id="line2" class="line_10" position="absolute 0 142 1195 148" anchor="left top right"/>
  177. <Static id="caption9" text="예약변경/취소 내역현황" class="tit_2" position="absolute 0 89 170 110"/>
  178. <Button id="btn_cnfm" taborder="3" text="확인" class="btn4" position="absolute 1078 735 1134 757" anchor="right bottom" onclick="btn_cnfm_onclick"/>
  179. <Button id="btn_close" taborder="4" text="닫기" class="btn4" position="absolute 1136 735 1192 757" anchor="right bottom" onclick="btn_close_onclick"/>
  180. <Div id="grp_sea" taborder="5" class="div_SA" position="absolute 0 23 1194 83" anchor="left top right">
  181. <Layouts>
  182. <Layout>
  183. <Static id="caption3" text="조회구분 :" class="search_name" position="absolute 10 18 100 35" anchor="default"/>
  184. <Calendar id="ipt_startrsrvdd" taborder="4" class="input_default" position="absolute 320 18 410 37" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd"/>
  185. <Calendar id="ipt_endrsrvdd" taborder="5" class="input_default" position="absolute 432 18 522 37" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
  186. <Static id="caption4" text="등록번호 :" class="search_name" position="absolute 570 34 656 51" anchor="default"/>
  187. <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1120 20 1176 42" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  188. <Edit id="ipt_pid" taborder="7" position="absolute 660 33 770 52" anchor="default" autoselect="true" onkeyup="grp_sea_ipt_pid_onkeyup"/>
  189. <Static id="caption2" text="~" position="absolute 417 18 435 37" anchor="default"/>
  190. <Static id="caption10" text="지원부서 :" class="search_name" position="absolute 570 8 656 25" anchor="default"/>
  191. <Static id="caption12" text="검사/치료실 :" class="search_name" position="absolute 840 8 946 25" anchor="default"/>
  192. <Combo id="cmb_deptcd" taborder="8" innerdataset="@ds_init_cmb_info_suppdept" codecolumn="suppdeptcd" datacolumn="depthngnm" position="absolute 660 7 795 26" anchor="default" enable="false" onitemchanged="grp_sea_cmb_deptcd_onitemchanged"/>
  193. <Combo id="cmb_excuroom" taborder="9" innerdataset="@ds_init_cmb_info_initexecroom" class="combo_default" position="absolute 955 6 1080 25" anchor="default" datacolumn="basecdflagdesc" codecolumn="basecd" onitemchanged="grp_sea_cmb_excuroom_onitemchanged"/>
  194. <Button id="button61" taborder="10" class="icon_search" position="absolute 775 34 791 50" anchor="default" onclick="grp_sea_button61_onclick"/>
  195. <Combo id="cmb_srchflag" taborder="11" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 94 17 212 36" anchor="default">
  196. <Dataset id="innerdataset">
  197. <ColumnInfo>
  198. <Column id="codecolumn"/>
  199. <Column id="datacolumn"/>
  200. </ColumnInfo>
  201. <Rows>
  202. <Row>
  203. <Col id="codecolumn">C</Col>
  204. <Col id="datacolumn">변경/취소일자</Col>
  205. </Row>
  206. <Row>
  207. <Col id="codecolumn">P</Col>
  208. <Col id="datacolumn">처방일자</Col>
  209. </Row>
  210. <Row>
  211. <Col id="codecolumn">R</Col>
  212. <Col id="datacolumn">예약일자</Col>
  213. </Row>
  214. </Rows>
  215. </Dataset>
  216. </Combo>
  217. <Static id="caption1" text="조회기간 :" class="search_name" position="absolute 230 19 320 36" anchor="default"/>
  218. <Edit id="ipt_patnm" taborder="12" readonly="true" position="absolute 800 33 871 52" anchor="default" enable="false"/>
  219. <Edit id="output1" taborder="13" readonly="true" position="absolute 875 33 910 52" anchor="default" enable="false"/>
  220. <Edit id="output2" taborder="14" readonly="true" position="absolute 915 33 950 52" anchor="default" enable="false"/>
  221. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1102 9 1108 54" anchor="top right"/>
  222. <Shape id="line1" linetype="vertical" class="line_4" position="absolute 547 7 553 52" anchor="default"/>
  223. </Layout>
  224. </Layouts>
  225. </Div>
  226. </Layout>
  227. </Layouts>
  228. <Objects>
  229. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  230. <ColumnInfo>
  231. <Column id="ddflag" type="STRING" size="256"/>
  232. <Column id="fromdate" type="STRING" size="256"/>
  233. <Column id="todate" type="STRING" size="256"/>
  234. <Column id="suppdeptcd" type="STRING" size="256"/>
  235. <Column id="orddeptcd" type="STRING" size="256"/>
  236. <Column id="wardcd" type="STRING" size="256"/>
  237. <Column id="pid" type="STRING" size="256"/>
  238. <Column id="juminno" type="STRING" size="256"/>
  239. <Column id="patnm" type="STRING" size="256"/>
  240. <Column id="gb" type="STRING" size="256"/>
  241. <Column id="excuroomcd" type="STRING" size="256"/>
  242. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  243. <Column id="sex" type="STRING" size="256"/>
  244. <Column id="age" type="STRING" size="256"/>
  245. <Column id="rbasecdflag" type="STRING" size="256"/>
  246. <Column id="ebasecdflag" type="STRING" size="256"/>
  247. <Column id="instcd" type="STRING" size="256"/>
  248. <Column id="initflag" type="STRING" size="256"/>
  249. <Column id="alladdyn" type="STRING" size="256"/>
  250. <Column id="srchflag" type="STRING" size="256"/>
  251. </ColumnInfo>
  252. <Rows>
  253. <Row>
  254. <Col id="ddflag"/>
  255. <Col id="fromdate"/>
  256. <Col id="todate"/>
  257. <Col id="suppdeptcd"/>
  258. <Col id="orddeptcd"/>
  259. <Col id="wardcd"/>
  260. <Col id="pid"/>
  261. <Col id="juminno"/>
  262. <Col id="patnm"/>
  263. <Col id="gb"/>
  264. <Col id="excuroomcd"/>
  265. <Col id="basesuppdeptcd"/>
  266. <Col id="sex"/>
  267. <Col id="age"/>
  268. <Col id="srchflag">C</Col>
  269. </Row>
  270. </Rows>
  271. </Dataset>
  272. <Dataset id="ds_init_cmb_info_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  273. <ColumnInfo>
  274. <Column id="depthngnm" type="STRING" size="256"/>
  275. <Column id="suppdeptcd" type="STRING" size="256"/>
  276. </ColumnInfo>
  277. </Dataset>
  278. <Dataset id="ds_init_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  279. <ColumnInfo>
  280. <Column id="basecd" type="STRING" size="256"/>
  281. <Column id="basecdflagdesc" type="STRING" size="256"/>
  282. </ColumnInfo>
  283. </Dataset>
  284. <Dataset id="ds_main_rsrvupdtpreslist_rsrvupdtpresinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  285. <ColumnInfo>
  286. <Column id="chkflag" type="STRING" size="256" sumtext="선택여부"/>
  287. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  288. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  289. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  290. <Column id="prcpdept" type="STRING" size="256" sumtext="처방과"/>
  291. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  292. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  293. <Column id="state" type="STRING" size="256" sumtext="상태"/>
  294. <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일"/>
  295. <Column id="updtaft" type="STRING" size="256" sumtext="변경후"/>
  296. <Column id="cnclhistdt" type="STRING" size="256" sumtext="취소/변경일시"/>
  297. <Column id="cnclresncd" type="STRING" size="256" sumtext="취소사유"/>
  298. <Column id="cnclhistid" type="STRING" size="256" sumtext="취소/변경일시"/>
  299. <Column id="excuroom" type="STRING" size="256" sumtext="치료실"/>
  300. <Column id="rsrvrid" type="STRING" size="256" sumtext="처방의사"/>
  301. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="유일번호"/>
  302. <Column id="execprcpstatcd" type="STRING" size="256" sumtext="처방상태"/>
  303. <Column id="seq" type="STRING" size="256" sumtext="처방상태"/>
  304. <Column id="execdt" type="STRING" size="256" sumtext="실시일시"/>
  305. <Column id="execrid" type="STRING" size="256" sumtext="치료사"/>
  306. </ColumnInfo>
  307. </Dataset>
  308. <Dataset id="ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  309. <ColumnInfo>
  310. <Column id="chkflag" type="STRING" size="256" sumtext="선택여부"/>
  311. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  312. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  313. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  314. <Column id="prcpdept" type="STRING" size="256" sumtext="처방과"/>
  315. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  316. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  317. <Column id="state" type="STRING" size="256" sumtext="상태"/>
  318. <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일"/>
  319. <Column id="updtaft" type="STRING" size="256" sumtext="변경후"/>
  320. <Column id="cnclhistdt" type="STRING" size="256" sumtext="취소/변경일시"/>
  321. <Column id="cnclresncd" type="STRING" size="256" sumtext="취소사유"/>
  322. <Column id="cnclhistid" type="STRING" size="256" sumtext="취소/변경일시"/>
  323. <Column id="excuroom" type="STRING" size="256" sumtext="치료실"/>
  324. <Column id="rsrvrid" type="STRING" size="256" sumtext="처방의사"/>
  325. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="유일번호"/>
  326. <Column id="execprcpstatcd" type="STRING" size="256" sumtext="처방상태"/>
  327. <Column id="seq" type="STRING" size="256" sumtext="처방상태"/>
  328. <Column id="execdt" type="STRING" size="256" sumtext="실시일시"/>
  329. <Column id="execrid" type="STRING" size="256" sumtext="치료사"/>
  330. <Column id="cnfmmanid" type="STRING" size="256" sumtext="확인자"/>
  331. <Column id="cnfmdt" type="STRING" size="256" sumtext="확인일시"/>
  332. </ColumnInfo>
  333. </Dataset>
  334. <Dataset id="ds_send_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  335. <ColumnInfo>
  336. <Column id="srchcond" type="STRING" size="256"/>
  337. <Column id="pid" type="STRING" size="256"/>
  338. <Column id="autoflag" type="STRING" size="256"/>
  339. </ColumnInfo>
  340. <Rows>
  341. <Row/>
  342. </Rows>
  343. </Dataset>
  344. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  345. <ColumnInfo>
  346. <Column id="pid" type="STRING" size="256"/>
  347. <Column id="patnm" type="STRING" size="256"/>
  348. <Column id="sex" type="STRING" size="256"/>
  349. <Column id="age" type="STRING" size="256"/>
  350. </ColumnInfo>
  351. </Dataset>
  352. </Objects>
  353. <Bind>
  354. <BindItem id="item0" compid="grp_sea.cmb_srchflag" propid="value" datasetid="ds_send" columnid="srchflag"/>
  355. <BindItem id="item1" compid="grp_sea.ipt_startrsrvdd" propid="value" datasetid="ds_send" columnid="fromdate"/>
  356. <BindItem id="item2" compid="grp_sea.ipt_endrsrvdd" propid="value" datasetid="ds_send" columnid="todate"/>
  357. <BindItem id="item3" compid="grp_sea.cmb_deptcd" propid="value" datasetid="ds_send" columnid="suppdeptcd"/>
  358. <BindItem id="item4" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
  359. <BindItem id="item5" compid="grp_sea.ipt_patnm" propid="value" datasetid="ds_send" columnid="patnm"/>
  360. <BindItem id="item6" compid="grp_sea.output1" propid="value" datasetid="ds_send" columnid="sex"/>
  361. <BindItem id="item7" compid="grp_sea.output2" propid="value" datasetid="ds_send" columnid="age"/>
  362. <BindItem id="item8" compid="grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
  363. </Bind>
  364. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  365. * System Name :
  366. * Job Name :
  367. * Creator :
  368. * Make Date : 2015-11-13
  369. * Description :
  370. *---------------------------------------------------------------------------------------
  371. * Modify Date Modifier Modify Description
  372. *---------------------------------------------------------------------------------------
  373. * 2015-11-13 Live Converter TF->XP
  374. *
  375. *---------------------------------------------------------------------------------------
  376. ****************************************************************************************/
  377. include "com_commonxp::comm_main.xjs";
  378. include "ast_examcurexp::AEZ0001.xjs";
  379. var vSuppdeptcd ;
  380. function SMAEA05400_oninit(obj:Form, e:InitEventInfo)
  381. {
  382. frmf_initForm(obj);
  383. }
  384. function SMAEA05400_onload(obj:Form, e:LoadEventInfo)
  385. {
  386. grdf_initGrid(switch1.case1.grd_rsrvcnclprescond);
  387. grdf_initGrid(switch1.case2.grd_rsrvcnfmprescond);
  388. lf_aezfSetSuppDeptcd();
  389. vSuppdeptcd = frmf_getPrestDeptCd();
  390. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  391. ds_send.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
  392. dsf_setFixVal(ds_send, "rbasecdflag:R,ebasecdflag:E,initflag:1");
  393. var oParam = {};
  394. oParam.id = "TRAEA01301";
  395. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  396. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  397. oParam.inds = "reqparam=ds_send";
  398. oParam.outds = "ds_init_cmb_info_initexecroom=initexcuroom ds_init_cmb_info_suppdept=suppdept";
  399. oParam.async = false;
  400. //oParam.callback = "cf_TRAEA01301";
  401. tranf_submit(oParam);
  402. if(utlf_isNull(ds_init_cmb_info_suppdept.lookup("suppdeptcd", vSuppdeptcd, "depthngnm")))
  403. {
  404. ds_send.setColumn(0, "suppdeptcd", "");
  405. }
  406. else
  407. {
  408. grp_sea.cmb_deptcd.enable = false;
  409. }
  410. if(frmf_checkOpener())
  411. {
  412. ds_send.setColumn(0, "pid", sPid);
  413. ds_send.setColumn(0, "fromdate", sFromdd);
  414. ds_send.setColumn(0, "todate", sTodd);
  415. if(utlf_isNull(ds_send.getColumn(0, "fromdate")))
  416. {
  417. ds_send.setColumn(0, "fromdate", utlf_getCurrentDate());
  418. ds_send.setColumn(0, "todate", utlf_getCurrentDate());
  419. }
  420. }
  421. else
  422. {
  423. ds_send.setColumn(0, "fromdate", utlf_getCurrentDate().toDate().getAddDate(-5,"D").getDateFormat("YYYYMMDD"));
  424. ds_send.setColumn(0, "todate", utlf_getCurrentDate());
  425. }
  426. var menuparam = frmf_getMenuParam();//var menuparam = ds_properties_menu.getValue("/root/properties/menu/menuparam");
  427. if (menuparam != "M")
  428. {
  429. readfunc();
  430. }
  431. else
  432. {
  433. }
  434. }
  435. function readfunc()
  436. {
  437. var pid = ds_send.getColumn(0, "pid");
  438. if (utlf_isNull(pid))
  439. {
  440. ds_send.setColumn(0, "patnm", "");
  441. ds_send.setColumn(0, "sex", "");
  442. ds_send.setColumn(0, "age", "");
  443. }
  444. var _frdt = ds_send.getColumn(0, "fromdate");
  445. var _todt = ds_send.getColumn(0, "todate");
  446. if ( utlf_isNull(_frdt) && !utlf_isNull(_todt))
  447. {
  448. sysf_messageBox("검색하실 날짜 범위의 시작 일자를 입력해 주십시오." , "I999");
  449. grp_sea.ipt_startrsrvdd.setFocus();
  450. return;
  451. }
  452. if ( !utlf_isNull(_frdt) && utlf_isNull(_todt))
  453. {
  454. sysf_messageBox("검색하실 날짜 범위의 마지막 일자를 입력해 주십시오." , "I999");
  455. grp_sea.ipt_endrsrvdd.setFocus();
  456. return;
  457. }
  458. if ( utlf_getDateInterval(_frdt, _todt) < 0 )
  459. {
  460. sysf_messageBox("입력하신 날짜 범위로는 검색할 수 없습니다. 기준일자를 확인해 주십시오." , "I999");
  461. grp_sea.ipt_startrsrvdd.setFocus();
  462. return;
  463. }
  464. ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo.clearData();
  465. ds_main_rsrvupdtpreslist_rsrvupdtpresinfo.clearData();
  466. var state = "";
  467. if (switch1.tabindex == 0)
  468. {
  469. dsf_setFixVal(ds_send, "cnfmflag:N");
  470. var oParam = {};
  471. oParam.id = "TRAEA05401";
  472. oParam.service = "examcurersrvapp.RsrvRef";
  473. oParam.method = "reqGetRsrvUpdtCnclPresInfo";
  474. oParam.inds = "req=ds_send";
  475. oParam.outds = "ds_main_rsrvupdtpreslist_rsrvupdtpresinfo=item";
  476. oParam.async = false;
  477. //oParam.callback = "cf_TRAEA05401";
  478. tranf_submit(oParam);
  479. }
  480. else
  481. {
  482. dsf_setFixVal(ds_send, "cnfmflag:Y");
  483. var oParam = {};
  484. oParam.id = "TRAEA05402";
  485. oParam.service = "examcurersrvapp.RsrvRef";
  486. oParam.method = "reqGetRsrvUpdtCnclPresInfo";
  487. oParam.inds = "req=ds_send";
  488. oParam.outds = "ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo=item";
  489. oParam.async = false;
  490. //oParam.callback = "cf_TRAEA05402";
  491. tranf_submit(oParam);
  492. }
  493. }
  494. function grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  495. {
  496. ds_send.setColumn(0, "basesuppdeptcd", obj.value);
  497. var oParam = {};
  498. oParam.id = "TRAEA01301";
  499. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  500. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  501. oParam.inds = "reqparam=ds_send";
  502. oParam.outds = "ds_init_cmb_info_initexecroom=initexcuroom ds_init_cmb_info_suppdept=suppdept";
  503. oParam.async = false;
  504. //oParam.callback = "cf_TRAEA01301";
  505. tranf_submit(oParam);
  506. grp_sea_btn_sea_onclick();
  507. }
  508. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  509. {
  510. readfunc();
  511. }
  512. function grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  513. {
  514. if(e.keycode == 13)
  515. {
  516. obj.updateToDataset();
  517. if(!utlf_isNull(obj.value))
  518. {
  519. grp_sea_button61_onclick();
  520. }
  521. }
  522. }
  523. function grp_sea_button61_onclick(obj:Button, e:ClickEventInfo)
  524. {
  525. var pid = ds_send.getColumn(0, "pid");
  526. if (utlf_isNull(pid))
  527. {
  528. ds_send_data2.setColumn(0, "srchcond", "2");
  529. }
  530. else
  531. {
  532. ds_send_data2.setColumn(0, "srchcond", "1");
  533. }
  534. ds_send_data2.setColumn(0, "pid", pid);
  535. ds_send_data2.setColumn(0, "autoflag", "Y");
  536. var objArg = new Object();
  537. objArg.arg_ds_send = ds_send_data2;
  538. frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
  539. ds_send.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
  540. ds_send.setColumn(0, "patnm", ds_patinfolist.getColumn(0, "hngnm"));
  541. ds_send.setColumn(0, "sex", ds_patinfolist.getColumn(0, "sex"));
  542. ds_send.setColumn(0, "age", ds_patinfolist.getColumn(0, "age"));
  543. grp_sea_btn_sea_onclick();
  544. }
  545. function grp_sea_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  546. {
  547. grp_sea_btn_sea_onclick();
  548. }
  549. function btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
  550. {
  551. fExeCnfm();
  552. }
  553. function fExeCnfm()
  554. {
  555. var nodeList = 0;
  556. if (switch1.tabindex == 0)
  557. {
  558. nodeList = ds_main_rsrvupdtpreslist_rsrvupdtpresinfo.getCaseCount("chkflag", "Y");
  559. }
  560. else
  561. {
  562. nodeList = ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo.getCaseCount("chkflag", "Y");
  563. }
  564. if ( rCSV == 0 )
  565. {
  566. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  567. return "0";
  568. }
  569. if (switch1.tabindex == 0)
  570. {
  571. dsf_setFixVal(ds_main_rsrvupdtpreslist_rsrvupdtpresinfo, "cnfmflag:Y");
  572. var oParam = {};
  573. oParam.id = "TXAEA05401";
  574. oParam.service = "examcurersrvapp.RsrvRef";
  575. oParam.method = "reqSetRsrvUpdtCnclPresInfo";
  576. oParam.inds = "reqparam=ds_main_rsrvupdtpreslist_rsrvupdtpresinfo";
  577. oParam.outds = "ds_=item";
  578. oParam.async = false;
  579. //oParam.callback = "cf_TXAEA05401";
  580. tranf_submit(oParam);
  581. switch1.tabindex = 1;
  582. btn_cnfm.text = "취소";
  583. }
  584. else
  585. {
  586. var oParam = {};
  587. oParam.id = "TXAEA05402";
  588. oParam.service = "examcurersrvapp.RsrvRef";
  589. oParam.method = "reqSetRsrvUpdtCnclPresInfo";
  590. oParam.inds = "reqparam=ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo";
  591. oParam.outds = "ds_=item";
  592. oParam.async = false;
  593. //oParam.callback = "cf_TXAEA05402";
  594. tranf_submit(oParam);
  595. switch1.tabindex = 0;
  596. btn_cnfm.text = "확인";
  597. }
  598. readfunc() ;
  599. }
  600. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  601. {
  602. this.close();
  603. }
  604. ]]></Script>
  605. </Form>
  606. </FDL>