SMADC01600_약품식별회신등록.xfdl 120 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADC01600" position="absolute 0 0 1198 783" titletext="약품식별회신등록" oninit="SMADC01600_oninit" onload="SMADC01600_onload" ontimer="SMADC01600_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 43 1195 782" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout width="1195" height="739">
  10. <Shape position="absolute 607 149 1194 155" linetype="horizontal" id="line17" class="line_2" anchor="default"/>
  11. <Shape position="absolute 607 174 1194 180" linetype="horizontal" id="line18" class="line_2" anchor="default"/>
  12. <Shape position="absolute 607 199 1195 205" linetype="horizontal" id="line19" class="line_2" anchor="default"/>
  13. <Shape position="absolute 0 149 601 155" linetype="horizontal" id="line23" class="line_2" anchor="default"/>
  14. <Shape position="absolute 0 174 601 180" linetype="horizontal" id="line24" class="line_2" anchor="default"/>
  15. <Shape position="absolute 0 199 601 205" linetype="horizontal" id="line1" class="line_2" anchor="default"/>
  16. <Static text="조제약국" position="absolute 0 154 79 177" align="align:center middle;" id="caption40" class="cell_1" anchor="default"/>
  17. <Edit position="absolute 240 130 370 149" id="input10" class="input_search" taborder="3" anchor="default"/>
  18. <Static text="Tel)" position="absolute 215 132 240 147" align="align:center middle;" id="caption42" anchor="default"/>
  19. <Button position="absolute 1041 206 1083 228" id="btn_srch" class="btn2" taborder="11" text="검색" anchor="default" onclick="group3_btn_srch_onclick"/>
  20. <Static text="약 복용이유" position="absolute 0 179 79 202" align="align:center middle;" id="caption44" class="cell_1" anchor="default"/>
  21. <Edit position="absolute 85 130 215 149" align="align:center middle;" id="input12" class="input_search" taborder="2" anchor="default"/>
  22. <Edit position="absolute 240 155 370 174" id="input15" class="input_search" taborder="5" anchor="default"/>
  23. <Static text="Tel)" position="absolute 215 157 240 172" align="align:center middle;" id="caption46" anchor="default"/>
  24. <Edit position="absolute 85 155 215 174" id="input16" class="input_search" taborder="4" anchor="default"/>
  25. <Static text="의뢰정보" position="absolute 1 108 145 125" id="caption49" class="tit_2" anchor="default"/>
  26. <Static text="처방의원" position="absolute 0 129 79 152" align="align:center middle;" id="caption51" class="cell_1" anchor="default"/>
  27. <Static text="식별정보" position="absolute 1 212 145 230" id="caption54" class="tit_2" anchor="default"/>
  28. <Shape position="absolute 0 124 600 130" linetype="horizontal" id="line21" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  29. <Shape position="absolute 0 201 1195 207" linetype="horizontal" id="line22" class="line_3" anchor="default"/>
  30. <Button position="absolute 1086 206 1139 228" id="btn_grdadd" class="btn2" taborder="12" text="행추가" anchor="default" onclick="group3_btn_grdadd_onclick"/>
  31. <Button position="absolute 1141 206 1194 228" id="btn_grddel" class="btn2" taborder="13" text="행삭제" anchor="default" onclick="group3_btn_grddel_onclick"/>
  32. <Shape position="absolute 0 733 1195 739" linetype="horizontal" id="line25" class="line_3" anchor="default"/>
  33. <Static text="의뢰일시" position="absolute 375 129 454 152" align="align:center middle;" id="caption38" class="cell_1" anchor="default"/>
  34. <Static text="의뢰과" position="absolute 375 154 454 177" align="align:center middle;" id="caption39" class="cell_1" anchor="default"/>
  35. <MaskEdit readonly="true" position="absolute 460 130 600 149" id="output16" mask="@@@@-@@-@@" anchor="default" type="string" style="align:left middle;" displaynulltext=" "/>
  36. <Static text="의뢰자" position="absolute 375 179 454 202" align="align:center middle;" id="caption58" class="cell_1" anchor="default"/>
  37. <Edit position="absolute 85 180 370 199" id="input19" class="input_search" taborder="6" anchor="default"/>
  38. <Edit readonly="true" position="absolute 460 155 600 174" id="output19" anchor="default" class="output"/>
  39. <Edit readonly="true" position="absolute 460 180 600 199" id="output20" anchor="default" class="output"/>
  40. <Shape position="absolute 607 124 1195 130" linetype="horizontal" id="line20" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  41. <Static text="회신불가" position="absolute 785 154 875 177" align="align:center middle;" id="caption50" class="cell_1" anchor="default"/>
  42. <Static text="회신정보" position="absolute 608 108 752 124" id="caption41" class="tit_2" anchor="default"/>
  43. <Static text="작성자" position="absolute 985 154 1070 177" align="align:center middle;" id="caption53" class="cell_1" anchor="default"/>
  44. <Static text="회신추정" position="absolute 607 154 680 177" align="align:center middle;" id="caption43" class="cell_1" anchor="default"/>
  45. <Static text="회신일시" position="absolute 985 129 1070 152" align="align:center middle;" id="caption55" class="cell_1" anchor="default"/>
  46. <Static text="전달사항" position="absolute 607 179 680 202" align="align:center middle;" id="caption45" class="cell_1" anchor="default"/>
  47. <Static text="건" position="absolute 963 159 983 174" align="align:center middle;" id="caption57" anchor="default"/>
  48. <MaskEdit readonly="true" position="absolute 1075 130 1195 149" id="output18" mask="@@@@-@@-@@ @@:@@" anchor="default" style="align:left middle;" type="string" displaynulltext=" "/>
  49. <Static text="건" position="absolute 767 159 787 174" align="align:center middle;" id="caption47" anchor="default"/>
  50. <Static text="약반송" position="absolute 607 129 680 152" align="align:center middle;" id="caption25" class="cell_1" anchor="default"/>
  51. <Static text="회신자" position="absolute 985 179 1070 202" align="align:center middle;" id="caption59" class="cell_1" anchor="default"/>
  52. <Static text="소요시간" position="absolute 785 129 875 152" align="align:center middle;" id="caption48" class="cell_1" anchor="default"/>
  53. <Button position="absolute 940 130 982 149" id="btn_tm" class="btn2" text="ON" anchor="default" onclick="group3_btn_tm_onclick"/>
  54. <Edit position="absolute 685 180 980 199" id="input4" class="input_search" taborder="10" anchor="default"/>
  55. <Edit position="absolute 1075 155 1195 174" id="input5" anchor="default"/>
  56. <Edit position="absolute 1075 180 1195 199" id="input6" anchor="default"/>
  57. <Edit readonly="true" position="absolute 880 130 938 149" id="opt_cnsttm" anchor="default" class="output"/>
  58. <Grid position="absolute 0 233 1194 738" id="grd_drugid" binddataset="ds_main_cnst_drugidlist" anchor="default" autosizingtype="row" extendsizetype="row" onrbuttondown="group3_grd_drugid_onrbuttondown" onkeydown="group3_grd_drugid_onkeydown" selecttype="multiarea" cellsizingtype="both" autoenter="none" cellclickbound="cell" oncellclick="group3_grd_drugid_oncellclick" oncelldblclick="group3_grd_drugid_oncelldblclick">
  59. <Formats>
  60. <Format id="default">
  61. <Columns>
  62. <Column size="25"/>
  63. <Column size="35"/>
  64. <Column size="35"/>
  65. <Column size="220"/>
  66. <Column size="220"/>
  67. <Column size="155"/>
  68. <Column size="240"/>
  69. <Column size="165"/>
  70. <Column size="51"/>
  71. <Column size="0"/>
  72. <Column size="120"/>
  73. <Column size="130"/>
  74. <Column size="130"/>
  75. <Column size="35"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. </Columns>
  86. <Rows>
  87. <Row size="24" band="head"/>
  88. <Row size="82"/>
  89. </Rows>
  90. <Band id="head">
  91. <Cell/>
  92. <Cell col="1" text="순번"/>
  93. <Cell col="2" text="유무"/>
  94. <Cell col="3" text="사진"/>
  95. <Cell col="4" text="사진"/>
  96. <Cell col="5" text="상품명"/>
  97. <Cell col="6" text="성분 및 함량"/>
  98. <Cell col="7" text="효능 효과"/>
  99. <Cell col="8" text="본원사용"/>
  100. <Cell col="9" text="본원사용비고"/>
  101. <Cell col="10" text="현재복용법"/>
  102. <Cell col="11" text="동종약"/>
  103. <Cell col="12" text="동효약"/>
  104. <Cell col="13" text="추정"/>
  105. <Cell col="14" text="idcd"/>
  106. <Cell col="15" text="caption1"/>
  107. <Cell col="16" text="caption2"/>
  108. <Cell col="17"/>
  109. <Cell col="18"/>
  110. <Cell col="19"/>
  111. <Cell col="20"/>
  112. <Cell col="21"/>
  113. <Cell col="22"/>
  114. </Band>
  115. <Band id="body">
  116. <Cell celltype="head" displaytype="image"/>
  117. <Cell col="1" displaytype="normal" edittype="none" style="font:arial,10;" text="expr:currow+1"/>
  118. <Cell col="2" displaytype="checkbox" edittype="checkbox" style="font:arial,10;" text="bind:photyn" expr="expr:(photyn==&quot;Y&quot;||photyn==1)?1:0"/>
  119. <Cell col="3" displaytype="normal" style="background:stretch;background2:stretch;font:arial,10;selectbackground:stretch;backgroundimage:BIND(phot);" text="bind:phot" wordwrap="none"/>
  120. <Cell col="4" displaytype="none" style="background:stretch;background2:stretch;backgroundimage:BIND(phot2);" text="bind:phot2"/>
  121. <Cell col="5" displaytype="text" edittype="text" style="font:arial,10;" text="bind:hngnm" wordwrap="char" autosizerow="limitmin"/>
  122. <Cell col="6" displaytype="text" edittype="text" style="font:arial,10;" text="bind:comcnts" wordwrap="char" editautoselect="false" autosizerow="limitmin"/>
  123. <Cell col="7" displaytype="text" edittype="text" style="font:arial,10;" text="bind:efcysmm" wordwrap="char" editautoselect="false" autosizerow="limitmin"/>
  124. <Cell col="8" displaytype="text" edittype="text" style="align:center middle;font:arial,10;" text="bind:useyn"/>
  125. <Cell col="9" displaytype="text" edittype="text" style="font:arial,10;" text="bind:useyncmt"/>
  126. <Cell col="10" displaytype="text" edittype="text" style="align:left middle;" text="bind:usedesc" wordwrap="char" editautoselect="false" autosizerow="limitmin"/>
  127. <Cell col="11" displaytype="text" edittype="text" style="font:arial,10;" text="bind:homodrugflag" wordwrap="char" editautoselect="false" autosizerow="limitmin"/>
  128. <Cell col="12" displaytype="text" edittype="text" style="font:arial,10;" text="bind:samedrug" wordwrap="char" autosizerow="limitmin"/>
  129. <Cell col="13" displaytype="checkbox" edittype="checkbox" style="font:arial,10;" text="bind:estmyn"/>
  130. <Cell col="14" text="bind:idcd"/>
  131. <Cell col="15" text="bind:idseqno"/>
  132. <Cell col="16" text="bind:photoid"/>
  133. <Cell col="17" text="bind:orgimg"/>
  134. <Cell col="18" text="bind:drugcd"/>
  135. <Cell col="19" text="bind:phot2"/>
  136. <Cell col="20" text="bind:kimsyn"/>
  137. <Cell col="21" text="bind:comcls"/>
  138. <Cell col="22" text="bind:bigphot"/>
  139. </Band>
  140. </Format>
  141. </Formats>
  142. </Grid>
  143. <ImageViewer position="absolute 100 209 225 224" id="img_hidden" visible="false" anchor="default"/>
  144. <Grid position="absolute 860 345 1130 435" id="grd_selfdrug" visible="false" binddataset="ds_hidden_selfdrug" anchor="default">
  145. <Formats>
  146. <Format id="default">
  147. <Columns>
  148. <Column size="100"/>
  149. <Column size="100"/>
  150. <Column size="100"/>
  151. <Column size="100"/>
  152. <Column size="100"/>
  153. <Column size="100"/>
  154. <Column size="100"/>
  155. <Column size="100"/>
  156. <Column size="100"/>
  157. <Column size="100"/>
  158. <Column size="100"/>
  159. <Column size="100"/>
  160. <Column size="100"/>
  161. <Column size="100"/>
  162. <Column size="100"/>
  163. <Column size="100"/>
  164. <Column size="100"/>
  165. <Column size="100"/>
  166. <Column size="100"/>
  167. <Column size="100"/>
  168. <Column size="100"/>
  169. <Column size="100"/>
  170. <Column size="100"/>
  171. <Column size="100"/>
  172. <Column size="100"/>
  173. <Column size="100"/>
  174. <Column size="100"/>
  175. <Column size="100"/>
  176. <Column size="100"/>
  177. <Column size="100"/>
  178. <Column size="100"/>
  179. <Column size="100"/>
  180. <Column size="100"/>
  181. <Column size="100"/>
  182. <Column size="100"/>
  183. <Column size="100"/>
  184. <Column size="100"/>
  185. <Column size="100"/>
  186. <Column size="100"/>
  187. <Column size="100"/>
  188. <Column size="100"/>
  189. <Column size="100"/>
  190. <Column size="100"/>
  191. <Column size="100"/>
  192. <Column size="100"/>
  193. <Column size="100"/>
  194. <Column size="100"/>
  195. <Column size="100"/>
  196. <Column size="100"/>
  197. <Column size="100"/>
  198. <Column size="100"/>
  199. <Column size="100"/>
  200. <Column size="100"/>
  201. <Column size="100"/>
  202. <Column size="100"/>
  203. <Column size="100"/>
  204. <Column size="100"/>
  205. <Column size="100"/>
  206. <Column size="100"/>
  207. <Column size="100"/>
  208. <Column size="100"/>
  209. <Column size="100"/>
  210. <Column size="100"/>
  211. <Column size="100"/>
  212. <Column size="100"/>
  213. <Column size="100"/>
  214. <Column size="100"/>
  215. <Column size="100"/>
  216. <Column size="100"/>
  217. <Column size="100"/>
  218. <Column size="100"/>
  219. <Column size="100"/>
  220. <Column size="100"/>
  221. <Column size="100"/>
  222. <Column size="100"/>
  223. <Column size="100"/>
  224. <Column size="100"/>
  225. <Column size="100"/>
  226. <Column size="100"/>
  227. <Column size="100"/>
  228. <Column size="100"/>
  229. <Column size="100"/>
  230. <Column size="100"/>
  231. <Column size="100"/>
  232. <Column size="100"/>
  233. <Column size="100"/>
  234. <Column size="100"/>
  235. <Column size="100"/>
  236. <Column size="100"/>
  237. <Column size="100"/>
  238. <Column size="100"/>
  239. <Column size="100"/>
  240. <Column size="100"/>
  241. <Column size="100"/>
  242. <Column size="100"/>
  243. <Column size="100"/>
  244. <Column size="100"/>
  245. <Column size="100"/>
  246. <Column size="100"/>
  247. <Column size="100"/>
  248. <Column size="100"/>
  249. <Column size="100"/>
  250. <Column size="100"/>
  251. <Column size="100"/>
  252. <Column size="100"/>
  253. <Column size="100"/>
  254. <Column size="100"/>
  255. <Column size="100"/>
  256. <Column size="100"/>
  257. <Column size="100"/>
  258. <Column size="100"/>
  259. <Column size="100"/>
  260. <Column size="100"/>
  261. <Column size="100"/>
  262. <Column size="100"/>
  263. <Column size="100"/>
  264. <Column size="100"/>
  265. <Column size="100"/>
  266. <Column size="100"/>
  267. <Column size="100"/>
  268. <Column size="100"/>
  269. <Column size="100"/>
  270. <Column size="100"/>
  271. <Column size="100"/>
  272. <Column size="100"/>
  273. <Column size="100"/>
  274. <Column size="100"/>
  275. <Column size="100"/>
  276. <Column size="100"/>
  277. <Column size="100"/>
  278. <Column size="100"/>
  279. <Column size="100"/>
  280. <Column size="100"/>
  281. <Column size="100"/>
  282. <Column size="100"/>
  283. <Column size="100"/>
  284. <Column size="100"/>
  285. <Column size="100"/>
  286. <Column size="100"/>
  287. <Column size="100"/>
  288. <Column size="100"/>
  289. <Column size="100"/>
  290. <Column size="100"/>
  291. <Column size="100"/>
  292. <Column size="100"/>
  293. <Column size="100"/>
  294. <Column size="100"/>
  295. <Column size="100"/>
  296. <Column size="100"/>
  297. <Column size="100"/>
  298. <Column size="100"/>
  299. <Column size="100"/>
  300. <Column size="100"/>
  301. <Column size="100"/>
  302. <Column size="100"/>
  303. <Column size="100"/>
  304. <Column size="100"/>
  305. <Column size="100"/>
  306. <Column size="100"/>
  307. <Column size="100"/>
  308. <Column size="100"/>
  309. <Column size="100"/>
  310. <Column size="100"/>
  311. <Column size="100"/>
  312. <Column size="100"/>
  313. <Column size="100"/>
  314. <Column size="100"/>
  315. <Column size="100"/>
  316. <Column size="100"/>
  317. <Column size="100"/>
  318. <Column size="100"/>
  319. <Column size="100"/>
  320. <Column size="100"/>
  321. <Column size="100"/>
  322. <Column size="100"/>
  323. <Column size="100"/>
  324. <Column size="100"/>
  325. </Columns>
  326. <Rows>
  327. <Row size="24" band="head"/>
  328. <Row size="24"/>
  329. </Rows>
  330. <Band id="head">
  331. <Cell text="a"/>
  332. <Cell col="1" text="a"/>
  333. <Cell col="2" text="a"/>
  334. <Cell col="3" text="a"/>
  335. <Cell col="4" text="a"/>
  336. <Cell col="5" text="a"/>
  337. <Cell col="6" text="a"/>
  338. <Cell col="7" text="a"/>
  339. <Cell col="8" text="a"/>
  340. <Cell col="9" text="a"/>
  341. <Cell col="10" text="a"/>
  342. <Cell col="11" text="a"/>
  343. <Cell col="12" text="a"/>
  344. <Cell col="13" text="a"/>
  345. <Cell col="14" text="a"/>
  346. <Cell col="15" text="a"/>
  347. <Cell col="16" text="a"/>
  348. <Cell col="17" text="a"/>
  349. <Cell col="18" text="a"/>
  350. <Cell col="19" text="a"/>
  351. <Cell col="20" text="a"/>
  352. <Cell col="21" text="a"/>
  353. <Cell col="22" text="a"/>
  354. <Cell col="23" text="a"/>
  355. <Cell col="24" text="a"/>
  356. <Cell col="25" text="a"/>
  357. <Cell col="26" text="a"/>
  358. <Cell col="27" text="a"/>
  359. <Cell col="28" text="a"/>
  360. <Cell col="29" text="a"/>
  361. <Cell col="30" text="a"/>
  362. <Cell col="31" text="a"/>
  363. <Cell col="32" text="a"/>
  364. <Cell col="33" text="a"/>
  365. <Cell col="34" text="a"/>
  366. <Cell col="35" text="a"/>
  367. <Cell col="36" text="a"/>
  368. <Cell col="37" text="a"/>
  369. <Cell col="38" text="a"/>
  370. <Cell col="39" text="a"/>
  371. <Cell col="40" text="a"/>
  372. <Cell col="41" text="a"/>
  373. <Cell col="42" text="a"/>
  374. <Cell col="43" text="a"/>
  375. <Cell col="44" text="a"/>
  376. <Cell col="45" text="a"/>
  377. <Cell col="46" text="a"/>
  378. <Cell col="47" text="a"/>
  379. <Cell col="48" text="a"/>
  380. <Cell col="49" text="a"/>
  381. <Cell col="50" text="a"/>
  382. <Cell col="51" text="a"/>
  383. <Cell col="52" text="a"/>
  384. <Cell col="53" text="a"/>
  385. <Cell col="54" text="a"/>
  386. <Cell col="55" text="a"/>
  387. <Cell col="56" text="a"/>
  388. <Cell col="57" text="a"/>
  389. <Cell col="58" text="a"/>
  390. <Cell col="59" text="a"/>
  391. <Cell col="60" text="a"/>
  392. <Cell col="61" text="a"/>
  393. <Cell col="62" text="a"/>
  394. <Cell col="63" text="a"/>
  395. <Cell col="64" text="a"/>
  396. <Cell col="65" text="a"/>
  397. <Cell col="66" text="a"/>
  398. <Cell col="67" text="a"/>
  399. <Cell col="68" text="a"/>
  400. <Cell col="69" text="a"/>
  401. <Cell col="70" text="a"/>
  402. <Cell col="71" text="a"/>
  403. <Cell col="72" text="a"/>
  404. <Cell col="73" text="a"/>
  405. <Cell col="74" text="a"/>
  406. <Cell col="75" text="a"/>
  407. <Cell col="76" text="a"/>
  408. <Cell col="77" text="a"/>
  409. <Cell col="78" text="a"/>
  410. <Cell col="79" text="a"/>
  411. <Cell col="80" text="a"/>
  412. <Cell col="81" text="a"/>
  413. <Cell col="82" text="a"/>
  414. <Cell col="83" text="a"/>
  415. <Cell col="84" text="a"/>
  416. <Cell col="85" text="a"/>
  417. <Cell col="86" text="a"/>
  418. <Cell col="87" text="a"/>
  419. <Cell col="88" text="a"/>
  420. <Cell col="89" text="a"/>
  421. <Cell col="90" text="a"/>
  422. <Cell col="91" text="a"/>
  423. <Cell col="92" text="a"/>
  424. <Cell col="93" text="a"/>
  425. <Cell col="94" text="a"/>
  426. <Cell col="95" text="a"/>
  427. <Cell col="96" text="a"/>
  428. <Cell col="97" text="a"/>
  429. <Cell col="98" text="a"/>
  430. <Cell col="99" text="a"/>
  431. <Cell col="100" text="a"/>
  432. <Cell col="101" text="a"/>
  433. <Cell col="102" text="a"/>
  434. <Cell col="103" text="a"/>
  435. <Cell col="104" text="a"/>
  436. <Cell col="105" text="a"/>
  437. <Cell col="106" text="a"/>
  438. <Cell col="107" text="a"/>
  439. <Cell col="108" text="a"/>
  440. <Cell col="109" text="a"/>
  441. <Cell col="110" text="a"/>
  442. <Cell col="111" text="a"/>
  443. <Cell col="112" text="a"/>
  444. <Cell col="113" text="a"/>
  445. <Cell col="114" text="a"/>
  446. <Cell col="115" text="a"/>
  447. <Cell col="116" text="a"/>
  448. <Cell col="117" text="a"/>
  449. <Cell col="118" text="a"/>
  450. <Cell col="119" text="a"/>
  451. <Cell col="120" text="a"/>
  452. <Cell col="121" text="a"/>
  453. <Cell col="122" text="a"/>
  454. <Cell col="123" text="a"/>
  455. <Cell col="124" text="a"/>
  456. <Cell col="125" text="a"/>
  457. <Cell col="126" text="a"/>
  458. <Cell col="127" text="a"/>
  459. <Cell col="128" text="a"/>
  460. <Cell col="129" text="a"/>
  461. <Cell col="130" text="a"/>
  462. <Cell col="131" text="a"/>
  463. <Cell col="132" text="a"/>
  464. <Cell col="133" text="a"/>
  465. <Cell col="134" text="a"/>
  466. <Cell col="135" text="a"/>
  467. <Cell col="136" text="a"/>
  468. <Cell col="137" text="a"/>
  469. <Cell col="138" text="a"/>
  470. <Cell col="139" text="a"/>
  471. <Cell col="140" text="a"/>
  472. <Cell col="141" text="a"/>
  473. <Cell col="142" text="a"/>
  474. <Cell col="143" text="a"/>
  475. <Cell col="144" text="a"/>
  476. <Cell col="145" text="a"/>
  477. <Cell col="146" text="a"/>
  478. <Cell col="147" text="a"/>
  479. <Cell col="148" text="a"/>
  480. <Cell col="149" text="a"/>
  481. <Cell col="150" text="a"/>
  482. <Cell col="151" text="a"/>
  483. <Cell col="152" text="a"/>
  484. <Cell col="153" text="a"/>
  485. <Cell col="154" text="a"/>
  486. <Cell col="155" text="a"/>
  487. <Cell col="156" text="a"/>
  488. <Cell col="157" text="a"/>
  489. <Cell col="158" text="a"/>
  490. <Cell col="159" text="a"/>
  491. <Cell col="160" text="a"/>
  492. <Cell col="161" text="a"/>
  493. <Cell col="162" text="a"/>
  494. <Cell col="163" text="a"/>
  495. <Cell col="164" text="a"/>
  496. <Cell col="165" text="a"/>
  497. <Cell col="166" text="a"/>
  498. <Cell col="167" text="a"/>
  499. <Cell col="168" text="a"/>
  500. <Cell col="169" text="a"/>
  501. <Cell col="170" text="a"/>
  502. <Cell col="171" text="a"/>
  503. <Cell col="172" text="a"/>
  504. <Cell col="173" text="a"/>
  505. <Cell col="174" text="a"/>
  506. <Cell col="175" text="a"/>
  507. <Cell col="176" text="a"/>
  508. </Band>
  509. <Band id="body">
  510. <Cell text="bind:selfholdflag"/>
  511. <Cell col="1" text="bind:selfholdstat"/>
  512. <Cell col="2" text="bind:selfholdgenrdd"/>
  513. <Cell col="3" text="bind:anamneflag"/>
  514. <Cell col="4" text="bind:drugspdunitflag"/>
  515. <Cell col="5" text="bind:clincstdyflag"/>
  516. <Cell col="6" text="bind:cvrtbfprcpgenrflag"/>
  517. <Cell col="7" text="bind:trnptbftestflag"/>
  518. <Cell col="8" text="bind:rgstridnm"/>
  519. <Cell col="9" text="bind:etcprcpresncd"/>
  520. <Cell col="10" text="bind:rgstrid"/>
  521. <Cell col="11" text="bind:prcpno"/>
  522. <Cell col="12" text="bind:fixprcpflag"/>
  523. <Cell col="13" text="bind:prcpnm"/>
  524. <Cell col="14" text="bind:choiordflag"/>
  525. <Cell col="15" text="bind:optermcd"/>
  526. <Cell col="16" text="bind:oprsrvno"/>
  527. <Cell col="17" text="bind:prcppkspec"/>
  528. <Cell col="18" text="bind:drugmthdspccd"/>
  529. <Cell col="19" text="bind:wardcd"/>
  530. <Cell col="20" text="bind:prcpflag"/>
  531. <Cell col="21" text="bind:prcplnkdd"/>
  532. <Cell col="22" text="bind:cvrtbfcretno"/>
  533. <Cell col="23" text="bind:mealprotcnts"/>
  534. <Cell col="24" text="bind:pampkspec"/>
  535. <Cell col="25" text="bind:orgprcpnm"/>
  536. <Cell col="26" text="bind:fstrgstrid"/>
  537. <Cell col="27" text="bind:drugmastspec"/>
  538. <Cell col="28" text="bind:prcpdayno"/>
  539. <Cell col="29" text="bind:prcpessninptflag"/>
  540. <Cell col="30" text="bind:cvrtbforddd"/>
  541. <Cell col="31" text="bind:prcpdirecflag"/>
  542. <Cell col="32" text="bind:prcpvolunitnm"/>
  543. <Cell col="33" text="bind:updtrid"/>
  544. <Cell col="34" text="bind:prnprcpflag"/>
  545. <Cell col="35" text="bind:prcpinptflag"/>
  546. <Cell col="36" text="bind:nigtprcpflag"/>
  547. <Cell col="37" text="bind:rateprcpflag"/>
  548. <Cell col="38" text="bind:prcpsetcd"/>
  549. <Cell col="39" text="bind:prcphistcd"/>
  550. <Cell col="40" text="bind:grupsnglflag"/>
  551. <Cell col="41" text="bind:tnsfiltflag"/>
  552. <Cell col="42" text="bind:prcpdd"/>
  553. <Cell col="43" text="bind:erreadflag"/>
  554. <Cell col="44" text="bind:tempprcpflag"/>
  555. <Cell col="45" text="bind:ordreqlnkno"/>
  556. <Cell col="46" text="bind:clincstdycd"/>
  557. <Cell col="47" text="bind:drugpackflag"/>
  558. <Cell col="48" text="bind:prcpkindcd"/>
  559. <Cell col="49" text="bind:drugmthdspccdnm"/>
  560. <Cell col="50" text="bind:cretno"/>
  561. <Cell col="51" text="bind:prcprefseq"/>
  562. <Cell col="52" text="bind:prcpsignflag"/>
  563. <Cell col="53" text="bind:stemcellflag"/>
  564. <Cell col="54" text="bind:updtdeptcd"/>
  565. <Cell col="55" text="bind:prcpcd"/>
  566. <Cell col="56" text="bind:hosinprcpresncd"/>
  567. <Cell col="57" text="bind:prcpmixno"/>
  568. <Cell col="58" text="bind:pid"/>
  569. <Cell col="59" text="bind:indd"/>
  570. <Cell col="60" text="bind:erprcpflag"/>
  571. <Cell col="61" text="bind:prcpvol"/>
  572. <Cell col="62" text="bind:asttestflag"/>
  573. <Cell col="63" text="bind:prcpgenrflag"/>
  574. <Cell col="64" text="bind:roomcd"/>
  575. <Cell col="65" text="bind:prcpclscd"/>
  576. <Cell col="66" text="bind:powdflag"/>
  577. <Cell col="67" text="bind:payflagcd"/>
  578. <Cell col="68" text="bind:prcpvolunitflag"/>
  579. <Cell col="69" text="bind:opansflagcd"/>
  580. <Cell col="70" text="bind:fstrgstdt"/>
  581. <Cell col="71" text="bind:lastupdtrid"/>
  582. <Cell col="72" text="bind:prcphopedd"/>
  583. <Cell col="73" text="bind:prcpqtyunitnm"/>
  584. <Cell col="74" text="bind:prcpqty"/>
  585. <Cell col="75" text="bind:prcpexecdeptcd"/>
  586. <Cell col="76" text="bind:rgstdt"/>
  587. <Cell col="77" text="bind:prcpstatcd"/>
  588. <Cell col="78" text="bind:suppdeptspec"/>
  589. <Cell col="79" text="bind:testreqlnkno"/>
  590. <Cell col="80" text="bind:portprcpflag"/>
  591. <Cell col="81" text="bind:contprcpspec"/>
  592. <Cell col="82" text="bind:selfdrugflag"/>
  593. <Cell col="83" text="bind:prcpqtyunitflag"/>
  594. <Cell col="84" text="bind:rgstdd"/>
  595. <Cell col="85" text="bind:lastupdtdt"/>
  596. <Cell col="86" text="bind:mealcalrcnts"/>
  597. <Cell col="87" text="bind:etclnkspec"/>
  598. <Cell col="88" text="bind:srchcondcnts"/>
  599. <Cell col="89" text="bind:rgsttm"/>
  600. <Cell col="90" text="bind:angioflagcd"/>
  601. <Cell col="91" text="bind:prcptims"/>
  602. <Cell col="92" text="bind:ansttm"/>
  603. <Cell col="93" text="bind:rgstdeptcd"/>
  604. <Cell col="94" text="bind:prtlno"/>
  605. <Cell col="95" text="bind:matrsetprcpspec"/>
  606. <Cell col="96" text="bind:calcscormastspec"/>
  607. <Cell col="97" text="bind:fastprcpflag"/>
  608. <Cell col="98" text="bind:drugrateqty"/>
  609. <Cell col="99" text="bind:issdeptcd"/>
  610. <Cell col="100" text="bind:updtdd"/>
  611. <Cell col="101" text="bind:tempstat"/>
  612. <Cell col="102" text="bind:instcd"/>
  613. <Cell col="103" text="bind:selfprcpflag"/>
  614. <Cell col="104" text="bind:updttm"/>
  615. <Cell col="105" text="bind:precureprcpflag"/>
  616. <Cell col="106" text="bind:orddd"/>
  617. <Cell col="107" text="bind:hosinhosoutflag"/>
  618. <Cell col="108" text="bind:prcplnkno"/>
  619. <Cell col="109" text="bind:tnsuseflag"/>
  620. <Cell col="110" text="bind:mealupdtflag"/>
  621. <Cell col="111" text="bind:offictourhealexamflag"/>
  622. <Cell col="112" text="bind:prcphistno"/>
  623. <Cell col="113" text="bind:tootfact"/>
  624. <Cell col="114" text="bind:rateprcpspec"/>
  625. <Cell col="115" text="bind:prepprcpflag"/>
  626. <Cell col="116" text="bind:prcpdelivefact"/>
  627. <Cell col="117" text="bind:drugspd"/>
  628. <Cell col="118" text="bind:orgprcpqty"/>
  629. <Cell col="119" text="bind:prcpauthflag"/>
  630. <Cell col="120" text="bind:cpno"/>
  631. <Cell col="121" text="bind:anticncrprtlno"/>
  632. <Cell col="122" text="bind:orddeptcd"/>
  633. <Cell col="123" text="bind:orddrid"/>
  634. <Cell col="124" text="bind:oldprcphistno"/>
  635. <Cell col="125" text="bind:hscttempprcpflag"/>
  636. <Cell col="126" text="bind:inclprcpcd"/>
  637. <Cell col="127" text="bind:inclprcpno"/>
  638. <Cell col="128" text="bind:calcflag"/>
  639. <Cell col="129" text="bind:calcyn"/>
  640. <Cell col="130" text="bind:hsctdelivepos"/>
  641. <Cell col="131" text="bind:hsctlnkno"/>
  642. <Cell col="132" text="bind:etcprcpflag"/>
  643. <Cell col="133" text="bind:aftcertflag"/>
  644. <Cell col="134" text="bind:aftcertdrid"/>
  645. <Cell col="135" text="bind:prcpvalidd"/>
  646. <Cell col="136" text="bind:spynpy1"/>
  647. <Cell col="137" text="bind:specdrid"/>
  648. <Cell col="138" text="bind:anticncrprtlno"/>
  649. <Cell col="139" text="bind:anticncrdayno"/>
  650. <Cell col="140" text="bind:druglnkno"/>
  651. <Cell col="141" text="bind:rehbprcpcurefreqflag"/>
  652. <Cell col="142" text="bind:dietprcpgenrflag"/>
  653. <Cell col="143" text="bind:irpayflag"/>
  654. <Cell col="144" text="bind:irflag"/>
  655. <Cell col="145" text="bind:procerdietflag"/>
  656. <Cell col="146" text="bind:diagtestconttestintvlflag"/>
  657. <Cell col="147" text="bind:drugindependpackflag"/>
  658. <Cell col="148" text="bind:diagtestconttestbasetm"/>
  659. <Cell col="149" text="bind:diagtestconttestorgtims"/>
  660. <Cell col="150" text="bind:ermediscmngtresncd"/>
  661. <Cell col="151" text="bind:rehbprcpenddd"/>
  662. <Cell col="152" text="bind:matrallsizespecid"/>
  663. <Cell col="153" text="bind:rehbprcpcurepartcd"/>
  664. <Cell col="154" text="bind:lowdrugresncd"/>
  665. <Cell col="155" text="bind:tfdtlcd"/>
  666. <Cell col="156" text="bind:dnorreqlnkno"/>
  667. <Cell col="157" text="bind:subcretno"/>
  668. <Cell col="158" text="bind:exptmthdfact"/>
  669. <Cell col="159" text="bind:lowdrugresnetcfact"/>
  670. <Cell col="160" text="bind:diagtestconttestcdspec"/>
  671. <Cell col="161" text="bind:drprcpetc1"/>
  672. <Cell col="162" text="bind:drprcpetc2"/>
  673. <Cell col="163" text="bind:drprcpetc3"/>
  674. <Cell col="164" text="bind:drprcpetc4"/>
  675. <Cell col="165" text="bind:drprcpetc5"/>
  676. <Cell col="166" text="bind:drprcpetc6"/>
  677. <Cell col="167" text="bind:drprcpetc7"/>
  678. <Cell col="168" text="bind:drprcpetc8"/>
  679. <Cell col="169" text="bind:drprcpetc9"/>
  680. <Cell col="170" text="bind:drprcpetc10"/>
  681. <Cell col="171" text="bind:prcptempcol1"/>
  682. <Cell col="172" text="bind:prcptempcol2"/>
  683. <Cell col="173" text="bind:prcptempcol3"/>
  684. <Cell col="174" text="bind:prcptempcol4"/>
  685. <Cell col="175" text="bind:prcptempcol5"/>
  686. <Cell col="176" text="bind:oldprcphistcd"/>
  687. </Band>
  688. </Format>
  689. </Formats>
  690. </Grid>
  691. <Button position="absolute 495 102 600 124" id="button1" class="btn4" text="의뢰정보저장" anchor="default" onclick="group3_button1_onclick"/>
  692. <Div id="group4" taborder="14" position="absolute 0 10 1195 97" class="div_SA2" anchor="default">
  693. <Layouts>
  694. <Layout>
  695. <Edit id="output11" taborder="1" class="input_essential" position="absolute 95 10 195 29" anchor="default" onkeydown="group3_group4_output11_onkeydown"/>
  696. <Edit id="output12" taborder="2" readonly="true" class="output" position="absolute 280 10 380 29" anchor="default"/>
  697. <Static id="caption34" text="성명" class="search_name" position="absolute 202 12 255 29" anchor="default"/>
  698. <Static id="caption37" text="등록번호" class="search_name" position="absolute 7 12 83 29" anchor="default"/>
  699. <Edit id="output17" taborder="3" readonly="true" class="output" position="absolute 95 60 195 79" anchor="default"/>
  700. <Static id="caption33" text="성별/나이" class="search_name" position="absolute 7 37 93 54" anchor="default"/>
  701. <Edit id="output13" taborder="4" readonly="true" class="output" position="absolute 95 35 195 54" anchor="default"/>
  702. <Edit id="output14" taborder="5" readonly="true" class="output" position="absolute 455 10 555 29" anchor="default"/>
  703. <Static id="caption35" text="진료과" class="search_name" position="absolute 387 12 450 29" anchor="default"/>
  704. <Static id="caption36" text="입원일" class="search_name" position="absolute 202 62 260 79" anchor="default"/>
  705. <MaskEdit id="output15" taborder="6" readonly="true" mask="@@@@-@@-@@" class="output_search" position="absolute 280 60 380 79" anchor="default" type="string" style="align:left middle;" displaynulltext=" "/>
  706. <Static id="caption31" text="병실" class="search_name" position="absolute 7 62 58 79" anchor="default"/>
  707. <Grid id="datagrid2" taborder="7" binddataset="ds_main_cnst_diaglist" useinputpanel="false" position="absolute 645 6 1183 80" anchor="default" autofittype="col">
  708. <Formats>
  709. <Format id="default">
  710. <Columns>
  711. <Column size="20"/>
  712. <Column size="105"/>
  713. <Column size="240"/>
  714. <Column size="189"/>
  715. </Columns>
  716. <Rows>
  717. <Row size="24" band="head"/>
  718. <Row size="24"/>
  719. </Rows>
  720. <Band id="head">
  721. <Cell/>
  722. <Cell col="1" text="상병코드"/>
  723. <Cell col="2" text="영문상병명"/>
  724. <Cell col="3" text="한글상병명"/>
  725. </Band>
  726. <Band id="body">
  727. <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;selectbackground:URL('theme://images/bg_gridHead.png') stretch 3,3;" expr="expr:currow+1"/>
  728. <Cell col="1" style="align:left middle;" text="bind:diagcd"/>
  729. <Cell col="2" style="align:left middle;" text="bind:diagengnm"/>
  730. <Cell col="3" style="align:left middle;" text="bind:diaghngnm"/>
  731. </Band>
  732. </Format>
  733. </Formats>
  734. </Grid>
  735. <Shape id="line11" linetype="horizontal" class="line_3" position="absolute 645 77 1183 83" anchor="default"/>
  736. <Static id="caption56" text="상병정보" class="search_name" position="absolute 567 12 647 29" anchor="default"/>
  737. <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 5 27 194 33" anchor="default"/>
  738. <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 5 52 194 58" anchor="default"/>
  739. <Shape id="line4" linetype="horizontal" class="line_2" position="absolute 5 77 194 83" anchor="default"/>
  740. <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 200 27 376 33" anchor="default"/>
  741. <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 385 27 555 33" anchor="default"/>
  742. <Shape id="line7" linetype="horizontal" class="line_2" position="absolute 200 77 376 83" anchor="default"/>
  743. <Edit id="opt_rrgstno" taborder="8" readonly="true" class="output" position="absolute 280 35 380 54" anchor="default"/>
  744. <Static id="caption1" text="주민번호" class="search_name" position="absolute 202 37 278 54" anchor="default"/>
  745. <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 200 52 376 58" anchor="default"/>
  746. </Layout>
  747. </Layouts>
  748. </Div>
  749. <Edit id="input18" taborder="16" position="absolute 880 155 960 174" maxlength="1" inputtype="number"/>
  750. <Edit id="input17" taborder="17" inputtype="number" maxlength="4" position="absolute 685 155 765 174"/>
  751. <Radio id="radio2" taborder="18" columncount="-1" rowcount="-1" position="absolute 686 129 778 149" codecolumn="codecolumn" datacolumn="datacolumn">
  752. <Dataset id="innerdataset">
  753. <ColumnInfo>
  754. <Column id="codecolumn" size="256"/>
  755. <Column id="datacolumn" size="256"/>
  756. </ColumnInfo>
  757. <Rows>
  758. <Row>
  759. <Col id="codecolumn">1</Col>
  760. <Col id="datacolumn">예</Col>
  761. </Row>
  762. <Row>
  763. <Col id="codecolumn">2</Col>
  764. <Col id="datacolumn">아니오</Col>
  765. </Row>
  766. </Rows>
  767. </Dataset>
  768. </Radio>
  769. <Shape id="line00" class="line_1" position="absolute 0 228 1195 234" style="strokepen:3 solid #33bbbbff;"/>
  770. <Button id="button00" taborder="19" text="복용법저장" class="btn4" position="absolute 935 206 1028 228" onclick="group3_button00_onclick"/>
  771. <ImageViewer id="img_drugphot" taborder="20" stretch="fit" resampling="true" onclick="img_drugphot_onclick" visible="false" position="absolute 319 277 1000 543" style="border:2 solid #0000ffff ;"/>
  772. </Layout>
  773. </Layouts>
  774. </Div>
  775. <Static id="caption19" text="약품 식별 회신 등록" class="tit_1" position="absolute 0 0 180 25"/>
  776. <Div position="absolute 0 23 1195 50" id="group2" scrollbars="autoboth">
  777. <Layouts>
  778. <Layout>
  779. <Button position="absolute 213 5 293 27" id="button4" class="btn3" text="약력조회" anchor="default" onclick="group2_button4_onclick"/>
  780. <Button position="absolute 295 5 375 27" id="button5" class="btn3" text="약품편람" anchor="default" onclick="group2_button5_onclick"/>
  781. <Button position="absolute 377 5 433 27" id="btn_prt" class="btn6" text="출력" anchor="default" onclick="group2_btn_prt_onclick"/>
  782. <Button position="absolute 1078 5 1134 27" id="btn_repl" class="btn4" text="회신" anchor="default" onclick="group2_btn_repl_onclick"/>
  783. <Button position="absolute 1138 5 1194 27" id="btn_del" class="btn4" text="삭제" anchor="default" onclick="group2_btn_del_onclick"/>
  784. <Button position="absolute 1018 5 1074 27" id="btn_save" class="btn4" text="저장" anchor="default" onclick="group2_btn_save_onclick"/>
  785. <Button position="absolute 958 5 1014 27" id="btn_sea" class="btn1" visible="false" text="조회" anchor="default" onclick="group2_btn_sea_onclick"/>
  786. <Button position="absolute 868 5 953 27" id="btn_can" class="btn4" text="회신취소" anchor="default" onclick="group2_btn_can_onclick"/>
  787. <Button position="absolute 1 5 105 27" id="button2" class="btn3" text="통합결과조회" anchor="default" onclick="group2_button2_onclick"/>
  788. <Button position="absolute 107 5 211 27" id="button3" class="btn3" text="통합기록조회" anchor="default" onclick="group2_button3_onclick"/>
  789. </Layout>
  790. </Layouts>
  791. </Div>
  792. </Layout>
  793. </Layouts>
  794. <Objects>
  795. <Dataset id="ds_init_radio2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  796. <ColumnInfo>
  797. <Column id="cdid" type="STRING" size="256"/>
  798. <Column id="cdnm" type="STRING" size="256"/>
  799. </ColumnInfo>
  800. <Rows>
  801. <Row>
  802. <Col id="cdnm">예</Col>
  803. <Col id="cdid">1</Col>
  804. </Row>
  805. <Row>
  806. <Col id="cdnm">아니오</Col>
  807. <Col id="cdid">2</Col>
  808. </Row>
  809. </Rows>
  810. </Dataset>
  811. <Dataset id="ds_main_cnst_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  812. <ColumnInfo>
  813. <Column id="pid" type="STRING" size="256"/>
  814. <Column id="rgstseqno" type="STRING" size="256"/>
  815. <Column id="statflag" type="STRING" size="256"/>
  816. <Column id="drugrtn" type="STRING" size="256"/>
  817. <Column id="cnsttm" type="STRING" size="256"/>
  818. <Column id="replestm" type="STRING" size="256"/>
  819. <Column id="replimpsi" type="STRING" size="256"/>
  820. <Column id="remark" type="STRING" size="256"/>
  821. <Column id="repldd" type="STRING" size="256"/>
  822. <Column id="writid" type="STRING" size="256"/>
  823. <Column id="writnm" type="STRING" size="256"/>
  824. <Column id="replid" type="STRING" size="256"/>
  825. <Column id="replnm" type="STRING" size="256"/>
  826. <Column id="repltm" type="STRING" size="256"/>
  827. </ColumnInfo>
  828. <Rows>
  829. <Row>
  830. <Col id="pid"/>
  831. <Col id="rgstseqno"/>
  832. <Col id="statflag"/>
  833. <Col id="drugrtn"/>
  834. <Col id="cnsttm"/>
  835. <Col id="replestm"/>
  836. <Col id="replimpsi"/>
  837. <Col id="remark"/>
  838. <Col id="repldd"/>
  839. <Col id="writid"/>
  840. <Col id="writnm"/>
  841. <Col id="replid"/>
  842. <Col id="replnm"/>
  843. <Col id="repltm"/>
  844. </Row>
  845. </Rows>
  846. </Dataset>
  847. <Dataset id="ds_main_cnst_cnstinfo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  848. <ColumnInfo>
  849. <Column id="cnstseqno" type="STRING" size="256"/>
  850. <Column id="formrecseq" type="STRING" size="256"/>
  851. <Column id="prcphosp" type="STRING" size="256"/>
  852. <Column id="prcphosptel" type="STRING" size="256"/>
  853. <Column id="prcppharm" type="STRING" size="256"/>
  854. <Column id="prcppharmtel" type="STRING" size="256"/>
  855. <Column id="drugresn" type="STRING" size="256"/>
  856. <Column id="drugrtn" type="STRING" size="256"/>
  857. <Column id="cnstdd" type="STRING" size="256"/>
  858. <Column id="cnstdeptnm" type="STRING" size="256"/>
  859. <Column id="cnstdrnm" type="STRING" size="256"/>
  860. <Column id="cnstdeptcd" type="STRING" size="256"/>
  861. <Column id="cnstdrid" type="STRING" size="256"/>
  862. </ColumnInfo>
  863. <Rows>
  864. <Row>
  865. <Col id="cnstseqno"/>
  866. <Col id="formrecseq"/>
  867. <Col id="prcphosp"/>
  868. <Col id="prcphosptel"/>
  869. <Col id="prcppharm"/>
  870. <Col id="prcppharmtel"/>
  871. <Col id="drugresn"/>
  872. <Col id="drugrtn"/>
  873. <Col id="cnstdd"/>
  874. <Col id="cnstdeptnm"/>
  875. <Col id="cnstdrnm"/>
  876. <Col id="cnstdeptcd"/>
  877. <Col id="cnstdrid"/>
  878. </Row>
  879. </Rows>
  880. </Dataset>
  881. <Dataset id="ds_main_cnst_drugidlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cnst_drugidlist_oncolumnchanged">
  882. <ColumnInfo>
  883. <Column id="rowcnt" type="STRING" size="256"/>
  884. <Column id="photyn" type="STRING" size="256"/>
  885. <Column id="phot" type="BLOB" size="256"/>
  886. <Column id="hngnm" type="STRING" size="256"/>
  887. <Column id="comcnts" type="STRING" size="256"/>
  888. <Column id="efcysmm" type="STRING" size="256"/>
  889. <Column id="useyn" type="STRING" size="256"/>
  890. <Column id="useyncmt" type="STRING" size="256"/>
  891. <Column id="homodrugflag" type="STRING" size="256"/>
  892. <Column id="samedrug" type="STRING" size="256"/>
  893. <Column id="estmyn" type="STRING" size="256"/>
  894. <Column id="idseqno" type="STRING" size="256"/>
  895. <Column id="photid" type="STRING" size="256"/>
  896. <Column id="orgimg" type="STRING" size="256"/>
  897. <Column id="idcd" type="STRING" size="256"/>
  898. <Column id="usedesc" type="STRING" size="256"/>
  899. <Column id="kimsyn" type="STRING" size="256"/>
  900. <Column id="phot2" type="STRING" size="256"/>
  901. <Column id="comcls" type="STRING" size="256"/>
  902. <Column id="bigphot" type="STRING" size="256"/>
  903. </ColumnInfo>
  904. <Rows>
  905. <Row>
  906. <Col id="rowcnt"/>
  907. <Col id="photyn"/>
  908. <Col id="phot"/>
  909. <Col id="hngnm"/>
  910. <Col id="comcnts"/>
  911. <Col id="efcysmm"/>
  912. <Col id="useyn"/>
  913. <Col id="useyncmt"/>
  914. <Col id="homodrugflag"/>
  915. <Col id="samedrug"/>
  916. <Col id="estmyn"/>
  917. <Col id="idseqno"/>
  918. <Col id="photid"/>
  919. <Col id="orgimg"/>
  920. <Col id="idcd"/>
  921. </Row>
  922. </Rows>
  923. </Dataset>
  924. <Dataset id="ds_main_cnst_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  925. <ColumnInfo>
  926. <Column id="pid" type="STRING" size="256"/>
  927. <Column id="hngnm" type="STRING" size="256"/>
  928. <Column id="sna" type="STRING" size="256"/>
  929. <Column id="cnstdeptcd" type="STRING" size="256"/>
  930. <Column id="roomcd" type="STRING" size="256"/>
  931. <Column id="orddd" type="STRING" size="256"/>
  932. <Column id="rrgstno" type="STRING" size="256"/>
  933. <Column id="title" type="STRING" size="256"/>
  934. <Column id="rowtitle" type="STRING" size="256"/>
  935. </ColumnInfo>
  936. <Rows>
  937. <Row>
  938. <Col id="pid"/>
  939. <Col id="hngnm"/>
  940. <Col id="sna"/>
  941. <Col id="cnstdeptcd"/>
  942. <Col id="roomcd"/>
  943. <Col id="orddd"/>
  944. <Col id="rrgstno"/>
  945. <Col id="title"/>
  946. <Col id="rowtitle"/>
  947. </Row>
  948. </Rows>
  949. </Dataset>
  950. <Dataset id="ds_main_cnst_diaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  951. <ColumnInfo>
  952. <Column id="diagcd" type="STRING" size="256"/>
  953. <Column id="diagengnm" type="STRING" size="256"/>
  954. <Column id="diaghngnm" type="STRING" size="256"/>
  955. </ColumnInfo>
  956. <Rows>
  957. <Row>
  958. <Col id="diagcd"/>
  959. <Col id="diagengnm"/>
  960. <Col id="diaghngnm"/>
  961. </Row>
  962. </Rows>
  963. </Dataset>
  964. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  965. <ColumnInfo>
  966. <Column id="pid" type="STRING" size="256"/>
  967. <Column id="orddd" type="STRING" size="256"/>
  968. <Column id="cretno" type="STRING" size="256"/>
  969. <Column id="prcpgenrflag" type="STRING" size="256"/>
  970. <Column id="rgstseqno" type="STRING" size="256"/>
  971. <Column id="cnstdd" type="STRING" size="256"/>
  972. <Column id="formrecseq" type="STRING" size="256"/>
  973. </ColumnInfo>
  974. <Rows>
  975. <Row>
  976. <Col id="pid"/>
  977. <Col id="orddd"/>
  978. <Col id="cretno"/>
  979. <Col id="prcpgenrflag"/>
  980. <Col id="rgstseqno"/>
  981. <Col id="cnstdd"/>
  982. <Col id="formrecseq"/>
  983. </Row>
  984. </Rows>
  985. </Dataset>
  986. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  987. <Dataset id="ds_send_selfdrug" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  988. <ColumnInfo>
  989. <Column id="savedata" type="STRING" size="256"/>
  990. </ColumnInfo>
  991. <Rows>
  992. <Row/>
  993. </Rows>
  994. </Dataset>
  995. <Dataset id="ds_send_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  996. <ColumnInfo>
  997. <Column id="cnstcnts1" type="STRING" size="256"/>
  998. <Column id="cnstcnts2" type="STRING" size="256"/>
  999. <Column id="cnstcnts3" type="STRING" size="256"/>
  1000. <Column id="cnstcnts4" type="STRING" size="256"/>
  1001. <Column id="cnstcnts5" type="STRING" size="256"/>
  1002. <Column id="pid" type="STRING" size="256"/>
  1003. <Column id="formrecseq" type="STRING" size="256"/>
  1004. </ColumnInfo>
  1005. <Rows>
  1006. <Row>
  1007. <Col id="cnstcnts1"/>
  1008. <Col id="cnstcnts2"/>
  1009. <Col id="cnstcnts3"/>
  1010. <Col id="cnstcnts4"/>
  1011. <Col id="cnstcnts5"/>
  1012. <Col id="pid"/>
  1013. <Col id="formrecseq"/>
  1014. </Row>
  1015. </Rows>
  1016. </Dataset>
  1017. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1018. <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1019. <ColumnInfo>
  1020. <Column id="rgstseqno" type="STRING" size="256"/>
  1021. </ColumnInfo>
  1022. <Rows>
  1023. <Row/>
  1024. </Rows>
  1025. </Dataset>
  1026. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1027. <ColumnInfo>
  1028. <Column id="tmflag" type="STRING" size="256"/>
  1029. <Column id="repldt" type="STRING" size="256"/>
  1030. </ColumnInfo>
  1031. <Rows>
  1032. <Row/>
  1033. </Rows>
  1034. </Dataset>
  1035. <Dataset id="ds_hidden_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1036. <ColumnInfo>
  1037. <Column id="label" type="STRING" size="256"/>
  1038. <Column id="func" type="STRING" size="256"/>
  1039. </ColumnInfo>
  1040. <Rows>
  1041. <Row>
  1042. <Col id="label">복사하기 Ctrl+C</Col>
  1043. <Col id="func">fRowCopy</Col>
  1044. </Row>
  1045. <Row>
  1046. <Col id="label">붙여넣기 Ctrl+V</Col>
  1047. <Col id="func">fPaste</Col>
  1048. </Row>
  1049. <Row>
  1050. <Col id="label">지우기</Col>
  1051. <Col id="func">fdel</Col>
  1052. </Row>
  1053. <Row>
  1054. <Col id="label"/>
  1055. <Col id="func"/>
  1056. </Row>
  1057. <Row>
  1058. <Col id="label">사진파일 불러오기</Col>
  1059. <Col id="func">floadimg</Col>
  1060. </Row>
  1061. </Rows>
  1062. </Dataset>
  1063. <Dataset id="ds_hidden_cnststatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1064. <ColumnInfo>
  1065. <Column id="cnststat" type="STRING" size="256"/>
  1066. </ColumnInfo>
  1067. <Rows>
  1068. <Row/>
  1069. </Rows>
  1070. </Dataset>
  1071. <Dataset id="ds_hidden_selfdrug" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1072. <ColumnInfo>
  1073. <Column id="selfholdflag" type="STRING" size="256"/>
  1074. <Column id="selfholdstat" type="STRING" size="256"/>
  1075. <Column id="selfholdgenrdd" type="STRING" size="256"/>
  1076. <Column id="anamneflag" type="STRING" size="256"/>
  1077. <Column id="drugspdunitflag" type="STRING" size="256"/>
  1078. <Column id="clincstdyflag" type="STRING" size="256"/>
  1079. <Column id="cvrtbfprcpgenrflag" type="STRING" size="256"/>
  1080. <Column id="trnptbftestflag" type="STRING" size="256"/>
  1081. <Column id="rgstridnm" type="STRING" size="256"/>
  1082. <Column id="etcprcpresncd" type="STRING" size="256"/>
  1083. <Column id="rgstrid" type="STRING" size="256"/>
  1084. <Column id="prcpno" type="STRING" size="256"/>
  1085. <Column id="fixprcpflag" type="STRING" size="256"/>
  1086. <Column id="prcpnm" type="STRING" size="256"/>
  1087. <Column id="choiordflag" type="STRING" size="256"/>
  1088. <Column id="optermcd" type="STRING" size="256"/>
  1089. <Column id="oprsrvno" type="STRING" size="256"/>
  1090. <Column id="prcppkspec" type="STRING" size="256"/>
  1091. <Column id="drugmthdspccd" type="STRING" size="256"/>
  1092. <Column id="wardcd" type="STRING" size="256"/>
  1093. <Column id="prcpflag" type="STRING" size="256"/>
  1094. <Column id="prcplnkdd" type="STRING" size="256"/>
  1095. <Column id="cvrtbfcretno" type="STRING" size="256"/>
  1096. <Column id="mealprotcnts" type="STRING" size="256"/>
  1097. <Column id="pampkspec" type="STRING" size="256"/>
  1098. <Column id="orgprcpnm" type="STRING" size="256"/>
  1099. <Column id="fstrgstrid" type="STRING" size="256"/>
  1100. <Column id="drugmastspec" type="STRING" size="256"/>
  1101. <Column id="prcpdayno" type="STRING" size="256"/>
  1102. <Column id="prcpessninptflag" type="STRING" size="256"/>
  1103. <Column id="cvrtbforddd" type="STRING" size="256"/>
  1104. <Column id="prcpdirecflag" type="STRING" size="256"/>
  1105. <Column id="prcpvolunitnm" type="STRING" size="256"/>
  1106. <Column id="updtrid" type="STRING" size="256"/>
  1107. <Column id="prnprcpflag" type="STRING" size="256"/>
  1108. <Column id="prcpinptflag" type="STRING" size="256"/>
  1109. <Column id="nigtprcpflag" type="STRING" size="256"/>
  1110. <Column id="rateprcpflag" type="STRING" size="256"/>
  1111. <Column id="prcpsetcd" type="STRING" size="256"/>
  1112. <Column id="prcphistcd" type="STRING" size="256"/>
  1113. <Column id="grupsnglflag" type="STRING" size="256"/>
  1114. <Column id="tnsfiltflag" type="STRING" size="256"/>
  1115. <Column id="prcpdd" type="STRING" size="256"/>
  1116. <Column id="erreadflag" type="STRING" size="256"/>
  1117. <Column id="tempprcpflag" type="STRING" size="256"/>
  1118. <Column id="ordreqlnkno" type="STRING" size="256"/>
  1119. <Column id="clincstdycd" type="STRING" size="256"/>
  1120. <Column id="drugpackflag" type="STRING" size="256"/>
  1121. <Column id="prcpkindcd" type="STRING" size="256"/>
  1122. <Column id="drugmthdspccdnm" type="STRING" size="256"/>
  1123. <Column id="cretno" type="STRING" size="256"/>
  1124. <Column id="prcprefseq" type="STRING" size="256"/>
  1125. <Column id="prcpsignflag" type="STRING" size="256"/>
  1126. <Column id="stemcellflag" type="STRING" size="256"/>
  1127. <Column id="updtdeptcd" type="STRING" size="256"/>
  1128. <Column id="prcpcd" type="STRING" size="256"/>
  1129. <Column id="hosinprcpresncd" type="STRING" size="256"/>
  1130. <Column id="prcpmixno" type="STRING" size="256"/>
  1131. <Column id="pid" type="STRING" size="256"/>
  1132. <Column id="indd" type="STRING" size="256"/>
  1133. <Column id="erprcpflag" type="STRING" size="256"/>
  1134. <Column id="prcpvol" type="STRING" size="256"/>
  1135. <Column id="asttestflag" type="STRING" size="256"/>
  1136. <Column id="prcpgenrflag" type="STRING" size="256"/>
  1137. <Column id="roomcd" type="STRING" size="256"/>
  1138. <Column id="prcpclscd" type="STRING" size="256"/>
  1139. <Column id="powdflag" type="STRING" size="256"/>
  1140. <Column id="payflagcd" type="STRING" size="256"/>
  1141. <Column id="prcpvolunitflag" type="STRING" size="256"/>
  1142. <Column id="opansflagcd" type="STRING" size="256"/>
  1143. <Column id="fstrgstdt" type="STRING" size="256"/>
  1144. <Column id="lastupdtrid" type="STRING" size="256"/>
  1145. <Column id="prcphopedd" type="STRING" size="256"/>
  1146. <Column id="prcpqtyunitnm" type="STRING" size="256"/>
  1147. <Column id="prcpqty" type="STRING" size="256"/>
  1148. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  1149. <Column id="rgstdt" type="STRING" size="256"/>
  1150. <Column id="prcpstatcd" type="STRING" size="256"/>
  1151. <Column id="suppdeptspec" type="STRING" size="256"/>
  1152. <Column id="testreqlnkno" type="STRING" size="256"/>
  1153. <Column id="portprcpflag" type="STRING" size="256"/>
  1154. <Column id="contprcpspec" type="STRING" size="256"/>
  1155. <Column id="selfdrugflag" type="STRING" size="256"/>
  1156. <Column id="prcpqtyunitflag" type="STRING" size="256"/>
  1157. <Column id="rgstdd" type="STRING" size="256"/>
  1158. <Column id="lastupdtdt" type="STRING" size="256"/>
  1159. <Column id="mealcalrcnts" type="STRING" size="256"/>
  1160. <Column id="etclnkspec" type="STRING" size="256"/>
  1161. <Column id="srchcondcnts" type="STRING" size="256"/>
  1162. <Column id="rgsttm" type="STRING" size="256"/>
  1163. <Column id="angioflagcd" type="STRING" size="256"/>
  1164. <Column id="prcptims" type="STRING" size="256"/>
  1165. <Column id="ansttm" type="STRING" size="256"/>
  1166. <Column id="rgstdeptcd" type="STRING" size="256"/>
  1167. <Column id="prtlno" type="STRING" size="256"/>
  1168. <Column id="matrsetprcpspec" type="STRING" size="256"/>
  1169. <Column id="calcscormastspec" type="STRING" size="256"/>
  1170. <Column id="fastprcpflag" type="STRING" size="256"/>
  1171. <Column id="drugrateqty" type="STRING" size="256"/>
  1172. <Column id="issdeptcd" type="STRING" size="256"/>
  1173. <Column id="updtdd" type="STRING" size="256"/>
  1174. <Column id="tempstat" type="STRING" size="256"/>
  1175. <Column id="instcd" type="STRING" size="256"/>
  1176. <Column id="selfprcpflag" type="STRING" size="256"/>
  1177. <Column id="updttm" type="STRING" size="256"/>
  1178. <Column id="precureprcpflag" type="STRING" size="256"/>
  1179. <Column id="orddd" type="STRING" size="256"/>
  1180. <Column id="hosinhosoutflag" type="STRING" size="256"/>
  1181. <Column id="prcplnkno" type="STRING" size="256"/>
  1182. <Column id="tnsuseflag" type="STRING" size="256"/>
  1183. <Column id="mealupdtflag" type="STRING" size="256"/>
  1184. <Column id="offictourhealexamflag" type="STRING" size="256"/>
  1185. <Column id="prcphistno" type="STRING" size="256"/>
  1186. <Column id="tootfact" type="STRING" size="256"/>
  1187. <Column id="rateprcpspec" type="STRING" size="256"/>
  1188. <Column id="prepprcpflag" type="STRING" size="256"/>
  1189. <Column id="prcpdelivefact" type="STRING" size="256"/>
  1190. <Column id="drugspd" type="STRING" size="256"/>
  1191. <Column id="orgprcpqty" type="STRING" size="256"/>
  1192. <Column id="prcpauthflag" type="STRING" size="256"/>
  1193. <Column id="cpno" type="STRING" size="256"/>
  1194. <Column id="anticncrprtlno" type="STRING" size="256"/>
  1195. <Column id="orddeptcd" type="STRING" size="256"/>
  1196. <Column id="orddrid" type="STRING" size="256"/>
  1197. <Column id="oldprcphistno" type="STRING" size="256"/>
  1198. <Column id="hscttempprcpflag" type="STRING" size="256"/>
  1199. <Column id="inclprcpcd" type="STRING" size="256"/>
  1200. <Column id="inclprcpno" type="STRING" size="256"/>
  1201. <Column id="calcflag" type="STRING" size="256"/>
  1202. <Column id="calcyn" type="STRING" size="256"/>
  1203. <Column id="hsctdelivepos" type="STRING" size="256"/>
  1204. <Column id="hsctlnkno" type="STRING" size="256"/>
  1205. <Column id="etcprcpflag" type="STRING" size="256"/>
  1206. <Column id="aftcertflag" type="STRING" size="256"/>
  1207. <Column id="aftcertdrid" type="STRING" size="256"/>
  1208. <Column id="prcpvalidd" type="STRING" size="256"/>
  1209. <Column id="spynpy1" type="STRING" size="256"/>
  1210. <Column id="specdrid" type="STRING" size="256"/>
  1211. <Column id="anticncrprtlno" type="STRING" size="256"/>
  1212. <Column id="anticncrdayno" type="STRING" size="256"/>
  1213. <Column id="druglnkno" type="STRING" size="256"/>
  1214. <Column id="rehbprcpcurefreqflag" type="STRING" size="256"/>
  1215. <Column id="dietprcpgenrflag" type="STRING" size="256"/>
  1216. <Column id="irpayflag" type="STRING" size="256"/>
  1217. <Column id="irflag" type="STRING" size="256"/>
  1218. <Column id="procerdietflag" type="STRING" size="256"/>
  1219. <Column id="diagtestconttestintvlflag" type="STRING" size="256"/>
  1220. <Column id="drugindependpackflag" type="STRING" size="256"/>
  1221. <Column id="diagtestconttestbasetm" type="STRING" size="256"/>
  1222. <Column id="diagtestconttestorgtims" type="STRING" size="256"/>
  1223. <Column id="ermediscmngtresncd" type="STRING" size="256"/>
  1224. <Column id="rehbprcpenddd" type="STRING" size="256"/>
  1225. <Column id="matrallsizespecid" type="STRING" size="256"/>
  1226. <Column id="rehbprcpcurepartcd" type="STRING" size="256"/>
  1227. <Column id="lowdrugresncd" type="STRING" size="256"/>
  1228. <Column id="tfdtlcd" type="STRING" size="256"/>
  1229. <Column id="dnorreqlnkno" type="STRING" size="256"/>
  1230. <Column id="subcretno" type="STRING" size="256"/>
  1231. <Column id="exptmthdfact" type="STRING" size="256"/>
  1232. <Column id="lowdrugresnetcfact" type="STRING" size="256"/>
  1233. <Column id="diagtestconttestcdspec" type="STRING" size="256"/>
  1234. <Column id="drprcpetc1" type="STRING" size="256"/>
  1235. <Column id="drprcpetc2" type="STRING" size="256"/>
  1236. <Column id="drprcpetc3" type="STRING" size="256"/>
  1237. <Column id="drprcpetc4" type="STRING" size="256"/>
  1238. <Column id="drprcpetc5" type="STRING" size="256"/>
  1239. <Column id="drprcpetc6" type="STRING" size="256"/>
  1240. <Column id="drprcpetc7" type="STRING" size="256"/>
  1241. <Column id="drprcpetc8" type="STRING" size="256"/>
  1242. <Column id="drprcpetc9" type="STRING" size="256"/>
  1243. <Column id="drprcpetc10" type="STRING" size="256"/>
  1244. <Column id="prcptempcol1" type="STRING" size="256"/>
  1245. <Column id="prcptempcol2" type="STRING" size="256"/>
  1246. <Column id="prcptempcol3" type="STRING" size="256"/>
  1247. <Column id="prcptempcol4" type="STRING" size="256"/>
  1248. <Column id="prcptempcol5" type="STRING" size="256"/>
  1249. <Column id="oldprcphistcd" type="STRING" size="256"/>
  1250. </ColumnInfo>
  1251. <Rows>
  1252. <Row>
  1253. <Col id="selfholdflag"/>
  1254. <Col id="selfholdstat"/>
  1255. <Col id="selfholdgenrdd"/>
  1256. <Col id="anamneflag"/>
  1257. <Col id="drugspdunitflag"/>
  1258. <Col id="clincstdyflag"/>
  1259. <Col id="cvrtbfprcpgenrflag"/>
  1260. <Col id="trnptbftestflag"/>
  1261. <Col id="rgstridnm"/>
  1262. <Col id="etcprcpresncd"/>
  1263. <Col id="rgstrid"/>
  1264. <Col id="prcpno"/>
  1265. <Col id="fixprcpflag"/>
  1266. <Col id="prcpnm"/>
  1267. <Col id="choiordflag"/>
  1268. <Col id="optermcd"/>
  1269. <Col id="oprsrvno"/>
  1270. <Col id="prcppkspec"/>
  1271. <Col id="drugmthdspccd"/>
  1272. <Col id="wardcd"/>
  1273. <Col id="prcpflag"/>
  1274. <Col id="prcplnkdd"/>
  1275. <Col id="cvrtbfcretno"/>
  1276. <Col id="mealprotcnts"/>
  1277. <Col id="pampkspec"/>
  1278. <Col id="orgprcpnm"/>
  1279. <Col id="fstrgstrid"/>
  1280. <Col id="drugmastspec"/>
  1281. <Col id="prcpdayno"/>
  1282. <Col id="prcpessninptflag"/>
  1283. <Col id="cvrtbforddd"/>
  1284. <Col id="prcpdirecflag"/>
  1285. <Col id="prcpvolunitnm"/>
  1286. <Col id="updtrid"/>
  1287. <Col id="prnprcpflag"/>
  1288. <Col id="prcpinptflag"/>
  1289. <Col id="nigtprcpflag"/>
  1290. <Col id="rateprcpflag"/>
  1291. <Col id="prcpsetcd"/>
  1292. <Col id="prcphistcd"/>
  1293. <Col id="grupsnglflag"/>
  1294. <Col id="tnsfiltflag"/>
  1295. <Col id="prcpdd"/>
  1296. <Col id="erreadflag"/>
  1297. <Col id="tempprcpflag"/>
  1298. <Col id="ordreqlnkno"/>
  1299. <Col id="clincstdycd"/>
  1300. <Col id="drugpackflag"/>
  1301. <Col id="prcpkindcd"/>
  1302. <Col id="drugmthdspccdnm"/>
  1303. <Col id="cretno"/>
  1304. <Col id="prcprefseq"/>
  1305. <Col id="prcpsignflag"/>
  1306. <Col id="stemcellflag"/>
  1307. <Col id="updtdeptcd"/>
  1308. <Col id="prcpcd"/>
  1309. <Col id="hosinprcpresncd"/>
  1310. <Col id="prcpmixno"/>
  1311. <Col id="pid"/>
  1312. <Col id="indd"/>
  1313. <Col id="erprcpflag"/>
  1314. <Col id="prcpvol"/>
  1315. <Col id="asttestflag"/>
  1316. <Col id="prcpgenrflag"/>
  1317. <Col id="roomcd"/>
  1318. <Col id="prcpclscd"/>
  1319. <Col id="powdflag"/>
  1320. <Col id="payflagcd"/>
  1321. <Col id="prcpvolunitflag"/>
  1322. <Col id="opansflagcd"/>
  1323. <Col id="fstrgstdt"/>
  1324. <Col id="lastupdtrid"/>
  1325. <Col id="prcphopedd"/>
  1326. <Col id="prcpqtyunitnm"/>
  1327. <Col id="prcpqty"/>
  1328. <Col id="prcpexecdeptcd"/>
  1329. <Col id="rgstdt"/>
  1330. <Col id="prcpstatcd"/>
  1331. <Col id="suppdeptspec"/>
  1332. <Col id="testreqlnkno"/>
  1333. <Col id="portprcpflag"/>
  1334. <Col id="contprcpspec"/>
  1335. <Col id="selfdrugflag"/>
  1336. <Col id="prcpqtyunitflag"/>
  1337. <Col id="rgstdd"/>
  1338. <Col id="lastupdtdt"/>
  1339. <Col id="mealcalrcnts"/>
  1340. <Col id="etclnkspec"/>
  1341. <Col id="srchcondcnts"/>
  1342. <Col id="rgsttm"/>
  1343. <Col id="angioflagcd"/>
  1344. <Col id="prcptims"/>
  1345. <Col id="ansttm"/>
  1346. <Col id="rgstdeptcd"/>
  1347. <Col id="prtlno"/>
  1348. <Col id="matrsetprcpspec"/>
  1349. <Col id="calcscormastspec"/>
  1350. <Col id="fastprcpflag"/>
  1351. <Col id="drugrateqty"/>
  1352. <Col id="issdeptcd"/>
  1353. <Col id="updtdd"/>
  1354. <Col id="tempstat"/>
  1355. <Col id="instcd"/>
  1356. <Col id="selfprcpflag"/>
  1357. <Col id="updttm"/>
  1358. <Col id="precureprcpflag"/>
  1359. <Col id="orddd"/>
  1360. <Col id="hosinhosoutflag"/>
  1361. <Col id="prcplnkno"/>
  1362. <Col id="tnsuseflag"/>
  1363. <Col id="mealupdtflag"/>
  1364. <Col id="offictourhealexamflag"/>
  1365. <Col id="prcphistno"/>
  1366. <Col id="tootfact"/>
  1367. <Col id="rateprcpspec"/>
  1368. <Col id="prepprcpflag"/>
  1369. <Col id="prcpdelivefact"/>
  1370. <Col id="drugspd"/>
  1371. <Col id="orgprcpqty"/>
  1372. <Col id="prcpauthflag"/>
  1373. <Col id="cpno"/>
  1374. <Col id="anticncrprtlno"/>
  1375. <Col id="orddeptcd"/>
  1376. <Col id="orddrid"/>
  1377. <Col id="oldprcphistno"/>
  1378. <Col id="hscttempprcpflag"/>
  1379. <Col id="inclprcpcd"/>
  1380. <Col id="inclprcpno"/>
  1381. <Col id="calcflag"/>
  1382. <Col id="calcyn"/>
  1383. <Col id="hsctdelivepos"/>
  1384. <Col id="hsctlnkno"/>
  1385. <Col id="etcprcpflag"/>
  1386. <Col id="aftcertflag"/>
  1387. <Col id="aftcertdrid"/>
  1388. <Col id="prcpvalidd"/>
  1389. <Col id="spynpy1"/>
  1390. <Col id="specdrid"/>
  1391. <Col id="anticncrprtlno"/>
  1392. <Col id="anticncrdayno"/>
  1393. <Col id="druglnkno"/>
  1394. <Col id="rehbprcpcurefreqflag"/>
  1395. <Col id="dietprcpgenrflag"/>
  1396. <Col id="irpayflag"/>
  1397. <Col id="irflag"/>
  1398. <Col id="procerdietflag"/>
  1399. <Col id="diagtestconttestintvlflag"/>
  1400. <Col id="drugindependpackflag"/>
  1401. <Col id="diagtestconttestbasetm"/>
  1402. <Col id="diagtestconttestorgtims"/>
  1403. <Col id="ermediscmngtresncd"/>
  1404. <Col id="rehbprcpenddd"/>
  1405. <Col id="matrallsizespecid"/>
  1406. <Col id="rehbprcpcurepartcd"/>
  1407. <Col id="lowdrugresncd"/>
  1408. <Col id="tfdtlcd"/>
  1409. <Col id="dnorreqlnkno"/>
  1410. <Col id="subcretno"/>
  1411. <Col id="exptmthdfact"/>
  1412. <Col id="lowdrugresnetcfact"/>
  1413. <Col id="diagtestconttestcdspec"/>
  1414. <Col id="drprcpetc1"/>
  1415. <Col id="drprcpetc2"/>
  1416. <Col id="drprcpetc3"/>
  1417. <Col id="drprcpetc4"/>
  1418. <Col id="drprcpetc5"/>
  1419. <Col id="drprcpetc6"/>
  1420. <Col id="drprcpetc7"/>
  1421. <Col id="drprcpetc8"/>
  1422. <Col id="drprcpetc9"/>
  1423. <Col id="drprcpetc10"/>
  1424. <Col id="prcptempcol1"/>
  1425. <Col id="prcptempcol2"/>
  1426. <Col id="prcptempcol3"/>
  1427. <Col id="prcptempcol4"/>
  1428. <Col id="prcptempcol5"/>
  1429. <Col id="oldprcphistcd"/>
  1430. </Row>
  1431. </Rows>
  1432. </Dataset>
  1433. <Dataset id="ds_temp_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1434. <Dataset id="ds_temp_popupdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1435. <ColumnInfo>
  1436. <Column id="repltype" type="STRING" size="256"/>
  1437. <Column id="writid" type="STRING" size="256"/>
  1438. <Column id="writnm" type="STRING" size="256"/>
  1439. <Column id="receivedata" type="STRING" size="256"/>
  1440. <Column id="receivecolumn" type="STRING" size="256"/>
  1441. </ColumnInfo>
  1442. <Rows>
  1443. <Row>
  1444. <Col id="repltype"/>
  1445. <Col id="writid"/>
  1446. <Col id="writnm"/>
  1447. <Col id="receivedata">ds_main_cnst_cnstinfo</Col>
  1448. <Col id="receivecolumn">replid</Col>
  1449. </Row>
  1450. </Rows>
  1451. </Dataset>
  1452. <Dataset id="ds_temp_ret" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1453. <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1454. <Dataset id="ds_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1455. <ColumnInfo>
  1456. <Column id="label" type="STRING" size="256"/>
  1457. <Column id="func" type="STRING" size="256"/>
  1458. </ColumnInfo>
  1459. <Rows>
  1460. <Row>
  1461. <Col id="label">복사하기 Ctrl+C</Col>
  1462. <Col id="func">fRowCopy</Col>
  1463. </Row>
  1464. <Row>
  1465. <Col id="label">붙여넣기 Ctrl+V</Col>
  1466. <Col id="func">fPaste</Col>
  1467. </Row>
  1468. <Row>
  1469. <Col id="label">지우기</Col>
  1470. <Col id="func">fdel</Col>
  1471. </Row>
  1472. <Row>
  1473. <Col id="label"/>
  1474. <Col id="func"/>
  1475. </Row>
  1476. <Row>
  1477. <Col id="label">사진파일 불러오기</Col>
  1478. <Col id="func">floadimg</Col>
  1479. </Row>
  1480. </Rows>
  1481. </Dataset>
  1482. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1483. <ColumnInfo>
  1484. <Column id="drugphot" type="STRING" size="256"/>
  1485. </ColumnInfo>
  1486. <Rows>
  1487. <Row/>
  1488. </Rows>
  1489. </Dataset>
  1490. </Objects>
  1491. <Bind>
  1492. <BindItem id="item0" compid="group3.group4.output11" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="pid"/>
  1493. <BindItem id="item1" compid="group3.group4.output12" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="hngnm"/>
  1494. <BindItem id="item2" compid="group3.group4.output13" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="sna"/>
  1495. <BindItem id="item3" compid="group3.group4.output17" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="roomcd"/>
  1496. <BindItem id="item4" compid="group3.group4.opt_rrgstno" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="rrgstno"/>
  1497. <BindItem id="item5" compid="group3.group4.output14" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="cnstdeptcd"/>
  1498. <BindItem id="item6" compid="group3.group4.output15" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="orddd"/>
  1499. <BindItem id="item7" compid="group3.input12" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="prcphosp"/>
  1500. <BindItem id="item8" compid="group3.input16" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="prcppharm"/>
  1501. <BindItem id="item9" compid="group3.input10" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="prcphosptel"/>
  1502. <BindItem id="item10" compid="group3.input15" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="prcppharmtel"/>
  1503. <BindItem id="item11" compid="group3.output16" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="cnstdd"/>
  1504. <BindItem id="item12" compid="group3.output19" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="cnstdeptnm"/>
  1505. <BindItem id="item13" compid="group3.output20" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="cnstdrnm"/>
  1506. <BindItem id="item14" compid="group3.input19" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="drugresn"/>
  1507. <BindItem id="item16" compid="group3.input4" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="remark"/>
  1508. <BindItem id="item18" compid="group3.opt_cnsttm" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="cnsttm"/>
  1509. <BindItem id="item19" compid="group3.input5" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="writnm"/>
  1510. <BindItem id="item20" compid="group3.input6" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="replnm"/>
  1511. <BindItem id="item21" compid="group3.output18" propid="value" datasetid="ds_hidden" columnid="repldt"/>
  1512. <BindItem id="item22" compid="group3.input18" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="replimpsi"/>
  1513. <BindItem id="item15" compid="group3.input17" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="replestm"/>
  1514. <BindItem id="item17" compid="group3.radio2" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="drugrtn"/>
  1515. <BindItem id="item23" compid="group3.img_drugphot" propid="image" datasetid="ds_temp" columnid="drugphot"/>
  1516. </Bind>
  1517. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1518. * System Name :
  1519. * Job Name :
  1520. * Creator :
  1521. * Make Date : 2015-08-20
  1522. * Description :
  1523. *---------------------------------------------------------------------------------------
  1524. * Modify Date Modifier Modify Description
  1525. *---------------------------------------------------------------------------------------
  1526. * 2015-08-20 Live Converter TF->XP
  1527. *
  1528. *---------------------------------------------------------------------------------------
  1529. ****************************************************************************************/
  1530. //=======================================================================================
  1531. // Lib Include
  1532. //---------------------------------------------------------------------------------------
  1533. include "com_commonxp::comm_main.xjs"
  1534. include "ast_pharmacyxp::SMADC01600.xjs"
  1535. //=======================================================================================
  1536. // Global Form Variable
  1537. //---------------------------------------------------------------------------------------
  1538. var pasteType = ""; // 붙여넣기 구분
  1539. var arErrorCode = new HashArray();
  1540. //=======================================================================================
  1541. // Function
  1542. //---------------------------------------------------------------------------------------
  1543. /****************************************************************************************
  1544. * Argument : N/A
  1545. * Description : 복사하기
  1546. ****************************************************************************************/
  1547. function fRowCopy(){
  1548. //grd_drugid.dispatch("oncopy");
  1549. astgrid_oncopy();
  1550. }
  1551. /****************************************************************************************
  1552. * Argument : N/A
  1553. * Description : 붙여넣기
  1554. ****************************************************************************************/
  1555. function fPaste(){
  1556. //grd_drugid.dispatch("onpaste");
  1557. astgrid_onpaste();
  1558. }
  1559. /****************************************************************************************
  1560. * Argument : N/A
  1561. * Description : 지우기
  1562. ****************************************************************************************/
  1563. function fdel(){
  1564. fgrid_clear();
  1565. }
  1566. /****************************************************************************************
  1567. * Argument : N/A
  1568. * Description : 이미지 붙여넣기
  1569. ****************************************************************************************/
  1570. function fPasteimg(){
  1571. //pasteType="img";
  1572. //grd_drugid.dispatch("onpaste");
  1573. }
  1574. function fn_rdoEvent(value)
  1575. {
  1576. ds_main_cnst_cnstinfo.setColumn(0,"drugrtn",value);
  1577. }
  1578. //=======================================================================================
  1579. // Event
  1580. //---------------------------------------------------------------------------------------
  1581. /****************************************************************************************
  1582. * Components : Form
  1583. * Components ID : SMADC01600
  1584. * Event : oninit
  1585. * Argument : 01.obj : Object Event has occurred
  1586. * : 02.e : Event Object
  1587. * Description : 화면 처음 초기화시 폼초기화
  1588. ****************************************************************************************/
  1589. function SMADC01600_oninit(obj:Form, e:InitEventInfo)
  1590. {
  1591. frmf_initForm(obj); // 폼 초기화
  1592. }
  1593. /****************************************************************************************
  1594. * Components : Form
  1595. * Components ID : SMADC01600
  1596. * Event : onload
  1597. * Argument : 01.obj : Object Event has occurred
  1598. * : 02.e : Event Object
  1599. * Description : 화면 처음 초기화시 폼초기화
  1600. ****************************************************************************************/
  1601. function SMADC01600_onload(obj:Form, e:LoadEventInfo)
  1602. {
  1603. //group3.radio2.setInitComp("col=2,row=1",ds_init_radio2,"cdid","cdnm","fn_rdoEvent");
  1604. try{
  1605. ds_temp_cnstinfo.copyData(arg_ds_temp_cnstinfo);
  1606. }catch(e){}
  1607. //2008-12-01 버튼권한
  1608. group2.btn_save.enable != !frmf_checkAuth("X") ; //저장
  1609. group2.btn_repl.enable != !frmf_checkAuth("X") ; //회신
  1610. group2.btn_del.enable != !frmf_checkAuth("X") ; //삭제
  1611. group2.btn_can.visible = false; //회신취소 20120822 김치국 회신취소를 위한 방법
  1612. group3.grd_drugid.setBandProperty("head","size",40);
  1613. // group3.grd_drugid.setFormatRowProperty(-1,"size",40);
  1614. // 진료화면에서 팝업시 cnstinfo/cnsttype의 내용은 존재하지 않음
  1615. // 의뢰화면에서 팝업 로딩시 cnsttype = "ast"
  1616. if(ds_temp_cnstinfo.getColumn(0,"cnsttype") != "ast"){
  1617. var pid = ds_temp_cnstinfo.getColumn(0,"pid");
  1618. var formrecseq = ds_temp_cnstinfo.getColumn(0,"formrecseq");
  1619. if(utlf_isNull(formrecseq)) {
  1620. ds_main_cnst_drugidlist.clearData();
  1621. return; // 약국메뉴에서 직접 로딩시
  1622. }
  1623. // consult 에서 로딩시 버튼 숨기기
  1624. group2.btn_save.visible = false;
  1625. group2.btn_repl.visible = false;
  1626. group2.btn_del.visible = false;
  1627. group3.btn_srch.visible = false;
  1628. group3.btn_grdadd.visible = false;
  1629. group3.btn_grddel.visible = false;
  1630. ds_send_srchinfo.setColumn(0,"formrecseq",formrecseq);
  1631. ds_send_srchinfo.setColumn(0,"pid",pid);
  1632. // emr에서 회신내용 확인시 회신확정으로 변경 (TXADC66201)
  1633. var oParam = {};
  1634. oParam.id = "TXADC66201";
  1635. oParam.service = "pharmacyconsultapp.ReqMngt";
  1636. oParam.method = "reqExeReplCnstStat";
  1637. oParam.inds = "req=ds_send_srchinfo";
  1638. oParam.outds = "ds_hidden_cnststatinfo=cnststatinfo";
  1639. oParam.async = false;
  1640. oParam.callback = "cf_TXADC66201";
  1641. tranf_submit(oParam);
  1642. if(arErrorCode.pop("TXADC66201") > -1){
  1643. var oParam = {};
  1644. oParam.id = "TRADC01602";
  1645. oParam.service = "pharmacyconsultapp.DrugId";
  1646. oParam.method = "reqGetDrugIdCnstInfo";
  1647. oParam.inds = "req=ds_send_srchinfo";
  1648. oParam.outds = "ds_temp_cnstinfo=cnstinfo";
  1649. oParam.async = false;
  1650. //oParam.callback = "cf_TRADC01602";
  1651. tranf_submit(oParam);
  1652. }
  1653. }
  1654. var formrecseq = ds_temp_cnstinfo.getColumn(0,"formrecseq");
  1655. var pid = ds_temp_cnstinfo.getColumn(0,"pid");
  1656. var cretno = ds_temp_cnstinfo.getColumn(0,"cretno");
  1657. var orddd = ds_temp_cnstinfo.getColumn(0,"orddd");
  1658. var prcpgenrflag = ds_temp_cnstinfo.getColumn(0,"prcpgenrflag");
  1659. var rgstseqno = ds_temp_cnstinfo.getColumn(0,"rgstseqno");
  1660. var cnstdd = ds_temp_cnstinfo.getColumn(0,"cnstdd");
  1661. if ( !utlf_isNull(pid) ) {
  1662. ds_send_srchinfo.setColumn(0,"formrecseq" , formrecseq);
  1663. ds_send_srchinfo.setColumn(0,"pid" , pid);
  1664. ds_send_srchinfo.setColumn(0,"cretno" , cretno);
  1665. ds_send_srchinfo.setColumn(0,"orddd" , orddd);
  1666. ds_send_srchinfo.setColumn(0,"prcpgenrflag" , prcpgenrflag);
  1667. ds_send_srchinfo.setColumn(0,"rgstseqno" , rgstseqno);
  1668. ds_send_srchinfo.setColumn(0,"cnstdd" , cnstdd);
  1669. var oParam = {};
  1670. oParam.id = "TRADC01601";
  1671. oParam.service = "pharmacyconsultapp.DrugId";
  1672. oParam.method = "reqGetDrugIdCnst";
  1673. oParam.inds = "req=ds_send_srchinfo";
  1674. oParam.outds = "ds_main_cnst_patinfolist=patinfolist ds_main_cnst_diaglist=diaglist ds_main_cnst_cnstinfo=cnstinfo ds_main_cnst_cnstinfo2=cnstinfo2 ds_main_cnst_drugidlist=drugidlist";
  1675. oParam.async = false;
  1676. oParam.callback = "cf_TRADC01601";
  1677. tranf_submit(oParam);
  1678. if (arErrorCode.pop("TRADC01601") < 0) {
  1679. ds_main_cnst_patinfolist.clearData();
  1680. ds_main_cnst_diaglist.clearData();
  1681. ds_main_cnst_cnstinfo.clearData();
  1682. ds_main_cnst_cnstinfo.addRow();
  1683. ds_main_cnst_cnstinfo2.clearData();
  1684. ds_main_cnst_cnstinfo2.addRow();
  1685. ds_main_cnst_drugidlist.clearData();
  1686. }else{
  1687. //group3.radio2.setData(ds_main_cnst_cnstinfo.getColumn(0,"drugrtn"));
  1688. var cnt = 0;
  1689. var phot2 = "";
  1690. var imgobj = new Image();
  1691. for(var i = 0; i < ds_main_cnst_drugidlist.rowcount; i++) {
  1692. kimsyn = ds_main_cnst_drugidlist.getColumn(i, "kimsyn");
  1693. phot2 = ds_main_cnst_drugidlist.getColumn(i, "phot2");
  1694. imgobj.loadImage(phot2);
  1695. if(imgobj.height <= 0) {
  1696. ds_main_cnst_drugidlist.setColumn(i, "phot2", "");
  1697. }
  1698. if(kimsyn=="N") {
  1699. cnt++;
  1700. }
  1701. }
  1702. if(cnt == 0) {
  1703. group3.grd_drugid.setFormatColProperty(3, "size", 0);
  1704. }
  1705. var rowcnt = 0;
  1706. rowcnt = rowcnt + 1 ;
  1707. //회신일시 설정 (회신일자 + 회신시간)
  1708. var repldd = utlf_transNullToEmpty(ds_main_cnst_cnstinfo.getColumn(0,"repldd"));
  1709. var repltm = utlf_transNullToEmpty(ds_main_cnst_cnstinfo.getColumn(0,"repltm"));
  1710. var repldt = repldd+repltm;
  1711. ds_hidden.setColumn(0,"repldt",utlf_isNull(repldd+repltm)?null:repldd+repltm);
  1712. // if(model.getValue("/root/main/cnst/drugidlist["+1+"]/idseqno") == ""){
  1713. if(utlf_isNull(ds_main_cnst_drugidlist.getColumn(0,"idseqno"))){
  1714. ds_main_cnst_drugidlist.clearData();
  1715. }else{
  1716. ds_main_cnst_drugidlist.updatecontrol = false;
  1717. fImgSetting(true);
  1718. ds_main_cnst_drugidlist.updatecontrol = true;
  1719. }
  1720. // 저장된 약반송 여부가 없으면 의뢰시 지정한 약반송 여부 표시
  1721. if(utlf_isNull(ds_main_cnst_cnstinfo.getColumn(0,"drugrtn"))){
  1722. ds_main_cnst_cnstinfo.setColumn(0,"drugrtn", ds_main_cnst_cnstinfo2.getColumn(0,"drugrtn"));
  1723. }
  1724. // 기존 작성자가 존재하지 않으면 현재 사용자의 아이디값으로 설정
  1725. if(utlf_isNull(ds_main_cnst_cnstinfo.getColumn(0,"writnm"))) {
  1726. ds_main_cnst_cnstinfo.setColumn(0,"writid", sysf_getUserId());
  1727. ds_main_cnst_cnstinfo.setColumn(0,"writnm", sysf_getUserName());
  1728. }
  1729. }
  1730. /////2012.9.11 김치국 SEQ부여하기
  1731. ds_main_cnst_drugidlist.updatecontrol = false;
  1732. ds_main_cnst_drugidlist.addColumn("rowcnt","string");
  1733. for( var i = 0 ; i < ds_main_cnst_drugidlist.rowcount ; i++ ) {
  1734. ds_main_cnst_drugidlist.setColumn(i,"rowcnt", i);
  1735. }
  1736. ds_main_cnst_drugidlist.updatecontrol = true;
  1737. if (ds_main_cnst_cnstinfo.getColumn(0,"statflag") == "Z"){
  1738. sysf_messageBox("회신처리된 의뢰 건","I009");
  1739. }
  1740. /*
  1741. var cnt = 0;
  1742. for(var i = 0; i < ds_main_cnst_drugidlist.rowcount; i++) {
  1743. kimsyn = ds_main_cnst_drugidlist.getColumn(i, "kimsyn");
  1744. if(kimsyn=="N") {
  1745. cnt++;
  1746. }
  1747. }
  1748. if(cnt == 0) {
  1749. group3.grd_drugid.setFormatColProperty(3, "size", 0);
  1750. }
  1751. */
  1752. fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리
  1753. }else{
  1754. ds_main_cnst_drugidlist.clearData();
  1755. }
  1756. if(ds_temp_cnstinfo.getColumn(0,"pidchkflag") == "Y") {
  1757. // 20100119_laboru_약사 이외의 사용자인 경우
  1758. group2.btn_save.enable = false;
  1759. group2.btn_repl.enable = false;
  1760. group2.btn_del.enable = false;
  1761. }
  1762. //회신취소 20120822 김치국 회신취소를 위한 방법 약무정보파트 부서는 모두 보여줌 , 칠곡 약제부, ast아이디 보이게 수정 2014.10.6 김치국
  1763. if ( sysf_getUserInfo("dutunitcd") == "3242406000" || sysf_getUserInfo("dutunitcd") == "3242400000" || sysf_getUserInfo("dutunitcd") == "3242800000" || sysf_getUserInfo("dutunitcd") == "1000000000" ) {
  1764. group2.btn_can.visible = true;
  1765. }
  1766. grdf_setRowTypeIcon(group3.grd_drugid, 0);
  1767. frmf_createPopupMenu("pmn_menu"
  1768. ,"pmn_menu_onmenuclick"
  1769. ,[{id: "fRowCopy" , level: "0", title: "복사하기 Ctrl+C"}
  1770. ,{id: "fPaste" , level: "0", title: "붙여넣기 Ctrl+V"}
  1771. ,{id: "fdel" , level: "0", title: "지우기"}
  1772. ,{id: "" , level: "0", title: ""}
  1773. ,{id: "floadimg" , level: "0", title: "사진파일 불러오기"}
  1774. ]
  1775. );
  1776. }
  1777. function cf_TXADC66201(sSvcId, nErrorCode, sErrorMsg) {
  1778. arErrorCode.push(sSvcId, nErrorCode);
  1779. }
  1780. function cf_TRADC01601(sSvcId, nErrorCode, sErrorMsg) {
  1781. arErrorCode.push(sSvcId, nErrorCode);
  1782. if(ds_main_cnst_cnstinfo.rowcount == 0) ds_main_cnst_cnstinfo.addRow();
  1783. if(ds_main_cnst_cnstinfo2.rowcount == 0) ds_main_cnst_cnstinfo2.addRow();
  1784. ds_main_cnst_drugidlist.updateColID("photid","photoid");
  1785. ds_main_cnst_drugidlist.rowposition = -1;
  1786. }
  1787. //ds에 생성된 id별 함수 실행
  1788. function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1789. {
  1790. eval(e.id + "()");
  1791. }
  1792. /****************************************************************************************
  1793. * Components : Edit
  1794. * Components ID : group3.group4.output11
  1795. * Event : onkeydown
  1796. * Argument : 01.obj : Object Event has occurred
  1797. * : 02.e : Event Object
  1798. * Description : 등록번호 입려후 엔터로 조회
  1799. ****************************************************************************************/
  1800. function group3_group4_output11_onkeydown(obj:Edit, e:KeyEventInfo)
  1801. {
  1802. if(e.keycode == 13) {
  1803. ds_send_srchinfo.clearData();
  1804. ds_send_srchinfo.addRow();
  1805. group2_btn_sea_onclick();
  1806. }
  1807. }
  1808. /****************************************************************************************
  1809. * Components : Button
  1810. * Components ID : group2.btn_sea
  1811. * Event : onclick
  1812. * Argument : 01.obj : Object Event has occurred
  1813. * : 02.e : Event Object
  1814. * Description : 환자정보 조회
  1815. ****************************************************************************************/
  1816. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  1817. {
  1818. fRefDrugidCnst();
  1819. }
  1820. /****************************************************************************************
  1821. * Components : Button
  1822. * Components ID : group2.button2
  1823. * Event : onclick
  1824. * Argument : 01.obj : Object Event has occurred
  1825. * : 02.e : Event Object
  1826. * Description : 통합결과조회 팝업 오픈
  1827. ****************************************************************************************/
  1828. function group2_button2_onclick(obj:Button, e:ClickEventInfo)
  1829. {
  1830. var objArg = new Object();
  1831. dsf_createDsRow("ds_temp_srchinfo",[{col:"srchpid", val:ds_send_srchinfo.getColumn(0,"pid")}]);
  1832. objArg.arg_ds_send_singdata = ds_temp_srchinfo;
  1833. frmf_open("SMAER00800", "SMAER00800", objArg, null, null, null, null, null, null, null, null, null, "M");
  1834. }
  1835. /****************************************************************************************
  1836. * Components : Button
  1837. * Components ID : group2.button3
  1838. * Event : onclick
  1839. * Argument : 01.obj : Object Event has occurred
  1840. * : 02.e : Event Object
  1841. * Description : 통합기록조회 팝업 오픈
  1842. ****************************************************************************************/
  1843. function group2_button3_onclick(obj:Button, e:ClickEventInfo)
  1844. {
  1845. frmf_setParameter("SMMRI00400_param_pid", ds_send_srchinfo.getColumn(0,"pid"));
  1846. // open("SMMRI00400");
  1847. frmf_open("SMMRI00400", "SMMRI00400", null, null, null, null, null, null, null, null, null, null, "M");
  1848. }
  1849. /****************************************************************************************
  1850. * Components : Button
  1851. * Components ID : group2.button4
  1852. * Event : onclick
  1853. * Argument : 01.obj : Object Event has occurred
  1854. * : 02.e : Event Object
  1855. * Description : 약력조회 팝업 오픈
  1856. ****************************************************************************************/
  1857. function group2_button4_onclick(obj:Button, e:ClickEventInfo)
  1858. {
  1859. var objArg = new Object();
  1860. //dsf_createDsRow("ds_temp_srchinfo",[{col:"srchpid", val:ds_send_srchinfo.getColumn(0,"pid")}]);
  1861. objArg.arg_ds_temp_patinfo = ds_send_srchinfo;
  1862. frmf_open("SMADB10100", "SMADB10100", objArg, null, 0, 0, 0, null, null, null, null, null, "M");
  1863. }
  1864. /****************************************************************************************
  1865. * Components : Button
  1866. * Components ID : group2.button5
  1867. * Event : onclick
  1868. * Argument : 01.obj : Object Event has occurred
  1869. * : 02.e : Event Object
  1870. * Description : 약품편람 팝업 오픈
  1871. ****************************************************************************************/
  1872. function group2_button5_onclick(obj:Button, e:ClickEventInfo)
  1873. {
  1874. frmf_open("SMADB01900", "SMADB01900", null, null, 0, 0, 0, null, null, null, null, null, "M");
  1875. }
  1876. /****************************************************************************************
  1877. * Components : Button
  1878. * Components ID : group2.btn_prt
  1879. * Event : onclick
  1880. * Argument : 01.obj : Object Event has occurred
  1881. * : 02.e : Event Object
  1882. * Description : 출력버튼 클릭
  1883. ****************************************************************************************/
  1884. function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo)
  1885. {
  1886. //****************************************************************
  1887. // 주민등록번호 편집, 999999-9****** 형식..
  1888. var rrgstno = ds_main_cnst_patinfolist.getColumn(0,"rrgstno");
  1889. var tmp_rrgstno = rrgstno.substr(0,8)+"******";
  1890. ds_main_cnst_patinfolist.setColumn(0,"rrgstno", tmp_rrgstno);
  1891. // model.makeNode("/root/main/cnst/drugidlist"); //환자 원무정보를 끌어올수있게 20100426 황세원
  1892. //****************************************************************
  1893. //****************************************************************
  1894. // 약품식별 회신서 출력
  1895. // exeReportPreview("RPADC01600", "XMLSTR", "", "", "false","","","","","false");
  1896. var objCxtCommon = new ExtCommon();
  1897. ds_main_cnst_drugidlist.updatecontrol = false;
  1898. ds_main_cnst_drugidlist.addColumn("phot_prt","string");
  1899. var kimsyn = "";
  1900. for(var i = 0 ; i < ds_main_cnst_drugidlist.rowcount ; i++) {
  1901. kimsyn = ds_main_cnst_drugidlist.getColumn(i, "kimsyn");
  1902. if(kimsyn == "Y") {
  1903. ds_main_cnst_drugidlist.setColumn(i,"phot_prt", ds_main_cnst_drugidlist.getColumn(i, "phot2"));
  1904. } else {
  1905. ds_main_cnst_drugidlist.setColumn(i,"phot_prt",objCxtCommon.encodeBase64(ds_main_cnst_drugidlist.getColumn(i, "phot")));
  1906. }
  1907. }
  1908. ds_main_cnst_drugidlist.updatecontrol = true;
  1909. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1910. rptf_setNodeListToDOM(objDOM, "/root/main/cnst/drugidlist" , ds_main_cnst_drugidlist); // 데이터셋 1
  1911. rptf_setNodeListToDOM(objDOM, "/root/main/cnst/patinfolist" , ds_main_cnst_patinfolist); // 데이터셋 2
  1912. rptf_setNodeListToDOM(objDOM, "/root/main/cnst/cnstinfo" , ds_main_cnst_cnstinfo); // 데이터셋 3
  1913. rptf_setNodeListToDOM(objDOM, "/root/main/cnst/cnstinfo2" , ds_main_cnst_cnstinfo2); // 데이터셋 4
  1914. var objParam = new Object();
  1915. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  1916. var option = "open=1;save=1;directprint=0;print=1;zoom=0;show=0;";
  1917. rptf_exeReportPreview30(["RPADC01600"],[objParam], option); //미리보기만 가능
  1918. //****************************************************************
  1919. // 주민등록번호 원상태로 돌림
  1920. ds_main_cnst_patinfolist.setColumn(0,"rrgstno", rrgstno);
  1921. // opt_rrgstno.refresh();
  1922. }
  1923. /****************************************************************************************
  1924. * Components : Button
  1925. * Components ID : group2.btn_save
  1926. * Event : onclick
  1927. * Argument : 01.obj : Object Event has occurred
  1928. * : 02.e : Event Object
  1929. * Description : 저장버튼 클릭
  1930. ****************************************************************************************/
  1931. function group2_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1932. {
  1933. ds_main_cnst_cnstinfo.setColumn(0,"statflag", "D"); //저장
  1934. dsf_makeValue(ds_main_cnst_cnstinfo,"cnststat","string","21"); //회신임시
  1935. ds_main_cnst_cnstinfo.setColumn(0,"writid", sysf_getUserId);
  1936. call_TRADC62202();
  1937. if(arErrorCode.pop("TRADC62202") > -1){
  1938. var cnststat = ds_hidden_cnststatinfo.getColumn(0,"cnststat");
  1939. if(cnststat == "04"){
  1940. sysf_messageBox("[취소] 더이상 수정하실 수","I004");
  1941. }else if (cnststat == "30"){
  1942. sysf_messageBox("[회신확정] 더이상 수정하실 수","I004");
  1943. }else{
  1944. fSaveReqDrugId();
  1945. }
  1946. }
  1947. }
  1948. function call_TRADC62202() {
  1949. var oParam = {};
  1950. oParam.id = "TRADC62202";
  1951. oParam.service = "pharmacyconsultapp.ReqMngt";
  1952. oParam.method = "reqGetCnstStat";
  1953. oParam.inds = "req=ds_send_srchinfo";
  1954. oParam.outds = "ds_hidden_cnststatinfo=cnststatinfo";
  1955. oParam.async = false;
  1956. oParam.callback = "cf_TRADC62202";
  1957. tranf_submit(oParam);
  1958. }
  1959. function cf_TRADC62202(sSvcId, nErrorCode, sErrorMsg) {
  1960. arErrorCode.push(sSvcId, nErrorCode);
  1961. }
  1962. /****************************************************************************************
  1963. * Components : Button
  1964. * Components ID : group2.btn_repl
  1965. * Event : onclick
  1966. * Argument : 01.obj : Object Event has occurred
  1967. * : 02.e : Event Object
  1968. * Description : 회신버튼 클릭
  1969. ****************************************************************************************/
  1970. function group2_btn_repl_onclick(obj:Button, e:ClickEventInfo)
  1971. {
  1972. var sChk = "N";
  1973. call_TRADC62202();
  1974. if(arErrorCode.pop("TRADC62202") > -1){
  1975. var cnststat = ds_hidden_cnststatinfo.getColumn(0,"cnststat");
  1976. if(cnststat == "04"){
  1977. sysf_messageBox("[취소] 더이상 수정하실 수","I004");
  1978. }else if (cnststat == "30"){
  1979. sysf_messageBox("[회신확정] 더이상 수정하실 수","I004");
  1980. }else{
  1981. var cfm = sysf_messageBox("회신내역을","Q002");
  1982. if(cfm == 6){
  1983. //저장이 성공한 경우만 회신 처리
  1984. //========================== 회신자 확인 팝업 데이터 설정 ====================================
  1985. ds_temp_popupdata.setColumn(0,"repltype", "drugid");
  1986. ds_temp_popupdata.setColumn(0,"writid",ds_main_cnst_cnstinfo.getColumn(0,"writid"));
  1987. ds_temp_popupdata.setColumn(0,"writnm",ds_main_cnst_cnstinfo.getColumn(0,"writnm"));
  1988. // modal("SPADC62300",0,400,300,"SPADC62300","/root/temp/popupdata","/root/temp/popupdata");
  1989. var objArg = new Object();
  1990. objArg.arg_ds_temp_popupdata = ds_temp_popupdata;
  1991. frmf_modal("SPADC62300", "SPADC62300", objArg, null, null, null, null, null, null, null, null, null, "M");
  1992. // ========================================================================================
  1993. // 팝업화면에서 전달된 회신자 아이디를 /root/main/cnst/cnstinfo/replid에 설정
  1994. // 회신상태(Z)로 설정. 회신일자,시간 설정
  1995. if(!utlf_isNull(ds_main_cnst_cnstinfo.getColumn(0,"replid"))) {
  1996. ds_main_cnst_cnstinfo.setColumn(0,"statflag", "Z"); //회신
  1997. dsf_makeValue(ds_main_cnst_cnstinfo,"cnststat","string", "22"); //회신
  1998. ds_main_cnst_cnstinfo.setColumn(0,"repldd", utlf_getCurrentDate());
  1999. ds_main_cnst_cnstinfo.setColumn(0,"repltm", astgetCurrentTime());
  2000. ds_hidden_selfdrug.clearData();
  2001. fSaveReqDrugId();
  2002. //----------------------------------------------------------------------
  2003. //자가약제 정보 전달.
  2004. for(var iNo = 1 ; iNo <= ds_hidden_selfdrug.rowcount ; iNo++) {
  2005. if(!utlf_isNull(ds_hidden_selfdrug.getColumn(iNo,"pid"))) {
  2006. //grd_selfdrug.addStatus(iNo, "insert");
  2007. grdf_setStatus(group3.grd_selfdrug, "I", [iNo]);
  2008. sChk = "Y";
  2009. }
  2010. }
  2011. if(sChk == "Y") {
  2012. //model.makeValue("/root/send/selfdrug/savedata", group3.grd_selfdrug.getUpdateData("insert"));
  2013. dsf_makeValue(ds_send_selfdrug,"savedata","string",grdf_getGridUpdateData(group3.grd_selfdrug,"insert"));
  2014. dsf_setDefaultVal(ds_send_selfdrug, "hosinprcpresncd:00,prcpdelivefact:-,druglnkno:0,ermediscmngtresncd:-,dnorreqlnkno:0,subcretno:0");
  2015. //submit("TXMMO14901");
  2016. var oParam = {};
  2017. oParam.id = "TXMMO14901";
  2018. oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
  2019. oParam.method = "reqExeSelfHldSavePrcp";
  2020. oParam.inds = "req=ds_send_selfdrug";
  2021. oParam.outds = "";
  2022. oParam.async = false;
  2023. //oParam.callback = "cf_TXMMO14901";
  2024. tranf_submit(oParam);
  2025. }
  2026. //----------------------------------------------------------------------
  2027. }
  2028. }
  2029. }
  2030. }
  2031. }
  2032. /****************************************************************************************
  2033. * Components : Button
  2034. * Components ID : group2.btn_del
  2035. * Event : onclick
  2036. * Argument : 01.obj : Object Event has occurred
  2037. * : 02.e : Event Object
  2038. * Description : 삭제버튼 클릭
  2039. ****************************************************************************************/
  2040. function group2_btn_del_onclick(obj:Button, e:ClickEventInfo)
  2041. {
  2042. call_TRADC62202();
  2043. if(submit(arErrorCode.pop("TRADC62202") > -1)){
  2044. var cnststat = ds_hidden_cnststatinfo.getColumn(0,"cnststat");
  2045. if(cnststat == "04"){
  2046. sysf_messageBox("[취소] 더이상 수정하실 수","I004");
  2047. }else if (cnststat == "30"){
  2048. sysf_messageBox("[회신확정] 더이상 수정하실 수","I004");
  2049. }else{
  2050. if(sysf_messageBox("[삭제]시 저장된 회신 내역이 모두 삭제 됩니다.\n","Q001") == 6){
  2051. ds_main_cnst_cnstinfo.setColumn(0,"drugrtn",""); // 약반송
  2052. ds_main_cnst_cnstinfo.setColumn(0,"cnsttm",""); // 소요시간
  2053. ds_main_cnst_cnstinfo.setColumn(0,"replestm",""); // 회신추정
  2054. ds_main_cnst_cnstinfo.setColumn(0,"replimpsi",""); // 회신불가
  2055. ds_main_cnst_cnstinfo.setColumn(0,"remark",""); // 전달사항
  2056. dsf_makeValue(ds_main_cnst_cnstinfo,"delyn","string","Y"); // 전달사항
  2057. for(var i = 0 ; i < ds_main_cnst_drugidlist.rowcount ; i++){
  2058. //grd_drugid.row = i;
  2059. ds_main_cnst_drugidlist.rowposition = i;
  2060. fDataGridRowDelete();
  2061. }
  2062. fSaveReqDrugId();
  2063. }
  2064. }
  2065. }
  2066. }
  2067. /****************************************************************************************
  2068. * Components : Button
  2069. * Components ID : group2.btn_can
  2070. * Event : onclick
  2071. * Argument : 01.obj : Object Event has occurred
  2072. * : 02.e : Event Object
  2073. * Description : 회신취소버튼 클릭
  2074. ****************************************************************************************/
  2075. function group2_btn_can_onclick(obj:Button, e:ClickEventInfo)
  2076. {
  2077. if(sysf_messageBox("[회신을 ","Q007") == 6){
  2078. ds_main_cnst_cnstinfo.setColumn(0,"statflag", "D"); //저장
  2079. dsf_makeValue(ds_main_cnst_cnstinfo,"cnststat","string","12"); //의뢰로 변환
  2080. ds_main_cnst_cnstinfo.setColumn(0,"writid", sysf_getUserId());
  2081. call_TRADC62202();
  2082. if(arErrorCode.pop("TRADC62202") > -1) {
  2083. fSaveReqDrugId();
  2084. }
  2085. }
  2086. }
  2087. /****************************************************************************************
  2088. * Components : Button
  2089. * Components ID : group3.button1
  2090. * Event : onclick
  2091. * Argument : 01.obj : Object Event has occurred
  2092. * : 02.e : Event Object
  2093. * Description : 의뢰정보저장 버튼 클릭
  2094. ****************************************************************************************/
  2095. function group3_button1_onclick(obj:Button, e:ClickEventInfo)
  2096. {
  2097. ds_send_cnstinfo.setColumn(0,"cnstcnts1" , ds_main_cnst_cnstinfo2.getColumn(0,"prcphosp"));
  2098. ds_send_cnstinfo.setColumn(0,"cnstcnts2" , ds_main_cnst_cnstinfo2.getColumn(0,"prcphosptel"));
  2099. ds_send_cnstinfo.setColumn(0,"cnstcnts3" , ds_main_cnst_cnstinfo2.getColumn(0,"prcppharm"));
  2100. ds_send_cnstinfo.setColumn(0,"cnstcnts4" , ds_main_cnst_cnstinfo2.getColumn(0,"prcppharmtel"));
  2101. ds_send_cnstinfo.setColumn(0,"cnstcnts5" , ds_main_cnst_cnstinfo2.getColumn(0,"drugresn"));
  2102. ds_send_cnstinfo.setColumn(0,"pid" , ds_main_cnst_cnstinfo2.getColumn(0,"pid"));
  2103. ds_send_cnstinfo.setColumn(0,"formrecseq", ds_main_cnst_cnstinfo2.getColumn(0,"formrecseq"));
  2104. //dsf_setDefaultVal(ds_send_cnstinfo, "cnstcnts1:,cnstcnts2:,cnstcnts3:,cnstcnts4:,cnstcnts5:");
  2105. var oParam = {};
  2106. oParam.id = "TXADC61703";
  2107. oParam.service = "pharmacyconsultapp.ReqMngt";
  2108. oParam.method = "reqExeCnstInfoUpdate";
  2109. oParam.inds = "req=ds_send_cnstinfo";
  2110. oParam.outds = "ds_hidden_cnststatinfo=item";
  2111. oParam.async = false;
  2112. //oParam.callback = "cf_TXADC61703";
  2113. tranf_submit(oParam);
  2114. }
  2115. /****************************************************************************************
  2116. * Components : Button
  2117. * Components ID : group3.btn_tm
  2118. * Event : onclick
  2119. * Argument : 01.obj : Object Event has occurred
  2120. * : 02.e : Event Object
  2121. * Description : 소요시간 체크 버튼 클릭
  2122. ****************************************************************************************/
  2123. function group3_btn_tm_onclick(obj:Button, e:ClickEventInfo)
  2124. {
  2125. var tmflag = ds_hidden.getColumn(0,"tmflag");
  2126. if(tmflag == 1){
  2127. group3.btn_tm.text = "ON";
  2128. ds_hidden.setColumn(0,"tmflag","0");
  2129. fStopTimer();
  2130. }else{
  2131. group3.btn_tm.text = "OFF";
  2132. ds_hidden.setColumn(0,"tmflag","1");
  2133. //gTimer = window.setInterval("fStartTimer()",1000);
  2134. this.setTimer(0,1000);
  2135. }
  2136. }
  2137. /****************************************************************************************
  2138. * Components : Form
  2139. * Components ID : SMADC01600
  2140. * Event : ontimer
  2141. * Argument : 01.obj : Object Event has occurred
  2142. * : 02.e : Event Object
  2143. * Description : setTimer 실행시 해당시간마다 실행되는 이벤트
  2144. ****************************************************************************************/
  2145. function SMADC01600_ontimer(obj:Form, e:TimerEventInfo)
  2146. {
  2147. fStartTimer();
  2148. }
  2149. /****************************************************************************************
  2150. * Components : Dataset
  2151. * Components ID : ds_main_cnst_drugidlist
  2152. * Event : oncolumnchanged
  2153. * Argument : 01.obj : Object Event has occurred
  2154. * : 02.e : Event Object
  2155. * Description : 식별정보의 체크박스 컨트롤
  2156. ****************************************************************************************/
  2157. function ds_main_cnst_drugidlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2158. {
  2159. if(e.columnid=="photyn") {
  2160. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  2161. }
  2162. }
  2163. /****************************************************************************************
  2164. * Components : Button
  2165. * Components ID : group3.btn_srch
  2166. * Event : onclick
  2167. * Argument : 01.obj : Object Event has occurred
  2168. * : 02.e : Event Object
  2169. * Description : 검색버튼 클릭
  2170. ****************************************************************************************/
  2171. function group3_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  2172. {
  2173. fPopupDrugIDSrch();
  2174. }
  2175. /****************************************************************************************
  2176. * Components : Button
  2177. * Components ID : group3.btn_grdadd
  2178. * Event : onclick
  2179. * Argument : 01.obj : Object Event has occurred
  2180. * : 02.e : Event Object
  2181. * Description : 행추가 버튼 클릭
  2182. ****************************************************************************************/
  2183. function group3_btn_grdadd_onclick(obj:Button, e:ClickEventInfo)
  2184. {
  2185. var i = ds_main_cnst_drugidlist.addRow();
  2186. //setImageRefInstance("/root/main/cnst/drugidlist["+i+"]/phot");
  2187. //grd_drugid.rowHeight(grd_drugid.row) = 85;
  2188. group3.grd_drugid.setRealRowSize(i,82);
  2189. group3.grd_drugid.setFormatColProperty(3, "size", 220);
  2190. /////2012.9.11 김치국 행추가시 SEQ부여하기
  2191. // var r_cnt = ds_main_cnst_drugidlist.rowcount;
  2192. // var k = 1;
  2193. // for( var j = 0 ; j < r_cnt ; j++ ) {
  2194. // if(grd_drugid.rowStatus(j) != 4)
  2195. // model.setValue("/root/main/cnst/drugidlist["+ j +"]/rowcnt", k++);
  2196. // }
  2197. }
  2198. /****************************************************************************************
  2199. * Components : Button
  2200. * Components ID : group3.btn_grddel
  2201. * Event : onclick
  2202. * Argument : 01.obj : Object Event has occurred
  2203. * : 02.e : Event Object
  2204. * Description : 행삭제 버튼 클릭
  2205. ****************************************************************************************/
  2206. function group3_btn_grddel_onclick(obj:Button, e:ClickEventInfo)
  2207. {
  2208. fDataGridRowDelete();
  2209. /////2012.9.11 김치국 행추가시 SEQ부여하기
  2210. // var r_cnt = grd_drugid.rows ;
  2211. // var k = 1;
  2212. // for( var j = 1 ; j < grd_drugid.rows ; j++ ) {
  2213. // if(grd_drugid.rowStatus(j) != 4)
  2214. // model.setValue("/root/main/cnst/drugidlist["+ j +"]/rowcnt", k++);
  2215. // }
  2216. }
  2217. /****************************************************************************************
  2218. * Components : Grid
  2219. * Components ID : group3.grd_drugid
  2220. * Event : onrbuttondown
  2221. * Argument : 01.obj : Object Event has occurred
  2222. * : 02.e : Event Object
  2223. * Description : 그리드에서 마우스 우클릭으로 팝업메뉴 띄움.
  2224. ****************************************************************************************/
  2225. function group3_grd_drugid_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  2226. {
  2227. if(e.row > -1){
  2228. grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
  2229. pmn_menu.trackPopup(e.screenX,e.screenY);
  2230. }
  2231. return true;
  2232. }
  2233. /****************************************************************************************
  2234. * Components : Grid
  2235. * Components ID : group3.grd_drugid
  2236. * Event : onkeydown
  2237. * Argument : 01.obj : Object Event has occurred
  2238. * : 02.e : Event Object
  2239. * Description : 그리드 선택행 카피
  2240. ****************************************************************************************/
  2241. function group3_grd_drugid_onkeydown(obj:Grid, e:KeyEventInfo)
  2242. {
  2243. if(e.ctrlKey == true && e.keycode == 67)
  2244. {
  2245. astgrid_oncopy();
  2246. }
  2247. if(e.ctrlKey == true && e.keycode == 86)
  2248. {
  2249. astgrid_onpaste();
  2250. }
  2251. }
  2252. function group3_button00_onclick(obj:Button, e:ClickEventInfo)
  2253. {
  2254. if(!utlf_isNull(ds_main_cnst_patinfolist.getColumn(0,"pid"))) {
  2255. //---------- 의뢰내역을 회신내역에 저장------------------------------------------------------------------
  2256. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("cnstseqno" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"cnstseqno"));
  2257. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("formrecseq" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"formrecseq"));
  2258. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("prcphosp" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"prcphosp"));
  2259. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("prcphosptel" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"prcphosptel"));
  2260. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("prcppharm" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"prcppharm"));
  2261. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("prcppharmtel","string"),ds_main_cnst_cnstinfo2.getColumn(0,"prcppharmtel"));
  2262. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("cnstdd" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"cnstdd"));
  2263. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("cnstdeptcd" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"cnstdeptcd"));
  2264. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("cnstdrid" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"cnstdrid"));
  2265. ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("drugresn" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"drugresn"));
  2266. ds_main_cnst_cnstinfo.setColumn(0,"writid", sysf_getUserId());
  2267. ds_send_req.copyData(ds_main_cnst_cnstinfo);
  2268. if(utlf_isNull(ds_send_req.getColumn(0,"pid"))) {
  2269. ds_send_req.setColumn(0,"pid", ds_main_cnst_patinfolist.getColumn(0,"pid"));
  2270. }
  2271. if(fUseYn()) return;
  2272. dsf_createDs("ds_send_req_drugidlist");
  2273. var dsUpdate = grdf_getGridUpdateData(group3.grd_drugid, "all");
  2274. grdf_setStatusColumn(dsUpdate, "m");
  2275. ds_send_req_drugidlist.copyData(dsUpdate,true);
  2276. ds_send_req.addColumn("delyn","string");
  2277. dsf_setDefaultVal(ds_send_req, "all");
  2278. ds_send_req_drugidlist.updateColID("homodrugflag","homodrugcd");
  2279. ds_send_req_drugidlist.updateColID("photoid","photid");
  2280. dsf_setDefaultVal(ds_send_req_drugidlist, "photyn:N,useyn:N,estmyn:N,photid:-,idcd:0");
  2281. var oParam = {};
  2282. oParam.id = "TXADC01603";
  2283. oParam.service = "pharmacyconsultapp.DrugId";
  2284. oParam.method = "reqExeDrugIdUDUPdate";
  2285. oParam.inds = "cnstinfo=ds_send_req drugidlist=ds_send_req_drugidlist";
  2286. oParam.outds = "ds_hidden_item=item ds_hidden_selfdrug=selfdrug";
  2287. oParam.async = false;
  2288. oParam.callback = "cf_TXADC01603";
  2289. tranf_submit(oParam);
  2290. if (arErrorCode.pop("TXADC01603") > -1) {
  2291. if(utlf_isNull(ds_send_srchinfo.getColumn(0,"rgstseqno"))) {
  2292. if(!utlf_isNull(ds_main_cnst_cnstinfo.getColumn(0,"rgstseqno"))) {
  2293. ds_send_srchinfo.setColumn(0,"rgstseqno", ds_main_cnst_cnstinfo.getColumn(0,"rgstseqno"));
  2294. } else {
  2295. ds_send_srchinfo.setColumn(0,"rgstseqno", ds_hidden_item.getColumn(0,"rgstseqno"));
  2296. }
  2297. }
  2298. dsf_makeValue(ds_hidden_item,"saverslt","string", 'Y');
  2299. fRefDrugidCnst();
  2300. ds_send_req.clear();
  2301. } else {
  2302. dsf_makeValue(ds_hidden_item,"saverslt","string", 'N');
  2303. }
  2304. }else{
  2305. sysf_messageBox("등록번호를 ","C001");
  2306. }
  2307. }
  2308. function group3_grd_drugid_oncellclick(obj:Grid, e:GridClickEventInfo)
  2309. {
  2310. group3.grd_drugid.autoenter = "key";
  2311. if(e.col == obj.getBindCellIndex("body","phot")|| e.col == obj.getBindCellIndex("body","phot2")) {
  2312. ds_temp.setColumn(0,"drugphot",ds_main_cnst_drugidlist.getColumn(e.row,"bigphot"));
  2313. // setImageRefInstance("/root/temp/drugphot");
  2314. group3.img_drugphot.visible = true;
  2315. }
  2316. }
  2317. function group3_grd_drugid_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2318. {
  2319. group3.grd_drugid.autoenter = "select";
  2320. }
  2321. function img_drugphot_onclick(obj:ImageViewer, e:ClickEventInfo)
  2322. {
  2323. group3.img_drugphot.visible = false;
  2324. ds_temp.setColumn(0,"drugphot", "");
  2325. }
  2326. ]]></Script>
  2327. </Form>
  2328. </FDL>