SMADB02100_약품식별마스터.xfdl 104 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADB02100" position="absolute 0 0 1194 786" titletext="약품식별마스터" oninit="SMADB02100_oninit" onload="SMADB02100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1194 785" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <ImageViewer position="absolute 480 355 481 465" id="img_hidden" visible="false" anchor="left bottom"/>
  11. <ImageViewer position="absolute 770 475 788 490" id="img_phot_hidden" visible="false" anchor="left bottom"/>
  12. <ImageViewer position="absolute 475 657 603 742" id="img_shape2_hidden" anchor="left bottom"/>
  13. <ImageViewer position="absolute 475 517 603 602" id="img_shape1_hidden" anchor="left bottom"/>
  14. <Shape position="absolute 5 669 465 675" linetype="horizontal" id="line8" class="line_2" anchor="left bottom"/>
  15. <Button position="absolute 445 650 461 666" id="button1" class="icon_search" text="" anchor="left bottom" onclick="group3_button1_onclick"/>
  16. <Shape position="absolute 5 740 465 746" linetype="horizontal" id="line9" class="line_2" anchor="left bottom"/>
  17. <Shape position="absolute 796 766 1193 772" linetype="horizontal" id="line21" class="line_3" anchor="left right bottom"/>
  18. <Shape position="absolute 5 546 465 552" linetype="horizontal" id="line10" class="line_2" anchor="left bottom"/>
  19. <Shape position="absolute 796 714 1190 720" linetype="horizontal" id="line22" class="line_2" anchor="left right bottom"/>
  20. <Shape position="absolute 475 345 788 351" linetype="horizontal" id="line11" class="line_1" anchor="left bottom"/>
  21. <Shape position="absolute 796 662 1190 668" linetype="horizontal" id="line23" class="line_2" anchor="left right bottom"/>
  22. <Edit position="absolute 896 694 1191 713" id="input10" class="input_search" anchor="left right bottom"/>
  23. <Static text="뒤" position="absolute 898 624 913 639" align="align:center middle;" id="caption20" anchor="left bottom"/>
  24. <Shape position="absolute 796 345 1190 351" linetype="horizontal" id="line12" class="line_1" anchor="left right bottom" style="border:0 none #808080ff ;"/>
  25. <Edit position="absolute 896 720 1191 739" id="input11" class="input_search" anchor="left right bottom"/>
  26. <Shape position="absolute 796 688 1190 694" linetype="horizontal" id="line24" class="line_2" anchor="left right bottom"/>
  27. <Static text="앞" position="absolute 898 648 913 663" align="align:center middle;" id="caption21" anchor="left bottom"/>
  28. <Edit position="absolute 896 746 1191 765" id="input12" class="input_search" anchor="left right bottom"/>
  29. <Shape position="absolute 796 740 1190 746" linetype="horizontal" id="line25" class="line_2" anchor="left right bottom"/>
  30. <Static text="단축" position="absolute 796 692 891 715" align="align:center middle;" id="caption22" class="cell_1" anchor="left bottom"/>
  31. <Shape position="absolute 473 766 786 772" linetype="horizontal" id="line14" class="line_3" anchor="left bottom"/>
  32. <Static text="장축" position="absolute 796 718 891 741" align="align:center middle;" id="caption23" class="cell_1" anchor="left bottom"/>
  33. <Shape position="absolute 475 601 788 607" linetype="horizontal" id="line15" class="line_2" anchor="left bottom"/>
  34. <Button position="absolute 370 353 386 369" id="button61" class="icon_search" text="" anchor="left bottom" onclick="group3_button61_onclick"/>
  35. <Static text="두께" position="absolute 796 744 891 767" align="align:center middle;" id="caption24" class="cell_1" anchor="left bottom"/>
  36. <Shape position="absolute 475 629 788 635" linetype="horizontal" id="line16" class="line_2" anchor="left bottom"/>
  37. <Button position="absolute 815 74 917 96" id="button51" class="btn7" text="검색약품엑셀" anchor="top right" onclick="group3_button51_onclick"/>
  38. <Combo position="absolute 896 668 1191 687" id="combo4" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left right bottom">
  39. <Dataset id="innerdataset">
  40. <ColumnInfo>
  41. <Column id="codecolumn"/>
  42. <Column id="datacolumn"/>
  43. </ColumnInfo>
  44. <Rows>
  45. <Row>
  46. <Col id="codecolumn">1</Col>
  47. <Col id="datacolumn">원형</Col>
  48. </Row>
  49. <Row>
  50. <Col id="codecolumn">2</Col>
  51. <Col id="datacolumn">타원형</Col>
  52. </Row>
  53. <Row>
  54. <Col id="codecolumn">3</Col>
  55. <Col id="datacolumn">삼각형</Col>
  56. </Row>
  57. <Row>
  58. <Col id="codecolumn">4</Col>
  59. <Col id="datacolumn">사각형</Col>
  60. </Row>
  61. <Row>
  62. <Col id="codecolumn">5</Col>
  63. <Col id="datacolumn">육각형</Col>
  64. </Row>
  65. <Row>
  66. <Col id="codecolumn">6</Col>
  67. <Col id="datacolumn">팔각형</Col>
  68. </Row>
  69. <Row>
  70. <Col id="codecolumn">7</Col>
  71. <Col id="datacolumn">반원형</Col>
  72. </Row>
  73. <Row>
  74. <Col id="codecolumn">8</Col>
  75. <Col id="datacolumn">마름모형</Col>
  76. </Row>
  77. <Row>
  78. <Col id="codecolumn">9</Col>
  79. <Col id="datacolumn">장방형</Col>
  80. </Row>
  81. <Row>
  82. <Col id="codecolumn">10</Col>
  83. <Col id="datacolumn">오각형</Col>
  84. </Row>
  85. <Row>
  86. <Col id="codecolumn">11</Col>
  87. <Col id="datacolumn">기타</Col>
  88. </Row>
  89. </Rows>
  90. </Dataset>
  91. </Combo>
  92. <Static text="색상" position="absolute 796 350 891 619" align="align:center middle;" id="caption14" class="cell_1" anchor="left bottom"/>
  93. <Radio position="absolute 922 620 1098 640" id="radio1" class="radio_search" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left bottom">
  94. <Dataset id="innerdataset">
  95. <ColumnInfo>
  96. <Column id="codecolumn"/>
  97. <Column id="datacolumn"/>
  98. </ColumnInfo>
  99. <Rows>
  100. <Row>
  101. <Col id="codecolumn">0</Col>
  102. <Col id="datacolumn">없음</Col>
  103. </Row>
  104. <Row>
  105. <Col id="codecolumn">1</Col>
  106. <Col id="datacolumn">- 형</Col>
  107. </Row>
  108. <Row>
  109. <Col id="codecolumn">2</Col>
  110. <Col id="datacolumn">+ 형</Col>
  111. </Row>
  112. <Row>
  113. <Col id="codecolumn">3</Col>
  114. <Col id="datacolumn">기타</Col>
  115. </Row>
  116. </Rows>
  117. </Dataset>
  118. </Radio>
  119. <Shape position="absolute 475 741 788 747" linetype="horizontal" id="line17" class="line_2" anchor="left bottom"/>
  120. <Shape position="absolute 5 345 465 351" linetype="horizontal" id="line1" class="line_1" anchor="left bottom"/>
  121. <Shape position="absolute 796 618 1190 624" linetype="horizontal" id="line18" class="line_2" anchor="left right bottom"/>
  122. <Shape position="absolute 5 766 465 772" linetype="horizontal" id="line2" class="line_3" anchor="left bottom"/>
  123. <Shape position="absolute 796 640 1190 646" linetype="horizontal" id="line19" class="line_2" anchor="left right bottom"/>
  124. <Radio position="absolute 922 644 1098 664" id="radio3" class="radio_search" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left bottom">
  125. <Dataset id="innerdataset">
  126. <ColumnInfo>
  127. <Column id="codecolumn"/>
  128. <Column id="datacolumn"/>
  129. </ColumnInfo>
  130. <Rows>
  131. <Row>
  132. <Col id="codecolumn">0</Col>
  133. <Col id="datacolumn">없음</Col>
  134. </Row>
  135. <Row>
  136. <Col id="codecolumn">1</Col>
  137. <Col id="datacolumn">- 형</Col>
  138. </Row>
  139. <Row>
  140. <Col id="codecolumn">2</Col>
  141. <Col id="datacolumn">+ 형</Col>
  142. </Row>
  143. <Row>
  144. <Col id="codecolumn">3</Col>
  145. <Col id="datacolumn">기타</Col>
  146. </Row>
  147. </Rows>
  148. </Dataset>
  149. </Radio>
  150. <Shape position="absolute 5 398 465 399" linetype="horizontal" id="line3" class="line_2" anchor="left bottom"/>
  151. <Static text="검색결과" position="absolute 5 329 100 345" id="caption7" class="tit_2" anchor="left bottom"/>
  152. <Static text="분할선" position="absolute 796 622 891 663" align="align:center middle;" id="caption17" class="cell_1" anchor="left bottom"/>
  153. <Shape position="absolute 5 494 465 500" linetype="horizontal" id="line4" class="line_2" anchor="left bottom"/>
  154. <Static text="모양" position="absolute 796 666 891 689" align="align:center middle;" id="caption18" class="cell_1" anchor="left bottom"/>
  155. <Shape position="absolute 5 520 465 526" linetype="horizontal" id="line5" class="line_2" anchor="left bottom"/>
  156. <Shape position="absolute 475 489 788 495" linetype="horizontal" id="line6" class="line_2" anchor="left bottom"/>
  157. <Shape position="absolute 5 643 465 649" linetype="horizontal" id="line7" class="line_2" anchor="left bottom"/>
  158. <Grid position="absolute 895 350 1190 619" id="grd_color" binddataset="ds_hidden_colorlist" anchor="left right bottom" autofittype="col" selecttype="cell">
  159. <Formats>
  160. <Format id="default">
  161. <Columns>
  162. <Column size="44"/>
  163. <Column size="0"/>
  164. <Column size="90"/>
  165. <Column size="140"/>
  166. </Columns>
  167. <Rows>
  168. <Row size="24" band="head"/>
  169. <Row size="24"/>
  170. </Rows>
  171. <Band id="head">
  172. <Cell text="선택"/>
  173. <Cell col="1" text="색상"/>
  174. <Cell col="2" text="색상명"/>
  175. <Cell col="3" text="색상"/>
  176. </Band>
  177. <Band id="body">
  178. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  179. <Cell col="1" text="bind:color"/>
  180. <Cell col="2" text="bind:colornm"/>
  181. <Cell col="3" style="background:EXPR(color == '1' ? &quot;#ffffff&quot; : (color == '2' ? &quot;#ff6600&quot; : (color == '3' ? &quot;#ffff00&quot; : (color == '4' ? &quot;#ff99cc&quot; : (color == '5' ? &quot;#ff0000&quot; : (color == '6' ? &quot;#ff00ff&quot; : (color == '7' ? &quot;#00ff00&quot; : (color == '8' ? &quot;#0000ff&quot; : (color == '9' ? &quot;#993300&quot; : (color == '10' ? &quot;#c0c0c0&quot; : (color == '11' ? &quot;#000000&quot; : (color == '12' ? &quot;#ccffcc&quot; : (color == '13' ? &quot;#008080&quot; : (color == '14' ? &quot;#000080&quot; : (color == '15' ? &quot;#800000&quot; : &quot;&quot;)))))))))))))));background2:EXPR(color == '1' ? &quot;#ffffff&quot; : (color == '2' ? &quot;#ff6600&quot; : (color == '3' ? &quot;#ffff00&quot; : (color == '4' ? &quot;#ff99cc&quot; : (color == '5' ? &quot;#ff0000&quot; : (color == '6' ? &quot;#ff00ff&quot; : (color == '7' ? &quot;#00ff00&quot; : (color == '8' ? &quot;#0000ff&quot; : (color == '9' ? &quot;#993300&quot; : (color == '10' ? &quot;#c0c0c0&quot; : (color == '11' ? &quot;#000000&quot; : (color == '12' ? &quot;#ccffcc&quot; : (color == '13' ? &quot;#008080&quot; : (color == '14' ? &quot;#000080&quot; : (color == '15' ? &quot;#800000&quot; : &quot;&quot;)))))))))))))));selectbackground: ;" text="bind:colorval"/>
  182. </Band>
  183. </Format>
  184. </Formats>
  185. </Grid>
  186. <Grid position="absolute 0 101 1194 320" id="grd_drugid" binddataset="ds_main_drugitem_drugidlist" anchor="all" cellsizingtype="both" oncelldblclick="group3_grd_drugid_oncelldblclick" oncellclick="group3_grd_drugid_oncellclick">
  187. <Formats>
  188. <Format id="default">
  189. <Columns>
  190. <Column size="25"/>
  191. <Column size="0"/>
  192. <Column size="100"/>
  193. <Column size="160"/>
  194. <Column size="160"/>
  195. <Column size="170"/>
  196. <Column size="180"/>
  197. <Column size="120"/>
  198. <Column size="100"/>
  199. <Column size="100"/>
  200. <Column size="100"/>
  201. <Column size="100"/>
  202. <Column size="50"/>
  203. <Column size="0"/>
  204. <Column size="0"/>
  205. <Column size="62"/>
  206. <Column size="50"/>
  207. <Column size="50"/>
  208. <Column size="50"/>
  209. <Column size="50"/>
  210. <Column size="80"/>
  211. <Column size="80"/>
  212. <Column size="80"/>
  213. <Column size="80"/>
  214. <Column size="60"/>
  215. <Column size="60"/>
  216. </Columns>
  217. <Rows>
  218. <Row size="24" band="head"/>
  219. <Row size="24"/>
  220. </Rows>
  221. <Band id="head">
  222. <Cell/>
  223. <Cell col="1" text="idcd"/>
  224. <Cell col="2" text="약품코드"/>
  225. <Cell col="3" text="한글약품명"/>
  226. <Cell col="4" text="영문약품명"/>
  227. <Cell col="5" text="성분 및 함량"/>
  228. <Cell col="6" text="효능 및 효과"/>
  229. <Cell col="7" text="본원사용여부"/>
  230. <Cell col="8" text="제형이름"/>
  231. <Cell col="9" text="동효약"/>
  232. <Cell col="10" text="동종약"/>
  233. <Cell col="11" text="제약회사"/>
  234. <Cell col="12" text="사진"/>
  235. <Cell col="13" text="phot"/>
  236. <Cell col="14" text="색상"/>
  237. <Cell col="15" text="색상명"/>
  238. <Cell col="16" text="문자1"/>
  239. <Cell col="17" text="문자2"/>
  240. <Cell col="18" text="문양1"/>
  241. <Cell col="19" text="문양2"/>
  242. <Cell col="20" text="모양"/>
  243. <Cell col="21" text="장축"/>
  244. <Cell col="22" text="단축"/>
  245. <Cell col="23" text="두께"/>
  246. <Cell col="24" text="분할선뒤"/>
  247. <Cell col="25" text="분할선앞"/>
  248. </Band>
  249. <Band id="body">
  250. <Cell celltype="head" expr="expr:currow+1"/>
  251. <Cell col="1" text="bind:idcd"/>
  252. <Cell col="2" style="align:left middle;padding:0 3 0 3;" text="bind:drugcd"/>
  253. <Cell col="3" style="align:left middle;padding:0 3 0 3;" text="bind:hngnm"/>
  254. <Cell col="4" style="align:left middle;padding:0 3 0 3;" text="bind:engnm"/>
  255. <Cell col="5" style="align:left middle;padding:0 3 0 3;" text="bind:comcnts"/>
  256. <Cell col="6" style="align:left middle;padding:0 3 0 3;" text="bind:efcysmm"/>
  257. <Cell col="7" displaytype="combo" edittype="combo" style="align:left middle;padding:0 3 0 3;" text="bind:useyn" combodataset="ds_init_A0635" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  258. <Cell col="8" displaytype="combo" edittype="combo" style="align:left middle;padding:0 3 0 3;" text="bind:drugtype" combodataset="ds_cmb_drugtype" combocodecol="value" combodatacol="label" enable="false"/>
  259. <Cell col="9" style="align:left middle;padding:0 3 0 3;" text="bind:samedrug"/>
  260. <Cell col="10" style="align:left middle;padding:0 3 0 3;" text="bind:homodrugflag"/>
  261. <Cell col="11" style="align:left middle;padding:0 3 0 3;" text="bind:prodcmpynm"/>
  262. <Cell col="12" displaytype="checkbox" edittype="checkbox" style="align:center middle;padding:0 3 0 3;" text="bind:photyn" enable="false"/>
  263. <Cell col="13" style="align:left middle;padding:0 3 0 3;" text="bind:phot"/>
  264. <Cell col="14" style="align:left middle;padding:0 3 0 3;" text="bind:color"/>
  265. <Cell col="15" style="align:center middle;padding:0 3 0 3;" text="bind:colornm"/>
  266. <Cell col="16" style="align:center middle;padding:0 3 0 3;" text="bind:char1"/>
  267. <Cell col="17" style="align:center middle;padding:0 3 0 3;" text="bind:char2"/>
  268. <Cell col="18" style="align:center middle;padding:0 3 0 3;" text="bind:shape1"/>
  269. <Cell col="19" style="align:center middle;padding:0 3 0 3;" text="bind:shape2"/>
  270. <Cell col="20" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:shapecd" combodataset="ds_cmb_shapecd" combocodecol="value" combodatacol="label" enable="false"/>
  271. <Cell col="21" style="align:right middle;padding:0 3 0 3;" text="bind:longax"/>
  272. <Cell col="22" style="align:right middle;padding:0 3 0 3;" text="bind:shrtax"/>
  273. <Cell col="23" style="align:right middle;padding:0 3 0 3;" text="bind:thick"/>
  274. <Cell col="24" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:divline1" combodataset="ds_cmb_divline1" combocodecol="value" combodatacol="label" enable="false"/>
  275. <Cell col="25" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:divline2" combodataset="ds_cmb_divline2" combocodecol="value" combodatacol="label" enable="false"/>
  276. </Band>
  277. </Format>
  278. </Formats>
  279. </Grid>
  280. <Edit readonly="true" position="absolute 210 326 310 345" id="output1" visible="false" anchor="left bottom"/>
  281. <Edit readonly="true" position="absolute 105 326 205 345" id="output2" visible="false" anchor="left bottom"/>
  282. <ImageViewer position="absolute 475 350 476 466" id="img_phot" visible="false" anchor="left bottom"/>
  283. <Button position="absolute 210 745 226 761" id="button3" class="icon_search" text="" anchor="left bottom" onclick="group3_button3_onclick"/>
  284. <Button position="absolute 655 471 741 490" id="btn_img" class="btn2" text="사진불러오기" anchor="left bottom" onclick="group3_btn_img_onclick"/>
  285. <Button position="absolute 745 471 787 490" id="btn_delimg" class="btn2" text="삭제" anchor="left bottom" onclick="group3_btn_delimg_onclick"/>
  286. <Button position="absolute 610 608 696 627" id="btn_shape1" class="btn2" text="문양불러오기" anchor="left bottom" onclick="group3_btn_shape1_onclick"/>
  287. <Button position="absolute 700 608 742 627" id="btn_delshape1" class="btn2" text="삭제" anchor="left bottom" onclick="group3_btn_delshape1_onclick"/>
  288. <Button position="absolute 610 746 696 765" id="btn_shape2" class="btn2" text="문양불러오기" anchor="left bottom" onclick="group3_btn_shape2_onclick"/>
  289. <Button position="absolute 700 746 742 765" id="btn_delshape2" class="btn2" text="삭제" anchor="left bottom" onclick="group3_btn_delshape2_onclick"/>
  290. <Button position="absolute 1122 323 1190 345" id="button12" class="btn4" text="초기화" anchor="right bottom" onclick="group3_button12_onclick"/>
  291. <Button position="absolute 1004 323 1060 345" id="btn_upd" class="btn4" text="수정" anchor="right bottom" onclick="group3_btn_upd_onclick"/>
  292. <Button position="absolute 1063 323 1119 345" id="btn_del" class="btn4" text="삭제" anchor="right bottom" onclick="group3_btn_del_onclick"/>
  293. <Button position="absolute 921 323 1001 345" id="btn_save" class="btn4" visible="true" text="신규입력" anchor="right bottom" onclick="group3_btn_save_onclick"/>
  294. <Grid position="absolute 5 237 310 302" id="grd_com" visible="false" binddataset="ds_temp_cominfo" anchor="default">
  295. <Formats>
  296. <Format id="default">
  297. <Columns>
  298. <Column size="100"/>
  299. <Column size="100"/>
  300. <Column size="100"/>
  301. </Columns>
  302. <Rows>
  303. <Row size="24" band="head"/>
  304. <Row size="24"/>
  305. </Rows>
  306. <Band id="head">
  307. <Cell text="comcd"/>
  308. <Cell col="1" text="comexcd"/>
  309. <Cell col="2" text="comnm"/>
  310. </Band>
  311. <Band id="body">
  312. <Cell text="bind:comcd"/>
  313. <Cell col="1" text="bind:comexcd"/>
  314. <Cell col="2" text="bind:comnm"/>
  315. </Band>
  316. </Format>
  317. </Formats>
  318. </Grid>
  319. <Button position="absolute 1092 74 1194 96" id="button2" class="btn7" text="전체약품엑셀" anchor="top right" onclick="group3_button2_onclick"/>
  320. <MaskEdit position="absolute 977 77 1022 96" align="align:center middle;" id="input1" mask="#,###" anchor="top right"/>
  321. <MaskEdit position="absolute 1042 77 1087 96" align="align:center middle;" id="input6" mask="#,###" anchor="top right"/>
  322. <Static text="~" position="absolute 1027 78 1042 98" id="caption30" anchor="top right"/>
  323. <Static text="구간:" position="absolute 939 78 974 98" id="caption31" anchor="top right"/>
  324. <Grid position="absolute 755 210 1194 300" id="datagrid_exl" visible="false" binddataset="ds_temp_drugitem_drugidlist" anchor="default">
  325. <Formats>
  326. <Format id="default">
  327. <Columns>
  328. <Column size="57"/>
  329. <Column size="52"/>
  330. <Column size="100"/>
  331. <Column size="100"/>
  332. <Column size="100"/>
  333. <Column size="100"/>
  334. <Column size="100"/>
  335. <Column size="100"/>
  336. <Column size="100"/>
  337. <Column size="100"/>
  338. <Column size="100"/>
  339. <Column size="100"/>
  340. <Column size="100"/>
  341. <Column size="100"/>
  342. <Column size="100"/>
  343. <Column size="100"/>
  344. <Column size="100"/>
  345. <Column size="100"/>
  346. <Column size="100"/>
  347. <Column size="100"/>
  348. <Column size="100"/>
  349. <Column size="100"/>
  350. <Column size="100"/>
  351. <Column size="100"/>
  352. <Column size="100"/>
  353. <Column size="100"/>
  354. <Column size="100"/>
  355. <Column size="100"/>
  356. <Column size="100"/>
  357. <Column size="100"/>
  358. <Column size="100"/>
  359. <Column size="100"/>
  360. <Column size="100"/>
  361. <Column size="100"/>
  362. <Column size="100"/>
  363. <Column size="100"/>
  364. </Columns>
  365. <Rows>
  366. <Row size="24" band="head"/>
  367. <Row size="24"/>
  368. </Rows>
  369. <Band id="head">
  370. <Cell text="RowSeq"/>
  371. <Cell col="1" text="idcd"/>
  372. <Cell col="2" text="drugcd"/>
  373. <Cell col="3" text="comcnts"/>
  374. <Cell col="4" text="hngnm"/>
  375. <Cell col="5" text="engnm"/>
  376. <Cell col="6" text="efcysmm"/>
  377. <Cell col="7" text="drugtype"/>
  378. <Cell col="8" text="homodrugflag"/>
  379. <Cell col="9" text="prodcmpycd"/>
  380. <Cell col="10" text="prodcmpynm"/>
  381. <Cell col="11" text="samedrug"/>
  382. <Cell col="12" text="color"/>
  383. <Cell col="13" text="divline1"/>
  384. <Cell col="14" text="divline2"/>
  385. <Cell col="15" text="shapecd"/>
  386. <Cell col="16" text="char1"/>
  387. <Cell col="17" text="char2"/>
  388. <Cell col="18" text="shape1"/>
  389. <Cell col="19" text="shape2"/>
  390. <Cell col="20" text="shrtax"/>
  391. <Cell col="21" text="longax"/>
  392. <Cell col="22" text="thick"/>
  393. <Cell col="23" text="photoid"/>
  394. <Cell col="24" text="atccode"/>
  395. <Cell col="25" text="useyn"/>
  396. <Cell col="26" text="fstrgstrid"/>
  397. <Cell col="27" text="fstrgstdt"/>
  398. <Cell col="28" text="lastupdtrid"/>
  399. <Cell col="29" text="lastupdtdt"/>
  400. <Cell col="30" text="edicode"/>
  401. <Cell col="31" text="srchchar1"/>
  402. <Cell col="32" text="srchchar2"/>
  403. <Cell col="33" text="yakpum_cd"/>
  404. <Cell col="34" text="kd_cd"/>
  405. <Cell col="35" text="orgidx"/>
  406. </Band>
  407. <Band id="body">
  408. <Cell text="bind:rowseq"/>
  409. <Cell col="1" text="bind:idcd"/>
  410. <Cell col="2" text="bind:drugcd"/>
  411. <Cell col="3" text="bind:comcnts"/>
  412. <Cell col="4" text="bind:hngnm"/>
  413. <Cell col="5" text="bind:engnm"/>
  414. <Cell col="6" text="bind:efcysmm"/>
  415. <Cell col="7" text="bind:drugtype"/>
  416. <Cell col="8" text="bind:homodrugflag"/>
  417. <Cell col="9" text="bind:prodcmpycd"/>
  418. <Cell col="10" text="bind:prodcmpynm"/>
  419. <Cell col="11" text="bind:samedrug"/>
  420. <Cell col="12" text="bind:color"/>
  421. <Cell col="13" text="bind:divline1"/>
  422. <Cell col="14" text="bind:divline2"/>
  423. <Cell col="15" text="bind:shapecd"/>
  424. <Cell col="16" text="bind:char1"/>
  425. <Cell col="17" text="bind:char2"/>
  426. <Cell col="18" text="bind:shape1"/>
  427. <Cell col="19" text="bind:shape2"/>
  428. <Cell col="20" text="bind:shrtax"/>
  429. <Cell col="21" text="bind:longax"/>
  430. <Cell col="22" text="bind:thick"/>
  431. <Cell col="23" text="bind:photoid"/>
  432. <Cell col="24" text="bind:atccode"/>
  433. <Cell col="25" text="bind:useyn"/>
  434. <Cell col="26" text="bind:fstrgstrid"/>
  435. <Cell col="27" text="bind:fstrgstdt" mask="####-##-## ##:##:## "/>
  436. <Cell col="28" text="bind:lastupdtrid"/>
  437. <Cell col="29" text="bind:lastupdtdt" mask="####-##-## ##:##:## "/>
  438. <Cell col="30" text="bind:edicode"/>
  439. <Cell col="31" text="bind:srchchar1"/>
  440. <Cell col="32" text="bind:srchchar2"/>
  441. <Cell col="33" text="bind:yakpum_cd"/>
  442. <Cell col="34" text="bind:kd_cd"/>
  443. <Cell col="35" text="bind:orgidx"/>
  444. </Band>
  445. </Format>
  446. </Formats>
  447. </Grid>
  448. <Static text="성분 및 함량" position="absolute 5 376 100 495" align="align:center middle;" id="caption1" class="cell_1" anchor="left bottom"/>
  449. <Static text="한글상품명" position="absolute 5 498 100 521" align="align:center middle;" id="caption3" class="cell_1" anchor="left bottom"/>
  450. <Static text="영문상품명" position="absolute 5 524 100 547" align="align:center middle;" id="caption4" class="cell_1" anchor="left bottom"/>
  451. <Static text="효능 및 효과" position="absolute 5 550 100 644" align="align:center middle;" id="caption5" class="cell_1" anchor="left bottom"/>
  452. <Static text="제형" position="absolute 5 647 100 670" align="align:center middle;" id="caption6" class="cell_1" anchor="left bottom"/>
  453. <Static text="제약회사" position="absolute 230 647 325 670" align="align:center middle;" id="caption8" class="cell_1" anchor="left bottom"/>
  454. <Static text="동효약" position="absolute 5 673 100 741" align="align:center middle;" id="caption9" class="cell_1" anchor="left bottom"/>
  455. <Static text="성분ATC코드" position="absolute 5 744 100 767" align="align:center middle;" id="caption25" class="cell_1" anchor="left bottom"/>
  456. <Static text="본원사용여부" position="absolute 230 744 325 767" align="align:center middle;" id="caption27" class="cell_1" anchor="left bottom"/>
  457. <Static text="동종약" position="absolute 230 673 325 741" align="align:center middle;" id="caption10" class="cell_1" anchor="left bottom"/>
  458. <ImageViewer position="absolute 475 657 603 742" id="img_shape2" anchor="left bottom" stretch="fixaspectratio" onclick="group3_img_shape2_onclick"/>
  459. <ImageViewer position="absolute 475 517 603 602" id="img_shape1" anchor="left bottom" stretch="fixaspectratio" onclick="group3_img_shape1_onclick"/>
  460. <Edit position="absolute 475 746 603 765" id="ipt_shape2" class="input_search" anchor="left bottom"/>
  461. <Static text="문양 1" position="absolute 475 493 603 516" align="align:center middle;" id="caption11" class="cell_1" anchor="left bottom"/>
  462. <Static text="문자 1" position="absolute 608 493 788 516" align="align:center middle;" id="caption13" class="cell_1" anchor="left bottom"/>
  463. <Static text="문자 2" position="absolute 608 633 788 656" align="align:center middle;" id="caption15" class="cell_1" anchor="left bottom"/>
  464. <Static text="문양 2" position="absolute 475 633 603 656" align="align:center middle;" id="caption16" class="cell_1" anchor="left bottom"/>
  465. <TextArea position="absolute 608 517 788 602" id="textarea3" anchor="left bottom"/>
  466. <TextArea position="absolute 608 657 788 742" id="textarea4" anchor="left bottom"/>
  467. <Edit position="absolute 475 607 603 626" id="ipt_shape1" class="input_search" anchor="left bottom"/>
  468. <TextArea position="absolute 330 674 465 740" id="input9" class="input_search" anchor="left bottom"/>
  469. <Edit position="absolute 105 746 200 765" id="input5" anchor="left bottom"/>
  470. <Combo position="absolute 330 746 465 765" id="cmb_useyn" class="combo_search" innerdataset="@ds_init_A0635" datacolumn="cdnm" codecolumn="cdid" anchor="left bottom"/>
  471. <TextArea position="absolute 105 674 225 740" id="input7" class="input_search" anchor="left bottom"/>
  472. <Combo position="absolute 105 649 225 668" id="combo3" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left bottom">
  473. <Dataset id="innerdataset">
  474. <ColumnInfo>
  475. <Column id="codecolumn"/>
  476. <Column id="datacolumn"/>
  477. </ColumnInfo>
  478. <Rows>
  479. <Row>
  480. <Col id="codecolumn">10</Col>
  481. <Col id="datacolumn">나정</Col>
  482. </Row>
  483. <Row>
  484. <Col id="codecolumn">11</Col>
  485. <Col id="datacolumn">필름코팅정</Col>
  486. </Row>
  487. <Row>
  488. <Col id="codecolumn">12</Col>
  489. <Col id="datacolumn">설하정</Col>
  490. </Row>
  491. <Row>
  492. <Col id="codecolumn">13</Col>
  493. <Col id="datacolumn">붕해(현탁)정</Col>
  494. </Row>
  495. <Row>
  496. <Col id="codecolumn">14</Col>
  497. <Col id="datacolumn">당의정</Col>
  498. </Row>
  499. <Row>
  500. <Col id="codecolumn">15</Col>
  501. <Col id="datacolumn">다층정</Col>
  502. </Row>
  503. <Row>
  504. <Col id="codecolumn">16</Col>
  505. <Col id="datacolumn">트로키정</Col>
  506. </Row>
  507. <Row>
  508. <Col id="codecolumn">17</Col>
  509. <Col id="datacolumn">저작정</Col>
  510. </Row>
  511. <Row>
  512. <Col id="codecolumn">18</Col>
  513. <Col id="datacolumn">기타</Col>
  514. </Row>
  515. <Row>
  516. <Col id="codecolumn">19</Col>
  517. <Col id="datacolumn">장용정</Col>
  518. </Row>
  519. <Row>
  520. <Col id="codecolumn">2</Col>
  521. <Col id="datacolumn">경질캡슐</Col>
  522. </Row>
  523. <Row>
  524. <Col id="codecolumn">3</Col>
  525. <Col id="datacolumn">연질캡슐</Col>
  526. </Row>
  527. </Rows>
  528. </Dataset>
  529. </Combo>
  530. <TextArea position="absolute 105 378 465 493" id="textarea1" anchor="left bottom"/>
  531. <Edit position="absolute 105 352 365 371" id="input2" class="input_search" anchor="left bottom"/>
  532. <TextArea position="absolute 105 552 465 643" id="textarea2" anchor="left bottom"/>
  533. <Edit position="absolute 105 500 465 519" id="input3" class="input_search" anchor="left bottom"/>
  534. <Edit position="absolute 105 526 465 545" id="input4" class="input_search" anchor="left bottom"/>
  535. <Edit position="absolute 330 649 440 668" id="ipt_prodcmpynm" class="input_search" anchor="left bottom"/>
  536. <Shape id="line00" class="line_2" position="absolute 5 372 465 378" anchor="left bottom"/>
  537. <Static text="약품코드" position="absolute 5 350 100 373" align="align:center middle;" id="caption12" class="cell_1" anchor="left bottom"/>
  538. <ImageViewer id="Base64_Preview1" taborder="1" position="absolute 476 350 789 465" stretch="fixaspectratio" anchor="left bottom" imagealign="left middle"/>
  539. <Shape id="line13" class="line_1" position="absolute 0 96 1194 102" anchor="left top right"/>
  540. <Shape id="line20" class="line_1" position="absolute 0 95 1194 101" anchor="left top right"/>
  541. <Shape id="line26" class="line_1" position="absolute 0 97 1194 103" anchor="left top right"/>
  542. <Shape id="line27" class="line_1" position="absolute 796 344 1190 350" anchor="left right bottom" style="border:0 none #808080ff ;"/>
  543. <Shape id="line28" class="line_1" position="absolute 475 344 788 350" anchor="left bottom"/>
  544. <Shape id="line29" class="line_1" position="absolute 5 344 465 350" anchor="left bottom"/>
  545. <Shape id="line30" class="line_1" position="absolute 796 346 1190 352" anchor="left right bottom" style="border:0 none #808080ff ;"/>
  546. <Shape id="line31" class="line_1" position="absolute 475 346 788 352" anchor="left bottom"/>
  547. <Shape id="line32" class="line_1" position="absolute 5 346 465 352" anchor="left bottom"/>
  548. </Layout>
  549. </Layouts>
  550. </Div>
  551. <Static id="caption19" text="약품식별 마스터 관리" class="tit_1" position="absolute 0 0 180 25"/>
  552. <Div id="group1" taborder="1" text="Div00" position="absolute 0 84 778 113" anchor="left top right">
  553. <Layouts>
  554. <Layout>
  555. <Button id="btn_photo" taborder="0" text="약품사진등록" class="btn3" visible="false" position="absolute 210 3 322 25" anchor="default"/>
  556. <Button id="button11" taborder="1" text="성분별 수정" class="btn3" position="absolute 0 3 104 25" anchor="default" onclick="group1_button11_onclick"/>
  557. <Button id="button10" taborder="2" text="자료등록" class="btn3" position="absolute 107 3 207 25" anchor="default" onclick="group1_button10_onclick" visible="false"/>
  558. </Layout>
  559. </Layouts>
  560. </Div>
  561. <Div id="group2" taborder="2" position="absolute 0 25 1194 85" class="div_SA" anchor="left top right">
  562. <Layouts>
  563. <Layout>
  564. <Shape id="line13" linetype="vertical" position="absolute 1077 10 1083 50" anchor="right"/>
  565. <Static id="caption2" text="검색조건 :" class="search_name" position="absolute 20 11 111 28" anchor="default"/>
  566. <Combo id="cmb_srchflag" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 107 9 260 28" anchor="default">
  567. <Dataset id="innerdataset">
  568. <ColumnInfo>
  569. <Column id="codecolumn"/>
  570. <Column id="datacolumn"/>
  571. </ColumnInfo>
  572. <Rows>
  573. <Row>
  574. <Col id="codecolumn">drugcd</Col>
  575. <Col id="datacolumn">약품코드</Col>
  576. </Row>
  577. <Row>
  578. <Col id="codecolumn">srchname</Col>
  579. <Col id="datacolumn">약품명</Col>
  580. </Row>
  581. <Row>
  582. <Col id="codecolumn">comcnts</Col>
  583. <Col id="datacolumn">성분명</Col>
  584. </Row>
  585. </Rows>
  586. </Dataset>
  587. </Combo>
  588. <Edit id="ipt_srchval" taborder="2" class="input_search" position="absolute 262 9 472 28" anchor="default" onkeydown="group2_ipt_srchval_onkeydown"/>
  589. <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 1107 19 1163 41" anchor="right" onclick="group2_btn_sea_onclick"/>
  590. <Static id="caption26" text="일자 :" class="search_name" position="absolute 510 11 580 28" anchor="default"/>
  591. <Calendar id="input8" taborder="4" class="input_search" position="absolute 674 10 805 29" anchor="default" onchanged="group2_input8_onchanged"/>
  592. <Combo id="cmb_srchflag2" taborder="5" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 582 10 672 29" anchor="default">
  593. <Dataset id="innerdataset">
  594. <ColumnInfo>
  595. <Column id="codecolumn"/>
  596. <Column id="datacolumn"/>
  597. </ColumnInfo>
  598. <Rows>
  599. <Row>
  600. <Col id="codecolumn">fstrgstdt</Col>
  601. <Col id="datacolumn">등록일자</Col>
  602. </Row>
  603. <Row>
  604. <Col id="codecolumn">lastupdt</Col>
  605. <Col id="datacolumn">수정일자</Col>
  606. </Row>
  607. </Rows>
  608. </Dataset>
  609. </Combo>
  610. <Button id="btn_shape3" taborder="6" text="문양불러오기" class="btn2" position="absolute 957 10 1043 29" anchor="default" onclick="group2_btn_shape3_onclick"/>
  611. <ImageViewer id="img_shape3" taborder="7" position="absolute 911 8 956 53" anchor="default" style="background:transparent;border:1 solid silver ;" stretch="fixaspectratio"/>
  612. <Static id="caption28" text="문양 :" class="search_name" position="absolute 840 11 910 28" anchor="default"/>
  613. <Button id="btn_delshape3" taborder="8" text="삭제" class="btn2" position="absolute 957 30 999 49" anchor="default" onclick="group2_btn_delshape3_onclick"/>
  614. <Edit id="ipt_srchval_re" taborder="9" class="input_search" position="absolute 262 34 472 53" anchor="default" onkeydown="group2_ipt_srchval_re_onkeydown"/>
  615. <Static id="caption29" text="재검색 :" class="search_name" position="absolute 175 36 255 53" anchor="default"/>
  616. <Button id="btn_sea_re" taborder="10" text="재검색" class="btn1" position="absolute 479 33 547 55" anchor="default" onclick="group2_btn_sea_re_onclick"/>
  617. </Layout>
  618. </Layouts>
  619. </Div>
  620. </Layout>
  621. </Layouts>
  622. <Objects>
  623. <Dataset id="ds_main_drugitem_drugidlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  624. <ColumnInfo>
  625. <Column id="idcd" type="INT" size="256" sumtext="약품식별번호"/>
  626. <Column id="drugcd" type="STRING" size="256" sumtext="약품코드"/>
  627. <Column id="hngnm" type="STRING" size="256" sumtext="한글약품명"/>
  628. <Column id="engnm" type="STRING" size="256" sumtext="영문약품명"/>
  629. <Column id="comcnts" type="STRING" size="256" sumtext="성분 및 함량"/>
  630. <Column id="efcysmm" type="STRING" size="256" sumtext="효능 및 효과"/>
  631. <Column id="drugtype" type="STRING" size="256" sumtext="제형"/>
  632. <Column id="samedrug" type="STRING" size="256" sumtext="동효약"/>
  633. <Column id="homodrugflag" type="STRING" size="256" sumtext="동종약"/>
  634. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제약회사"/>
  635. <Column id="photyn" type="STRING" size="256" sumtext="이미지여부"/>
  636. <Column id="phot" type="BLOB" size="0" encript="base64" sumtext="이미지"/>
  637. <Column id="color" type="STRING" size="256" sumtext="색상"/>
  638. <Column id="colornm" type="STRING" size="256" sumtext="색상명"/>
  639. <Column id="char1" type="STRING" size="256" sumtext="문자1"/>
  640. <Column id="char2" type="STRING" size="256" sumtext="문자2"/>
  641. <Column id="img1" type="BLOB" size="0" encript="base64" sumtext="문양이미지"/>
  642. <Column id="shape1" type="BLOB" size="0" encript="base64" sumtext="문형1"/>
  643. <Column id="img2" type="BLOB" size="0" encript="base64" sumtext="문양이미지"/>
  644. <Column id="shape2" type="BLOB" size="0" encript="base64" sumtext="문형2"/>
  645. <Column id="shapecd" type="STRING" size="256" sumtext="모양"/>
  646. <Column id="longax" type="STRING" size="256" sumtext="장축"/>
  647. <Column id="shrtax" type="STRING" size="256" sumtext="단축"/>
  648. <Column id="thick" type="STRING" size="256" sumtext="두께"/>
  649. <Column id="divline1" type="STRING" size="256" sumtext="분할선뒤"/>
  650. <Column id="divline2" type="STRING" size="256" sumtext="분할선앞"/>
  651. <Column id="photoid" type="STRING" size="256" sumtext="이미지ID"/>
  652. <Column id="atccode" type="STRING" size="256" sumtext="ATC성분코드"/>
  653. <Column id="useyn" type="STRING" size="256" sumtext="본원사용여부"/>
  654. </ColumnInfo>
  655. </Dataset>
  656. <Dataset id="ds_main_drugidinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  657. <ColumnInfo>
  658. <Column id="drugcd" type="STRING" size="256"/>
  659. <Column id="hngnm" type="STRING" size="256"/>
  660. <Column id="engnm" type="STRING" size="256"/>
  661. <Column id="comcnts" type="STRING" size="256"/>
  662. <Column id="efcysmm" type="STRING" size="256"/>
  663. <Column id="drugtype" type="STRING" size="256"/>
  664. <Column id="samedrug" type="STRING" size="256"/>
  665. <Column id="homodrugflag" type="STRING" size="256"/>
  666. <Column id="prodcmpynm" type="STRING" size="256"/>
  667. <Column id="phot" type="BLOB" size="256"/>
  668. <Column id="color" type="STRING" size="256"/>
  669. <Column id="colornm" type="STRING" size="256"/>
  670. <Column id="char1" type="STRING" size="256"/>
  671. <Column id="char2" type="STRING" size="256"/>
  672. <Column id="img1" type="BLOB" size="256"/>
  673. <Column id="shape1" type="STRING" size="256"/>
  674. <Column id="img2" type="BLOB" size="256"/>
  675. <Column id="shape2" type="STRING" size="256"/>
  676. <Column id="shapecd" type="STRING" size="256"/>
  677. <Column id="longax" type="STRING" size="256"/>
  678. <Column id="shrtax" type="STRING" size="256"/>
  679. <Column id="thick" type="STRING" size="256"/>
  680. <Column id="divline1" type="STRING" size="256"/>
  681. <Column id="divline2" type="STRING" size="256"/>
  682. <Column id="idcd" type="STRING" size="256"/>
  683. <Column id="photoid" type="STRING" size="256"/>
  684. <Column id="atccode" type="STRING" size="256"/>
  685. <Column id="useyn" type="STRING" size="256"/>
  686. </ColumnInfo>
  687. <Rows>
  688. <Row>
  689. <Col id="drugcd"/>
  690. <Col id="hngnm"/>
  691. <Col id="engnm"/>
  692. <Col id="comcnts"/>
  693. <Col id="efcysmm"/>
  694. <Col id="drugtype"/>
  695. <Col id="samedrug"/>
  696. <Col id="homodrugflag"/>
  697. <Col id="prodcmpynm"/>
  698. <Col id="phot"/>
  699. <Col id="color"/>
  700. <Col id="colornm"/>
  701. <Col id="char1"/>
  702. <Col id="char2"/>
  703. <Col id="img1"/>
  704. <Col id="shape1"/>
  705. <Col id="img2"/>
  706. <Col id="shape2"/>
  707. <Col id="shapecd"/>
  708. <Col id="longax"/>
  709. <Col id="shrtax"/>
  710. <Col id="thick"/>
  711. <Col id="divline1"/>
  712. <Col id="divline2"/>
  713. <Col id="idcd"/>
  714. <Col id="photoid"/>
  715. <Col id="atccode"/>
  716. <Col id="useyn"/>
  717. </Row>
  718. </Rows>
  719. </Dataset>
  720. <Dataset id="ds_main_drugidimg_drugidimg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  721. <ColumnInfo>
  722. <Column id="phot" type="BLOB" size="256"/>
  723. </ColumnInfo>
  724. <Rows>
  725. <Row/>
  726. </Rows>
  727. </Dataset>
  728. <Dataset id="ds_main_drugidimg_shape" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  729. <ColumnInfo>
  730. <Column id="shape1" type="BLOB" size="256"/>
  731. <Column id="shape2" type="BLOB" size="256"/>
  732. </ColumnInfo>
  733. <Rows>
  734. <Row>
  735. <Col id="shape1"/>
  736. <Col id="shape2"/>
  737. </Row>
  738. </Rows>
  739. </Dataset>
  740. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  741. <ColumnInfo>
  742. <Column id="srchflag" type="STRING" size="256"/>
  743. <Column id="srchval" type="STRING" size="256"/>
  744. <Column id="srchflag2" type="STRING" size="256"/>
  745. <Column id="srchval2" type="STRING" size="256"/>
  746. <Column id="instcd" type="STRING" size="256"/>
  747. <Column id="srchshapecd" type="STRING" size="256"/>
  748. </ColumnInfo>
  749. <Rows>
  750. <Row>
  751. <Col id="srchflag">drugcd</Col>
  752. <Col id="srchval"/>
  753. <Col id="srchflag2">fstrgstdt</Col>
  754. <Col id="srchval2"/>
  755. <Col id="instcd"/>
  756. <Col id="srchshapecd"/>
  757. </Row>
  758. </Rows>
  759. </Dataset>
  760. <Dataset id="ds_send_saveitem_drugidinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  761. <Dataset id="ds_send_imginfo_drugidinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  762. <Dataset id="ds_send_srchseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  763. <ColumnInfo>
  764. <Column id="srchflag" type="STRING" size="256"/>
  765. <Column id="srchstart" type="STRING" size="256"/>
  766. <Column id="srchend" type="STRING" size="256"/>
  767. </ColumnInfo>
  768. <Rows>
  769. <Row>
  770. <Col id="srchflag">A</Col>
  771. <Col id="srchstart">0</Col>
  772. <Col id="srchend">0</Col>
  773. </Row>
  774. </Rows>
  775. </Dataset>
  776. <Dataset id="ds_init_A0044" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  777. <Dataset id="ds_init_A0635" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  778. <Dataset id="ds_hidden_colorlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  779. <ColumnInfo>
  780. <Column id="chk" type="STRING" size="256"/>
  781. <Column id="color" type="STRING" size="256"/>
  782. <Column id="colornm" type="STRING" size="256"/>
  783. <Column id="colorval" type="STRING" size="256"/>
  784. </ColumnInfo>
  785. <Rows>
  786. <Row>
  787. <Col id="chk"/>
  788. <Col id="color">1</Col>
  789. <Col id="colornm">하양</Col>
  790. <Col id="colorval"/>
  791. </Row>
  792. <Row>
  793. <Col id="chk"/>
  794. <Col id="color">2</Col>
  795. <Col id="colornm">주황</Col>
  796. <Col id="colorval"/>
  797. </Row>
  798. <Row>
  799. <Col id="chk"/>
  800. <Col id="color">3</Col>
  801. <Col id="colornm">노랑</Col>
  802. <Col id="colorval"/>
  803. </Row>
  804. <Row>
  805. <Col id="chk"/>
  806. <Col id="color">4</Col>
  807. <Col id="colornm">분홍</Col>
  808. <Col id="colorval"/>
  809. </Row>
  810. <Row>
  811. <Col id="chk"/>
  812. <Col id="color">5</Col>
  813. <Col id="colornm">빨강</Col>
  814. <Col id="colorval"/>
  815. </Row>
  816. <Row>
  817. <Col id="chk"/>
  818. <Col id="color">6</Col>
  819. <Col id="colornm">보라</Col>
  820. <Col id="colorval"/>
  821. </Row>
  822. <Row>
  823. <Col id="chk"/>
  824. <Col id="color">7</Col>
  825. <Col id="colornm">초록</Col>
  826. <Col id="colorval"/>
  827. </Row>
  828. <Row>
  829. <Col id="chk"/>
  830. <Col id="color">8</Col>
  831. <Col id="colornm">파랑</Col>
  832. <Col id="colorval"/>
  833. </Row>
  834. <Row>
  835. <Col id="chk"/>
  836. <Col id="color">9</Col>
  837. <Col id="colornm">갈색</Col>
  838. <Col id="colorval"/>
  839. </Row>
  840. <Row>
  841. <Col id="chk"/>
  842. <Col id="color">10</Col>
  843. <Col id="colornm">회색</Col>
  844. <Col id="colorval"/>
  845. </Row>
  846. <Row>
  847. <Col id="chk"/>
  848. <Col id="color">11</Col>
  849. <Col id="colornm">검정</Col>
  850. <Col id="colorval"/>
  851. </Row>
  852. <Row>
  853. <Col id="chk"/>
  854. <Col id="color">12</Col>
  855. <Col id="colornm">연두</Col>
  856. <Col id="colorval"/>
  857. </Row>
  858. <Row>
  859. <Col id="chk"/>
  860. <Col id="color">13</Col>
  861. <Col id="colornm">청록</Col>
  862. <Col id="colorval"/>
  863. </Row>
  864. <Row>
  865. <Col id="chk"/>
  866. <Col id="color">14</Col>
  867. <Col id="colornm">남색</Col>
  868. <Col id="colorval"/>
  869. </Row>
  870. <Row>
  871. <Col id="chk"/>
  872. <Col id="color">15</Col>
  873. <Col id="colornm">자주</Col>
  874. <Col id="colorval"/>
  875. </Row>
  876. <Row>
  877. <Col id="chk"/>
  878. <Col id="color">16</Col>
  879. <Col id="colornm">투명</Col>
  880. <Col id="colorval"/>
  881. </Row>
  882. </Rows>
  883. </Dataset>
  884. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  885. <ColumnInfo>
  886. <Column id="receivedrugcd" type="STRING" size="256"/>
  887. <Column id="receivecom" type="STRING" size="256"/>
  888. <Column id="instcd" type="STRING" size="256"/>
  889. <Column id="receiveref" type="STRING" size="256"/>
  890. <Column id="receiveprodcmpy" type="STRING" size="256"/>
  891. <Column id="srchimginfo" type="BLOB" size="256"/>
  892. </ColumnInfo>
  893. <Rows>
  894. <Row>
  895. <Col id="receivedrugcd">drugcd</Col>
  896. <Col id="receiveref">ds_main_drugidinfo</Col>
  897. <Col id="receivecom">ds_temp_cominfo</Col>
  898. <Col id="instcd">031</Col>
  899. <Col id="receiveprodcmpy">prodcmpynm</Col>
  900. </Row>
  901. </Rows>
  902. </Dataset>
  903. <Dataset id="ds_hidden_receiveshape" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  904. <ColumnInfo>
  905. <Column id="shape" type="BLOB" size="256"/>
  906. <Column id="shapecd" type="STRING" size="256"/>
  907. </ColumnInfo>
  908. <Rows>
  909. <Row/>
  910. </Rows>
  911. </Dataset>
  912. <Dataset id="ds_hidden_img" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  913. <Dataset id="ds_temp_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  914. <Dataset id="ds_temp_cominfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  915. <ColumnInfo>
  916. <Column id="comcd" type="STRING" size="256"/>
  917. <Column id="comexcd" type="STRING" size="256"/>
  918. <Column id="comnm" type="STRING" size="256"/>
  919. </ColumnInfo>
  920. <Rows>
  921. <Row/>
  922. </Rows>
  923. </Dataset>
  924. <Dataset id="ds_temp_drugitem_drugidlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  925. <ColumnInfo>
  926. <Column id="rowseq" type="STRING" size="256"/>
  927. <Column id="idcd" type="STRING" size="256"/>
  928. <Column id="drugcd" type="STRING" size="256"/>
  929. <Column id="comcnts" type="STRING" size="256"/>
  930. <Column id="hngnm" type="STRING" size="256"/>
  931. <Column id="engnm" type="STRING" size="256"/>
  932. <Column id="efcysmm" type="STRING" size="256"/>
  933. <Column id="drugtype" type="STRING" size="256"/>
  934. <Column id="homodrugflag" type="STRING" size="256"/>
  935. <Column id="prodcmpycd" type="STRING" size="256"/>
  936. <Column id="prodcmpynm" type="STRING" size="256"/>
  937. <Column id="samedrug" type="STRING" size="256"/>
  938. <Column id="color" type="STRING" size="256"/>
  939. <Column id="divline1" type="STRING" size="256"/>
  940. <Column id="divline2" type="STRING" size="256"/>
  941. <Column id="shapecd" type="STRING" size="256"/>
  942. <Column id="char1" type="STRING" size="256"/>
  943. <Column id="char2" type="STRING" size="256"/>
  944. <Column id="shape1" type="BLOB" size="256"/>
  945. <Column id="shape2" type="BLOB" size="256"/>
  946. <Column id="shrtax" type="STRING" size="256"/>
  947. <Column id="longax" type="STRING" size="256"/>
  948. <Column id="thick" type="STRING" size="256"/>
  949. <Column id="photoid" type="STRING" size="256"/>
  950. <Column id="atccode" type="STRING" size="256"/>
  951. <Column id="useyn" type="STRING" size="256"/>
  952. <Column id="fstrgstrid" type="STRING" size="256"/>
  953. <Column id="fstrgstdt" type="STRING" size="256"/>
  954. <Column id="lastupdtrid" type="STRING" size="256"/>
  955. <Column id="lastupdtdt" type="STRING" size="256"/>
  956. <Column id="edicode" type="STRING" size="256"/>
  957. <Column id="srchchar1" type="BLOB" size="256"/>
  958. <Column id="srchchar2" type="BLOB" size="256"/>
  959. <Column id="yakpum_cd" type="STRING" size="256"/>
  960. <Column id="kd_cd" type="BLOB" size="256"/>
  961. <Column id="orgidx" type="BLOB" size="256"/>
  962. </ColumnInfo>
  963. <Rows>
  964. <Row>
  965. <Col id="rowseq"/>
  966. <Col id="idcd"/>
  967. <Col id="drugcd"/>
  968. <Col id="comcnts"/>
  969. <Col id="hngnm"/>
  970. <Col id="engnm"/>
  971. <Col id="efcysmm"/>
  972. <Col id="drugtype"/>
  973. <Col id="homodrugflag"/>
  974. <Col id="prodcmpycd"/>
  975. <Col id="prodcmpynm"/>
  976. <Col id="samedrug"/>
  977. <Col id="color"/>
  978. <Col id="divline1"/>
  979. <Col id="divline2"/>
  980. <Col id="shapecd"/>
  981. <Col id="char1"/>
  982. <Col id="char2"/>
  983. <Col id="shape1"/>
  984. <Col id="shape2"/>
  985. <Col id="shrtax"/>
  986. <Col id="longax"/>
  987. <Col id="thick"/>
  988. <Col id="photoid"/>
  989. <Col id="atccode"/>
  990. <Col id="useyn"/>
  991. <Col id="fstrgstrid"/>
  992. <Col id="fstrgstdt"/>
  993. <Col id="lastupdtrid"/>
  994. <Col id="lastupdtdt"/>
  995. <Col id="edicode"/>
  996. <Col id="srchchar1"/>
  997. <Col id="srchchar2"/>
  998. <Col id="yakpum_cd"/>
  999. <Col id="kd_cd"/>
  1000. <Col id="orgidx"/>
  1001. </Row>
  1002. </Rows>
  1003. </Dataset>
  1004. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1005. <ColumnInfo>
  1006. <Column id="str_re" type="STRING" size="256"/>
  1007. </ColumnInfo>
  1008. <Rows>
  1009. <Row/>
  1010. </Rows>
  1011. </Dataset>
  1012. <Dataset id="ds_cmb_drugtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1013. <ColumnInfo>
  1014. <Column id="label" type="STRING" size="256"/>
  1015. <Column id="value" type="STRING" size="256"/>
  1016. </ColumnInfo>
  1017. <Rows>
  1018. <Row>
  1019. <Col id="label">나정</Col>
  1020. <Col id="value">10</Col>
  1021. </Row>
  1022. <Row>
  1023. <Col id="label">필름코팅정</Col>
  1024. <Col id="value">11</Col>
  1025. </Row>
  1026. <Row>
  1027. <Col id="label">설하정</Col>
  1028. <Col id="value">12</Col>
  1029. </Row>
  1030. <Row>
  1031. <Col id="label">붕해현탁정</Col>
  1032. <Col id="value">13</Col>
  1033. </Row>
  1034. <Row>
  1035. <Col id="label">당의정</Col>
  1036. <Col id="value">14</Col>
  1037. </Row>
  1038. <Row>
  1039. <Col id="label">다층정</Col>
  1040. <Col id="value">15</Col>
  1041. </Row>
  1042. <Row>
  1043. <Col id="label">정제</Col>
  1044. <Col id="value">16</Col>
  1045. </Row>
  1046. <Row>
  1047. <Col id="label">츄어블정</Col>
  1048. <Col id="value">17</Col>
  1049. </Row>
  1050. <Row>
  1051. <Col id="label">서방정</Col>
  1052. <Col id="value">18</Col>
  1053. </Row>
  1054. <Row>
  1055. <Col id="label">장용정</Col>
  1056. <Col id="value">19</Col>
  1057. </Row>
  1058. <Row>
  1059. <Col id="label">경질캡슐</Col>
  1060. <Col id="value">2</Col>
  1061. </Row>
  1062. <Row>
  1063. <Col id="label">연질캡슐</Col>
  1064. <Col id="value">3</Col>
  1065. </Row>
  1066. </Rows>
  1067. </Dataset>
  1068. <Dataset id="ds_cmb_shapecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1069. <ColumnInfo>
  1070. <Column id="label" type="STRING" size="256"/>
  1071. <Column id="value" type="STRING" size="256"/>
  1072. </ColumnInfo>
  1073. <Rows>
  1074. <Row>
  1075. <Col id="label">원형</Col>
  1076. <Col id="value">1</Col>
  1077. </Row>
  1078. <Row>
  1079. <Col id="label">오각형</Col>
  1080. <Col id="value">2</Col>
  1081. </Row>
  1082. <Row>
  1083. <Col id="label">타원형</Col>
  1084. <Col id="value">3</Col>
  1085. </Row>
  1086. <Row>
  1087. <Col id="label">삼각형</Col>
  1088. <Col id="value">4</Col>
  1089. </Row>
  1090. <Row>
  1091. <Col id="label">사각형</Col>
  1092. <Col id="value">5</Col>
  1093. </Row>
  1094. <Row>
  1095. <Col id="label">육각형</Col>
  1096. <Col id="value">6</Col>
  1097. </Row>
  1098. <Row>
  1099. <Col id="label">팔각형</Col>
  1100. <Col id="value">7</Col>
  1101. </Row>
  1102. <Row>
  1103. <Col id="label">반원형</Col>
  1104. <Col id="value">8</Col>
  1105. </Row>
  1106. <Row>
  1107. <Col id="label">장방형</Col>
  1108. <Col id="value">9</Col>
  1109. </Row>
  1110. <Row>
  1111. <Col id="label">마름모형</Col>
  1112. <Col id="value">10</Col>
  1113. </Row>
  1114. <Row>
  1115. <Col id="label">기타</Col>
  1116. <Col id="value">20</Col>
  1117. </Row>
  1118. </Rows>
  1119. </Dataset>
  1120. <Dataset id="ds_cmb_divline1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1121. <ColumnInfo>
  1122. <Column id="label" type="STRING" size="256"/>
  1123. <Column id="value" type="STRING" size="256"/>
  1124. </ColumnInfo>
  1125. <Rows>
  1126. <Row>
  1127. <Col id="label">없음</Col>
  1128. <Col id="value">0</Col>
  1129. </Row>
  1130. <Row>
  1131. <Col id="label">- 형</Col>
  1132. <Col id="value">1</Col>
  1133. </Row>
  1134. <Row>
  1135. <Col id="label">+ 형</Col>
  1136. <Col id="value">2</Col>
  1137. </Row>
  1138. <Row>
  1139. <Col id="label">기타</Col>
  1140. <Col id="value">3</Col>
  1141. </Row>
  1142. </Rows>
  1143. </Dataset>
  1144. <Dataset id="ds_cmb_divline2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1145. <ColumnInfo>
  1146. <Column id="label" type="STRING" size="256"/>
  1147. <Column id="value" type="STRING" size="256"/>
  1148. </ColumnInfo>
  1149. <Rows>
  1150. <Row>
  1151. <Col id="label">없음</Col>
  1152. <Col id="value">0</Col>
  1153. </Row>
  1154. <Row>
  1155. <Col id="label">- 형</Col>
  1156. <Col id="value">1</Col>
  1157. </Row>
  1158. <Row>
  1159. <Col id="label">+ 형</Col>
  1160. <Col id="value">2</Col>
  1161. </Row>
  1162. <Row>
  1163. <Col id="label">기타</Col>
  1164. <Col id="value">3</Col>
  1165. </Row>
  1166. </Rows>
  1167. </Dataset>
  1168. <Dataset id="ds_send_saveitem_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1169. <ColumnInfo>
  1170. <Column id="saveflag" type="STRING" size="256"/>
  1171. <Column id="instcd" type="STRING" size="256"/>
  1172. </ColumnInfo>
  1173. <Rows>
  1174. <Row/>
  1175. </Rows>
  1176. </Dataset>
  1177. </Objects>
  1178. <Bind>
  1179. <BindItem id="item0" compid="group2.cmb_srchflag" propid="value" datasetid="ds_send_srchinfo" columnid="srchflag"/>
  1180. <BindItem id="item1" compid="group2.ipt_srchval" propid="value" datasetid="ds_send_srchinfo" columnid="srchval"/>
  1181. <BindItem id="item2" compid="group2.cmb_srchflag2" propid="value" datasetid="ds_send_srchinfo" columnid="srchflag2"/>
  1182. <BindItem id="item3" compid="group2.input8" propid="value" datasetid="ds_send_srchinfo" columnid="srchval2"/>
  1183. <BindItem id="item4" compid="group2.ipt_srchval_re" propid="value" datasetid="ds_temp" columnid="str_re"/>
  1184. <BindItem id="item5" compid="group2.img_shape3" propid="image" datasetid="ds_hidden" columnid="srchimginfo"/>
  1185. <BindItem id="item6" compid="group3.input1" propid="value" datasetid="ds_send_srchseq" columnid="srchstart"/>
  1186. <BindItem id="item7" compid="group3.input6" propid="value" datasetid="ds_send_srchseq" columnid="srchend"/>
  1187. <BindItem id="item8" compid="group3.output2" propid="value" datasetid="ds_main_drugidinfo" columnid="idcd"/>
  1188. <BindItem id="item9" compid="group3.output1" propid="value" datasetid="ds_hidden" columnid="instcd"/>
  1189. <BindItem id="item10" compid="group3.input2" propid="value" datasetid="ds_main_drugidinfo" columnid="drugcd"/>
  1190. <BindItem id="item11" compid="group3.textarea1" propid="value" datasetid="ds_main_drugidinfo" columnid="comcnts"/>
  1191. <BindItem id="item12" compid="group3.input3" propid="value" datasetid="ds_main_drugidinfo" columnid="hngnm"/>
  1192. <BindItem id="item13" compid="group3.input4" propid="value" datasetid="ds_main_drugidinfo" columnid="engnm"/>
  1193. <BindItem id="item14" compid="group3.textarea2" propid="value" datasetid="ds_main_drugidinfo" columnid="efcysmm"/>
  1194. <BindItem id="item15" compid="group3.combo3" propid="value" datasetid="ds_main_drugidinfo" columnid="drugtype"/>
  1195. <BindItem id="item16" compid="group3.ipt_prodcmpynm" propid="value" datasetid="ds_main_drugidinfo" columnid="prodcmpynm"/>
  1196. <BindItem id="item17" compid="group3.input9" propid="value" datasetid="ds_main_drugidinfo" columnid="homodrugflag"/>
  1197. <BindItem id="item18" compid="group3.input7" propid="value" datasetid="ds_main_drugidinfo" columnid="samedrug"/>
  1198. <BindItem id="item19" compid="group3.input5" propid="value" datasetid="ds_main_drugidinfo" columnid="atccode"/>
  1199. <BindItem id="item20" compid="group3.cmb_useyn" propid="value" datasetid="ds_main_drugidinfo" columnid="useyn"/>
  1200. <BindItem id="item21" compid="group3.img_shape1" propid="image" datasetid="ds_main_drugidinfo" columnid="img1"/>
  1201. <BindItem id="item22" compid="group3.textarea3" propid="value" datasetid="ds_main_drugidinfo" columnid="char1"/>
  1202. <BindItem id="item23" compid="group3.ipt_shape1" propid="value" datasetid="ds_main_drugidinfo" columnid="shape1"/>
  1203. <BindItem id="item24" compid="group3.textarea4" propid="value" datasetid="ds_main_drugidinfo" columnid="char2"/>
  1204. <BindItem id="item25" compid="group3.ipt_shape2" propid="value" datasetid="ds_main_drugidinfo" columnid="shape2"/>
  1205. <BindItem id="item26" compid="group3.img_shape2" propid="image" datasetid="ds_main_drugidinfo" columnid="img2"/>
  1206. <BindItem id="item27" compid="group3.radio1" propid="value" datasetid="ds_main_drugidinfo" columnid="divline1"/>
  1207. <BindItem id="item28" compid="group3.radio3" propid="value" datasetid="ds_main_drugidinfo" columnid="divline2"/>
  1208. <BindItem id="item29" compid="group3.combo4" propid="value" datasetid="ds_main_drugidinfo" columnid="shapecd"/>
  1209. <BindItem id="item30" compid="group3.input10" propid="value" datasetid="ds_main_drugidinfo" columnid="shrtax"/>
  1210. <BindItem id="item31" compid="group3.input11" propid="value" datasetid="ds_main_drugidinfo" columnid="longax"/>
  1211. <BindItem id="item32" compid="group3.input12" propid="value" datasetid="ds_main_drugidinfo" columnid="thick"/>
  1212. <BindItem id="item33" compid="group3.Base64_Preview1" propid="image" datasetid="ds_main_drugidinfo" columnid="phot"/>
  1213. </Bind>
  1214. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1215. * System Name :
  1216. * Job Name :
  1217. * Creator :
  1218. * Make Date : 2015-11-13
  1219. * Description :
  1220. *---------------------------------------------------------------------------------------
  1221. * Modify Date Modifier Modify Description
  1222. *---------------------------------------------------------------------------------------
  1223. * 2015-11-13 Live Converter TF->XP
  1224. *
  1225. *---------------------------------------------------------------------------------------
  1226. ****************************************************************************************/
  1227. //=======================================================================================
  1228. // Lib Include
  1229. //---------------------------------------------------------------------------------------
  1230. include "com_commonxp::comm_main.xjs"
  1231. include "ast_commonxp::AST.xjs"
  1232. //=======================================================================================
  1233. // Global Form Variable
  1234. //---------------------------------------------------------------------------------------
  1235. var arErrorCode = new HashArray();
  1236. var SelRow = "";
  1237. var chkPhotImg = false;
  1238. var chkShape1Img = false;
  1239. var chkShape2Img = false;
  1240. var SelRowYn = "";
  1241. //=======================================================================================
  1242. // Function
  1243. //---------------------------------------------------------------------------------------
  1244. /****************************************************************************************
  1245. * Argument : saveflag : I - 신규입력, U - 수정, D - 삭제
  1246. * Description : 데이터의 신규입력/수정/삭제를 실행
  1247. ****************************************************************************************/
  1248. function fSetDrugIdData(saveflag){
  1249. // 실행 여부 선택 창
  1250. var msg = sysf_messageBox("["+this.getFocus().text+"]","Q004");
  1251. if(msg != 6) return false; // '아니오'선택시 false 반환
  1252. var cnt = "";
  1253. var color = "";
  1254. for(var i = 0; i < ds_hidden_colorlist.rowcount; i++) {
  1255. var chk = ds_hidden_colorlist.getColumn(i,"chk");
  1256. if(chk == 1){
  1257. if(!utlf_isNull(cnt)){
  1258. color += "/"+ds_hidden_colorlist.getColumn(i,"color");
  1259. }else{
  1260. color += ds_hidden_colorlist.getColumn(i,"color");
  1261. cnt++;
  1262. }
  1263. }
  1264. }
  1265. ds_main_drugidinfo.setColumn(0,"color", color);
  1266. ds_send_saveitem_drugidinfo.copyData(ds_main_drugidinfo);
  1267. if(!utlf_isNull(ds_send_saveitem_drugidinfo.getColumn(0,"phot"))) {
  1268. chkPhotImg = true;
  1269. }else chkPhotImg = false;
  1270. // 사진 유무 설정
  1271. if(chkPhotImg){
  1272. ds_send_saveitem_drugidinfo.setColumn(0,"phot",ds_main_drugidinfo.getColumn(0,"phot"));
  1273. dsf_makeValue(ds_send_saveitem_drugidinfo,"photyn","string","Y");
  1274. if(saveflag == "I") { // 신규입력시 이미지파일명 변경 "현재시간(HHMMSS) + 원 이미지 파일명"
  1275. var tmp_photoid = ds_send_saveitem_drugidinfo.getColumn(0,"photoid").split("_");
  1276. var photoid = utlf_getCurrentTime()+"_"+tmp_photoid[tmp_photoid.length-1];
  1277. ds_send_saveitem_drugidinfo.setColumn(0,"photoid", utlf_getCurrentTime()+"_"+tmp_photoid[tmp_photoid.length-1]);
  1278. }
  1279. } else {
  1280. // 20141226 jmkim 신규입력 시 사진 없을 경우 java.lang.ArrayIndexOutOfBoundsException: 3 error 문제 처리
  1281. ds_send_saveitem_drugidinfo.setColumn(0,"phot","");
  1282. dsf_makeValue(ds_send_saveitem_drugidinfo,"photyn","string","N");
  1283. }
  1284. ds_send_saveitem_flag.clearData();
  1285. ds_send_saveitem_flag.addRow();
  1286. ds_send_saveitem_flag.setColumn(0,"saveflag",saveflag);
  1287. ds_send_saveitem_flag.setColumn(0,"instcd" ,ds_hidden.getColumn(0,"instcd"));
  1288. dsf_setDefaultVal(ds_send_saveitem_drugidinfo, "useyn:-");
  1289. var oParam = {};
  1290. oParam.id = "TXADB02101";
  1291. oParam.service = "pharmacybaseapp.DrugIdBase";
  1292. oParam.method = "reqExeDrugIdData";
  1293. oParam.inds = "flag=ds_send_saveitem_flag info=ds_send_saveitem_drugidinfo";
  1294. oParam.outds = "ds_main_drugitem_drugidlist=drugidlist";
  1295. oParam.async = false;
  1296. oParam.callback = "cf_TXADB02101";
  1297. tranf_submit(oParam);
  1298. if(arErrorCode.pop("TXADB02101") > -1){
  1299. fClearDrugIdInfo();
  1300. var ev = new ClickEventInfo;
  1301. frmf_inputEnterKey("group2.btn_sea", "onclick", ev );
  1302. return true;
  1303. }else return false;
  1304. }
  1305. function cf_TXADB02101(sSvcId, nErrorCode, sErrorMsg) {
  1306. arErrorCode.push(sSvcId, nErrorCode);
  1307. dsf_setTypeFormat(oDataset, "idcd:INT^longax:INT^shrtax:INT^thick:INT");
  1308. }
  1309. /****************************************************************************************
  1310. * Argument : N/A
  1311. * Description : 파일열기 오픈
  1312. ****************************************************************************************/
  1313. function fOpenImageFile(){
  1314. var id = this.getFocus().name;
  1315. sysf_trace(" /// " +id);
  1316. // 파일다이얼로그를 띄워 사용자에게 파일경로를 입력받는다.
  1317. var fd = new FileDialog;
  1318. var objVFile = fd.open("FileOpen", FileDialog.SINGLELOAD); // 단일 파일 선택
  1319. if(!utlf_isNull(objVFile)) {
  1320. var nRow = ds_main_drugidinfo.rowposition;
  1321. // 그 파일의 데이터를 데이터셋의 특정 컬럼에 BLOB 형식으로 write 한다.
  1322. var file = dsf_writeFileToDs(objVFile, ds_main_drugidinfo, nRow, "phot");
  1323. if(file.filesize > 512000) {
  1324. ds_main_drugidinfo.setColumn(nRow,"phot","");
  1325. sysf_messageBox("파일 크기가 최대치(512000Byte)를", "E003");
  1326. return;
  1327. }
  1328. var filename = file.filename;
  1329. var tmp = filename.split("\\");
  1330. var photoid = ds_main_drugidinfo.getColumn(0,"drugcd")+"_"+tmp[tmp.length-1];
  1331. /* 이미지 파일명 길이 체크 */
  1332. if(parseInt(photoid.getByteLength()) > 30) {
  1333. sysf_messageBox("이미지 파일명 길이가 입력가능 범위를","E003");
  1334. return;
  1335. }
  1336. ds_main_drugidinfo.setColumn(nRow,"photoid",photoid);
  1337. }
  1338. return true;
  1339. // if((id == "btn_img") || (id == "img_phot")){
  1340. // fChangeImage(group3.img_phot, group3.img_phot_hidden, file, ds_main_drugidinfo, "phot", 313, 116);
  1341. // chkPhotImg = true;
  1342. // } else if((id == "btn_shape1") || (id == "img_shape1")){
  1343. // fChangeImage(img_shape1, img_shape1, file, "/root/main/drugidinfo/img1", 128, 85);
  1344. // chkShape1Img = true;
  1345. // } else if((id == "btn_shape2") || (id == "img_shape2")){
  1346. // fChangeImage(img_shape2, img_shape2_hidden, file, "/root/main/drugidinfo/img2", 128, 85);
  1347. // chkShape2Img = true;
  1348. // }
  1349. }
  1350. /****************************************************************************************
  1351. * Argument : N/A
  1352. * Description : 이미지사이즈 변경
  1353. ****************************************************************************************/
  1354. // function fChangeImage(img_id, img_hidden, file, oDataset, colnm, widthval, heightval){
  1355. // img_hidden.src = file; // 파일에서 읽은 이미지의 base64 encoding 값을 가져오기 위한 이미지 컨트롤
  1356. // var data = img_hidden.getbase64data(); // base64 encoding 문자열을 가져온다.
  1357. //
  1358. // model.setValue(xpath,data,true); // 이미지를 보여주기 위하여 view용 이미지컨트롤의 ref instance에 값을 저장
  1359. // setImageRefInstance(xpath);
  1360. //
  1361. // Base64_Preview1.SetViewMode(4);
  1362. // Base64_Preview1.LoadImage(file);
  1363. //
  1364. // //img_id.attribute("width")= widthval;
  1365. // //img_id.attribute("height")= heightval;
  1366. // img_hidden.src = "";
  1367. // }
  1368. /****************************************************************************************
  1369. * Argument : N/A
  1370. * Description : 사진정보 삭제
  1371. ****************************************************************************************/
  1372. // function fSetEmptyImage(){
  1373. // var id = model.getFocus();
  1374. // if((id == "img_phot") || (id == "btn_delimg")){
  1375. // model.setValue("/root/main/drugidinfo/phot","",true);
  1376. // model.setValue("/root/main/drugidinfo/photoid","",true); // 이미지 삭제시 해당 약품코드의 이미지정보 삭제
  1377. // Base64_Preview1.Clear();
  1378. // chkPhotImg = true;
  1379. // } else if((id == "img_shape1") || (id == "img_delshape1")){
  1380. // model.setValue("/root/main/drugidinfo/img1","",true);
  1381. // chkShape1Img = true;
  1382. // } else if((id == "img_shape2") || (id == "img_delshape2")){
  1383. // model.setValue("/root/main/drugidinfo/img2","",true);
  1384. // chkShape2Img = true;
  1385. // }
  1386. // model.refresh();
  1387. // }
  1388. /****************************************************************************************
  1389. * Argument : N/A
  1390. * Description : 약품정보 클리어
  1391. ****************************************************************************************/
  1392. function fClearDrugIdInfo(){
  1393. SelRowYn = "N";
  1394. fBtnDisableYN(SelRowYn);
  1395. ds_main_drugidinfo.clearData();
  1396. ds_main_drugidinfo.addRow();
  1397. fClearColor();
  1398. chkPhotImg = false;
  1399. chkShape1Img = false;
  1400. chkShape2Img = false;
  1401. }
  1402. /****************************************************************************************
  1403. * Argument : N/A
  1404. * Description : 색상정보 클리어
  1405. ****************************************************************************************/
  1406. function fClearColor(){
  1407. for(var i = 0; i < ds_hidden_colorlist.rowcount; i++) {
  1408. ds_hidden_colorlist.setColumn(i,"chk",0);
  1409. }
  1410. }
  1411. /****************************************************************************************
  1412. * Argument : color - 색구분
  1413. * Description :
  1414. ****************************************************************************************/
  1415. function fMatchColor(color){
  1416. if(color == 1){
  1417. return "하양";
  1418. }else if(color == 2){
  1419. return "주황";
  1420. }else if(color == 3){
  1421. return "노랑";
  1422. }else if(color == 4){
  1423. return "분홍";
  1424. }else if(color == 5){
  1425. return "빨강";
  1426. }else if(color == 6){
  1427. return "보라";
  1428. }else if(color == 7){
  1429. return "초록";
  1430. }else if(color == 8){
  1431. return "파랑";
  1432. }else if(color == 9){
  1433. return "갈색";
  1434. }else if(color == 10){
  1435. return "회색";
  1436. }else if(color == 11){
  1437. return "검정";
  1438. }else if(color == 12){
  1439. return "연두";
  1440. }else if(color == 13){
  1441. return "청록";
  1442. }else if(color == 14){
  1443. return "남색";
  1444. }else if(color == 15){
  1445. return "자주";
  1446. }else if(color == 16){
  1447. return "투명";
  1448. }
  1449. }
  1450. /****************************************************************************************
  1451. * Argument : selrowyn - enable 여부
  1452. * Description : 버튼 활성화/비활성화
  1453. ****************************************************************************************/
  1454. function fBtnDisableYN(selrowyn){
  1455. if(selrowyn == "Y"){
  1456. group3.btn_upd.enable = true;
  1457. group3.btn_del.enable = true;
  1458. }else{
  1459. group3.btn_upd.enable = false;
  1460. group3.btn_del.enable = false;
  1461. }
  1462. }
  1463. //=======================================================================================
  1464. // Event
  1465. //---------------------------------------------------------------------------------------
  1466. /****************************************************************************************
  1467. * Components : Form
  1468. * Components ID : SMADB02100
  1469. * Event : oninit
  1470. * Argument : 01.obj : Object Event has occurred
  1471. * : 02.e : Event Object
  1472. * Description : 화면 처음 초기화시 폼초기화
  1473. ****************************************************************************************/
  1474. function SMADB02100_oninit(obj:Form, e:InitEventInfo)
  1475. {
  1476. frmf_initForm(obj); // 폼 초기화
  1477. }
  1478. /****************************************************************************************
  1479. * Components : Form
  1480. * Components ID : SMADB02100
  1481. * Event : onload
  1482. * Argument : 01.obj : Object Event has occurred
  1483. * : 02.e : Event Object
  1484. * Description : 화면 처음 초기화시 폼초기화
  1485. ****************************************************************************************/
  1486. function SMADB02100_onload(obj:Form, e:LoadEventInfo)
  1487. {
  1488. // frmf_createPopupMenu("pop_ivewer"
  1489. // ,"fPopupMenu"
  1490. // ,[{id: "fSetEmptyImage" , level: "0", title: "빈이미지"}
  1491. // ,{id: "fOpenImageFile" , level: "0", title: "파일열기"}]
  1492. // );
  1493. // 권한 관리
  1494. group3.btn_save.enable = frmf_checkAuth("X"); // 저장
  1495. group3.btn_upd.enable = frmf_checkAuth("X"); // 수정
  1496. group3.btn_del.enable = frmf_checkAuth("X"); // 삭제
  1497. // zbcfGetCodeList( new Array("A0044","A0635"), new Array("/root/init/comboitem/drugtype", "/root/init/comboitem/useyn"));
  1498. var arrParam = [{dsNm: "ds_init_A0044", cdGrpId: "A0044"} ///root/init/comboitem/drugtype
  1499. ,{dsNm: "ds_init_A0635", cdGrpId: "A0635"} ///root/init/comboitem/useyn
  1500. ]
  1501. appf_getCodeList(arrParam);
  1502. ds_temp_cominfo.clearData(); // 성분명 임시 그리드 초기화
  1503. // 색상 설정
  1504. ds_hidden_colorlist.rowposition = -1;
  1505. ds_send_srchinfo.setColumn(0,"instcd",ds_hidden.setColumn(0,"instcd"));
  1506. //개발용으로 쓰이는 idcd값을 숨김(Excel 변환시 필요)
  1507. SelRowYn = "N";
  1508. fBtnDisableYN(SelRowYn);
  1509. // group3.Base64_Preview1.position.top = group3.line11.position.top+5;
  1510. // group3.Base64_Preview1.position.height = 116;
  1511. }
  1512. /****************************************************************************************
  1513. * Function : fPopupMenu
  1514. * Description :
  1515. * Argument :
  1516. * return type :
  1517. * Creator :
  1518. ****************************************************************************************/
  1519. // function fPopupMenu(obj:PopupMenu, e:MenuClickEventInfo) {
  1520. // if(e.id == "fSetEmptyImage") {
  1521. // fSetEmptyImage();
  1522. // }
  1523. // if(e.id == "fOpenImageFile") {
  1524. // fOpenImageFile();
  1525. // }
  1526. // }
  1527. /****************************************************************************************
  1528. * Components : Button
  1529. * Components ID : group2.btn_sea
  1530. * Event : onclick
  1531. * Argument : 01.obj : Object Event has occurred
  1532. * : 02.e : Event Object
  1533. * Description : 조회버튼으로 조회 시작
  1534. ****************************************************************************************/
  1535. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  1536. {
  1537. if(utlf_transNullToEmpty(ds_send_srchinfo.getColumn(0,"srchval")).length >= 2 || !utlf_isNull(ds_send_srchinfo.getColumn(0,"srchval2")) || !utlf_isNull(ds_send_srchinfo.getColumn(0,"srchshapecd"))) {
  1538. ds_send_srchinfo.setColumn(0,"instcd", ds_hidden.getColumn(0,"instcd"));
  1539. fClearDrugIdInfo();
  1540. ds_main_drugitem_drugidlist.filter("");
  1541. ds_main_drugitem_drugidlist.clearData();
  1542. var oParam = {};
  1543. oParam.id = "TRADB02101";
  1544. oParam.service = "pharmacybaseapp.DrugIdBase";
  1545. oParam.method = "reqGetDrugId";
  1546. oParam.inds = "req=ds_send_srchinfo";
  1547. oParam.outds = "ds_main_drugitem_drugidlist=drugidlist";
  1548. oParam.async = false;
  1549. oParam.callback = "cf_TRADB02101";
  1550. tranf_submit(oParam);
  1551. if(arErrorCode.pop("TRADB02101") > -1){
  1552. for(var i = 0; i < ds_main_drugitem_drugidlist.rowcount; i++){
  1553. var color = ds_main_drugitem_drugidlist.getColumn(i,"color");
  1554. var colornm = "";
  1555. var temp = color.split("/");
  1556. if(temp.length > 1){
  1557. for(var j = 0; j < temp.length; j++){
  1558. if(j+1 == temp.length) {
  1559. colornm += fMatchColor(temp[j]);
  1560. } else colornm += fMatchColor(temp[j])+",";
  1561. }
  1562. } else colornm = fMatchColor(temp);
  1563. ds_main_drugitem_drugidlist.setColumn(i,"colornm", colornm);
  1564. }
  1565. }
  1566. }else{
  1567. sysf_messageBox("최소 2글자 이상","C001");
  1568. group2.ipt_srchval.setFocus();
  1569. return;
  1570. }
  1571. }
  1572. function cf_TRADB02101(sSvcId, nErrorCode, sErrorMsg) {
  1573. arErrorCode.push(sSvcId, nErrorCode);
  1574. }
  1575. /****************************************************************************************
  1576. * Components : Edit
  1577. * Components ID : group2.ipt_srchval
  1578. * Event : onkeydown
  1579. * Argument : 01.obj : Object Event has occurred
  1580. * : 02.e : Event Object
  1581. * Description : 조회조건 넣고 조회실행
  1582. ****************************************************************************************/
  1583. function group2_ipt_srchval_onkeydown(obj:Edit, e:KeyEventInfo)
  1584. {
  1585. if(e.keycode == 13) {
  1586. obj.updateToDataset();
  1587. var ev = new ClickEventInfo;
  1588. frmf_inputEnterKey("group2.btn_sea", "onclick", ev );
  1589. }
  1590. }
  1591. /****************************************************************************************
  1592. * Components : Calendar
  1593. * Components ID : group2.input8
  1594. * Event : onchanged
  1595. * Argument : 01.obj : Object Event has occurred
  1596. * : 02.e : Event Object
  1597. * Description : 날자변경 후 조회 실행
  1598. ****************************************************************************************/
  1599. function group2_input8_onchanged(obj:Calendar, e:ChangeEventInfo)
  1600. {
  1601. obj.updateToDataset();
  1602. var ev = new ClickEventInfo;
  1603. frmf_inputEnterKey("group2.btn_sea", "onclick", ev );
  1604. }
  1605. /****************************************************************************************
  1606. * Components : Button
  1607. * Components ID : group2.btn_sea_re
  1608. * Event : onclick
  1609. * Argument : 01.obj : Object Event has occurred
  1610. * : 02.e : Event Object
  1611. * Description : 재조회 버튼으로 조회 실행
  1612. ****************************************************************************************/
  1613. function group2_btn_sea_re_onclick(obj:Button, e:ClickEventInfo)
  1614. {
  1615. var strstr = ds_temp.getColumn(0,"str_re")
  1616. strstr = strstr.toUpperCase();
  1617. var strtype = ds_send_srchinfo.getColumn(0,"srchflag")
  1618. if(ds_send_srchinfo.getColumn(0,"srchval").length < 2 ) {
  1619. sysf_messageBox("최소 2글자 이상","C001");
  1620. group2.ipt_srchval_re.setFocus();
  1621. return;
  1622. }
  1623. var r_cnt = ds_main_drugitem_drugidlist.rowcount;
  1624. for(var j = 0 ; j < r_cnt ; j++ ) {
  1625. var datastr = "";
  1626. if(strtype == "drugcd") {
  1627. datastr = ds_main_drugitem_drugidlist.getColumn(j,"drugcd");
  1628. datastr = datastr.toUpperCase();
  1629. }
  1630. if(strtype == "srchname") {
  1631. datastr = ds_main_drugitem_drugidlist.getColumn(j,"hngnm");
  1632. datastr = datastr.toUpperCase();
  1633. }
  1634. if(strtype == "comcnts") {
  1635. datastr = ds_main_drugitem_drugidlist.getColumn(j,"comcnts");
  1636. datastr = datastr.toUpperCase();
  1637. }
  1638. if(!utlf_isNull(datastr)) {
  1639. if(utlf_isSearchString(datastr, strstr) == false) {
  1640. dsf_makeValue(ds_main_drugitem_drugidlist,"hiddenRow","string","Y",j);
  1641. } else {
  1642. dsf_makeValue(ds_main_drugitem_drugidlist,"hiddenRow","string","N",j);
  1643. }
  1644. }
  1645. }
  1646. ds_main_drugitem_drugidlist.filter("hiddenRow != 'Y'");
  1647. }
  1648. /****************************************************************************************
  1649. * Components : Edit
  1650. * Components ID : group2.ipt_srchval_re
  1651. * Event : onkeydown
  1652. * Argument : 01.obj : Object Event has occurred
  1653. * : 02.e : Event Object
  1654. * Description : 재검색 조건을 넣고 엔터로 재조회
  1655. ****************************************************************************************/
  1656. function group2_ipt_srchval_re_onkeydown(obj:Edit, e:KeyEventInfo)
  1657. {
  1658. if(e.keycode == 13) {
  1659. obj.updateToDataset();
  1660. var ev = new ClickEventInfo;
  1661. frmf_inputEnterKey("group2.btn_sea_re", "onclick", ev );
  1662. }
  1663. }
  1664. /****************************************************************************************
  1665. * Components : Button
  1666. * Components ID : group2.btn_shape3
  1667. * Event : onclick
  1668. * Argument : 01.obj : Object Event has occurred
  1669. * : 02.e : Event Object
  1670. * Description : 문양불러오기 버튼(이미지 선택화면)
  1671. ****************************************************************************************/
  1672. function group2_btn_shape3_onclick(obj:Button, e:ClickEventInfo)
  1673. {
  1674. var objArg = new Object();
  1675. objArg.arg_ds_hidden_receiveref = ds_hidden_receiveshape;
  1676. frmf_modal("SPADB62600","SPADB62600", objArg, "", 0, 100, 150, "", "", "", "", "", "M");
  1677. if(!utlf_isNull(ds_hidden_receiveshape.getColumn(0,"shape"))) {
  1678. ds_send_srchinfo.setColumn(0,"srchshapecd",ds_hidden_receiveshape.getColumn(0,"shapecd"));
  1679. ds_hidden.setColumn(0,"srchimginfo",ds_hidden_receiveshape.getColumn(0,"shape"));
  1680. ds_hidden_receiveshape.clearData();
  1681. ds_hidden_receiveshape.addRow();
  1682. }
  1683. }
  1684. /****************************************************************************************
  1685. * Components : Button
  1686. * Components ID : group2.btn_delshape3
  1687. * Event : onclick
  1688. * Argument : 01.obj : Object Event has occurred
  1689. * : 02.e : Event Object
  1690. * Description : 문양 삭제
  1691. ****************************************************************************************/
  1692. function group2_btn_delshape3_onclick(obj:Button, e:ClickEventInfo)
  1693. {
  1694. ds_hidden.setColumn(0,"srchimginfo", "");
  1695. ds_send_srchinfo.setColumn(0,"srchshapecd", "");
  1696. }
  1697. /****************************************************************************************
  1698. * Components : Button
  1699. * Components ID : group3.button51
  1700. * Event : onclick
  1701. * Argument : 01.obj : Object Event has occurred
  1702. * : 02.e : Event Object
  1703. * Description : 검색약품을 엑셀로 받는다
  1704. ****************************************************************************************/
  1705. function group3_button51_onclick(obj:Button, e:ClickEventInfo)
  1706. {
  1707. if( ds_main_drugitem_drugidlist.rowcount > 0 ){
  1708. grdf_exportExcel(group3.grd_drugid, "검색약품", "검색약품", false, "", "user", false);
  1709. } else {
  1710. sysf_messageBox("조회된 데이터가 ", "I004");
  1711. }
  1712. }
  1713. /****************************************************************************************
  1714. * Components : Button
  1715. * Components ID : group3.button2
  1716. * Event : onclick
  1717. * Argument : 01.obj : Object Event has occurred
  1718. * : 02.e : Event Object
  1719. * Description : 전체약품을 엑셀로 받는다
  1720. ****************************************************************************************/
  1721. function group3_button2_onclick(obj:Button, e:ClickEventInfo)
  1722. {
  1723. var oParam = {};
  1724. oParam.id = "TRADB02103";
  1725. oParam.service = "pharmacybaseapp.DrugIdBase";
  1726. oParam.method = "reqGetDrugIdPage";
  1727. oParam.inds = "req=ds_send_srchseq";
  1728. oParam.outds = "ds_temp_drugitem_drugidlist=drugidlist";
  1729. oParam.async = false;
  1730. oParam.callback = "cf_TRADB02103";
  1731. tranf_submit(oParam);
  1732. if( ds_temp_drugitem_drugidlist.rowcount > 0 ){
  1733. grdf_exportExcel(group3.datagrid_exl, "검색약품전체", "검색약품전체", false, "", "user", false);
  1734. } else {
  1735. sysf_messageBox("조회된 데이터가 ", "I004");
  1736. }
  1737. }
  1738. function cf_TRADB02103(sSvcId, nErrorCode, sErrorMsg) {
  1739. if(nErrorCode < 0) return;
  1740. dsf_setTypeFormat(ds_temp_drugitem_drugidlist, "rowseq:INT^idcd:INT");
  1741. }
  1742. /****************************************************************************************
  1743. * Components : Grid
  1744. * Components ID : group3.grd_drugid
  1745. * Event : oncelldblclick
  1746. * Argument : 01.obj : Object Event has occurred
  1747. * : 02.e : Event Object
  1748. * Description : 약품리스트 더블클릭하여 아래 검색결과에 상세 조회
  1749. ****************************************************************************************/
  1750. function group3_grd_drugid_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1751. {
  1752. SelRowYn = "Y";
  1753. fBtnDisableYN(SelRowYn);
  1754. fClearColor();
  1755. if(ds_main_drugidinfo.rowcount < 1) ds_main_drugidinfo.addRow();
  1756. // ds_main_drugidinfo.clear();
  1757. // dsf_copyColInfo(ds_main_drugidinfo,ds_main_drugitem_drugidlist);
  1758. ds_main_drugidinfo.copyRow(0,ds_main_drugitem_drugidlist,SelRow);
  1759. var color2 = ds_main_drugidinfo.getColumn(0,"color");
  1760. var tmpArray;
  1761. tmpArray = color2.split("/");
  1762. for(var i = 0; i < tmpArray.length; i++){
  1763. for(var j = 0; j < ds_hidden_colorlist.rowcount; j++){
  1764. var color1 = ds_hidden_colorlist.getColumn(j,"color");
  1765. if(color1 == tmpArray[i].getTrim()) {
  1766. ds_hidden_colorlist.setColumn(j,"chk",1);
  1767. }
  1768. }
  1769. }
  1770. //이미지 로딩
  1771. ds_send_imginfo_drugidinfo.clear();
  1772. dsf_copyColInfo(ds_send_imginfo_drugidinfo,ds_main_drugitem_drugidlist);
  1773. if(ds_send_imginfo_drugidinfo.rowcount < 1) ds_send_imginfo_drugidinfo.addRow();
  1774. ds_send_imginfo_drugidinfo.copyRow(0,ds_main_drugitem_drugidlist,SelRow);
  1775. var oParam = {};
  1776. oParam.id = "TRADB02102";
  1777. oParam.service = "pharmacybaseapp.DrugIdBase";
  1778. oParam.method = "reqGetDrugImg";
  1779. oParam.inds = "req=ds_send_imginfo_drugidinfo";
  1780. oParam.outds = "ds_main_drugidimg_drugidimg=drugidimg ds_main_drugidimg_shape=shape";
  1781. oParam.async = false;
  1782. oParam.callback = "cf_TRADB02102";
  1783. tranf_submit(oParam);
  1784. // 20141226 jmkim phot 없을 경우에 대한 예외처리 용 if 추가
  1785. if(!utlf_isNull(ds_main_drugidimg_drugidimg.getColumn(0,"phot"))){
  1786. ds_main_drugidinfo.setColumn(0,"phot",ds_main_drugidimg_drugidimg.getColumn(0,"phot"));
  1787. }
  1788. if(!utlf_isNull(ds_main_drugidimg_shape.getColumn(0,"shape1"))){
  1789. ds_main_drugidinfo.setColumn(0,"img1",ds_main_drugidimg_shape.getColumn(0,"shape1"));
  1790. }
  1791. if(!utlf_isNull(ds_main_drugidimg_shape.getColumn(0,"shape2"))){
  1792. ds_main_drugidinfo.setColumn(0,"img2",ds_main_drugidimg_shape.getColumn(0,"shape2"));
  1793. }
  1794. chkPhotImg = false;
  1795. chkShape1Img = false;
  1796. chkShape2Img = false;
  1797. }
  1798. function cf_TRADB02102(sSvcId, nErrorCode, sErrorMsg) {
  1799. if(nErrorCode < 0) return;
  1800. dsf_setDefaultVal(ds_main_drugidimg_shape, "shape1:'',shape2:''");
  1801. }
  1802. /****************************************************************************************
  1803. * Components : Grid
  1804. * Components ID : group3.grd_drugid
  1805. * Event : oncellclick
  1806. * Argument : 01.obj : Object Event has occurred
  1807. * : 02.e : Event Object
  1808. * Description : 약품리스트 클릭하여 row선택
  1809. ****************************************************************************************/
  1810. function group3_grd_drugid_oncellclick(obj:Grid, e:GridClickEventInfo)
  1811. {
  1812. SelRow = e.row;
  1813. }
  1814. /****************************************************************************************
  1815. * Components : Button
  1816. * Components ID : group3.button61
  1817. * Event : onclick
  1818. * Argument : 01.obj : Object Event has occurred
  1819. * : 02.e : Event Object
  1820. * Description : 약품코드 검색
  1821. ****************************************************************************************/
  1822. function group3_button61_onclick(obj:Button, e:ClickEventInfo)
  1823. {
  1824. var objArg = new Object();
  1825. objArg.arg_ds_temp_receivedata = ds_hidden;
  1826. frmf_modal("SPADB60100","SPADB60100", objArg, "", "", 100, 150, "", "", "", "", "", "M");
  1827. }
  1828. /****************************************************************************************
  1829. * Components : Button
  1830. * Components ID : group3.button1
  1831. * Event : onclick
  1832. * Argument : 01.obj : Object Event has occurred
  1833. * : 02.e : Event Object
  1834. * Description : 제약회사 변경
  1835. ****************************************************************************************/
  1836. function group3_button1_onclick(obj:Button, e:ClickEventInfo)
  1837. {
  1838. var objArg = new Object();
  1839. objArg.arg_ds_hidden = ds_hidden;
  1840. frmf_modal("SPADB63400","SPADB63400", objArg, "", "", 50, 50, "", "", "", "", "", "M");
  1841. }
  1842. /****************************************************************************************
  1843. * Components : Button
  1844. * Components ID : group3.button3
  1845. * Event : onclick
  1846. * Argument : 01.obj : Object Event has occurred
  1847. * : 02.e : Event Object
  1848. * Description : 성분ATC코드 변경
  1849. ****************************************************************************************/
  1850. function group3_button3_onclick(obj:Button, e:ClickEventInfo)
  1851. {
  1852. frmf_setParameter("srchtype","B");
  1853. frmf_modal("SPADB61300","SPADB61300", "", "", 0, 100, 150, "", "", "", "", "", "M");
  1854. dsf_makeValue(ds_temp_cominfo,"comcd" ,"string",frmf_getParameter("comcd"));
  1855. dsf_makeValue(ds_temp_cominfo,"comexcd" ,"string",frmf_getParameter("comexcd"));
  1856. dsf_makeValue(ds_temp_cominfo,"comnm" ,"string",frmf_getParameter("comnm"));
  1857. if(!utlf_isNull(ds_temp_cominfo.getColumn(0,"comcd"))) {
  1858. ds_main_drugidinfo.setColumn(0,"atccode",ds_temp_cominfo.getColumn(0,"comcd"));
  1859. }
  1860. }
  1861. /****************************************************************************************
  1862. * Components : Button
  1863. * Components ID : group3.btn_img
  1864. * Event : onclick
  1865. * Argument : 01.obj : Object Event has occurred
  1866. * : 02.e : Event Object
  1867. * Description : 사진 불러오기
  1868. ****************************************************************************************/
  1869. function group3_btn_img_onclick(obj:Button, e:ClickEventInfo)
  1870. {
  1871. if(fOpenImageFile("img_phot")){
  1872. chkPhotImg = true;
  1873. }
  1874. }
  1875. /****************************************************************************************
  1876. * Components : Button
  1877. * Components ID : group3.btn_delimg
  1878. * Event : onclick
  1879. * Argument : 01.obj : Object Event has occurred
  1880. * : 02.e : Event Object
  1881. * Description : 사진 삭제
  1882. ****************************************************************************************/
  1883. function group3_btn_delimg_onclick(obj:Button, e:ClickEventInfo)
  1884. {
  1885. // fSetEmptyImage();
  1886. ds_main_drugidinfo.setColumn(0,"phot" ,"");
  1887. ds_main_drugidinfo.setColumn(0,"photoid",""); // 이미지 삭제시 해당 약품코드의 이미지정보 삭제
  1888. chkPhotImg = true;
  1889. }
  1890. /****************************************************************************************
  1891. * Components : Button
  1892. * Components ID : group3.btn_shape1
  1893. * Event : onclick
  1894. * Argument : 01.obj : Object Event has occurred
  1895. * : 02.e : Event Object
  1896. * Description : 문양1 불러오기
  1897. ****************************************************************************************/
  1898. function group3_btn_shape1_onclick(obj:Button, e:ClickEventInfo)
  1899. {
  1900. var objArg = new Object();
  1901. objArg.arg_ds_hidden_receiveref = ds_hidden_receiveshape;
  1902. frmf_modal("SPADB62600","SPADB62600", objArg, "", 0, 100, 150, "", "", "", "", "", "M");
  1903. if(!utlf_isNull(ds_hidden_receiveshape.getColumn(0,"shape"))) {
  1904. ds_main_drugidinfo.setColumn(0,"img1" ,ds_hidden_receiveshape.getColumn(0,"shape"));
  1905. ds_main_drugidinfo.setColumn(0,"shape1" ,ds_hidden_receiveshape.getColumn(0,"shapecd"));
  1906. ds_hidden_receiveshape.clearData();
  1907. ds_hidden_receiveshape.addRow();
  1908. }
  1909. }
  1910. /****************************************************************************************
  1911. * Components : Button
  1912. * Components ID : group3.img_shape1
  1913. * Event : onclick
  1914. * Argument : 01.obj : Object Event has occurred
  1915. * : 02.e : Event Object
  1916. * Description : 문양1 불러오기
  1917. ****************************************************************************************/
  1918. function group3_img_shape1_onclick(obj:ImageViewer, e:ClickEventInfo)
  1919. {
  1920. var ev = new ClickEventInfo;
  1921. frmf_inputEnterKey("group3.btn_shape1", "onclick", ev );
  1922. }
  1923. /****************************************************************************************
  1924. * Components : Button
  1925. * Components ID : group3.btn_delshape1
  1926. * Event : onclick
  1927. * Argument : 01.obj : Object Event has occurred
  1928. * : 02.e : Event Object
  1929. * Description : 문약1 삭제
  1930. ****************************************************************************************/
  1931. function group3_btn_delshape1_onclick(obj:Button, e:ClickEventInfo)
  1932. {
  1933. ds_main_drugidinfo.setColumn(0,"img1" ,"");
  1934. ds_main_drugidinfo.setColumn(0,"shape1" ,"");
  1935. }
  1936. /****************************************************************************************
  1937. * Components : Button
  1938. * Components ID : group3.btn_shape2
  1939. * Event : onclick
  1940. * Argument : 01.obj : Object Event has occurred
  1941. * : 02.e : Event Object
  1942. * Description : 문양2 불러오기
  1943. ****************************************************************************************/
  1944. function group3_btn_shape2_onclick(obj:Button, e:ClickEventInfo)
  1945. {
  1946. var objArg = new Object();
  1947. objArg.arg_ds_hidden_receiveref = ds_hidden_receiveshape;
  1948. frmf_modal("SPADB62600","SPADB62600", objArg, "", 0, 100, 150, "", "", "", "", "", "M");
  1949. if(!utlf_isNull(ds_hidden_receiveshape.getColumn(0,"shape"))) {
  1950. ds_main_drugidinfo.setColumn(0,"img2" ,ds_hidden_receiveshape.getColumn(0,"shape"));
  1951. ds_main_drugidinfo.setColumn(0,"shape2" ,ds_hidden_receiveshape.getColumn(0,"shapecd"));
  1952. ds_hidden_receiveshape.clearData();
  1953. ds_hidden_receiveshape.addRow();
  1954. }
  1955. }
  1956. /****************************************************************************************
  1957. * Components : Button
  1958. * Components ID : group3.img_shape2
  1959. * Event : onclick
  1960. * Argument : 01.obj : Object Event has occurred
  1961. * : 02.e : Event Object
  1962. * Description : 문양2 불러오기
  1963. ****************************************************************************************/
  1964. function group3_img_shape2_onclick(obj:ImageViewer, e:ClickEventInfo)
  1965. {
  1966. var ev = new ClickEventInfo;
  1967. frmf_inputEnterKey("group3.btn_shape2", "onclick", ev );
  1968. }
  1969. /****************************************************************************************
  1970. * Components : Button
  1971. * Components ID : group3.btn_delshape2
  1972. * Event : onclick
  1973. * Argument : 01.obj : Object Event has occurred
  1974. * : 02.e : Event Object
  1975. * Description : 문양2 삭제
  1976. ****************************************************************************************/
  1977. function group3_btn_delshape2_onclick(obj:Button, e:ClickEventInfo)
  1978. {
  1979. ds_main_drugidinfo.setColumn(0,"img2" ,"");
  1980. ds_main_drugidinfo.setColumn(0,"shape2" ,"");
  1981. }
  1982. /****************************************************************************************
  1983. * Components : Button
  1984. * Components ID : group3.btn_save
  1985. * Event : onclick
  1986. * Argument : 01.obj : Object Event has occurred
  1987. * : 02.e : Event Object
  1988. * Description : 신규입력
  1989. ****************************************************************************************/
  1990. function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1991. {
  1992. fSetDrugIdData("I");
  1993. }
  1994. /****************************************************************************************
  1995. * Components : Button
  1996. * Components ID : group3.btn_upd
  1997. * Event : onclick
  1998. * Argument : 01.obj : Object Event has occurred
  1999. * : 02.e : Event Object
  2000. * Description : 수정
  2001. ****************************************************************************************/
  2002. function group3_btn_upd_onclick(obj:Button, e:ClickEventInfo)
  2003. {
  2004. if(fSetDrugIdData("U")) {
  2005. var ev = new GridClickEventInfo;
  2006. frmf_inputEnterKey("group3.grd_drugid", "oncelldblclick", ev );
  2007. }
  2008. }
  2009. /****************************************************************************************
  2010. * Components : Button
  2011. * Components ID : group3.btn_del
  2012. * Event : onclick
  2013. * Argument : 01.obj : Object Event has occurred
  2014. * : 02.e : Event Object
  2015. * Description : 삭제
  2016. ****************************************************************************************/
  2017. function group3_btn_del_onclick(obj:Button, e:ClickEventInfo)
  2018. {
  2019. fSetDrugIdData("D");
  2020. }
  2021. /****************************************************************************************
  2022. * Components : Button
  2023. * Components ID : group3.button12
  2024. * Event : onclick
  2025. * Argument : 01.obj : Object Event has occurred
  2026. * : 02.e : Event Object
  2027. * Description : 초기화
  2028. ****************************************************************************************/
  2029. function group3_button12_onclick(obj:Button, e:ClickEventInfo)
  2030. {
  2031. fClearDrugIdInfo();
  2032. }
  2033. /****************************************************************************************
  2034. * Components : Button
  2035. * Components ID : group3.button12
  2036. * Event : onclick
  2037. * Argument : 01.obj : Object Event has occurred
  2038. * : 02.e : Event Object
  2039. * Description : 초기화
  2040. ****************************************************************************************/
  2041. function group1_button11_onclick(obj:Button, e:ClickEventInfo)
  2042. {
  2043. frmf_open("SPADB63300","SPADB63300", "", "", "", "", "", "", "", "", "", "", "M");
  2044. }
  2045. ]]></Script>
  2046. </Form>
  2047. </FDL>