123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADC01600" position="absolute 0 0 1198 783" titletext="약품식별회신등록" oninit="SMADC01600_oninit" onload="SMADC01600_onload" ontimer="SMADC01600_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 43 1195 782" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout width="1195" height="739">
- <Shape position="absolute 607 149 1194 155" linetype="horizontal" id="line17" class="line_2" anchor="default"/>
- <Shape position="absolute 607 174 1194 180" linetype="horizontal" id="line18" class="line_2" anchor="default"/>
- <Shape position="absolute 607 199 1195 205" linetype="horizontal" id="line19" class="line_2" anchor="default"/>
- <Shape position="absolute 0 149 601 155" linetype="horizontal" id="line23" class="line_2" anchor="default"/>
- <Shape position="absolute 0 174 601 180" linetype="horizontal" id="line24" class="line_2" anchor="default"/>
- <Shape position="absolute 0 199 601 205" linetype="horizontal" id="line1" class="line_2" anchor="default"/>
- <Static text="조제약국" position="absolute 0 154 79 177" align="align:center middle;" id="caption40" class="cell_1" anchor="default"/>
- <Edit position="absolute 240 130 370 149" id="input10" class="input_search" taborder="3" anchor="default"/>
- <Static text="Tel)" position="absolute 215 132 240 147" align="align:center middle;" id="caption42" anchor="default"/>
- <Button position="absolute 1041 206 1083 228" id="btn_srch" class="btn2" taborder="11" text="검색" anchor="default" onclick="group3_btn_srch_onclick"/>
- <Static text="약 복용이유" position="absolute 0 179 79 202" align="align:center middle;" id="caption44" class="cell_1" anchor="default"/>
- <Edit position="absolute 85 130 215 149" align="align:center middle;" id="input12" class="input_search" taborder="2" anchor="default"/>
- <Edit position="absolute 240 155 370 174" id="input15" class="input_search" taborder="5" anchor="default"/>
- <Static text="Tel)" position="absolute 215 157 240 172" align="align:center middle;" id="caption46" anchor="default"/>
- <Edit position="absolute 85 155 215 174" id="input16" class="input_search" taborder="4" anchor="default"/>
- <Static text="의뢰정보" position="absolute 1 108 145 125" id="caption49" class="tit_2" anchor="default"/>
- <Static text="처방의원" position="absolute 0 129 79 152" align="align:center middle;" id="caption51" class="cell_1" anchor="default"/>
- <Static text="식별정보" position="absolute 1 212 145 230" id="caption54" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 124 600 130" linetype="horizontal" id="line21" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Shape position="absolute 0 201 1195 207" linetype="horizontal" id="line22" class="line_3" anchor="default"/>
- <Button position="absolute 1086 206 1139 228" id="btn_grdadd" class="btn2" taborder="12" text="행추가" anchor="default" onclick="group3_btn_grdadd_onclick"/>
- <Button position="absolute 1141 206 1194 228" id="btn_grddel" class="btn2" taborder="13" text="행삭제" anchor="default" onclick="group3_btn_grddel_onclick"/>
- <Shape position="absolute 0 733 1195 739" linetype="horizontal" id="line25" class="line_3" anchor="default"/>
- <Static text="의뢰일시" position="absolute 375 129 454 152" align="align:center middle;" id="caption38" class="cell_1" anchor="default"/>
- <Static text="의뢰과" position="absolute 375 154 454 177" align="align:center middle;" id="caption39" class="cell_1" anchor="default"/>
- <MaskEdit readonly="true" position="absolute 460 130 600 149" id="output16" mask="@@@@-@@-@@" anchor="default" type="string" style="align:left middle;" displaynulltext=" "/>
- <Static text="의뢰자" position="absolute 375 179 454 202" align="align:center middle;" id="caption58" class="cell_1" anchor="default"/>
- <Edit position="absolute 85 180 370 199" id="input19" class="input_search" taborder="6" anchor="default"/>
- <Edit readonly="true" position="absolute 460 155 600 174" id="output19" anchor="default" class="output"/>
- <Edit readonly="true" position="absolute 460 180 600 199" id="output20" anchor="default" class="output"/>
- <Shape position="absolute 607 124 1195 130" linetype="horizontal" id="line20" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Static text="회신불가" position="absolute 785 154 875 177" align="align:center middle;" id="caption50" class="cell_1" anchor="default"/>
- <Static text="회신정보" position="absolute 608 108 752 124" id="caption41" class="tit_2" anchor="default"/>
- <Static text="작성자" position="absolute 985 154 1070 177" align="align:center middle;" id="caption53" class="cell_1" anchor="default"/>
- <Static text="회신추정" position="absolute 607 154 680 177" align="align:center middle;" id="caption43" class="cell_1" anchor="default"/>
- <Static text="회신일시" position="absolute 985 129 1070 152" align="align:center middle;" id="caption55" class="cell_1" anchor="default"/>
- <Static text="전달사항" position="absolute 607 179 680 202" align="align:center middle;" id="caption45" class="cell_1" anchor="default"/>
- <Static text="건" position="absolute 963 159 983 174" align="align:center middle;" id="caption57" anchor="default"/>
- <MaskEdit readonly="true" position="absolute 1075 130 1195 149" id="output18" mask="@@@@-@@-@@ @@:@@" anchor="default" style="align:left middle;" type="string" displaynulltext=" "/>
- <Static text="건" position="absolute 767 159 787 174" align="align:center middle;" id="caption47" anchor="default"/>
- <Static text="약반송" position="absolute 607 129 680 152" align="align:center middle;" id="caption25" class="cell_1" anchor="default"/>
- <Static text="회신자" position="absolute 985 179 1070 202" align="align:center middle;" id="caption59" class="cell_1" anchor="default"/>
- <Static text="소요시간" position="absolute 785 129 875 152" align="align:center middle;" id="caption48" class="cell_1" anchor="default"/>
- <Button position="absolute 940 130 982 149" id="btn_tm" class="btn2" text="ON" anchor="default" onclick="group3_btn_tm_onclick"/>
- <Edit position="absolute 685 180 980 199" id="input4" class="input_search" taborder="10" anchor="default"/>
- <Edit position="absolute 1075 155 1195 174" id="input5" anchor="default"/>
- <Edit position="absolute 1075 180 1195 199" id="input6" anchor="default"/>
- <Edit readonly="true" position="absolute 880 130 938 149" id="opt_cnsttm" anchor="default" class="output"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="220"/>
- <Column size="220"/>
- <Column size="155"/>
- <Column size="240"/>
- <Column size="165"/>
- <Column size="51"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="82"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="순번"/>
- <Cell col="2" text="유무"/>
- <Cell col="3" text="사진"/>
- <Cell col="4" text="사진"/>
- <Cell col="5" text="상품명"/>
- <Cell col="6" text="성분 및 함량"/>
- <Cell col="7" text="효능 효과"/>
- <Cell col="8" text="본원사용"/>
- <Cell col="9" text="본원사용비고"/>
- <Cell col="10" text="현재복용법"/>
- <Cell col="11" text="동종약"/>
- <Cell col="12" text="동효약"/>
- <Cell col="13" text="추정"/>
- <Cell col="14" text="idcd"/>
- <Cell col="15" text="caption1"/>
- <Cell col="16" text="caption2"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="image"/>
- <Cell col="1" displaytype="normal" edittype="none" style="font:arial,10;" text="expr:currow+1"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" style="font:arial,10;" text="bind:photyn" expr="expr:(photyn=="Y"||photyn==1)?1:0"/>
- <Cell col="3" displaytype="normal" style="background:stretch;background2:stretch;font:arial,10;selectbackground:stretch;backgroundimage:BIND(phot);" text="bind:phot" wordwrap="none"/>
- <Cell col="4" displaytype="none" style="background:stretch;background2:stretch;backgroundimage:BIND(phot2);" text="bind:phot2"/>
- <Cell col="5" displaytype="text" edittype="text" style="font:arial,10;" text="bind:hngnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" edittype="text" style="font:arial,10;" text="bind:comcnts" wordwrap="char" editautoselect="false" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" edittype="text" style="font:arial,10;" text="bind:efcysmm" wordwrap="char" editautoselect="false" autosizerow="limitmin"/>
- <Cell col="8" displaytype="text" edittype="text" style="align:center middle;font:arial,10;" text="bind:useyn"/>
- <Cell col="9" displaytype="text" edittype="text" style="font:arial,10;" text="bind:useyncmt"/>
- <Cell col="10" displaytype="text" edittype="text" style="align:left middle;" text="bind:usedesc" wordwrap="char" editautoselect="false" autosizerow="limitmin"/>
- <Cell col="11" displaytype="text" edittype="text" style="font:arial,10;" text="bind:homodrugflag" wordwrap="char" editautoselect="false" autosizerow="limitmin"/>
- <Cell col="12" displaytype="text" edittype="text" style="font:arial,10;" text="bind:samedrug" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="13" displaytype="checkbox" edittype="checkbox" style="font:arial,10;" text="bind:estmyn"/>
- <Cell col="14" text="bind:idcd"/>
- <Cell col="15" text="bind:idseqno"/>
- <Cell col="16" text="bind:photoid"/>
- <Cell col="17" text="bind:orgimg"/>
- <Cell col="18" text="bind:drugcd"/>
- <Cell col="19" text="bind:phot2"/>
- <Cell col="20" text="bind:kimsyn"/>
- <Cell col="21" text="bind:comcls"/>
- <Cell col="22" text="bind:bigphot"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <ImageViewer position="absolute 100 209 225 224" id="img_hidden" visible="false" anchor="default"/>
- <Grid position="absolute 860 345 1130 435" id="grd_selfdrug" visible="false" binddataset="ds_hidden_selfdrug" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="a"/>
- <Cell col="1" text="a"/>
- <Cell col="2" text="a"/>
- <Cell col="3" text="a"/>
- <Cell col="4" text="a"/>
- <Cell col="5" text="a"/>
- <Cell col="6" text="a"/>
- <Cell col="7" text="a"/>
- <Cell col="8" text="a"/>
- <Cell col="9" text="a"/>
- <Cell col="10" text="a"/>
- <Cell col="11" text="a"/>
- <Cell col="12" text="a"/>
- <Cell col="13" text="a"/>
- <Cell col="14" text="a"/>
- <Cell col="15" text="a"/>
- <Cell col="16" text="a"/>
- <Cell col="17" text="a"/>
- <Cell col="18" text="a"/>
- <Cell col="19" text="a"/>
- <Cell col="20" text="a"/>
- <Cell col="21" text="a"/>
- <Cell col="22" text="a"/>
- <Cell col="23" text="a"/>
- <Cell col="24" text="a"/>
- <Cell col="25" text="a"/>
- <Cell col="26" text="a"/>
- <Cell col="27" text="a"/>
- <Cell col="28" text="a"/>
- <Cell col="29" text="a"/>
- <Cell col="30" text="a"/>
- <Cell col="31" text="a"/>
- <Cell col="32" text="a"/>
- <Cell col="33" text="a"/>
- <Cell col="34" text="a"/>
- <Cell col="35" text="a"/>
- <Cell col="36" text="a"/>
- <Cell col="37" text="a"/>
- <Cell col="38" text="a"/>
- <Cell col="39" text="a"/>
- <Cell col="40" text="a"/>
- <Cell col="41" text="a"/>
- <Cell col="42" text="a"/>
- <Cell col="43" text="a"/>
- <Cell col="44" text="a"/>
- <Cell col="45" text="a"/>
- <Cell col="46" text="a"/>
- <Cell col="47" text="a"/>
- <Cell col="48" text="a"/>
- <Cell col="49" text="a"/>
- <Cell col="50" text="a"/>
- <Cell col="51" text="a"/>
- <Cell col="52" text="a"/>
- <Cell col="53" text="a"/>
- <Cell col="54" text="a"/>
- <Cell col="55" text="a"/>
- <Cell col="56" text="a"/>
- <Cell col="57" text="a"/>
- <Cell col="58" text="a"/>
- <Cell col="59" text="a"/>
- <Cell col="60" text="a"/>
- <Cell col="61" text="a"/>
- <Cell col="62" text="a"/>
- <Cell col="63" text="a"/>
- <Cell col="64" text="a"/>
- <Cell col="65" text="a"/>
- <Cell col="66" text="a"/>
- <Cell col="67" text="a"/>
- <Cell col="68" text="a"/>
- <Cell col="69" text="a"/>
- <Cell col="70" text="a"/>
- <Cell col="71" text="a"/>
- <Cell col="72" text="a"/>
- <Cell col="73" text="a"/>
- <Cell col="74" text="a"/>
- <Cell col="75" text="a"/>
- <Cell col="76" text="a"/>
- <Cell col="77" text="a"/>
- <Cell col="78" text="a"/>
- <Cell col="79" text="a"/>
- <Cell col="80" text="a"/>
- <Cell col="81" text="a"/>
- <Cell col="82" text="a"/>
- <Cell col="83" text="a"/>
- <Cell col="84" text="a"/>
- <Cell col="85" text="a"/>
- <Cell col="86" text="a"/>
- <Cell col="87" text="a"/>
- <Cell col="88" text="a"/>
- <Cell col="89" text="a"/>
- <Cell col="90" text="a"/>
- <Cell col="91" text="a"/>
- <Cell col="92" text="a"/>
- <Cell col="93" text="a"/>
- <Cell col="94" text="a"/>
- <Cell col="95" text="a"/>
- <Cell col="96" text="a"/>
- <Cell col="97" text="a"/>
- <Cell col="98" text="a"/>
- <Cell col="99" text="a"/>
- <Cell col="100" text="a"/>
- <Cell col="101" text="a"/>
- <Cell col="102" text="a"/>
- <Cell col="103" text="a"/>
- <Cell col="104" text="a"/>
- <Cell col="105" text="a"/>
- <Cell col="106" text="a"/>
- <Cell col="107" text="a"/>
- <Cell col="108" text="a"/>
- <Cell col="109" text="a"/>
- <Cell col="110" text="a"/>
- <Cell col="111" text="a"/>
- <Cell col="112" text="a"/>
- <Cell col="113" text="a"/>
- <Cell col="114" text="a"/>
- <Cell col="115" text="a"/>
- <Cell col="116" text="a"/>
- <Cell col="117" text="a"/>
- <Cell col="118" text="a"/>
- <Cell col="119" text="a"/>
- <Cell col="120" text="a"/>
- <Cell col="121" text="a"/>
- <Cell col="122" text="a"/>
- <Cell col="123" text="a"/>
- <Cell col="124" text="a"/>
- <Cell col="125" text="a"/>
- <Cell col="126" text="a"/>
- <Cell col="127" text="a"/>
- <Cell col="128" text="a"/>
- <Cell col="129" text="a"/>
- <Cell col="130" text="a"/>
- <Cell col="131" text="a"/>
- <Cell col="132" text="a"/>
- <Cell col="133" text="a"/>
- <Cell col="134" text="a"/>
- <Cell col="135" text="a"/>
- <Cell col="136" text="a"/>
- <Cell col="137" text="a"/>
- <Cell col="138" text="a"/>
- <Cell col="139" text="a"/>
- <Cell col="140" text="a"/>
- <Cell col="141" text="a"/>
- <Cell col="142" text="a"/>
- <Cell col="143" text="a"/>
- <Cell col="144" text="a"/>
- <Cell col="145" text="a"/>
- <Cell col="146" text="a"/>
- <Cell col="147" text="a"/>
- <Cell col="148" text="a"/>
- <Cell col="149" text="a"/>
- <Cell col="150" text="a"/>
- <Cell col="151" text="a"/>
- <Cell col="152" text="a"/>
- <Cell col="153" text="a"/>
- <Cell col="154" text="a"/>
- <Cell col="155" text="a"/>
- <Cell col="156" text="a"/>
- <Cell col="157" text="a"/>
- <Cell col="158" text="a"/>
- <Cell col="159" text="a"/>
- <Cell col="160" text="a"/>
- <Cell col="161" text="a"/>
- <Cell col="162" text="a"/>
- <Cell col="163" text="a"/>
- <Cell col="164" text="a"/>
- <Cell col="165" text="a"/>
- <Cell col="166" text="a"/>
- <Cell col="167" text="a"/>
- <Cell col="168" text="a"/>
- <Cell col="169" text="a"/>
- <Cell col="170" text="a"/>
- <Cell col="171" text="a"/>
- <Cell col="172" text="a"/>
- <Cell col="173" text="a"/>
- <Cell col="174" text="a"/>
- <Cell col="175" text="a"/>
- <Cell col="176" text="a"/>
- </Band>
- <Band id="body">
- <Cell text="bind:selfholdflag"/>
- <Cell col="1" text="bind:selfholdstat"/>
- <Cell col="2" text="bind:selfholdgenrdd"/>
- <Cell col="3" text="bind:anamneflag"/>
- <Cell col="4" text="bind:drugspdunitflag"/>
- <Cell col="5" text="bind:clincstdyflag"/>
- <Cell col="6" text="bind:cvrtbfprcpgenrflag"/>
- <Cell col="7" text="bind:trnptbftestflag"/>
- <Cell col="8" text="bind:rgstridnm"/>
- <Cell col="9" text="bind:etcprcpresncd"/>
- <Cell col="10" text="bind:rgstrid"/>
- <Cell col="11" text="bind:prcpno"/>
- <Cell col="12" text="bind:fixprcpflag"/>
- <Cell col="13" text="bind:prcpnm"/>
- <Cell col="14" text="bind:choiordflag"/>
- <Cell col="15" text="bind:optermcd"/>
- <Cell col="16" text="bind:oprsrvno"/>
- <Cell col="17" text="bind:prcppkspec"/>
- <Cell col="18" text="bind:drugmthdspccd"/>
- <Cell col="19" text="bind:wardcd"/>
- <Cell col="20" text="bind:prcpflag"/>
- <Cell col="21" text="bind:prcplnkdd"/>
- <Cell col="22" text="bind:cvrtbfcretno"/>
- <Cell col="23" text="bind:mealprotcnts"/>
- <Cell col="24" text="bind:pampkspec"/>
- <Cell col="25" text="bind:orgprcpnm"/>
- <Cell col="26" text="bind:fstrgstrid"/>
- <Cell col="27" text="bind:drugmastspec"/>
- <Cell col="28" text="bind:prcpdayno"/>
- <Cell col="29" text="bind:prcpessninptflag"/>
- <Cell col="30" text="bind:cvrtbforddd"/>
- <Cell col="31" text="bind:prcpdirecflag"/>
- <Cell col="32" text="bind:prcpvolunitnm"/>
- <Cell col="33" text="bind:updtrid"/>
- <Cell col="34" text="bind:prnprcpflag"/>
- <Cell col="35" text="bind:prcpinptflag"/>
- <Cell col="36" text="bind:nigtprcpflag"/>
- <Cell col="37" text="bind:rateprcpflag"/>
- <Cell col="38" text="bind:prcpsetcd"/>
- <Cell col="39" text="bind:prcphistcd"/>
- <Cell col="40" text="bind:grupsnglflag"/>
- <Cell col="41" text="bind:tnsfiltflag"/>
- <Cell col="42" text="bind:prcpdd"/>
- <Cell col="43" text="bind:erreadflag"/>
- <Cell col="44" text="bind:tempprcpflag"/>
- <Cell col="45" text="bind:ordreqlnkno"/>
- <Cell col="46" text="bind:clincstdycd"/>
- <Cell col="47" text="bind:drugpackflag"/>
- <Cell col="48" text="bind:prcpkindcd"/>
- <Cell col="49" text="bind:drugmthdspccdnm"/>
- <Cell col="50" text="bind:cretno"/>
- <Cell col="51" text="bind:prcprefseq"/>
- <Cell col="52" text="bind:prcpsignflag"/>
- <Cell col="53" text="bind:stemcellflag"/>
- <Cell col="54" text="bind:updtdeptcd"/>
- <Cell col="55" text="bind:prcpcd"/>
- <Cell col="56" text="bind:hosinprcpresncd"/>
- <Cell col="57" text="bind:prcpmixno"/>
- <Cell col="58" text="bind:pid"/>
- <Cell col="59" text="bind:indd"/>
- <Cell col="60" text="bind:erprcpflag"/>
- <Cell col="61" text="bind:prcpvol"/>
- <Cell col="62" text="bind:asttestflag"/>
- <Cell col="63" text="bind:prcpgenrflag"/>
- <Cell col="64" text="bind:roomcd"/>
- <Cell col="65" text="bind:prcpclscd"/>
- <Cell col="66" text="bind:powdflag"/>
- <Cell col="67" text="bind:payflagcd"/>
- <Cell col="68" text="bind:prcpvolunitflag"/>
- <Cell col="69" text="bind:opansflagcd"/>
- <Cell col="70" text="bind:fstrgstdt"/>
- <Cell col="71" text="bind:lastupdtrid"/>
- <Cell col="72" text="bind:prcphopedd"/>
- <Cell col="73" text="bind:prcpqtyunitnm"/>
- <Cell col="74" text="bind:prcpqty"/>
- <Cell col="75" text="bind:prcpexecdeptcd"/>
- <Cell col="76" text="bind:rgstdt"/>
- <Cell col="77" text="bind:prcpstatcd"/>
- <Cell col="78" text="bind:suppdeptspec"/>
- <Cell col="79" text="bind:testreqlnkno"/>
- <Cell col="80" text="bind:portprcpflag"/>
- <Cell col="81" text="bind:contprcpspec"/>
- <Cell col="82" text="bind:selfdrugflag"/>
- <Cell col="83" text="bind:prcpqtyunitflag"/>
- <Cell col="84" text="bind:rgstdd"/>
- <Cell col="85" text="bind:lastupdtdt"/>
- <Cell col="86" text="bind:mealcalrcnts"/>
- <Cell col="87" text="bind:etclnkspec"/>
- <Cell col="88" text="bind:srchcondcnts"/>
- <Cell col="89" text="bind:rgsttm"/>
- <Cell col="90" text="bind:angioflagcd"/>
- <Cell col="91" text="bind:prcptims"/>
- <Cell col="92" text="bind:ansttm"/>
- <Cell col="93" text="bind:rgstdeptcd"/>
- <Cell col="94" text="bind:prtlno"/>
- <Cell col="95" text="bind:matrsetprcpspec"/>
- <Cell col="96" text="bind:calcscormastspec"/>
- <Cell col="97" text="bind:fastprcpflag"/>
- <Cell col="98" text="bind:drugrateqty"/>
- <Cell col="99" text="bind:issdeptcd"/>
- <Cell col="100" text="bind:updtdd"/>
- <Cell col="101" text="bind:tempstat"/>
- <Cell col="102" text="bind:instcd"/>
- <Cell col="103" text="bind:selfprcpflag"/>
- <Cell col="104" text="bind:updttm"/>
- <Cell col="105" text="bind:precureprcpflag"/>
- <Cell col="106" text="bind:orddd"/>
- <Cell col="107" text="bind:hosinhosoutflag"/>
- <Cell col="108" text="bind:prcplnkno"/>
- <Cell col="109" text="bind:tnsuseflag"/>
- <Cell col="110" text="bind:mealupdtflag"/>
- <Cell col="111" text="bind:offictourhealexamflag"/>
- <Cell col="112" text="bind:prcphistno"/>
- <Cell col="113" text="bind:tootfact"/>
- <Cell col="114" text="bind:rateprcpspec"/>
- <Cell col="115" text="bind:prepprcpflag"/>
- <Cell col="116" text="bind:prcpdelivefact"/>
- <Cell col="117" text="bind:drugspd"/>
- <Cell col="118" text="bind:orgprcpqty"/>
- <Cell col="119" text="bind:prcpauthflag"/>
- <Cell col="120" text="bind:cpno"/>
- <Cell col="121" text="bind:anticncrprtlno"/>
- <Cell col="122" text="bind:orddeptcd"/>
- <Cell col="123" text="bind:orddrid"/>
- <Cell col="124" text="bind:oldprcphistno"/>
- <Cell col="125" text="bind:hscttempprcpflag"/>
- <Cell col="126" text="bind:inclprcpcd"/>
- <Cell col="127" text="bind:inclprcpno"/>
- <Cell col="128" text="bind:calcflag"/>
- <Cell col="129" text="bind:calcyn"/>
- <Cell col="130" text="bind:hsctdelivepos"/>
- <Cell col="131" text="bind:hsctlnkno"/>
- <Cell col="132" text="bind:etcprcpflag"/>
- <Cell col="133" text="bind:aftcertflag"/>
- <Cell col="134" text="bind:aftcertdrid"/>
- <Cell col="135" text="bind:prcpvalidd"/>
- <Cell col="136" text="bind:spynpy1"/>
- <Cell col="137" text="bind:specdrid"/>
- <Cell col="138" text="bind:anticncrprtlno"/>
- <Cell col="139" text="bind:anticncrdayno"/>
- <Cell col="140" text="bind:druglnkno"/>
- <Cell col="141" text="bind:rehbprcpcurefreqflag"/>
- <Cell col="142" text="bind:dietprcpgenrflag"/>
- <Cell col="143" text="bind:irpayflag"/>
- <Cell col="144" text="bind:irflag"/>
- <Cell col="145" text="bind:procerdietflag"/>
- <Cell col="146" text="bind:diagtestconttestintvlflag"/>
- <Cell col="147" text="bind:drugindependpackflag"/>
- <Cell col="148" text="bind:diagtestconttestbasetm"/>
- <Cell col="149" text="bind:diagtestconttestorgtims"/>
- <Cell col="150" text="bind:ermediscmngtresncd"/>
- <Cell col="151" text="bind:rehbprcpenddd"/>
- <Cell col="152" text="bind:matrallsizespecid"/>
- <Cell col="153" text="bind:rehbprcpcurepartcd"/>
- <Cell col="154" text="bind:lowdrugresncd"/>
- <Cell col="155" text="bind:tfdtlcd"/>
- <Cell col="156" text="bind:dnorreqlnkno"/>
- <Cell col="157" text="bind:subcretno"/>
- <Cell col="158" text="bind:exptmthdfact"/>
- <Cell col="159" text="bind:lowdrugresnetcfact"/>
- <Cell col="160" text="bind:diagtestconttestcdspec"/>
- <Cell col="161" text="bind:drprcpetc1"/>
- <Cell col="162" text="bind:drprcpetc2"/>
- <Cell col="163" text="bind:drprcpetc3"/>
- <Cell col="164" text="bind:drprcpetc4"/>
- <Cell col="165" text="bind:drprcpetc5"/>
- <Cell col="166" text="bind:drprcpetc6"/>
- <Cell col="167" text="bind:drprcpetc7"/>
- <Cell col="168" text="bind:drprcpetc8"/>
- <Cell col="169" text="bind:drprcpetc9"/>
- <Cell col="170" text="bind:drprcpetc10"/>
- <Cell col="171" text="bind:prcptempcol1"/>
- <Cell col="172" text="bind:prcptempcol2"/>
- <Cell col="173" text="bind:prcptempcol3"/>
- <Cell col="174" text="bind:prcptempcol4"/>
- <Cell col="175" text="bind:prcptempcol5"/>
- <Cell col="176" text="bind:oldprcphistcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 495 102 600 124" id="button1" class="btn4" text="의뢰정보저장" anchor="default" onclick="group3_button1_onclick"/>
- <Div id="group4" taborder="14" position="absolute 0 10 1195 97" class="div_SA2" anchor="default">
- <Layouts>
- <Layout>
- <Edit id="output11" taborder="1" class="input_essential" position="absolute 95 10 195 29" anchor="default" onkeydown="group3_group4_output11_onkeydown"/>
- <Edit id="output12" taborder="2" readonly="true" class="output" position="absolute 280 10 380 29" anchor="default"/>
- <Static id="caption34" text="성명" class="search_name" position="absolute 202 12 255 29" anchor="default"/>
- <Static id="caption37" text="등록번호" class="search_name" position="absolute 7 12 83 29" anchor="default"/>
- <Edit id="output17" taborder="3" readonly="true" class="output" position="absolute 95 60 195 79" anchor="default"/>
- <Static id="caption33" text="성별/나이" class="search_name" position="absolute 7 37 93 54" anchor="default"/>
- <Edit id="output13" taborder="4" readonly="true" class="output" position="absolute 95 35 195 54" anchor="default"/>
- <Edit id="output14" taborder="5" readonly="true" class="output" position="absolute 455 10 555 29" anchor="default"/>
- <Static id="caption35" text="진료과" class="search_name" position="absolute 387 12 450 29" anchor="default"/>
- <Static id="caption36" text="입원일" class="search_name" position="absolute 202 62 260 79" anchor="default"/>
- <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=" "/>
- <Static id="caption31" text="병실" class="search_name" position="absolute 7 62 58 79" anchor="default"/>
- <Grid id="datagrid2" taborder="7" binddataset="ds_main_cnst_diaglist" useinputpanel="false" position="absolute 645 6 1183 80" anchor="default" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="105"/>
- <Column size="240"/>
- <Column size="189"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="상병코드"/>
- <Cell col="2" text="영문상병명"/>
- <Cell col="3" text="한글상병명"/>
- </Band>
- <Band id="body">
- <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"/>
- <Cell col="1" style="align:left middle;" text="bind:diagcd"/>
- <Cell col="2" style="align:left middle;" text="bind:diagengnm"/>
- <Cell col="3" style="align:left middle;" text="bind:diaghngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line11" linetype="horizontal" class="line_3" position="absolute 645 77 1183 83" anchor="default"/>
- <Static id="caption56" text="상병정보" class="search_name" position="absolute 567 12 647 29" anchor="default"/>
- <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 5 27 194 33" anchor="default"/>
- <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 5 52 194 58" anchor="default"/>
- <Shape id="line4" linetype="horizontal" class="line_2" position="absolute 5 77 194 83" anchor="default"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 200 27 376 33" anchor="default"/>
- <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 385 27 555 33" anchor="default"/>
- <Shape id="line7" linetype="horizontal" class="line_2" position="absolute 200 77 376 83" anchor="default"/>
- <Edit id="opt_rrgstno" taborder="8" readonly="true" class="output" position="absolute 280 35 380 54" anchor="default"/>
- <Static id="caption1" text="주민번호" class="search_name" position="absolute 202 37 278 54" anchor="default"/>
- <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 200 52 376 58" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Edit id="input18" taborder="16" position="absolute 880 155 960 174" maxlength="1" inputtype="number"/>
- <Edit id="input17" taborder="17" inputtype="number" maxlength="4" position="absolute 685 155 765 174"/>
- <Radio id="radio2" taborder="18" columncount="-1" rowcount="-1" position="absolute 686 129 778 149" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">예</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">아니오</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape id="line00" class="line_1" position="absolute 0 228 1195 234" style="strokepen:3 solid #33bbbbff;"/>
- <Button id="button00" taborder="19" text="복용법저장" class="btn4" position="absolute 935 206 1028 228" onclick="group3_button00_onclick"/>
- <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 ;"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption19" text="약품 식별 회신 등록" class="tit_1" position="absolute 0 0 180 25"/>
- <Div position="absolute 0 23 1195 50" id="group2" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 213 5 293 27" id="button4" class="btn3" text="약력조회" anchor="default" onclick="group2_button4_onclick"/>
- <Button position="absolute 295 5 375 27" id="button5" class="btn3" text="약품편람" anchor="default" onclick="group2_button5_onclick"/>
- <Button position="absolute 377 5 433 27" id="btn_prt" class="btn6" text="출력" anchor="default" onclick="group2_btn_prt_onclick"/>
- <Button position="absolute 1078 5 1134 27" id="btn_repl" class="btn4" text="회신" anchor="default" onclick="group2_btn_repl_onclick"/>
- <Button position="absolute 1138 5 1194 27" id="btn_del" class="btn4" text="삭제" anchor="default" onclick="group2_btn_del_onclick"/>
- <Button position="absolute 1018 5 1074 27" id="btn_save" class="btn4" text="저장" anchor="default" onclick="group2_btn_save_onclick"/>
- <Button position="absolute 958 5 1014 27" id="btn_sea" class="btn1" visible="false" text="조회" anchor="default" onclick="group2_btn_sea_onclick"/>
- <Button position="absolute 868 5 953 27" id="btn_can" class="btn4" text="회신취소" anchor="default" onclick="group2_btn_can_onclick"/>
- <Button position="absolute 1 5 105 27" id="button2" class="btn3" text="통합결과조회" anchor="default" onclick="group2_button2_onclick"/>
- <Button position="absolute 107 5 211 27" id="button3" class="btn3" text="통합기록조회" anchor="default" onclick="group2_button3_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_radio2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">예</Col>
- <Col id="cdid">1</Col>
- </Row>
- <Row>
- <Col id="cdnm">아니오</Col>
- <Col id="cdid">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cnst_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rgstseqno" type="STRING" size="256"/>
- <Column id="statflag" type="STRING" size="256"/>
- <Column id="drugrtn" type="STRING" size="256"/>
- <Column id="cnsttm" type="STRING" size="256"/>
- <Column id="replestm" type="STRING" size="256"/>
- <Column id="replimpsi" type="STRING" size="256"/>
- <Column id="remark" type="STRING" size="256"/>
- <Column id="repldd" type="STRING" size="256"/>
- <Column id="writid" type="STRING" size="256"/>
- <Column id="writnm" type="STRING" size="256"/>
- <Column id="replid" type="STRING" size="256"/>
- <Column id="replnm" type="STRING" size="256"/>
- <Column id="repltm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="rgstseqno"/>
- <Col id="statflag"/>
- <Col id="drugrtn"/>
- <Col id="cnsttm"/>
- <Col id="replestm"/>
- <Col id="replimpsi"/>
- <Col id="remark"/>
- <Col id="repldd"/>
- <Col id="writid"/>
- <Col id="writnm"/>
- <Col id="replid"/>
- <Col id="replnm"/>
- <Col id="repltm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cnst_cnstinfo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnstseqno" type="STRING" size="256"/>
- <Column id="formrecseq" type="STRING" size="256"/>
- <Column id="prcphosp" type="STRING" size="256"/>
- <Column id="prcphosptel" type="STRING" size="256"/>
- <Column id="prcppharm" type="STRING" size="256"/>
- <Column id="prcppharmtel" type="STRING" size="256"/>
- <Column id="drugresn" type="STRING" size="256"/>
- <Column id="drugrtn" type="STRING" size="256"/>
- <Column id="cnstdd" type="STRING" size="256"/>
- <Column id="cnstdeptnm" type="STRING" size="256"/>
- <Column id="cnstdrnm" type="STRING" size="256"/>
- <Column id="cnstdeptcd" type="STRING" size="256"/>
- <Column id="cnstdrid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cnstseqno"/>
- <Col id="formrecseq"/>
- <Col id="prcphosp"/>
- <Col id="prcphosptel"/>
- <Col id="prcppharm"/>
- <Col id="prcppharmtel"/>
- <Col id="drugresn"/>
- <Col id="drugrtn"/>
- <Col id="cnstdd"/>
- <Col id="cnstdeptnm"/>
- <Col id="cnstdrnm"/>
- <Col id="cnstdeptcd"/>
- <Col id="cnstdrid"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="rowcnt" type="STRING" size="256"/>
- <Column id="photyn" type="STRING" size="256"/>
- <Column id="phot" type="BLOB" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="comcnts" type="STRING" size="256"/>
- <Column id="efcysmm" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="useyncmt" type="STRING" size="256"/>
- <Column id="homodrugflag" type="STRING" size="256"/>
- <Column id="samedrug" type="STRING" size="256"/>
- <Column id="estmyn" type="STRING" size="256"/>
- <Column id="idseqno" type="STRING" size="256"/>
- <Column id="photid" type="STRING" size="256"/>
- <Column id="orgimg" type="STRING" size="256"/>
- <Column id="idcd" type="STRING" size="256"/>
- <Column id="usedesc" type="STRING" size="256"/>
- <Column id="kimsyn" type="STRING" size="256"/>
- <Column id="phot2" type="STRING" size="256"/>
- <Column id="comcls" type="STRING" size="256"/>
- <Column id="bigphot" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rowcnt"/>
- <Col id="photyn"/>
- <Col id="phot"/>
- <Col id="hngnm"/>
- <Col id="comcnts"/>
- <Col id="efcysmm"/>
- <Col id="useyn"/>
- <Col id="useyncmt"/>
- <Col id="homodrugflag"/>
- <Col id="samedrug"/>
- <Col id="estmyn"/>
- <Col id="idseqno"/>
- <Col id="photid"/>
- <Col id="orgimg"/>
- <Col id="idcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cnst_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sna" type="STRING" size="256"/>
- <Column id="cnstdeptcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="title" type="STRING" size="256"/>
- <Column id="rowtitle" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sna"/>
- <Col id="cnstdeptcd"/>
- <Col id="roomcd"/>
- <Col id="orddd"/>
- <Col id="rrgstno"/>
- <Col id="title"/>
- <Col id="rowtitle"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cnst_diaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagengnm" type="STRING" size="256"/>
- <Column id="diaghngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="diagcd"/>
- <Col id="diagengnm"/>
- <Col id="diaghngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="rgstseqno" type="STRING" size="256"/>
- <Column id="cnstdd" type="STRING" size="256"/>
- <Column id="formrecseq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="orddd"/>
- <Col id="cretno"/>
- <Col id="prcpgenrflag"/>
- <Col id="rgstseqno"/>
- <Col id="cnstdd"/>
- <Col id="formrecseq"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_selfdrug" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="savedata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnstcnts1" type="STRING" size="256"/>
- <Column id="cnstcnts2" type="STRING" size="256"/>
- <Column id="cnstcnts3" type="STRING" size="256"/>
- <Column id="cnstcnts4" type="STRING" size="256"/>
- <Column id="cnstcnts5" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="formrecseq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cnstcnts1"/>
- <Col id="cnstcnts2"/>
- <Col id="cnstcnts3"/>
- <Col id="cnstcnts4"/>
- <Col id="cnstcnts5"/>
- <Col id="pid"/>
- <Col id="formrecseq"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstseqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tmflag" type="STRING" size="256"/>
- <Column id="repldt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">복사하기 Ctrl+C</Col>
- <Col id="func">fRowCopy</Col>
- </Row>
- <Row>
- <Col id="label">붙여넣기 Ctrl+V</Col>
- <Col id="func">fPaste</Col>
- </Row>
- <Row>
- <Col id="label">지우기</Col>
- <Col id="func">fdel</Col>
- </Row>
- <Row>
- <Col id="label"/>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="label">사진파일 불러오기</Col>
- <Col id="func">floadimg</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cnststatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnststat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_selfdrug" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="selfholdflag" type="STRING" size="256"/>
- <Column id="selfholdstat" type="STRING" size="256"/>
- <Column id="selfholdgenrdd" type="STRING" size="256"/>
- <Column id="anamneflag" type="STRING" size="256"/>
- <Column id="drugspdunitflag" type="STRING" size="256"/>
- <Column id="clincstdyflag" type="STRING" size="256"/>
- <Column id="cvrtbfprcpgenrflag" type="STRING" size="256"/>
- <Column id="trnptbftestflag" type="STRING" size="256"/>
- <Column id="rgstridnm" type="STRING" size="256"/>
- <Column id="etcprcpresncd" type="STRING" size="256"/>
- <Column id="rgstrid" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="fixprcpflag" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="choiordflag" type="STRING" size="256"/>
- <Column id="optermcd" type="STRING" size="256"/>
- <Column id="oprsrvno" type="STRING" size="256"/>
- <Column id="prcppkspec" type="STRING" size="256"/>
- <Column id="drugmthdspccd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="prcpflag" type="STRING" size="256"/>
- <Column id="prcplnkdd" type="STRING" size="256"/>
- <Column id="cvrtbfcretno" type="STRING" size="256"/>
- <Column id="mealprotcnts" type="STRING" size="256"/>
- <Column id="pampkspec" type="STRING" size="256"/>
- <Column id="orgprcpnm" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="drugmastspec" type="STRING" size="256"/>
- <Column id="prcpdayno" type="STRING" size="256"/>
- <Column id="prcpessninptflag" type="STRING" size="256"/>
- <Column id="cvrtbforddd" type="STRING" size="256"/>
- <Column id="prcpdirecflag" type="STRING" size="256"/>
- <Column id="prcpvolunitnm" type="STRING" size="256"/>
- <Column id="updtrid" type="STRING" size="256"/>
- <Column id="prnprcpflag" type="STRING" size="256"/>
- <Column id="prcpinptflag" type="STRING" size="256"/>
- <Column id="nigtprcpflag" type="STRING" size="256"/>
- <Column id="rateprcpflag" type="STRING" size="256"/>
- <Column id="prcpsetcd" type="STRING" size="256"/>
- <Column id="prcphistcd" type="STRING" size="256"/>
- <Column id="grupsnglflag" type="STRING" size="256"/>
- <Column id="tnsfiltflag" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="erreadflag" type="STRING" size="256"/>
- <Column id="tempprcpflag" type="STRING" size="256"/>
- <Column id="ordreqlnkno" type="STRING" size="256"/>
- <Column id="clincstdycd" type="STRING" size="256"/>
- <Column id="drugpackflag" type="STRING" size="256"/>
- <Column id="prcpkindcd" type="STRING" size="256"/>
- <Column id="drugmthdspccdnm" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="prcprefseq" type="STRING" size="256"/>
- <Column id="prcpsignflag" type="STRING" size="256"/>
- <Column id="stemcellflag" type="STRING" size="256"/>
- <Column id="updtdeptcd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="hosinprcpresncd" type="STRING" size="256"/>
- <Column id="prcpmixno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="erprcpflag" type="STRING" size="256"/>
- <Column id="prcpvol" type="STRING" size="256"/>
- <Column id="asttestflag" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- <Column id="powdflag" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- <Column id="prcpvolunitflag" type="STRING" size="256"/>
- <Column id="opansflagcd" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="prcphopedd" type="STRING" size="256"/>
- <Column id="prcpqtyunitnm" type="STRING" size="256"/>
- <Column id="prcpqty" type="STRING" size="256"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256"/>
- <Column id="rgstdt" type="STRING" size="256"/>
- <Column id="prcpstatcd" type="STRING" size="256"/>
- <Column id="suppdeptspec" type="STRING" size="256"/>
- <Column id="testreqlnkno" type="STRING" size="256"/>
- <Column id="portprcpflag" type="STRING" size="256"/>
- <Column id="contprcpspec" type="STRING" size="256"/>
- <Column id="selfdrugflag" type="STRING" size="256"/>
- <Column id="prcpqtyunitflag" type="STRING" size="256"/>
- <Column id="rgstdd" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="mealcalrcnts" type="STRING" size="256"/>
- <Column id="etclnkspec" type="STRING" size="256"/>
- <Column id="srchcondcnts" type="STRING" size="256"/>
- <Column id="rgsttm" type="STRING" size="256"/>
- <Column id="angioflagcd" type="STRING" size="256"/>
- <Column id="prcptims" type="STRING" size="256"/>
- <Column id="ansttm" type="STRING" size="256"/>
- <Column id="rgstdeptcd" type="STRING" size="256"/>
- <Column id="prtlno" type="STRING" size="256"/>
- <Column id="matrsetprcpspec" type="STRING" size="256"/>
- <Column id="calcscormastspec" type="STRING" size="256"/>
- <Column id="fastprcpflag" type="STRING" size="256"/>
- <Column id="drugrateqty" type="STRING" size="256"/>
- <Column id="issdeptcd" type="STRING" size="256"/>
- <Column id="updtdd" type="STRING" size="256"/>
- <Column id="tempstat" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="selfprcpflag" type="STRING" size="256"/>
- <Column id="updttm" type="STRING" size="256"/>
- <Column id="precureprcpflag" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="hosinhosoutflag" type="STRING" size="256"/>
- <Column id="prcplnkno" type="STRING" size="256"/>
- <Column id="tnsuseflag" type="STRING" size="256"/>
- <Column id="mealupdtflag" type="STRING" size="256"/>
- <Column id="offictourhealexamflag" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="tootfact" type="STRING" size="256"/>
- <Column id="rateprcpspec" type="STRING" size="256"/>
- <Column id="prepprcpflag" type="STRING" size="256"/>
- <Column id="prcpdelivefact" type="STRING" size="256"/>
- <Column id="drugspd" type="STRING" size="256"/>
- <Column id="orgprcpqty" type="STRING" size="256"/>
- <Column id="prcpauthflag" type="STRING" size="256"/>
- <Column id="cpno" type="STRING" size="256"/>
- <Column id="anticncrprtlno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="oldprcphistno" type="STRING" size="256"/>
- <Column id="hscttempprcpflag" type="STRING" size="256"/>
- <Column id="inclprcpcd" type="STRING" size="256"/>
- <Column id="inclprcpno" type="STRING" size="256"/>
- <Column id="calcflag" type="STRING" size="256"/>
- <Column id="calcyn" type="STRING" size="256"/>
- <Column id="hsctdelivepos" type="STRING" size="256"/>
- <Column id="hsctlnkno" type="STRING" size="256"/>
- <Column id="etcprcpflag" type="STRING" size="256"/>
- <Column id="aftcertflag" type="STRING" size="256"/>
- <Column id="aftcertdrid" type="STRING" size="256"/>
- <Column id="prcpvalidd" type="STRING" size="256"/>
- <Column id="spynpy1" type="STRING" size="256"/>
- <Column id="specdrid" type="STRING" size="256"/>
- <Column id="anticncrprtlno" type="STRING" size="256"/>
- <Column id="anticncrdayno" type="STRING" size="256"/>
- <Column id="druglnkno" type="STRING" size="256"/>
- <Column id="rehbprcpcurefreqflag" type="STRING" size="256"/>
- <Column id="dietprcpgenrflag" type="STRING" size="256"/>
- <Column id="irpayflag" type="STRING" size="256"/>
- <Column id="irflag" type="STRING" size="256"/>
- <Column id="procerdietflag" type="STRING" size="256"/>
- <Column id="diagtestconttestintvlflag" type="STRING" size="256"/>
- <Column id="drugindependpackflag" type="STRING" size="256"/>
- <Column id="diagtestconttestbasetm" type="STRING" size="256"/>
- <Column id="diagtestconttestorgtims" type="STRING" size="256"/>
- <Column id="ermediscmngtresncd" type="STRING" size="256"/>
- <Column id="rehbprcpenddd" type="STRING" size="256"/>
- <Column id="matrallsizespecid" type="STRING" size="256"/>
- <Column id="rehbprcpcurepartcd" type="STRING" size="256"/>
- <Column id="lowdrugresncd" type="STRING" size="256"/>
- <Column id="tfdtlcd" type="STRING" size="256"/>
- <Column id="dnorreqlnkno" type="STRING" size="256"/>
- <Column id="subcretno" type="STRING" size="256"/>
- <Column id="exptmthdfact" type="STRING" size="256"/>
- <Column id="lowdrugresnetcfact" type="STRING" size="256"/>
- <Column id="diagtestconttestcdspec" type="STRING" size="256"/>
- <Column id="drprcpetc1" type="STRING" size="256"/>
- <Column id="drprcpetc2" type="STRING" size="256"/>
- <Column id="drprcpetc3" type="STRING" size="256"/>
- <Column id="drprcpetc4" type="STRING" size="256"/>
- <Column id="drprcpetc5" type="STRING" size="256"/>
- <Column id="drprcpetc6" type="STRING" size="256"/>
- <Column id="drprcpetc7" type="STRING" size="256"/>
- <Column id="drprcpetc8" type="STRING" size="256"/>
- <Column id="drprcpetc9" type="STRING" size="256"/>
- <Column id="drprcpetc10" type="STRING" size="256"/>
- <Column id="prcptempcol1" type="STRING" size="256"/>
- <Column id="prcptempcol2" type="STRING" size="256"/>
- <Column id="prcptempcol3" type="STRING" size="256"/>
- <Column id="prcptempcol4" type="STRING" size="256"/>
- <Column id="prcptempcol5" type="STRING" size="256"/>
- <Column id="oldprcphistcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="selfholdflag"/>
- <Col id="selfholdstat"/>
- <Col id="selfholdgenrdd"/>
- <Col id="anamneflag"/>
- <Col id="drugspdunitflag"/>
- <Col id="clincstdyflag"/>
- <Col id="cvrtbfprcpgenrflag"/>
- <Col id="trnptbftestflag"/>
- <Col id="rgstridnm"/>
- <Col id="etcprcpresncd"/>
- <Col id="rgstrid"/>
- <Col id="prcpno"/>
- <Col id="fixprcpflag"/>
- <Col id="prcpnm"/>
- <Col id="choiordflag"/>
- <Col id="optermcd"/>
- <Col id="oprsrvno"/>
- <Col id="prcppkspec"/>
- <Col id="drugmthdspccd"/>
- <Col id="wardcd"/>
- <Col id="prcpflag"/>
- <Col id="prcplnkdd"/>
- <Col id="cvrtbfcretno"/>
- <Col id="mealprotcnts"/>
- <Col id="pampkspec"/>
- <Col id="orgprcpnm"/>
- <Col id="fstrgstrid"/>
- <Col id="drugmastspec"/>
- <Col id="prcpdayno"/>
- <Col id="prcpessninptflag"/>
- <Col id="cvrtbforddd"/>
- <Col id="prcpdirecflag"/>
- <Col id="prcpvolunitnm"/>
- <Col id="updtrid"/>
- <Col id="prnprcpflag"/>
- <Col id="prcpinptflag"/>
- <Col id="nigtprcpflag"/>
- <Col id="rateprcpflag"/>
- <Col id="prcpsetcd"/>
- <Col id="prcphistcd"/>
- <Col id="grupsnglflag"/>
- <Col id="tnsfiltflag"/>
- <Col id="prcpdd"/>
- <Col id="erreadflag"/>
- <Col id="tempprcpflag"/>
- <Col id="ordreqlnkno"/>
- <Col id="clincstdycd"/>
- <Col id="drugpackflag"/>
- <Col id="prcpkindcd"/>
- <Col id="drugmthdspccdnm"/>
- <Col id="cretno"/>
- <Col id="prcprefseq"/>
- <Col id="prcpsignflag"/>
- <Col id="stemcellflag"/>
- <Col id="updtdeptcd"/>
- <Col id="prcpcd"/>
- <Col id="hosinprcpresncd"/>
- <Col id="prcpmixno"/>
- <Col id="pid"/>
- <Col id="indd"/>
- <Col id="erprcpflag"/>
- <Col id="prcpvol"/>
- <Col id="asttestflag"/>
- <Col id="prcpgenrflag"/>
- <Col id="roomcd"/>
- <Col id="prcpclscd"/>
- <Col id="powdflag"/>
- <Col id="payflagcd"/>
- <Col id="prcpvolunitflag"/>
- <Col id="opansflagcd"/>
- <Col id="fstrgstdt"/>
- <Col id="lastupdtrid"/>
- <Col id="prcphopedd"/>
- <Col id="prcpqtyunitnm"/>
- <Col id="prcpqty"/>
- <Col id="prcpexecdeptcd"/>
- <Col id="rgstdt"/>
- <Col id="prcpstatcd"/>
- <Col id="suppdeptspec"/>
- <Col id="testreqlnkno"/>
- <Col id="portprcpflag"/>
- <Col id="contprcpspec"/>
- <Col id="selfdrugflag"/>
- <Col id="prcpqtyunitflag"/>
- <Col id="rgstdd"/>
- <Col id="lastupdtdt"/>
- <Col id="mealcalrcnts"/>
- <Col id="etclnkspec"/>
- <Col id="srchcondcnts"/>
- <Col id="rgsttm"/>
- <Col id="angioflagcd"/>
- <Col id="prcptims"/>
- <Col id="ansttm"/>
- <Col id="rgstdeptcd"/>
- <Col id="prtlno"/>
- <Col id="matrsetprcpspec"/>
- <Col id="calcscormastspec"/>
- <Col id="fastprcpflag"/>
- <Col id="drugrateqty"/>
- <Col id="issdeptcd"/>
- <Col id="updtdd"/>
- <Col id="tempstat"/>
- <Col id="instcd"/>
- <Col id="selfprcpflag"/>
- <Col id="updttm"/>
- <Col id="precureprcpflag"/>
- <Col id="orddd"/>
- <Col id="hosinhosoutflag"/>
- <Col id="prcplnkno"/>
- <Col id="tnsuseflag"/>
- <Col id="mealupdtflag"/>
- <Col id="offictourhealexamflag"/>
- <Col id="prcphistno"/>
- <Col id="tootfact"/>
- <Col id="rateprcpspec"/>
- <Col id="prepprcpflag"/>
- <Col id="prcpdelivefact"/>
- <Col id="drugspd"/>
- <Col id="orgprcpqty"/>
- <Col id="prcpauthflag"/>
- <Col id="cpno"/>
- <Col id="anticncrprtlno"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- <Col id="oldprcphistno"/>
- <Col id="hscttempprcpflag"/>
- <Col id="inclprcpcd"/>
- <Col id="inclprcpno"/>
- <Col id="calcflag"/>
- <Col id="calcyn"/>
- <Col id="hsctdelivepos"/>
- <Col id="hsctlnkno"/>
- <Col id="etcprcpflag"/>
- <Col id="aftcertflag"/>
- <Col id="aftcertdrid"/>
- <Col id="prcpvalidd"/>
- <Col id="spynpy1"/>
- <Col id="specdrid"/>
- <Col id="anticncrprtlno"/>
- <Col id="anticncrdayno"/>
- <Col id="druglnkno"/>
- <Col id="rehbprcpcurefreqflag"/>
- <Col id="dietprcpgenrflag"/>
- <Col id="irpayflag"/>
- <Col id="irflag"/>
- <Col id="procerdietflag"/>
- <Col id="diagtestconttestintvlflag"/>
- <Col id="drugindependpackflag"/>
- <Col id="diagtestconttestbasetm"/>
- <Col id="diagtestconttestorgtims"/>
- <Col id="ermediscmngtresncd"/>
- <Col id="rehbprcpenddd"/>
- <Col id="matrallsizespecid"/>
- <Col id="rehbprcpcurepartcd"/>
- <Col id="lowdrugresncd"/>
- <Col id="tfdtlcd"/>
- <Col id="dnorreqlnkno"/>
- <Col id="subcretno"/>
- <Col id="exptmthdfact"/>
- <Col id="lowdrugresnetcfact"/>
- <Col id="diagtestconttestcdspec"/>
- <Col id="drprcpetc1"/>
- <Col id="drprcpetc2"/>
- <Col id="drprcpetc3"/>
- <Col id="drprcpetc4"/>
- <Col id="drprcpetc5"/>
- <Col id="drprcpetc6"/>
- <Col id="drprcpetc7"/>
- <Col id="drprcpetc8"/>
- <Col id="drprcpetc9"/>
- <Col id="drprcpetc10"/>
- <Col id="prcptempcol1"/>
- <Col id="prcptempcol2"/>
- <Col id="prcptempcol3"/>
- <Col id="prcptempcol4"/>
- <Col id="prcptempcol5"/>
- <Col id="oldprcphistcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_popupdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="repltype" type="STRING" size="256"/>
- <Column id="writid" type="STRING" size="256"/>
- <Column id="writnm" type="STRING" size="256"/>
- <Column id="receivedata" type="STRING" size="256"/>
- <Column id="receivecolumn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="repltype"/>
- <Col id="writid"/>
- <Col id="writnm"/>
- <Col id="receivedata">ds_main_cnst_cnstinfo</Col>
- <Col id="receivecolumn">replid</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_ret" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">복사하기 Ctrl+C</Col>
- <Col id="func">fRowCopy</Col>
- </Row>
- <Row>
- <Col id="label">붙여넣기 Ctrl+V</Col>
- <Col id="func">fPaste</Col>
- </Row>
- <Row>
- <Col id="label">지우기</Col>
- <Col id="func">fdel</Col>
- </Row>
- <Row>
- <Col id="label"/>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="label">사진파일 불러오기</Col>
- <Col id="func">floadimg</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugphot" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group4.output11" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="pid"/>
- <BindItem id="item1" compid="group3.group4.output12" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="hngnm"/>
- <BindItem id="item2" compid="group3.group4.output13" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="sna"/>
- <BindItem id="item3" compid="group3.group4.output17" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="roomcd"/>
- <BindItem id="item4" compid="group3.group4.opt_rrgstno" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="rrgstno"/>
- <BindItem id="item5" compid="group3.group4.output14" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="cnstdeptcd"/>
- <BindItem id="item6" compid="group3.group4.output15" propid="value" datasetid="ds_main_cnst_patinfolist" columnid="orddd"/>
- <BindItem id="item7" compid="group3.input12" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="prcphosp"/>
- <BindItem id="item8" compid="group3.input16" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="prcppharm"/>
- <BindItem id="item9" compid="group3.input10" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="prcphosptel"/>
- <BindItem id="item10" compid="group3.input15" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="prcppharmtel"/>
- <BindItem id="item11" compid="group3.output16" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="cnstdd"/>
- <BindItem id="item12" compid="group3.output19" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="cnstdeptnm"/>
- <BindItem id="item13" compid="group3.output20" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="cnstdrnm"/>
- <BindItem id="item14" compid="group3.input19" propid="value" datasetid="ds_main_cnst_cnstinfo2" columnid="drugresn"/>
- <BindItem id="item16" compid="group3.input4" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="remark"/>
- <BindItem id="item18" compid="group3.opt_cnsttm" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="cnsttm"/>
- <BindItem id="item19" compid="group3.input5" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="writnm"/>
- <BindItem id="item20" compid="group3.input6" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="replnm"/>
- <BindItem id="item21" compid="group3.output18" propid="value" datasetid="ds_hidden" columnid="repldt"/>
- <BindItem id="item22" compid="group3.input18" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="replimpsi"/>
- <BindItem id="item15" compid="group3.input17" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="replestm"/>
- <BindItem id="item17" compid="group3.radio2" propid="value" datasetid="ds_main_cnst_cnstinfo" columnid="drugrtn"/>
- <BindItem id="item23" compid="group3.img_drugphot" propid="image" datasetid="ds_temp" columnid="drugphot"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-08-20
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-08-20 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_pharmacyxp::SMADC01600.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var pasteType = ""; // 붙여넣기 구분
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 복사하기
- ****************************************************************************************/
- function fRowCopy(){
- //grd_drugid.dispatch("oncopy");
- astgrid_oncopy();
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 붙여넣기
- ****************************************************************************************/
- function fPaste(){
- //grd_drugid.dispatch("onpaste");
- astgrid_onpaste();
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 지우기
- ****************************************************************************************/
- function fdel(){
- fgrid_clear();
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 이미지 붙여넣기
- ****************************************************************************************/
- function fPasteimg(){
- //pasteType="img";
- //grd_drugid.dispatch("onpaste");
- }
- function fn_rdoEvent(value)
- {
- ds_main_cnst_cnstinfo.setColumn(0,"drugrtn",value);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMADC01600
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMADC01600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMADC01600
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMADC01600_onload(obj:Form, e:LoadEventInfo)
- {
- //group3.radio2.setInitComp("col=2,row=1",ds_init_radio2,"cdid","cdnm","fn_rdoEvent");
-
- try{
- ds_temp_cnstinfo.copyData(arg_ds_temp_cnstinfo);
- }catch(e){}
-
- //2008-12-01 버튼권한
- group2.btn_save.enable != !frmf_checkAuth("X") ; //저장
- group2.btn_repl.enable != !frmf_checkAuth("X") ; //회신
- group2.btn_del.enable != !frmf_checkAuth("X") ; //삭제
- group2.btn_can.visible = false; //회신취소 20120822 김치국 회신취소를 위한 방법
- group3.grd_drugid.setBandProperty("head","size",40);
- // group3.grd_drugid.setFormatRowProperty(-1,"size",40);
- // 진료화면에서 팝업시 cnstinfo/cnsttype의 내용은 존재하지 않음
- // 의뢰화면에서 팝업 로딩시 cnsttype = "ast"
- if(ds_temp_cnstinfo.getColumn(0,"cnsttype") != "ast"){
- var pid = ds_temp_cnstinfo.getColumn(0,"pid");
- var formrecseq = ds_temp_cnstinfo.getColumn(0,"formrecseq");
- if(utlf_isNull(formrecseq)) {
- ds_main_cnst_drugidlist.clearData();
- return; // 약국메뉴에서 직접 로딩시
- }
- // consult 에서 로딩시 버튼 숨기기
- group2.btn_save.visible = false;
- group2.btn_repl.visible = false;
- group2.btn_del.visible = false;
- group3.btn_srch.visible = false;
- group3.btn_grdadd.visible = false;
- group3.btn_grddel.visible = false;
-
- ds_send_srchinfo.setColumn(0,"formrecseq",formrecseq);
- ds_send_srchinfo.setColumn(0,"pid",pid);
- // emr에서 회신내용 확인시 회신확정으로 변경 (TXADC66201)
- var oParam = {};
- oParam.id = "TXADC66201";
- oParam.service = "pharmacyconsultapp.ReqMngt";
- oParam.method = "reqExeReplCnstStat";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_hidden_cnststatinfo=cnststatinfo";
- oParam.async = false;
- oParam.callback = "cf_TXADC66201";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXADC66201") > -1){
- var oParam = {};
- oParam.id = "TRADC01602";
- oParam.service = "pharmacyconsultapp.DrugId";
- oParam.method = "reqGetDrugIdCnstInfo";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_temp_cnstinfo=cnstinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRADC01602";
- tranf_submit(oParam);
- }
- }
-
- var formrecseq = ds_temp_cnstinfo.getColumn(0,"formrecseq");
- var pid = ds_temp_cnstinfo.getColumn(0,"pid");
- var cretno = ds_temp_cnstinfo.getColumn(0,"cretno");
- var orddd = ds_temp_cnstinfo.getColumn(0,"orddd");
- var prcpgenrflag = ds_temp_cnstinfo.getColumn(0,"prcpgenrflag");
- var rgstseqno = ds_temp_cnstinfo.getColumn(0,"rgstseqno");
- var cnstdd = ds_temp_cnstinfo.getColumn(0,"cnstdd");
-
- if ( !utlf_isNull(pid) ) {
- ds_send_srchinfo.setColumn(0,"formrecseq" , formrecseq);
- ds_send_srchinfo.setColumn(0,"pid" , pid);
- ds_send_srchinfo.setColumn(0,"cretno" , cretno);
- ds_send_srchinfo.setColumn(0,"orddd" , orddd);
- ds_send_srchinfo.setColumn(0,"prcpgenrflag" , prcpgenrflag);
- ds_send_srchinfo.setColumn(0,"rgstseqno" , rgstseqno);
- ds_send_srchinfo.setColumn(0,"cnstdd" , cnstdd);
- var oParam = {};
- oParam.id = "TRADC01601";
- oParam.service = "pharmacyconsultapp.DrugId";
- oParam.method = "reqGetDrugIdCnst";
- oParam.inds = "req=ds_send_srchinfo";
- 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";
- oParam.async = false;
- oParam.callback = "cf_TRADC01601";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TRADC01601") < 0) {
- ds_main_cnst_patinfolist.clearData();
- ds_main_cnst_diaglist.clearData();
- ds_main_cnst_cnstinfo.clearData();
- ds_main_cnst_cnstinfo.addRow();
- ds_main_cnst_cnstinfo2.clearData();
- ds_main_cnst_cnstinfo2.addRow();
- ds_main_cnst_drugidlist.clearData();
- }else{
- //group3.radio2.setData(ds_main_cnst_cnstinfo.getColumn(0,"drugrtn"));
-
-
- var cnt = 0;
- var phot2 = "";
- var imgobj = new Image();
-
- for(var i = 0; i < ds_main_cnst_drugidlist.rowcount; i++) {
-
- kimsyn = ds_main_cnst_drugidlist.getColumn(i, "kimsyn");
- phot2 = ds_main_cnst_drugidlist.getColumn(i, "phot2");
-
- imgobj.loadImage(phot2);
-
- if(imgobj.height <= 0) {
- ds_main_cnst_drugidlist.setColumn(i, "phot2", "");
- }
-
- if(kimsyn=="N") {
- cnt++;
- }
- }
- if(cnt == 0) {
- group3.grd_drugid.setFormatColProperty(3, "size", 0);
- }
-
-
- var rowcnt = 0;
- rowcnt = rowcnt + 1 ;
- //회신일시 설정 (회신일자 + 회신시간)
- var repldd = utlf_transNullToEmpty(ds_main_cnst_cnstinfo.getColumn(0,"repldd"));
- var repltm = utlf_transNullToEmpty(ds_main_cnst_cnstinfo.getColumn(0,"repltm"));
- var repldt = repldd+repltm;
- ds_hidden.setColumn(0,"repldt",utlf_isNull(repldd+repltm)?null:repldd+repltm);
- // if(model.getValue("/root/main/cnst/drugidlist["+1+"]/idseqno") == ""){
- if(utlf_isNull(ds_main_cnst_drugidlist.getColumn(0,"idseqno"))){
- ds_main_cnst_drugidlist.clearData();
- }else{
- ds_main_cnst_drugidlist.updatecontrol = false;
- fImgSetting(true);
- ds_main_cnst_drugidlist.updatecontrol = true;
- }
- // 저장된 약반송 여부가 없으면 의뢰시 지정한 약반송 여부 표시
- if(utlf_isNull(ds_main_cnst_cnstinfo.getColumn(0,"drugrtn"))){
- ds_main_cnst_cnstinfo.setColumn(0,"drugrtn", ds_main_cnst_cnstinfo2.getColumn(0,"drugrtn"));
- }
- // 기존 작성자가 존재하지 않으면 현재 사용자의 아이디값으로 설정
- if(utlf_isNull(ds_main_cnst_cnstinfo.getColumn(0,"writnm"))) {
- ds_main_cnst_cnstinfo.setColumn(0,"writid", sysf_getUserId());
- ds_main_cnst_cnstinfo.setColumn(0,"writnm", sysf_getUserName());
- }
- }
- /////2012.9.11 김치국 SEQ부여하기
- ds_main_cnst_drugidlist.updatecontrol = false;
- ds_main_cnst_drugidlist.addColumn("rowcnt","string");
- for( var i = 0 ; i < ds_main_cnst_drugidlist.rowcount ; i++ ) {
- ds_main_cnst_drugidlist.setColumn(i,"rowcnt", i);
- }
- ds_main_cnst_drugidlist.updatecontrol = true;
-
- if (ds_main_cnst_cnstinfo.getColumn(0,"statflag") == "Z"){
- sysf_messageBox("회신처리된 의뢰 건","I009");
- }
-
- /*
- var cnt = 0;
- for(var i = 0; i < ds_main_cnst_drugidlist.rowcount; i++) {
-
- kimsyn = ds_main_cnst_drugidlist.getColumn(i, "kimsyn");
-
- if(kimsyn=="N") {
- cnt++;
- }
- }
- if(cnt == 0) {
- group3.grd_drugid.setFormatColProperty(3, "size", 0);
- }
- */
- fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리
- }else{
- ds_main_cnst_drugidlist.clearData();
- }
- if(ds_temp_cnstinfo.getColumn(0,"pidchkflag") == "Y") {
- // 20100119_laboru_약사 이외의 사용자인 경우
- group2.btn_save.enable = false;
- group2.btn_repl.enable = false;
- group2.btn_del.enable = false;
- }
- //회신취소 20120822 김치국 회신취소를 위한 방법 약무정보파트 부서는 모두 보여줌 , 칠곡 약제부, ast아이디 보이게 수정 2014.10.6 김치국
- if ( sysf_getUserInfo("dutunitcd") == "3242406000" || sysf_getUserInfo("dutunitcd") == "3242400000" || sysf_getUserInfo("dutunitcd") == "3242800000" || sysf_getUserInfo("dutunitcd") == "1000000000" ) {
- group2.btn_can.visible = true;
- }
-
- grdf_setRowTypeIcon(group3.grd_drugid, 0);
-
- frmf_createPopupMenu("pmn_menu"
- ,"pmn_menu_onmenuclick"
- ,[{id: "fRowCopy" , level: "0", title: "복사하기 Ctrl+C"}
- ,{id: "fPaste" , level: "0", title: "붙여넣기 Ctrl+V"}
- ,{id: "fdel" , level: "0", title: "지우기"}
- ,{id: "" , level: "0", title: ""}
- ,{id: "floadimg" , level: "0", title: "사진파일 불러오기"}
- ]
- );
- }
- function cf_TXADC66201(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_TRADC01601(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(ds_main_cnst_cnstinfo.rowcount == 0) ds_main_cnst_cnstinfo.addRow();
- if(ds_main_cnst_cnstinfo2.rowcount == 0) ds_main_cnst_cnstinfo2.addRow();
-
- ds_main_cnst_drugidlist.updateColID("photid","photoid");
- ds_main_cnst_drugidlist.rowposition = -1;
- }
- //ds에 생성된 id별 함수 실행
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group3.group4.output11
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 입려후 엔터로 조회
- ****************************************************************************************/
- function group3_group4_output11_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- ds_send_srchinfo.clearData();
- ds_send_srchinfo.addRow();
- group2_btn_sea_onclick();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 환자정보 조회
- ****************************************************************************************/
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fRefDrugidCnst();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 통합결과조회 팝업 오픈
- ****************************************************************************************/
- function group2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- dsf_createDsRow("ds_temp_srchinfo",[{col:"srchpid", val:ds_send_srchinfo.getColumn(0,"pid")}]);
- objArg.arg_ds_send_singdata = ds_temp_srchinfo;
-
- frmf_open("SMAER00800", "SMAER00800", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 통합기록조회 팝업 오픈
- ****************************************************************************************/
- function group2_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("SMMRI00400_param_pid", ds_send_srchinfo.getColumn(0,"pid"));
- // open("SMMRI00400");
- frmf_open("SMMRI00400", "SMMRI00400", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약력조회 팝업 오픈
- ****************************************************************************************/
- function group2_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- //dsf_createDsRow("ds_temp_srchinfo",[{col:"srchpid", val:ds_send_srchinfo.getColumn(0,"pid")}]);
- objArg.arg_ds_temp_patinfo = ds_send_srchinfo;
-
- frmf_open("SMADB10100", "SMADB10100", objArg, null, 0, 0, 0, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.button5
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약품편람 팝업 오픈
- ****************************************************************************************/
- function group2_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMADB01900", "SMADB01900", null, null, 0, 0, 0, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_prt
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 출력버튼 클릭
- ****************************************************************************************/
- function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- //****************************************************************
- // 주민등록번호 편집, 999999-9****** 형식..
- var rrgstno = ds_main_cnst_patinfolist.getColumn(0,"rrgstno");
- var tmp_rrgstno = rrgstno.substr(0,8)+"******";
- ds_main_cnst_patinfolist.setColumn(0,"rrgstno", tmp_rrgstno);
- // model.makeNode("/root/main/cnst/drugidlist"); //환자 원무정보를 끌어올수있게 20100426 황세원
- //****************************************************************
- //****************************************************************
- // 약품식별 회신서 출력
- // exeReportPreview("RPADC01600", "XMLSTR", "", "", "false","","","","","false");
- var objCxtCommon = new ExtCommon();
- ds_main_cnst_drugidlist.updatecontrol = false;
- ds_main_cnst_drugidlist.addColumn("phot_prt","string");
- var kimsyn = "";
-
- for(var i = 0 ; i < ds_main_cnst_drugidlist.rowcount ; i++) {
- kimsyn = ds_main_cnst_drugidlist.getColumn(i, "kimsyn");
-
- if(kimsyn == "Y") {
- ds_main_cnst_drugidlist.setColumn(i,"phot_prt", ds_main_cnst_drugidlist.getColumn(i, "phot2"));
- } else {
-
- ds_main_cnst_drugidlist.setColumn(i,"phot_prt",objCxtCommon.encodeBase64(ds_main_cnst_drugidlist.getColumn(i, "phot")));
- }
- }
- ds_main_cnst_drugidlist.updatecontrol = true;
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/cnst/drugidlist" , ds_main_cnst_drugidlist); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "/root/main/cnst/patinfolist" , ds_main_cnst_patinfolist); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "/root/main/cnst/cnstinfo" , ds_main_cnst_cnstinfo); // 데이터셋 3
- rptf_setNodeListToDOM(objDOM, "/root/main/cnst/cnstinfo2" , ds_main_cnst_cnstinfo2); // 데이터셋 4
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;show=0;";
- rptf_exeReportPreview30(["RPADC01600"],[objParam], option); //미리보기만 가능
-
-
- //****************************************************************
- // 주민등록번호 원상태로 돌림
- ds_main_cnst_patinfolist.setColumn(0,"rrgstno", rrgstno);
- // opt_rrgstno.refresh();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭
- ****************************************************************************************/
- function group2_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_cnst_cnstinfo.setColumn(0,"statflag", "D"); //저장
- dsf_makeValue(ds_main_cnst_cnstinfo,"cnststat","string","21"); //회신임시
-
- ds_main_cnst_cnstinfo.setColumn(0,"writid", sysf_getUserId);
- call_TRADC62202();
-
- if(arErrorCode.pop("TRADC62202") > -1){
- var cnststat = ds_hidden_cnststatinfo.getColumn(0,"cnststat");
-
- if(cnststat == "04"){
- sysf_messageBox("[취소] 더이상 수정하실 수","I004");
- }else if (cnststat == "30"){
- sysf_messageBox("[회신확정] 더이상 수정하실 수","I004");
- }else{
- fSaveReqDrugId();
- }
- }
- }
- function call_TRADC62202() {
- var oParam = {};
- oParam.id = "TRADC62202";
- oParam.service = "pharmacyconsultapp.ReqMngt";
- oParam.method = "reqGetCnstStat";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_hidden_cnststatinfo=cnststatinfo";
- oParam.async = false;
- oParam.callback = "cf_TRADC62202";
- tranf_submit(oParam);
- }
- function cf_TRADC62202(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_repl
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 회신버튼 클릭
- ****************************************************************************************/
- function group2_btn_repl_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChk = "N";
- call_TRADC62202();
-
- if(arErrorCode.pop("TRADC62202") > -1){
- var cnststat = ds_hidden_cnststatinfo.getColumn(0,"cnststat");
- if(cnststat == "04"){
- sysf_messageBox("[취소] 더이상 수정하실 수","I004");
- }else if (cnststat == "30"){
- sysf_messageBox("[회신확정] 더이상 수정하실 수","I004");
- }else{
- var cfm = sysf_messageBox("회신내역을","Q002");
- if(cfm == 6){
- //저장이 성공한 경우만 회신 처리
- //========================== 회신자 확인 팝업 데이터 설정 ====================================
- ds_temp_popupdata.setColumn(0,"repltype", "drugid");
- ds_temp_popupdata.setColumn(0,"writid",ds_main_cnst_cnstinfo.getColumn(0,"writid"));
- ds_temp_popupdata.setColumn(0,"writnm",ds_main_cnst_cnstinfo.getColumn(0,"writnm"));
- // modal("SPADC62300",0,400,300,"SPADC62300","/root/temp/popupdata","/root/temp/popupdata");
- var objArg = new Object();
- objArg.arg_ds_temp_popupdata = ds_temp_popupdata;
- frmf_modal("SPADC62300", "SPADC62300", objArg, null, null, null, null, null, null, null, null, null, "M");
- // ========================================================================================
- // 팝업화면에서 전달된 회신자 아이디를 /root/main/cnst/cnstinfo/replid에 설정
-
- // 회신상태(Z)로 설정. 회신일자,시간 설정
- if(!utlf_isNull(ds_main_cnst_cnstinfo.getColumn(0,"replid"))) {
- ds_main_cnst_cnstinfo.setColumn(0,"statflag", "Z"); //회신
- dsf_makeValue(ds_main_cnst_cnstinfo,"cnststat","string", "22"); //회신
- ds_main_cnst_cnstinfo.setColumn(0,"repldd", utlf_getCurrentDate());
- ds_main_cnst_cnstinfo.setColumn(0,"repltm", astgetCurrentTime());
-
- ds_hidden_selfdrug.clearData();
- fSaveReqDrugId();
- //----------------------------------------------------------------------
- //자가약제 정보 전달.
- for(var iNo = 1 ; iNo <= ds_hidden_selfdrug.rowcount ; iNo++) {
- if(!utlf_isNull(ds_hidden_selfdrug.getColumn(iNo,"pid"))) {
- //grd_selfdrug.addStatus(iNo, "insert");
- grdf_setStatus(group3.grd_selfdrug, "I", [iNo]);
- sChk = "Y";
- }
- }
-
- if(sChk == "Y") {
- //model.makeValue("/root/send/selfdrug/savedata", group3.grd_selfdrug.getUpdateData("insert"));
- dsf_makeValue(ds_send_selfdrug,"savedata","string",grdf_getGridUpdateData(group3.grd_selfdrug,"insert"));
- dsf_setDefaultVal(ds_send_selfdrug, "hosinprcpresncd:00,prcpdelivefact:-,druglnkno:0,ermediscmngtresncd:-,dnorreqlnkno:0,subcretno:0");
- //submit("TXMMO14901");
- var oParam = {};
- oParam.id = "TXMMO14901";
- oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
- oParam.method = "reqExeSelfHldSavePrcp";
- oParam.inds = "req=ds_send_selfdrug";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMMO14901";
- tranf_submit(oParam);
- }
- //----------------------------------------------------------------------
- }
- }
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_del
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 삭제버튼 클릭
- ****************************************************************************************/
- function group2_btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- call_TRADC62202();
-
- if(submit(arErrorCode.pop("TRADC62202") > -1)){
- var cnststat = ds_hidden_cnststatinfo.getColumn(0,"cnststat");
-
- if(cnststat == "04"){
- sysf_messageBox("[취소] 더이상 수정하실 수","I004");
- }else if (cnststat == "30"){
- sysf_messageBox("[회신확정] 더이상 수정하실 수","I004");
- }else{
- if(sysf_messageBox("[삭제]시 저장된 회신 내역이 모두 삭제 됩니다.\n","Q001") == 6){
- ds_main_cnst_cnstinfo.setColumn(0,"drugrtn",""); // 약반송
- ds_main_cnst_cnstinfo.setColumn(0,"cnsttm",""); // 소요시간
- ds_main_cnst_cnstinfo.setColumn(0,"replestm",""); // 회신추정
- ds_main_cnst_cnstinfo.setColumn(0,"replimpsi",""); // 회신불가
- ds_main_cnst_cnstinfo.setColumn(0,"remark",""); // 전달사항
- dsf_makeValue(ds_main_cnst_cnstinfo,"delyn","string","Y"); // 전달사항
-
- for(var i = 0 ; i < ds_main_cnst_drugidlist.rowcount ; i++){
- //grd_drugid.row = i;
- ds_main_cnst_drugidlist.rowposition = i;
- fDataGridRowDelete();
- }
-
- fSaveReqDrugId();
- }
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_can
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 회신취소버튼 클릭
- ****************************************************************************************/
- function group2_btn_can_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("[회신을 ","Q007") == 6){
- ds_main_cnst_cnstinfo.setColumn(0,"statflag", "D"); //저장
- dsf_makeValue(ds_main_cnst_cnstinfo,"cnststat","string","12"); //의뢰로 변환
- ds_main_cnst_cnstinfo.setColumn(0,"writid", sysf_getUserId());
-
- call_TRADC62202();
-
- if(arErrorCode.pop("TRADC62202") > -1) {
- fSaveReqDrugId();
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 의뢰정보저장 버튼 클릭
- ****************************************************************************************/
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_cnstinfo.setColumn(0,"cnstcnts1" , ds_main_cnst_cnstinfo2.getColumn(0,"prcphosp"));
- ds_send_cnstinfo.setColumn(0,"cnstcnts2" , ds_main_cnst_cnstinfo2.getColumn(0,"prcphosptel"));
- ds_send_cnstinfo.setColumn(0,"cnstcnts3" , ds_main_cnst_cnstinfo2.getColumn(0,"prcppharm"));
- ds_send_cnstinfo.setColumn(0,"cnstcnts4" , ds_main_cnst_cnstinfo2.getColumn(0,"prcppharmtel"));
- ds_send_cnstinfo.setColumn(0,"cnstcnts5" , ds_main_cnst_cnstinfo2.getColumn(0,"drugresn"));
- ds_send_cnstinfo.setColumn(0,"pid" , ds_main_cnst_cnstinfo2.getColumn(0,"pid"));
- ds_send_cnstinfo.setColumn(0,"formrecseq", ds_main_cnst_cnstinfo2.getColumn(0,"formrecseq"));
- //dsf_setDefaultVal(ds_send_cnstinfo, "cnstcnts1:,cnstcnts2:,cnstcnts3:,cnstcnts4:,cnstcnts5:");
-
- var oParam = {};
- oParam.id = "TXADC61703";
- oParam.service = "pharmacyconsultapp.ReqMngt";
- oParam.method = "reqExeCnstInfoUpdate";
- oParam.inds = "req=ds_send_cnstinfo";
- oParam.outds = "ds_hidden_cnststatinfo=item";
- oParam.async = false;
- //oParam.callback = "cf_TXADC61703";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_tm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 소요시간 체크 버튼 클릭
- ****************************************************************************************/
- function group3_btn_tm_onclick(obj:Button, e:ClickEventInfo)
- {
- var tmflag = ds_hidden.getColumn(0,"tmflag");
- if(tmflag == 1){
- group3.btn_tm.text = "ON";
- ds_hidden.setColumn(0,"tmflag","0");
- fStopTimer();
- }else{
- group3.btn_tm.text = "OFF";
- ds_hidden.setColumn(0,"tmflag","1");
- //gTimer = window.setInterval("fStartTimer()",1000);
- this.setTimer(0,1000);
- }
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMADC01600
- * Event : ontimer
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : setTimer 실행시 해당시간마다 실행되는 이벤트
- ****************************************************************************************/
- function SMADC01600_ontimer(obj:Form, e:TimerEventInfo)
- {
- fStartTimer();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_cnst_drugidlist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 식별정보의 체크박스 컨트롤
- ****************************************************************************************/
- function ds_main_cnst_drugidlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="photyn") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_srch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검색버튼 클릭
- ****************************************************************************************/
- function group3_btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- fPopupDrugIDSrch();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_grdadd
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행추가 버튼 클릭
- ****************************************************************************************/
- function group3_btn_grdadd_onclick(obj:Button, e:ClickEventInfo)
- {
- var i = ds_main_cnst_drugidlist.addRow();
- //setImageRefInstance("/root/main/cnst/drugidlist["+i+"]/phot");
- //grd_drugid.rowHeight(grd_drugid.row) = 85;
- group3.grd_drugid.setRealRowSize(i,82);
-
-
- group3.grd_drugid.setFormatColProperty(3, "size", 220);
-
- /////2012.9.11 김치국 행추가시 SEQ부여하기
- // var r_cnt = ds_main_cnst_drugidlist.rowcount;
- // var k = 1;
- // for( var j = 0 ; j < r_cnt ; j++ ) {
- // if(grd_drugid.rowStatus(j) != 4)
- // model.setValue("/root/main/cnst/drugidlist["+ j +"]/rowcnt", k++);
- // }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_grddel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행삭제 버튼 클릭
- ****************************************************************************************/
- function group3_btn_grddel_onclick(obj:Button, e:ClickEventInfo)
- {
- fDataGridRowDelete();
- /////2012.9.11 김치국 행추가시 SEQ부여하기
- // var r_cnt = grd_drugid.rows ;
- // var k = 1;
- // for( var j = 1 ; j < grd_drugid.rows ; j++ ) {
- // if(grd_drugid.rowStatus(j) != 4)
- // model.setValue("/root/main/cnst/drugidlist["+ j +"]/rowcnt", k++);
- // }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_drugid
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드에서 마우스 우클릭으로 팝업메뉴 띄움.
- ****************************************************************************************/
- function group3_grd_drugid_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_drugid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 선택행 카피
- ****************************************************************************************/
- function group3_grd_drugid_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.ctrlKey == true && e.keycode == 67)
- {
- astgrid_oncopy();
- }
-
- if(e.ctrlKey == true && e.keycode == 86)
- {
- astgrid_onpaste();
- }
- }
- function group3_button00_onclick(obj:Button, e:ClickEventInfo)
- {
- if(!utlf_isNull(ds_main_cnst_patinfolist.getColumn(0,"pid"))) {
-
- //---------- 의뢰내역을 회신내역에 저장------------------------------------------------------------------
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("cnstseqno" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"cnstseqno"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("formrecseq" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"formrecseq"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("prcphosp" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"prcphosp"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("prcphosptel" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"prcphosptel"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("prcppharm" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"prcppharm"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("prcppharmtel","string"),ds_main_cnst_cnstinfo2.getColumn(0,"prcppharmtel"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("cnstdd" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"cnstdd"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("cnstdeptcd" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"cnstdeptcd"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("cnstdrid" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"cnstdrid"));
- ds_main_cnst_cnstinfo.setColumn(0,ds_main_cnst_cnstinfo.addColumn("drugresn" ,"string"),ds_main_cnst_cnstinfo2.getColumn(0,"drugresn"));
- ds_main_cnst_cnstinfo.setColumn(0,"writid", sysf_getUserId());
- ds_send_req.copyData(ds_main_cnst_cnstinfo);
-
- if(utlf_isNull(ds_send_req.getColumn(0,"pid"))) {
- ds_send_req.setColumn(0,"pid", ds_main_cnst_patinfolist.getColumn(0,"pid"));
- }
-
- if(fUseYn()) return;
-
- dsf_createDs("ds_send_req_drugidlist");
- var dsUpdate = grdf_getGridUpdateData(group3.grd_drugid, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_req_drugidlist.copyData(dsUpdate,true);
-
- ds_send_req.addColumn("delyn","string");
- dsf_setDefaultVal(ds_send_req, "all");
- ds_send_req_drugidlist.updateColID("homodrugflag","homodrugcd");
- ds_send_req_drugidlist.updateColID("photoid","photid");
- dsf_setDefaultVal(ds_send_req_drugidlist, "photyn:N,useyn:N,estmyn:N,photid:-,idcd:0");
- var oParam = {};
- oParam.id = "TXADC01603";
- oParam.service = "pharmacyconsultapp.DrugId";
- oParam.method = "reqExeDrugIdUDUPdate";
- oParam.inds = "cnstinfo=ds_send_req drugidlist=ds_send_req_drugidlist";
- oParam.outds = "ds_hidden_item=item ds_hidden_selfdrug=selfdrug";
- oParam.async = false;
- oParam.callback = "cf_TXADC01603";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXADC01603") > -1) {
- if(utlf_isNull(ds_send_srchinfo.getColumn(0,"rgstseqno"))) {
- if(!utlf_isNull(ds_main_cnst_cnstinfo.getColumn(0,"rgstseqno"))) {
- ds_send_srchinfo.setColumn(0,"rgstseqno", ds_main_cnst_cnstinfo.getColumn(0,"rgstseqno"));
- } else {
- ds_send_srchinfo.setColumn(0,"rgstseqno", ds_hidden_item.getColumn(0,"rgstseqno"));
- }
- }
- dsf_makeValue(ds_hidden_item,"saverslt","string", 'Y');
- fRefDrugidCnst();
- ds_send_req.clear();
- } else {
- dsf_makeValue(ds_hidden_item,"saverslt","string", 'N');
- }
- }else{
- sysf_messageBox("등록번호를 ","C001");
- }
- }
- function group3_grd_drugid_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- group3.grd_drugid.autoenter = "key";
- if(e.col == obj.getBindCellIndex("body","phot")|| e.col == obj.getBindCellIndex("body","phot2")) {
-
- ds_temp.setColumn(0,"drugphot",ds_main_cnst_drugidlist.getColumn(e.row,"bigphot"));
- // setImageRefInstance("/root/temp/drugphot");
- group3.img_drugphot.visible = true;
- }
- }
- function group3_grd_drugid_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- group3.grd_drugid.autoenter = "select";
- }
- function img_drugphot_onclick(obj:ImageViewer, e:ClickEventInfo)
- {
- group3.img_drugphot.visible = false;
- ds_temp.setColumn(0,"drugphot", "");
- }
- ]]></Script>
- </Form>
- </FDL>
|