123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>이의신청</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <obtmlist>
- <gridpirhobtm>
- <check/>
- <abdyn/>
- <obtappyn/>
- <orddeptcd/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <orddrnm/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <obtappflag/>
- <instcd/>
- <notidd/>
- <obtappendflag/>
- <obtappdocuno/>
- </gridpirhobtm>
- <acptinfo>
- <claminfo/>
- <adjtamt/>
- <obtappamt/>
- <abdamt/>
- <obtappendflag/>
- <restterm/>
- </acptinfo>
- <deptinfo>
- <cd/>
- <nm/>
- </deptinfo>
- <doctinfo>
- <cd/>
- <nm/>
- </doctinfo>
- <judgrinfo>
- <cd/>
- <nm/>
- </judgrinfo>
- </obtmlist>
- <patinfodata>
- <gridpatinfo>
- <pid/>
- <patnm/>
- <sexage/>
- <orddrid/>
- <insukind/>
- <corpactaddrate/>
- <payownbrate/>
- <spclspec/>
- <indd/>
- <dschdd/>
- <ordfromdd/>
- <ordtodd/>
- <chosindayno/>
- <medcaredayno/>
- <clmcstotamt/>
- <clownbamt/>
- <clclamamt/>
- <jrmcstotamt/>
- <jrownbamt/>
- <jrinsubamt/>
- <jrjudgdeciamt/>
- <jradjtsum/>
- <judgmemo/>
- <edimemo/>
- <obtapprem/>
- <rem/>
- <docuseqnorem/>
- <judgcls/>
- <attdocu/>
- </gridpatinfo>
- <gridadjtord>
- <obtappyn/>
- <lnno/>
- <item/>
- <adjtresncd/>
- <obtappflag/>
- <calcscorcd/>
- <hngnm/>
- <unitcost/>
- <clamdayqty/>
- <clamtotqty/>
- <adjtdayqty/>
- <adjttotqty/>
- <adjtamt/>
- <obtappdayqty/>
- <obtapptotqty/>
- <obtappamt/>
- <detladjtflag/>
- <adjtresndesc/>
- <displayyn/>
- <abdresncd/>
- <abdresnmemo/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <mpsno/>
- <instcd/>
- <clamdd/>
- <ordym/>
- <edicd/>
- <orddeptcd/>
- <orddrid/>
- <workflag/>
- </gridadjtord>
- <gridlnnoadjtresncd>
- <lnno/>
- <edicd/>
- <rem/>
- </gridlnnoadjtresncd>
- <gridmemo>
- <judgmemo/>
- <edimemo/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- </gridmemo>
- <gridjudgclass>
- <judgcls>2</judgcls>
- <attdocu>1</attdocu>
- </gridjudgclass>
- <griddiaginfo>
- <diagkindcd/>
- <diagcd/>
- <diagseq/>
- <diagnm/>
- <clamdeptcd/>
- <ordfromdd/>
- </griddiaginfo>
- </patinfodata>
- <temp>
- <gridadjtord/>
- </temp>
- <temp2>
- <adjtremdata>
- <adjt_judgdg/>
- <adjt_clamno/>
- <adjt_acptno/>
- <adjt_docuseqno/>
- <adjt_obtappflag/>
- <adjt_obtapprem/>
- <adjt_rem/>
- <adjt_status/>
- <adjt_judgcls/>
- <adjt_attdocu/>
- </adjtremdata>
- </temp2>
- </main>
- <send>
- <send_obtmlist>
- <judgdg/>
- <clamno/>
- <acptno/>
- <setno/>
- <obtappdocuno/>
- <obtappflag/>
- <orddeptcd/>
- <codegubun/>
- <cd/>
- <item/>
- <adjtresncd/>
- <orddrid/>
- <judgrid/>
- <adjtamt/>
- <notidd/>
- <rejudgflag/>
- <endn/>
- <judgrid2/>
- </send_obtmlist>
- <send_patinfo>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <instcd/>
- </send_patinfo>
- <send_adjtord>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <mpsno/>
- <lnno/>
- <adjtresncd/>
- </send_adjtord>
- <send_clamno>
- <judgdg/>
- <acptno/>
- </send_clamno>
- <send_remdata>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <obtapprem/>
- <rem/>
- <status/>
- <judgcls/>
- <attdocu/>
- </send_remdata>
- <send_end>
- <judgdg/>
- <clamno/>
- <acptno/>
- <obtappflag/>
- <notidd/>
- <obtappdd/>
- <obtappdocuno/>
- <status/>
- <endflag/>
- <obtappendflag/>
- <indendyn/>
- </send_end>
- <send_rejudgrgst>
- <status/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <obtappdocuno/>
- </send_rejudgrgst>
- <send_docusearch>
- <docuseqno/>
- </send_docusearch>
- <send_afjudg>
- <workflag/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ioflag/>
- </send_afjudg>
- </send>
- <popupdata>
- <popupmenu>
- <gridpirhobtm>
- <item>
- <name>개별 문서마감</name>
- <func>fIndDocuEnd</func>
- </item>
- <item>
- <name>전체 선택</name>
- <func>fSelectAll</func>
- </item>
- <item>
- <name>전체 선택 해제</name>
- <func>fDeSelectAll</func>
- </item>
- </gridpirhobtm>
- <gridadjtord>
- <item>
- <name>삭감처방 의사전송</name>
- <func>fGridCutOrdRgst</func>
- </item>
- <item>
- <name>부제기사유</name>
- <func>fGridAbdResnCdRgst</func>
- </item>
- </gridadjtord>
- </popupmenu>
- </popupdata>
- <init>
- <P0287list>
- <P0287>
- <cdid/>
- <cdnm/>
- </P0287>
- </P0287list>
- <P0264list>
- <P0264>
- <cdid/>
- <cdnm/>
- </P0264>
- </P0264list>
- <P0277list>
- <P0277>
- <cdid/>
- <cdnm/>
- </P0277>
- </P0277list>
- <P0250list>
- <P0250>
- <cdid/>
- <cdnm/>
- </P0250>
- </P0250list>
- <P0265list>
- <P0265>
- <cdid/>
- <cdnm/>
- </P0265>
- </P0265list>
- </init>
- <hidden>
- <obtmlist>
- <claminfo>
- <clamno/>
- </claminfo>
- </obtmlist>
- <adjtresndesc/>
- <abdresnmemo/>
- <abdresncd_all/>
- <abdresnmemo_all/>
- <totadjtamt/>
- <totobtappamt/>
- <smaer00800>
- <cond>
- <srchdata1/>
- <srchdata2/>
- <srchpid/>
- <wardcd/>
- <roomcd/>
- <listflag/>
- <deptcd/>
- <drid/>
- <chkcheck/>
- <chkcheck1/>
- <chkcheck2/>
- <chkcheck3/>
- <chkcheck4/>
- <chkcheck5/>
- <chkcheck6/>
- <chkcheck7/>
- <chkcheck8/>
- <tabflag/>
- <mdlcd/>
- <examgubun/>
- <srchflag/>
- </cond>
- </smaer00800>
- <smpid20300>
- <cond>
- <!-- "이전 명세서 목록" Grid에서 선택한 명세서의 청구키를 SMPID20300_입원사후심사관리 에 전달하기 위한 조건 값 -->
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ioflag/>
- <workflag/>
- </cond>
- </smpid20300>
- <smpid20500>
- <cond>
- <!-- "이전 명세서 목록" Grid에서 선택한 명세서의 청구키를 SMPID20500_외래사후심사관리 에 전달하기 위한 조건 값 -->
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ioflag/>
- <workflag/>
- </cond>
- </smpid20500>
- <sppiz00700>
- <cond>
- <judgrid/>
- <memoflag/>
- <memocls/>
- <ediitem1/>
- </cond>
- <rslt>
- <memocd/>
- <memo/>
- </rslt>
- </sppiz00700>
- <enddata>
- <endinfo>
- <notidd/>
- <obtappdd/>
- <obtappdocuno/>
- </endinfo>
- <docuendlist>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <notidd/>
- <obtappdd/>
- <obtappdocuno/>
- <status/>
- <endflag/>
- <obtappendflag/>
- </docuendlist>
- </enddata>
- <tmp>
- <row/>
- <scroll/>
- <saveyn/>
- </tmp>
- <smpie03000>
- <cond>
- <flag/>
- <fromdd/>
- <todd/>
- <ioflag/>
- <calcjudgdg/>
- <noflag/>
- <no/>
- <clamflag/>
- <relbase/>
- <formflag/>
- <judgrid/>
- <orddeptcd/>
- <endyn/>
- </cond>
- </smpie03000>
- </hidden>
- <source_CutOrdRgst/>
- <source_AbdResnCdRgst>
- <status/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <mpsno/>
- <lnno/>
- <adjtresncd/>
- <abdresncd/>
- <abdresnmemo/>
- </source_AbdResnCdRgst>
- <source>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <mpsno/>
- <lnno/>
- <adjtresn/>
- <workflag/>
- <judgrid/>
- </source>
- <source_result>
- <termflag1/>
- <termflag2/>
- <fromobtappdd/>
- <toobtappdd/>
- <from_ordym/>
- <to_ordym/>
- <insukind/>
- <chosflag/>
- <clamflag/>
- <judgdg/>
- <ordfildcd/>
- <acptno/>
- <obtappflag/>
- <obtappdocuno/>
- <decidocuno/>
- <rejudgflag/>
- <obtapprsltendflag/>
- <obtappamt/>
- <cuttotamt/>
- <recogamt/>
- </source_result>
- <searchinfo>
- <orddeptcd/>
- <orddrid/>
- <judgrid/>
- </searchinfo>
- <init2>
- <abdresnlist>
- <abdmlist>
- <nm/>
- <cd/>
- </abdmlist>
- </abdresnlist>
- </init2>
- <send_rejudgrgst>
- <status/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- </send_rejudgrgst>
- <temp>
- <obtappdocuno/>
- <rejudg/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/insucomweb/js/PAM.js"/>
- <submission id="TRPIR30400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_obtmlist" resultref="/root/main/obtmlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIR30401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_patinfo" resultref="/root/main/patinfodata"/>
- <submission id="TXPIR30401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main"/>
- <submission id="TRPIR30402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamno" resultref="/root/hidden/obtmlist"/>
- <submission id="TXPIR30402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_remdata"/>
- <submission id="TXPIR30300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_rejudgrgst"/>
- <submission id="TRPIR30403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init2/abdresnlist"/>
- <submission id="TXPIR30403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main"/>
- <submission id="TXPIR30301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_rejudgrgst"/>
- <submission id="TRPIR30301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_obtmlist" resultref="/root/init/list1"/>
- <submission id="TXPIR30422" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata/datalist"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 1. 공통코드 초기화
- CommCode_Load();
- // 2. 다른화면에서 팝업으로 이 화면을 열었을때 넘어온 파라미터로 대상목록을 조회한다.
- // 조회필수 항목인 심사차수, 접수번호로 CHECK한다.
- if (model.getValue("/root/send/send_obtmlist/judgdg") != '' && model.getValue("/root/send/send_obtmlist/acptno") != '' ) {
-
- fGetJudgdg("1");
- model.setValue("/root/send/send_obtmlist/judgrid", "");
- submit("TRPIR30400");
-
- var obtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/obtappflag");
- if (obtappflag == "22") {
- checkbox2.attribute("visibility") = "visible";
- chk_attdocu.attribute("visibility") = "hidden";
- } else {
- checkbox2.attribute("visibility") = "hidden";
- chk_attdocu.attribute("visibility") = "visible";
- }
- }
-
- var judgrid = model.getValue("/root/send/send_obtmlist/judgrid2");
- model.setValue("/root/searchinfo/orddeptcd","A");
- model.setValue("/root/searchinfo/orddrid","A");
- model.setValue("/root/searchinfo/judgrid", (judgrid.length > 2 ? judgrid : "A"));
-
-
- // 3. 화면 초기화
- finitialize();
-
- if (grd_pirhobtm.rows > grd_pirhobtm.fixedrows) {
- var rowno = model.getValue("/root/hidden/tmp/row");
- button2.dispatch("onclick");
- }
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0287","P0264","P0277","P0250","P0265"), new Array("/root/init/P0287list", "/root/init/P0264list","/root/init/P0277list", "/root/init/P0250list", "/root/init/P0265list"));
-
- //부제기코드 초기화
- submit("TRPIR30403");
-
- // 삭감사유 형태 '[코드] 설명' 으로 구성
- var nodeList = instance1.selectNodes("/root/init/P0250list/P0250");
- var length = nodeList.length;
- for(var i = 1; i <= length; i++){
- var cdid = model.getValue("/root/init/P0250list/P0250["+ i +"]/cdid");
- var cdnm = "[" + cdid + "]" + model.getValue("/root/init/P0250list/P0250["+ i +"]/cdnm");
- if (cdid != "") model.setValue("/root/init/P0250list/P0250["+ i +"]/cdnm", cdnm);
- }
-
- model.refresh();
- }
-
- // 저장 데이터 검사
- function fCheckData() {
-
- // 1. 삭감처방 데이터 검사
- var row = grd_adjtord.rows;
- var obtappamtyn = 0;
-
- for (var i = 2; i < row; i++) {
-
- // if (grd_adjtord.rowStatus(i) == 2) {
-
- var obtappyn = grd_adjtord.valueMatrix(i,grd_adjtord.colRef("obtappyn")); // 이의신청여부
- var obtappamt = Number(grd_adjtord.valueMatrix(i,grd_adjtord.colRef("obtappamt"))); // 이의신청금액
- var abdresncd = grd_adjtord.valueMatrix(i,grd_adjtord.colRef("abdresncd")); // 부제기사유코드
- var abdresnmemo = grd_adjtord.valueMatrix(i,grd_adjtord.colRef("abdresnmemo")); // 부제기사유설명
- var attdocu = model.getValue("/root/main/patinfodata/gridpatinfo/attdocu");
- var obtapprem = model.getValue("/root/main/patinfodata/gridpatinfo/obtapprem");
- var obtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/obtappflag");
- var attdocu = model.getValue("/root/main/patinfodata/gridpatinfo/attdocu");
- // 이의신청이 체크되어 있으면
- if (obtappyn == "true") {
-
- if (obtappamt == 0 && obtappamtyn != 6) {
- obtappamtyn = messageBox("이의신청금액이 0원입니다. 계속 진행", "S001")
- if (obtappamtyn != 6) return false;
- }
-
- if (abdresncd != "-" || (abdresnmemo != "-" && abdresnmemo != "")) {
- messageBox("이의신청시 부제기사유는 입력", "E001");
- return false;
- }
- if (obtapprem.length < 2 || (attdocu == "" || attdocu == "-") && obtappflag != "22" ) {
- messageBox("이의신청하려면 이의신청사유나 첨부문서는", "I003");
- return false;
- }
- // 이의신청이 해제되어 있으면
- } else {
-
- if (obtappamt != 0) {
- messageBox("이의신청을 하지 않는 삭감처방의 이신금액은 0원", "E008");
- return false;
- }
-
- if (abdresncd == "T" && (abdresnmemo == "-" || abdresnmemo == "")) {
- messageBox("부제기사유시 부제기사유설명을 ", "C001");
- return false;
- }
- }
- //}
-
- }
-
- return true;
- }
-
- // 이의신청 자동 선택
- function fObtappynAutoCheck(chkgb) {
- var obtappyn = "";
- var abdresncd = "-";
-
- for (i=grd_adjtord.fixedRows; i < grd_adjtord.rows; i++) {
- //자동선택값 설정
- obtappyn = grd_adjtord.valueMatrix(i,grd_adjtord.colRef("obtappyn"));
- abdresncd = grd_adjtord.valueMatrix(i,grd_adjtord.colRef("abdresncd"));
- if (chkgb == "true" && obtappyn == "false" && abdresncd == "-" ) {
- grd_adjtord.valueMatrix(i,grd_adjtord.colRef("obtappyn")) = chkgb;
- //계산로직
- fObtappynCheck(i);
- } else if (chkgb == "false" && grd_adjtord.rowStatus(i) == 2) {
- grd_adjtord.valueMatrix(i,grd_adjtord.colRef("obtappyn")) = chkgb;
- //계산로직
- fObtappynCheck(i);
- }
- }
- }
-
- // 이의신청 계산로직
- function fObtappynCheck(curr_row) {
- var obtappyn = "false";
- var abdresncd = "";
- var oldobtappyn = "";
- obtappyn = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappyn"));
- abdresncd = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("abdresncd"));
- oldobtappyn = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldobtappyn"));
- //정산의뢰 및 자격정산의뢰 구분일 경우 계산로직 제외
- var obtappflag = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappflag"));
- //if(obtappflag != "10" && obtappflag != "11"){
- // 신청을 체크한 경우
- if (obtappyn == "true") {
- if (abdresncd != "-") {
- messageBox("부제기 처방은 삭제전 이의신청", "E001");
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappyn")) = "false";
- grd_adjtord.rowstatus(curr_row) = 0;
- } else {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtapponeqty")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("adjtoneqty"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappdayqty")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("adjtdayqty"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtapptotqty")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("adjttotqty"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("adjtamt"));
-
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("abdresncd")) = "-";
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("abdresnmemo")) = "-";
-
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo";
-
- grd_adjtord.rowstatus(curr_row) = 2;
- }
- // 신청을 해제한 경우
- } else if (obtappyn == "false") {
-
- if (oldobtappyn == "true") {
- messageBox("이미 이의신청된 삭감처방의 신청해지는 삭제", "E012");
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappyn")) = "true";
- grd_adjtord.rowstatus(curr_row) = 0;
- } else {
-
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtapponeqty")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldobtapponeqty"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappdayqty")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldobtappdayqty"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtapptotqty")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldobtapptotqty"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldobtappamt"));
-
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("detladjtflag")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("olddetladjtflag"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("adjtresndesc")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldadjtresndesc"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("displayyn")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("olddisplayyn"));
-
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("abdresncd")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldabdresncd"));
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("abdresnmemo")) = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldabdresnmemo"));
-
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "";
-
- grd_adjtord.rowstatus(curr_row) = 0;
- }
- }
- //}
- }
-
- // 초기화
- function finitialize() {
- // form load시에 Default 이신구분을 전체를 선택한다.
- //rdo_obtappflag.select(0);
- model.makeValue("/root/send/send_obtmlist/rejudgflag", "1");
- // 심사분류(의학적심사) 기본 세팅
- //rdo_judgflag.select(1);
- model.makeValue("/root/main/patinfodata/gridpatinfo/judgcls","2");
- }
-
- // 재심사저장(취소), 저장, 삭제 버튼 활성화 여부
- function fInitControl() {
-
- // 이의신청 청구서 마감상태가 최종마감(S)이면 비활성화
- if (model.getValue("/root/send/send_end/obtappendflag") == "S" || model.getValue("/root/send/send_end/obtappendflag") == "Y") {
- btn_rejudg.disabled = true;
- btn_save.disabled = true;
- btn_delete.disabled = true;
- rdo_judgflag.disabled = true;
-
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappyn")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtapponeqty")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappdayqty")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtapptotqty")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappamt")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("abdresncd")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("abdresnmemo")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("detladjtflag")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("adjtresndesc")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("displayyn")) = true;
-
- } else {
- btn_rejudg.disabled = false;
- btn_save.disabled = false;
- btn_delete.disabled = false;
- rdo_judgflag.disabled = false;
-
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappyn")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtapponeqty")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappdayqty")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtapptotqty")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappamt")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("abdresncd")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("abdresnmemo")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("detladjtflag")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("adjtresndesc")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("displayyn")) = false;
-
- }
-
- //마감일자 초과된 이의신청내역 재심사저장 버튼 비활성화
- if(model.getValue("/root/main/obtmlist/acptinfo/restterm") < 0 && model.getValue("/root/temp/rejudg") != "재심사취소"){
- btn_rejudg.disabled = true;
- }else if(model.getValue("/root/main/obtmlist/acptinfo/restterm") >= 0){
- btn_rejudg.disabled = false;
- }
- model.refresh();
- }
-
- function fDisplayObtappdocuno() {
- //opt_obtappdocuno.value = "";
- model.setValue("/root/temp/obtappdocuno", "");
-
- var curr_row = grd_pirhobtm.row;
- var obtappdocuno = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappdocuno"));
-
- //opt_obtappdocuno.value = obtappdocuno;
- model.setValue("/root/temp/obtappdocuno", obtappdocuno);
-
- }
-
- // 명세서에 대한 내역 조회
- function fObtappSerch() {
- var rtn = null;
-
- if (grd_pirhobtm.row >= grd_pirhobtm.fixedRows ) {
- var row = grd_pirhobtm.selectedRow(0);
- var t1= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("judgdg"));
- var t2= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("clamno"));
- var t3= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("acptno"));
- var t4= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("docuseqno"));
- var t5= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("obtappflag"));
- var t6= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("instcd"));
- var t7= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("notidd"));
- var t8= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("obtappendflag")); // 이의신청마감구분
- var t9= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("obtappdocuno"));
- var t10= grd_pirhobtm.textmatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("obtappdd"));
- model.setValue( "instance('instance1')/send/send_patinfo/judgdg", t1 );
- model.setValue( "instance('instance1')/send/send_patinfo/clamno", t2 );
- model.setValue( "instance('instance1')/send/send_patinfo/acptno", t3 );
- model.setValue( "instance('instance1')/send/send_patinfo/docuseqno", t4 );
- model.setValue( "instance('instance1')/send/send_patinfo/obtappflag", t5 );
- model.setValue( "instance('instance1')/send/send_patinfo/instcd", t6 );
-
- // 문서마감 위한 Copy
- model.setValue( "instance('instance1')/send/send_end/status", "update" );
- model.setValue( "instance('instance1')/send/send_end/judgdg", t1 );
- model.setValue( "instance('instance1')/send/send_end/clamno", t2 );
- model.setValue( "instance('instance1')/send/send_end/acptno", t3 );
- model.setValue( "instance('instance1')/send/send_end/obtappflag", t5 );
- model.setValue( "instance('instance1')/send/send_end/notidd", t7 );
- model.setValue( "instance('instance1')/send/send_end/obtappdd", t10 );
- model.setValue( "instance('instance1')/send/send_end/obtappdocuno", t9.replace("가의강", "보험") );
- model.setValue( "instance('instance1')/send/send_end/endflag", "" );
- model.setValue( "instance('instance1')/send/send_end/obtappendflag", t8 );
-
- if (grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("obtappflag")) == "03") {
- //btn_rejudg.value = "재심사취소";
- model.setValue("/root/temp/rejudg","재심사취소");
- } else {
- //btn_rejudg.value = "재심사저장";
- model.setValue("/root/temp/rejudg","재심사저장");
- }
-
- // 특정 명일련의 이의신청정보를 조회한다.
- submit("TRPIR30401");
-
- // 명일련별 삭감액, 이의신청액 SUM을 보여준다.
- fSubtotal();
- }
- }
- // 삭감처방 의사전송
- function fGridCutOrdRgst() {
- /*
- var curr_row = grd_adjtord.row - 1;
-
- model.setValue("/root/source/judgdg", model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/judgdg"));
- model.setValue("/root/source/clamno", model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/clamno"));
- model.setValue("/root/source/acptno", model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/acptno"));
- model.setValue("/root/source/docuseqno", model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/docuseqno"));
- // 이의신청구분
- model.setValue("/root/source/mpsno", model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/mpsno"));
- model.setValue("/root/source/lnno", model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/lnno"));
- model.setValue("/root/source/adjtresn", model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/adjtresncd"));
- model.setValue("/root/source/workflag", "obtapprgst");
-
- modal("SPPIR30320", 1, "", "", "SPPIR30320", "/root/source", "/root/send/send_adjtord");
- */
- /*
- if (grd_adjtord.disabled) return;
-
- var selectCnt = grd_adjtord.selectedRows
- var grd_nodeSet = grd_adjtord.nodeset;
- var destNode = instance1.selectSingleNode("/root/source_CutOrdRgst");
- var srcNode;
-
- for (var i = 0; i < selectCnt; i++ ) {
- srcNode = instance1.selectSingleNode(grd_nodeSet + "[" + (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) + "]");
- model.duplicate(destNode, srcNode);
- }
- */
- if (grd_adjtord.disabled) return;
-
-
-
- model.removeNodeset("/root/tmp/gridpirhobtspec");
- model.removeNodeset("/root/source_CutOrdRgst/gridpirhobtspec");
- //model.makeNode("/root/source_CutOrdRgst/gridpirhobtspec");
-
- model.makeNode("/root/tmp/gridpirhobtspec/judgdg");
- model.makeNode("/root/tmp/gridpirhobtspec/acptno");
- model.makeNode("/root/tmp/gridpirhobtspec/docuseqno");
- model.makeNode("/root/tmp/gridpirhobtspec/snglcalcscorcd");
- model.makeNode("/root/tmp/gridpirhobtspec/edicd");
- model.makeNode("/root/tmp/gridpirhobtspec/hngnm");
- model.makeNode("/root/tmp/gridpirhobtspec/orddeptcd");
- model.makeNode("/root/tmp/gridpirhobtspec/orddrid");
- model.makeNode("/root/tmp/gridpirhobtspec/pid");
- model.makeNode("/root/tmp/gridpirhobtspec/patnm");
- model.makeNode("/root/tmp/gridpirhobtspec/maindiag");
- model.makeNode("/root/tmp/gridpirhobtspec/dschdd");
- model.makeNode("/root/tmp/gridpirhobtspec/judgrid");
- model.makeNode("/root/tmp/gridpirhobtspec/lnno");
- model.makeNode("/root/tmp/gridpirhobtspec/item");
- model.makeNode("/root/tmp/gridpirhobtspec/adjtresncd");
- model.makeNode("/root/tmp/gridpirhobtspec/matractflag");
- model.makeNode("/root/tmp/gridpirhobtspec/unitcost");
- model.makeNode("/root/tmp/gridpirhobtspec/adjtdayqty");
- model.makeNode("/root/tmp/gridpirhobtspec/adjttotqty");
- model.makeNode("/root/tmp/gridpirhobtspec/adjtamt");
- model.makeNode("/root/tmp/gridpirhobtspec/oprcpadjtamt");
- model.makeNode("/root/tmp/gridpirhobtspec/obtappdayqty");
- model.makeNode("/root/tmp/gridpirhobtspec/obtapptotqty");
- model.makeNode("/root/tmp/gridpirhobtspec/obtappamt");
- model.makeNode("/root/tmp/gridpirhobtspec/oprcpobtappamt");
- model.makeNode("/root/tmp/gridpirhobtspec/detladjtflag");
- model.makeNode("/root/tmp/gridpirhobtspec/adjtresndesc");
- model.makeNode("/root/tmp/gridpirhobtspec/ordmemo");
- model.makeNode("/root/tmp/gridpirhobtspec/rem");
- model.makeNode("/root/tmp/gridpirhobtspec/abdresncd");
- model.makeNode("/root/tmp/gridpirhobtspec/abdresnmemo");
- model.makeNode("/root/tmp/gridpirhobtspec/itemnm");
- model.makeNode("/root/tmp/gridpirhobtspec/obtappflag");
- model.makeNode("/root/tmp/gridpirhobtspec/clamno");
- model.makeNode("/root/tmp/gridpirhobtspec/mpsno");
- model.makeNode("/root/tmp/gridpirhobtspec/displayyn");
- model.makeNode("/root/tmp/gridpirhobtspec/clamym");
- model.makeNode("/root/tmp/gridpirhobtspec/ordym");
- model.makeNode("/root/tmp/gridpirhobtspec/clamdg");
- model.makeNode("/root/tmp/gridpirhobtspec/edicdflag");
- model.makeNode("/root/tmp/gridpirhobtspec/adjtsumqty");
-
- var selectCnt = 0;
- selectCnt = grd_adjtord.selectedRows;
-
- var grd_nodeSet = grd_adjtord.nodeset;
- var destNode = instance1.selectSingleNode("/root/source_CutOrdRgst");
- var srcNode;
- var icnt = 0;
- for( var i = 0; i < selectCnt; i++ ){
- model.setValue("/root/tmp/gridpirhobtspec/judgdg",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/judgdg"));
- model.setValue("/root/tmp/gridpirhobtspec/acptno",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/acptno"));
- model.setValue("/root/tmp/gridpirhobtspec/docuseqno",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/docuseqno"));
- model.setValue("/root/tmp/gridpirhobtspec/snglcalcscorcd",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/calcscorcd"));
- model.setValue("/root/tmp/gridpirhobtspec/edicd",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/edicd"));
- model.setValue("/root/tmp/gridpirhobtspec/hngnm",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/hngnm"));
- model.setValue("/root/tmp/gridpirhobtspec/orddeptcd",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/orddeptcd"));
- model.setValue("/root/tmp/gridpirhobtspec/orddrid",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/orddrid"));
- model.setValue("/root/tmp/gridpirhobtspec/pid",model.getValue("/root/main/patinfodata/gridpatinfo/pid"));
- model.setValue("/root/tmp/gridpirhobtspec/patnm",model.getValue("/root/main/patinfodata/gridpatinfo/patnm"));
- model.setValue("/root/tmp/gridpirhobtspec/maindiag",model.getValue("/root/main/patinfodata/griddiaginfo[" + 0 + "]/diagcd"));
- //model.setValue("/root/tmp/gridpirhobtspec/dschdd","");
- model.setValue("/root/tmp/gridpirhobtspec/judgrid",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/judgrid"));
- model.setValue("/root/tmp/gridpirhobtspec/lnno",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/lnno"));
- model.setValue("/root/tmp/gridpirhobtspec/item",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/item"));
- model.setValue("/root/tmp/gridpirhobtspec/adjtresncd",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/adjtresncd"));
- //model.setValue("/root/tmp/gridpirhobtspec/matractflag","");
- model.setValue("/root/tmp/gridpirhobtspec/unitcost",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/unitcost"));
- model.setValue("/root/tmp/gridpirhobtspec/adjtdayqty",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/adjtdayqty"));
- model.setValue("/root/tmp/gridpirhobtspec/adjttotqty",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/adjttotqty"));
- model.setValue("/root/tmp/gridpirhobtspec/adjtamt",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/adjtamt"));
- //model.setValue("/root/tmp/gridpirhobtspec/oprcpadjtamt","");
- //model.setValue("/root/tmp/gridpirhobtspec/obtappdayqty","");
- model.setValue("/root/tmp/gridpirhobtspec/obtapptotqty",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/obtapptotqty"));
- model.setValue("/root/tmp/gridpirhobtspec/obtappamt",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/obtappamt"));
- //model.setValue("/root/tmp/gridpirhobtspec/oprcpobtappamt","");
- model.setValue("/root/tmp/gridpirhobtspec/detladjtflag",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/detladjtflag"));
- model.setValue("/root/tmp/gridpirhobtspec/adjtresndesc",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/adjtresndesc"));
- //model.setValue("/root/tmp/gridpirhobtspec/ordmemo","");
- //model.setValue("/root/tmp/gridpirhobtspec/rem","");
- model.setValue("/root/tmp/gridpirhobtspec/abdresncd",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/abdresncd"));
- model.setValue("/root/tmp/gridpirhobtspec/abdresnmemo",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/abdresnmemo"));
- //model.setValue("/root/tmp/gridpirhobtspec/itemnm","");
- model.setValue("/root/tmp/gridpirhobtspec/obtappflag",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/obtappflag"));
- model.setValue("/root/tmp/gridpirhobtspec/clamno",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/clamno"));
- model.setValue("/root/tmp/gridpirhobtspec/mpsno",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/mpsno"));
- model.setValue("/root/tmp/gridpirhobtspec/displayyn",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/displayyn"));
- model.setValue("/root/tmp/gridpirhobtspec/clamym",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/clamym"));
- model.setValue("/root/tmp/gridpirhobtspec/ordym",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/ordym"));
- model.setValue("/root/tmp/gridpirhobtspec/clamdg",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/clamdg"));
- model.setValue("/root/tmp/gridpirhobtspec/edicdflag",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/edicdflag"));
- model.setValue("/root/tmp/gridpirhobtspec/adjtsumqty",model.getValue("/root/main/patinfodata/gridadjtord["+ (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) +"]/adjttotqty"));
-
- model.duplicate(destNode, "/root/tmp/gridpirhobtspec");
- }
-
- window.load("../../../pam/edimngtweb/xrw/SPPIR30310_의사삭감전달처방등록관리.xrw", "modeless", "pop", "", "/root/source_CutOrdRgst", "/root/main/cuodlist");
-
- }
-
- // 부제기사유
- function fGridAbdResnCdRgst() {
- /*
- var curr_row = grd_adjtord.row - 1;
-
- var status = "update";
- model.setValue("/root/source_AbdResnCdRgst/status", status);
- model.setValue("/root/source_AbdResnCdRgst/judgdg", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/judgdg"));
- model.setValue("/root/source_AbdResnCdRgst/clamno", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/clamno"));
- model.setValue("/root/source_AbdResnCdRgst/acptno", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/acptno"));
- model.setValue("/root/source_AbdResnCdRgst/docuseqno", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/docuseqno"));
- model.setValue("/root/source_AbdResnCdRgst/obtappflag", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/obtappflag"));
- model.setValue("/root/source_AbdResnCdRgst/mpsno", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/mpsno"));
- model.setValue("/root/source_AbdResnCdRgst/lnno", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/lnno"));
- model.setValue("/root/source_AbdResnCdRgst/adjtresncd", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/adjtresncd"));
- model.setValue("/root/source_AbdResnCdRgst/instcd", model.getValue("/root/main/patinofodata/gridadjtord[" + curr_row + "]/instcd"));
- model.setValue("/root/source_AbdResnCdRgst/abdresncd", "");
- */
-
- if (grd_adjtord.disabled) return;
-
- grp_abdresnmemo_all.visible = true;
- }
-
- function fGetJudgdg(flag) {
-
- var acptno = model.getValue("/root/send/send_obtmlist/acptno");
-
- if (acptno != "") {
- // 1. 심사차수를 초기화한다.
- model.removenode("/root/init/list1");
- model.makeNode("/root/init/list1");
- // 2. 접수번호에 해당되는 심사차수를 조회한다.
- submit("TRPIR30301");
-
- if (flag == "1") {
- return;
- }
-
- // 3. 첫번째 심사차수를 선택한다.
- var nodelist = instance1.selectNodes("/root/init/list1/judg");
- if (nodelist.length > 0) {
- //ipt_judgdg.select(0);
- model.setValue("/root/send/send_obtmlist/judgdg","/root/send/send_obtmlist[0]/judgdg");
- }
- } else {
- model.removenode("/root/init/list1");
- model.makeNode("/root/init/list1");
- model.setValue("/root/send/send_obtmlist/judgdg", "");
- ipt_judgdg.refresh();
- }
- }
-
- function fSubtotal() {
-
- var totadjtamt = 0;
- var totobtappamt = 0;
-
- var row = grd_adjtord.rows;
- for (var i = 2; i < row; i++) {
- var adjtamt = Number(grd_adjtord.valueMatrix(i,grd_adjtord.colRef("adjtamt"))); // 삭감액
- var obtappamt = Number(grd_adjtord.valueMatrix(i,grd_adjtord.colRef("obtappamt"))); // 이의신청금액
-
- totadjtamt += adjtamt;
- totobtappamt += obtappamt;
- //이의신청 처방그리드이 사유콤보 풍선도움말을 라벨료 표시하기위해/root/main/patinfodata/gridadjtord
- grd_adjtord.tooltipText(i, grd_adjtord.colRef("abdresncd")) = model.getValue("/root/init2/abdresnlist/abdmlist[cd='" + grd_adjtord.valueMatrix(i,grd_adjtord.colRef("abdresncd")) + "']/nm");
- grd_adjtord.tooltipText(i, grd_adjtord.colRef("detladjtflag")) = model.getValue("/root/init/P0250list/P0250[cdid='" + grd_adjtord.valueMatrix(i,grd_adjtord.colRef("detladjtflag")) + "']/cdnm");
-
- //부제기코드가 있는경우 색갈 지정
- if (grd_adjtord.colRef("abdresncd") != "-") {
-
-
- }
- }
-
- model.setValue("/root/hidden/totadjtamt", totadjtamt);
- model.setValue("/root/hidden/totobtappamt", totobtappamt);
- opt_totadjtamt.refresh();
- opt_totobtappamt.refresh();
-
-
- setRowStyle("grd_adjtord", "4", "Y", "adjtmakeyn");
- /*
- grd_adjtord.subtotalposition="below";
- grd_adjtord.subtotal("sum", -1, grd_adjtord.colRef("adjtamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffff00; color:#0000ff; font-weight:bold; ", 0, "소계", false);
- grd_adjtord.subtotal("sum", -1, grd_adjtord.colRef("obtappamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "소계", false);
- */
- }
-
- // SPPIZ00700_심사Comment조회.xrw 호출(심사자메모,EDI메모)
- function fGetJudgEdiComment(memoflag, memocls) {
- model.resetInstanceNode("/root/hidden/sppiz00700/rslt");
- model.resetInstanceNode("/root/hidden/sppiz00700/cond");
- model.setValue("/root/hidden/sppiz00700/cond/memoflag", memoflag);
- model.setValue("/root/hidden/sppiz00700/cond/memocls", memocls);
- modal("SPPIZ00700" ,"", "10", "10", "SPPIZ00700", "/root/hidden/sppiz00700", "/root/send/sppiz00700", "", "");
- }
-
- //심사자 메모 팝업 갱신
- function fSetJudgMemoRefresh(){
- model.refresh();
- var memo = model.getValue("/root/hidden/sppiz00700/rslt/memo");
- var tmp = model.getValue("/root/main/item1/iteminfo/judgrmk");
- if(tmp){
- tmp = tmp + " ";
- }
-
- //model.makeNode("/root/main/patinfodata/gridpatinfo/obtapprem");
- var bfobtapprem = model.getValue("/root/main/patinfodata/gridpatinfo/obtapprem");
-
- if( bfobtapprem == '-' || bfobtapprem == '' || bfobtapprem == ' '){
- //bfTelRsrvRem = telrsrvrem;
- }else{
- memo = bfobtapprem + " " + memo;
- }
- model.setValue("/root/main/patinfodata/gridpatinfo/obtapprem",tmp + memo);
-
-
- //model.refresh(); 최적화 문제로 대체 20080731 박창원
- model.refresh();
- }
-
- //부제기 신청
- function fSetAbdMemoRefresh(){
- var memo = model.getValue("/root/hidden/sppiz00700/rslt/memo");
-
- model.setValue("/root/hidden/abdresnmemo",memo);
- model.setValue("/root/hidden/abdresnmemo_all",memo);
-
- model.refresh();
- }
- //EDI 메모 팝업 갱신
- function fSetEdiMemoRefresh(){
- var memo = model.getValue("/root/hidden/sppiz00700/rslt/memo");
- var tmp = model.getValue("/root/main/item1/iteminfo/edirmk");
- if(tmp){
- tmp = tmp + " ";
- }
-
- var bfobtapprem = model.getValue("/root/main/patinfodata/gridpatinfo/obtapprem");
-
- if( bfobtapprem == '-' || bfobtapprem == '' || bfobtapprem == ' '){
- //bfTelRsrvRem = telrsrvrem;
- }else{
- memo = bfobtapprem + " " + memo;
- }
- model.setValue("/root/main/patinfodata/gridpatinfo/obtapprem",tmp + memo);
-
- //model.refresh(); 최적화 문제로 대체 20080731 박창원
- model.refresh();
- }
-
- // 개별 문서마감
- function fIndDocuEnd(){
-
- // 드래그로 선택시 선택된 행들의 선택필드를 Y로 체크한다.
- var rows = grd_pirhobtm.selectedRows;
- var cur_row = 0;
- for (var i = 0; i < rows; i++) {
- cur_row = grd_pirhobtm.selectedRow(i);
-
- // 완료 여부 체크
- if( grd_pirhobtm.valueMatrix(cur_row, grd_pirhobtm.colRef("endyn")) != "true"){
- messageBox("완료되지 않은 항목이 존재 합니다. 확인 후 다시 시도해 주세요. ","E999");
- return;
- }
-
- // 마감 여부 체크
- if(grd_pirhobtm.valueMatrix(cur_row, grd_pirhobtm.colRef("closeyn")) == "Y"){
- messageBox("마감된 명세서는 선택", "E001"); // 할 수 없습니다.
- return;
- }
-
- grd_pirhobtm.valueMatrix(cur_row, grd_pirhobtm.colRef("check")) = "Y";
- }
-
- grp_memo.visible = true; // 개별마감 박스 보이기
-
- // 기본정보 셋팅
- model.setValue("/root/hidden/enddata/endinfo/notidd", model.getValue("/root/send/send_end/notidd"));
- model.setValue("/root/hidden/enddata/endinfo/obtappdd", getCurrentDate());
- model.setValue("/root/hidden/enddata/endinfo/obtappdocuno", "보험");
-
- ipt_notidd.refresh();
- ipt_obtappdd.refresh();
- ipt_docuno.refresh();
-
- }
-
- // 전체 선택
- function fSelectAll() {
-
- var endList = "";
- var closeList = "";
-
- for (var i = 1; i < grd_pirhobtm.rows; i++) {
-
- // 완료 여부 체크
- if(grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("endyn")) != "true"){
- endList = endList + grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("docuseqno"))+ " ";
- } else if(grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("closeyn")) == "Y"){ // 마감 여부 체크
- closeList = closeList + grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("docuseqno")) + " ";
- } else { // 그 외에는 체크
- grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("check")) = "Y";
- }
- }
-
- if (endList != "" || closeList != "") {
- messageBox("선택에서 제외된 건 \nㅁ미완료\n" + endList + "\nㅁ기마감\n" + closeList,"I999");
- }
-
- }
-
- // 전체 선택 해제
- function fDeSelectAll() {
- for (var i = 1; i < grd_pirhobtm.rows; i++) {
- grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("check")) = "N";
- }
- }
-
- function fSetPopupRefresh() {
- var vpid = grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("pid"));
- var vhngnm = grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("patnm"));
- var vprcpdd = getCurrentDate();
- var vprcpcd = grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("prcpcd"));
- var indd = grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("notidd"));
- var orddeptcd = grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("orddeptcd"));
-
- var sChildSMMRI00400 = findChildWindowByScreenID("SMMRI00400");
- if (sChildSMMRI00400 != null) {
- var wndobj = getOpenWindow("SMMRI00400");
- if(wndobj != null)
- {
- setParameter("SMMRI00400_param_pid", vpid);
- // 초기화함수 호출
- wndobj.javascript.fInitalize();
- }
- }
-
- var sChildSMPPI00700 = findChildWindowByScreenID("SMPPI00700");
- if (sChildSMPPI00700 != null) {
- var wndobj = getOpenWindow("SMPPI00700");
- if(wndobj != null)
- {
- setParameter("pid", vpid);
- setParameter("hngnm", vhngnm);
- setParameter("prcpdd", vprcpdd);
- setParameter("prcpcd", vprcpcd);
- // 초기화함수 호출
- wndobj.javascript.fInitalize();
- }
- }
-
- var sChildSMAER00800 = findChildWindowByScreenID("SMAER00800");
- if (sChildSMAER00800 != null) {
- var wndobj = getOpenWindow("SMAER00800");
- if(wndobj != null)
- {
- wndobj.javascript.model.makeValue("/root/send/data/singdata/srchdate1", indd);
- wndobj.javascript.model.makeValue("/root/send/data/singdata/srchpid", vpid);
- wndobj.javascript.model.makeValue("/root/send/data/singdata/orddeptcd", orddeptcd);
- wndobj.javascript.model.refresh();
- wndobj.javascript.model.dispatch("xforms-ready");
- }
- }
-
-
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1197;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:135px; height:14px; ">이의신청</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744; ">
- <line id="line8" class="line_2" style="x1:350px; y1:121px; x2:727px; y2:121px; "/>
- <line id="line9" class="line_2" style="x1:350px; y1:145px; x2:727px; y2:145px; "/>
- <caption id="caption27" class="cell_1" style="left:350px; top:147px; width:55px; height:23px; text-align:center; vertical-align:middle; ">S/A</caption>
- <caption id="caption1" class="tit_2" style="left:5px; top:79px; width:60px; height:13px; ">대상자</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:121px; x2:290px; y2:121px; "/>
- <caption id="caption15" class="tit_2" style="left:349px; top:315px; width:74px; height:13px; ">상병</caption>
- <line id="line4" class="line_1" style="x1:350px; y1:330px; x2:728px; y2:330px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/patinfodata/griddiaginfo" caption="R/O^코드^순번^상병명^과^진료개시일" colsep="^" colwidth="29, 51, 19, 116, 65, 62" dataheight="25" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:350px; top:335px; width:379px; height:116px; ">
- <col disabled="true" ref="diagkindcd" type="checkbox"/>
- <col ref="diagcd"/>
- <col ref="diagseq" visibility="hidden"/>
- <col ref="diagnm"/>
- <col ref="clamdeptcd"/>
- <col ref="ordfromdd" format="yyyy/mm/dd"/>
- </datagrid>
- <caption id="caption23" class="cell_1" style="left:350px; top:99px; width:55px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <output id="output11" ref="/root/main/patinfodata/gridpatinfo/indd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:520px; top:100px; width:70px; height:19px; text-align:center; "/>
- <caption id="caption24" class="cell_1" style="left:474px; top:99px; width:44px; height:23px; text-align:center; vertical-align:middle; ">입원일</caption>
- <output id="output15" ref="/root/main/patinfodata/gridpatinfo/dschdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:520px; top:124px; width:70px; height:19px; text-align:center; "/>
- <output id="output16" ref="/root/main/patinfodata/gridpatinfo/patnm" class="output_fix" appearance="output" style="left:406px; top:124px; width:65px; height:19px; text-align:center; "/>
- <caption id="caption25" class="cell_1" style="left:350px; top:123px; width:55px; height:23px; text-align:center; vertical-align:middle; ">수진자</caption>
- <caption id="caption26" class="cell_1" style="left:474px; top:123px; width:44px; height:23px; text-align:center; vertical-align:middle; ">퇴원일</caption>
- <output id="output17" ref="/root/main/patinfodata/gridpatinfo/ordfromdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:520px; top:148px; width:70px; height:19px; text-align:center; "/>
- <output id="output18" ref="/root/main/patinfodata/gridpatinfo/sexage" class="output_fix" appearance="output" style="left:406px; top:148px; width:65px; height:19px; text-align:center; "/>
- <caption id="caption28" class="cell_1" style="left:474px; top:147px; width:44px; height:23px; text-align:center; vertical-align:middle; ">개시일</caption>
- <caption id="caption34" class="cell_1" style="left:966px; top:71px; width:59px; height:21px; text-align:left; vertical-align:middle; ">심사분류</caption>
- <select1 id="rdo_judgflag" ref="/root/main/patinfodata/gridpatinfo/judgcls" disabled="false" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:1026px; top:72px; width:164px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>단순심사</label>
- <value>1</value>
- </item>
- <item>
- <label>의학적 심사</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption36" class="tit_2" style="left:349px; top:75px; width:75px; height:13px; ">환자기본</caption>
- <line id="line2" class="line_1" style="x1:350px; y1:93px; x2:728px; y2:93px; "/>
- <line id="line16" class="line_3" style="x1:0px; y1:741px; x2:1194px; y2:741px; "/>
- <output id="output1" ref="/root/main/patinfodata/gridpatinfo/orddrid" class="output_fix" appearance="output" style="left:406px; top:172px; width:65px; height:19px; text-align:center; "/>
- <output id="output2" ref="/root/main/patinfodata/gridpatinfo/ordtodd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:520px; top:172px; width:70px; height:19px; text-align:center; "/>
- <output id="output3" ref="/root/main/patinfodata/gridpatinfo/chosindayno" class="output_fix" appearance="output" style="left:657px; top:100px; width:35px; height:19px; text-align:center; "/>
- <caption id="caption22" class="cell_1" style="left:350px; top:171px; width:55px; height:23px; text-align:center; vertical-align:middle; ">진료의</caption>
- <output id="output4" ref="/root/main/patinfodata/gridpatinfo/insukind" class="output_fix" appearance="output" style="left:657px; top:124px; width:70px; height:19px; text-align:center; "/>
- <caption id="caption30" class="cell_1" style="left:474px; top:171px; width:44px; height:23px; text-align:center; vertical-align:middle; ">종료일</caption>
- <output id="output5" ref="/root/main/patinfodata/gridpatinfo/medcaredayno" class="output_fix" appearance="output" style="left:693px; top:100px; width:35px; height:19px; text-align:center; "/>
- <caption id="caption37" class="cell_1" style="left:593px; top:123px; width:61px; height:23px; text-align:center; vertical-align:middle; ">유형/보조</caption>
- <output id="output6" ref="/root/main/patinfodata/gridpatinfo/payownbrate" class="output_fix" appearance="output" style="left:657px; top:148px; width:70px; height:19px; text-align:center; "/>
- <caption id="caption41" class="cell_1" style="left:593px; top:99px; width:61px; height:23px; text-align:center; vertical-align:middle; ">내원/요양</caption>
- <caption id="caption42" class="cell_1" style="left:593px; top:147px; width:61px; height:23px; text-align:center; vertical-align:middle; ">적용요율</caption>
- <caption id="caption43" class="cell_1" style="left:593px; top:171px; width:61px; height:23px; text-align:center; vertical-align:middle; ">MT002</caption>
- <line id="line20" class="line_2" style="x1:350px; y1:169px; x2:727px; y2:169px; "/>
- <datagrid id="grd_pirhobtm" nodeset="/root/main/obtmlist/gridpirhobtm" class="datagrid2" caption="선택^마감^완료^이신^관
심^과^명일련^등록
번호^수진자^진료의^^^^^^^^^^^^" colsep="^" colwidth="17, 18, 18, 18, 18, 34, 40, 53, 50, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="0" explorerbar="sortshowmove" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" style="left:0px; top:99px; width:348px; height:401px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="closeyn" type="checkbox" style="color:#ff0000; "/>
- <col disabled="true" ref="endyn" type="checkbox" style="color:#ff0000; "/>
- <col disabled="true" ref="obtappyn" type="checkbox" style="color:#ff0000; "/>
- <col checkvalue="Y,N" disabled="true" ref="concprcpyn" type="checkbox"/>
- <col disabled="true" ref="orddeptcd" type="output" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0287list/P0287">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="docuseqno" style="text-align:center; "/>
- <col disabled="true" ref="pid" style="left:140px; top:32px; width:62px; height:23px; text-align:center; "/>
- <col disabled="true" ref="patnm" style="left:202px; top:32px; width:65px; height:23px; text-align:center; "/>
- <col disabled="true" ref="orddrnm" style="text-align:center; "/>
- <col ref="judgdg" visibility="hidden"/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="acptno" visibility="hidden"/>
- <col ref="obtappflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="notidd" visibility="hidden"/>
- <col ref="obtappendflag" visibility="hidden"/>
- <col ref="obtappdocuno" visibility="hidden"/>
- <col ref="atdoct" visibility="hidden"/>
- <col ref="judgrid" visibility="hidden"/>
- <col ref="clamym" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="pidsn" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="obtappdd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_pirhobtm.isCell(event.target) && grd_pirhobtm.mouseRow >= grd_pirhobtm.fixedrows) {
- fObtappSerch();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 선택 체크 했을 경우 유효성 검사
- if (grd_pirhobtm.isCell(event.target) && grd_pirhobtm.mouseRow >= grd_pirhobtm.fixedrows && grd_pirhobtm.col == grd_pirhobtm.colRef("check")) {
- // 마감된 경우 체크 불허
- if ( grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("closeyn")) == "Y" ) {
- messageBox("마감된 명세서는 선택", "E001"); // 할 수 없습니다.
- grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("check")) = "N" ;
- grd_pirhobtm.rowStatus(grd_pirhobtm.row) = "0";
- return;
- }
-
- // 완료 여부 체크
- if ( grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("endyn")) != "true" ) {
- messageBox("완료되지 않은 명세서는 선택","E001"); // 할 수 없습니다.
- grd_pirhobtm.valueMatrix(grd_pirhobtm.row, grd_pirhobtm.colRef("check")) = "N" ;
- grd_pirhobtm.rowStatus(grd_pirhobtm.row) = "0";
- return;
- }
- }
-
- // 선택 체크 했을 때는 조회 안 한다.
- if (grd_pirhobtm.isCell(event.target) && grd_pirhobtm.mouseRow >= grd_pirhobtm.fixedrows && grd_pirhobtm.col != grd_pirhobtm.colRef("check")) {
- fDisplayObtappdocuno();
- fObtappSerch();
- fInitControl(); // 2010.06.09 컨트롤 활성화 여부(개별 마감 때문에 명세서별로 마감 여부가 다르다)
- }
-
- fSetPopupRefresh();
-
- model.setValue("/root/hidden/tmp/row",grd_pirhobtm.row);
- model.setValue("/root/hidden/tmp/scroll",grd_pirhobtm.vscroll.attribute("pos"));
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) {
- if (grd_pirhobtm.disabled) return;
- if (grd_pirhobtm.isCell(event.target) && grd_pirhobtm.mouseRow >= grd_pirhobtm.fixedrows) {
- window.setPopupMenu(true, "/root/popupdata/popupmenu/gridpirhobtm/item", "name", "func", false);
- }
- else {
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //grd_pirhobtm.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <output id="opt_obtappdocuno" ref="/root/temp/obtappdocuno" class="output_fix" style="left:220px; top:75px; width:110px; height:19px; "/>
- <caption id="caption33" style="left:168px; top:78px; width:60px; height:14px; ">문서번호</caption>
- <group id="grp_sea" style="left:0; top:10px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1191px; height:58px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:7px; top:9px; width:96px; height:17px; ">청구번호 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1130px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (model.getValue("/root/send/send_obtmlist/judgdg") == "") {
- alert("심사차수를 입력해 주세요");
- model.setFocus("ipt_judgdg");
- return false;
- }
-
- if (model.getValue("/root/send/send_obtmlist/acptno") == "") {
- alert("접수번호를 입력해 주세요");
- model.setFocus("ipt_acptno");
- return false;
- }
- // model.resetInstanceNode("/root/main/list01");
-
- model.resetInstanceNode("/root/main/obtmlist");
- model.refresh();
-
- submit("TRPIR30400");
-
- button2.dispatch("onclick");
-
- var obtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/obtappflag");
- if (obtappflag == "22") {
- checkbox2.attribute("visibility") = "visible";
- chk_attdocu.attribute("visibility") = "hidden";
- } else {
- checkbox2.attribute("visibility") = "hidden";
- chk_attdocu.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1118px; y1:30px; x2:1118px; y2:52px; "/>
- <caption id="caption7" class="search_name" style="left:335px; top:33px; width:86px; height:17px; ">문서번호 :</caption>
- <input id="ipt_obtappdocuno" ref="/root/send/send_obtmlist/obtappdocuno" class="input_search" style="left:422px; top:32px; width:73px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:173px; top:9px; width:96px; height:17px; ">접수번호 :</caption>
- <caption id="caption4" class="search_name" style="left:335px; top:9px; width:88px; height:17px; ">심사차수 :</caption>
- <caption id="caption21" class="search_name" style="left:496px; top:9px; width:88px; height:17px; ">묶음번호 :</caption>
- <input id="input7" ref="/root/send/send_obtmlist/setno" class="input_search" style="left:585px; top:8px; width:73px; height:19px; text-align:center; "/>
- <output id="output8" ref="/root/main/obtmlist/acptinfo/claminfo" class="output_search" style="left:6px; top:32px; width:328px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:661px; top:33px; width:86px; height:17px; ">이 신 액 :</caption>
- <caption id="caption8" class="search_name" style="left:496px; top:33px; width:86px; height:17px; ">총삭감액 :</caption>
- <caption id="caption9" class="search_name" style="left:824px; top:33px; width:83px; height:17px; ">부 제 기 :</caption>
- <input id="input11" ref="/root/send/send_obtmlist/notidd" class="output_search" format="yyyy-mm-dd" style="left:749px; top:8px; width:73px; height:19px; "/>
- <caption id="caption10" class="search_name" style="left:661px; top:9px; width:86px; height:17px; ">도착일자 :</caption>
- <input id="ipt_clamno" ref="/root/send/send_obtmlist/clamno" class="input_search" style="left:93px; top:8px; width:73px; height:19px; "/>
- <input id="ipt_acptno" ref="/root/send/send_obtmlist/acptno" class="input_s_essential" navindex="1" inputtype="button" style="left:260px; top:8px; width:73px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText();
- if (event.keyCode == "13") {
- fGetJudgdg("2");
- }
- ]]>
- </script>
- </input>
- <output id="output9" ref="/root/main/obtmlist/acptinfo/obtappamt" class="output_search" format="#,###" style="left:749px; top:32px; width:73px; height:19px; text-align:right; "/>
- <output id="output10" ref="/root/main/obtmlist/acptinfo/abdamt" class="output_search" format="#,###" style="left:915px; top:32px; width:64px; height:19px; text-align:right; "/>
- <output id="output12" ref="/root/main/obtmlist/acptinfo/adjtamt" class="output_search" format="#,###" style="left:585px; top:32px; width:73px; height:19px; text-align:right; "/>
- <caption id="caption19" class="search_name" style="left:824px; top:9px; width:86px; height:17px; ">이신구분 :</caption>
- <select1 id="cmb_obtappflag" ref="/root/send/send_obtmlist/obtappflag" class="combo_search" navindex="4" appearance="minimal" style="left:1044px; top:6px; width:142px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0264list/P0264">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- rdo_obtappflag.deselect(1);
- rdo_obtappflag.deselect(2);
-
- button1.dispatch("onclick");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_obtappflag" ref="/root/send/send_obtmlist/rejudgflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:915px; top:8px; width:125px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>재심사제외</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- cmb_obtappflag.deselect(1);
- ]]>
- </script>
- </select1>
- <select1 id="ipt_judgdg" ref="/root/send/send_obtmlist/judgdg" class="combo_s_essential" navindex="2" appearance="minimal" style="left:422px; top:8px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list1/judg">
- <label ref="judgdg"/>
- <value ref="judgdg"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- button1.dispatch("onclick");
- ]]>
- </script>
- </select1>
- <select id="checkbox1" ref="/root/send/send_obtmlist/endn" overflow="visible" appearance="full" style="left:1094px; top:34px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- button1.dispatch("onclick");
- ]]>
- </script>
- </select>
- <caption id="caption45" class="search_name" style="left:983px; top:33px; width:112px; height:17px; ">대상완료제외 :</caption>
- </group>
- <input id="ipt_docuseqno" ref="/root/send/send_docusearch/docuseqno" class="input_search" style="left:126px; top:75px; width:39px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- // ENTER 키
- if (event.keyCode == "13") {
- setInputNodeCurText();
- var docuseqno = model.getValue("/root/send/send_docusearch/docuseqno"); //ipt_docuseqno.value;
- var sfind = "N";
-
- if (docuseqno.length == 0) {
- return false;
- }
- else if (docuseqno.length == 1) {
- docuseqno = "0000"+docuseqno;
- }
- else if (docuseqno.length == 2) {
- docuseqno = "000"+docuseqno;
- }
- else if (docuseqno.length == 3) {
- docuseqno = "00"+docuseqno;
- }
- else if (docuseqno.length == 4) {
- docuseqno = "0"+docuseqno;
- }
- else if (docuseqno.length == 5) {
- docuseqno = docuseqno;
- }
- else if (docuseqno.length > 5) {
- messageBox("명세서일련번호는 최대 5자리","E008");
- //ipt_docuseqno.value = "";
- model.setValue("/root/send/send_docusearch/docuseqno","")
- return false;
- }
-
- var rows = grd_pirhobtm.rows;
-
- for (var i=1; i<rows; i++) {
- if (grd_pirhobtm.valueMatrix(i,grd_pirhobtm.colRef("docuseqno")) == docuseqno) {
- // grd_pifmiunc02.select(i,9) = true;
- grd_pirhobtm.row = i;
- grd_pirhobtm.topRow = i;
- sfind = "Y";
- }
- }
- if (sfind == "Y") {
- fDisplayObtappdocuno();
- fObtappSerch();
- }
-
-
- }
- ]]>
- </script>
- </input>
- <caption id="caption48" style="left:65px; top:78px; width:62px; height:14px; ">명일련검색</caption>
- <line id="line30" class="line_1" style="x1:350px; y1:211px; x2:728px; y2:211px; "/>
- <input id="input8" ref="/root/main/patinfodata/gridpatinfo/jrinsubamt" class="input_default" editable="false" format="#,###" style="left:641px; top:268px; width:87px; height:19px; text-align:right; "/>
- <caption id="caption71" class="cell_1" style="left:350px; top:216px; width:108px; height:23px; vertical-align:middle; "/>
- <line id="line31" class="line_3" style="x1:350px; y1:289px; x2:728px; y2:289px; "/>
- <input id="input9" ref="/root/main/patinfodata/gridpatinfo/jrownbamt" class="input_default" editable="false" format="#,###" style="left:551px; top:268px; width:87px; height:19px; text-align:right; "/>
- <caption id="caption72" class="cell_1" style="left:350px; top:265px; width:108px; height:23px; text-align:center; vertical-align:middle; ">심사결정내역</caption>
- <caption id="caption73" class="cell_1" style="left:461px; top:216px; width:87px; height:23px; text-align:center; vertical-align:middle; ">급여총액</caption>
- <caption id="caption74" class="cell_1" style="left:551px; top:216px; width:87px; height:23px; text-align:center; vertical-align:middle; ">본인부담액</caption>
- <input id="input10" ref="/root/main/patinfodata/gridpatinfo/clmcstotamt" class="input_default" editable="false" format="#,###" style="left:461px; top:242px; width:87px; height:19px; text-align:right; "/>
- <caption id="caption75" class="cell_1" style="left:350px; top:240px; width:108px; height:23px; text-align:center; vertical-align:middle; ">청구내역</caption>
- <caption id="caption76" class="cell_1" style="left:641px; top:216px; width:87px; height:23px; text-align:center; vertical-align:middle; ">청구액</caption>
- <caption id="caption77" class="cell_1" style="left:551px; top:291px; width:87px; height:23px; text-align:center; vertical-align:middle; ">조정합계</caption>
- <input id="input12" ref="/root/main/patinfodata/gridpatinfo/jrmcstotamt" class="input_default" editable="false" format="#,###" style="left:461px; top:268px; width:87px; height:19px; text-align:right; "/>
- <caption id="caption78" class="cell_1" style="left:350px; top:291px; width:108px; height:23px; text-align:center; vertical-align:middle; ">심사결정액</caption>
- <caption id="caption79" class="tit_2" style="left:349px; top:196px; width:131px; height:13px; ">금액</caption>
- <line id="line28" class="line_2" style="x1:350px; y1:264px; x2:728px; y2:264px; "/>
- <line id="line29" class="line_2" style="x1:350px; y1:238px; x2:728px; y2:238px; text-align:center; "/>
- <input id="input1" ref="/root/main/patinfodata/gridpatinfo/jrjudgdeciamt" class="input_default" editable="false" format="#,###" style="left:461px; top:294px; width:87px; height:19px; text-align:right; "/>
- <input id="input2" ref="/root/main/patinfodata/gridpatinfo/clclamamt" class="input_default" editable="false" format="#,###" style="left:641px; top:242px; width:87px; height:19px; text-align:right; "/>
- <input id="input3" ref="/root/main/patinfodata/gridpatinfo/clownbamt" class="input_default" editable="false" format="#,###" style="left:551px; top:242px; width:87px; height:19px; text-align:right; "/>
- <input id="input4" ref="/root/main/patinfodata/gridpatinfo/jradjtsum" class="input_default" editable="false" format="#,###" style="left:641px; top:293px; width:87px; height:19px; text-align:right; "/>
- <textarea id="txtbox_obtapprem" ref="/root/main/patinfodata/gridpatinfo/obtapprem" style="left:730px; top:335px; width:465px; height:141px; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- modal("SPPIE00200", "", "400", "400" ,"", "/root/main/patinfodata/gridpatinfo/obtapprem", "/root/send/textno");
- ]]>
- </script>
- </textarea>
- <line id="line12" class="line_1" style="x1:730px; y1:95px; x2:1193px; y2:94px; "/>
- <caption id="caption38" class="tit_2" style="left:730px; top:316px; width:162px; height:13px; ">이의신청 사유 및 비고</caption>
- <line id="line3" class="line_1" style="x1:735px; y1:331px; x2:1191px; y2:332px; "/>
- <select id="chk_attdocu" ref="/root/main/patinfodata/gridpatinfo/attdocu" overflow="visible" appearance="full" cellspacing="1" cols="5" sep="," vcellspacing="10" style="left:350px; top:475px; width:370px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1심결통보서</label>
- <value>1</value>
- </item>
- <item>
- <label>2진료기록부</label>
- <value>2</value>
- </item>
- <item>
- <label>3X-ray</label>
- <value>3</value>
- </item>
- <item>
- <label>4검사결과지</label>
- <value>4</value>
- </item>
- <item>
- <label>5기타</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (chk_attdocu.value != "") {
- fObtappynAutoCheck("true");
- } else {
- fObtappynAutoCheck("false")
- }
- fSubtotal();
- ]]>
- </script>
- </select>
- <select1 id="combo4" ref="/root/searchinfo/orddeptcd" class="combo_search" appearance="minimal" style="left:502px; top:72px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/deptinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/searchinfo/orddrid", "A");
- if (model.getValue("/root/searchinfo/orddeptcd") == "A") {
- combo2.choices.itemset.attribute("nodeset") = "/root/main/obtmlist/doctinfo";
- } else {
- combo2.choices.itemset.attribute("nodeset") = "/root/main/obtmlist/doctinfo[orddeptcd='"+model.getValue("/root/searchinfo/orddeptcd")+"' or orddeptcd='']";
- }
- combo2.refresh();
- button2.dispatch("onclick");
- ]]>
- </script>
- </select1>
- <caption id="caption16" class="search_name" style="left:419px; top:73px; width:83px; height:17px; ">진 료 과 :</caption>
- <caption id="caption17" class="search_name" style="left:577px; top:73px; width:83px; height:17px; ">진 료 의 :</caption>
- <caption id="caption18" class="search_name" style="left:739px; top:73px; width:93px; height:17px; ">심 사 자 :</caption>
- <button id="button2" class="btn1_letter2" style="left:901px; top:71px; width:56px; height:22px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var orddept = model.getValue("/root/searchinfo/orddeptcd");
- var orddrid = model.getValue("/root/searchinfo/orddrid");
- var judgrid = model.getValue("/root/searchinfo/judgrid");
-
- var hiddenyn
- var rowcnt = grd_pirhobtm.rows;
- var j = 0;
- var allcnt = 0;
- var ycnt = 0;
- var nodenm = "";
-
- if ( orddept != "A") {
- nodenm = " orddeptcd='" + orddept +"' " ;
- ycnt++;
- }
-
- if ( orddrid != "A") {
- if (ycnt < 1) {
- nodenm = " atdoct='" + orddrid +"' " ;
- ycnt++;
- } else {
- nodenm += "and atdoct='" + orddrid +"' " ;
- }
-
- }
-
- if ( judgrid != "A") {
- if (ycnt < 1) {
- nodenm = " judgrid='" + judgrid +"' " ;
- ycnt++;
- } else {
- nodenm += "and judgrid='" + judgrid +"' " ;
- }
-
- }
-
- if (ycnt == 0){
- grd_pirhobtm.nodeset = "/root/main/obtmlist/gridpirhobtm";
- } else {
- grd_pirhobtm.nodeset = "/root/main/obtmlist/gridpirhobtm[" + nodenm + "]";
- }
-
- if (model.getValue("/root/hidden/tmp/saveyn") == "Y") {
- grd_pirhobtm.row = model.getValue("/root/hidden/tmp/row").length == 0 ? i : model.getValue("/root/hidden/tmp/row");
- } else {
- grd_pirhobtm.row = 1;
- model.setValue("/root/hidden/tmp/row", 1);
- }
- grd_pirhobtm.topRow = grd_pirhobtm.row;
- fDisplayObtappdocuno();
- fObtappSerch();
- fInitControl(); // 2010.06.09 컨트롤 활성화 여부(개별 마감 때문에 명세서별로 마감 여부가 다르다)
-
- fSetPopupRefresh();
-
- model.setValue("/root/hidden/tmp/saveyn","");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="tit_2" style="left:349px; top:456px; width:74px; height:13px; ">첨부문서</caption>
- <line id="line6" class="line_1" style="x1:350px; y1:470px; x2:728px; y2:470px; "/>
- <output id="output13" ref="/root/main/patinfodata/gridpatinfo/spclspec" class="output_fix" appearance="output" style="left:657px; top:172px; width:70px; height:19px; text-align:center; "/>
- <textarea id="textarea3" ref="/root/main/patinfodata/gridpatinfo/docuseqnorem" editable="false" style="left:730px; top:115px; width:465px; height:97px; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- modal("SPPIE00200", "", "400", "400" ,"", "/root/main/patinfodata/gridpatinfo/docuseqnorem", "/root/send/textno");
- ]]>
- </script>
- </textarea>
- <datagrid id="datagrid3" nodeset="/root/main/patinfodata/gridlnnoadjtresncd" autoresize="true" caption="줄^EDICODE^참조란" colsep="^" colwidth="27, 67, 354" defaultrows="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:730px; top:211px; width:465px; height:99px; ">
- <col ref="lnno"/>
- <col ref="edicd"/>
- <col ref="rem" type="inputbutton"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- //model.setValue("/root/main/list04/rem", datagrid3.valueMatrix(datagrid3.row,datagrid3.col));
- modal("SPPIE00200", "", "400", "400" ,"", "/root/main/patinfodata/gridlnnoadjtresncd[" + datagrid3.row + "]/rem", "/root/send/textno");
- ]]>
- </script>
- </datagrid>
- <caption id="caption12" class="tit_2" style="left:730px; top:100px; width:219px; height:13px; ">명일련 비고사항 및 수신 조정사유</caption>
- <input id="ipt_rem" ref="/root/main/patinfodata/gridpatinfo/rem" style="left:730px; top:475px; width:464px; height:19px; "/>
- <select1 id="combo2" ref="/root/searchinfo/orddrid" class="combo_search" appearance="minimal" style="left:662px; top:72px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/doctinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- button2.dispatch("onclick");
- ]]>
- </script>
- </select1>
- <select1 id="combo3" ref="/root/searchinfo/judgrid" class="combo_search" appearance="minimal" style="left:823px; top:72px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/judgrinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- button2.dispatch("onclick");
- ]]>
- </script>
- </select1>
- <group id="group1" style="left:1px; top:500px; width:1193px; height:215px; ">
- <button id="btn_smallscale" class="btn2_letter2" visibility="hidden" style="left:85px; top:5px; width:42px; height:19px; ">
- <caption>축소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.attribute("top") = "500"
- group1.attribute("height") = "215"
- grd_adjtord.attribute("height") = "186";
- btn_largescale.visible = true;
- btn_smallscale.visible = false;
-
- btn_memohistory.visible = true;
- btn_memohistory_drug.visible = true;
- btn_memohistory_injection.visible = true;
- btn_memohistory_treat.visible = true;
- btn_memohistory_exam.visible = true;
- btn_memohistory_etc.visible = true;
- ]]>
- </script>
- </button>
- <line id="line11" class="line_1" style="x1:0px; y1:27px; x2:1193px; y2:26px; "/>
- <caption id="caption31" class="tit_2" style="left:5px; top:11px; width:90px; height:13px; ">삭감 처방</caption>
- <button id="btn_largescale" class="btn2_letter2" style="left:85px; top:5px; width:42px; height:19px; ">
- <caption>확대</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.attribute("top") = "123"
- group1.attribute("height") = "592"
- grd_adjtord.attribute("height") = "561";
- btn_largescale.visible = false;
- btn_smallscale.visible = true;
-
- btn_memohistory.visible = false;
- btn_memohistory_drug.visible = false;
- btn_memohistory_injection.visible = false;
- btn_memohistory_treat.visible = false;
- btn_memohistory_exam.visible = false;
- btn_memohistory_etc.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn2_letter4" style="left:1062px; top:5px; width:64px; height:19px; ">
- <caption>저 장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 1. 데이터 검사
- if (!fCheckData()) return;
-
- // 2. 저장하시겠습니까?
- //if (messageBox("저장", "S001") != 6) return;
-
- // 3. 블럭 지정한 row 수정
- var rows = grd_adjtord.selectedRows;
-
- if (rows > 1) {
-
- for (var k = 0; k < rows; k++) {
- var sel = grd_adjtord.selectedRow(k) - 1;
- var row = grd_adjtord.selectedRow(k);
- var obtappyn = grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtappyn"));
- var abdresncd = grd_adjtord.valueMatrix(row,grd_adjtord.colRef("abdresncd"));
-
- if (obtappyn == "false" && abdresncd != "-") {
- messageBox("부제기 처방은 삭제전 이의신청", "E001");
- return;
- }
- }
-
- for (var i = 0; i < rows; i++) {
-
- var sel = grd_adjtord.selectedRow(i) - 1;
- var row = grd_adjtord.selectedRow(i);
- var obtappyn = grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtappyn"));
-
- // 신청 체크가 안되어 있으면 체크된 상태로 만든다.
- if (obtappyn == "false") {
-
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtappyn")) = "true";
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtapponeqty")) = grd_adjtord.valueMatrix(row,grd_adjtord.colRef("adjtoneqty"));
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtappdayqty")) = grd_adjtord.valueMatrix(row,grd_adjtord.colRef("adjtdayqty"));
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtapptotqty")) = grd_adjtord.valueMatrix(row,grd_adjtord.colRef("adjttotqty"));
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtappamt")) = grd_adjtord.valueMatrix(row,grd_adjtord.colRef("adjtamt"));
-
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("abdresncd")) = "-";
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("abdresnmemo")) = "-";
-
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo";
-
- grd_adjtord.rowstatus(row) = 2;
-
- }
-
- }
-
- }
-
- // 4. 저장 수행
- var curr_row = grd_pirhobtm.row;
- var status = "update";
- var judgdg = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("judgdg"));
- var clamno = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("clamno"));
- var acptno = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("acptno"));
- var docuseqno = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("docuseqno"));
- var obtappflag = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappflag"));
-
- var obtapprem = model.getValue("/root/main/patinfodata/gridpatinfo/obtapprem");
- var rem = model.getValue("/root/main/patinfodata/gridpatinfo/rem"); //ipt_rem.value;
-
- var judgcls = model.getValue("/root/main/patinfodata/gridpatinfo/judgcls"); //rdo_judgflag.value;
- var attdocu = model.getValue("/root/main/patinfodata/gridpatinfo/attdocu"); //chk_attdocu.value;
-
- model.setValue("/root/main/temp2/adjtremdata/adjt_judgdg", judgdg);
- model.setValue("/root/main/temp2/adjtremdata/adjt_clamno", clamno);
- model.setValue("/root/main/temp2/adjtremdata/adjt_acptno", acptno);
- model.setValue("/root/main/temp2/adjtremdata/adjt_docuseqno", docuseqno);
- model.setValue("/root/main/temp2/adjtremdata/adjt_obtappflag", obtappflag);
- model.setValue("/root/main/temp2/adjtremdata/adjt_status", status);
- model.setValue("/root/main/temp2/adjtremdata/adjt_obtapprem", obtapprem);
- model.setValue("/root/main/temp2/adjtremdata/adjt_rem", rem);
- model.setValue("/root/main/temp2/adjtremdata/adjt_judgcls", judgcls);
- if (attdocu != "") {
- model.setValue("/root/main/temp2/adjtremdata/adjt_attdocu", attdocu);
- } else {
- model.setValue("/root/main/temp2/adjtremdata/adjt_attdocu", "-");
- }
-
-
- model.setValue("/root/main/temp/gridadjtord", grd_adjtord.getUpdateData());
-
- // 저장....
- // 1. 이신일투/이신총투 저장
- // 2. 심사분류및 첨부문서 저장
- // 3. 이의신청사유/비고란 저장
-
- submit("TXPIR30401"); // 1 번만 저장처리됨..확인
-
- model.setValue("/root/hidden/tmp/saveyn","Y");
- button1.dispatch("onclick");
-
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:831px; top:5px; width:64px; height:19px; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 이의신청등록관리화면의 조회조건과 이의신청결과조회화면의 조회조건이 부분적으로 일치하기 때문에
- // 동일한 조회조건에 해당하는 항목만 매핑처리한다.
- /*
- model.setValue("/root/source_result/termflag1", "");
- model.setValue("/root/source_result/termflag2", "");
- model.setValue("/root/source_result/fromobtappdd", "");
- model.setValue("/root/source_result/toobtappdd", "");
- model.setValue("/root/source_result/from_ordym", "");
- model.setValue("/root/source_result/to_ordym", "");
- model.setValue("/root/source_result/insukind", "");
- model.setValue("/root/source_result/chosflag", "");
- model.setValue("/root/source_result/clamflag", "");
- model.setValue("/root/source_result/judgdg", model.getValue("/root/send/send_obtmlist/judgdg"));
- model.setValue("/root/source_result/ordfildcd", "");
- model.setValue("/root/source_result/acptno", model.getValue("/root/send/send_obtmlist/acptno"));
- model.setValue("/root/source_result/obtappflag", model.getValue("/root/send/send_obtmlist/obtappflag"));
- model.setValue("/root/source_result/obtappdocuno", "");
- model.setValue("/root/source_result/decidocuno", "");
- model.setValue("/root/source_result/rejudgflag", "");
- model.setValue("/root/source_result/obtapprsltendflag", "");
- model.setValue("/root/source_result/obtappamt", "");
- model.setValue("/root/source_result/cuttotamt", "");
- model.setValue("/root/source_result/recogamt", "");
-
- modal("SMPIR30700", 1, 1, 1, "SMPIR30700", "/root/source_result", "/root/send/send_dataqry");
- */
- /*
- setParameter("SMMRI00400_param_pid", model.getValue("/root/main/patinfodata/gridpatinfo/pid"));
- open("SMMRI00400", "", "10", "10", "SMMRI00400", "", "", "", "");
- */
- model.makevalue("/root/hidden/smaer00800/cond/srchdate1", "");
- model.makevalue("/root/hidden/smaer00800/cond/srchdate2", "");
- model.makevalue("/root/hidden/smaer00800/cond/srchpid", model.getValue("/root/main/patinfodata/gridpatinfo/pid"));
- model.makevalue("/root/hidden/smaer00800/cond/wardcd", "");
- model.makevalue("/root/hidden/smaer00800/cond/roomcd", "");
- model.makevalue("/root/hidden/smaer00800/cond/listflag", "P");
- model.makevalue("/root/hidden/smaer00800/cond/deptcd", "");
- model.makevalue("/root/hidden/smaer00800/cond/drid", "");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck", "");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck1", "A");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck2", "B");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck3", "C");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck4", "D");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck5", "E");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck6", "F");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck7", "G");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck8", "");
- model.makevalue("/root/hidden/smaer00800/cond/tabflag", "");
- model.makevalue("/root/hidden/smaer00800/cond/mdlcd", "");
- model.makevalue("/root/hidden/smaer00800/cond/examgubun", "");
- model.makevalue("/root/hidden/smaer00800/cond/srchflag", "B");
- model.makevalue("/root/hidden/smaer00800/cond/hlaflag", "N");
- model.makevalue("/root/hidden/smaer00800/cond/prntfrmflag", "");
-
- open("SMAER00800" ,"", "10", "10", "SMAER00800", "/root/hidden/smaer00800/cond", "/root/send/data/singdata", "", "");
- ]]>
- </script>
- </button>
- <button id="btn_before" class="btn2_letter4" style="left:765px; top:5px; width:64px; height:19px; ">
- <caption>이전단계</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // [이전단계 클릭시에 이전신청구분을 조회 : [재심사 후 이의] -> [재심사], [심사청구/행정심판] -> [이의신청]
- // 01:이의신청, 02:재심후이의신청, 03:재심사조정청구, 04:원외이의신청, 05:원외이의신청(추가), 06:심사청구, 07:행정심판, 08:정산환수, 09:원외정산환수, 10:정산의뢰, 11:자격정산의뢰
-
- // model.setValue("/root/send/send_obtmlist/clamno", model.getValue("/root/hidden/obtmlist/claminfo/clamno"));
-
- var v_obtappflag = model.getValue("/root/send/send_patinfo/obtappflag");
- // alert("v_obtappflag : " + v_obtappflag);
- var v_bfobtappflag = null;
- // alert("v_obtappflag : " + v_obtappflag);
-
- // 02:재심후 이의신청
- if (v_obtappflag == "02") {
- v_bfobtappflag = '03'; // 03:재심사 조정청구
- model.setValue("/root/send/send_patinfo/obtappflag", v_bfobtappflag);
- }
-
- // 06:심사청구, 07:행정심판
- if ((v_obtappflag == "06") || (v_obtappflag == "07")) {
- v_bfobtappflag = '01'; // 01:이의신청
- model.setValue("/root/send/send_patinfo/obtappflag", v_bfobtappflag);
- }
- // 01:이의신청, 02:재심후 이의신청, 06:심사청구, 07:행정심판
- if ( (v_obtappflag == "02") || (v_obtappflag == "06") || (v_obtappflag == "07") || (v_obtappflag == "01")) {
- modal("SMPIR30410", 1, 1, 1, "SMPIR30410", "/root/send/send_patinfo", "/root/send/send_patinfo");
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn2_letter6" style="left:897px; top:5px; width:86px; height:19px; ">
- <caption>심사화면보기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var row = grd_pirhobtm.row;
- if (grd_pirhobtm.row >= grd_pirhobtm.fixedRows ) {
-
- if (grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")) == "I") {
- var preDocuWindow = getChildWindow("SMPID20300");
- } else {
- var preDocuWindow = getChildWindow("SMPID20500");
- }
-
-
- if (preDocuWindow == null) {
- model.setValue("/root/send/send_afjudg/workflag", "12");
- model.setValue("/root/send/send_afjudg/clamym",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamym")));
- model.setValue("/root/send/send_afjudg/clamdg",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamdg")));
- model.setValue("/root/send/send_afjudg/pid",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pid")));
- model.setValue("/root/send/send_afjudg/pidsn",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pidsn")));
- model.setValue("/root/send/send_afjudg/ioflag",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")));
-
- if (grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")) == "I") {
- open("SMPID20300", "2", "10", "10", "SMPID20300", "/root/send/send_afjudg","/root/send/item1/clbs", "", "");
- } else {
- open("SMPID20500", "2", "10", "10", "SMPID20500", "/root/send/send_afjudg","/root/send/item1/clbs", "", "");
- }
- } else {
- if (grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")) == "I") {
- model.setValue("/root/hidden/smpid20300/cond/workflag", "12");
- model.setValue("/root/hidden/smpid20300/cond/clamym", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamym")));
- model.setValue("/root/hidden/smpid20300/cond/clamdg", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamdg")));
- model.setValue("/root/hidden/smpid20300/cond/pid", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pid")));
- model.setValue("/root/hidden/smpid20300/cond/pidsn", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pidsn")));
- model.setValue("/root/hidden/smpid20300/cond/ioflag", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")));
- preDocuWindow.javascript.fActivatePreDocuWindow();
- activateChild("SMPID20300");
- } else {
- model.setValue("/root/hidden/smpid20500/cond/workflag", "12");
- model.setValue("/root/hidden/smpid20500/cond/clamym", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamym")));
- model.setValue("/root/hidden/smpid20500/cond/clamdg", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamdg")));
- model.setValue("/root/hidden/smpid20500/cond/pid", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pid")));
- model.setValue("/root/hidden/smpid20500/cond/pidsn", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pidsn")));
- model.setValue("/root/hidden/smpid20500/cond/ioflag", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")));
- preDocuWindow.javascript.fActivatePreDocuWindow();
- activateChild("SMPID20500");
- }
-
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_rejudg" class="btn2_letter5" ref="/root/temp/rejudg" style="left:985px; top:5px; width:75px; height:19px; ">
- <caption>재심사저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 이의신청 대상자리스트 클릭시에 명일련단위로 재심사 등록을 처리 : 이의신청 상세 조회 화면의 재심사처리 Logic을 그대로 사용
- var curr_row = grd_pirhobtm.row;
- var status = "update";
- model.setValue("/root/send/send_rejudgrgst/status", status);
- model.setValue("/root/send/send_rejudgrgst/judgdg", grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("judgdg")));
- model.setValue("/root/send/send_rejudgrgst/clamno", grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("clamno")));
- model.setValue("/root/send/send_rejudgrgst/acptno", grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("acptno")));
- model.setValue("/root/send/send_rejudgrgst/docuseqno", grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("docuseqno")));
- model.setValue("/root/send/send_rejudgrgst/obtappflag", grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappflag")));
-
- // 2010.06.14 이의신청문서번호를 같이 보낸다. 무조건 - 로만 보내진다. 마감 안 한건만 재심사저장이 되니까.
- model.setValue("/root/send/send_rejudgrgst/obtappdocuno", grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappdocuno")));
-
- if (grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappflag")) == "03") {
-
- if (messageBox("재심사 취소", "S001") != 6) return;
-
- submit("TXPIR30301");
- } else {
-
- if (grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappflag")) != "01" && grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappflag")) != "04"
- && grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappflag")) != "08") { // 2014.02.20 정산환수도 재심사 저장 되도록 추가(L.E.J)
- model.alert("이의신청,정산환수만 재심사조정 할 수 있습니다");
- return;
- }
-
- if (messageBox("재심사 저장", "S001") != 6) return;
-
- submit("TXPIR30300");
- }
- model.refresh();
-
- submit("TRPIR30401");
-
- //fSubtotal();
- model.setValue("/root/hidden/tmp/saveyn","Y");
- button1.dispatch("onclick");
- ]]>
- </script>
- </button>
- <line id="line5" class="line_3" style="x1:125px; y1:0px; x2:1193px; y2:0px; "/>
- <button id="btn_delete" class="btn2_letter4" style="left:1128px; top:5px; width:64px; height:19px; ">
- <caption>삭 제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1. 삭제하시겠습니까?
- if (messageBox("삭제", "S001") != 6) return;
-
- // 2. 그리드 초기화
- grd_adjtord.clearStatus();
-
- // 3. 그리드 상태를 삭제로 변경한다.
- var rows = grd_adjtord.selectedRows;
- for (var i = 0; i < rows; i++) {
- var row = grd_adjtord.selectedRow(i);
-
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtappyn")) = "false";
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtapponeqty")) = 0;
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtappdayqty")) = 0;
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtapptotqty")) = 0;
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("obtappamt")) = 0;
-
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("detladjtflag")) = "-";
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("adjtresndesc")) = "-";
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("displayyn")) = "N";
-
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("abdresncd")) = "-";
- grd_adjtord.valueMatrix(row,grd_adjtord.colRef("abdresnmemo")) = "-";
-
- grd_adjtord.rowstatus(row) = 4;
- }
- if (model.getValue("/root/main/patinfodata/gridadjtord[obtappyn='true']/obtappyn") != "true") {
- //4. 이의사유.첨부파일 초기화 셋팅
- var curr_row = grd_pirhobtm.row;
- var status = "update";
- var judgdg = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("judgdg"));
- var clamno = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("clamno"));
- var acptno = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("acptno"));
- var docuseqno = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("docuseqno"));
- var obtappflag = grd_pirhobtm.valueMatrix(curr_row,grd_pirhobtm.colRef("obtappflag"));
-
- var obtapprem = model.getValue("/root/main/patinfodata/gridpatinfo/obtapprem");
- var rem = model.getValue("/root/main/patinfodata/gridpatinfo/rem"); //ipt_rem.value;
- var judgcls = model.getValue("/root/main/patinfodata/gridpatinfo/judgcls"); //rdo_judgflag.value;
- var attdocu = model.getValue("/root/main/patinfodata/gridpatinfo/attdocu"); //chk_attdocu.value;
-
- model.setValue("/root/main/temp2/adjtremdata/adjt_judgdg", judgdg);
- model.setValue("/root/main/temp2/adjtremdata/adjt_clamno", clamno);
- model.setValue("/root/main/temp2/adjtremdata/adjt_acptno", acptno);
- model.setValue("/root/main/temp2/adjtremdata/adjt_docuseqno", docuseqno);
- model.setValue("/root/main/temp2/adjtremdata/adjt_obtappflag", obtappflag);
- model.setValue("/root/main/temp2/adjtremdata/adjt_status", status);
- model.setValue("/root/main/temp2/adjtremdata/adjt_obtapprem", "");
- model.setValue("/root/main/temp2/adjtremdata/adjt_rem", rem);
- model.setValue("/root/main/temp2/adjtremdata/adjt_judgcls", judgcls);
- model.setValue("/root/main/temp2/adjtremdata/adjt_attdocu", "-");
- // 6. 초기화 저장....
- // 1. 이신일투/이신총투 저장
- // 2. 심사분류및 첨부문서 저장
- // 3. 이의신청사유/비고란 저장
-
- submit("TXPIR30401"); // 1 번만 저장처리됨..확인
-
- }
- // 5. 삭제를 수행한다.
- model.setValue("/root/main/temp/gridadjtord", grd_adjtord.getUpdateData());
- submit("TXPIR30403");
-
-
-
- // 7. 재조회한다.
- button1.dispatch("onclick");
- model.setValue("/root/hidden/tmp/saveyn","Y");
- button2.dispatch("onclick");
- ]]>
- </script>
- </button>
- <datagrid id="grd_adjtord" nodeset="/root/main/patinfodata/gridadjtord" caption="신청^관심^줄^항^사
유^구
분^이신구분^처방코드^EDI코드^처방명칭^단가^청구^청구^청구^삭감^삭감^삭감^삭감액^이의신청^이의신청^이의신청^이의신청
금액^부제기^부제기^삭감사유진료의통보용^삭감사유진료의통보용^진료의
통보여부^부제기일자^^^^^^^^^^^^^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12|신청^관심^줄^항^사
유^구
분^이신구분^처방코드^EDI코드^처방명칭^단가^1회^일투^총투^1회^일투^총투^삭감액^1회^일투^총투^이의신청
금액^사유^사유설명^사유^사유설명^진료의
통보여부^부제기일자^^^^^^^^^^^^^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12" colsep="^" colwidth="30, 30, 29, 25, 26, 28, 30, 67, 68, 181, 61, 30, 30, 30, 30, 30, 30, 66, 30, 30, 30, 66, 54, 70, 60, 70, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortmove" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:29px; width:1193px; height:170px; ">
- <col ref="obtappyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="concprcpyn" type="checkbox"/>
- <col ref="lnno"/>
- <col ref="item"/>
- <col ref="adjtresncd" style="text-align:center; "/>
- <col ref="matractflag" style="text-align:center; "/>
- <col ref="obtappflag" visibility="hidden"/>
- <col ref="calcscorcd"/>
- <col ref="edicd"/>
- <col ref="hngnm"/>
- <col ref="unitcost" format="#,###" style="text-align:right; "/>
- <col ref="edidrugqty" style="text-align:right; "/>
- <col ref="tims" style="text-align:right; "/>
- <col ref="edidayno" style="text-align:right; "/>
- <col ref="adjtoneqty" style="text-align:right; "/>
- <col ref="adjtdayqty" style="text-align:right; "/>
- <col ref="adjttotqty" style="text-align:right; "/>
- <col ref="adjtamt" format="#,###" style="left:682px; top:43px; width:66px; height:23px; text-align:right; "/>
- <col ref="obtapponeqty" type="input" style="text-align:right; "/>
- <col ref="obtappdayqty" type="input" style="text-align:right; "/>
- <col ref="obtapptotqty" type="input" style="text-align:right; "/>
- <col ref="obtappamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="abdresncd" type="combo">
- <choices>
- <itemset nodeset="/root/init2/abdresnlist/abdmlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="abdresnmemo" type="inputbutton"/>
- <col ref="detladjtflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0250list/P0250">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="adjtresndesc" type="inputbutton"/>
- <col ref="displayyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="abddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="judgdg" visibility="hidden"/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="acptno" visibility="hidden"/>
- <col ref="docuseqno" visibility="hidden"/>
- <col ref="mpsno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="clamym" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="ordym" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="edicdflag" visibility="hidden"/>
- <col ref="oldobtapponeqty" visibility="hidden"/>
- <col ref="oldobtappdayqty" visibility="hidden"/>
- <col ref="oldobtapptotqty" visibility="hidden"/>
- <col ref="oldobtappamt" visibility="hidden"/>
- <col ref="olddetladjtflag" visibility="hidden"/>
- <col ref="oldadjtresndesc" visibility="hidden"/>
- <col ref="olddisplayyn" visibility="hidden"/>
- <col ref="oldabdresncd" visibility="hidden"/>
- <col ref="oldabdresnmemo" visibility="hidden"/>
- <col ref="judgrid" visibility="hidden"/>
- <col ref="oldobtappyn" visibility="hidden"/>
- <col ref="adjtmakeyn"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) {
- if (grd_adjtord.disabled) return;
- if (grd_adjtord.isCell(event.target) && grd_adjtord.mouseRow >= grd_adjtord.fixedrows) {
-
- if (model.getValue("/root/send/send_end/obtappendflag") != "S" && model.getValue("/root/send/send_end/obtappendflag") != "Y") {
- window.setPopupMenu(true, "/root/popupdata/popupmenu/gridadjtord/item", "name", "func", false);
- }
- }
- else {
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var curr_row = grd_adjtord.row;
- var obtapponeqty = Number(grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtapponeqty")));
- var obtappdayqty = Number(grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappdayqty")));
- var obtapptot = Number(grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtapptotqty")));
- var unitcost = Number(grd_adjtord.valueMatrix(curr_row, grd_adjtord.colRef("unitcost")));
- var adjtresncd = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("detladjtflag"));
- var adjtresncdtext = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("adjtresndesc"));
- var abdresncd = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("abdresncd"));
- var obtappyn = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappyn"));
- var oldobtappyn = grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("oldobtappyn"));
- var corpactaddrate = model.getValue("/root/main/patinfodata/gridpatinfo/corpactaddrate");
-
- /*
- // 삭감사유
- if (grd_adjtord.col == grd_adjtord.colRef("detladjtflag")) {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "adjtinfo"; // workflag = "adjtinfo" set
- }
-
- // 삭감사유설명
- if (grd_adjtord.col == grd_adjtord.colRef("adjtresndesc")) {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "adjtinfo"; // workflag = "adjtinfo" set
- }
- */
-
-
- // 이의신청1회
- if (grd_adjtord.col == grd_adjtord.colRef("obtapponeqty")) {
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtapponeqty")) != "") {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("edicdflag")) == "1") {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = Math.round((unitcost * obtapponeqty * obtappdayqty * obtapptot) * (1 + (corpactaddrate/100))); // 이의신청액
- } else {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = Math.round(unitcost * obtapponeqty * obtappdayqty * obtapptot); // 이의신청액
- }
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
-
- // 이의신청일투
- if (grd_adjtord.col == grd_adjtord.colRef("obtappdayqty")) {
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappdayqty")) != "") {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("edicdflag")) == "1") {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = Math.round((unitcost * obtapponeqty * obtappdayqty * obtapptot) * (1 + (corpactaddrate/100))); // 이의신청액
- } else {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = Math.round(unitcost * obtapponeqty * obtappdayqty * obtapptot); // 이의신청액
- }
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = Math.round((unitcost * obtapponeqty * obtappdayqty * obtapptot) * (1 + (corpactaddrate/100))); // 이의신청액
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
-
- // 이의신청총투
- if (grd_adjtord.col == grd_adjtord.colRef("obtapptotqty")) {
- if ((grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtapptotqty")) != "") & (grd_adjtord.col != grd_adjtord.colRef("detladjtflag")) & (grd_adjtord.col != grd_adjtord.colRef("adjtresndesc"))) {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("edicdflag")) == "1") {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = Math.round((unitcost * obtapponeqty * obtappdayqty * obtapptot) * (1 + (corpactaddrate/100))); // 이의신청액
- } else {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = Math.round(unitcost * obtapponeqty * obtappdayqty * obtapptot); // 이의신청액
- }
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("obtappamt")) = Math.round((unitcost * obtapponeqty * obtappdayqty * obtapptot) * (1 + (corpactaddrate/100))); // 이의신청액
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
- // 부제기사유
- if (grd_adjtord.col == grd_adjtord.colRef("abdresncd")) {
- if (abdresncd == "-") {
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("abdresnmemo")) = "-";
- }
- }
-
- // 신청
- if (grd_adjtord.col == grd_adjtord.colRef("obtappyn")) {
- fObtappynCheck(curr_row);
- }
-
- fSubtotal();
-
- //grd_adjtord.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if (grd_adjtord.isCell(event.target) && grd_adjtord.mouseRow >= grd_adjtord.fixedrows) {
-
- var curr_row = grd_adjtord.row - 1;
- var col = grd_adjtord.col;
- if (col == grd_adjtord.colRef("edicd") || col == grd_adjtord.colRef("hngnm")) {
-
- var obtapprem = model.getValue("/root/main/patinfodata/gridpatinfo/obtapprem");
-
- if (obtapprem == "-") {
- if (col == grd_adjtord.colRef("edicd")) obtapprem = model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/edicd") + " : ";
- else if (col == grd_adjtord.colRef("hngnm")) obtapprem = model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/hngnm") + " : ";
- } else {
- if (col == grd_adjtord.colRef("edicd")) obtapprem += model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/edicd") + " : ";
- else if (col == grd_adjtord.colRef("hngnm")) obtapprem += model.getValue("/root/main/patinfodata/gridadjtord[" + curr_row + "]/hngnm") + " : ";
- }
- model.setValue("/root/main/patinfodata/gridpatinfo/obtapprem", obtapprem);
- txtbox_obtapprem.refresh();
- model.setFocus("txtbox_obtapprem");
- obtapprem.length
- txtbox_obtapprem.selBegin = obtapprem.length;
- txtbox_obtapprem.selEnd = obtapprem.length;
- }
-
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var row = grd_adjtord.row - 1;
- var col = grd_adjtord.col;
- if (col == grd_adjtord.colRef("adjtresndesc")) { // 삭감사유설명
- // 삭감사유코드가 먼저 들어가야 함
- if (model.getValue("/root/main/patinfodata/gridadjtord[" + row + " ]/detladjtflag") == "") {
- messageBox("삭감사유코드가 입력되지", "E007");
- return;
- }
- model.setValue("/root/hidden/adjtresndesc",model.getValue("/root/main/patinfodata/gridadjtord[" + row + " ]/adjtresndesc"));
- ipt_adjtresndesc.refresh();
- grp_adjtresndesc.visible= true;
- }
- if (col == grd_adjtord.colRef("abdresnmemo")) { // 부제기사유설명
- // 부제기사유코드가 먼저 들어가야 함
- if (model.getValue("/root/main/patinfodata/gridadjtord[" + row + " ]/abdresncd") == "") {
- messageBox("부제기사유코드가 입력되지", "E007");
- return;
- }
- model.setValue("/root/hidden/abdresnmemo",model.getValue("/root/main/patinfodata/gridadjtord[" + row + " ]/abdresnmemo"));
- ipt_abdresnmemo.refresh();
- grp_abdresnmemo.visible= true;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_adjtord.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbeforesort">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (grd_adjtord.isCell(event.target) && grd_adjtord.mouseRow >= grd_adjtord.fixedrows) {
- var clodstatus = grd_adjtord.valueMatrix(grd_adjtord.mouseRow, grd_adjtord.colRef("obtappyn"));
- if (clodstatus == "false") { // 0 : new, 2 : update
- // 조회된 처방에 대해서는 그룹/수가/EDI코드 입력을 제한한다.
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtapponeqty")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappdayqty")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtapptotqty")) = true;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappamt")) = true;
- } else {
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtapponeqty")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappdayqty")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtapptotqty")) = false;
- grd_adjtord.colDisabled(grd_adjtord.colRef("obtappamt")) = false;
- }
- }
- ]]>
- </script>
- </datagrid>
- <output id="opt_totadjtamt" ref="/root/hidden/totadjtamt" class="output_fix" format="#,###" style="left:216px; top:5px; width:75px; height:19px; text-align:right; "/>
- <caption id="caption29" style="left:165px; top:7px; width:51px; height:15px; ">총삭감액</caption>
- <output id="opt_totobtappamt" ref="/root/hidden/totobtappamt" class="output_fix" format="#,###" style="left:369px; top:5px; width:75px; height:19px; text-align:right; "/>
- <caption id="caption32" style="left:295px; top:7px; width:74px; height:15px; ">총이의신청액</caption>
- <button id="button11" class="btn2_letter4" disabled="false" visibility="visible" style="left:699px; top:5px; width:64px; height:19px; ">
- <caption>약제누적</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row = grd_pirhobtm.row;
- // 누적 제어일 경우 환자별약제누적관리 현황을 팝업으로 연다.
- //var vacmlyn = grd_detlprcpspec.valueMatrix(cur_row, grd_detlprcpspec.colRef("acmlyn"));
-
- // 누적여부 항목이 Y 일때 환자별약제누적관리 창을 팝업으로 뛰운다
- //if(vacmlyn == "Y") {
-
- var vpid = grd_pirhobtm.valueMatrix(cur_row, grd_pirhobtm.colRef("pid"));
- var vhngnm = grd_pirhobtm.valueMatrix(cur_row, grd_pirhobtm.colRef("patnm"));
- var vprcpdd = getCurrentDate();
- var vprcpcd = grd_pirhobtm.valueMatrix(cur_row, grd_pirhobtm.colRef("prcpcd"));
-
- setParameter("pid", vpid);
- setParameter("hngnm", vhngnm);
- setParameter("prcpdd", vprcpdd);
- setParameter("prcpcd", vprcpcd);
-
- open("../../../pam/bfjudgcareweb/xrw/SMPPI00700_환자별약제누적관리", "1", "20", "80" ,"SMPPI00700_환자별약제누적관리", "", "");
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter6" disabled="false" visibility="visible" style="left:611px; top:5px; width:86px; height:19px; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("pid")) != "" ) {
- fOpenSMMRI00400(grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("pid")));
- }
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter7" disabled="false" visibility="visible" style="left:512px; top:5px; width:97px; height:19px; ">
- <caption>급여비용결정서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("pid")) != "" ) {
-
- model.setValue("/root/hidden/smpie03000/cond/flag", "1");
- model.setValue("/root/hidden/smpie03000/cond/ioflag", "A");
- model.setValue("/root/hidden/smpie03000/cond/noflag", "A");
- model.setValue("/root/hidden/smpie03000/cond/no", grd_pirhobtm.valueMatrix(grd_pirhobtm.row,grd_pirhobtm.colRef("acptno")));
-
- open("SMPIE03000" ,"", "10", "10", "SMPIE03000", "/root/hidden/smpie03000/cond", "/root/send/send_f131", "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <input id="output7" ref="/root/main/patinfodata/gridpatinfo/pid" class="input_search" style="left:406px; top:100px; width:65px; height:19px; text-align:center; "/>
- <button id="btn_memohistory_etc" class="btn2_letter2" _auth="X" style="left:1130px; top:311px; width:42px; height:19px; ">
- <caption>기타</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("5", "99"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_treat" class="btn2_letter2" _auth="X" style="left:1040px; top:311px; width:42px; height:19px; ">
- <caption>처치</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("5", "03"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_exam" class="btn2_letter2" _auth="X" style="left:1085px; top:311px; width:42px; height:19px; ">
- <caption>검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("5", "04"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memohistory" class="btn2_letter4" _auth="X" style="left:883px; top:311px; width:64px; height:19px; ">
- <caption>이의신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("5", "");
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_injection" class="btn2_letter2" _auth="X" style="left:995px; top:311px; width:42px; height:19px; ">
- <caption>주사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("5", "02"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_drug" class="btn2_letter2" _auth="X" style="left:950px; top:311px; width:42px; height:19px; ">
- <caption>약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("5", "01"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <select id="checkbox2" ref="/root/main/patinfodata/gridpatinfo/attdocu" visibility="hidden" overflow="visible" appearance="full" cellspacing="1" cols="7" sep="," vcellspacing="10" style="left:355px; top:450px; width:535px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>6.진료기록부사본</label>
- <value>6</value>
- </item>
- <item>
- <label>7.CD</label>
- <value>7</value>
- </item>
- <item>
- <label>8.필름</label>
- <value>8</value>
- </item>
- <item>
- <label>9.기타</label>
- <value>9</value>
- </item>
- <item>
- <label>5.기타</label>
- <value>5</value>
- </item>
- <item>
- <label>10.신규</label>
- <value>10</value>
- </item>
- <item>
- <label>11.변경</label>
- <value>11</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (chk_attdocu.value != "") {
- fObtappynAutoCheck("true");
- } else {
- fObtappynAutoCheck("false")
- }
- fSubtotal();
- ]]>
- </script>
- </select>
- </group>
- <group id="grp_btn" style="left:0px; top:728px; width:1195px; height:26px; ">
- <button id="button7" class="btn3_letter7" style="left:0px; top:2px; width:116px; height:22px; ">
- <caption>이의신청서 출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_pirhobtm.rows > 1) {
- model.setValue("/root/send/send_obtmlist/judgdg",grd_pirhobtm.valueMatrix(1,grd_pirhobtm.colRef("judgdg")));
- model.setValue("/root/send/send_obtmlist/clamno",grd_pirhobtm.valueMatrix(1,grd_pirhobtm.colRef("clamno")));
- model.setValue("/root/send/send_obtmlist/acptno",grd_pirhobtm.valueMatrix(1,grd_pirhobtm.colRef("acptno")));
- model.setValue("/root/send/send_obtmlist/obtappflag",grd_pirhobtm.valueMatrix(1,grd_pirhobtm.colRef("obtappflag")));
- }
-
- modal("SPPIR30500", 1, 1, 1, "SPPIR30500", "/root/send/send_obtmlist", "/root/receiveref");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
- <button id="button6" class="btn3_letter6" style="left:198px; top:2px; width:104px; height:22px; ">
- <caption>이의신청 결정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPIR30800", 1, 1, 1, "SMPIR30800", "/root/send/send_obtmlist", "/root/send/send_obtmlist");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter4" style="left:117px; top:2px; width:80px; height:22px; ">
- <caption>문서 마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 이의신청등록관리화면의 조회조건과 이의신청과조회화면의 조회조건이 부분적으로 일치하기 때문에 동일한 조회조건에 해당하는 항목만 매핑처리한다.
-
- // var curr_row = grd_pirhobtm.row;
- // var status = "update";
-
- // model.setValue("/root/send/send_end/status", status);
-
- // model.setValue("/root/send/send_end/judgdg", model.getValue("/root/main/obtmlist/gridpirmobth[" + curr_row + "]/judgdg"));
- // model.setValue("/root/send/send_end/clamno", model.getValue("/root/main/obtmlist/gridpirmobth[" + curr_row + "]/clamno"));
- // model.setValue("/root/send/send_end/acptno", model.getValue("/root/main/obtmlist/gridpirmobth[" + curr_row + "]/acptno"));
- // model.setValue("/root/send/send_end/obtappflag", model.getValue("/root/main/obtmlist/gridpirmobth[" + curr_row + "]/obtappflag"));
- // model.setValue("/root/send/send_end/notidd", model.getValue("/root/main/obtmlist/gridpirmobth[" + curr_row + "]/notidd"));
- // 개별 마감 여부 체크. 개별 마감시 전체 마감 기능을 제한해야 한다. 2010.06.16
- var closecnt = 0;
-
- for ( var i = 1 ; i < grd_pirhobtm.rows ; i++ ) {
- if ( grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("closeyn")) == "Y" ) {
- closecnt++;
- }
- }
-
- // 명세서의 일부만 마감이 됐을 경우 개별 마감으로 분류한다. 문서마감 팝업시에 개별마감건은 일괄 마감처리를 막아야 한다.
- if ( closecnt == 0 || closecnt == grd_pirhobtm.rows - 1 ) {
- model.setValue("/root/send/send_end/indendyn", "N");
- } else {
- model.setValue("/root/send/send_end/indendyn", "Y");
- }
-
- modal("SPPIR30420", 1, 1, 1, "SPPIR30420", "/root/send/send_end", "/root/main/enddata");
- ]]>
- </script>
- </button>
- <caption id="caption44" style="left:310px; top:5px; width:825px; height:20px; color:#ff0000; ">* 삭감액(약제상한차액포함), 이의신청금액(약제상한차액포함 )</caption>
- </group>
- <group id="grp_adjtresndesc" visibility="hidden" style="left:710px; top:580px; width:415px; height:103px; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:2px; top:2px; width:413px; height:100px; "/>
- <textarea id="ipt_adjtresndesc" ref="/root/hidden/adjtresndesc" style="left:6px; top:24px; width:404px; height:46px; "/>
- <caption id="caption13" class="search_name" style="left:6px; top:5px; width:154px; height:17px; ">삭감사유 설명</caption>
- <button id="btn_confirm1" class="btn4_letter2" style="left:295px; top:75px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_adjtord.row - 1;
- var adjtresndesc = model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/adjtresndesc");
- if(adjtresndesc != ipt_adjtresndesc.value){
- model.setValue("/root/main/patinfodata/gridadjtord[" + row + "]/adjtresndesc",ipt_adjtresndesc.currentText);
- grd_adjtord.addstatus(grd_adjtord.row, "update");
- }
- model.setValue("/root/hidden/adjtresndesc", "");
- ipt_adjtresndesc.refresh();
- grp_adjtresndesc.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_cancel1" class="btn4_letter2" style="left:354px; top:75px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/adjtresndesc", "");
- ipt_adjtresndesc.refresh();
- grp_adjtresndesc.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_abdresnmemo" visibility="hidden" style="left:695px; top:625px; width:415px; height:103px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:2px; top:2px; width:413px; height:100px; "/>
- <textarea id="ipt_abdresnmemo" ref="/root/hidden/abdresnmemo" style="left:6px; top:24px; width:404px; height:46px; "/>
- <caption id="caption14" class="search_name" style="left:6px; top:5px; width:154px; height:17px; ">부제기사유 설명</caption>
- <button id="btn_confirm2" class="btn4_letter2" style="left:295px; top:75px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_adjtord.row - 1;
- var abdresnmemo = model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/abdresnmemo");
- if(abdresnmemo != ipt_abdresnmemo.value){
- model.setValue("/root/main/patinfodata/gridadjtord[" + row + "]/abdresnmemo",ipt_abdresnmemo.currentText);
- grd_adjtord.addstatus(grd_adjtord.row, "update");
- }
- model.setValue("/root/hidden/abdresnmemo", "");
- ipt_abdresnmemo.refresh();
- grp_abdresnmemo.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_cancel2" class="btn4_letter2" style="left:354px; top:75px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/abdresnmemo", "");
- ipt_abdresnmemo.refresh();
- grp_abdresnmemo.visible = false;
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter6" _auth="X" style="left:7px; top:75px; width:86px; height:19px; ">
- <caption>부제기신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("8", "");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_abdresnmemo_all" visibility="hidden" style="left:105px; top:605px; width:415px; height:130px; ">
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:2px; top:2px; width:413px; height:128px; "/>
- <textarea id="ipt_abdresnmemo_all" ref="/root/hidden/abdresnmemo_all" style="left:7px; top:46px; width:404px; height:46px; "/>
- <caption id="caption20" class="search_name" style="left:6px; top:5px; width:154px; height:17px; ">일괄 부제기사유 전달</caption>
- <button id="btn_confirm3" class="btn4_letter2" style="left:295px; top:100px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rows = grd_adjtord.selectedRows;
- for (var i = 0; i < rows; i++) {
- var sel = grd_adjtord.selectedRow(i) - 1;
- var row = grd_adjtord.selectedRow(i);
- var abdresncd = model.getValue("/root/main/patinfodata/gridadjtord[" + sel + "]/abdresncd");
- var abdresnmemo = model.getValue("/root/main/patinfodata/gridadjtord[" + sel + "]/abdresnmemo");
-
- if (abdresncd != model.getValue("/root/hidden/abdresncd_all") || abdresnmemo != model.getValue("/root/hidden/abdresnmemo_all")) {
- model.setValue("/root/main/patinfodata/gridadjtord[" + sel + "]/abdresncd", model.getValue("/root/hidden/abdresncd_all"));
- model.setValue("/root/main/patinfodata/gridadjtord[" + sel + "]/abdresnmemo", model.getValue("/root/hidden/abdresnmemo_all"));
- grd_adjtord.rowstatus(row) = 2;
-
- model.setValue("/root/main/patinfodata/gridadjtord[" + sel + "]/workflag", "abdinfo");
- }
- }
- grd_adjtord.row = grd_adjtord.row;
- model.setValue("/root/hidden/abdresnmemo_all", "");
- ipt_abdresnmemo_all.refresh();
- model.setValue("/root/hidden/abdresncd_all", "");
- cmb_abdresncd_all.refresh();
-
- grp_abdresnmemo_all.visible = false;
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter2" style="left:354px; top:100px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/abdresnmemo_all", "");
- ipt_abdresnmemo_all.refresh();
- model.setValue("/root/hidden/abdresncd_all", "");
- cmb_abdresncd_all.refresh();
- grp_abdresnmemo_all.visible = false;
- ]]>
- </script>
- </button>
- <select1 id="cmb_abdresncd_all" ref="/root/hidden/abdresncd_all" appearance="minimal" style="left:7px; top:25px; width:404px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/abdresnlist/abdmlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button9" class="btn2_letter6" _auth="X" style="left:7px; top:100px; width:86px; height:19px; ">
- <caption>부제기신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("8", "");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_memo" visibility="hidden" style="left:435px; top:295px; width:285px; height:144px; border-color:#c7a3cf; border-style:solid; ">
- <caption id="cpt_text" class="tit_2" style="left:5px; top:0px; width:144px; height:14px; ">이의신청 명세서 마감</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:15px; x2:277px; y2:15px; "/>
- <shape id="roundrect5" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:275px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_cancel" class="btn4_letter2" style="left:217px; top:113px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.destroy("/root/hidden/enddate");
- model.makeNode("/root/hidden/enddate");
-
- grp_memo.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_end" class="btn4_letter2" style="left:159px; top:113px; width:56px; height:22px; ">
- <caption>마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 주석을 풀고 구형해야함 */
- // 2010.06.03 구현 시작
-
- // 완료 여부 체크 // 개별마감 요청 할때 체크함.
- // var startRow = grd_pirhobtm.fixedRows;
- // var endRow = grd_pirhobtm.rows;
- //
- // startRow = startRow-1;
- // endRow = endRow-1;
- //
- // for( var i = startRow; i < endRow; i++){
- // if(model.getValue("/root/main/obtmlist/gridpirhobtm["+ startRow +"]/endyn") != 'true'){
- // messageBox("완료되지 않은 항목이 존재 합니다. 확인 후 다시 시도해 주세요. ","E999");
- // return;
- // }
- // }
-
- // var row = grd_pirhobtm.row;
- var rows = grd_pirhobtm.rows;
- var cnt = 0;
-
- // var check = model.getValue("/root/main/obtmlist/gridpirhobtm["+ row +"]/check");
-
- if( messageBox("선택하신 대상자를 마감 하시겠습니까 ?", "Q999", "") != 6){
- return false;
- }
-
- model.makeNode("/root/send/updatedata/datalist");
- grd_pirhobtm.clearStatus();
-
- for( var i = 1; i < rows; i++){
- if( grd_pirhobtm.valueMatrix(i,grd_pirhobtm.colRef("check")) == 'Y'){
- grd_pirhobtm.valueMatrix(i,grd_pirhobtm.colRef("notidd")) = model.getValue("/root/hidden/enddata/endinfo/notidd");
- grd_pirhobtm.valueMatrix(i,grd_pirhobtm.colRef("obtappdd")) = model.getValue("/root/hidden/enddata/endinfo/obtappdd");
- grd_pirhobtm.valueMatrix(i,grd_pirhobtm.colRef("obtappdocuno")) = model.getValue("/root/hidden/enddata/endinfo/obtappdocuno");
-
- grd_pirhobtm.rowstatus(i) = 2;
- cnt++;
- } else {
- grd_pirhobtm.rowstatus(i) = 0;
- }
- }
-
- // var cur_row = grd_pirhobtm.row;
-
- if( cnt > 0 ){
-
- model.setValue("/root/send/updatedata/datalist",grd_pirhobtm.getUpdateData());
- if ( submit("TXPIR30422") ) {
- button1.dispatch("onclick");
- }
-
- grd_pirhobtm.clearStatus();
-
- model.removeNodeset("/root/send/updatedata/datalist");
- // model.makeNode("/root/send/updatedata/datalist");
-
- // fSearch();
-
- // model.refresh();
- }
-
- grp_memo.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption35" class="search_name" style="left:15px; top:84px; width:138px; height:17px; ">이의신청문서번호 :</caption>
- <caption id="caption39" class="search_name" style="left:15px; top:29px; width:138px; height:17px; ">심사결과통보일자 :</caption>
- <input id="ipt_obtappdd" ref="/root/hidden/enddata/endinfo/obtappdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:160px; top:55px; width:100px; height:19px; "/>
- <input id="ipt_notidd" ref="/root/hidden/enddata/endinfo/notidd" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:160px; top:28px; width:100px; height:19px; "/>
- <input id="ipt_docuno" ref="/root/hidden/enddata/endinfo/obtappdocuno" class="input_search" style="left:160px; top:83px; width:100px; height:19px; "/>
- <caption id="caption40" class="search_name" style="left:15px; top:56px; width:163px; height:17px; ">이의신청일자 :</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|