SPADB61000_임상시험약품검색.xfdl 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPADB61000" position="absolute 0 0 810 664" titletext="Untitle" oninit="SPADB61000_oninit" onload="SPADB61000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="임상시험약품검색" position="absolute 0 96 177 113" id="caption7" class="tit_2"/>
  8. <Shape position="absolute 0 112 809 118" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  9. <Tab position="absolute 0 119 809 624" id="switch1" class="tab_Normal">
  10. <Tabpages>
  11. <Tabpage text="" id="case1">
  12. <Layouts>
  13. <Layout>
  14. <Grid position="absolute 0 7 809 492" id="grd_druglist1" binddataset="ds_main_druglist_item" cellsizingtype="col" extendsizetype="row" autosizingtype="row" oncelldblclick="switch1_case1_grd_druglist1_oncelldblclick">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="25"/>
  19. <Column size="90"/>
  20. <Column size="131"/>
  21. <Column size="183"/>
  22. <Column size="196"/>
  23. <Column size="62"/>
  24. <Column size="75"/>
  25. <Column size="62"/>
  26. <Column size="63"/>
  27. <Column size="66"/>
  28. <Column size="56"/>
  29. <Column size="52"/>
  30. <Column size="100"/>
  31. <Column size="100"/>
  32. </Columns>
  33. <Rows>
  34. <Row size="24" band="head"/>
  35. <Row size="24"/>
  36. </Rows>
  37. <Band id="head">
  38. <Cell/>
  39. <Cell col="1" text="약품코드"/>
  40. <Cell col="2" text="성분명"/>
  41. <Cell col="3" text="한글상품명"/>
  42. <Cell col="4" text="영문상품명"/>
  43. <Cell col="5" text="과제번호"/>
  44. <Cell col="6" text="시험책임자"/>
  45. <Cell col="7" text="의뢰자"/>
  46. <Cell col="8" text="임상단계"/>
  47. <Cell col="9" text="맹검구분"/>
  48. <Cell col="10" text="분류"/>
  49. <Cell col="11" text="효능"/>
  50. <Cell col="12" text="수가생성일"/>
  51. <Cell col="13" text="종결일"/>
  52. </Band>
  53. <Band id="body">
  54. <Cell celltype="head" text="expr:currow == ds_main_druglist_item.rowposition ? &quot;▶&quot; : &quot;&quot;"/>
  55. <Cell col="1" style="align:left;padding:2 2 2 2;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
  56. <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:ordnm" wordwrap="char" autosizerow="limitmin"/>
  57. <Cell col="3" style="align:left;padding:2 2 2 2;" text="bind:hngnm" wordwrap="char" autosizerow="limitmin"/>
  58. <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:engnm" wordwrap="char" autosizerow="limitmin"/>
  59. <Cell col="5" style="align:left;padding:2 2 2 2;" text="bind:subjid" wordwrap="char" autosizerow="limitmin"/>
  60. <Cell col="6" style="align:left;padding:2 2 2 2;" text="bind:respstdynm" wordwrap="char" autosizerow="limitmin"/>
  61. <Cell col="7" style="align:left;padding:2 2 2 2;" text="bind:reqnm" wordwrap="char" autosizerow="limitmin"/>
  62. <Cell col="8" style="align:left;padding:2 2 2 2;" text="bind:clincflag" wordwrap="char" autosizerow="limitmin"/>
  63. <Cell col="9" style="align:left;padding:2 2 2 2;" text="bind:blntestcls" wordwrap="char" autosizerow="limitmin"/>
  64. <Cell col="10" style="align:left;padding:2 2 2 2;" text="bind:kindcls" wordwrap="char" autosizerow="limitmin"/>
  65. <Cell col="11" style="align:left;padding:2 2 2 2;" text="bind:efcycd" wordwrap="char" autosizerow="limitmin"/>
  66. <Cell col="12" displaytype="date" text="bind:calcscorreqdt"/>
  67. <Cell col="13" displaytype="date" text="bind:subjenddd"/>
  68. </Band>
  69. </Format>
  70. </Formats>
  71. </Grid>
  72. </Layout>
  73. </Layouts>
  74. </Tabpage>
  75. <Tabpage text="" id="case2">
  76. <Layouts>
  77. <Layout>
  78. <Grid position="absolute 0 5 240 490" id="grd_comlist" binddataset="ds_main_comlist_item" extendsizetype="row" autosizingtype="row" treeuseimage="false" treeusecheckbox="false" scrollpixel="all" autofittype="col" selecttype="treecell" oncelldblclick="switch1_case2_grd_comlist_oncelldblclick">
  79. <Formats>
  80. <Format id="default">
  81. <Columns>
  82. <Column size="0"/>
  83. <Column size="25"/>
  84. <Column size="216"/>
  85. <Column size="0"/>
  86. </Columns>
  87. <Rows>
  88. <Row size="24" band="head"/>
  89. <Row size="24"/>
  90. </Rows>
  91. <Band id="head">
  92. <Cell text="코드"/>
  93. <Cell col="1"/>
  94. <Cell col="2" text="명 칭"/>
  95. <Cell col="3" text="레벨"/>
  96. </Band>
  97. <Band id="body">
  98. <Cell text="bind:comcd"/>
  99. <Cell col="1" celltype="head" text="expr:currow == ds_main_comlist_item.rowposition ? &quot;▶&quot; : &quot;&quot;"/>
  100. <Cell col="2" displaytype="tree" edittype="tree" style="align:left;padding:2 2 2 2;" text="bind:comnm" wordwrap="char" treelevel="bind:comlevel" autosizerow="limitmin"/>
  101. <Cell col="3" text="bind:comlevel"/>
  102. </Band>
  103. </Format>
  104. </Formats>
  105. </Grid>
  106. <Grid position="absolute 246 5 809 490" id="grd_druglist2" binddataset="ds_main_druglist_item" cellsizingtype="col" autofittype="col" extendsizetype="row" autosizingtype="row" oncelldblclick="switch1_case2_grd_druglist2_oncelldblclick">
  107. <Formats>
  108. <Format id="default">
  109. <Columns>
  110. <Column size="25"/>
  111. <Column size="100"/>
  112. <Column size="420"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. </Columns>
  116. <Rows>
  117. <Row size="24" band="head"/>
  118. <Row size="24"/>
  119. </Rows>
  120. <Band id="head">
  121. <Cell/>
  122. <Cell col="1" text="약품코드"/>
  123. <Cell col="2" text="처방명칭"/>
  124. <Cell col="3"/>
  125. <Cell col="4"/>
  126. </Band>
  127. <Band id="body">
  128. <Cell celltype="head" text="expr:currow == ds_main_druglist_item.rowposition ? &quot;▶&quot; : &quot;&quot;"/>
  129. <Cell col="1" style="align:left;padding:2 2 2 2;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
  130. <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:ordnm" wordwrap="char" autosizerow="limitmin"/>
  131. <Cell col="3" text="bind:hngnm"/>
  132. <Cell col="4" text="bind:druginfo"/>
  133. </Band>
  134. </Format>
  135. </Formats>
  136. </Grid>
  137. </Layout>
  138. </Layouts>
  139. </Tabpage>
  140. <Tabpage text="" id="case3">
  141. <Layouts>
  142. <Layout>
  143. <Grid position="absolute 0 5 240 490" id="grd_efcylist" binddataset="ds_main_efcylist_item" autofittype="col" treeuseimage="false" treeusecheckbox="false" autosizingtype="row" extendsizetype="row" oncelldblclick="switch1_case3_grd_efcylist_oncelldblclick">
  144. <Formats>
  145. <Format id="default">
  146. <Columns>
  147. <Column size="0"/>
  148. <Column size="212"/>
  149. <Column size="0"/>
  150. </Columns>
  151. <Rows>
  152. <Row size="24" band="head"/>
  153. <Row size="24"/>
  154. </Rows>
  155. <Band id="head">
  156. <Cell text="코드"/>
  157. <Cell col="1" text="효능명칭"/>
  158. <Cell col="2" text="레벨"/>
  159. </Band>
  160. <Band id="body">
  161. <Cell text="bind:efcycd"/>
  162. <Cell col="1" displaytype="tree" edittype="tree" style="align:left;padding:2 2 2 2;" text="bind:efcynm" treelevel="bind:efcylevel" autosizerow="limitmin"/>
  163. <Cell col="2" text="bind:efcylevel"/>
  164. </Band>
  165. </Format>
  166. </Formats>
  167. </Grid>
  168. <Grid position="absolute 246 5 809 490" id="grd_druglist3" binddataset="ds_main_druglist_item" autofittype="col" autosizingtype="row" extendsizetype="row" cellsizingtype="col" oncelldblclick="switch1_case3_grd_druglist3_oncelldblclick">
  169. <Formats>
  170. <Format id="default">
  171. <Columns>
  172. <Column size="25"/>
  173. <Column size="100"/>
  174. <Column size="421"/>
  175. <Column size="0"/>
  176. <Column size="0"/>
  177. </Columns>
  178. <Rows>
  179. <Row size="24" band="head"/>
  180. <Row size="24"/>
  181. </Rows>
  182. <Band id="head">
  183. <Cell/>
  184. <Cell col="1" text="약품코드"/>
  185. <Cell col="2" text="처방명칭"/>
  186. <Cell col="3"/>
  187. <Cell col="4"/>
  188. </Band>
  189. <Band id="body">
  190. <Cell celltype="head" text="expr:currow == ds_main_druglist_item.rowposition ? &quot;▶&quot; : &quot;&quot;"/>
  191. <Cell col="1" style="align:left;padding:2 2 2 2;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
  192. <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:ordnm" wordwrap="char" autosizerow="limitmin"/>
  193. <Cell col="3" text="bind:hngnm"/>
  194. <Cell col="4" text="bind:druginfo"/>
  195. </Band>
  196. </Format>
  197. </Formats>
  198. </Grid>
  199. </Layout>
  200. </Layouts>
  201. </Tabpage>
  202. </Tabpages>
  203. </Tab>
  204. <Button position="absolute 752 633 808 655" id="btn_cls" class="btn4" text="닫기" onclick="btn_cls_onclick"/>
  205. <Tab id="btn_switch" taborder="1" tabindex="0" tabjustify="true" position="absolute 0 117 810 139" onlbuttonup="btn_switch_onlbuttonup">
  206. <Tabpages>
  207. <Tabpage id="button64" text="All"/>
  208. <Tabpage id="button2" text="A"/>
  209. <Tabpage id="button3" text="B"/>
  210. <Tabpage id="button4" text="C"/>
  211. <Tabpage id="button5" text="D"/>
  212. <Tabpage id="button6" text="E"/>
  213. <Tabpage id="button7" text="G"/>
  214. <Tabpage id="button8" text="H"/>
  215. <Tabpage id="button9" text="I"/>
  216. <Tabpage id="button10" text="J"/>
  217. <Tabpage id="button11" text="K"/>
  218. <Tabpage id="button12" text="L"/>
  219. <Tabpage id="button13" text="M"/>
  220. <Tabpage id="button14" text="N"/>
  221. <Tabpage id="button15" text="O"/>
  222. <Tabpage id="button16" text="P"/>
  223. <Tabpage id="button17" text="Q"/>
  224. <Tabpage id="button18" text="R"/>
  225. <Tabpage id="button19" text="S"/>
  226. <Tabpage id="button20" text="T"/>
  227. <Tabpage id="button21" text="U"/>
  228. <Tabpage id="button22" text="V"/>
  229. <Tabpage id="button23" text="W"/>
  230. <Tabpage id="button24" text="X"/>
  231. <Tabpage id="button25" text="Y"/>
  232. <Tabpage id="button26" text="Z"/>
  233. </Tabpages>
  234. </Tab>
  235. <Div id="grp_srch" taborder="2" text="Div00" position="absolute 0 0 809 86" class="div_SA2">
  236. <Layouts>
  237. <Layout>
  238. <Static id="caption3" text="구 분 :" class="search_name" position="absolute 10 10 96 27" anchor="default"/>
  239. <Static id="caption1" text="분 류 :" class="search_name" position="absolute 10 35 96 52" anchor="default"/>
  240. <Static id="caption2" text="종결여부 :" class="search_name" position="absolute 10 60 88 77" anchor="default"/>
  241. <Static id="caption4" text="순서 :" class="search_name" position="absolute 520 10 580 27" anchor="default"/>
  242. <Static id="caption5" text="맹검분류 :" class="search_name" position="absolute 515 35 593 52" anchor="default"/>
  243. <Static id="caption6" text="조회 :" class="search_name" position="absolute 465 60 516 77" anchor="default"/>
  244. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 737 9 743 79" anchor="default"/>
  245. <Radio id="radio2" taborder="1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 91 8 331 28" anchor="default" index="-1" onitemchanged="grp_srch_radio2_onitemchanged">
  246. <Dataset id="innerdataset">
  247. <ColumnInfo>
  248. <Column id="codecolumn"/>
  249. <Column id="datacolumn"/>
  250. </ColumnInfo>
  251. <Rows>
  252. <Row>
  253. <Col id="codecolumn">1</Col>
  254. <Col id="datacolumn">코드별</Col>
  255. </Row>
  256. <Row>
  257. <Col id="codecolumn">2</Col>
  258. <Col id="datacolumn">성분별</Col>
  259. </Row>
  260. <Row>
  261. <Col id="codecolumn">3</Col>
  262. <Col id="datacolumn">효능별</Col>
  263. </Row>
  264. <Row>
  265. <Col id="codecolumn">4</Col>
  266. <Col id="datacolumn">상품명별</Col>
  267. </Row>
  268. </Rows>
  269. </Dataset>
  270. </Radio>
  271. <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 5 27 725 33" anchor="default"/>
  272. <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 5 52 725 58" anchor="default"/>
  273. <Edit id="input1" taborder="3" class="input_search" position="absolute 595 58 730 77" anchor="default" onkeydown="grp_srch_input1_onkeydown"/>
  274. <Combo id="combo1" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 517 58 592 77" anchor="default">
  275. <Dataset id="innerdataset">
  276. <ColumnInfo>
  277. <Column id="codecolumn"/>
  278. <Column id="datacolumn"/>
  279. </ColumnInfo>
  280. <Rows>
  281. <Row>
  282. <Col id="codecolumn">1</Col>
  283. <Col id="datacolumn">코드명</Col>
  284. </Row>
  285. <Row>
  286. <Col id="codecolumn">2</Col>
  287. <Col id="datacolumn">성분명</Col>
  288. </Row>
  289. <Row>
  290. <Col id="codecolumn">3</Col>
  291. <Col id="datacolumn">상품명</Col>
  292. </Row>
  293. </Rows>
  294. </Dataset>
  295. </Combo>
  296. <Combo id="combo2" taborder="5" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" enable="false" position="absolute 92 58 187 77" anchor="default">
  297. <Dataset id="innerdataset">
  298. <ColumnInfo>
  299. <Column id="codecolumn"/>
  300. <Column id="datacolumn"/>
  301. </ColumnInfo>
  302. <Rows>
  303. <Row>
  304. <Col id="codecolumn">1</Col>
  305. <Col id="datacolumn">수가미등록</Col>
  306. </Row>
  307. <Row>
  308. <Col id="codecolumn">2</Col>
  309. <Col id="datacolumn">수가등록</Col>
  310. </Row>
  311. <Row>
  312. <Col id="codecolumn">3</Col>
  313. <Col id="datacolumn">수가종결</Col>
  314. </Row>
  315. <Row>
  316. <Col id="codecolumn">4</Col>
  317. <Col id="datacolumn">전체</Col>
  318. </Row>
  319. </Rows>
  320. </Dataset>
  321. </Combo>
  322. <Combo id="combo3" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 595 33 730 52" anchor="default">
  323. <Dataset id="innerdataset">
  324. <ColumnInfo>
  325. <Column id="codecolumn"/>
  326. <Column id="datacolumn"/>
  327. </ColumnInfo>
  328. <Rows>
  329. <Row>
  330. <Col id="codecolumn"/>
  331. <Col id="datacolumn"/>
  332. </Row>
  333. <Row>
  334. <Col id="codecolumn">1</Col>
  335. <Col id="datacolumn">공개</Col>
  336. </Row>
  337. <Row>
  338. <Col id="codecolumn">2</Col>
  339. <Col id="datacolumn">미공개</Col>
  340. </Row>
  341. <Row>
  342. <Col id="codecolumn">3</Col>
  343. <Col id="datacolumn">단일맹검</Col>
  344. </Row>
  345. <Row>
  346. <Col id="codecolumn">4</Col>
  347. <Col id="datacolumn">이중맹검</Col>
  348. </Row>
  349. <Row>
  350. <Col id="codecolumn">5</Col>
  351. <Col id="datacolumn">처방의맹검</Col>
  352. </Row>
  353. <Row>
  354. <Col id="codecolumn">6</Col>
  355. <Col id="datacolumn">전체</Col>
  356. </Row>
  357. </Rows>
  358. </Dataset>
  359. </Combo>
  360. <Radio id="radio1" taborder="7" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 572 8 732 28" anchor="default">
  361. <Dataset id="innerdataset">
  362. <ColumnInfo>
  363. <Column id="codecolumn"/>
  364. <Column id="datacolumn"/>
  365. </ColumnInfo>
  366. <Rows>
  367. <Row>
  368. <Col id="codecolumn">1</Col>
  369. <Col id="datacolumn">약품코드순</Col>
  370. </Row>
  371. <Row>
  372. <Col id="codecolumn">2</Col>
  373. <Col id="datacolumn">처방명칭순</Col>
  374. </Row>
  375. </Rows>
  376. </Dataset>
  377. </Radio>
  378. <Static id="caption8" text="저장구분 :" class="search_name" position="absolute 340 10 418 27" anchor="default"/>
  379. <Combo id="combo4" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 361 33 496 52" anchor="default">
  380. <Dataset id="innerdataset">
  381. <ColumnInfo>
  382. <Column id="codecolumn"/>
  383. <Column id="datacolumn"/>
  384. </ColumnInfo>
  385. <Rows>
  386. <Row>
  387. <Col id="codecolumn"/>
  388. <Col id="datacolumn"/>
  389. </Row>
  390. <Row>
  391. <Col id="codecolumn">1</Col>
  392. <Col id="datacolumn">허가1</Col>
  393. </Row>
  394. <Row>
  395. <Col id="codecolumn">2</Col>
  396. <Col id="datacolumn">허가2</Col>
  397. </Row>
  398. <Row>
  399. <Col id="codecolumn">3</Col>
  400. <Col id="datacolumn">허가3</Col>
  401. </Row>
  402. <Row>
  403. <Col id="codecolumn">4</Col>
  404. <Col id="datacolumn">연구용</Col>
  405. </Row>
  406. <Row>
  407. <Col id="codecolumn">5</Col>
  408. <Col id="datacolumn">전체</Col>
  409. </Row>
  410. </Rows>
  411. </Dataset>
  412. </Combo>
  413. <Static id="caption9" text="임상단계 :" class="search_name" position="absolute 285 35 363 52" anchor="default"/>
  414. <Static id="caption10" text="기간 :" class="search_name" position="absolute 202 60 251 77" anchor="default"/>
  415. <Calendar id="input5" taborder="10" class="input_search" enable="false" position="absolute 252 58 352 77" anchor="default"/>
  416. <Calendar id="input2" taborder="11" class="input_search" enable="false" position="absolute 355 58 455 77" anchor="default"/>
  417. <Button id="btn_sea" taborder="12" text="조회" class="btn1" position="absolute 746 30 802 52" anchor="default" onclick="grp_srch_btn_sea_onclick"/>
  418. <CheckBox id="chk_drugkindall" taborder="13" class="checkbox_search" position="absolute 232 32 282 52" anchor="default" text="전체" onchanged="grp_srch_chk_drugkindall_onchanged" truevalue="4"/>
  419. <cp_checkboxList id="checkbox1" titletext="checkbox1" taborder="14" text="checkbox1" scrollbars="none" position="absolute 419 7 519 27" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
  420. <cp_checkboxList id="chk_drugkind" titletext="chk_drugkind" taborder="15" text="chk_drugkind" scrollbars="none" position="absolute 92 32 192 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
  421. </Layout>
  422. </Layouts>
  423. </Div>
  424. </Layout>
  425. </Layouts>
  426. <Objects>
  427. <Dataset id="ds_main_druglist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  428. <ColumnInfo>
  429. <Column id="drugcd" type="STRING" size="256"/>
  430. <Column id="ordnm" type="STRING" size="256"/>
  431. <Column id="hngnm" type="STRING" size="256"/>
  432. <Column id="druginfo" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. </Dataset>
  435. <Dataset id="ds_main_comlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  436. <ColumnInfo>
  437. <Column id="comcd" type="STRING" size="256"/>
  438. <Column id="comnm" type="STRING" size="256"/>
  439. <Column id="comlevel" type="STRING" size="256"/>
  440. </ColumnInfo>
  441. </Dataset>
  442. <Dataset id="ds_main_efcylist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  443. <ColumnInfo>
  444. <Column id="efcycd" type="STRING" size="256"/>
  445. <Column id="efcynm" type="STRING" size="256"/>
  446. <Column id="efcylevel" type="STRING" size="256"/>
  447. </ColumnInfo>
  448. </Dataset>
  449. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  450. <ColumnInfo>
  451. <Column id="srchcls" type="STRING" size="256"/>
  452. <Column id="cnfmyn" type="STRING" size="256"/>
  453. <Column id="seqflag" type="STRING" size="256"/>
  454. <Column id="drugkind" type="STRING" size="256"/>
  455. <Column id="drugkindall" type="STRING" size="256"/>
  456. <Column id="spcldrug" type="STRING" size="256"/>
  457. <Column id="efcycd" type="STRING" size="256"/>
  458. <Column id="efcycls" type="STRING" size="256"/>
  459. <Column id="srchflag" type="STRING" size="256"/>
  460. <Column id="srchcnts" type="STRING" size="256"/>
  461. <Column id="srchdrugcd" type="STRING" size="256"/>
  462. <Column id="srchcomcd" type="STRING" size="256"/>
  463. <Column id="srchcomnm" type="STRING" size="256"/>
  464. <Column id="srchefcy" type="STRING" size="256"/>
  465. <Column id="srchetcflag" type="STRING" size="256"/>
  466. <Column id="srchclincflag" type="STRING" size="256"/>
  467. <Column id="blntestclsflag" type="STRING" size="256"/>
  468. <Column id="ctdrugyn" type="STRING" size="256"/>
  469. </ColumnInfo>
  470. <Rows>
  471. <Row>
  472. <Col id="srchcls">1</Col>
  473. <Col id="cnfmyn">Y N</Col>
  474. <Col id="seqflag">1</Col>
  475. <Col id="drugkind">N M Y</Col>
  476. <Col id="drugkindall">4</Col>
  477. <Col id="spcldrug"/>
  478. <Col id="efcycd">-</Col>
  479. <Col id="efcycls"/>
  480. <Col id="srchflag">1</Col>
  481. <Col id="srchcnts"/>
  482. <Col id="srchdrugcd">%</Col>
  483. <Col id="srchcomcd"/>
  484. <Col id="srchcomnm"/>
  485. <Col id="srchefcy"/>
  486. <Col id="srchetcflag">A</Col>
  487. <Col id="srchclincflag"/>
  488. <Col id="blntestclsflag"/>
  489. <Col id="ctdrugyn">Y</Col>
  490. </Row>
  491. </Rows>
  492. </Dataset>
  493. <Dataset id="ds_init_P0096" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  494. <ColumnInfo>
  495. <Column id="cdid" type="STRING" size="256"/>
  496. <Column id="cdnm" type="STRING" size="256"/>
  497. </ColumnInfo>
  498. <Rows>
  499. <Row/>
  500. </Rows>
  501. </Dataset>
  502. <Dataset id="ds_init_A0006" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  503. <ColumnInfo>
  504. <Column id="cdid" type="STRING" size="256"/>
  505. <Column id="cdnm" type="STRING" size="256"/>
  506. </ColumnInfo>
  507. <Rows>
  508. <Row/>
  509. </Rows>
  510. </Dataset>
  511. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  512. <Dataset id="ds_temp_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  513. <ColumnInfo>
  514. <Column id="receiveref" type="STRING" size="256"/>
  515. <Column id="srchflag" type="STRING" size="256"/>
  516. <Column id="srchcnts" type="STRING" size="256"/>
  517. <Column id="drugkind" type="STRING" size="256"/>
  518. </ColumnInfo>
  519. <Rows>
  520. <Row>
  521. <Col id="receiveref"/>
  522. <Col id="srchflag"/>
  523. <Col id="srchcnts"/>
  524. <Col id="drugkind"/>
  525. </Row>
  526. </Rows>
  527. </Dataset>
  528. <Dataset id="ds_chk_drugkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  529. <ColumnInfo>
  530. <Column id="label" type="STRING" size="256"/>
  531. <Column id="value" type="STRING" size="256"/>
  532. </ColumnInfo>
  533. <Rows>
  534. <Row>
  535. <Col id="label">내복</Col>
  536. <Col id="value">N</Col>
  537. </Row>
  538. <Row>
  539. <Col id="label">주사</Col>
  540. <Col id="value">M</Col>
  541. </Row>
  542. <Row>
  543. <Col id="label">외용</Col>
  544. <Col id="value">Y</Col>
  545. </Row>
  546. </Rows>
  547. </Dataset>
  548. <Dataset id="ds_checkbox1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  549. <ColumnInfo>
  550. <Column id="label" type="STRING" size="256"/>
  551. <Column id="value" type="STRING" size="256"/>
  552. </ColumnInfo>
  553. <Rows>
  554. <Row>
  555. <Col id="label">확정</Col>
  556. <Col id="value">Y</Col>
  557. </Row>
  558. <Row>
  559. <Col id="label">임시</Col>
  560. <Col id="value">N</Col>
  561. </Row>
  562. </Rows>
  563. </Dataset>
  564. </Objects>
  565. <Bind>
  566. <BindItem id="item0" compid="grp_srch.radio2" propid="value" datasetid="ds_send" columnid="srchcls"/>
  567. <BindItem id="item1" compid="grp_srch.radio1" propid="value" datasetid="ds_send" columnid="seqflag"/>
  568. <BindItem id="item2" compid="grp_srch.combo3" propid="value" datasetid="ds_send" columnid="blntestclsflag"/>
  569. <BindItem id="item3" compid="grp_srch.input1" propid="value" datasetid="ds_send" columnid="srchcnts"/>
  570. <BindItem id="item4" compid="grp_srch.combo1" propid="value" datasetid="ds_send" columnid="srchflag"/>
  571. <BindItem id="item5" compid="grp_srch.combo4" propid="value" datasetid="ds_send" columnid="srchclincflag"/>
  572. <BindItem id="item8" compid="grp_srch.chk_drugkindall" propid="value" datasetid="ds_send" columnid="drugkindall"/>
  573. <BindItem id="item9" compid="grp_srch.combo2" propid="value" datasetid="ds_send" columnid=""/>
  574. </Bind>
  575. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  576. * System Name :
  577. * Job Name :
  578. * Creator :
  579. * Make Date : 2015-11-13
  580. * Description :
  581. *---------------------------------------------------------------------------------------
  582. * Modify Date Modifier Modify Description
  583. *---------------------------------------------------------------------------------------
  584. * 2015-11-13 Live Converter TF->XP
  585. *
  586. *---------------------------------------------------------------------------------------
  587. ****************************************************************************************/
  588. //=======================================================================================
  589. // Lib Include
  590. //---------------------------------------------------------------------------------------
  591. include "com_commonxp::comm_main.xjs"
  592. //=======================================================================================
  593. // Global Form Variable
  594. //---------------------------------------------------------------------------------------
  595. var arErrorCode = new HashArray();
  596. //=======================================================================================
  597. // Function
  598. //---------------------------------------------------------------------------------------
  599. /****************************************************************************************
  600. * Argument : N/A
  601. * Description : 멀티체크박스 선택시 이벤트 함수
  602. ****************************************************************************************/
  603. function fn_checkbox1() {
  604. ds_send.setColumn(0,"cnfmyn" ,String(grp_srch.checkbox1.getData()).replace(","," "));
  605. }
  606. function fn_chk_drugkind() {
  607. ds_send.setColumn(0,"drugkind",String(grp_srch.chk_drugkind.getData()).replace(","," "));
  608. }
  609. /****************************************************************************************
  610. * Argument : N/A
  611. * Description : 약품 조회
  612. ****************************************************************************************/
  613. function call_TRADB60101() {
  614. var oParam = {};
  615. oParam.id = "TRADB60101";
  616. oParam.service = "pharmacybaseapp.DrugCode";
  617. oParam.method = "reqGetDrugCodeList";
  618. oParam.inds = "req=ds_send";
  619. oParam.outds = "ds_main_druglist_item=item";
  620. oParam.async = false;
  621. //oParam.callback = "cf_TRADB60101";
  622. tranf_submit(oParam);
  623. }
  624. /****************************************************************************************
  625. * Argument : N/A
  626. * Description : opener에 정보 전달
  627. ****************************************************************************************/
  628. function lf_gridDbClick() {
  629. var receiveref = ds_temp_receivedata.getColumn(0,"receiveref");
  630. // opener 에서 TF 에선 xpath를 다 보내줬지만 XP에선 불가. DS 따로 cd나 nm을 받을 컬럼을 따로 구분하여 호출해야한다.
  631. var drugcd = ds_temp_receivedata.getColumn(0,"receivedrugcd");
  632. var drugnm = ds_temp_receivedata.getColumn(0,"receivedrugnm");
  633. if(utlf_isNull(receiveref)) receiveref = "ds_temp_receivedata";
  634. if(utlf_isNull(drugcd)) drugcd = "drugcd";
  635. if(utlf_isNull(drugnm)) drugnm = "drugnm";
  636. if(frmf_checkOpener()) {
  637. dsf_makeValue(opener.objects[receiveref],drugcd,"string",ds_main_druglist_item.getColumn(ds_main_druglist_item.rowposition,"drugcd"));
  638. dsf_makeValue(opener.objects[receiveref],drugnm,"string",ds_main_druglist_item.getColumn(ds_main_druglist_item.rowposition,"hngnm"));
  639. this.close();
  640. } else {
  641. sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수 없습니다.","E");
  642. }
  643. }
  644. //=======================================================================================
  645. // Event
  646. //---------------------------------------------------------------------------------------
  647. /****************************************************************************************
  648. * Components : Form
  649. * Components ID : SPADB61000
  650. * Event : oninit
  651. * Argument : 01.obj : Object Event has occurred
  652. * : 02.e : Event Object
  653. * Description : 화면 처음 초기화시 폼초기화
  654. ****************************************************************************************/
  655. function SPADB61000_oninit(obj:Form, e:InitEventInfo)
  656. {
  657. frmf_initForm(obj); // 폼 초기화
  658. }
  659. /****************************************************************************************
  660. * Components : Form
  661. * Components ID : SPADB61000
  662. * Event : onload
  663. * Argument : 01.obj : Object Event has occurred
  664. * : 02.e : Event Object
  665. * Description : 화면 처음 초기화시 폼초기화
  666. ****************************************************************************************/
  667. function SPADB61000_onload(obj:Form, e:LoadEventInfo)
  668. {
  669. try{
  670. ds_temp_receivedata.copyData(arg_ds_temp_receivedata);
  671. }catch(e){}
  672. var sProp_2_1 = "col=2,row=1,cellspacing=1,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  673. var sProp_3_1 = "col=3,row=1,cellspacing=1,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  674. grp_srch.checkbox1.setInitComp(sProp_2_1,ds_checkbox1,"value","label","fn_checkbox1");
  675. grp_srch.chk_drugkind.setInitComp(sProp_3_1,ds_chk_drugkind,"value","label","fn_chk_drugkind");
  676. grp_srch.checkbox1.setData(utlf_transNullToEmpty(ds_send.getColumn(0,"cnfmyn")).split(" "),null,false);
  677. grp_srch.chk_drugkind.setData(utlf_transNullToEmpty(ds_send.getColumn(0,"drugkind")).split(" "),null,false);
  678. // zbcfGetCodeList( new Array("A0006", "P0096"), new Array("/root/init/cmbinfo/spcldrug", "/root/init/cmbinfo/efcycls") );
  679. var arrParam = [{dsNm: "ds_init_A0006", cdGrpId: "A0006"}
  680. ,{dsNm: "ds_init_P0096", cdGrpId: "P0096"}
  681. ]
  682. appf_getCodeList(arrParam);
  683. if ( !utlf_isNull(ds_temp_receivedata.getColumn(0,"drugkind"))) {
  684. ds_send.setColumn(0,"drugkind", ds_temp_receivedata.getColumn(0,"drugkind"));
  685. grp_srch.chk_drugkind.setData(utlf_transNullToEmpty(ds_send.getColumn(0,"drugkind")).split(" "),null,false);
  686. }
  687. if ( !utlf_isNull(ds_temp_receivedata.getColumn(0,"srchcnts"))) {
  688. ds_send.setColumn(0,"srchcnts" , ds_temp_receivedata.getColumn(0,"srchcnts"));
  689. ds_send.setColumn(0,"srchflag" , ds_temp_receivedata.getColumn(0,"srchflag"));
  690. ds_send.setColumn(0,"srchdrugcd","D%");
  691. call_TRADB60101();
  692. }
  693. }
  694. /****************************************************************************************
  695. * Components : Radio
  696. * Components ID : grp_srch.radio2
  697. * Event : onitemchanged
  698. * Argument : 01.obj : Object Event has occurred
  699. * : 02.e : Event Object
  700. * Description : 구분 선택
  701. ****************************************************************************************/
  702. function grp_srch_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  703. {
  704. ds_main_druglist_item.clearData();
  705. if ( ds_send.getColumn(0,"srchcls") == "2") {
  706. switch1.tabindex = 1;
  707. if ( ds_main_comlist_item.rowcount < 1 ) {
  708. var oParam = {};
  709. oParam.id = "TRADB60102";
  710. oParam.service = "pharmacybaseapp.ComCode";
  711. oParam.method = "reqGetComList";
  712. oParam.inds = "req=ds_send";
  713. oParam.outds = "ds_main_comlist_item=item";
  714. oParam.async = false;
  715. //oParam.callback = "cf_TRADB60102";
  716. tranf_submit(oParam);
  717. grdf_setToolTipBind(switch1.case2.grd_comlist);
  718. // setTree(grd_comlist, grd_comlist.colRef("comlevel"),grd_comlist.colRef("comnm"), true );
  719. }
  720. } else if ( ds_send.getColumn(0,"srchcls") == "3") {
  721. switch1.tabindex = 2;
  722. if ( ds_main_efcylist_item.rowcount < 1 ) {
  723. var oParam = {};
  724. oParam.id = "TRADB60103";
  725. oParam.service = "pharmacybaseapp.EfficacyCode";
  726. oParam.method = "reqGetEfficacyList";
  727. oParam.inds = "req=ds_send";
  728. oParam.outds = "ds_main_efcylist_item=item";
  729. oParam.async = false;
  730. //oParam.callback = "cf_TRADB60103";
  731. tranf_submit(oParam);
  732. grdf_setToolTipBind(switch1.case3.grd_efcylist);
  733. // setTree(grd_efcylist, grd_efcylist.colRef("efcylevel"),grd_efcylist.colRef("efcynm"), true );
  734. }
  735. }else {
  736. ds_send.setColumn(0,"srchetcflag","A");
  737. switch1.tabindex = 0;
  738. }
  739. }
  740. /****************************************************************************************
  741. * Components : CheckBox
  742. * Components ID : grp_srch.chk_drugkindall
  743. * Event : onchanged
  744. * Argument : 01.obj : Object Event has occurred
  745. * : 02.e : Event Object
  746. * Description : 분류전체선택
  747. ****************************************************************************************/
  748. function grp_srch_chk_drugkindall_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  749. {
  750. if(e.postvalue == "4") {
  751. grp_srch.chk_drugkind.setCheckAll(true);
  752. } else {
  753. grp_srch.chk_drugkind.setCheckAll(false);
  754. }
  755. }
  756. /****************************************************************************************
  757. * Components : Edit
  758. * Components ID : grp_srch.input1
  759. * Event : onkeydown
  760. * Argument : 01.obj : Object Event has occurred
  761. * : 02.e : Event Object
  762. * Description : 조회조건 입력 후 엔터로 조회
  763. ****************************************************************************************/
  764. function grp_srch_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  765. {
  766. if(e.keycode == 13) {
  767. obj.updateToDataset();
  768. frmf_inputEnterKey("grp_srch.btn_sea", "onclick", new ClickEventInfo);
  769. }
  770. }
  771. /****************************************************************************************
  772. * Components : Button
  773. * Components ID : grp_srch.btn_sea
  774. * Event : onclick
  775. * Argument : 01.obj : Object Event has occurred
  776. * : 02.e : Event Object
  777. * Description : 조회
  778. ****************************************************************************************/
  779. function grp_srch_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  780. {
  781. ds_send.setColumn(0,"ctdrugyn","Y");
  782. if(utlf_isNull(ds_send.getColumn(0,"srchclincflag")) && utlf_isNull(ds_send.getColumn(0,"blntestclsflag"))) {
  783. call_TRADB60101();
  784. } else {
  785. var oParam = {};
  786. oParam.id = "TRADB60104";
  787. oParam.service = "pharmacybaseapp.DrugCode";
  788. oParam.method = "reqGetSrchDrugCodeList";
  789. oParam.inds = "req=ds_send";
  790. oParam.outds = "ds_main_druglist_item=item";
  791. oParam.async = false;
  792. //oParam.callback = "cf_TRADB60104";
  793. tranf_submit(oParam);
  794. }
  795. }
  796. /****************************************************************************************
  797. * Components : Tab
  798. * Components ID : btn_switch
  799. * Event : onlbuttonup
  800. * Argument : 01.obj : Object Event has occurred
  801. * : 02.e : Event Object
  802. * Description : 알파벳 버튼 클릭시 해당 약품코드 조회
  803. ****************************************************************************************/
  804. function btn_switch_onlbuttonup(obj:Tab, e:TabMouseEventInfo)
  805. {
  806. ds_send.setColumn(0,"srchcnts","");
  807. var tabText = obj.tabpages[obj.tabindex].text;
  808. if(tabText == "All") {
  809. ds_send.setColumn(0,"srchdrugcd","");
  810. } else {
  811. ds_send.setColumn(0,"srchdrugcd",tabText+"%");
  812. }
  813. call_TRADB60101();
  814. }
  815. /****************************************************************************************
  816. * Components : Grid
  817. * Components ID : switch1.case1.grd_druglist1
  818. * Event : oncelldblclick
  819. * Argument : 01.obj : Object Event has occurred
  820. * : 02.e : Event Object
  821. * Description : 약품정보 더블클릭하여 opener에 전달
  822. ****************************************************************************************/
  823. function switch1_case1_grd_druglist1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  824. {
  825. lf_gridDbClick();
  826. }
  827. /****************************************************************************************
  828. * Components : Grid
  829. * Components ID : switch1.case2.grd_comlist
  830. * Event : oncelldblclick
  831. * Argument : 01.obj : Object Event has occurred
  832. * : 02.e : Event Object
  833. * Description : 성분명칭 더블 클릭하여 약품검색
  834. ****************************************************************************************/
  835. function switch1_case2_grd_comlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  836. {
  837. ds_send.setColumn(0,"srchetcflag","C");
  838. ds_send.setColumn(0,"srchcomcd",ds_main_comlist_item.getColumn(e.row,"comcd"));
  839. call_TRADB60101();
  840. }
  841. /****************************************************************************************
  842. * Components : Grid
  843. * Components ID : switch1.case2.grd_druglist2
  844. * Event : oncelldblclick
  845. * Argument : 01.obj : Object Event has occurred
  846. * : 02.e : Event Object
  847. * Description : 약품정보 더블클릭하여 opener에 전달
  848. ****************************************************************************************/
  849. function switch1_case2_grd_druglist2_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  850. {
  851. lf_gridDbClick();
  852. }
  853. /****************************************************************************************
  854. * Components : Grid
  855. * Components ID : switch1.case3.grd_efcylist
  856. * Event : oncelldblclick
  857. * Argument : 01.obj : Object Event has occurred
  858. * : 02.e : Event Object
  859. * Description : 효능명칭 더블 클릭하여 약품검색
  860. ****************************************************************************************/
  861. function switch1_case3_grd_efcylist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  862. {
  863. ds_send.setColumn(0,"srchetcflag","E");
  864. ds_send.setColumn(0,"srchefcy",ds_main_efcylist_item.getColumn(e.row,"efcycd"));
  865. call_TRADB60101();
  866. }
  867. /****************************************************************************************
  868. * Components : Grid
  869. * Components ID : switch1.case3.grd_druglist3
  870. * Event : oncelldblclick
  871. * Argument : 01.obj : Object Event has occurred
  872. * : 02.e : Event Object
  873. * Description : 약품정보 더블클릭하여 opener에 전달
  874. ****************************************************************************************/
  875. function switch1_case3_grd_druglist3_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  876. {
  877. lf_gridDbClick();
  878. }
  879. /****************************************************************************************
  880. * Components : Button
  881. * Components ID : btn_cls
  882. * Event : onclick
  883. * Argument : 01.obj : Object Event has occurred
  884. * : 02.e : Event Object
  885. * Description : 닫기
  886. ****************************************************************************************/
  887. function btn_cls_onclick(obj:Button, e:ClickEventInfo)
  888. {
  889. this.close();
  890. }
  891. ]]></Script>
  892. </Form>
  893. </FDL>