SMADB05100_조건별약품목록조회.xfdl 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADB05100" position="absolute 0 0 1195 733" titletext="조건별약품목록조회" oninit="SMADB05100_oninit" onload="SMADB05100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 24 1194 732" id="group3" scrollbars="autoboth" taborder="0" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Tab position="absolute 0 6 1193 708" id="switch1" anchor="all" onchanged="group3_switch1_onchanged">
  11. <Tabpages>
  12. <Tabpage text=" PRN " id="prn" style="anchor:default;margin:0 0 0 0;">
  13. <Layouts>
  14. <Layout>
  15. <Grid position="absolute 0 0 1193 678" id="grd_CASEPRN" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" cellsizingtype="both" extendsizetype="row" autofittype="col">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="25" band="left"/>
  20. <Column size="0"/>
  21. <Column size="105"/>
  22. <Column size="271"/>
  23. <Column size="273"/>
  24. <Column size="268"/>
  25. <Column size="100"/>
  26. <Column size="0"/>
  27. <Column size="105"/>
  28. </Columns>
  29. <Rows>
  30. <Row size="24" band="head"/>
  31. <Row size="24"/>
  32. </Rows>
  33. <Band id="head">
  34. <Cell/>
  35. <Cell col="1" text="PRN가능여부"/>
  36. <Cell col="2" text="약품코드"/>
  37. <Cell col="3" text="처방명칭"/>
  38. <Cell col="4" text="한글명칭"/>
  39. <Cell col="5" text="영문명칭"/>
  40. <Cell col="6" text="품절삭제여부"/>
  41. <Cell col="7" text="원내원외구분"/>
  42. <Cell col="8" text="적응증"/>
  43. </Band>
  44. <Band id="body">
  45. <Cell celltype="head" text="expr:currow+1"/>
  46. <Cell col="1" text="bind:prnflag"/>
  47. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  48. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  49. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  50. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  51. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  52. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  53. <Cell col="8" edittype="text" style="align:left;" text="bind:prndesc"/>
  54. </Band>
  55. </Format>
  56. </Formats>
  57. </Grid>
  58. </Layout>
  59. </Layouts>
  60. </Tabpage>
  61. <Tabpage text=" 고주의 " id="warn" style="anchor:default;margin:0 0 0 0;">
  62. <Layouts>
  63. <Layout>
  64. <Grid position="absolute 0 0 1193 678" id="grd_CASEWARN" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" cellsizingtype="both" extendsizetype="row" autofittype="col">
  65. <Formats>
  66. <Format id="default">
  67. <Columns>
  68. <Column size="25" band="left"/>
  69. <Column size="0"/>
  70. <Column size="105"/>
  71. <Column size="300"/>
  72. <Column size="300"/>
  73. <Column size="300"/>
  74. <Column size="100"/>
  75. <Column size="0"/>
  76. </Columns>
  77. <Rows>
  78. <Row size="24" band="head"/>
  79. <Row size="24"/>
  80. </Rows>
  81. <Band id="head">
  82. <Cell/>
  83. <Cell col="1" text="고주의여부"/>
  84. <Cell col="2" text="약품코드"/>
  85. <Cell col="3" text="처방명칭"/>
  86. <Cell col="4" text="한글명칭"/>
  87. <Cell col="5" text="영문명칭"/>
  88. <Cell col="6" text="품절삭제여부"/>
  89. <Cell col="7" text="원내원외구분"/>
  90. </Band>
  91. <Band id="body">
  92. <Cell celltype="head" text="expr:currow+1"/>
  93. <Cell col="1" text="bind:warnyn"/>
  94. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  95. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  96. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  97. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  98. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  99. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  100. </Band>
  101. </Format>
  102. </Formats>
  103. </Grid>
  104. </Layout>
  105. </Layouts>
  106. </Tabpage>
  107. <Tabpage text=" 고위험 " id="dngr" style="anchor:default;margin:0 0 0 0;">
  108. <Layouts>
  109. <Layout>
  110. <Grid position="absolute 0 0 1193 678" id="grd_CASEDNGR" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  111. <Formats>
  112. <Format id="default">
  113. <Columns>
  114. <Column size="25"/>
  115. <Column size="0"/>
  116. <Column size="105"/>
  117. <Column size="300"/>
  118. <Column size="300"/>
  119. <Column size="300"/>
  120. <Column size="100"/>
  121. <Column size="0"/>
  122. </Columns>
  123. <Rows>
  124. <Row size="24" band="head"/>
  125. <Row size="24"/>
  126. </Rows>
  127. <Band id="head">
  128. <Cell/>
  129. <Cell col="1" text="고주의여부"/>
  130. <Cell col="2" text="약품코드"/>
  131. <Cell col="3" text="처방명칭"/>
  132. <Cell col="4" text="한글명칭"/>
  133. <Cell col="5" text="영문명칭"/>
  134. <Cell col="6" text="품절삭제여부"/>
  135. <Cell col="7" text="원내원외구분"/>
  136. </Band>
  137. <Band id="body">
  138. <Cell celltype="head" text="expr:currow+1"/>
  139. <Cell col="1" text="bind:warnyn"/>
  140. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  141. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  142. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  143. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  144. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  145. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  146. </Band>
  147. </Format>
  148. </Formats>
  149. </Grid>
  150. </Layout>
  151. </Layouts>
  152. </Tabpage>
  153. <Tabpage text=" 고가" id="expn" style="anchor:default;margin:0 0 0 0;">
  154. <Layouts>
  155. <Layout>
  156. <Grid position="absolute 0 0 1193 678" id="grd_CASEEXPN" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  157. <Formats>
  158. <Format id="default">
  159. <Columns>
  160. <Column size="25"/>
  161. <Column size="0"/>
  162. <Column size="105"/>
  163. <Column size="300"/>
  164. <Column size="300"/>
  165. <Column size="300"/>
  166. <Column size="100"/>
  167. <Column size="0"/>
  168. </Columns>
  169. <Rows>
  170. <Row size="24" band="head"/>
  171. <Row size="24"/>
  172. </Rows>
  173. <Band id="head">
  174. <Cell/>
  175. <Cell col="1" text="고주의여부"/>
  176. <Cell col="2" text="약품코드"/>
  177. <Cell col="3" text="처방명칭"/>
  178. <Cell col="4" text="한글명칭"/>
  179. <Cell col="5" text="영문명칭"/>
  180. <Cell col="6" text="품절삭제여부"/>
  181. <Cell col="7" text="원내원외구분"/>
  182. </Band>
  183. <Band id="body">
  184. <Cell celltype="head" text="expr:currow+1"/>
  185. <Cell col="1" text="bind:warnyn"/>
  186. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  187. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  188. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  189. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  190. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  191. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  192. </Band>
  193. </Format>
  194. </Formats>
  195. </Grid>
  196. </Layout>
  197. </Layouts>
  198. </Tabpage>
  199. <Tabpage text=" 고가수액" id="expninj" style="anchor:default;margin:0 0 0 0;">
  200. <Layouts>
  201. <Layout>
  202. <Grid position="absolute 0 0 1193 678" id="grd_CASEEXPNINJ" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  203. <Formats>
  204. <Format id="default">
  205. <Columns>
  206. <Column size="25" band="left"/>
  207. <Column size="0"/>
  208. <Column size="105"/>
  209. <Column size="300"/>
  210. <Column size="300"/>
  211. <Column size="300"/>
  212. <Column size="100"/>
  213. <Column size="0"/>
  214. </Columns>
  215. <Rows>
  216. <Row size="24" band="head"/>
  217. <Row size="24"/>
  218. </Rows>
  219. <Band id="head">
  220. <Cell/>
  221. <Cell col="1" text="고주의여부"/>
  222. <Cell col="2" text="약품코드"/>
  223. <Cell col="3" text="처방명칭"/>
  224. <Cell col="4" text="한글명칭"/>
  225. <Cell col="5" text="영문명칭"/>
  226. <Cell col="6" text="품절삭제여부"/>
  227. <Cell col="7" text="원내원외구분"/>
  228. </Band>
  229. <Band id="body">
  230. <Cell celltype="head" text="expr:currow+1"/>
  231. <Cell col="1" text="bind:warnyn"/>
  232. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  233. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  234. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  235. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  236. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  237. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  238. </Band>
  239. </Format>
  240. </Formats>
  241. </Grid>
  242. </Layout>
  243. </Layouts>
  244. </Tabpage>
  245. <Tabpage text=" TPN " id="tpn" style="anchor:default;margin:0 0 0 0;">
  246. <Layouts>
  247. <Layout>
  248. <Grid position="absolute 0 0 1193 678" id="grd_CASETPN" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" cellsizingtype="both" extendsizetype="row">
  249. <Formats>
  250. <Format id="default">
  251. <Columns>
  252. <Column size="25" band="left"/>
  253. <Column size="0"/>
  254. <Column size="105"/>
  255. <Column size="300"/>
  256. <Column size="300"/>
  257. <Column size="300"/>
  258. <Column size="100"/>
  259. <Column size="0"/>
  260. </Columns>
  261. <Rows>
  262. <Row size="24" band="head"/>
  263. <Row size="24"/>
  264. </Rows>
  265. <Band id="head">
  266. <Cell/>
  267. <Cell col="1" text="고주의여부"/>
  268. <Cell col="2" text="약품코드"/>
  269. <Cell col="3" text="처방명칭"/>
  270. <Cell col="4" text="한글명칭"/>
  271. <Cell col="5" text="영문명칭"/>
  272. <Cell col="6" text="품절삭제여부"/>
  273. <Cell col="7" text="원내원외구분"/>
  274. </Band>
  275. <Band id="body">
  276. <Cell celltype="head" text="expr:currow+1"/>
  277. <Cell col="1" text="bind:warnyn"/>
  278. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  279. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  280. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  281. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  282. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  283. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  284. </Band>
  285. </Format>
  286. </Formats>
  287. </Grid>
  288. </Layout>
  289. </Layouts>
  290. </Tabpage>
  291. <Tabpage text=" TDM " id="tdm" style="anchor:default;margin:0 0 0 0;">
  292. <Layouts>
  293. <Layout>
  294. <Grid position="absolute 0 0 1193 678" id="grd_CASETDM" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" cellsizingtype="both" extendsizetype="row">
  295. <Formats>
  296. <Format id="default">
  297. <Columns>
  298. <Column size="25" band="left"/>
  299. <Column size="0"/>
  300. <Column size="105"/>
  301. <Column size="300"/>
  302. <Column size="300"/>
  303. <Column size="300"/>
  304. <Column size="100"/>
  305. <Column size="0"/>
  306. </Columns>
  307. <Rows>
  308. <Row size="24" band="head"/>
  309. <Row size="24"/>
  310. </Rows>
  311. <Band id="head">
  312. <Cell/>
  313. <Cell col="1" text="고주의여부"/>
  314. <Cell col="2" text="약품코드"/>
  315. <Cell col="3" text="처방명칭"/>
  316. <Cell col="4" text="한글명칭"/>
  317. <Cell col="5" text="영문명칭"/>
  318. <Cell col="6" text="품절삭제여부"/>
  319. <Cell col="7" text="원내원외구분"/>
  320. </Band>
  321. <Band id="body">
  322. <Cell celltype="head" text="expr:currow+1"/>
  323. <Cell col="1" text="bind:warnyn"/>
  324. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  325. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  326. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  327. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  328. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  329. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  330. </Band>
  331. </Format>
  332. </Formats>
  333. </Grid>
  334. </Layout>
  335. </Layouts>
  336. </Tabpage>
  337. <Tabpage text=" 처치용처방 " id="nrord" style="anchor:default;margin:0 0 0 0;">
  338. <Layouts>
  339. <Layout>
  340. <Grid position="absolute 0 0 1193 678" id="grd_CASENRORD" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" extendsizetype="row" cellsizingtype="both" autofittype="col">
  341. <Formats>
  342. <Format id="default">
  343. <Columns>
  344. <Column size="25" band="left"/>
  345. <Column size="0"/>
  346. <Column size="105"/>
  347. <Column size="300"/>
  348. <Column size="300"/>
  349. <Column size="300"/>
  350. <Column size="100"/>
  351. <Column size="0"/>
  352. </Columns>
  353. <Rows>
  354. <Row size="24" band="head"/>
  355. <Row size="24"/>
  356. </Rows>
  357. <Band id="head">
  358. <Cell/>
  359. <Cell col="1" text="고주의여부"/>
  360. <Cell col="2" text="약품코드"/>
  361. <Cell col="3" text="처방명칭"/>
  362. <Cell col="4" text="한글명칭"/>
  363. <Cell col="5" text="영문명칭"/>
  364. <Cell col="6" text="품절삭제여부"/>
  365. <Cell col="7" text="원내원외구분"/>
  366. </Band>
  367. <Band id="body">
  368. <Cell celltype="head" text="expr:currow+1"/>
  369. <Cell col="1" text="bind:warnyn"/>
  370. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  371. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  372. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  373. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  374. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  375. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  376. </Band>
  377. </Format>
  378. </Formats>
  379. </Grid>
  380. </Layout>
  381. </Layouts>
  382. </Tabpage>
  383. <Tabpage text=" 제한항생제 " id="resta" style="anchor:default;margin:0 0 0 0;">
  384. <Layouts>
  385. <Layout>
  386. <Grid position="absolute 0 0 1193 678" id="grd_CASERESTA" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" cellsizingtype="both" extendsizetype="row">
  387. <Formats>
  388. <Format id="default">
  389. <Columns>
  390. <Column size="25" band="left"/>
  391. <Column size="0"/>
  392. <Column size="105"/>
  393. <Column size="300"/>
  394. <Column size="300"/>
  395. <Column size="300"/>
  396. <Column size="100"/>
  397. <Column size="0"/>
  398. </Columns>
  399. <Rows>
  400. <Row size="24" band="head"/>
  401. <Row size="24"/>
  402. </Rows>
  403. <Band id="head">
  404. <Cell/>
  405. <Cell col="1" text="고주의여부"/>
  406. <Cell col="2" text="약품코드"/>
  407. <Cell col="3" text="처방명칭"/>
  408. <Cell col="4" text="한글명칭"/>
  409. <Cell col="5" text="영문명칭"/>
  410. <Cell col="6" text="품절삭제여부"/>
  411. <Cell col="7" text="원내원외구분"/>
  412. </Band>
  413. <Band id="body">
  414. <Cell celltype="head" text="expr:currow+1"/>
  415. <Cell col="1" text="bind:warnyn"/>
  416. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  417. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  418. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  419. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  420. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  421. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  422. </Band>
  423. </Format>
  424. </Formats>
  425. </Grid>
  426. </Layout>
  427. </Layouts>
  428. </Tabpage>
  429. <Tabpage text=" 향정수불 " id="pastil" style="anchor:default;margin:0 0 0 0;">
  430. <Layouts>
  431. <Layout>
  432. <Grid position="absolute 0 0 1193 678" id="grd_CASEPASTIL" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" cellsizingtype="both" extendsizetype="row" autofittype="col">
  433. <Formats>
  434. <Format id="default">
  435. <Columns>
  436. <Column size="25"/>
  437. <Column size="0"/>
  438. <Column size="105"/>
  439. <Column size="300"/>
  440. <Column size="300"/>
  441. <Column size="300"/>
  442. <Column size="100"/>
  443. <Column size="0"/>
  444. </Columns>
  445. <Rows>
  446. <Row size="24" band="head"/>
  447. <Row size="24"/>
  448. </Rows>
  449. <Band id="head">
  450. <Cell/>
  451. <Cell col="1" text="고주의여부"/>
  452. <Cell col="2" text="약품코드"/>
  453. <Cell col="3" text="처방명칭"/>
  454. <Cell col="4" text="한글명칭"/>
  455. <Cell col="5" text="영문명칭"/>
  456. <Cell col="6" text="품절삭제여부"/>
  457. <Cell col="7" text="원내원외구분"/>
  458. </Band>
  459. <Band id="body">
  460. <Cell celltype="head" text="expr:currow+1"/>
  461. <Cell col="1" text="bind:warnyn"/>
  462. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  463. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  464. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  465. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  466. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  467. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  468. </Band>
  469. </Format>
  470. </Formats>
  471. </Grid>
  472. </Layout>
  473. </Layouts>
  474. </Tabpage>
  475. <Tabpage text=" 차광 " id="shad" style="anchor:default;margin:0 0 0 0;">
  476. <Layouts>
  477. <Layout>
  478. <Grid position="absolute 0 0 1193 678" id="grd_CASESHAD" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  479. <Formats>
  480. <Format id="default">
  481. <Columns>
  482. <Column size="25" band="left"/>
  483. <Column size="0"/>
  484. <Column size="105"/>
  485. <Column size="300"/>
  486. <Column size="300"/>
  487. <Column size="300"/>
  488. <Column size="100"/>
  489. <Column size="0"/>
  490. </Columns>
  491. <Rows>
  492. <Row size="24" band="head"/>
  493. <Row size="24"/>
  494. </Rows>
  495. <Band id="head">
  496. <Cell/>
  497. <Cell col="1" text="고주의여부"/>
  498. <Cell col="2" text="약품코드"/>
  499. <Cell col="3" text="처방명칭"/>
  500. <Cell col="4" text="한글명칭"/>
  501. <Cell col="5" text="영문명칭"/>
  502. <Cell col="6" text="품절삭제여부"/>
  503. <Cell col="7" text="원내원외구분"/>
  504. </Band>
  505. <Band id="body">
  506. <Cell celltype="head" text="expr:currow+1"/>
  507. <Cell col="1" text="bind:warnyn"/>
  508. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  509. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  510. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  511. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  512. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  513. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  514. </Band>
  515. </Format>
  516. </Formats>
  517. </Grid>
  518. </Layout>
  519. </Layouts>
  520. </Tabpage>
  521. <Tabpage text=" 처방분할금지" id="devi" style="anchor:default;margin:0 0 0 0;">
  522. <Layouts>
  523. <Layout>
  524. <Grid position="absolute 0 0 1193 678" id="grd_CASEDEVI" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  525. <Formats>
  526. <Format id="default">
  527. <Columns>
  528. <Column size="25" band="left"/>
  529. <Column size="0"/>
  530. <Column size="105"/>
  531. <Column size="300"/>
  532. <Column size="300"/>
  533. <Column size="300"/>
  534. <Column size="100"/>
  535. <Column size="0"/>
  536. </Columns>
  537. <Rows>
  538. <Row size="24" band="head"/>
  539. <Row size="24"/>
  540. </Rows>
  541. <Band id="head">
  542. <Cell/>
  543. <Cell col="1" text="고주의여부"/>
  544. <Cell col="2" text="약품코드"/>
  545. <Cell col="3" text="처방명칭"/>
  546. <Cell col="4" text="한글명칭"/>
  547. <Cell col="5" text="영문명칭"/>
  548. <Cell col="6" text="품절삭제여부"/>
  549. <Cell col="7" text="원내원외구분"/>
  550. </Band>
  551. <Band id="body">
  552. <Cell celltype="head" text="expr:currow+1"/>
  553. <Cell col="1" text="bind:warnyn"/>
  554. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  555. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  556. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  557. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  558. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  559. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  560. </Band>
  561. </Format>
  562. </Formats>
  563. </Grid>
  564. </Layout>
  565. </Layouts>
  566. </Tabpage>
  567. <Tabpage id="coldstorage" text="냉장" style="anchor:default;margin:0 0 0 0;">
  568. <Layouts>
  569. <Layout>
  570. <Grid position="absolute 0 0 1193 678" id="grd_coldstorage" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  571. <Formats>
  572. <Format id="default">
  573. <Columns>
  574. <Column size="25" band="left"/>
  575. <Column size="0"/>
  576. <Column size="105"/>
  577. <Column size="300"/>
  578. <Column size="300"/>
  579. <Column size="300"/>
  580. <Column size="100"/>
  581. <Column size="0"/>
  582. </Columns>
  583. <Rows>
  584. <Row size="24" band="head"/>
  585. <Row size="24"/>
  586. </Rows>
  587. <Band id="head">
  588. <Cell/>
  589. <Cell col="1" text="고주의여부"/>
  590. <Cell col="2" text="약품코드"/>
  591. <Cell col="3" text="처방명칭"/>
  592. <Cell col="4" text="한글명칭"/>
  593. <Cell col="5" text="영문명칭"/>
  594. <Cell col="6" text="품절삭제여부"/>
  595. <Cell col="7" text="원내원외구분"/>
  596. </Band>
  597. <Band id="body">
  598. <Cell celltype="head" text="expr:currow+1"/>
  599. <Cell col="1" text="bind:warnyn"/>
  600. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  601. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  602. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  603. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  604. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  605. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  606. </Band>
  607. </Format>
  608. </Formats>
  609. </Grid>
  610. </Layout>
  611. </Layouts>
  612. </Tabpage>
  613. <Tabpage id="fd" text="낙상위험" style="anchor:default;margin:0 0 0 0;">
  614. <Layouts>
  615. <Layout>
  616. <Grid position="absolute 0 0 1193 678" id="grd_fd" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  617. <Formats>
  618. <Format id="default">
  619. <Columns>
  620. <Column size="25" band="left"/>
  621. <Column size="0"/>
  622. <Column size="105"/>
  623. <Column size="300"/>
  624. <Column size="300"/>
  625. <Column size="300"/>
  626. <Column size="100"/>
  627. <Column size="0"/>
  628. </Columns>
  629. <Rows>
  630. <Row size="24" band="head"/>
  631. <Row size="24"/>
  632. </Rows>
  633. <Band id="head">
  634. <Cell/>
  635. <Cell col="1" text="고주의여부"/>
  636. <Cell col="2" text="약품코드"/>
  637. <Cell col="3" text="처방명칭"/>
  638. <Cell col="4" text="한글명칭"/>
  639. <Cell col="5" text="영문명칭"/>
  640. <Cell col="6" text="품절삭제여부"/>
  641. <Cell col="7" text="원내원외구분"/>
  642. </Band>
  643. <Band id="body">
  644. <Cell celltype="head" text="expr:currow+1"/>
  645. <Cell col="1" text="bind:warnyn"/>
  646. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  647. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  648. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  649. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  650. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  651. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  652. </Band>
  653. </Format>
  654. </Formats>
  655. </Grid>
  656. </Layout>
  657. </Layouts>
  658. </Tabpage>
  659. <Tabpage id="pr" text="구매요청" style="anchor:default;margin:0 0 0 0;">
  660. <Layouts>
  661. <Layout>
  662. <Grid position="absolute 0 0 1193 678" id="grd_pr" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  663. <Formats>
  664. <Format id="default">
  665. <Columns>
  666. <Column size="25" band="left"/>
  667. <Column size="0"/>
  668. <Column size="105"/>
  669. <Column size="300"/>
  670. <Column size="300"/>
  671. <Column size="300"/>
  672. <Column size="100"/>
  673. <Column size="0"/>
  674. </Columns>
  675. <Rows>
  676. <Row size="24" band="head"/>
  677. <Row size="24"/>
  678. </Rows>
  679. <Band id="head">
  680. <Cell/>
  681. <Cell col="1" text="고주의여부"/>
  682. <Cell col="2" text="약품코드"/>
  683. <Cell col="3" text="처방명칭"/>
  684. <Cell col="4" text="한글명칭"/>
  685. <Cell col="5" text="영문명칭"/>
  686. <Cell col="6" text="품절삭제여부"/>
  687. <Cell col="7" text="원내원외구분"/>
  688. </Band>
  689. <Band id="body">
  690. <Cell celltype="head" text="expr:currow+1"/>
  691. <Cell col="1" text="bind:warnyn"/>
  692. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  693. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  694. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  695. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  696. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  697. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  698. </Band>
  699. </Format>
  700. </Formats>
  701. </Grid>
  702. </Layout>
  703. </Layouts>
  704. </Tabpage>
  705. <Tabpage id="ice" text="냉동" style="anchor:default;margin:0 0 0 0;">
  706. <Layouts>
  707. <Layout>
  708. <Grid position="absolute 0 0 1193 678" id="grd_ice" visible="true" binddataset="ds_main_baseinfo_druginfo" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both">
  709. <Formats>
  710. <Format id="default">
  711. <Columns>
  712. <Column size="25" band="left"/>
  713. <Column size="0"/>
  714. <Column size="105"/>
  715. <Column size="300"/>
  716. <Column size="300"/>
  717. <Column size="300"/>
  718. <Column size="100"/>
  719. <Column size="0"/>
  720. </Columns>
  721. <Rows>
  722. <Row size="24" band="head"/>
  723. <Row size="24"/>
  724. </Rows>
  725. <Band id="head">
  726. <Cell/>
  727. <Cell col="1" text="고주의여부"/>
  728. <Cell col="2" text="약품코드"/>
  729. <Cell col="3" text="처방명칭"/>
  730. <Cell col="4" text="한글명칭"/>
  731. <Cell col="5" text="영문명칭"/>
  732. <Cell col="6" text="품절삭제여부"/>
  733. <Cell col="7" text="원내원외구분"/>
  734. </Band>
  735. <Band id="body">
  736. <Cell celltype="head" text="expr:currow+1"/>
  737. <Cell col="1" text="bind:warnyn"/>
  738. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:drugcd"/>
  739. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:ordnm"/>
  740. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:hngnm"/>
  741. <Cell col="5" style="align:left middle;padding:0 5 0 5;" text="bind:engnm"/>
  742. <Cell col="6" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:absnyn" combodataset="ds_init_A0600" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  743. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hosinflag"/>
  744. </Band>
  745. </Format>
  746. </Formats>
  747. </Grid>
  748. </Layout>
  749. </Layouts>
  750. </Tabpage>
  751. </Tabpages>
  752. </Tab>
  753. <Button id="btn_search" taborder="1" text="조회" class="btn1" visible="false" position="absolute 1046 -20 1102 2" anchor="top right" onclick="group3_btn_search_onclick"/>
  754. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1113 4 1193 26" anchor="top right" onclick="group3_btn_excsave_onclick"/>
  755. </Layout>
  756. </Layouts>
  757. </Div>
  758. <Static id="caption19" text="조건별약품목록조회" class="tit_1" position="absolute 0 0 160 25"/>
  759. <Button id="btn_save" taborder="1" text="저장" onclick="group3_btn_save_onclick" class="btn4" position="absolute 1136 4 1192 26" anchor="top right"/>
  760. </Layout>
  761. </Layouts>
  762. <Objects>
  763. <Dataset id="ds_main_baseinfo_druginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  764. <ColumnInfo>
  765. <Column id="drugcd" type="STRING" size="256"/>
  766. <Column id="olddrugcd" type="STRING" size="256"/>
  767. <Column id="drugtodd" type="STRING" size="256"/>
  768. <Column id="drugfromdd" type="STRING" size="256"/>
  769. <Column id="cnfmyn" type="STRING" size="256"/>
  770. <Column id="ordnm" type="STRING" size="256"/>
  771. <Column id="hngnm" type="STRING" size="256"/>
  772. <Column id="engnm" type="STRING" size="256"/>
  773. <Column id="delivecrite" type="STRING" size="256"/>
  774. <Column id="cntsunit" type="STRING" size="256"/>
  775. <Column id="cntsvol" type="STRING" size="256"/>
  776. <Column id="stndunit" type="STRING" size="256"/>
  777. <Column id="stndvol" type="STRING" size="256"/>
  778. <Column id="packunit" type="STRING" size="256"/>
  779. <Column id="packvol" type="STRING" size="256"/>
  780. <Column id="ordunit" type="STRING" size="256"/>
  781. <Column id="basevol" type="STRING" size="256"/>
  782. <Column id="basemthdcd" type="STRING" size="256"/>
  783. <Column id="absnyn" type="STRING" size="256"/>
  784. <Column id="absnreusedd" type="STRING" size="256"/>
  785. <Column id="hosinflag" type="STRING" size="256"/>
  786. <Column id="hosinresn" type="STRING" size="256"/>
  787. <Column id="lrgcls" type="STRING" size="256"/>
  788. <Column id="mdlcls" type="STRING" size="256"/>
  789. <Column id="smlcls" type="STRING" size="256"/>
  790. <Column id="edicd" type="STRING" size="256"/>
  791. <Column id="drugkind" type="STRING" size="256"/>
  792. <Column id="keepmthd" type="STRING" size="256"/>
  793. <Column id="keepmthd2" type="STRING" size="256"/>
  794. <Column id="shadyn" type="STRING" size="256"/>
  795. <Column id="spcldrug" type="STRING" size="256"/>
  796. <Column id="spclyn" type="STRING" size="256"/>
  797. <Column id="efcycls" type="STRING" size="256"/>
  798. <Column id="drugtype" type="STRING" size="256"/>
  799. <Column id="mngtitem" type="STRING" size="256"/>
  800. <Column id="expnyn" type="STRING" size="256"/>
  801. <Column id="tpnyn" type="STRING" size="256"/>
  802. <Column id="tdmyn" type="STRING" size="256"/>
  803. <Column id="drugmngtyn" type="STRING" size="256"/>
  804. <Column id="expninjyn" type="STRING" size="256"/>
  805. <Column id="restantimicyn" type="STRING" size="256"/>
  806. <Column id="pastillyn" type="STRING" size="256"/>
  807. <Column id="prgcd" type="STRING" size="256"/>
  808. <Column id="rtnimpsiyn" type="STRING" size="256"/>
  809. <Column id="itmidrugprid" type="STRING" size="256"/>
  810. <Column id="tmedcnst" type="STRING" size="256"/>
  811. <Column id="powdimpsi" type="STRING" size="256"/>
  812. <Column id="powdimpsiresn" type="STRING" size="256"/>
  813. <Column id="powdimpsiresnetc" type="STRING" size="256"/>
  814. <Column id="wardexch" type="STRING" size="256"/>
  815. <Column id="selfinjyn" type="STRING" size="256"/>
  816. <Column id="hosoutinjyn" type="STRING" size="256"/>
  817. <Column id="astyn" type="STRING" size="256"/>
  818. <Column id="reconsolv" type="STRING" size="256"/>
  819. <Column id="reconmixqty" type="STRING" size="256"/>
  820. <Column id="reconvalitm" type="STRING" size="256"/>
  821. <Column id="reconkeepmthd" type="STRING" size="256"/>
  822. <Column id="dilusolv" type="STRING" size="256"/>
  823. <Column id="dilumixqty" type="STRING" size="256"/>
  824. <Column id="diluvalitm" type="STRING" size="256"/>
  825. <Column id="dilukeepmthd" type="STRING" size="256"/>
  826. <Column id="condd" type="STRING" size="256"/>
  827. <Column id="etccau" type="STRING" size="256"/>
  828. <Column id="calcscorrgstyn" type="STRING" size="256"/>
  829. <Column id="limdrugyn" type="STRING" size="256"/>
  830. <Column id="keepmthddesc" type="STRING" size="256"/>
  831. <Column id="comcls" type="STRING" size="256"/>
  832. <Column id="comdesc" type="STRING" size="256"/>
  833. <Column id="drugtoddhis" type="STRING" size="256"/>
  834. <Column id="lastupdtdt" type="STRING" size="256"/>
  835. <Column id="stndunit" type="STRING" size="256"/>
  836. <Column id="stndvol" type="STRING" size="256"/>
  837. <Column id="warnyn" type="STRING" size="256"/>
  838. <Column id="dngryn" type="STRING" size="256"/>
  839. <Column id="grupflag" type="STRING" size="256"/>
  840. <Column id="nrordflag" type="STRING" size="256"/>
  841. <Column id="prnflag" type="STRING" size="256"/>
  842. <Column id="monireqdrid" type="STRING" size="256"/>
  843. <Column id="monireqdrnm" type="STRING" size="256"/>
  844. <Column id="moniflag" type="STRING" size="256"/>
  845. <Column id="calcmthdcd" type="STRING" size="256"/>
  846. <Column id="limdrugusedept" type="STRING" size="256"/>
  847. <Column id="dupexpgoodcd" type="STRING" size="256"/>
  848. <Column id="dupexpgoodcdnm" type="STRING" size="256"/>
  849. <Column id="drugmemo" type="STRING" size="256"/>
  850. <Column id="devidebanyn" type="STRING" size="256"/>
  851. <Column id="prndesc" type="STRING" size="256"/>
  852. </ColumnInfo>
  853. <Rows>
  854. <Row>
  855. <Col id="drugcd"/>
  856. <Col id="olddrugcd"/>
  857. <Col id="drugtodd">99991231</Col>
  858. <Col id="drugfromdd"/>
  859. <Col id="cnfmyn"/>
  860. <Col id="ordnm"/>
  861. <Col id="hngnm"/>
  862. <Col id="engnm"/>
  863. <Col id="delivecrite"/>
  864. <Col id="cntsunit"/>
  865. <Col id="cntsvol"/>
  866. <Col id="stndunit"/>
  867. <Col id="stndvol"/>
  868. <Col id="packunit"/>
  869. <Col id="packvol">1</Col>
  870. <Col id="ordunit">1</Col>
  871. <Col id="basevol"/>
  872. <Col id="basemthdcd"/>
  873. <Col id="absnyn">N</Col>
  874. <Col id="absnreusedd"/>
  875. <Col id="hosinflag">-</Col>
  876. <Col id="hosinresn">00</Col>
  877. <Col id="lrgcls"/>
  878. <Col id="mdlcls"/>
  879. <Col id="smlcls"/>
  880. <Col id="edicd"/>
  881. <Col id="drugkind"/>
  882. <Col id="keepmthd"/>
  883. <Col id="keepmthd2"/>
  884. <Col id="shadyn"/>
  885. <Col id="spcldrug"/>
  886. <Col id="spclyn"/>
  887. <Col id="efcycls"/>
  888. <Col id="drugtype"/>
  889. <Col id="mngtitem"/>
  890. <Col id="expnyn"/>
  891. <Col id="tpnyn"/>
  892. <Col id="tdmyn"/>
  893. <Col id="drugmngtyn"/>
  894. <Col id="expninjyn"/>
  895. <Col id="restantimicyn"/>
  896. <Col id="pastillyn"/>
  897. <Col id="prgcd"/>
  898. <Col id="rtnimpsiyn"/>
  899. <Col id="itmidrugprid"/>
  900. <Col id="tmedcnst"/>
  901. <Col id="powdimpsi">-</Col>
  902. <Col id="powdimpsiresn">0</Col>
  903. <Col id="powdimpsiresnetc"/>
  904. <Col id="wardexch"/>
  905. <Col id="selfinjyn">-</Col>
  906. <Col id="hosoutinjyn">N</Col>
  907. <Col id="astyn">-</Col>
  908. <Col id="reconsolv"/>
  909. <Col id="reconmixqty"/>
  910. <Col id="reconvalitm"/>
  911. <Col id="reconkeepmthd"/>
  912. <Col id="dilusolv"/>
  913. <Col id="dilumixqty"/>
  914. <Col id="diluvalitm"/>
  915. <Col id="dilukeepmthd"/>
  916. <Col id="condd"/>
  917. <Col id="etccau"/>
  918. <Col id="calcscorrgstyn"/>
  919. <Col id="limdrugyn"/>
  920. <Col id="keepmthddesc"/>
  921. <Col id="comcls"/>
  922. <Col id="comdesc"/>
  923. <Col id="drugtoddhis"/>
  924. <Col id="lastupdtdt"/>
  925. <Col id="stndunit"/>
  926. <Col id="stndvol"/>
  927. <Col id="warnyn"/>
  928. <Col id="dngryn"/>
  929. <Col id="grupflag"/>
  930. <Col id="nrordflag"/>
  931. <Col id="prnflag"/>
  932. <Col id="monireqdrid"/>
  933. <Col id="monireqdrnm"/>
  934. <Col id="moniflag"/>
  935. <Col id="calcmthdcd"/>
  936. <Col id="limdrugusedept"/>
  937. <Col id="dupexpgoodcd"/>
  938. <Col id="dupexpgoodcdnm"/>
  939. <Col id="drugmemo"/>
  940. <Col id="devidebanyn"/>
  941. </Row>
  942. </Rows>
  943. </Dataset>
  944. <Dataset id="ds_main_baseinfo_adminitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  945. <ColumnInfo>
  946. <Column id="adminpath" type="STRING" size="256"/>
  947. <Column id="drugcd" type="STRING" size="256"/>
  948. </ColumnInfo>
  949. <Rows>
  950. <Row/>
  951. </Rows>
  952. </Dataset>
  953. <Dataset id="ds_main_baseinfo_absninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  954. <ColumnInfo>
  955. <Column id="absnresn" type="STRING" size="256"/>
  956. <Column id="absnresnetc" type="STRING" size="256"/>
  957. </ColumnInfo>
  958. <Rows>
  959. <Row>
  960. <Col id="absnresn">-</Col>
  961. <Col id="absnresnetc"/>
  962. </Row>
  963. </Rows>
  964. </Dataset>
  965. <Dataset id="ds_main_baseinfo_comitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  966. <ColumnInfo>
  967. <Column id="comcd" type="STRING" size="256"/>
  968. <Column id="comexcd" type="STRING" size="256"/>
  969. <Column id="comnm" type="STRING" size="256"/>
  970. <Column id="drugcd" type="STRING" size="256"/>
  971. </ColumnInfo>
  972. <Rows>
  973. <Row>
  974. <Col id="comcd"/>
  975. <Col id="comexcd"/>
  976. <Col id="comnm"/>
  977. <Col id="drugcd"/>
  978. </Row>
  979. </Rows>
  980. </Dataset>
  981. <Dataset id="ds_main_baseinfo_efcyitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  982. <ColumnInfo>
  983. <Column id="efcycd" type="STRING" size="256"/>
  984. <Column id="efcynm" type="STRING" size="256"/>
  985. <Column id="drugcd" type="STRING" size="256"/>
  986. </ColumnInfo>
  987. <Rows>
  988. <Row>
  989. <Col id="efcycd"/>
  990. <Col id="efcynm"/>
  991. <Col id="drugcd"/>
  992. </Row>
  993. </Rows>
  994. </Dataset>
  995. <Dataset id="ds_main_baseinfo_lblitemo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  996. <ColumnInfo>
  997. <Column id="lblnmo" type="STRING" size="256"/>
  998. <Column id="lblgrupo" type="STRING" size="256"/>
  999. <Column id="lblprntyno" type="STRING" size="256"/>
  1000. <Column id="lblcnts1o" type="STRING" size="256"/>
  1001. <Column id="lblcnts2o" type="STRING" size="256"/>
  1002. </ColumnInfo>
  1003. <Rows>
  1004. <Row>
  1005. <Col id="lblnmo"/>
  1006. <Col id="lblgrupo"/>
  1007. <Col id="lblprntyno">Y</Col>
  1008. <Col id="lblcnts1o"/>
  1009. <Col id="lblcnts2o"/>
  1010. </Row>
  1011. </Rows>
  1012. </Dataset>
  1013. <Dataset id="ds_main_baseinfo_lblitemi" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1014. <ColumnInfo>
  1015. <Column id="lblnmi" type="STRING" size="256"/>
  1016. <Column id="lblgrupi" type="STRING" size="256"/>
  1017. <Column id="lblprntyni" type="STRING" size="256"/>
  1018. <Column id="lblcnts1i" type="STRING" size="256"/>
  1019. <Column id="lblcnts2i" type="STRING" size="256"/>
  1020. </ColumnInfo>
  1021. <Rows>
  1022. <Row>
  1023. <Col id="lblnmi"/>
  1024. <Col id="lblgrupi"/>
  1025. <Col id="lblprntyni"/>
  1026. <Col id="lblcnts1i"/>
  1027. <Col id="lblcnts2i"/>
  1028. </Row>
  1029. </Rows>
  1030. </Dataset>
  1031. <Dataset id="ds_main_baseinfo_lbliteml" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1032. <ColumnInfo>
  1033. <Column id="lblnml" type="STRING" size="256"/>
  1034. <Column id="lblgrupl" type="STRING" size="256"/>
  1035. <Column id="lblprntynl" type="STRING" size="256"/>
  1036. <Column id="lblcnts1l" type="STRING" size="256"/>
  1037. <Column id="lblcnts2l" type="STRING" size="256"/>
  1038. </ColumnInfo>
  1039. <Rows>
  1040. <Row>
  1041. <Col id="lblnml"/>
  1042. <Col id="lblgrupl"/>
  1043. <Col id="lblprntynl"/>
  1044. <Col id="lblcnts1l"/>
  1045. <Col id="lblcnts2l"/>
  1046. </Row>
  1047. </Rows>
  1048. </Dataset>
  1049. <Dataset id="ds_main_baseinfo_atcitemo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1050. <ColumnInfo>
  1051. <Column id="atcifyno" type="STRING" size="256"/>
  1052. <Column id="atcifsnglyno" type="STRING" size="256"/>
  1053. <Column id="powdero" type="STRING" size="256"/>
  1054. </ColumnInfo>
  1055. <Rows>
  1056. <Row>
  1057. <Col id="atcifyno">Y</Col>
  1058. <Col id="atcifsnglyno">N</Col>
  1059. <Col id="powdero"/>
  1060. </Row>
  1061. </Rows>
  1062. </Dataset>
  1063. <Dataset id="ds_main_baseinfo_atcitemi" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1064. <ColumnInfo>
  1065. <Column id="atcifyni" type="STRING" size="256"/>
  1066. <Column id="atcifsnglyni" type="STRING" size="256"/>
  1067. <Column id="powderi" type="STRING" size="256"/>
  1068. </ColumnInfo>
  1069. <Rows>
  1070. <Row>
  1071. <Col id="atcifyni"/>
  1072. <Col id="atcifsnglyni"/>
  1073. <Col id="powderi"/>
  1074. </Row>
  1075. </Rows>
  1076. </Dataset>
  1077. <Dataset id="ds_main_baseinfo_atciteml" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1078. <ColumnInfo>
  1079. <Column id="atcifynl" type="STRING" size="256"/>
  1080. <Column id="atcifsnglynl" type="STRING" size="256"/>
  1081. <Column id="powderl" type="STRING" size="256"/>
  1082. </ColumnInfo>
  1083. <Rows>
  1084. <Row>
  1085. <Col id="atcifynl"/>
  1086. <Col id="atcifsnglynl"/>
  1087. <Col id="powderl"/>
  1088. </Row>
  1089. </Rows>
  1090. </Dataset>
  1091. <Dataset id="ds_main_baseinfo_absnaltitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1092. <ColumnInfo>
  1093. <Column id="absnaltdrugcd" type="STRING" size="256"/>
  1094. <Column id="drugcd" type="STRING" size="256"/>
  1095. <Column id="instcd" type="STRING" size="256"/>
  1096. </ColumnInfo>
  1097. <Rows>
  1098. <Row>
  1099. <Col id="absnaltdrugcd"/>
  1100. <Col id="drugcd"/>
  1101. <Col id="instcd"/>
  1102. </Row>
  1103. </Rows>
  1104. </Dataset>
  1105. <Dataset id="ds_main_baseinfo_powdaltitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1106. <ColumnInfo>
  1107. <Column id="powdaltdrugcd" type="STRING" size="256"/>
  1108. <Column id="drugcd" type="STRING" size="256"/>
  1109. <Column id="instcd" type="STRING" size="256"/>
  1110. </ColumnInfo>
  1111. <Rows>
  1112. <Row>
  1113. <Col id="powdaltdrugcd"/>
  1114. <Col id="drugcd"/>
  1115. <Col id="instcd"/>
  1116. </Row>
  1117. </Rows>
  1118. </Dataset>
  1119. <Dataset id="ds_main_baseinfo_tbooaltitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1120. <ColumnInfo>
  1121. <Column id="tbooaltdrugcd" type="STRING" size="256"/>
  1122. <Column id="drugcd" type="STRING" size="256"/>
  1123. <Column id="instcd" type="STRING" size="256"/>
  1124. </ColumnInfo>
  1125. <Rows>
  1126. <Row>
  1127. <Col id="tbooaltdrugcd"/>
  1128. <Col id="drugcd"/>
  1129. <Col id="instcd"/>
  1130. </Row>
  1131. </Rows>
  1132. </Dataset>
  1133. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1134. <ColumnInfo>
  1135. <Column id="srchdrugcd" type="STRING" size="256"/>
  1136. <Column id="srchdrugnm" type="STRING" size="256"/>
  1137. <Column id="srcholddrugcd" type="STRING" size="256"/>
  1138. <Column id="srchdrugtodd" type="STRING" size="256"/>
  1139. </ColumnInfo>
  1140. <Rows>
  1141. <Row>
  1142. <Col id="srchdrugcd"/>
  1143. <Col id="srchdrugnm"/>
  1144. <Col id="srcholddrugcd"/>
  1145. <Col id="srchdrugtodd"/>
  1146. </Row>
  1147. </Rows>
  1148. </Dataset>
  1149. <Dataset id="ds_init_A0600" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1150. <Dataset id="ds_init_A0025" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1151. <Dataset id="ds_init_A0601" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1152. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1153. </Objects>
  1154. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1155. * System Name :
  1156. * Job Name :
  1157. * Creator :
  1158. * Make Date : 2016-07-04
  1159. * Description :
  1160. *---------------------------------------------------------------------------------------
  1161. * Modify Date Modifier Modify Description
  1162. *---------------------------------------------------------------------------------------
  1163. * 2016-07-04 Live Converter TF->XP
  1164. *
  1165. *---------------------------------------------------------------------------------------
  1166. ****************************************************************************************/
  1167. //=======================================================================================
  1168. // Lib Include
  1169. //---------------------------------------------------------------------------------------
  1170. include "com_commonxp::comm_main.xjs"
  1171. //=======================================================================================
  1172. // Global Form Variable
  1173. //---------------------------------------------------------------------------------------
  1174. var arErrorCode = new HashArray();
  1175. var flag = "";
  1176. //=======================================================================================
  1177. // Function
  1178. //---------------------------------------------------------------------------------------
  1179. /****************************************************************************************
  1180. * Argument : N/A
  1181. * Description :
  1182. ****************************************************************************************/
  1183. function call_TRADB00110() {
  1184. var oParam = {};
  1185. oParam.id = "TRADB00110";
  1186. oParam.service = "pharmacybaseapp.DrugCode";
  1187. oParam.method = "reqGetDrugCodeByCase";
  1188. oParam.inds = "req=ds_send_srchinfo";
  1189. oParam.outds = "ds_main_baseinfo_druginfo=druginfo ds_main_baseinfo_adminitem=adminitem ds_main_baseinfo_absninfo=absninfo ds_main_baseinfo_comitem=comitem "
  1190. +"ds_main_baseinfo_efcyitem=efcyitem ds_main_baseinfo_lblitemo=lblitemo ds_main_baseinfo_lblitemi=lblitemi "
  1191. +"ds_main_baseinfo_lbliteml=lbliteml ds_main_baseinfo_atcitemo=atcitemo ds_main_baseinfo_atcitemi=atcitemi "
  1192. +"ds_main_baseinfo_atciteml=atciteml ds_main_baseinfo_absnaltitem=absnaltitem ds_main_baseinfo_powdaltitem=powdaltitem ds_main_baseinfo_tbooaltitem=tbooaltitem";
  1193. oParam.async = false;
  1194. //oParam.callback = "cf_TRADB00110";
  1195. tranf_submit(oParam);
  1196. }
  1197. //=======================================================================================
  1198. // Event
  1199. //---------------------------------------------------------------------------------------
  1200. /****************************************************************************************
  1201. * Components : Form
  1202. * Components ID : SMADB05100
  1203. * Event : oninit
  1204. * Argument : 01.obj : Object Event has occurred
  1205. * : 02.e : Event Object
  1206. * Description : 화면 처음 초기화시 폼초기화
  1207. ****************************************************************************************/
  1208. function SMADB05100_oninit(obj:Form, e:InitEventInfo)
  1209. {
  1210. frmf_initForm(obj); // 폼 초기화
  1211. }
  1212. /****************************************************************************************
  1213. * Components : Form
  1214. * Components ID : SMADB05100
  1215. * Event : onload
  1216. * Argument : 01.obj : Object Event has occurred
  1217. * : 02.e : Event Object
  1218. * Description : 화면 처음 초기화시 폼초기화
  1219. ****************************************************************************************/
  1220. function SMADB05100_onload(obj:Form, e:LoadEventInfo)
  1221. {
  1222. // zbcfGetCodeList( new Array("A0600","A0025","A0601"),new Array("/root/init/baseinfo/absnyn","/root/init/baseinfo/absnresn","/root/init/baseinfo/hosinflag"));
  1223. var arrParam = [{dsNm: "ds_init_A0600", cdGrpId: "A0600"} //root/init/baseinfo/absnyn
  1224. ,{dsNm: "ds_init_A0025", cdGrpId: "A0025"} //root/init/baseinfo/absnresn
  1225. ,{dsNm: "ds_init_A0601", cdGrpId: "A0601"} //root/init/baseinfo/hosinflag
  1226. ]
  1227. var jobkindcd = sysf_getUserInfo("jobkindcd");
  1228. var grupjoblncd = sysf_getUserInfo("grupjoblncd");
  1229. grdf_setGridSort(group3.switch1.prn.grd_CASEPRN);
  1230. grdf_setGridSort(group3.switch1.warn.grd_CASEWARN);
  1231. grdf_setGridSort(group3.switch1.dngr.grd_CASEDNGR);
  1232. grdf_setGridSort(group3.switch1.expn.grd_CASEEXPN);
  1233. grdf_setGridSort(group3.switch1.expninj.grd_CASEEXPNINJ);
  1234. grdf_setGridSort(group3.switch1.tpn.grd_CASETPN);
  1235. grdf_setGridSort(group3.switch1.tdm.grd_CASETDM);
  1236. grdf_setGridSort(group3.switch1.nrord.grd_CASENRORD);
  1237. grdf_setGridSort(group3.switch1.resta.grd_CASERESTA);
  1238. grdf_setGridSort(group3.switch1.pastil.grd_CASEPASTIL);
  1239. grdf_setGridSort(group3.switch1.shad.grd_CASESHAD);
  1240. grdf_setGridSort(group3.switch1.devi.grd_CASEDEVI);
  1241. grdf_setGridSort(group3.switch1.coldstorage.grd_coldstorage);
  1242. grdf_setGridSort(group3.switch1.fd.grd_fd);
  1243. grdf_setGridSort(group3.switch1.pr.grd_pr);
  1244. grdf_setGridSort(group3.switch1.ice.grd_ice);
  1245. btn_save.visible = false;
  1246. if(grupjoblncd == "15") {
  1247. appf_getCodeList(arrParam);
  1248. btn_save.visible = true;
  1249. group3.switch1.tabindex = 0;
  1250. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1251. ds_send_srchinfo.setColumn(0,"srchdrugcd", "prn");
  1252. } else {
  1253. flag = "1";
  1254. //group3.switch1.tabindex = 13;
  1255. group3.switch1.removeChild("prn");
  1256. group3.switch1.removeChild("warn");
  1257. group3.switch1.removeChild("dngr");
  1258. group3.switch1.removeChild("expn");
  1259. group3.switch1.removeChild("expninj");
  1260. group3.switch1.removeChild("tpn");
  1261. group3.switch1.removeChild("tdm");
  1262. group3.switch1.removeChild("nrord");
  1263. group3.switch1.removeChild("resta");
  1264. group3.switch1.removeChild("pastil");
  1265. group3.switch1.removeChild("devi");
  1266. group3.switch1.removeChild("ice");
  1267. /*
  1268. group3.switch1.removeChild("shad");
  1269. group3.switch1.removeChild("coldstorage");
  1270. group3.switch1.removeChild("pr");
  1271. */
  1272. group3.switch1.tabindex = 2;
  1273. group3.btn_save.visible = false;
  1274. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1275. ds_send_srchinfo.setColumn(0,"srchdrugcd", "fd");
  1276. }
  1277. call_TRADB00110();
  1278. }
  1279. /****************************************************************************************
  1280. * Components : Button
  1281. * Components ID : group3.btn_search
  1282. * Event : onclick
  1283. * Argument : 01.obj : Object Event has occurred
  1284. * : 02.e : Event Object
  1285. * Description : 조회
  1286. ****************************************************************************************/
  1287. function group3_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1288. {
  1289. call_TRADB00110();
  1290. }
  1291. /****************************************************************************************
  1292. * Components : Tab
  1293. * Components ID : group3.switch1
  1294. * Event : onchanged
  1295. * Argument : 01.obj : Object Event has occurred
  1296. * : 02.e : Event Object
  1297. * Description : 탭변경시 조회
  1298. ****************************************************************************************/
  1299. function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1300. {
  1301. if(flag == "1") {
  1302. if(obj.tabindex == 0) {
  1303. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1304. ds_send_srchinfo.setColumn(0,"srchdrugcd", "shad");
  1305. } else if(obj.tabindex == 1) {
  1306. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1307. ds_send_srchinfo.setColumn(0,"srchdrugcd", "coldstorage");
  1308. } else if(obj.tabindex == 2) {
  1309. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1310. ds_send_srchinfo.setColumn(0,"srchdrugcd", "fd");
  1311. } else if(obj.tabindex == 3) {
  1312. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1313. ds_send_srchinfo.setColumn(0,"srchdrugcd", "pr");
  1314. }
  1315. /*
  1316. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1317. ds_send_srchinfo.setColumn(0,"srchdrugcd", "fd");
  1318. */
  1319. } else {
  1320. if(obj.tabindex == 0) {
  1321. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1322. ds_send_srchinfo.setColumn(0,"srchdrugcd", "prn");
  1323. } else if(obj.tabindex == 1) {
  1324. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1325. ds_send_srchinfo.setColumn(0,"srchdrugcd", "warn");
  1326. } else if(obj.tabindex == 2) {
  1327. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1328. ds_send_srchinfo.setColumn(0,"srchdrugcd", "dngr");
  1329. } else if(obj.tabindex == 3) {
  1330. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1331. ds_send_srchinfo.setColumn(0,"srchdrugcd", "expn");
  1332. } else if(obj.tabindex == 4) {
  1333. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1334. ds_send_srchinfo.setColumn(0,"srchdrugcd", "expninj");
  1335. } else if(obj.tabindex == 5) {
  1336. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1337. ds_send_srchinfo.setColumn(0,"srchdrugcd", "tpn");
  1338. } else if(obj.tabindex == 6) {
  1339. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1340. ds_send_srchinfo.setColumn(0,"srchdrugcd", "tdm");
  1341. } else if(obj.tabindex == 7) {
  1342. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1343. ds_send_srchinfo.setColumn(0,"srchdrugcd", "nrord");
  1344. } else if(obj.tabindex == 8) {
  1345. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1346. ds_send_srchinfo.setColumn(0,"srchdrugcd", "resta");
  1347. } else if(obj.tabindex == 9) {
  1348. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1349. ds_send_srchinfo.setColumn(0,"srchdrugcd", "pastil");
  1350. } else if(obj.tabindex == 10) {
  1351. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1352. ds_send_srchinfo.setColumn(0,"srchdrugcd", "shad");
  1353. } else if(obj.tabindex == 11) {
  1354. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1355. ds_send_srchinfo.setColumn(0,"srchdrugcd", "devi");
  1356. } else if(obj.tabindex == 12) {
  1357. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1358. ds_send_srchinfo.setColumn(0,"srchdrugcd", "coldstorage");
  1359. } else if(obj.tabindex == 13) {
  1360. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1361. ds_send_srchinfo.setColumn(0,"srchdrugcd", "fd");
  1362. } else if(obj.tabindex == 14) {
  1363. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1364. ds_send_srchinfo.setColumn(0,"srchdrugcd", "pr");
  1365. } else if(obj.tabindex == 15) {
  1366. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1367. ds_send_srchinfo.setColumn(0,"srchdrugcd", "ice");
  1368. }
  1369. }
  1370. call_TRADB00110();
  1371. }
  1372. /****************************************************************************************
  1373. * Components : Button
  1374. * Components ID : group3.btn_excsave
  1375. * Event : onclick
  1376. * Argument : 01.obj : Object Event has occurred
  1377. * : 02.e : Event Object
  1378. * Description :
  1379. ****************************************************************************************/
  1380. function group3_btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  1381. {
  1382. var grdObj;
  1383. if(flag == "1") {
  1384. if(group3.switch1.tabindex == 0) {
  1385. grdObj = group3.switch1.shad.grd_CASESHAD;
  1386. } else if(group3.switch1.tabindex == 1) {
  1387. grdObj = group3.switch1.coldstorage.grd_coldstorage;
  1388. } else if(group3.switch1.tabindex == 2) {
  1389. grdObj = group3.switch1.fd.grd_fd;
  1390. } else if(group3.switch1.tabindex == 3) {
  1391. grdObj = group3.switch1.pr.grd_pr;
  1392. }
  1393. /*
  1394. ds_send_srchinfo.setColumn(0,"srchdrugnm", "tri");
  1395. ds_send_srchinfo.setColumn(0,"srchdrugcd", "fd");
  1396. */
  1397. } else {
  1398. if(group3.switch1.tabindex == 0) grdObj = group3.switch1.prn.grd_CASEPRN;
  1399. else if(group3.switch1.tabindex == 1) grdObj = group3.switch1.warn.grd_CASEWARN;
  1400. else if(group3.switch1.tabindex == 2) grdObj = group3.switch1.dngr.grd_CASEDNGR;
  1401. else if(group3.switch1.tabindex == 3) grdObj = group3.switch1.expn.grd_CASEEXPN;
  1402. else if(group3.switch1.tabindex == 4) grdObj = group3.switch1.expninj.grd_CASEEXPNINJ;
  1403. else if(group3.switch1.tabindex == 5) grdObj = group3.switch1.tpn.grd_CASETPN;
  1404. else if(group3.switch1.tabindex == 6) grdObj = group3.switch1.tdm.grd_CASETDM;
  1405. else if(group3.switch1.tabindex == 7) grdObj = group3.switch1.nrord.grd_CASENRORD;
  1406. else if(group3.switch1.tabindex == 8) grdObj = group3.switch1.resta.grd_CASERESTA;
  1407. else if(group3.switch1.tabindex == 9) grdObj = group3.switch1.pastil.grd_CASEPASTIL;
  1408. else if(group3.switch1.tabindex == 10) grdObj = group3.switch1.shad.grd_CASESHAD;
  1409. else if(group3.switch1.tabindex == 11) grdObj = group3.switch1.devi.grd_CASEDEVI;
  1410. else if(group3.switch1.tabindex == 12) grdObj = group3.switch1.coldstorage.grd_coldstorage;
  1411. else if(group3.switch1.tabindex == 13) grdObj = group3.switch1.fd.grd_fd;
  1412. else if(group3.switch1.tabindex == 14) grdObj = group3.switch1.pr.grd_pr;
  1413. }
  1414. if( objects[grdObj.binddataset].rowcount > 0 ){
  1415. grdf_exportExcel(grdObj, "약품목록", "약품목록", false, "", "user", false);
  1416. } else {
  1417. sysf_messageBox("조회된 데이터가 ", "I004");
  1418. }
  1419. }
  1420. function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1421. {
  1422. var oDsUpdate = grdf_getGridUpdateData(group3.switch1.prn.grd_CASEPRN);
  1423. if( oDsUpdate.rowcount < 1 ){
  1424. sysf_messageBox("입력","E013");
  1425. return;
  1426. }
  1427. grdf_setStatusColumn(oDsUpdate, "m"); // 각행의 status에 rowType 값에 따라 'i', 'u', 'd'로 업데이트 시켜준다
  1428. ds_send_req.copyData(oDsUpdate, true);
  1429. var oParam = {};
  1430. oParam.id = "TXADB05101";
  1431. oParam.service = "pharmacybaseapp.DrugCode";
  1432. oParam.method = "reqExeDrugCodeInfo";
  1433. oParam.inds = "req=ds_send_req";
  1434. oParam.outds = "ds_hidden_rslt=item";
  1435. oParam.async = false;
  1436. oParam.callback = "cf_TXADB05101";
  1437. tranf_submit(oParam);
  1438. }
  1439. ]]></Script>
  1440. </Form>
  1441. </FDL>