SMADB01900_약품편람조회.xfdl 102 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADB01900" position="absolute 0 0 1256 812" titletext="약품편람조회" onload="SMADB01900_onload" onmousemove="SMADB01900_onmousemove">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" position="absolute 0 28 1256 788" anchor="all" positiontype="position" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Tab id="switch1" position="absolute 0 0 1256 758" anchor="all" onchanged="group3_switch1_onchanged" positiontype="position">
  11. <Tabpages>
  12. <Tabpage id="case1" position="absolute 0 0 1195 717" text="목차" style="anchor:default;margin:0 0 0 0;">
  13. <Layouts>
  14. <Layout>
  15. <Tab id="switch2" position="absolute 360 269 1256 732" anchor="all" positiontype="position">
  16. <Tabpages>
  17. <Tabpage id="case4" position="absolute 0 0 808 403" text="기본정보">
  18. <Layouts>
  19. <Layout>
  20. <Static id="caption1" class="search_name" position="absolute 0 -1 73 19" anchor="default" text="상품명" positiontype="position"/>
  21. <Static id="caption2" class="search_name" position="absolute 0 144 73 164" anchor="default" text="성분" positiontype="position"/>
  22. <Static id="caption3" class="search_name" position="absolute 0 290 73 310" anchor="default" text="약가" positiontype="position"/>
  23. <Static id="caption4" class="search_name" position="absolute 375 -1 431 19" anchor="default" text="용법" positiontype="position"/>
  24. <Static id="Static05" text="h5" class="sta_guide" visible="false" position="absolute 9 142 100 147" anchor="default"/>
  25. <Static id="Static00" text="h5" class="sta_guide" visible="false" position="absolute 9 287 100 292" anchor="default"/>
  26. <Static id="Static14" text="w&#13;&#10;&#13;&#10;10" class="sta_guide" visible="false" position="absolute 365 103 375 218" anchor="default"/>
  27. <TextArea id="tar_drugnm1" taborder="5" position="absolute 0 19 363 141" scrollbars="autoboth" wordwrap="word" style="border:1 solid black ;font:Dotum,11;" readonly="true" maxlength="0" anchor="default"/>
  28. <TextArea id="tar_comnm1" taborder="6" scrollbars="autovert" wordwrap="word" position="absolute 0 163 363 285" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="default"/>
  29. <TextArea id="tar_cost1" taborder="7" scrollbars="autovert" wordwrap="word" position="absolute 0 311 363 433" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="default"/>
  30. <TextArea id="tar_mthdvolsmm1" taborder="8" scrollbars="autovert" wordwrap="word" position="absolute 377 19 889 434" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="all"/>
  31. </Layout>
  32. </Layouts>
  33. </Tabpage>
  34. <Tabpage id="case5" text="약리작용 및 효능">
  35. <Layouts>
  36. <Layout>
  37. <Static id="caption5" class="search_name" position="absolute 0 -1 145 19" anchor="default" text="약리작용 및 효능" positiontype="position"/>
  38. <TextArea id="tar_efcysmm1" taborder="1" position="absolute 0 22 889 432" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="all" wordwrap="char" scrollbars="autovert"/>
  39. </Layout>
  40. </Layouts>
  41. </Tabpage>
  42. <Tabpage id="case6" text="부작용">
  43. <Layouts>
  44. <Layout>
  45. <Static id="caption23" class="search_name" position="absolute 0 -1 73 19" anchor="default" text="부작용" positiontype="position"/>
  46. <TextArea id="tar_seffcsmm1" taborder="1" position="absolute 2 19 888 434" scrollbars="autovert" readonly="true" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
  47. </Layout>
  48. </Layouts>
  49. </Tabpage>
  50. <Tabpage id="case7" text="주의/금기/참고문헌">
  51. <Layouts>
  52. <Layout>
  53. <Static id="caption24" class="search_name" position="absolute 0 -1 81 19" text="주의/금기" anchor="default" positiontype="position"/>
  54. <Static id="caption25" class="search_name" position="absolute 1 223 126 240" text="참고문헌" anchor="default" positiontype="position"/>
  55. <TextArea id="tar_refcnts1" taborder="1" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 243 889 430" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
  56. <TextArea id="tar_etc1" taborder="2" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 20 889 217" style="border:1 solid black ;font:Dotum,11;" anchor="left top right"/>
  57. </Layout>
  58. </Layouts>
  59. </Tabpage>
  60. </Tabpages>
  61. </Tab>
  62. <Div id="grp_img1" position="absolute 907 4 1256 259" anchor="top right" style="background:transparent;border:1 solid #808080ff ;" onmouseleave="group3_switch1_case1_grp_img1_onmouseleave" positiontype="position">
  63. <Layouts>
  64. <Layout>
  65. <Button id="button1" taborder="0" text="-축소" onlbuttonup="button1_onlbuttonup" class="btn2" position="absolute 282 204 335 224" anchor="top right" onclick="button1_onclick" positiontype="position"/>
  66. <Button id="button25" taborder="1" text="+확대" class="btn2" position="absolute 226 204 279 224" anchor="top right" onclick="button25_onclick" positiontype="position"/>
  67. <ImageViewer id="img_phot1" taborder="2" position="absolute 8 65 341 180" anchor="top right" stretch="fit"/>
  68. </Layout>
  69. </Layouts>
  70. </Div>
  71. <Grid id="grd_druglist1" position="absolute 360 4 903 259" anchor="left top right" binddataset="ds_grid_grd_druglist1" oncelldblclick="group3_switch1_case1_grd_druglist1_oncelldblclick" autofittype="col" positiontype="position" oncellclick="group3_switch1_case1_grd_druglist1_oncellclick">
  72. <Formats>
  73. <Format id="default">
  74. <Columns>
  75. <Column size="80"/>
  76. <Column size="90"/>
  77. <Column size="150"/>
  78. <Column size="130"/>
  79. </Columns>
  80. <Rows>
  81. <Row size="22" band="head"/>
  82. <Row size="20"/>
  83. </Rows>
  84. <Band id="head">
  85. <Cell text="처방입력구분"/>
  86. <Cell col="1" text="약품코드"/>
  87. <Cell col="2" text="상품명"/>
  88. <Cell col="3" text="성분명"/>
  89. </Band>
  90. <Band id="body">
  91. <Cell displaytype="combo" edittype="none" style="align:left;" text="bind:ordinptflag" combodataset="ds_init_ordinptflag" combocodecol="value" combodatacol="label"/>
  92. <Cell col="1" displaytype="normal" edittype="none" style="align:left;" text="bind:drugcd"/>
  93. <Cell col="2" displaytype="normal" edittype="none" style="align:left;" text="bind:drugnm"/>
  94. <Cell col="3" displaytype="normal" edittype="none" style="align:left;" text="bind:comnm"/>
  95. <Cell col="4"/>
  96. </Band>
  97. </Format>
  98. </Formats>
  99. </Grid>
  100. <Edit readonly="true" id="opt_title1" position="absolute 916 185 1249 205" style="align:center middle;" anchor="top right" visible="false" positiontype="position"/>
  101. <Grid id="trv_druglist" taborder="1" binddataset="ds_trv_druglist" useinputpanel="false" position="absolute 0 4 350 730" autoenter="select" treeusecheckbox="false" treeuseexpandkey="true" treeusebutton="use" anchor="left top bottom" oncelldblclick="group3_switch1_case1_trv_druglist_oncelldblclick" treeinitstatus="expand,null" oncellclick="group3_switch1_case1_trv_druglist_oncellclick">
  102. <Formats>
  103. <Format id="default">
  104. <Columns>
  105. <Column size="0"/>
  106. <Column size="347"/>
  107. <Column size="0"/>
  108. </Columns>
  109. <Rows>
  110. <Row size="24"/>
  111. </Rows>
  112. <Band id="body">
  113. <Cell text="bind:efcycd"/>
  114. <Cell col="1" displaytype="tree" edittype="tree" text="bind:efcynm" treelevel="bind:efcylevel"/>
  115. <Cell col="2" text="bind:efcylevel"/>
  116. </Band>
  117. </Format>
  118. </Formats>
  119. </Grid>
  120. <Div id="grp_totimg1" position="absolute 358 44 960 269" anchor="top right" style="background:aliceblue;border:1 solid #808080ff ;" visible="false" positiontype="position">
  121. <Layouts>
  122. <Layout width="602" height="225">
  123. <ImageViewer id="img_totphot1" position="absolute -1 -1 599 222" anchor="all" visible="true" stretch="fit" positiontype="position"/>
  124. <Edit readonly="true" id="opt_tottitle1" position="absolute -1 197 599 217" style="align:center middle;" anchor="top right" visible="false" positiontype="position"/>
  125. </Layout>
  126. </Layouts>
  127. </Div>
  128. </Layout>
  129. </Layouts>
  130. <InitValue/>
  131. </Tabpage>
  132. <Tabpage id="case2" text="색인">
  133. <Layouts>
  134. <Layout>
  135. <Grid id="grd_druglist2" class="datagrid2" position="absolute 252 1 913 256" anchor="left top right" onclick="grd_druglist2_onclick" binddataset="ds_main_druglist" oncelldblclick="group3_switch1_case2_grd_druglist2_oncelldblclick" autofittype="col" positiontype="position" oncellclick="group3_switch1_case2_grd_druglist2_oncellclick">
  136. <Formats>
  137. <Format id="default">
  138. <Columns>
  139. <Column size="90"/>
  140. <Column size="100"/>
  141. <Column size="254"/>
  142. <Column size="201"/>
  143. </Columns>
  144. <Rows>
  145. <Row size="24" band="head"/>
  146. <Row size="20"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell text="처방입력구분"/>
  150. <Cell col="1" text="약품코드"/>
  151. <Cell col="2" text="상품명"/>
  152. <Cell col="3" text="성분명"/>
  153. </Band>
  154. <Band id="body">
  155. <Cell displaytype="combo" edittype="none" style="align:center middle;" text="bind:ordinptflag" combodataset="ds_init_ordinptflag2" combocodecol="value" combodatacol="label"/>
  156. <Cell col="1" displaytype="normal" edittype="none" style="align:left;" text="bind:drugcd"/>
  157. <Cell col="2" displaytype="normal" edittype="none" style="align:left;" text="bind:drugnm"/>
  158. <Cell col="3" displaytype="normal" edittype="none" style="align:left;" text="bind:comnm"/>
  159. <Cell col="4"/>
  160. </Band>
  161. </Format>
  162. </Formats>
  163. </Grid>
  164. <Div id="grp_img2" position="absolute 916 1 1255 256" anchor="top right" style="border:1 solid #808080ff ;" positiontype="position">
  165. <Layouts>
  166. <Layout>
  167. <ImageViewer id="img_phot2" position="absolute 2 47 332 162" anchor="top right" stretch="fit" positiontype="position"/>
  168. <Edit readonly="true" id="opt_title2" position="absolute 2 172 332 192" style="align:center middle;" anchor="top right" positiontype="position"/>
  169. <Button id="button2" class="btn2" position="absolute 223 195 276 215" anchor="top right" text="+확대" onclick="group3_switch1_case2_grp_img2_button2_onclick" positiontype="position"/>
  170. <Button id="button3" class="btn2" position="absolute 279 195 332 215" anchor="top right" text="-축소" onclick="group3_switch1_case2_grp_img2_button3_onclick" positiontype="position"/>
  171. </Layout>
  172. </Layouts>
  173. </Div>
  174. <Div id="group5" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 0 244 729" anchor="default">
  175. <Layouts>
  176. <Layout>
  177. <Static id="caption11" text="내용조회 혹은 효능조회를 선택하고,찾는약품정보를 검색하십시오." onclick="caption11_onclick" position="absolute 8 0 164 60" style="align:left middle;" anchor="default" positiontype="position"/>
  178. <Static id="caption6" onclick="group5_caption6_onclick" class="search_name" position="absolute 18 80 22 97" anchor="default" positiontype="position"/>
  179. <Radio id="rdo_srchflag1" taborder="31" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 31 77 111 97" anchor="default" index="0" value="1" onitemchanged="group3_switch1_case2_group5_rdo_srchflag1_onitemchanged" positiontype="position">
  180. <Dataset id="innerdataset">
  181. <ColumnInfo>
  182. <Column id="codecolumn" size="256"/>
  183. <Column id="datacolumn" size="256"/>
  184. </ColumnInfo>
  185. <Rows>
  186. <Row>
  187. <Col id="codecolumn">1</Col>
  188. <Col id="datacolumn">내용조회</Col>
  189. </Row>
  190. </Rows>
  191. </Dataset>
  192. </Radio>
  193. <Radio id="rdo_srchcntsflag" taborder="32" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 10 102 220 192" anchor="default" index="0" value="1" style="background:#e3ddd1ff;border:1 solid #808080ff ;padding:1 0 0 10;bordertype:round 10 10 lefttop righttop leftbottom rightbottom;" onitemchanged="group3_switch1_case2_group5_rdo_srchcntsflag_onitemchanged" positiontype="position">
  194. <Dataset id="innerdataset">
  195. <ColumnInfo>
  196. <Column id="codecolumn" size="256"/>
  197. <Column id="datacolumn" size="256"/>
  198. </ColumnInfo>
  199. <Rows>
  200. <Row>
  201. <Col id="codecolumn">1</Col>
  202. <Col id="datacolumn">약품코드</Col>
  203. </Row>
  204. <Row>
  205. <Col id="codecolumn">2</Col>
  206. <Col id="datacolumn">성분명</Col>
  207. </Row>
  208. <Row>
  209. <Col id="codecolumn">3</Col>
  210. <Col id="datacolumn">영문상품명</Col>
  211. </Row>
  212. <Row>
  213. <Col id="codecolumn">4</Col>
  214. <Col id="datacolumn">한글상품명</Col>
  215. </Row>
  216. <Row>
  217. <Col id="codecolumn">5</Col>
  218. <Col id="datacolumn">전체</Col>
  219. </Row>
  220. </Rows>
  221. </Dataset>
  222. </Radio>
  223. <Radio id="rdo_srchflag" taborder="33" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 31 222 111 242" anchor="default" index="-1" onitemchanged="group3_switch1_case2_group5_rdo_srchflag_onitemchanged" positiontype="position">
  224. <Dataset id="innerdataset">
  225. <ColumnInfo>
  226. <Column id="codecolumn" size="256"/>
  227. <Column id="datacolumn" size="256"/>
  228. </ColumnInfo>
  229. <Rows>
  230. <Row>
  231. <Col id="codecolumn">2</Col>
  232. <Col id="datacolumn">효능조회</Col>
  233. </Row>
  234. </Rows>
  235. </Dataset>
  236. </Radio>
  237. <Combo id="cmb_srchefcy1" taborder="34" position="absolute 9 247 233 267" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy1_onitemchanged" innerdataset="@ds_init_srchefcy1" datacolumn="efcynm" codecolumn="efcycd" positiontype="position"/>
  238. <Combo id="cmb_srchefcy2" taborder="35" position="absolute 9 272 233 292" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy2_onitemchanged" innerdataset="@ds_init_srchefcy2" datacolumn="efcynm" codecolumn="efcycd" positiontype="position"/>
  239. <Combo id="cmb_srchefcy3" taborder="36" position="absolute 9 297 233 317" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy3_onitemchanged" datacolumn="efcynm" codecolumn="efcycd" innerdataset="@ds_init_srchefcy3" positiontype="position"/>
  240. <Combo id="cmb_srchefcy4" taborder="37" position="absolute 9 322 233 342" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy4_onitemchanged" innerdataset="@ds_init_srchefcy4" datacolumn="efcynm" codecolumn="efcycd" positiontype="position"/>
  241. <Combo id="cmb_srchefcy5" taborder="38" position="absolute 9 347 233 367" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy5_onitemchanged" innerdataset="@ds_init_srchefcy5" datacolumn="efcynm" codecolumn="efcycd" positiontype="position"/>
  242. <Button id="btn_sea" taborder="39" text="조회" class="btn1" position="absolute 67 397 123 417" anchor="default" onclick="group3_switch1_case2_group5_btn_sea_onclick" positiontype="position"/>
  243. <Edit id="ipt_srchdrugcd" taborder="40" class="input_search" position="absolute 9 197 182 217" anchor="default" imemode="alpha" maxlength="12" onkeyup="group3_switch1_case2_group5_ipt_srchdrugcd_onkeyup" positiontype="position"/>
  244. <Static id="caption13" class="tit_2" position="absolute 8 225 28 242" anchor="default" positiontype="position"/>
  245. <CheckBox id="chk_hosout" taborder="41" text="원외전용" onclick="lst_druglist_onclick" visible="true" position="absolute 8 371 97 393" anchor="default" truevalue="Y" falsevalue="N"/>
  246. <Static id="Static00" position="absolute 10 461 236 705" class="sta_DA_box" anchor="default"/>
  247. <Static id="Static01" text="* 원외전용약제(관리분류)" position="absolute 13 436 176 457" visible="false" style="font:돋움,9,bold;" anchor="default"/>
  248. <Static id="caption00" class="tit_2" position="absolute 16 473 124 490" text="원내원외구분" anchor="default"/>
  249. <Edit id="Edit_hosinflag" taborder="42" position="absolute 19 498 225 518" style="align:center middle;" anchor="default"/>
  250. <Static id="caption01" text="품절삭제여부" class="tit_2" position="absolute 16 529 124 546" anchor="default"/>
  251. <Edit id="Edit_absnyn" taborder="43" position="absolute 19 554 225 574" style="align:center middle;" anchor="default"/>
  252. <Static id="caption02" text="산제불가여부" class="tit_2" position="absolute 16 585 124 602" anchor="default"/>
  253. <Edit id="Edit_powdimpsi" taborder="44" position="absolute 19 610 225 630" style="align:center middle;" anchor="default"/>
  254. <Static id="caption03" text="처방분할금지여부" class="tit_2" position="absolute 16 641 145 658" anchor="default"/>
  255. <Edit id="Edit_devidebanyn" taborder="45" position="absolute 19 666 225 686" style="align:center middle;" anchor="default"/>
  256. <Static id="caption04" class="tit_2" position="absolute 8 80 28 97" anchor="default"/>
  257. </Layout>
  258. </Layouts>
  259. </Div>
  260. <Tab id="switch3" anchor="all" taborder="2" tabindex="0" position="absolute 256 269 1249 731" style="font:Dotum,9;">
  261. <Tabpages>
  262. <Tabpage id="case4" text="기본정보">
  263. <Layouts>
  264. <Layout>
  265. <Static id="caption1" text="상품명" class="search_name" position="absolute 0 -1 73 19" anchor="default"/>
  266. <Static id="caption2" text="성분" class="search_name" position="absolute 0 144 73 164" anchor="default"/>
  267. <Static id="caption3" text="약가" class="search_name" position="absolute 0 290 73 310" anchor="default"/>
  268. <Static id="caption4" text="용법" class="search_name" position="absolute 375 -1 431 19" anchor="default"/>
  269. <Static id="Static05" text="h5" class="sta_guide" visible="false" position="absolute 9 142 100 147" anchor="default"/>
  270. <Static id="Static00" text="h5" class="sta_guide" visible="false" position="absolute 9 287 100 292" anchor="default"/>
  271. <Static id="Static14" text="w&#13;&#10;&#13;&#10;10" class="sta_guide" visible="false" position="absolute 365 103 375 218" anchor="default"/>
  272. <TextArea id="tar_drugnm1" taborder="9" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 19 363 141" style="background:stretch 5,5;border:1 solid black ;font:Dotum,11;" anchor="default"/>
  273. <TextArea id="tar_comnm1" taborder="10" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 163 363 285" style="background:stretch 5,5;border:1 solid black ;font:Dotum,11;" anchor="default"/>
  274. <TextArea id="tar_cost1" taborder="11" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 311 363 433" style="background:stretch 5,5;border:1 solid black ;font:Dotum,11;" anchor="default"/>
  275. <TextArea id="tar_mthdvolsmm1" taborder="12" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 377 19 993 434" style="background:stretch 5,5;border:1 solid black ;font:Dotum,11;" anchor="all"/>
  276. </Layout>
  277. </Layouts>
  278. </Tabpage>
  279. <Tabpage id="case5" text="약리작용 및 효능">
  280. <Layouts>
  281. <Layout>
  282. <Static id="caption5" text="약리작용 및 효능" class="search_name" position="absolute 0 -1 145 19" anchor="default"/>
  283. <TextArea id="tar_efcysmm1" taborder="1" position="absolute 0 22 990 432" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="all" wordwrap="char" scrollbars="autovert"/>
  284. </Layout>
  285. </Layouts>
  286. </Tabpage>
  287. <Tabpage id="case6" text="부작용">
  288. <Layouts>
  289. <Layout>
  290. <Static id="caption23" text="부작용" class="search_name" position="absolute 0 -1 73 19" anchor="default"/>
  291. <TextArea id="tar_seffcsmm1" taborder="1" scrollbars="autovert" readonly="true" position="absolute 2 19 992 434" style="border:1 solid black ;font:Dotum,11;" anchor="all" wordwrap="char"/>
  292. </Layout>
  293. </Layouts>
  294. </Tabpage>
  295. <Tabpage id="case7" text="주의/금기/참고문헌">
  296. <Layouts>
  297. <Layout>
  298. <Static id="caption24" text="주의/금기" class="search_name" position="absolute 0 -1 81 19" anchor="default"/>
  299. <Static id="caption25" text="참고문헌" class="search_name" position="absolute 1 223 126 240" anchor="default"/>
  300. <TextArea id="tar_refcnts1" taborder="3" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 243 992 430" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
  301. <TextArea id="tar_etc1" taborder="4" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 20 992 217" style="border:1 solid black ;font:Dotum,11;" anchor="left top right"/>
  302. </Layout>
  303. </Layouts>
  304. </Tabpage>
  305. </Tabpages>
  306. </Tab>
  307. <Div id="grp_totimg2" anchor="top right" taborder="3" style="background:aliceblue;border:1 solid #808080ff ;" visible="false" position="absolute 358 36 960 261">
  308. <Layouts>
  309. <Layout width="602" height="225">
  310. <ImageViewer id="img_totphot2" taborder="1" stretch="fit" position="absolute -1 -1 599 222" anchor="all"/>
  311. <Edit id="opt_tottitle2" taborder="2" readonly="true" visible="false" position="absolute -1 197 599 217" anchor="top right" style="align:center middle;"/>
  312. </Layout>
  313. </Layouts>
  314. </Div>
  315. </Layout>
  316. </Layouts>
  317. </Tabpage>
  318. <Tabpage id="case3" text="전체코드중/약품명찾기">
  319. <Layouts>
  320. <Layout>
  321. <Tab id="switch4" anchor="all" taborder="6" tabindex="0" position="absolute 280 268 1247 729">
  322. <Tabpages>
  323. <Tabpage id="case4" text="기본정보">
  324. <Layouts>
  325. <Layout>
  326. <Static id="caption1" text="상품명" class="search_name" position="absolute 0 -1 73 19" anchor="default"/>
  327. <Static id="caption2" text="성분" class="search_name" position="absolute 0 144 73 164" anchor="default"/>
  328. <Static id="caption3" text="약가" class="search_name" position="absolute 0 290 73 310" anchor="default"/>
  329. <Static id="caption4" text="용법" class="search_name" position="absolute 375 -1 431 19" anchor="default"/>
  330. <Static id="Static05" text="h5" class="sta_guide" visible="false" position="absolute 9 142 100 147" anchor="default"/>
  331. <Static id="Static00" text="h5" class="sta_guide" visible="false" position="absolute 9 287 100 292" anchor="default"/>
  332. <Static id="Static14" text="w&#13;&#10;&#13;&#10;10" class="sta_guide" visible="false" position="absolute 365 103 375 218" anchor="default"/>
  333. <TextArea id="tar_drugnm1" taborder="13" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 19 363 141" style="border:1 solid black ;font:Dotum,11;" anchor="default"/>
  334. <TextArea id="tar_comnm1" taborder="14" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 163 363 285" style="border:1 solid black ;font:Dotum,11;" anchor="default"/>
  335. <TextArea id="tar_cost1" taborder="15" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 311 363 433" style="border:1 solid black ;font:Dotum,11;" anchor="default"/>
  336. <TextArea id="tar_mthdvolsmm1" taborder="16" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 377 19 961 434" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
  337. </Layout>
  338. </Layouts>
  339. </Tabpage>
  340. <Tabpage id="case5" text="약리작용 및 효능">
  341. <Layouts>
  342. <Layout>
  343. <Static id="caption5" text="약리작용 및 효능" class="search_name" position="absolute 0 -1 145 19" anchor="default"/>
  344. <TextArea id="tar_efcysmm1" taborder="1" position="absolute 0 22 966 434" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="all" wordwrap="char" scrollbars="autovert"/>
  345. </Layout>
  346. </Layouts>
  347. </Tabpage>
  348. <Tabpage id="case6" text="부작용">
  349. <Layouts>
  350. <Layout>
  351. <Static id="caption23" text="부작용" class="search_name" position="absolute 0 -1 73 19" anchor="default"/>
  352. <TextArea id="tar_seffcsmm1" taborder="1" scrollbars="autovert" readonly="true" position="absolute 2 19 966 434" style="border:1 solid black ;font:Dotum,11;" wordwrap="char" anchor="all"/>
  353. </Layout>
  354. </Layouts>
  355. </Tabpage>
  356. <Tabpage id="case7" text="주의/금기/참고문헌">
  357. <Layouts>
  358. <Layout>
  359. <Static id="caption24" text="주의/금기" class="search_name" position="absolute 0 -1 81 19" anchor="default"/>
  360. <Static id="caption25" text="참고문헌" class="search_name" position="absolute 1 223 126 240" anchor="default"/>
  361. <TextArea id="tar_refcnts1" taborder="5" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 243 966 430" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
  362. <TextArea id="tar_etc1" taborder="6" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 20 966 217" anchor="left top right" style="border:1 solid black ;font:Dotum,11;"/>
  363. </Layout>
  364. </Layouts>
  365. </Tabpage>
  366. </Tabpages>
  367. </Tab>
  368. <Static id="Static01" position="absolute 82 7 264 33" style="background:beige;" anchor="default"/>
  369. <Div id="grp_img3" position="absolute 918 0 1256 255" anchor="top right" style="border:1 solid #808080ff ;" positiontype="position">
  370. <Layouts>
  371. <Layout>
  372. <Button id="button28" class="btn2" position="absolute 224 203 277 223" anchor="top right" text="+확대" onclick="group3_switch1_case3_grp_img3_button28_onclick" positiontype="position"/>
  373. <ImageViewer id="img_phot3" position="absolute 0 55 333 170" anchor="top right" positiontype="position"/>
  374. <Edit readonly="true" id="opt_title3" position="absolute 0 180 333 200" style="align:center middle;" anchor="top right" visible="false" positiontype="position"/>
  375. <Button id="button4" class="btn2" position="absolute 280 203 333 223" anchor="top right" text="-축소" onclick="group3_switch1_case3_grp_img3_button4_onclick" positiontype="position"/>
  376. </Layout>
  377. </Layouts>
  378. </Div>
  379. <Grid id="lst_druglist" position="absolute 8 82 273 729" anchor="left top bottom" onclick="datagrid2_onclick" binddataset="ds_grid_datagrid2" oncelldblclick="lf_detailSch" oncellclick="lf_detailSch" positiontype="position">
  380. <Formats>
  381. <Format id="default">
  382. <Columns>
  383. <Column size="88"/>
  384. <Column size="243"/>
  385. </Columns>
  386. <Rows>
  387. <Row size="22" band="head"/>
  388. <Row size="20"/>
  389. </Rows>
  390. <Band id="head">
  391. <Cell text="약품코드"/>
  392. <Cell col="1" text="약품명"/>
  393. </Band>
  394. <Band id="body">
  395. <Cell style="align:left;" text="bind:drugcd"/>
  396. <Cell col="1" style="align:left;" text="bind:drugnm"/>
  397. <Cell col="2"/>
  398. </Band>
  399. </Format>
  400. </Formats>
  401. </Grid>
  402. <Div id="Div00" taborder="4" text="Div00" class="div_DA_box" position="absolute 280 0 905 255" anchor="default">
  403. <Layouts>
  404. <Layout>
  405. <Button id="button17" taborder="10" text="A" class="btn2" position="absolute 17 38 59 58" onclick="group3_switch1_case3_Div00_button17_onclick" anchor="default"/>
  406. <Button id="button51" taborder="11" text="B" class="btn2" position="absolute 62 38 104 58" onclick="group3_switch1_case3_Div00_button51_onclick" anchor="default"/>
  407. <Button id="button36" taborder="12" text="C" class="btn2" position="absolute 107 38 149 58" onclick="group3_switch1_case3_Div00_button36_onclick" anchor="default"/>
  408. <Button id="button35" taborder="13" text="D" class="btn2" position="absolute 152 38 194 58" onclick="group3_switch1_case3_Div00_button35_onclick" anchor="default"/>
  409. <Button id="button16" taborder="14" text="E" class="btn2" position="absolute 197 38 239 58" onclick="group3_switch1_case3_Div00_button16_onclick" anchor="default"/>
  410. <Button id="button19" taborder="15" text="F" class="btn2" position="absolute 242 38 284 58" onclick="group3_switch1_case3_Div00_button19_onclick" anchor="default"/>
  411. <Button id="button18" taborder="16" text="G" class="btn2" position="absolute 286 38 328 58" onclick="group3_switch1_case3_Div00_button18_onclick" anchor="default"/>
  412. <Button id="button20" taborder="17" text="H" class="btn2" position="absolute 331 38 373 58" onclick="group3_switch1_case3_Div00_button20_onclick" anchor="default"/>
  413. <Button id="button21" taborder="18" text="I" class="btn2" position="absolute 376 38 418 58" onclick="group3_switch1_case3_Div00_button21_onclick" anchor="default"/>
  414. <Button id="button38" taborder="19" text="J" class="btn2" position="absolute 421 38 463 58" onclick="group3_switch1_case3_Div00_button38_onclick" anchor="default"/>
  415. <Button id="button41" taborder="20" text="K" class="btn2" position="absolute 17 71 59 91" onclick="group3_switch1_case3_Div00_button41_onclick" anchor="default"/>
  416. <Button id="button45" taborder="21" text="L" class="btn2" position="absolute 62 71 104 91" onclick="group3_switch1_case3_Div00_button45_onclick" anchor="default"/>
  417. <Button id="button49" taborder="22" text="M" class="btn2" position="absolute 107 71 149 91" onclick="group3_switch1_case3_Div00_button49_onclick" anchor="default"/>
  418. <Button id="button48" taborder="23" text="N" class="btn2" position="absolute 152 71 194 91" onclick="group3_switch1_case3_Div00_button48_onclick" anchor="default"/>
  419. <Button id="button40" taborder="24" text="O" class="btn2" position="absolute 197 71 239 91" onclick="group3_switch1_case3_Div00_button40_onclick" anchor="default"/>
  420. <Button id="button44" taborder="25" text="P" class="btn2" position="absolute 242 71 284 91" onclick="group3_switch1_case3_Div00_button44_onclick" anchor="default"/>
  421. <Button id="button43" taborder="26" text="Q" class="btn2" position="absolute 287 71 329 91" onclick="group3_switch1_case3_Div00_button43_onclick" anchor="default"/>
  422. <Button id="button46" taborder="27" text="R" class="btn2" position="absolute 332 71 374 91" onclick="group3_switch1_case3_Div00_button46_onclick" anchor="default"/>
  423. <Button id="button47" taborder="28" text="S" class="btn2" position="absolute 377 71 419 91" onclick="group3_switch1_case3_Div00_button47_onclick" anchor="default"/>
  424. <Button id="button39" taborder="29" text="T" class="btn2" position="absolute 422 71 464 91" onclick="group3_switch1_case3_Div00_button39_onclick" anchor="default"/>
  425. <Button id="button55" taborder="30" text="U" class="btn2" position="absolute 17 105 59 125" onclick="group3_switch1_case3_Div00_button55_onclick" anchor="default"/>
  426. <Button id="button58" taborder="31" text="V" class="btn2" position="absolute 62 105 104 125" onclick="group3_switch1_case3_Div00_button58_onclick" anchor="default"/>
  427. <Button id="button52" taborder="32" text="W" class="btn2" position="absolute 107 105 149 125" onclick="group3_switch1_case3_Div00_button52_onclick" anchor="default"/>
  428. <Button id="button50" taborder="33" text="X" class="btn2" position="absolute 152 105 194 125" onclick="group3_switch1_case3_Div00_button50_onclick" anchor="default"/>
  429. <Button id="button54" taborder="34" text="Y" class="btn2" position="absolute 198 105 240 125" onclick="group3_switch1_case3_Div00_button54_onclick" anchor="default"/>
  430. <Button id="button57" taborder="35" text="Z" class="btn2" position="absolute 243 105 285 125" onclick="group3_switch1_case3_Div00_button57_onclick" anchor="default"/>
  431. <Button id="button22" taborder="36" text="숫자로 시작" class="btn2" position="absolute 288 105 375 125" onclick="group3_switch1_case3_Div00_button22_onclick" anchor="default"/>
  432. <Static id="caption22" text="코드의 첫글자를 누르십시오." position="absolute 16 5 294 30" style="align:left middle;font:돋움,9,bold;" anchor="default"/>
  433. </Layout>
  434. </Layouts>
  435. </Div>
  436. <Static id="caption22" text="코드를 클릭하면" position="absolute 8 44 208 59" style="linespace:10;align:left middle;" anchor="default"/>
  437. <Radio id="rdo_set" taborder="5" columncount="2" rowcount="1" position="absolute 88 6 251 31" codecolumn="codecolumn" datacolumn="datacolumn" value="3" index="0" onitemchanged="group3_switch1_case3_rdo_set_onitemchanged" anchor="default">
  438. <Dataset id="innerdataset">
  439. <ColumnInfo>
  440. <Column id="codecolumn" size="256"/>
  441. <Column id="datacolumn" size="256"/>
  442. </ColumnInfo>
  443. <Rows>
  444. <Row>
  445. <Col id="codecolumn">3</Col>
  446. <Col id="datacolumn">코드</Col>
  447. </Row>
  448. <Row>
  449. <Col id="codecolumn">4</Col>
  450. <Col id="datacolumn">약품명</Col>
  451. </Row>
  452. </Rows>
  453. </Dataset>
  454. </Radio>
  455. <Static id="Static00" text="조건선택" position="absolute 6 11 88 29" class="tit_2" anchor="default"/>
  456. <Static id="caption00" text="약품정보가 표시됩니다." position="absolute 8 62 208 77" style="linespace:10;align:left middle;" anchor="default"/>
  457. <Div id="grp_totimg3" anchor="top right" taborder="7" style="background:aliceblue;border:1 solid #808080ff ;" visible="false" position="absolute 358 36 960 261">
  458. <Layouts>
  459. <Layout width="602" height="225">
  460. <ImageViewer id="img_totphot3" taborder="3" stretch="fit" position="absolute -1 -1 599 222" anchor="all"/>
  461. <Edit id="opt_tottitle3" taborder="4" readonly="true" visible="false" position="absolute -1 197 599 217" anchor="top right" style="align:center middle;"/>
  462. </Layout>
  463. </Layouts>
  464. </Div>
  465. </Layout>
  466. </Layouts>
  467. </Tabpage>
  468. </Tabpages>
  469. </Tab>
  470. </Layout>
  471. </Layouts>
  472. </Div>
  473. <Div id="group4" position="absolute 0 789 1256 809" anchor="left right bottom" positiontype="position" scrollbars="autoboth">
  474. <Layouts>
  475. <Layout>
  476. <Button id="button33" class="btn4" visible="false" position="absolute 1090 0 1248 20" anchor="right bottom" text="신규/품절/삭제약 조회" positiontype="position"/>
  477. <Button id="btn_prt" class="btn6" position="absolute 0 0 56 20" anchor="default" text="출력" onclick="group4_btn_prt_onclick" positiontype="position"/>
  478. <Button id="btn_allprt" taborder="1" text="전체출력" onclick="group4_btn_prt_onclick" class="btn6" position="absolute 64 0 142 20"/>
  479. </Layout>
  480. </Layouts>
  481. </Div>
  482. <Static id="caption19" text="약품편람조회" class="tit_1" position="absolute 0 0 120 25"/>
  483. <Button id="But_preview" taborder="2" text="Skin Test보기" position="absolute 361 21 471 47" onclick="But_preview_onclick"/>
  484. <Button id="But_fileadd" taborder="4" text="첨부파일" position="absolute 477 23 577 43" onclick="But_fileadd_onclick"/>
  485. </Layout>
  486. </Layouts>
  487. <Objects>
  488. <Dataset id="ds_grid_grd_druglist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  489. <ColumnInfo>
  490. <Column id="ordinptflag" type="STRING"/>
  491. <Column id="drugcd" type="STRING"/>
  492. <Column id="drugnm" type="STRING"/>
  493. <Column id="comnm" type="STRING"/>
  494. </ColumnInfo>
  495. </Dataset>
  496. <Dataset id="ds_main_druglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  497. <ColumnInfo>
  498. <Column id="ordinptflag" type="STRING"/>
  499. <Column id="drugcd" type="STRING"/>
  500. <Column id="drugnm" type="STRING"/>
  501. <Column id="comnm" type="STRING"/>
  502. </ColumnInfo>
  503. </Dataset>
  504. <Dataset id="ds_grid_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  505. <ColumnInfo>
  506. <Column id="ordinptflag" type="STRING"/>
  507. <Column id="drugcd" type="STRING"/>
  508. <Column id="drugnm" type="STRING"/>
  509. <Column id="comnm" type="STRING"/>
  510. </ColumnInfo>
  511. </Dataset>
  512. <Dataset id="ds_grid_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  513. <ColumnInfo>
  514. <Column id="drugcd" type="STRING"/>
  515. <Column id="drugnm" type="STRING"/>
  516. </ColumnInfo>
  517. </Dataset>
  518. <Dataset id="ds_trv_druglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  519. <ColumnInfo>
  520. <Column id="efcycd" type="STRING" size="256"/>
  521. <Column id="efcynm" type="STRING" size="256"/>
  522. <Column id="efcylevel" type="STRING" size="256"/>
  523. </ColumnInfo>
  524. </Dataset>
  525. <Dataset id="ds_init_ordinptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  526. <ColumnInfo>
  527. <Column id="label" type="STRING" size="256"/>
  528. <Column id="value" type="STRING" size="256"/>
  529. </ColumnInfo>
  530. <Rows>
  531. <Row>
  532. <Col id="label">처방가능</Col>
  533. <Col id="value">A</Col>
  534. </Row>
  535. <Row>
  536. <Col id="label">Invisible</Col>
  537. <Col id="value">I</Col>
  538. </Row>
  539. <Row>
  540. <Col id="label">처방불가</Col>
  541. <Col id="value">X</Col>
  542. </Row>
  543. </Rows>
  544. </Dataset>
  545. <Dataset id="ds_data_hbookdetlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  546. <ColumnInfo>
  547. <Column id="hbookseq" type="STRING" size="256"/>
  548. <Column id="efcycd1" type="STRING" size="256"/>
  549. <Column id="efcycd2" type="STRING" size="256"/>
  550. <Column id="efcycd3" type="STRING" size="256"/>
  551. <Column id="efcycd4" type="STRING" size="256"/>
  552. <Column id="efcycd5" type="STRING" size="256"/>
  553. <Column id="todd" type="STRING" size="256"/>
  554. <Column id="instcd" type="STRING" size="256"/>
  555. <Column id="fromdd" type="STRING" size="256"/>
  556. <Column id="drugnm" type="STRING" size="256"/>
  557. <Column id="comnm" type="STRING" size="256"/>
  558. <Column id="efcysmm" type="STRING" size="256"/>
  559. <Column id="mthdvolsmm" type="STRING" size="256"/>
  560. <Column id="seffcsmm" type="STRING" size="256"/>
  561. <Column id="refcnts" type="STRING" size="256"/>
  562. <Column id="etc" type="STRING" size="256"/>
  563. <Column id="efcynm" type="STRING" size="256"/>
  564. <Column id="cost" type="STRING" size="256"/>
  565. <Column id="drugphot" type="STRING" size="256"/>
  566. </ColumnInfo>
  567. </Dataset>
  568. <Dataset id="ds_data_druglist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  569. <Dataset id="ds_init_ordinptflag2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  570. <ColumnInfo>
  571. <Column id="label" type="STRING" size="256"/>
  572. <Column id="value" type="STRING" size="256"/>
  573. </ColumnInfo>
  574. <Rows>
  575. <Row>
  576. <Col id="label">처방가능</Col>
  577. <Col id="value">A</Col>
  578. </Row>
  579. <Row>
  580. <Col id="label">Invisible</Col>
  581. <Col id="value">I</Col>
  582. </Row>
  583. <Row>
  584. <Col id="label">처방불가</Col>
  585. <Col id="value">X</Col>
  586. </Row>
  587. </Rows>
  588. </Dataset>
  589. <Dataset id="ds_init_srchefcy1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  590. <ColumnInfo>
  591. <Column id="efcycd" type="STRING" size="256"/>
  592. <Column id="efcynm" type="STRING" size="256"/>
  593. </ColumnInfo>
  594. </Dataset>
  595. <Dataset id="ds_init_srchefcy2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  596. <ColumnInfo>
  597. <Column id="efcycd" type="STRING" size="256"/>
  598. <Column id="efcynm" type="STRING" size="256"/>
  599. </ColumnInfo>
  600. </Dataset>
  601. <Dataset id="ds_init_srchefcy3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  602. <ColumnInfo>
  603. <Column id="efcycd" type="STRING" size="256"/>
  604. <Column id="efcynm" type="STRING" size="256"/>
  605. </ColumnInfo>
  606. </Dataset>
  607. <Dataset id="ds_init_srchefcy4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  608. <ColumnInfo>
  609. <Column id="efcycd" type="STRING" size="256"/>
  610. <Column id="efcynm" type="STRING" size="256"/>
  611. </ColumnInfo>
  612. </Dataset>
  613. <Dataset id="ds_init_srchefcy5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  614. <Dataset id="ds_temp_hbookdetlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  615. <Dataset id="ds_auth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  616. <ColumnInfo>
  617. <Column id="Column0" type="STRING" size="256"/>
  618. <Column id="Column1" type="STRING" size="256"/>
  619. </ColumnInfo>
  620. <Rows>
  621. <Row>
  622. <Col id="Column0">group4.btn_prt</Col>
  623. <Col id="Column1">P</Col>
  624. </Row>
  625. </Rows>
  626. </Dataset>
  627. <Dataset id="ds_hidden_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  628. <Dataset id="ds_send_save_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  629. <ColumnInfo>
  630. <Column id="filenm" type="STRING" size="256" sumtext="파일명"/>
  631. <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
  632. <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
  633. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  634. </ColumnInfo>
  635. <Rows>
  636. <Row/>
  637. </Rows>
  638. </Dataset>
  639. <Dataset id="ds_send_save_devfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  640. <ColumnInfo>
  641. <Column id="filenm" type="STRING" size="256" sumtext="파일명"/>
  642. <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
  643. <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
  644. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  645. </ColumnInfo>
  646. <Rows>
  647. <Row/>
  648. </Rows>
  649. </Dataset>
  650. <Dataset id="ds_filedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  651. <ColumnInfo>
  652. <Column id="filetitle" type="STRING" size="256" sumtext="요청제목"/>
  653. <Column id="fileconts" type="STRING" size="256" sumtext="요청내용"/>
  654. <Column id="attfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
  655. <Column id="attfilepath" type="STRING" size="256" sumtext="첨부경로"/>
  656. <Column id="devattfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
  657. <Column id="devattfilepath" type="STRING" size="256" sumtext="첨부경로"/>
  658. </ColumnInfo>
  659. <Rows>
  660. <Row>
  661. <Col id="attfilenm">항생제 주사 전 피부반응검사 가이드라인 Ver1.0(201705).docx</Col>
  662. <Col id="attfilepath">com\reqprgm\20170919\20170919113322000000_AST</Col>
  663. </Row>
  664. </Rows>
  665. </Dataset>
  666. <Dataset id="ds_attfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  667. <ColumnInfo>
  668. <Column id="attfilepath" type="STRING" size="256" sumtext="filepath"/>
  669. <Column id="filepathcolnm" type="STRING" size="256" sumtext="filepath이름"/>
  670. </ColumnInfo>
  671. <Rows>
  672. <Row/>
  673. </Rows>
  674. </Dataset>
  675. <Dataset id="ds_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  676. </Objects>
  677. <Bind>
  678. <BindItem id="item24" compid="group3.switch1.case3.switch4.case7.tar_etc1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="etc"/>
  679. <BindItem id="item2" compid="group3.switch1.case1.grp_totimg1.img_totphot1" propid="image" datasetid="ds_data_hbookdetlinfo" columnid="drugphot"/>
  680. <BindItem id="item0" compid="group3.switch1.case1.switch2.case4.tar_drugnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="drugnm"/>
  681. <BindItem id="item1" compid="group3.switch1.case1.switch2.case4.tar_comnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="comnm"/>
  682. <BindItem id="item4" compid="group3.switch1.case1.switch2.case4.tar_cost1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="cost"/>
  683. <BindItem id="item3" compid="group3.switch1.case1.switch2.case4.tar_mthdvolsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="mthdvolsmm"/>
  684. <BindItem id="item5" compid="group3.switch1.case1.switch2.case5.tar_efcysmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="efcysmm"/>
  685. <BindItem id="item6" compid="group3.switch1.case1.switch2.case6.tar_seffcsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="efcysmm"/>
  686. <BindItem id="item8" compid="group3.switch1.case1.switch2.case7.tar_refcnts1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="refcnts"/>
  687. <BindItem id="item7" compid="group3.switch1.case1.switch2.case7.tar_etc1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="etc"/>
  688. <BindItem id="item9" compid="group3.switch1.case2.switch3.case4.tar_drugnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="drugnm"/>
  689. <BindItem id="item10" compid="group3.switch1.case2.switch3.case4.tar_comnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="comnm"/>
  690. <BindItem id="item11" compid="group3.switch1.case2.switch3.case4.tar_cost1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="cost"/>
  691. <BindItem id="item12" compid="group3.switch1.case2.switch3.case4.tar_mthdvolsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="mthdvolsmm"/>
  692. <BindItem id="item13" compid="group3.switch1.case2.switch3.case5.tar_efcysmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="efcysmm"/>
  693. <BindItem id="item14" compid="group3.switch1.case2.grp_totimg2.img_totphot2" propid="image" datasetid="ds_data_hbookdetlinfo" columnid="drugphot"/>
  694. <BindItem id="item15" compid="group3.switch1.case2.switch3.case6.tar_seffcsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="seffcsmm"/>
  695. <BindItem id="item16" compid="group3.switch1.case2.switch3.case7.tar_etc1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="etc"/>
  696. <BindItem id="item17" compid="group3.switch1.case2.switch3.case7.tar_refcnts1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="refcnts"/>
  697. <BindItem id="item18" compid="group3.switch1.case3.switch4.case4.tar_drugnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="drugnm"/>
  698. <BindItem id="item19" compid="group3.switch1.case3.switch4.case4.tar_comnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="comnm"/>
  699. <BindItem id="item20" compid="group3.switch1.case3.switch4.case4.tar_cost1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="cost"/>
  700. <BindItem id="item21" compid="group3.switch1.case3.switch4.case4.tar_mthdvolsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="mthdvolsmm"/>
  701. <BindItem id="item22" compid="group3.switch1.case3.switch4.case5.tar_efcysmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="efcysmm"/>
  702. <BindItem id="item23" compid="group3.switch1.case3.switch4.case6.tar_seffcsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="seffcsmm"/>
  703. <BindItem id="item25" compid="group3.switch1.case3.switch4.case7.tar_refcnts1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="refcnts"/>
  704. <BindItem id="item26" compid="group3.switch1.case3.grp_img3.img_phot3" propid="image" datasetid="ds_data_hbookdetlinfo" columnid="drugphot"/>
  705. <BindItem id="item27" compid="group3.switch1.case2.grp_img2.img_phot2" propid="image" datasetid="ds_data_hbookdetlinfo" columnid="drugphot"/>
  706. </Bind>
  707. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  708. * System Name :
  709. * Job Name :
  710. * Creator :
  711. * Make Date : 2015-05-25
  712. *
  713. * Description :
  714. *---------------------------------------------------------------------------------------
  715. * Modify Date Modifier Modify Description
  716. *---------------------------------------------------------------------------------------
  717. *
  718. *---------------------------------------------------------------------------------------
  719. ****************************************************************************************/
  720. include "com_commonxp::comm_main.xjs";
  721. //include "com_commodulexp::SMZFS00401.xjs";
  722. include "ast_commonxp::PHARMACY.xjs";
  723. include "com_commodulexp::SMZFS00501.xjs"; // 공통코드 모듈
  724. var gMaxSize = 10485760;
  725. var lsSrchGubun = "code";
  726. function lf_init(){
  727. ds_grid_grd_druglist1.clearData();
  728. ds_main_druglist.clearData();
  729. ds_data_druglist2.clearData();
  730. ds_data_hbookdetlinfo.clearData();
  731. group3.switch1.case1.grp_img1.img_phot1.image = "";
  732. group3.switch1.case1.grp_totimg1.img_totphot1.image = "";
  733. group3.switch1.case2.grp_img2.img_phot2.image = "";
  734. group3.switch1.case2.grp_totimg2.img_totphot2.image = "";
  735. group3.switch1.case3.grp_img3.img_phot3.image = "";
  736. group3.switch1.case3.grp_totimg3.img_totphot3.image = "";
  737. group3.switch1.case1.switch2.case4.tar_comnm1.value = "";
  738. group3.switch1.case1.switch2.case4.tar_cost1.value = "";
  739. group3.switch1.case1.switch2.case4.tar_drugnm1.value = "";
  740. group3.switch1.case1.switch2.case4.tar_mthdvolsmm1.value = "";
  741. //약리작용 및 효능
  742. group3.switch1.case1.switch2.case5.tar_efcysmm1.value = "";
  743. // 부작용
  744. group3.switch1.case1.switch2.case6.tar_seffcsmm1.value = "";
  745. // 주의/금기/참고문헌
  746. group3.switch1.case1.switch2.case7.tar_etc1.value = "";
  747. group3.switch1.case1.switch2.case7.tar_refcnts1.value = "";
  748. group3.switch1.case2.switch3.case4.tar_comnm1.value = "";
  749. group3.switch1.case2.switch3.case4.tar_cost1.value = "";
  750. group3.switch1.case2.switch3.case4.tar_drugnm1.value = "";
  751. group3.switch1.case2.switch3.case4.tar_mthdvolsmm1.value = "";
  752. //약리작용 및 효능
  753. group3.switch1.case2.switch3.case5.tar_efcysmm1.value = "";
  754. // 부작용
  755. group3.switch1.case2.switch3.case6.tar_seffcsmm1.value = "";
  756. // 주의/금기/참고문헌
  757. group3.switch1.case2.switch3.case7.tar_etc1.value = "";
  758. group3.switch1.case2.switch3.case7.tar_refcnts1.value = "";
  759. group3.switch1.case3.switch4.case4.tar_comnm1.value = "";
  760. group3.switch1.case3.switch4.case4.tar_cost1.value = "";
  761. group3.switch1.case3.switch4.case4.tar_drugnm1.value = "";
  762. group3.switch1.case3.switch4.case4.tar_mthdvolsmm1.value = "";
  763. //약리작용 및 효능
  764. group3.switch1.case3.switch4.case5.tar_efcysmm1.value = "";
  765. // 부작용
  766. group3.switch1.case3.switch4.case6.tar_seffcsmm1.value = "";
  767. // 주의/금기/참고문헌
  768. group3.switch1.case3.switch4.case7.tar_etc1.value = "";
  769. group3.switch1.case3.switch4.case7.tar_refcnts1.value = "";
  770. }
  771. function lf_detailSch(){
  772. if(group3.switch1.tabindex == 0 ){
  773. lf_init();
  774. lf_fSubmitHBookList2();
  775. group3.switch1.case1.grp_totimg1.visible = false;
  776. }else if(group3.switch1.tabindex == 1 ){
  777. lf_init();
  778. lf_fSubmitHBookList2();
  779. group3.switch1.case1.grp_totimg1.visible = false;
  780. }else if(group3.switch1.tabindex == 2 ){
  781. lf_init();
  782. lf_HBookList2();
  783. group3.switch1.case3.grp_totimg3.visible = false;
  784. }
  785. }
  786. /****************************************************************************************
  787. * Argument :
  788. * Description : 약품 상세 조회
  789. ****************************************************************************************/
  790. function lf_fSubmitHBookDetl(){
  791. var objDs = new Object();
  792. if(group3.switch1.tabindex == 0 ){//목차
  793. objDs = ds_grid_grd_druglist1;
  794. }else if(group3.switch1.tabindex == 1 ){//색인
  795. objDs = ds_main_druglist;
  796. }else if(group3.switch1.tabindex == 2 ){//전체코드중찾기
  797. objDs = ds_data_druglist2;
  798. }
  799. var inDsNm = dsf_createDsRow("ds_temp_inds"
  800. ,[{col : "srchhbookseq", val : objDs.getColumn(objDs.rowposition,"hbookseq")} // 편람등록번호
  801. , {col : "srchefcycd", val : objDs.getColumn(objDs.rowposition,"efcycd")} // 효능분류코드
  802. , {col : "srchtodd", val : objDs.getColumn(objDs.rowposition,"todd")} // 종료일자
  803. , {col : "srchdrugcd", val : objDs.getColumn(objDs.rowposition,"drugcd")} // 약품코드
  804. , {col : "srchflag", val : "2"} // 검색구분
  805. ])
  806. tranf_submit({
  807. id : "TRADB01903"
  808. , service : "pharmacybaseapp.DrugInfo"
  809. , method : "reqGetHBookDetlInfo"
  810. , inds : "req=ds_temp_inds"
  811. , outds : "ds_data_hbookdetlinfo=hbookdetlinfo"
  812. , callback : "cbf_TRADB01903"
  813. });
  814. }
  815. /****************************************************************************************
  816. * Argument :
  817. * Description : 목차, 색인, 전체코드중 찾기 탭의 약품 상세 조회 후 셋팅
  818. ****************************************************************************************/
  819. function cbf_TRADB01903(){
  820. group3.switch1.case3.grp_totimg3.visible = false;
  821. group3.switch1.case2.grp_totimg2.visible = false;
  822. group3.switch1.case1.grp_totimg1.visible = false;
  823. lf_deleteDs("ds_temp_inds");
  824. var objDs = new Object();
  825. var objImg = new Object();
  826. var objImg_big = new Object();
  827. if(group3.switch1.tabindex == 0 ){//목차
  828. objDs = ds_grid_grd_druglist1;
  829. objImg = group3.switch1.case1.grp_img1.img_phot1;
  830. objImg_big = group3.switch1.case1.grp_totimg1.img_totphot1;
  831. }else if(group3.switch1.tabindex == 1 ){// 색인
  832. objDs = ds_main_druglist;
  833. objImg = group3.switch1.case2.grp_img2.img_phot2;
  834. objImg_big = group3.switch1.case2.grp_totimg2.img_totphot2;
  835. group3.switch1.case2.grp_img2.opt_title2.value = "[fig1] " + ds_main_druglist.getColumn(ds_main_druglist.rowposition,"drugcd")
  836. group3.switch1.case2.group5.cmb_srchefcy1.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd1");
  837. lf_fSetEfcyCode( "S", group3.switch1.case2.group5.cmb_srchefcy1.value+"%", 2 );
  838. group3.switch1.case2.group5.cmb_srchefcy2.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd2");
  839. lf_fSetEfcyCode( "S", group3.switch1.case2.group5.cmb_srchefcy2.value+"%", 3 );
  840. group3.switch1.case2.group5.cmb_srchefcy3.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd3");
  841. lf_fSetEfcyCode( "S", group3.switch1.case2.group5.cmb_srchefcy3.value+"%", 4 );
  842. group3.switch1.case2.group5.cmb_srchefcy4.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd4");
  843. lf_fSetEfcyCode( "S", group3.switch1.case2.group5.cmb_srchefcy4.value+"%", 5 );
  844. group3.switch1.case2.group5.cmb_srchefcy5.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd5");
  845. group3.switch1.case2.group5.Edit_hosinflag.value = ds_main_druglist.getColumn(ds_main_druglist.rowposition,"hosinflag");
  846. group3.switch1.case2.group5.Edit_absnyn.value = ds_main_druglist.getColumn(ds_main_druglist.rowposition,"absnyn");
  847. group3.switch1.case2.group5.Edit_powdimpsi.value = ds_main_druglist.getColumn(ds_main_druglist.rowposition,"powdimpsi");
  848. group3.switch1.case2.group5.Edit_devidebanyn.value = ds_main_druglist.getColumn(ds_main_druglist.rowposition,"devidebanyn");
  849. }else if(group3.switch1.tabindex == 2 ){// 색인
  850. objDs = ds_data_druglist2;
  851. objImg = group3.switch1.case3.grp_img3.img_phot3;
  852. objImg_big = group3.switch1.case3.grp_totimg3.img_totphot3;
  853. }
  854. try{
  855. objImg.image = ds_data_hbookdetlinfo.getColumn(0,"drugphot");
  856. objImg_big.image = ds_data_hbookdetlinfo.getColumn(0,"drugphot");
  857. }catch(e){
  858. }
  859. }
  860. /****************************************************************************************
  861. * Argument :
  862. * Description : 약품코드, 효능에 대한 상세 조회
  863. ****************************************************************************************/
  864. function lf_fSubmitHBookList2(){
  865. var sSrchefcycd;
  866. var sSrchcntsflag;
  867. var sSrchcnts;
  868. var nSrchflag;
  869. var sSrchefcycd1;
  870. var sSrchefcycd2;
  871. var sSrchefcycd3;
  872. var sSrchefcycd4;
  873. var sSrchefcycd5;
  874. var outDsNm;
  875. if(group3.switch1.tabindex == 0){// 목차 -> 효능조회
  876. sSrchefcycd = ds_trv_druglist.getColumn(ds_trv_druglist.rowposition,"efcycd")
  877. nSrchflag = 2;
  878. outDsNm = "ds_grid_grd_druglist1"
  879. }else if(group3.switch1.tabindex == 1){// 색인 -> 내용조회
  880. //sSrchefcycd = group3.switch1.case2.group5;
  881. if(group3.switch1.case2.group5.rdo_srchflag1.value == 1){ // 내용조회
  882. nSrchflag = 1;
  883. sSrchcntsflag = group3.switch1.case2.group5.rdo_srchcntsflag.value;
  884. sSrchcnts = group3.switch1.case2.group5.ipt_srchdrugcd.value;
  885. if(utlf_isNull(sSrchcnts)){
  886. sysf_messageBox("조회 내용을","C001");
  887. return;
  888. }
  889. }
  890. if(group3.switch1.case2.group5.rdo_srchflag.value == 2){//효능조회
  891. nSrchflag = 2;
  892. sSrchefcycd1 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy1.value);
  893. sSrchefcycd2 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy2.value);
  894. sSrchefcycd3 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy3.value);
  895. sSrchefcycd4 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy4.value);
  896. sSrchefcycd5 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy5.value);
  897. if(utlf_isNull(sSrchefcycd5)){
  898. if(utlf_isNull(sSrchefcycd4)){
  899. if(utlf_isNull(sSrchefcycd3)){
  900. if(utlf_isNull(sSrchefcycd2)){
  901. if(!utlf_isNull(sSrchefcycd1)){
  902. sSrchefcycd = sSrchefcycd1;
  903. }
  904. }
  905. else
  906. {
  907. sSrchefcycd = sSrchefcycd2;
  908. }
  909. }
  910. else
  911. {
  912. sSrchefcycd = sSrchefcycd3;
  913. }
  914. }
  915. else
  916. {
  917. sSrchefcycd = sSrchefcycd4;
  918. }
  919. }
  920. else
  921. {
  922. sSrchefcycd = sSrchefcycd5;
  923. }
  924. }
  925. outDsNm = "ds_main_druglist"
  926. }
  927. var inDsNm = dsf_createDsRow("ds_send"
  928. ,[{col : "srchefcycd", val : sSrchefcycd} // 효능분류코드
  929. , {col : "srchcntsflag", val : sSrchcntsflag} // 검색내용구분
  930. , {col : "srchcnts", val : sSrchcnts} // 조회내용
  931. , {col : "srchflag", val : nSrchflag} // 검색구분
  932. , {col : "ishosout", val : group3.switch1.case2.group5.chk_hosout.value} // 검색구분
  933. ]);
  934. var oParam = {};
  935. oParam.id = "TRADB01902";
  936. oParam.service = "pharmacybaseapp.DrugInfo";
  937. oParam.method = "reqGetHBookList2";
  938. oParam.inds = "req=ds_send";
  939. oParam.outds = outDsNm+"=druglist";
  940. oParam.async = false;
  941. oParam.callback = "cbf_TRADB01902";
  942. tranf_submit(oParam);
  943. }
  944. /****************************************************************************************
  945. * Argument :
  946. * Description :
  947. ****************************************************************************************/
  948. function cbf_TRADB01902(sSvcId, nErrorCode, sErrorMsg){
  949. if(group3.switch1.tabindex == 0){// 목차 -> 효능조회
  950. if(ds_grid_grd_druglist1.rowcount == 0){
  951. sysf_messageBox("조회된 내용이 없습니다.","I000");
  952. return;
  953. }
  954. }else{
  955. if(ds_main_druglist.rowcount == 0 ){
  956. sysf_messageBox("조회된 내용이 없습니다.","I000");
  957. return;
  958. }
  959. }
  960. lf_fSubmitHBookDetl();
  961. }
  962. /****************************************************************************************
  963. * Argument :
  964. * Description : 전체코드중찾기 약품 LIST 조회
  965. ****************************************************************************************/
  966. function lf_allDrugList(){
  967. tranf_submit({
  968. id : "TRADB01904"
  969. , service : "pharmacybaseapp.DrugInfo"
  970. , method : "reqGetDrugCdList"
  971. // , inds : "req=ds_temp_inds"
  972. , outds : "ds_grid_datagrid2=druglist"
  973. // , callback : "cbf_TRADB01902"
  974. });
  975. }
  976. /****************************************************************************************
  977. * Argument :
  978. * Description : 전체코드중 찾기의 약품
  979. ****************************************************************************************/
  980. function lf_HBookList2(){
  981. dsf_createDsRow("ds_temp_inds"
  982. ,[{col : "srchflag", val : "1"}
  983. , {col : "srchcntsflag", val : "1"}
  984. , {col : "srchcnts", val : ds_grid_datagrid2.getColumn(ds_grid_datagrid2.rowposition,"drugcd")}
  985. , {col : "srchefcycd", val : ""}
  986. ]);
  987. tranf_submit({
  988. id : "TRADB01906"
  989. , service : "pharmacybaseapp.DrugInfo"
  990. , method : "reqGetHBookList2"
  991. , inds : "req=ds_temp_inds"
  992. , outds : "ds_data_druglist2=druglist"
  993. , callback : "cbf_TRADB01906"
  994. });
  995. }
  996. /****************************************************************************************
  997. * Argument :
  998. * Description :
  999. ****************************************************************************************/
  1000. function cbf_TRADB01906(sSvcId, nErrorCode, sErrorMsg){
  1001. if ( ds_data_druglist2.rowcount > 0 ) {
  1002. lf_fSubmitHBookDetl();
  1003. }
  1004. }
  1005. /****************************************************************************************
  1006. * Argument :
  1007. * Description :
  1008. ****************************************************************************************/
  1009. function cbf_getAllBizCodeList(){}
  1010. /****************************************************************************************
  1011. * Argument :
  1012. * Description : 목차 효능 Tree뷰 조회
  1013. ****************************************************************************************/
  1014. function lf_TRADB01901(){
  1015. var inDsNm = dsf_createDsRow("ds_temp_inds"
  1016. ,[{col : "srchefcycd", val : "%"}
  1017. , {col : "srchefcylevel", val : ""}
  1018. , {col : "srchtype", val : ""}
  1019. , {col : "srchflag", val : "1"}
  1020. ])
  1021. tranf_submit({
  1022. id : "TRADB01901"
  1023. , service : "pharmacybaseapp.DrugInfo"
  1024. , method : "reqGetEfcyList"
  1025. , inds : "req=ds_temp_inds"
  1026. , outds : "ds_trv_druglist=item"
  1027. // , callback : "cbf_TRADB01901"
  1028. });
  1029. }
  1030. /****************************************************************************************
  1031. * Argument :
  1032. * Description : 색인의 효능 콤보 조회
  1033. ****************************************************************************************/
  1034. function lf_fSetEfcyCode(sTypeFlag, sEfcyCd, nEfcyLevel){
  1035. //콤보 초기화
  1036. lf_initCmbSrchefcy(nEfcyLevel);
  1037. dsf_createDsRow("ds_temp_inds"
  1038. ,[{col : "srchefcycd", val : sEfcyCd}
  1039. , {col : "srchefcylevel", val : nEfcyLevel}
  1040. ]);
  1041. tranf_submit({
  1042. id : "TRADB01905"
  1043. , service : "pharmacybaseapp.DrugInfo"
  1044. , method : "reqGetEfcyList"
  1045. , inds : "req=ds_temp_inds"
  1046. , outds : "ds_init_srchefcy"+nEfcyLevel + "=item"
  1047. });
  1048. var objDsNm = this.objects["ds_init_srchefcy"+nEfcyLevel];
  1049. ds_trv_druglist.appendData(objDsNm);
  1050. }
  1051. /****************************************************************************************
  1052. * Argument :
  1053. * Description : 색인 효능조회 콤보 초기화
  1054. ****************************************************************************************/
  1055. function lf_initCmbSrchefcy(nEfcyLevel){
  1056. if(nEfcyLevel == 1){
  1057. group3.switch1.case2.group5.cmb_srchefcy1.index = -1;
  1058. // ds_init_srchefcy1.clear();
  1059. group3.switch1.case2.group5.cmb_srchefcy1.value = "";
  1060. ds_init_srchefcy2.clear();
  1061. group3.switch1.case2.group5.cmb_srchefcy2.value = "";
  1062. ds_init_srchefcy3.clear();
  1063. group3.switch1.case2.group5.cmb_srchefcy3.value = "";
  1064. ds_init_srchefcy4.clear();
  1065. group3.switch1.case2.group5.cmb_srchefcy4.value = "";
  1066. ds_init_srchefcy5.clear();
  1067. group3.switch1.case2.group5.cmb_srchefcy5.value = "";
  1068. }else if(nEfcyLevel == 2){
  1069. // ds_init_srchefcy2.clear();
  1070. group3.switch1.case2.group5.cmb_srchefcy2.value = "";
  1071. ds_init_srchefcy3.clear();
  1072. group3.switch1.case2.group5.cmb_srchefcy3.value = "";
  1073. ds_init_srchefcy4.clear();
  1074. group3.switch1.case2.group5.cmb_srchefcy4.value = "";
  1075. ds_init_srchefcy5.clear();
  1076. group3.switch1.case2.group5.cmb_srchefcy5.value = "";
  1077. }else if(nEfcyLevel == 3){
  1078. // ds_init_srchefcy3.clear();
  1079. group3.switch1.case2.group5.cmb_srchefcy3.value = "";
  1080. ds_init_srchefcy4.clear();
  1081. group3.switch1.case2.group5.cmb_srchefcy4.value = "";
  1082. ds_init_srchefcy5.clear();
  1083. group3.switch1.case2.group5.cmb_srchefcy5.value = "";
  1084. }else if(nEfcyLevel == 4){
  1085. // ds_init_srchefcy4.clear();
  1086. group3.switch1.case2.group5.cmb_srchefcy4.value = "";
  1087. ds_init_srchefcy5.clear();
  1088. group3.switch1.case2.group5.cmb_srchefcy5.value = "";
  1089. }else if(nEfcyLevel == 5){
  1090. // ds_init_srchefcy5.clear();
  1091. group3.switch1.case2.group5.cmb_srchefcy5.value = "";
  1092. }
  1093. }
  1094. /****************************************************************************************
  1095. * Argument :
  1096. * Description : html 태그 제거
  1097. ****************************************************************************************/
  1098. function lf_strip_tag(str)
  1099. {
  1100. if ( utlf_isNull(str) ) {
  1101. str = "";
  1102. }
  1103. return str.replace(/(<([^>]+)>)/ig,"");
  1104. }
  1105. //=======================================================================================
  1106. // Event
  1107. //---------------------------------------------------------------------------------------
  1108. /****************************************************************************************
  1109. * Components :
  1110. * Components ID : SMADB01900
  1111. * Event : onload
  1112. * Argument : 01.obj : Object Event has occurred
  1113. * : 02.e : Event Object
  1114. * Description :
  1115. ****************************************************************************************/
  1116. function SMADB01900_onload(obj:Form, e:LoadEventInfo)
  1117. {
  1118. // 폼 초기화
  1119. frmf_initForm(obj);
  1120. try
  1121. {
  1122. ds_hidden_receivedata.copyData(arg_ds_hidden_receivedata);
  1123. }
  1124. catch(e)
  1125. {
  1126. ds_hidden_receivedata.addColumn("srchdrugcd","string");
  1127. ds_hidden_receivedata.addRow();
  1128. }
  1129. dsf_createDsRow("ds_send"
  1130. ,[{col : "srchefcycd", val : "%"}
  1131. // , {col : "srchefcylevel", type:"INT", val : 0}
  1132. , {col : "srchtype", val : ""}]);
  1133. //dsf_setTypeFormat(ds_send, "srchefcylevel:INT");
  1134. var oParam = {};
  1135. oParam.id = "TRADB01901";
  1136. oParam.service = "pharmacybaseapp.DrugInfo";
  1137. oParam.method = "reqGetEfcyList";
  1138. oParam.inds = "req=ds_send";
  1139. oParam.outds = "ds_trv_druglist=item";
  1140. oParam.async = false;
  1141. tranf_submit(oParam);
  1142. var srchdrugcd = ds_hidden_receivedata.getColumn(0,"srchdrugcd");
  1143. if ( !utlf_isNull(srchdrugcd) ) {
  1144. lf_fSetEfcyCode("S", "%", 1 );
  1145. group3.switch1.tabindex = 1;
  1146. group3.switch1.case2.group5.ipt_srchdrugcd.value = srchdrugcd;
  1147. lf_fSubmitHBookList2();
  1148. }
  1149. else
  1150. {
  1151. lf_fSetEfcyCode("S", "%", 1 ); // 조회용 효능분류
  1152. // lf_fSetEfcyCode("I", "%", 1 ); // 입력용 효능분류
  1153. group3.switch1.tabindex = 1;
  1154. }
  1155. }
  1156. /****************************************************************************************
  1157. * Components :
  1158. * Components ID : button1
  1159. * Event : onclick
  1160. * Argument : 01.obj : Object Event has occurred
  1161. * : 02.e : Event Object
  1162. * Description :
  1163. ****************************************************************************************/
  1164. function button1_onclick(obj:Button, e:ClickEventInfo)
  1165. {
  1166. group3.switch1.case1.grp_totimg1.visible = false;
  1167. }
  1168. /****************************************************************************************
  1169. * Components :
  1170. * Components ID : button25
  1171. * Event : onclick
  1172. * Argument : 01.obj : Object Event has occurred
  1173. * : 02.e : Event Object
  1174. * Description :
  1175. ****************************************************************************************/
  1176. function button25_onclick(obj:Button, e:ClickEventInfo)
  1177. {
  1178. group3.switch1.case1.grp_totimg1.visible = true;
  1179. }
  1180. function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1181. {
  1182. //ds_data_hbookdetlinfo.clearData();
  1183. lf_init();
  1184. if(obj.tabindex == 2 ){
  1185. group3.switch1.case3.rdo_set.value = 3;
  1186. lf_allDrugList();
  1187. }
  1188. }
  1189. function group3_switch1_case1_Grid00_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1190. {
  1191. lf_init();
  1192. lf_fSubmitHBookList2();
  1193. group3.switch1.case1.grp_totimg1.visible = false;
  1194. }
  1195. function group3_switch1_case1_grd_druglist1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1196. {
  1197. lf_fSubmitHBookDetl();
  1198. }
  1199. function GlassStart(oGlass:ImageViewer, oBack:ImageViewer, oTarget)
  1200. {
  1201. var glass_ratio = oGlass.ratio;
  1202. oGlass.visible = false;
  1203. oBack.image = oTarget.saveToImageObject();
  1204. oBack.position = oTarget.position;
  1205. oBack.position.width = glass_ratio*oTarget.position.width;
  1206. oBack.position.height = glass_ratio*oTarget.position.height;
  1207. oBack.stretch = "fit";
  1208. oBack.visible = true;
  1209. oGlass.image = oBack.saveToImageObject();
  1210. oBack.visible = false;
  1211. oGlass.visible = true;
  1212. }
  1213. function GlassMove(oGlass:ImageViewer, e:MouseEventInfo, oTarget)
  1214. {
  1215. if( oGlass.visible == false )
  1216. return;
  1217. var glass_ratio = oGlass.ratio;
  1218. var border_width = oGlass.style.border.width;
  1219. var mx = e.clientX-oGlass.position.width;
  1220. var my = e.clientY-oGlass.position.width;
  1221. if( ( mx < oTarget.position.left || e.clientX > oTarget.position.right ) ||
  1222. ( my < oTarget.position.top || e.clientY > oTarget.position.bottom ) )
  1223. return;
  1224. oGlass.move(mx, my);
  1225. oGlass.bringToFront();
  1226. var cw = Math.round(oGlass.position.width/2);
  1227. var ch = Math.round(oGlass.position.height/2);
  1228. oGlass.style.padding.left = -1*glass_ratio*(oGlass.position.left+cw) + cw - border_width;
  1229. oGlass.style.padding.top = -1*glass_ratio*(oGlass.position.top+ch) + ch - border_width;
  1230. }
  1231. function SMADB01900_onmousemove(obj:Form, e:MouseEventInfo)
  1232. {
  1233. //GlassMove(img_glass, e, this);
  1234. }
  1235. function group3_switch1_case2_group5_ipt_srchdrugcd_onkeyup(obj:Edit, e:KeyEventInfo)
  1236. {
  1237. if(e.keycode == 13){
  1238. lf_detailSch();
  1239. }
  1240. }
  1241. function group3_switch1_case2_grd_druglist2_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1242. {
  1243. lf_fSubmitHBookDetl();
  1244. }
  1245. function group3_switch1_case3_datagrid2_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1246. {
  1247. lf_init();
  1248. lf_HBookList2();
  1249. group3.switch1.case3.grp_totimg3.visible = false;
  1250. }
  1251. function group3_switch1_case3_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1252. {
  1253. lf_fSubmitHBookDetl();
  1254. }
  1255. function group3_switch1_case3_btn_alldrug_onclick(obj:Button, e:ClickEventInfo)
  1256. {
  1257. ds_grid_datagrid2.filter("");
  1258. }
  1259. function group3_switch1_case2_grp_img2_button2_onclick(obj:Button, e:ClickEventInfo)
  1260. {
  1261. group3.switch1.case2.grp_totimg2.visible = true;
  1262. }
  1263. function group3_switch1_case2_grp_img2_button3_onclick(obj:Button, e:ClickEventInfo)
  1264. {
  1265. group3.switch1.case2.grp_totimg2.visible = false;
  1266. }
  1267. function group3_switch1_case3_grp_img3_button28_onclick(obj:Button, e:ClickEventInfo)
  1268. {
  1269. group3.switch1.case3.grp_totimg3.visible = true;
  1270. }
  1271. function group3_switch1_case3_grp_img3_button4_onclick(obj:Button, e:ClickEventInfo)
  1272. {
  1273. group3.switch1.case3.grp_totimg3.visible = false;
  1274. }
  1275. function group3_switch1_case2_group5_cmb_srchefcy1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1276. {
  1277. group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
  1278. group3.switch1.case2.group5.rdo_srchflag.value = 2;
  1279. group3.switch1.case2.group5.rdo_srchflag1.value = 0;
  1280. lf_fSetEfcyCode( "S", obj.value+"%", 2 );
  1281. }
  1282. function group3_switch1_case2_group5_cmb_srchefcy2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1283. {
  1284. group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
  1285. group3.switch1.case2.group5.rdo_srchflag.value = 2;
  1286. group3.switch1.case2.group5.rdo_srchflag1.value = 0;
  1287. lf_fSetEfcyCode( "S", obj.value+"%", 3 );
  1288. }
  1289. function group3_switch1_case2_group5_cmb_srchefcy3_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1290. {
  1291. group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
  1292. group3.switch1.case2.group5.rdo_srchflag.value = 2;
  1293. group3.switch1.case2.group5.rdo_srchflag1.value = 0;
  1294. lf_fSetEfcyCode( "S", obj.value+"%", 4 );
  1295. }
  1296. function group3_switch1_case2_group5_cmb_srchefcy4_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1297. {
  1298. group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
  1299. group3.switch1.case2.group5.rdo_srchflag.value = 2;
  1300. group3.switch1.case2.group5.rdo_srchflag1.value = 0;
  1301. lf_fSetEfcyCode( "S", obj.value+"%", 5 );
  1302. }
  1303. function group3_switch1_case2_group5_rdo_srchflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1304. {
  1305. group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
  1306. group3.switch1.case2.group5.rdo_srchflag1.index = -1;
  1307. group3.switch1.case2.group5.ipt_srchdrugcd.value = "";
  1308. //fselSrchFlag(2);
  1309. }
  1310. function group3_switch1_case2_group5_rdo_srchflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1311. {
  1312. group3.switch1.case2.group5.rdo_srchflag.index = -1;
  1313. group3.switch1.case2.group5.rdo_srchcntsflag.index = 0;
  1314. lf_initCmbSrchefcy(1);
  1315. }
  1316. function group4_btn_prt_onclick(obj:Button, e:ClickEventInfo)
  1317. {
  1318. if(ds_data_hbookdetlinfo.rowcount < 1 ) {
  1319. sysf_messageBox("출력할 내용이","I004");
  1320. return;
  1321. }
  1322. ds_temp_hbookdetlinfo.clearData();
  1323. ds_temp_hbookdetlinfo.copyData(ds_data_hbookdetlinfo);
  1324. var efcysmm = lf_strip_tag(ds_temp_hbookdetlinfo.getColumn(0, "efcysmm"));
  1325. var seffcsmm = lf_strip_tag(ds_temp_hbookdetlinfo.getColumn(0, "seffcsmm"));
  1326. var etc = lf_strip_tag(ds_temp_hbookdetlinfo.getColumn(0, "etc"));
  1327. var refcnts = lf_strip_tag(ds_temp_hbookdetlinfo.getColumn(0, "refcnts"));
  1328. ds_temp_hbookdetlinfo.setColumn(0, "efcysmm", efcysmm); // 약리작용
  1329. ds_temp_hbookdetlinfo.setColumn(0, "seffcsmm", seffcsmm); // 부작용
  1330. ds_temp_hbookdetlinfo.setColumn(0, "etc", etc); // 주의
  1331. ds_temp_hbookdetlinfo.setColumn(0, "refcnts", refcnts); // 참고문헌
  1332. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1333. //rptf_setNodeListToDOM(objDOM, "/root/main/hbookdetlinfo", ds_data_hbookdetlinfo); // 데이터셋 1
  1334. rptf_setNodeListToDOM(objDOM, "/root/main/hbookdetlinfo", ds_temp_hbookdetlinfo); // 데이터셋 1
  1335. //trace(objDOM.documentElement.source); // XML 내용출력
  1336. var objParam = new Object();
  1337. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  1338. var nOpen = 1 ;
  1339. var sOption = "open="+nOpen+";save=1;directprint=0;print=1;zoom=0";
  1340. //trace(sOption);
  1341. rptf_exeReportPreview30(["RPADB01901"],[objParam], sOption);
  1342. }
  1343. function group3_switch1_case3_rdo_set_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1344. {
  1345. if(e.postindex == 0)
  1346. {
  1347. group3.switch1.case3.switch4.tabindex = 0;
  1348. group3.switch1.case3.caption22.text = "약품코드를 클릭하면," ;
  1349. group3.switch1.case3.Div00.caption22.text = "약품코드의 첫글자를 누르십시오.";
  1350. lsSrchGubun = "code";
  1351. group3.switch1.case3.lst_druglist.setRealColSize(0,240);
  1352. group3.switch1.case3.lst_druglist.setRealColSize(1,0);
  1353. }
  1354. else
  1355. {
  1356. group3.switch1.case3.switch4.tabindex = 0;
  1357. group3.switch1.case3.caption22.text = "약품영문명을 클릭하면," ;
  1358. group3.switch1.case3.Div00.caption22.text = "약품영문명의 첫글자를 누르십시오.";
  1359. lsSrchGubun = "ename";
  1360. group3.switch1.case3.lst_druglist.setRealColSize(0,0);
  1361. group3.switch1.case3.lst_druglist.setRealColSize(1,240);
  1362. }
  1363. }
  1364. function group3_switch1_case3_button22_onlbuttonup(obj:Button, e:MouseEventInfo)
  1365. {
  1366. }
  1367. function group3_switch1_case2_group5_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  1368. {
  1369. lf_detailSch();
  1370. }
  1371. function group3_switch1_case3_Div00_button17_onclick(obj:Button, e:ClickEventInfo)
  1372. {
  1373. if(group3.switch1.case3.rdo_set.value == 3)
  1374. {
  1375. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+group3.switch1.case3.Div00.button17.text +"\") == 0");
  1376. }
  1377. else
  1378. {
  1379. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+group3.switch1.case3.Div00.button17.text +"\") == 0");
  1380. }
  1381. }
  1382. function group3_switch1_case3_Div00_button51_onclick(obj:Button, e:ClickEventInfo)
  1383. {
  1384. if(group3.switch1.case3.rdo_set.value == 3)
  1385. {
  1386. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1387. }
  1388. else
  1389. {
  1390. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1391. }
  1392. }
  1393. function group3_switch1_case3_Div00_button16_onclick(obj:Button, e:ClickEventInfo)
  1394. {
  1395. if(group3.switch1.case3.rdo_set.value == 3)
  1396. {
  1397. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1398. }
  1399. else
  1400. {
  1401. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1402. }
  1403. }
  1404. function group3_switch1_case3_Div00_button18_onclick(obj:Button, e:ClickEventInfo)
  1405. {
  1406. if(group3.switch1.case3.rdo_set.value == 3)
  1407. {
  1408. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1409. }
  1410. else
  1411. {
  1412. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1413. }
  1414. }
  1415. function group3_switch1_case3_Div00_button19_onclick(obj:Button, e:ClickEventInfo)
  1416. {
  1417. if(group3.switch1.case3.rdo_set.value == 3)
  1418. {
  1419. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1420. }
  1421. else
  1422. {
  1423. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1424. }
  1425. }
  1426. function group3_switch1_case3_Div00_button20_onclick(obj:Button, e:ClickEventInfo)
  1427. {
  1428. if(group3.switch1.case3.rdo_set.value == 3)
  1429. {
  1430. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1431. }
  1432. else
  1433. {
  1434. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1435. }
  1436. }
  1437. function group3_switch1_case3_Div00_button21_onclick(obj:Button, e:ClickEventInfo)
  1438. {
  1439. if(group3.switch1.case3.rdo_set.value == 3)
  1440. {
  1441. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1442. }
  1443. else
  1444. {
  1445. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1446. }
  1447. }
  1448. function group3_switch1_case3_Div00_button22_onclick(obj:Button, e:ClickEventInfo)
  1449. {
  1450. if(group3.switch1.case3.rdo_set.value == 3)
  1451. {
  1452. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1453. }
  1454. else
  1455. {
  1456. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1457. }
  1458. }
  1459. function group3_switch1_case3_Div00_button35_onclick(obj:Button, e:ClickEventInfo)
  1460. {
  1461. if(group3.switch1.case3.rdo_set.value == 3)
  1462. {
  1463. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1464. }
  1465. else
  1466. {
  1467. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1468. }
  1469. }
  1470. function group3_switch1_case3_Div00_button36_onclick(obj:Button, e:ClickEventInfo)
  1471. {
  1472. if(group3.switch1.case3.rdo_set.value == 3)
  1473. {
  1474. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1475. }
  1476. else
  1477. {
  1478. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1479. }
  1480. }
  1481. function group3_switch1_case3_Div00_button38_onclick(obj:Button, e:ClickEventInfo)
  1482. {
  1483. if(group3.switch1.case3.rdo_set.value == 3)
  1484. {
  1485. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1486. }
  1487. else
  1488. {
  1489. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1490. }
  1491. }
  1492. function group3_switch1_case3_Div00_button39_onclick(obj:Button, e:ClickEventInfo)
  1493. {
  1494. if(group3.switch1.case3.rdo_set.value == 3)
  1495. {
  1496. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1497. }
  1498. else
  1499. {
  1500. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1501. }
  1502. }
  1503. function group3_switch1_case3_Div00_button40_onclick(obj:Button, e:ClickEventInfo)
  1504. {
  1505. if(group3.switch1.case3.rdo_set.value == 3)
  1506. {
  1507. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1508. }
  1509. else
  1510. {
  1511. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1512. }
  1513. }
  1514. function group3_switch1_case3_Div00_button41_onclick(obj:Button, e:ClickEventInfo)
  1515. {
  1516. if(group3.switch1.case3.rdo_set.value == 3)
  1517. {
  1518. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1519. }
  1520. else
  1521. {
  1522. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1523. }
  1524. }
  1525. function group3_switch1_case3_Div00_button43_onclick(obj:Button, e:ClickEventInfo)
  1526. {
  1527. if(group3.switch1.case3.rdo_set.value == 3)
  1528. {
  1529. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1530. }
  1531. else
  1532. {
  1533. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1534. }
  1535. }
  1536. function group3_switch1_case3_Div00_button44_onclick(obj:Button, e:ClickEventInfo)
  1537. {
  1538. if(group3.switch1.case3.rdo_set.value == 3)
  1539. {
  1540. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1541. }
  1542. else
  1543. {
  1544. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1545. }
  1546. }
  1547. function group3_switch1_case3_Div00_button45_onclick(obj:Button, e:ClickEventInfo)
  1548. {
  1549. if(group3.switch1.case3.rdo_set.value == 3)
  1550. {
  1551. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1552. }
  1553. else
  1554. {
  1555. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1556. }
  1557. }
  1558. function group3_switch1_case3_Div00_button46_onclick(obj:Button, e:ClickEventInfo)
  1559. {
  1560. if(group3.switch1.case3.rdo_set.value == 3)
  1561. {
  1562. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1563. }
  1564. else
  1565. {
  1566. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1567. }
  1568. }
  1569. function group3_switch1_case3_Div00_button47_onclick(obj:Button, e:ClickEventInfo)
  1570. {
  1571. if(group3.switch1.case3.rdo_set.value == 3)
  1572. {
  1573. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1574. }
  1575. else
  1576. {
  1577. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1578. }
  1579. }
  1580. function group3_switch1_case3_Div00_button48_onclick(obj:Button, e:ClickEventInfo)
  1581. {
  1582. if(group3.switch1.case3.rdo_set.value == 3)
  1583. {
  1584. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1585. }
  1586. else
  1587. {
  1588. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1589. }
  1590. }
  1591. function group3_switch1_case3_Div00_button49_onclick(obj:Button, e:ClickEventInfo)
  1592. {
  1593. if(group3.switch1.case3.rdo_set.value == 3)
  1594. {
  1595. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1596. }
  1597. else
  1598. {
  1599. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1600. }
  1601. }
  1602. function group3_switch1_case3_Div00_button50_onclick(obj:Button, e:ClickEventInfo)
  1603. {
  1604. if(group3.switch1.case3.rdo_set.value == 3)
  1605. {
  1606. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1607. }
  1608. else
  1609. {
  1610. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1611. }
  1612. }
  1613. function group3_switch1_case3_Div00_button52_onclick(obj:Button, e:ClickEventInfo)
  1614. {
  1615. if(group3.switch1.case3.rdo_set.value == 3)
  1616. {
  1617. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1618. }
  1619. else
  1620. {
  1621. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1622. }
  1623. }
  1624. function group3_switch1_case3_Div00_button54_onclick(obj:Button, e:ClickEventInfo)
  1625. {
  1626. if(group3.switch1.case3.rdo_set.value == 3)
  1627. {
  1628. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1629. }
  1630. else
  1631. {
  1632. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1633. }
  1634. }
  1635. function group3_switch1_case3_Div00_button55_onclick(obj:Button, e:ClickEventInfo)
  1636. {
  1637. if(group3.switch1.case3.rdo_set.value == 3)
  1638. {
  1639. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1640. }
  1641. else
  1642. {
  1643. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1644. }
  1645. }
  1646. function group3_switch1_case3_Div00_button57_onclick(obj:Button, e:ClickEventInfo)
  1647. {
  1648. if(group3.switch1.case3.rdo_set.value == 3)
  1649. {
  1650. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1651. }
  1652. else
  1653. {
  1654. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1655. }
  1656. }
  1657. function group3_switch1_case3_Div00_button58_onclick(obj:Button, e:ClickEventInfo)
  1658. {
  1659. if(group3.switch1.case3.rdo_set.value == 3)
  1660. {
  1661. ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
  1662. }
  1663. else
  1664. {
  1665. ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
  1666. }
  1667. }
  1668. function group3_switch1_case1_trv_druglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1669. {
  1670. lf_detailSch();
  1671. }
  1672. function group3_switch1_case3_lst_druglist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1673. {
  1674. }
  1675. function group3_switch1_case2_group5_cmb_srchefcy5_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1676. {
  1677. group3.switch1.case2.group5.rdo_srchflag.enableevent = false;
  1678. group3.switch1.case2.group5.rdo_srchflag.index = 0;
  1679. group3.switch1.case2.group5.rdo_srchflag1.index = -1;
  1680. group3.switch1.case2.group5.rdo_srchflag.enableevent = true;
  1681. }
  1682. function group3_switch1_case2_group5_rdo_srchcntsflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1683. {
  1684. group3.switch1.case2.group5.rdo_srchflag.index = -1;
  1685. group3.switch1.case2.group5.rdo_srchflag1.index = 0;
  1686. // group3.switch1.case2.group5.rdo_srchcntsflag.index = 0;
  1687. lf_initCmbSrchefcy(1);
  1688. }
  1689. function group3_switch1_case2_grd_druglist2_oncellclick(obj:Grid, e:GridClickEventInfo)
  1690. {
  1691. lf_fSubmitHBookDetl();
  1692. }
  1693. function group3_switch1_case1_trv_druglist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1694. {
  1695. lf_detailSch();
  1696. }
  1697. function group3_switch1_case1_grd_druglist1_oncellclick(obj:Grid, e:GridClickEventInfo)
  1698. {
  1699. lf_fSubmitHBookDetl();
  1700. }
  1701. //////////////
  1702. /////Skin Test 업무
  1703. ////////////
  1704. function But_preview_onclick(obj:Button, e:ClickEventInfo)
  1705. {
  1706. fFilePreview(ds_filedata.getColumn(0, "attfilenm"), ds_filedata.getColumn(0, "attfilepath"));
  1707. }
  1708. function But_down_onclick(obj:Button, e:ClickEventInfo)
  1709. {
  1710. fFileDown(ds_filedata.getColumn(0, "attfilenm"), "attfilepath");
  1711. }
  1712. function But_fileadd_onclick(obj:Button, e:ClickEventInfo)
  1713. {
  1714. fFileAdd("attfilenm");
  1715. }
  1716. function fFileAdd(colName) {
  1717. //******파일을 첨부하기 위해 파일열기가 open 되게 한다.
  1718. var oDsSaveFile = (colName == "devattfilenm") ? ds_send_save_devfile : ds_send_save_file;
  1719. var name = ds_filedata.getColumn(0, colName);
  1720. if(!utlf_isNull(name)){
  1721. var fileupdata = sysf_messageBox(name + " 파일 수정을" , "S001");
  1722. if(fileupdata == '6'){
  1723. //파일 삭제
  1724. //input박스에 나타난 명을 제거
  1725. ds_filedata.setColumn(0, colName, "");
  1726. //파일 저장
  1727. //파일을 받아오기 위해 파일열기 팝업창을 띄운다.
  1728. var fd = new FileDialog;
  1729. var objVFileList = fd.open("첨부 할 파일을 선택하여 주십시오.", FileDialog.LOAD);
  1730. trace(objVFileList);
  1731. ds_filedata.setColumn(0, colName, objVFileList.filename);
  1732. //선택한 파일이 저장버튼을 눌렀을때 저장이 되게 하기 위해 파일 저장 인스턴스에 파일주소를 저장해 둔다.
  1733. var objFileinfo = dsf_writeFileToDs(objVFileList, oDsSaveFile, 0, "filedata");
  1734. oDsSaveFile.setColumn(0, "filenm", objFileinfo.filename);
  1735. oDsSaveFile.setColumn(0, "filesize", objFileinfo.filesize);
  1736. oDsSaveFile.setColumn(0, "filetype", objFileinfo.filetype);
  1737. //파일 크기가 너무 큰경우 메세지를 띄운다.
  1738. if (!checkFileSize(objFileinfo.filesize)){
  1739. ds_filedata.setColumn(0, colName, "");
  1740. sysf_messageBox("파일 크기가 최대치(" + gMaxSize + "Byte)를", "E003");
  1741. oDsSaveFile.setColumn(0, "filedata", "");
  1742. }
  1743. }else if(fileupdata == '7'){
  1744. sysf_messageBox(name + " 파일 수정을 하지", "E007");
  1745. }
  1746. }else{
  1747. //파일을 받아오기 위해 파일열기 팝업창을 띄운다.
  1748. var fd = new FileDialog;
  1749. var objVFileList = fd.open("첨부 할 파일을 선택하여 주십시오.", FileDialog.LOAD);
  1750. //파일 경로가 아닌 이름만 input박스에 넣기 위한 처리
  1751. ds_filedata.setColumn(0, colName, objVFileList.filename);
  1752. //선택한 파일이 저장버튼을 눌렀을때 저장이 되게 하기 위해 파일 저장 인스턴스에 파일주소를 저장해 둔다.
  1753. var objFileinfo = dsf_writeFileToDs(objVFileList, oDsSaveFile, 0, "filedata");
  1754. oDsSaveFile.setColumn(0, "filenm", objFileinfo.filename);
  1755. oDsSaveFile.setColumn(0, "filesize", objFileinfo.filesize);
  1756. oDsSaveFile.setColumn(0, "filetype", objFileinfo.filetype);
  1757. //파일 크기가 너무 큰경우 메세지를 띄운다.
  1758. if (!checkFileSize(objFileinfo.filesize)){
  1759. ds_filedata.setColumn(0, colName, "");
  1760. sysf_messageBox("파일 크기가 최대치(" + gMaxSize + "Byte)를", "E003");
  1761. oDsSaveFile.setColumn(0, "filedata", "");
  1762. }
  1763. var oParam = {};
  1764. oParam.id = "TXADE10001";
  1765. oParam.service = "pharmacybaseapp.DrugIdBase";
  1766. oParam.method = "reqUpFileSave";
  1767. oParam.inds = "prgmrlist=ds_send_save_file req=ds_send_save_file attach=ds_send_save_file devattach=ds_send_save_file";
  1768. oParam.outds = "ds_result_saveresultinfo=saveresultlist";
  1769. oParam.async = false;
  1770. tranf_submit(oParam);
  1771. }
  1772. }
  1773. function fFilePreview(filenm, filepath) {
  1774. //파일명이 있는 경우 다운로드
  1775. if(!utlf_isNull(filenm) ){
  1776. var temp_path = "C:\\temp2";
  1777. //키값을 받아옴
  1778. ds_attfile.setColumn(0, "attfilepath", filepath);
  1779. ds_attfile.setColumn(0, "filepathcolnm", "attfilepath");
  1780. //키값을 가지고 DB에 저장된 데이타를 조회하러 간다
  1781. var oParam = {};
  1782. oParam.id = "TRADE10003";
  1783. oParam.service = "pharmacybaseapp.DrugIdBase";
  1784. oParam.method = "reqExeFileDownLoad";
  1785. oParam.inds = "req=ds_attfile";
  1786. oParam.outds = "ds_filelist=filelist";
  1787. oParam.async = false;
  1788. tranf_submit(oParam);
  1789. dsf_readFileFromDs(temp_path+"\\"+filenm, ds_filelist, 0, "attfilecnts"); // 파일저장
  1790. system.execShell("\"" + temp_path+"\\"+filenm + "\"");
  1791. } else {
  1792. sysf_messageBox("파일이 첨부되지 않은상태입니다.", "C000");
  1793. }
  1794. }
  1795. function fFileDown(filenm, filepath) {
  1796. //파일명이 있는 경우 다운로드
  1797. if(!utlf_isNull(filenm) ){
  1798. //파일명의 확장자만 받아옴
  1799. var fileext = filenm.lastIndexOf(".");
  1800. var ext = filenm.substring(fileext +1);
  1801. //파일을 다운로드 하기 위해 저장할 창을 띄움
  1802. var fd = new FileDialog;
  1803. var objVFileList = fd.open("다운 받을 위치를 선택하여 주십시오.", FileDialog.SAVE, "", filenm);
  1804. //키값을 받아옴
  1805. ds_attfile.setColumn(0, "attfilepath", filepath);
  1806. ds_attfile.setColumn(0, "filepathcolnm", "attfilepath");
  1807. //키값을 가지고 DB에 저장된 데이타를 조회하러 간다
  1808. var oParam = {};
  1809. oParam.id = "TRADE10003";
  1810. oParam.service = "pharmacybaseapp.DrugIdBase";
  1811. oParam.method = "reqExeFileDownLoad";
  1812. oParam.inds = "req=ds_attfile";
  1813. oParam.outds = "ds_filelist=filelist";
  1814. oParam.async = false;
  1815. tranf_submit(oParam);
  1816. if (objVFileList != null) {
  1817. dsf_readFileFromDs(objVFileList.fullpath, ds_filelist, 0, "attfilecnts"); // 파일저장
  1818. }
  1819. } else {
  1820. sysf_messageBox("파일이 첨부되지 않은상태입니다.", "C000");
  1821. }
  1822. }
  1823. function checkFileSize(fileSize)
  1824. {
  1825. if (fileSize <= gMaxSize)
  1826. return true;
  1827. else
  1828. return false;
  1829. }
  1830. ]]></Script>
  1831. </Form>
  1832. </FDL>