SMAEA04300_선처치및기준자료검증.xfdl 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA04300" position="absolute 0 0 1058 708" titletext="기준자료조회" oninit="SMAEA04300_oninit" onload="SMAEA04300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="데이터관리" class="tit_1" position="absolute 0 0 120 25"/>
  8. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 27 1057 706">
  9. <Tabpages>
  10. <Tabpage id="case1" text="선처치/기준자료 비교">
  11. <Layouts>
  12. <Layout>
  13. <Grid id="datagrid3" taborder="1" binddataset="ds_main_excucdinfolist_excucdlist" scrollbars="fixedvert" useinputpanel="false" position="absolute 532 64 1056 651" extendsizetype="row" cellsizingtype="both" selecttype="multirow">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="25"/>
  18. <Column size="80"/>
  19. <Column size="147"/>
  20. <Column size="107"/>
  21. <Column size="145"/>
  22. </Columns>
  23. <Rows>
  24. <Row size="24" band="head"/>
  25. <Row size="24"/>
  26. </Rows>
  27. <Band id="head">
  28. <Cell/>
  29. <Cell col="1" text="코드"/>
  30. <Cell col="2" text="코드명"/>
  31. <Cell col="3" text="검사실"/>
  32. <Cell col="4" text="수가수행부서"/>
  33. </Band>
  34. <Band id="body">
  35. <Cell celltype="head" text="expr:currow+1"/>
  36. <Cell col="1" displaytype="text" text="bind:prcpcd"/>
  37. <Cell col="2" displaytype="text" text="bind:prcpnm"/>
  38. <Cell col="3" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_init_cmb_info_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm" enable="false"/>
  39. <Cell col="4" displaytype="combo" edittype="combo" text="bind:prcpexecdeptcd" combodataset="ds_init_dept_info_initprcpexecdeptcd" combocodecol="prcpexecdeptcdid" combodatacol="prcpexecdeptcdnm" enable="false"/>
  40. </Band>
  41. </Format>
  42. </Formats>
  43. </Grid>
  44. <Div id="group4" taborder="2" position="absolute 1 24 525 59" class="div_SA2">
  45. <Layouts>
  46. <Layout>
  47. <Static id="caption2" text="진료과 :" class="search_name" position="absolute 15 9 100 26" anchor="default"/>
  48. <Combo id="cmb_orddeptcd" taborder="1" innerdataset="@ds_init_deptlist_dept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_essential" position="absolute 95 8 340 27" anchor="default" onitemchanged="switch1_case1_group4_cmb_orddeptcd_onitemchanged"/>
  49. </Layout>
  50. </Layouts>
  51. </Div>
  52. <Static id="caption4" text="검사실 기준자료 마스터" class="cell_1" position="absolute 532 0 1056 23" style="align:center middle;font:Dotum,11,bold;"/>
  53. <Div id="group5" taborder="3" position="absolute 532 24 1056 59" class="div_SA2">
  54. <Layouts>
  55. <Layout>
  56. <Static id="caption3" text="지원부서 :" class="search_name" position="absolute 15 9 132 26" anchor="default"/>
  57. <Static id="caption5" text="검사실 :" class="search_name" position="absolute 270 9 387 26" anchor="default"/>
  58. <Combo id="cmb_excuroom" taborder="1" innerdataset="@ds_init_excuroom_info_initexecroom" codecolumn="excuroomcdid" datacolumn="excuroomcdnm" class="combo_essential" position="absolute 349 8 494 27" anchor="default" onitemchanged="switch1_case1_group5_cmb_excuroom_onitemchanged"/>
  59. <Combo id="cmb_deptcd" taborder="2" innerdataset="@ds_init_cmb_info_suppdept" codecolumn="suppdeptcd" datacolumn="depthngnm" class="combo_essential" position="absolute 107 8 252 27" anchor="default" onitemchanged="switch1_case1_group5_cmb_deptcd_onitemchanged"/>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. <Static id="caption15" text="선처치 마스터" class="cell_1" position="absolute 1 0 525 23" style="align:center middle;font:Dotum,11,bold;"/>
  64. <Shape id="line2" class="line_10" position="absolute 1 59 525 65"/>
  65. <Grid id="grd_precure" taborder="4" binddataset="ds_main_precureinfolist_precurelist" scrollbars="fixedvert" useinputpanel="false" position="absolute 1 64 525 651" selecttype="multirow" cellsizingtype="both" extendsizetype="row">
  66. <Formats>
  67. <Format id="default">
  68. <Columns>
  69. <Column size="25" band="left"/>
  70. <Column size="80"/>
  71. <Column size="198"/>
  72. <Column size="46"/>
  73. <Column size="153"/>
  74. </Columns>
  75. <Rows>
  76. <Row size="24" band="head"/>
  77. <Row size="24"/>
  78. </Rows>
  79. <Band id="head">
  80. <Cell/>
  81. <Cell col="1" text="코드"/>
  82. <Cell col="2" text="코드명"/>
  83. <Cell col="3" text="선처치"/>
  84. <Cell col="4" text="(수가)시행부서"/>
  85. </Band>
  86. <Band id="body">
  87. <Cell celltype="head" text="expr:currow+1"/>
  88. <Cell col="1" displaytype="text" text="bind:prcpcd"/>
  89. <Cell col="2" displaytype="text" text="bind:prcpnm"/>
  90. <Cell col="3" text="bind:precureprcpflag"/>
  91. <Cell col="4" displaytype="combo" edittype="combo" text="bind:prcpexecdeptcd" combodataset="ds_init_dept_info_initprcpexecdeptcd" combocodecol="prcpexecdeptcdid" combodatacol="prcpexecdeptcdnm" enable="false"/>
  92. </Band>
  93. </Format>
  94. </Formats>
  95. </Grid>
  96. <Shape id="line5" linetype="horizontal" class="line_10" position="absolute 532 59 1056 65"/>
  97. </Layout>
  98. </Layouts>
  99. </Tabpage>
  100. <Tabpage id="case2" text="환자별 처방정보조회">
  101. <Layouts>
  102. <Layout>
  103. <Div id="group6" taborder="1" position="absolute 1 0 1056 35" class="div_SA2">
  104. <Layouts>
  105. <Layout>
  106. <Static id="caption8" text="등록번호 :" class="search_name" position="absolute 15 9 132 26" anchor="default"/>
  107. <Shape id="line4" linetype="vertical" class="line_4" position="absolute 958 7 964 29" anchor="default"/>
  108. <Static id="caption9" text="처방일자 :" class="search_name" position="absolute 290 9 407 26" anchor="default"/>
  109. <Edit id="input1" taborder="1" class="input_essential" position="absolute 110 8 240 27" anchor="default" onkeydown="switch1_case2_group6_input1_onkeydown"/>
  110. <Calendar id="ipt_date1" taborder="2" class="input_essential" position="absolute 384 8 486 27" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  111. <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 980 7 1036 29" anchor="default" onclick="switch1_case2_group6_btn_sea_onclick"/>
  112. <Static id="caption10" text="처방수행부서 :" class="search_name" position="absolute 540 9 657 26" anchor="default"/>
  113. <Combo id="combo1" taborder="4" innerdataset="@ds_init_dept_info_initprcpexecdeptcd" codecolumn="prcpexecdeptcdid" datacolumn="prcpexecdeptcdnm" position="absolute 660 8 815 27" anchor="default" onitemchanged="switch1_case2_group6_combo1_onitemchanged" type="search"/>
  114. </Layout>
  115. </Layouts>
  116. </Div>
  117. <Shape id="line3" class="line_10" position="absolute 1 35 1056 41"/>
  118. <Grid id="datagrid1" taborder="2" binddataset="ds_main_prcpinfolist_prcplist" scrollbars="fixedvert" useinputpanel="false" position="absolute 1 40 1056 620" selecttype="multirow" cellsizingtype="both" extendsizetype="row" cellclickbound="cell">
  119. <Formats>
  120. <Format id="default">
  121. <Columns>
  122. <Column size="25" band="left"/>
  123. <Column size="30" band="left"/>
  124. <Column size="90"/>
  125. <Column size="199"/>
  126. <Column size="37"/>
  127. <Column size="83"/>
  128. <Column size="79"/>
  129. <Column size="68"/>
  130. <Column size="80"/>
  131. <Column size="60"/>
  132. <Column size="140"/>
  133. <Column size="140"/>
  134. </Columns>
  135. <Rows>
  136. <Row size="24" band="head"/>
  137. <Row size="24"/>
  138. </Rows>
  139. <Band id="head">
  140. <Cell/>
  141. <Cell col="1" text="선택"/>
  142. <Cell col="2" text="처방코드"/>
  143. <Cell col="3" text="코드명"/>
  144. <Cell col="4" text="구분"/>
  145. <Cell col="5" text="처방상태"/>
  146. <Cell col="6" text="입실확인"/>
  147. <Cell col="7" text="수납여부"/>
  148. <Cell col="8" text="실시일자"/>
  149. <Cell col="9" text="선처치"/>
  150. <Cell col="10" text="처방수행부서"/>
  151. <Cell col="11" text="실행부서"/>
  152. </Band>
  153. <Band id="body">
  154. <Cell celltype="head" text="expr:currow+1"/>
  155. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:(check==&quot;Y&quot;||check==1)?1:0"/>
  156. <Cell col="2" displaytype="text" text="bind:prcpcd"/>
  157. <Cell col="3" displaytype="text" text="bind:prcpnm"/>
  158. <Cell col="4" text="bind:prcpgenrflag"/>
  159. <Cell col="5" displaytype="combo" edittype="combo" text="bind:prcpstatcd" combodataset="ds_init_M0011" combocodecol="cdid" combodatacol="cdnm"/>
  160. <Cell col="6" text="bind:careinrmdd"/>
  161. <Cell col="7" text="bind:rcptdd"/>
  162. <Cell col="8" displaytype="expr:execdd == '-' || utlf_isNull(execdd) ? 'normal' : 'date'" text="bind:execdd"/>
  163. <Cell col="9" text="bind:precureprcpflag"/>
  164. <Cell col="10" displaytype="combo" edittype="combo" text="bind:prcpexecdeptcd" combodataset="ds_init_dept_info_initprcpexecdeptcd" combocodecol="prcpexecdeptcdid" combodatacol="prcpexecdeptcdnm" enable="false"/>
  165. <Cell col="11" displaytype="combo" edittype="combo" text="bind:execdeptcd" combodataset="ds_init_dept_info_initprcpexecdeptcd" combocodecol="prcpexecdeptcdid" combodatacol="prcpexecdeptcdnm"/>
  166. </Band>
  167. </Format>
  168. </Formats>
  169. </Grid>
  170. <Button id="btn_save" taborder="3" text="저장" class="btn4" position="absolute 999 626 1055 648" onclick="switch1_case2_btn_save_onclick"/>
  171. </Layout>
  172. </Layouts>
  173. </Tabpage>
  174. <Tabpage id="case3" text="CDIS연동체크">
  175. <Layouts>
  176. <Layout>
  177. <Div id="group2" taborder="1" position="absolute 1 0 1056 35" class="div_SA2">
  178. <Layouts>
  179. <Layout>
  180. <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 15 9 132 26" anchor="default"/>
  181. <Shape id="line1" linetype="vertical" class="line_4" position="absolute 961 7 967 29" anchor="default"/>
  182. <Static id="caption7" text="처방일자 :" class="search_name" position="absolute 305 9 422 26" anchor="default"/>
  183. <Edit id="input2" taborder="1" class="input_essential" position="absolute 110 8 240 27" anchor="default" autoselect="true" onkeydown="switch1_case3_group2_input2_onkeydown"/>
  184. <Calendar id="input3" taborder="2" class="input_essential" position="absolute 399 8 501 27" anchor="default" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
  185. <Button id="btn_sea2" taborder="3" text="조회" class="btn1" position="absolute 981 7 1037 29" anchor="default" onclick="switch1_case3_group2_btn_sea2_onclick"/>
  186. <Button id="button87" taborder="4" text="장비기준자료Ins" class="btn5" position="absolute 807 7 915 29" anchor="default" onclick="switch1_case3_group2_button87_onclick"/>
  187. <Button id="but_oldOrder" taborder="5" text="과거처방 자료Ins" class="btn5" visible="false" position="absolute 685 8 793 27" anchor="default"/>
  188. <Button id="btn_request" taborder="6" text="위수탁실시완료" class="btn4" position="absolute 683 7 803 29" anchor="default" onclick="switch1_case3_group2_btn_request_onclick" visible="false"/>
  189. <Edit id="ipt_execprcpuniqno" taborder="7" class="input_essential" position="absolute 510 8 665 27" anchor="default" autoselect="true"/>
  190. </Layout>
  191. </Layouts>
  192. </Div>
  193. <Shape id="line6" class="line_10" position="absolute 1 35 1056 41"/>
  194. <Grid id="grd_cdislist" taborder="2" binddataset="ds_main_cdisinfolist_cdislist" useinputpanel="false" position="absolute 1 40 1056 652" cellsizingtype="both" extendsizetype="row" selecttype="multirow" oncellclick="switch1_case3_grd_cdislist_oncellclick">
  195. <Formats>
  196. <Format id="default">
  197. <Columns>
  198. <Column size="25" band="left"/>
  199. <Column size="0" band="left"/>
  200. <Column size="25" band="left"/>
  201. <Column size="0"/>
  202. <Column size="66"/>
  203. <Column size="56"/>
  204. <Column size="75"/>
  205. <Column size="0"/>
  206. <Column size="116"/>
  207. <Column size="95"/>
  208. <Column size="80"/>
  209. <Column size="58"/>
  210. <Column size="72"/>
  211. <Column size="84"/>
  212. <Column size="60"/>
  213. <Column size="78"/>
  214. <Column size="110"/>
  215. <Column size="55"/>
  216. </Columns>
  217. <Rows>
  218. <Row size="24" band="head"/>
  219. <Row size="24"/>
  220. </Rows>
  221. <Band id="head">
  222. <Cell/>
  223. <Cell col="1" text="선택"/>
  224. <Cell col="2"/>
  225. <Cell col="3"/>
  226. <Cell col="4" text="등록번호"/>
  227. <Cell col="5" text="환자명"/>
  228. <Cell col="6" text="진료일자"/>
  229. <Cell col="7" text="처방코드"/>
  230. <Cell col="8" text="검사명"/>
  231. <Cell col="9" text="검사실코드"/>
  232. <Cell col="10" text="검사실명"/>
  233. <Cell col="11" text="처방상태"/>
  234. <Cell col="12" text="READYN"/>
  235. <Cell col="13" text="ACPTDT"/>
  236. <Cell col="14" text="등록여부"/>
  237. <Cell col="15" text="기준자료코드"/>
  238. <Cell col="16" text="지원부서코드"/>
  239. <Cell col="17" text="EMR연동"/>
  240. </Band>
  241. <Band id="body">
  242. <Cell celltype="head" text="expr:currow+1"/>
  243. <Cell col="1" displaytype="checkbox" text="bind:check" expr="expr:(check==&quot;Y&quot;||check==1)?1:0"/>
  244. <Cell col="2" celltype="head"/>
  245. <Cell col="3" text="bind:update"/>
  246. <Cell col="4" displaytype="text" text="bind:pid"/>
  247. <Cell col="5" displaytype="text" text="bind:patnm"/>
  248. <Cell col="6" displaytype="date" text="bind:orddd"/>
  249. <Cell col="7" displaytype="combo" edittype="combo" text="bind:calcscorcd"/>
  250. <Cell col="8" displaytype="text" text="bind:prcpnm"/>
  251. <Cell col="9" displaytype="text" text="bind:excutype"/>
  252. <Cell col="10" displaytype="text" text="bind:excutypenm"/>
  253. <Cell col="11" text="bind:prcpstat"/>
  254. <Cell col="12" text="bind:readyn"/>
  255. <Cell col="13" text="bind:acptdt" mask="expr:acptdt=='-' || utlf_isNull(acptdt) ? '' : '####-##-## ##:##'"/>
  256. <Cell col="14" text="bind:insyn"/>
  257. <Cell col="15" displaytype="text" edittype="none" text="bind:excucd" enable="false"/>
  258. <Cell col="16" displaytype="combo" edittype="combo" text="bind:suppdeptcd" combodataset="ds_init_dept_info_initprcpexecdeptcd" combocodecol="prcpexecdeptcdid" combodatacol="prcpexecdeptcdnm" enable="false"/>
  259. <Cell col="17" text="bind:emryn"/>
  260. </Band>
  261. </Format>
  262. </Formats>
  263. </Grid>
  264. </Layout>
  265. </Layouts>
  266. </Tabpage>
  267. </Tabpages>
  268. </Tab>
  269. </Layout>
  270. </Layouts>
  271. <Objects>
  272. <Dataset id="ds_main_prcpinfolist_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_prcpinfolist_prcplist_oncolumnchanged">
  273. <ColumnInfo>
  274. <Column id="check" type="STRING" size="256"/>
  275. <Column id="prcpcd" type="STRING" size="256"/>
  276. <Column id="prcpnm" type="STRING" size="256"/>
  277. <Column id="prcpgenrflag" type="STRING" size="256"/>
  278. <Column id="prcpstatcd" type="STRING" size="256"/>
  279. <Column id="careinrmdd" type="STRING" size="256"/>
  280. <Column id="rcptdd" type="STRING" size="256"/>
  281. <Column id="execdd" type="STRING" size="256"/>
  282. <Column id="precureprcpflag" type="STRING" size="256"/>
  283. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  284. <Column id="execdeptcd" type="STRING" size="256"/>
  285. </ColumnInfo>
  286. <Rows>
  287. <Row>
  288. <Col id="check"/>
  289. <Col id="prcpcd"/>
  290. <Col id="prcpnm"/>
  291. <Col id="prcpgenrflag"/>
  292. <Col id="prcpstatcd"/>
  293. <Col id="careinrmdd"/>
  294. <Col id="rcptdd"/>
  295. <Col id="execdd"/>
  296. <Col id="precureprcpflag"/>
  297. <Col id="prcpexecdeptcd"/>
  298. <Col id="execdeptcd"/>
  299. </Row>
  300. </Rows>
  301. </Dataset>
  302. <Dataset id="ds_main_precureinfolist_precurelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  303. <ColumnInfo>
  304. <Column id="prcpcd" type="STRING" size="256"/>
  305. <Column id="prcpnm" type="STRING" size="256"/>
  306. <Column id="precureprcpflag" type="STRING" size="256"/>
  307. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  308. </ColumnInfo>
  309. <Rows>
  310. <Row>
  311. <Col id="prcpcd"/>
  312. <Col id="prcpnm"/>
  313. <Col id="precureprcpflag"/>
  314. <Col id="prcpexecdeptcd"/>
  315. </Row>
  316. </Rows>
  317. </Dataset>
  318. <Dataset id="ds_main_excucdinfolist_excucdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  319. <ColumnInfo>
  320. <Column id="prcpcd" type="STRING" size="256"/>
  321. <Column id="prcpnm" type="STRING" size="256"/>
  322. <Column id="excuroomcd" type="STRING" size="256"/>
  323. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  324. </ColumnInfo>
  325. <Rows>
  326. <Row>
  327. <Col id="prcpcd"/>
  328. <Col id="prcpnm"/>
  329. <Col id="excuroomcd"/>
  330. <Col id="prcpexecdeptcd"/>
  331. </Row>
  332. </Rows>
  333. </Dataset>
  334. <Dataset id="ds_main_cdisinfolist_cdislist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cdisinfolist_cdislist_oncolumnchanged">
  335. <ColumnInfo>
  336. <Column id="check" type="STRING" size="256"/>
  337. <Column id="pid" type="STRING" size="256"/>
  338. <Column id="patnm" type="STRING" size="256"/>
  339. <Column id="orddd" type="STRING" size="256"/>
  340. <Column id="calcscorcd" type="STRING" size="256"/>
  341. <Column id="prcpnm" type="STRING" size="256"/>
  342. <Column id="excutype" type="STRING" size="256"/>
  343. <Column id="excutypenm" type="STRING" size="256"/>
  344. <Column id="prcpstat" type="STRING" size="256"/>
  345. <Column id="readyn" type="STRING" size="256"/>
  346. <Column id="acptdt" type="STRING" size="256"/>
  347. <Column id="insyn" type="STRING" size="256"/>
  348. <Column id="excucd" type="STRING" size="256"/>
  349. <Column id="suppdeptcd" type="STRING" size="256"/>
  350. <Column id="emryn" type="STRING" size="256"/>
  351. <Column id="prcpdd" type="STRING" size="256"/>
  352. <Column id="execprcpuniqno" type="STRING" size="256"/>
  353. <Column id="acptdd" type="STRING" size="256"/>
  354. <Column id="acpttm" type="STRING" size="256"/>
  355. </ColumnInfo>
  356. <Rows>
  357. <Row>
  358. <Col id="check"/>
  359. <Col id="pid"/>
  360. <Col id="patnm"/>
  361. <Col id="orddd"/>
  362. <Col id="calcscorcd"/>
  363. <Col id="prcpnm"/>
  364. <Col id="excutype"/>
  365. <Col id="excutypenm"/>
  366. <Col id="prcpstat"/>
  367. <Col id="readyn"/>
  368. <Col id="acptdt"/>
  369. <Col id="insyn"/>
  370. <Col id="excucd"/>
  371. <Col id="suppdeptcd"/>
  372. <Col id="emryn"/>
  373. <Col id="prcpdd"/>
  374. <Col id="execprcpuniqno"/>
  375. <Col id="acptdd"/>
  376. <Col id="acpttm"/>
  377. </Row>
  378. </Rows>
  379. </Dataset>
  380. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  381. <ColumnInfo>
  382. <Column id="suppdeptcd" type="STRING" size="256"/>
  383. <Column id="excuroomcd" type="STRING" size="256"/>
  384. <Column id="pid" type="STRING" size="256"/>
  385. <Column id="prcpdd" type="STRING" size="256"/>
  386. <Column id="orddeptcd" type="STRING" size="256"/>
  387. <Column id="gb" type="STRING" size="256"/>
  388. <Column id="prcpno" type="STRING" size="256"/>
  389. </ColumnInfo>
  390. <Rows>
  391. <Row>
  392. <Col id="suppdeptcd"/>
  393. <Col id="excuroomcd"/>
  394. <Col id="pid"/>
  395. <Col id="prcpdd"/>
  396. <Col id="orddeptcd"/>
  397. <Col id="gb"/>
  398. <Col id="prcpno"/>
  399. </Row>
  400. </Rows>
  401. </Dataset>
  402. <Dataset id="ds_send_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  403. <Dataset id="ds_send_cdislist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  404. <Dataset id="ds_init_cmb_info_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  405. <ColumnInfo>
  406. <Column id="suppdeptcd" type="STRING" size="256"/>
  407. <Column id="depthngnm" type="STRING" size="256"/>
  408. </ColumnInfo>
  409. <Rows>
  410. <Row>
  411. <Col id="suppdeptcd"/>
  412. <Col id="depthngnm"/>
  413. </Row>
  414. </Rows>
  415. </Dataset>
  416. <Dataset id="ds_init_dept_info_initprcpexecdeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  417. <ColumnInfo>
  418. <Column id="prcpexecdeptcdid" type="STRING" size="256"/>
  419. <Column id="prcpexecdeptcdnm" type="STRING" size="256"/>
  420. </ColumnInfo>
  421. <Rows>
  422. <Row/>
  423. </Rows>
  424. </Dataset>
  425. <Dataset id="ds_init_deptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  426. <ColumnInfo>
  427. <Column id="deptcd" type="STRING" size="256"/>
  428. <Column id="depthngnm" type="STRING" size="256"/>
  429. </ColumnInfo>
  430. <Rows>
  431. <Row>
  432. <Col id="deptcd"/>
  433. <Col id="depthngnm"/>
  434. </Row>
  435. </Rows>
  436. </Dataset>
  437. <Dataset id="ds_init_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  438. <Dataset id="ds_init_excuroom_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  439. <ColumnInfo>
  440. <Column id="excuroomcdid" type="STRING" size="256"/>
  441. <Column id="excuroomcdnm" type="STRING" size="256"/>
  442. </ColumnInfo>
  443. <Rows>
  444. <Row>
  445. <Col id="excuroomcdid"/>
  446. <Col id="excuroomcdnm"/>
  447. </Row>
  448. </Rows>
  449. </Dataset>
  450. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  451. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  452. <Dataset id="ds_init_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  453. </Objects>
  454. <Bind>
  455. <BindItem id="item0" compid="switch1.case3.group2.ipt_execprcpuniqno" propid="value" datasetid="ds_send" columnid="prcpno"/>
  456. <BindItem id="item1" compid="switch1.case3.group2.input3" propid="value" datasetid="ds_send" columnid="prcpdd"/>
  457. <BindItem id="item2" compid="switch1.case3.group2.input2" propid="value" datasetid="ds_send" columnid="pid"/>
  458. <BindItem id="item3" compid="switch1.case2.group6.ipt_date1" propid="value" datasetid="ds_send" columnid="prcpdd"/>
  459. <BindItem id="item5" compid="switch1.case1.group4.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
  460. <BindItem id="item6" compid="switch1.case1.group5.cmb_deptcd" propid="value" datasetid="ds_send" columnid="suppdeptcd"/>
  461. <BindItem id="item7" compid="switch1.case1.group5.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
  462. <BindItem id="item8" compid="switch1.case2.group6.input1" propid="value" datasetid="ds_send" columnid="pid"/>
  463. </Bind>
  464. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  465. * System Name :
  466. * Job Name :
  467. * Creator :
  468. * Make Date : 2016-10-14
  469. * Description :
  470. *---------------------------------------------------------------------------------------
  471. * Modify Date Modifier Modify Description
  472. *---------------------------------------------------------------------------------------
  473. * 2016-10-14 Live Converter TF->XP
  474. *
  475. *---------------------------------------------------------------------------------------
  476. ****************************************************************************************/
  477. //=======================================================================================
  478. // Lib Include
  479. //---------------------------------------------------------------------------------------
  480. include "com_commonxp::comm_main.xjs";
  481. include "ast_examcurexp::AEZ0001.xjs";
  482. //=======================================================================================
  483. // Global Form Variable
  484. //---------------------------------------------------------------------------------------
  485. var arErrorCode = new HashArray();
  486. var gSuppdeptcd = "";
  487. //=======================================================================================
  488. // Function
  489. //---------------------------------------------------------------------------------------
  490. /****************************************************************************************
  491. * Argument : N/A
  492. * Description :
  493. ****************************************************************************************/
  494. //=======================================================================================
  495. // Event
  496. //---------------------------------------------------------------------------------------
  497. /****************************************************************************************
  498. * Components : Form
  499. * Components ID : SMAEA04300
  500. * Event : oninit
  501. * Argument : 01.obj : Object Event has occurred
  502. * : 02.e : Event Object
  503. * Description : 화면 처음 초기화시 폼초기화
  504. ****************************************************************************************/
  505. function SMAEA04300_oninit(obj:Form, e:InitEventInfo)
  506. {
  507. frmf_initForm(obj); // 폼 초기화
  508. }
  509. /****************************************************************************************
  510. * Components : Form
  511. * Components ID : SMAEA04300
  512. * Event : onload
  513. * Argument : 01.obj : Object Event has occurred
  514. * : 02.e : Event Object
  515. * Description : 화면 처음 초기화시 폼초기화
  516. ****************************************************************************************/
  517. function SMAEA04300_onload(obj:Form, e:LoadEventInfo)
  518. {
  519. lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
  520. gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
  521. // CDIS 연동체크 활성화
  522. switch1.tabindex = 2;
  523. switch1.case2.group6.ipt_date1.value = utlf_getCurrentDate();
  524. //진료과리스트 - 외래간호메인의 진료과 기준으로 세팅 -> 2008-02-11
  525. var instcd = sysf_getUserInfo("dutplceinstcd");
  526. var standard_yn = "rcptuseyn";
  527. var ord_deptflag = 'X';
  528. var rslt_ref = "ds_init_deptlist_dept";
  529. var sort_field = "depthngnm";
  530. var sort_method = "asc";
  531. // zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method); //진료과리스트조회
  532. appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, "", "", "", rslt_ref, true, "");
  533. //처방상태 공통코드 갖고오기
  534. var arrParam = [{dsNm: "ds_init_M0011", cdGrpId: "M0011"}] ///root/init/baseinfo/initexecprcpstatcd
  535. appf_getCodeList(arrParam);
  536. // 수행부서 코드 가져오기
  537. dsf_createDsRow("ds_req", [{col:"instance1", type:"STRING", size:256, val:gSuppdeptcd}]);
  538. var oParam = {};
  539. oParam.id = "TRAEB00205";
  540. oParam.service = "examcurebaseapp.ComCode";
  541. oParam.method = "reqGetPrcpExecDeptCdList";
  542. oParam.inds = "req=ds_req";
  543. oParam.outds = "ds_init_dept_info_initprcpexecdeptcd=item";
  544. oParam.async = false;
  545. //oParam.callback = "cf_TRAEB00205";
  546. tranf_submit(oParam);
  547. switch1.case2.group6.combo1.value = gSuppdeptcd;
  548. // 지원부서 가져오기
  549. dsf_createDsRow("ds_reqparam", [
  550. {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
  551. , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
  552. , {col:"ebasecdflag", type:"STRING", size:256, val:"E"}
  553. , {col:"instcd", type:"STRING", size:256, val:""}
  554. , {col:"initflag", type:"STRING", size:256, val:"1"}
  555. , {col:"alladdyn", type:"STRING", size:256, val:""}
  556. ]);
  557. var oParam = {};
  558. oParam.id = "TRAEA01301";
  559. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  560. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  561. oParam.inds = "reqparam=ds_reqparam";
  562. oParam.outds = "ds_init_cmb_info_initexecroom=initexcuroom ds_init_cmb_info_suppdept=suppdept";
  563. oParam.async = false;
  564. oParam.callback = "cf_TRAEA01301";
  565. tranf_submit(oParam);
  566. // sortNodeList("/root/init/cmb_info/suppdept", "depthngnm", "asc");
  567. ds_init_cmb_info_suppdept.keystring = "S:depthngnm";
  568. switch1.case1.group5.cmb_deptcd.index = -1;
  569. //기능검사에서 호출한지 확인하여 조회기준 제한두기
  570. //사용할때는 common.js 파일이 필요
  571. if (frmf_checkOpener()) { //opener 검사
  572. var param = opener.frmf_getParameter("opener_parameter_id"); //opener parameter value를 get
  573. if(param == "OldOrder") { // opener parameter value가 있는 경우
  574. switch1.case3.group2.button87.enable = false;
  575. switch1.case3.group2.but_oldOrder.visible = true;
  576. // CDIS 선택박스 보여주기, update 컬럼은 숨김
  577. switch1.case3.grd_cdislist.setFormatColProperty(1,"size",35);
  578. switch1.case3.grd_cdislist.setFormatColProperty(2,"size",0);
  579. ds_send.setColumn(0,"gb",param);
  580. }
  581. }
  582. grdf_setGridSort(switch1.case3.grd_cdislist); // 그리드 소트만
  583. grdf_setRowTypeIcon(switch1.case3.grd_cdislist, 2);
  584. }
  585. function cf_TRAEA01301(sSvcId, nErrorCode, sErrorMsg) {
  586. if(nErrorCode < 0) return;
  587. ds_init_cmb_info_initexecroom.updateColID("basecd","excuroomcdid");
  588. ds_init_cmb_info_initexecroom.updateColID("basecdflagdesc","excuroomcdnm");
  589. ds_init_cmb_info_suppdept.updateColID("wardroomcdid","execwardcdid");
  590. ds_init_cmb_info_suppdept.updateColID("wardroomcdnm","execwardcdnm");
  591. }
  592. function switch1_case3_group2_input2_onkeydown(obj:Edit, e:KeyEventInfo)
  593. {
  594. // if( btn_patprcplist.selected == true ) {
  595. // inputEnterKey("btn_sea","DOMActivate");
  596. // }
  597. // if( btn_cdis.selected == true ) {
  598. // inputEnterKey("btn_sea2","DOMActivate");
  599. // }
  600. if(e.keycode == 13) {
  601. obj.updateToDataset();
  602. switch1_case3_group2_btn_sea2_onclick();
  603. }
  604. }
  605. /****************************************************************************************
  606. * Components : Button
  607. * Components ID : switch1.case3.group2.btn_sea2
  608. * Event : onclick
  609. * Argument : 01.obj : Object Event has occurred
  610. * : 02.e : Event Object
  611. * Description : CDIS연동 조회
  612. ****************************************************************************************/
  613. function switch1_case3_group2_btn_sea2_onclick(obj:Button, e:ClickEventInfo)
  614. {
  615. if( utlf_isNull(ds_send.getColumn(0,"pid")) ) {
  616. sysf_messageBox("등록번호를 ", "C001");
  617. return;
  618. }else {
  619. call_TRAEA04305();
  620. // 조회 후에 과거처방 대상자 조회시 선택버튼 숨김기능 풀어주기 위해( 최초 풀어주지만 조회시 다시 숨겨짐)
  621. var tmp = ds_send.getColumn(0,"gb");
  622. if(tmp == "OldOrder") { // opener parameter value가 있는 경우
  623. // CDIS 선택박스 보여주기
  624. switch1.case3.grd_cdislist.setFormatColProperty(1,"size",35);
  625. }
  626. }
  627. }
  628. function call_TRAEA04305() {
  629. dsf_createDsRow("ds_reqparam", [
  630. {col:"pid", type:"STRING", size:256, val:ds_send.getColumn(0,"pid")}
  631. , {col:"prcpdd", type:"STRING", size:256, val:ds_send.getColumn(0,"prcpdd")}
  632. , {col:"execprcpuniqno", type:"INT", size:256, val:""}
  633. , {col:"gb", type:"STRING", size:256, val:ds_send.getColumn(0,"gb")}
  634. ]);
  635. var oParam = {};
  636. oParam.id = "TRAEA04305";
  637. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  638. oParam.method = "reqGetCDISInfoList";
  639. oParam.inds = "reqparam=ds_reqparam";
  640. oParam.outds = "ds_main_cdisinfolist_cdislist=cdislist";
  641. oParam.async = false;
  642. oParam.callback = "cf_TRAEA04305";
  643. tranf_submit(oParam);
  644. }
  645. function cf_TRAEA04305(sSvcId, nErrorCode, sErrorMsg) {
  646. if(nErrorCode < 0) return;
  647. dsf_setFixVal(oDataset, "check:N");
  648. }
  649. /****************************************************************************************
  650. * Components : Button
  651. * Components ID : switch1.case3.group2.btn_request
  652. * Event : onclick
  653. * Argument : 01.obj : Object Event has occurred
  654. * : 02.e : Event Object
  655. * Description : 위수탁실시완료(서브밋 존재하지 않음. 숨김처리)
  656. ****************************************************************************************/
  657. function switch1_case3_group2_btn_request_onclick(obj:Button, e:ClickEventInfo)
  658. {
  659. submit("TXAEA04307");
  660. }
  661. /****************************************************************************************
  662. * Components : Button
  663. * Components ID : switch1.case3.group2.button87
  664. * Event : onclick
  665. * Argument : 01.obj : Object Event has occurred
  666. * : 02.e : Event Object
  667. * Description : 장비기준자료 입력
  668. ****************************************************************************************/
  669. function switch1_case3_group2_button87_onclick(obj:Button, e:ClickEventInfo)
  670. {
  671. dsf_createDsRow("ds_reqparam", [{col:"instance1", type:"STRING", size:256, val:gSuppdeptcd}]);
  672. var oParam = {};
  673. oParam.id = "TXAEA04302";
  674. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  675. oParam.method = "reqCDISCdInfo";
  676. oParam.inds = "reqparam=ds_reqparam";
  677. oParam.outds = "ds_temp=item";
  678. oParam.async = true;
  679. //oParam.callback = "cf_TXAEA04302";
  680. tranf_submit(oParam);
  681. }
  682. /****************************************************************************************
  683. * Components : Button
  684. * Components ID : switch1.case3.grd_cdislist
  685. * Event : oncellclick
  686. * Argument : 01.obj : Object Event has occurred
  687. * : 02.e : Event Object
  688. * Description : 그리드 선택시 체크입력
  689. ****************************************************************************************/
  690. function switch1_case3_grd_cdislist_oncellclick(obj:Grid, e:GridClickEventInfo)
  691. {
  692. var selectedRows = grdf_getSelectedRows(obj);
  693. for (var i= 0; i < obj.rowcount; i++){
  694. ds_main_cdisinfolist_cdislist.setColumn(i, "check", "N");
  695. }
  696. for (var i= 0; i < selectedRows.length; i++){
  697. ds_main_cdisinfolist_cdislist.setColumn(selectedRows[i], "check", "Y");
  698. }
  699. }
  700. /****************************************************************************************
  701. * Components : Dataset
  702. * Components ID : ds_main_cdisinfolist_cdislist
  703. * Event : oncolumnchanged
  704. * Argument : 01.obj : Object Event has occurred
  705. * : 02.e : Event Object
  706. * Description :
  707. ****************************************************************************************/
  708. function ds_main_cdisinfolist_cdislist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  709. {
  710. if(e.columnid=="check") {
  711. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  712. }
  713. }
  714. /****************************************************************************************
  715. * Components : Combo
  716. * Components ID : switch1.case2.group6.combo1
  717. * Event : onitemchanged
  718. * Argument : 01.obj : Object Event has occurred
  719. * : 02.e : Event Object
  720. * Description : 처방수행부서 변경
  721. ****************************************************************************************/
  722. function switch1_case2_group6_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  723. {
  724. gSuppdeptcd = e.postvalue;
  725. for (var i = 0; i < datagrid1.rows; i++){
  726. if (ds_main_prcpinfolist_prcplist.getColumn(i,"check") == "Y"){
  727. ds_main_prcpinfolist_prcplist.setColumn(i,"prcpexecdeptcd", e.postvalue);
  728. }
  729. }
  730. }
  731. /****************************************************************************************
  732. * Components : Button
  733. * Components ID : switch1.case2.group6_btn_sea
  734. * Event : oncellclick
  735. * Argument : 01.obj : Object Event has occurred
  736. * : 02.e : Event Object
  737. * Description : 환자별 처방정보조회
  738. ****************************************************************************************/
  739. function switch1_case2_group6_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  740. {
  741. if( utlf_isNull(ds_send.getColumn(0,"pid")) ) {
  742. sysf_messageBox("등록번호를 ", "C001");
  743. return;
  744. }else {
  745. var oParam = {};
  746. oParam.id = "TRAEA04302";
  747. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  748. oParam.method = "reqGetPrcpInfoList";
  749. oParam.inds = "reqparam=ds_send";
  750. oParam.outds = "ds_main_prcpinfolist_prcplist=prcplist";
  751. oParam.async = false;
  752. oParam.callback = "cf_TRAEA04302";
  753. tranf_submit(oParam);
  754. }
  755. }
  756. function cf_TRAEA04302(sSvcId, nErrorCode, sErrorMsg) {
  757. if(nErrorCode < 0) return;
  758. ds_main_prcpinfolist_prcplist.updatecontrol = false;
  759. dsf_setFixVal(ds_main_prcpinfolist_prcplist, "check:N");
  760. ds_main_prcpinfolist_prcplist.updatecontrol = true;
  761. }
  762. /****************************************************************************************
  763. * Components : Button
  764. * Components ID : switch1.case2.group6.input1
  765. * Event : onkeydown
  766. * Argument : 01.obj : Object Event has occurred
  767. * : 02.e : Event Object
  768. * Description : 등록번호 입력 후 조회
  769. ****************************************************************************************/
  770. function switch1_case2_group6_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  771. {
  772. if(e.keycode == 13) {
  773. obj.updateToDataset();
  774. switch1_case2_group6_btn_sea_onclick();
  775. }
  776. }
  777. /****************************************************************************************
  778. * Components : Dataset
  779. * Components ID : ds_main_prcpinfolist_prcplist
  780. * Event : oncolumnchanged
  781. * Argument : 01.obj : Object Event has occurred
  782. * : 02.e : Event Object
  783. * Description : 체크 선택시 수행부서 정보 SET
  784. ****************************************************************************************/
  785. function ds_main_prcpinfolist_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  786. {
  787. if(e.columnid=="check") {
  788. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  789. if(e.newvalue=="Y"||e.newvalue==1) {
  790. obj.setColumn(e.row,"prcpexecdeptcd", gSuppdeptcd);
  791. }
  792. }
  793. }
  794. /****************************************************************************************
  795. * Components : Button
  796. * Components ID : switch1.case2.btn_save
  797. * Event : onclick
  798. * Argument : 01.obj : Object Event has occurred
  799. * : 02.e : Event Object
  800. * Description : 저장
  801. ****************************************************************************************/
  802. function switch1_case2_btn_save_onclick(obj:Button, e:ClickEventInfo)
  803. {
  804. dsf_createDs("ds_nodeList");
  805. ds_main_prcpinfolist_prcplist.filter("check=='Y'");
  806. ds_nodeList.copyData(ds_main_prcpinfolist_prcplist,true);
  807. ds_main_prcpinfolist_prcplist.filter("");
  808. if(ds_nodeList.rowcount == 0) {
  809. sysf_messageBox("처방내역을 ","C002");
  810. return "0";
  811. }
  812. // ds_send.setColumn(0,"prcplist", rCSV);
  813. var oParam = {};
  814. oParam.id = "TXAEA04301";
  815. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  816. oParam.method = "reqExePrcpInfoList";
  817. oParam.inds = "prcplist=ds_nodeList";
  818. oParam.outds = "ds_temp=item";
  819. oParam.async = false;
  820. oParam.callback = "cf_TXAEA04301";
  821. tranf_submit(oParam);
  822. if (arErrorCode.pop("TXAEA04301") > -1){
  823. // submit("TRAEA04302");
  824. switch1_case2_group6_btn_sea_onclick();
  825. }
  826. }
  827. function cf_TXAEA04301(sSvcId, nErrorCode, sErrorMsg) {
  828. arErrorCode.push(sSvcId, nErrorCode);
  829. }
  830. /****************************************************************************************
  831. * Components : Combo
  832. * Components ID : switch1.case1.group4.cmb_orddeptcd
  833. * Event : onitemchanged
  834. * Argument : 01.obj : Object Event has occurred
  835. * : 02.e : Event Object
  836. * Description : 진료과변경시 조회
  837. ****************************************************************************************/
  838. function switch1_case1_group4_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  839. {
  840. var oParam = {};
  841. oParam.id = "TRAEA04303";
  842. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  843. oParam.method = "reqGetPrecureInfoList";
  844. oParam.inds = "reqparam=ds_send";
  845. oParam.outds = "ds_main_precureinfolist_precurelist=precurelist";
  846. oParam.async = true;
  847. //oParam.callback = "cf_TRAEA04303";
  848. tranf_submit(oParam);
  849. }
  850. /****************************************************************************************
  851. * Components : Combo
  852. * Components ID : switch1.case1.group5.cmb_deptcd
  853. * Event : onitemchanged
  854. * Argument : 01.obj : Object Event has occurred
  855. * : 02.e : Event Object
  856. * Description : 지원부서변경시 조회
  857. ****************************************************************************************/
  858. function switch1_case1_group5_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  859. {
  860. gSuppdeptcd = ds_send.getColumn(0,"suppdeptcd");
  861. dsf_createDsRow("ds_reqparam", [
  862. {col:"basesuppdeptcd", type:"STRING", size:256, val:ds_send.getColumn(0,"suppdeptcd")}
  863. , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
  864. ]);
  865. var oParam = {};
  866. oParam.id = "TRAEA04304";
  867. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  868. oParam.method = "reqGetInitExcuroomcdInfoList";
  869. oParam.inds = "reqparam=ds_reqparam";
  870. oParam.outds = "ds_init_excuroom_info_initexecroom=initexcuroom";
  871. oParam.async = false;
  872. oParam.callback = "cf_TRAEA04304";
  873. tranf_submit(oParam);
  874. ds_send.setColumn(0,"excuroomcd", "");
  875. var oParam = {};
  876. oParam.id = "TRAEA04301";
  877. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  878. oParam.method = "reqGetExcuCdInfoList";
  879. oParam.inds = "reqparam=ds_send";
  880. oParam.outds = "ds_main_excucdinfolist_excucdlist=excucdlist";
  881. oParam.async = true;
  882. //oParam.callback = "cf_TRAEA04301";
  883. tranf_submit(oParam);
  884. }
  885. function cf_TRAEA01301(sSvcId, nErrorCode, sErrorMsg) {
  886. if(nErrorCode < 0) return;
  887. ds_init_excuroom_info_initexecroom.updateColID("basecd","excuroomcdid");
  888. ds_init_excuroom_info_initexecroom.updateColID("basecdflagdesc","excuroomcdnm");
  889. }
  890. /****************************************************************************************
  891. * Components : Combo
  892. * Components ID : switch1.case1.group5.cmb_excuroom
  893. * Event : onitemchanged
  894. * Argument : 01.obj : Object Event has occurred
  895. * : 02.e : Event Object
  896. * Description : 검사실변경시 조회
  897. ****************************************************************************************/
  898. function switch1_case1_group5_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  899. {
  900. var oParam = {};
  901. oParam.id = "TRAEA04301";
  902. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  903. oParam.method = "reqGetExcuCdInfoList";
  904. oParam.inds = "reqparam=ds_send";
  905. oParam.outds = "ds_main_excucdinfolist_excucdlist=excucdlist";
  906. oParam.async = true;
  907. //oParam.callback = "cf_TRAEA04301";
  908. tranf_submit(oParam);
  909. }]]></Script>
  910. </Form>
  911. </FDL>