123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPID20400_외래사후심사대상자조회.xrw
- * 수정이력
- * - 2007.07.11 / 최초작성 / 정주미
-
- * - opener 에서 전달받는 조건 경로
- opener.root.hidden.smpid20400.cond.pid
- * - opener 로 전달하는 결과값 경로
- opener.root.hidden.smpid20400.rslt.clamkey
- opener.root.hidden.smpid20400.rslt.selectedRow
- opener.root.hidden.smpid20400.rslt.oldPid
- * - opener 로 호출하는 메소드
- fGetOutAftJudgMngt()
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <list1>
- <clbs/>
- </list1>
- <!-- SPPMC02500_환자조회 화면에서 선택된 검색결과를 받는 경로임 -->
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- <list2>
- <judgcnt/>
- </list2>
- </main>
- <send>
- <item1>
- <ioflag/>
- <clamym/>
- <clamdg/>
- <ordfildcd/>
- <clamflagcd/>
- <judgendyn/>
- <insukindcd/>
- <suppkindcd/>
- <clamdeptcd/>
- <acptno/>
- <docuseqno1/>
- <docuseqno2/>
- <patunitsrch1/>
- <patunitsrch2/>
- <judgrid/>
- <orddrid/>
- <totordamt/>
- <cmbtotordamt>2</cmbtotordamt>
- <ownbamt/>
- <cmbownbamt>3</cmbownbamt>
- <choicdsrch1>4</choicdsrch1>
- <choicdsrch2/>
- <chkspcljudg/>
- <chkcncr/>
- <chkcrf/>
- <chkhomecare/>
- <chkoneover/>
- <chkonetimesover/>
- <chktrnpt/>
- <chkretdocu/>
- <lastclamym/>
- <lastclamdg/>
- <lastjudgno/>
- <lastpid/>
- <lastpidsn/>
- <lastordcd/>
- <lastclamkey/>
- <lastedilnno/>
- <orddeptcd/>
- <diagcdfr/>
- <diagcdto/>
- <spclmark/>
- <surecd/>
- <patmode/>
- <inoutflag/>
- <drugcnt/>
- <aftjudgerrid>00</aftjudgerrid>
- <allcnt/>
- <cutprcp/>
- <cutviewyn/>
- <cutprcpsel/>
- <chkerdeptyn/>
- <selpiduseyn/>
- <chktwoday/>
- <mpsnouseyn/>
- <clamsameyn/>
- <srchcnt>500</srchcnt>
- <diagcdall/>
- <virusb/>
- <insucmno/>
- <clamtoym/>
- </item1>
- <list1>
- <clbs>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <judgendyn/>
- </clbs>
- </list1>
- <item2/>
- <item3/>
- <listval>
- <uuee>
- <flag/>
- <scrnid/>
- <compsnm/>
- <compscnts/>
- <compsrefcnts/>
- <compssizecnts/>
- </uuee>
- </listval>
- <item4>
- <clbs>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <clamkey/>
- <ioflag/>
- <instcd/>
- </clbs>
- </item4>
- <item5>
- <judgid/>
- </item5>
- <item6>
- <clbs>
- <clamym/>
- <clamdg>0</clamdg>
- <clamfromdd/>
- <clamtodd/>
- <insutype/>
- <ordfildcd/>
- <clamflag/>
- <predata/>
- <ownb100/>
- <datacretflag/>
- <pid/>
- <name/>
- <orddeptcd/>
- <weekflag>S</weekflag>
- <chk/>
- <ioflag/>
- </clbs>
- </item6>
- <item7>
- <vall/>
- </item7>
- <saveclsp/>
- </send>
- <init>
- <listval>
- <uuee>
- <scrnid/>
- <compsnm/>
- <compscnts/>
- <compsrefcnts/>
- <compssizecnts/>
- </uuee>
- </listval>
- <!-- 보험유형 -->
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- <cdnm>보험+급여</cdnm>
- <cdid>1</cdid>
- <cdnm>급여전체</cdnm>
- <cdid>2</cdid>
- </P0008>
- </P0008list>
- <!-- 보조유형 -->
- <P0010list>
- <P0010>
- <cdnm/>
- <cdid/>
- </P0010>
- </P0010list>
- <!-- 심사상태 / 심사완료여부 -->
- <P0151list>
- <P0151>
- <cdengabbrnm/>
- <cdnm/>
- <cdid/>
- </P0151>
- </P0151list>
- <!-- 청구분야(진료분야) -->
- <P0291list>
- <P0291>
- <cdnm/>
- <cdid/>
- </P0291>
- </P0291list>
- <!-- 명세서구분코드(청구구분) -->
- <P0428list>
- <P0428>
- <cdnm/>
- <cdid/>
- </P0428>
- </P0428list>
- <!-- 특정기호코드 -->
- <P0319list>
- <P0319>
- <cdnm/>
- <cdid/>
- </P0319>
- </P0319list>
- <!-- 청구구분 -->
- <P0155list>
- <P0155>
- <cdengabbrnm/>
- <cdnm/>
- <cdid/>
- </P0155>
- </P0155list>
- <!-- 청구완료여무(명세서상태) -->
- <P0430list>
- <P0430>
- <cdnm/>
- <cdid/>
- </P0430>
- </P0430list>
- <P0486list>
- <P0486>
- <cdnm/>
- <cdid/>
- </P0486>
- </P0486list>
- <P0201sublist/>
- <PK032list>
- <PK032>
- <cdnm/>
- <cdid/>
- </PK032>
- </PK032list>
- </init>
- <hidden>
- <clbs>
- <judgendyn/>
- <totcnt/>
- <endcnt/>
- <unjudgcnt/>
- <retecnt/>
- <autodelcnt/>
- <delcnt/>
- <judgprcscnt/>
- <rptclamcnt/>
- <basedd/>
- <judgmemo/>
- <srchmode/>
- </clbs>
- <sppmc02500>
- <cond>
- <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- <smpic00200>
- <judgsrch>
- <con1_dd/>
- <con2_gsflag/>
- <con3_search1/>
- <con4_search2/>
- <con5_insu/>
- <con6_calcscorcd/>
- <con7_todd/>
- <con8_instcd/>
- </judgsrch>
- <rslt>
- <engnm/>
- <hngnm/>
- <calcscorcd/>
- <insuedicd/>
- <procedicd/>
- <inducsedicd/>
- <autmbedicd/>
- </rslt>
- </smpic00200>
- <sppiz00900>
- <cond>
- <judgrid/>
- </cond>
- <rslt/>
- </sppiz00900>
- <sppiz00400>
- <cond>
- <!-- 상병코드 Grid '상병코드' 컬럼 에서 SPPIZ00400_상병코드조회 에 전달하기 위한 조건 값 -->
- <basedd/>
- <diagcd/>
- <diagnm/>
- <selectedrdodiagkind/>
- </cond>
- <rslt>
- <diagcd/>
- <diaghngnm/>
- <diagengnm/>
- </rslt>
- </sppiz00400>
- <sppiz01400>
- <cond>
- <srchcond/>
- </cond>
- <rslt>
- <spclcd/>
- <cdnm/>
- <spclspec/>
- <spclformat/>
- <detldesc/>
- </rslt>
- </sppiz01400>
- <smpid20600>
- <cond>
- <makeflag/>
- <copyflag/>
- <ioflag/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <t_clamym/>
- <t_clamdg/>
- <t_clamflagcd/>
- </cond>
- <rslt>
- </rslt>
- </smpid20600>
- <smpid22200>
- <cond>
- <ioflag/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- </cond>
- <rslt>
- </rslt>
- </smpid22200>
- <smpid23200>
- <cond>
- <ioflag/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <patnm/>
- <insukind/>
- <suppkind/>
- <orddeptcd/>
- </cond>
- <rslt>
- </rslt>
- </smpid23200>
- <smpid23000>
- <cond>
- <ioflag/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- </cond>
- <rslt>
- </rslt>
- </smpid23000>
- <smpis00400>
- <cond>
- <pid/>
- <clamymfrom/>
- <clamymto/>
- <ioflag/>
- <insukind/>
- <orddeptcd/>
- <diagcond/>
- <diagcdfr/>
- <diagcdto/>
- </cond>
- <rslt>
- </rslt>
- </smpis00400>
- <smpis00600>
- <cond>
- <patunitsrch/>
- <clamymfrom/>
- <clamdgfrom/>
- <clamflag/>
- <ioflag/>
- <insukind/>
- <clamdeptid/>
- <orddeptcd/>
- <orddrid/>
- <codecond/>
- <code/>
- <clamym/>
- </cond>
- <rslt>
- </rslt>
- </smpis00600>
- <smpis00500>
- <cond>
- <patunitsrch/>
- <datecond/>
- <fromdd/>
- <todd/>
- <ioflag/>
- <orddeptcd/>
- <orddrid/>
- <codecond/>
- <code/>
- </cond>
- <rslt>
- </rslt>
- </smpis00500>
- <item1/>
- <item2>
- <ioflag>O</ioflag>
- </item2>
- <item3>
- <judgidyn/>
- </item3>
- <item_all>
- <clamym/>
- <ioflag/>
- <judgid/>
- <ordflag>J</ordflag>
- <clamtoym/>
- </item_all>
- <list1>
- <clbs/>
- </list1>
- <sppiz00200>
- <cond>
- <clsp>
- <spclcd/>
- <seqno/>
- <spclspec/>
- <rowstat/>
- </clsp>
- </cond>
- <rslt>
- <clsp>
- <unitflag/>
- <spclcd/>
- <seqno/>
- <calcscorcd/>
- <spclspec/>
- <rowstat/>
- </clsp>
- </rslt>
- </sppiz00200>
- </hidden>
- <popupdata>
- <popupmenu>
- <gridspecclbs>
- <item>
- <name>결과조회</name>
- <func>pidfOrderRsltSrch2</func>
- </item>
- </gridspecclbs>
- <gridclbs>
- <item>
- <name>명세서 합철</name>
- <func>pidfDocuMerge</func>
- </item>
- <item>
- <name>명세서 복사</name>
- <func>pidfDocuCopy</func>
- </item>
- <item>
- <name>명세서 이동</name>
- <func>pidfDocuMove</func>
- </item>
- <!--
- <item>
- <name>명세서 처방이동</name>
- <func>pidfDocuOrderMove</func>
- </item>
- !-->
- <item>
- <name>명세서처방 이동/복사</name>
- <func>pidfDocuCopyMove</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>명세서 추가청구</name>
- <func>pidfDocuAddClam</func>
- </item>
- <item>
- <name>명세서 자격수정</name>
- <func>pidfDocuChange</func>
- </item>
- <item>
- <name>공여자명세서 생성</name>
- <func>pidfDocuDonor</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>심사자변경</name>
- <func>pidfJudgridChange</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>결과조회</name>
- <func>pidfOrderRsltSrch</func>
- </item>
- <item>
- <name>약제누적조회</name>
- <func>fGetDurginfo</func>
- </item>
- <item>
- <name>진료정보조회</name>
- <func>fGetEmrInformation</func>
- </item>
- <item>
- <name>통합기록전체조회</name>
- <func>fGetAllEmrInformation</func>
- </item>
- <item>
- <name>항암제투여현황조회</name>
- <func>fMOpenSMPIJ02900</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>전체선택</name>
- <func>fsetAllClbslist</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>일괄소명자료입력</name>
- <func>fsetAllClsplist</func>
- </item>
- <item>
- <name>일괄소명자료삭제</name>
- <func>fdelAllClsplist</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>유형변경등록</name>
- <func>fInsKindUpdtTrgtList</func>
- </item>
- </gridclbs>
- </popupmenu>
- </popupdata>
- <temp>
- <tootpopupyn/>
- <optlist>
- <allcnt/>
- <allend/>
- <allunjudg/>
- <allreservation/>
- <alldelete/>
- <alljudgprcs/>
- <autodelete/>
- <beforeend/>
- <batchend/>
- <batchunjudg/>
- <batchreservation/>
- </optlist>
- <reloadyn/>
- </temp>
- </root>
- </instance>
- <bind id="bind_clbsmemo" ref="/root/main/list1/clbs/judgmemo" readonly="../pid != ''"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/item_all" resultref="/root/init/tmp"/>
- <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/item2/ioflag" resultref="root/hidden/tmp"/>
- <submission id="TRPID20401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPID20402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" add="bottom" resultref="/root/main/list1/clbs"/>
- <submission id="TRPID20404" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/item5" resultref="root/hidden/item3"/>
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/clamdg"/>
- <submission id="TRPID21602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/init/listval"/>
- <submission id="TRPID20408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" add="bottom" resultref="/root/main/list2/judgcnt"/>
- <!-- 생성삭제 -->
- <submission id="TXPID10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item6/clbs" replace="instance" resultref="/root/hidden/item1/result"/>
- <submission id="TXPID21601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/init/listval"/>
- <submission id="TXPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item2/clsp"/>
- <submission id="TXPID20302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list1/endclbs"/>
- <submission id="TXPID20303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item4/clbs" resultref="/root/tmp/tmp"/>
- <submission id="TXPID20308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveclsp" resultref="/root/tmp/tmp"/>
- <submission id="TXPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveclsp" resultref="/root/tmp/tmp"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitialize(); // 화면을 초기화한다.
- fCheckAuth(); // 화면 권한을 설정한다..
- model.setfocus("ipt_clamym");
- ]]>
- </script>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20000.js"/>
- <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20400.js"/>
- <script type="javascript" src="../../../pam/insucomweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelperAsync.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1210" pageheight="810" guideline="1,1210;2,824;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1190px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:13px; ">외래사후심사대상자 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1190px; height:795px; ">
- <datagrid id="grd_specclbs" nodeset="/root/main/list1/clbs" class="datagrid2" caption="명일련^청구
구분^진료과^등록번호^순
번^환자명^성
별^나이^보험
유형^보조
유형^요율^주상병^특정
기호^처방코드^처방명^급
비^수량^일
수^총진료비^처방일자^실시일자^예약시간^Stage^메모^진료의^심사자^최종
심사자^심사상태^선별^clamkey^lockyn" colsep="^" colwidth="52, 35, 43, 66, 20, 43, 20, 30, 30, 30, 30, 85, 39, 70, 90, 28, 43, 20, 70, 70, 68, 76, 55, 42, 42, 42, 62, 65, 50, 60, 60, 80, 80, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="4" mergecellsfixedcols="bycol" mergecellsfixedrows="bycol" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:205px; width:1190px; height:520px; ">
- <col ref="docuseqno" style="text-align:right; "/>
- <col disabled="true" ref="clamflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdengabbrnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
- <label ref="deptengabbr"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="pidsn" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="gender" style="text-align:center; "/>
- <col ref="patage" style="text-align:center; "/>
- <col ref="insukindcd" style="text-align:center; "/>
- <col ref="suppkindcd" style="text-align:center; "/>
- <col ref="payownbrate" style="text-align:center; "/>
- <col ref="diagnm" style="text-align:left; "/>
- <col ref="spclmark" style="text-align:center; "/>
- <col ref="ordcd"/>
- <col ref="ordnm"/>
- <col disabled="true" ref="payflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>급</label>
- <value>0</value>
- </item>
- <item>
- <label>100</label>
- <value>1</value>
- </item>
- <item>
- <label>비</label>
- <value>2</value>
- </item>
- <item>
- <label>선</label>
- <value>8</value>
- </item>
- <item>
- <label>선</label>
- <value>9</value>
- </item>
- </choices>
- </col>
- <col ref="drugqtytims" format="#,###.00" maxlength="12.2" style="text-align:right; "/>
- <col ref="dayno" style="text-align:right; "/>
- <col ref="totordamt" format="#,###" style="text-align:right; "/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="ordfromdd" format="yyyy-mm-dd"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="stage" style="text-align:left; "/>
- <col ref="judgmemo" type="inputbutton"/>
- <col disabled="true" ref="orddrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="judgrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="lastupdtrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="judgendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151">
- <label ref="cdengabbrnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="spcljudgyn"/>
- <col ref="clamkey" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="lockyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="clamym" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="clamdg" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="ordtodd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="ordfildcd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- setPopupMenu("grd_specclbs", false, "/root/popupdata/popupmenu/gridspecclbs/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- // setPopupMenu("grd_specclbs", false, "/root/hidden/popupmenu/gridclbs/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
-
- // Grid 상에 inputButton 은 표시하지만, input으로 직접 입력하는 것은 막기 위해
- // <script type="javascript" ev:event="onbuttonclick"> 대신 ev:event="onmousedown" 으로 처리함.
- if (grd_specclbs.isCell(event.target) && grd_specclbs.row >= grd_specclbs.fixedRows) {
- var col = grd_specclbs.mouseCol;
- if (col == grd_specclbs.colRef("judgmemo")) { // 메모
- if (grp_judgmemo.visible) {
- //model.setFocus("tar_judgmemo");
- grp_judgmemo.visible = false;
- } else {
- grd_specclbs.toprow = grd_specclbs.mouseRow;
- model.setValue("/root/hidden/clbs/judgmemo", model.getValue("/root/main/list1/clbs[" + grd_specclbs.mouseRow + "]/judgmemo"));
- model.refreshpart("/root/hidden/clbs/judgmemo");
- grp_judgmemo.attribute("top") = 251; // 20091214 작업에 방해되서 추가
- grp_judgmemo.attribute("left") = 1; // 20091214 작업에 방해되서 추가
- grp_judgmemo.visible = true;
- model.setFocus("tar_judgmemo");
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
-
- if (!isPopup()) { // (common.js) 자신이 팝업인지 아닌지를 리턴한다.
- return;
- }
- var row = grd_specclbs.row;
- if (grd_specclbs.isCell(event.target) && row >= grd_specclbs.fixedRows) {
- var clamym = model.getValue("/root/main/list1/clbs["+ row +"]/clamym");
- var clamdg = model.getValue("/root/main/list1/clbs["+ row +"]/clamdg");
- var pid = model.getValue("/root/main/list1/clbs["+ row +"]/pid");
- var pidsn = model.getValue("/root/main/list1/clbs["+ row +"]/pidsn");
- var clamkey = model.getValue("/root/main/list1/clbs["+ row +"]/clamkey");
- if (clamym != "") {
- if ( checkOpener() ) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- model.setValue(opener.root.hidden.smpid20400.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
- model.setValue(opener.root.hidden.smpid20400.rslt.clamkey, clamkey);
- model.setValue(opener.root.hidden.smpid20400.rslt.clamym, clamym);
- model.setValue(opener.root.hidden.smpid20400.rslt.clamdg, clamdg);
- model.setValue(opener.root.hidden.smpid20400.rslt.pid, pid);
- model.setValue(opener.root.hidden.smpid20400.rslt.pidsn, pidsn);
- model.setValue(opener.root.hidden.smpid20400.rslt.oldPid, pid); // 현재 조회된 환자의 등록번호를 저장
- opener.javascript.fGetOutAftJudgMngt();
- // activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
- } else {
- messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
- }
- } else {
- messageBox("조회된 대상자가", "I004"); ///조회된 대상자가 없습니다.
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_specclbs.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- grd_specclbs.row = grd_specclbs.selectedRow(0);
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- <!-- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- if (grd_specclbs.vscroll.attribute("max") == grd_specclbs.vscroll.attribute("pos")) {
- // end of scroll
- model.setValue("/root/send/item1/offset", grd_specclbs.rows - grd_specclbs.fixedRows); // grid의 header row는 제외
- submit("TRPID20402");
- }
- ]]>
- </script>
- -->
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_clbsmast" nodeset="/root/main/list1/clbs" class="datagrid2" caption="명일련^청구년월^차수^청구
구분^진료과^등록번호^순
번^환자명^성
별^나이^보험
유형^보조
유형^요율^주상병^특정
기호^진료개시일^진료종료일^총진료비^메모^진료의^심사자^최종
심사자^선
별^수
술^R.T
심사^응
급^원
내^원
외^원
외^상
병^심사일자^심사
상태^청구
상태^Stage^장
애^조합기호^청구번호^접수번호^심사차수^준비
자료^본인
부담금^생성일자^clamkey^rowstat^lockyn^cutprcpyn^자보회사^자보접수번호^지급보증번호^진료분야^반송코드^반송코드명^반송사유^MT014" colsep="^" colwidth="42, 57, 33, 35, 43, 67, 18, 43, 20, 30, 30, 30, 30, 51, 38, 67, 67, 67, 65, 42, 42, 42, 20, 20, 30, 20, 20, 20, 20, 20, 66, 44, 72, 55, 20, 75, 78, 54, 54, 30, 67, 67, 37, 56, 100, 100, 120, 140, 110, 100, 58, 70, 75, 92" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="8" mergecellsfixedcols="bycol" mergecellsfixedrows="bycol" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:205px; width:1190px; height:520px; ">
- <col ref="docuseqno" style="text-align:right; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col disabled="true" ref="clamflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdengabbrnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
- <label ref="deptengabbr"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pidsn" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="gender" style="text-align:center; "/>
- <col ref="patage" style="text-align:center; "/>
- <col ref="insukindcd" style="text-align:center; "/>
- <col ref="suppkindcd" style="text-align:center; "/>
- <col ref="payownbrate" style="text-align:center; "/>
- <col ref="diagnm" style="text-align:left; "/>
- <col ref="spclmark" style="text-align:center; "/>
- <col ref="ordfromdd" format="yyyy-mm-dd"/>
- <col ref="ordtodd" format="yyyy-mm-dd"/>
- <col ref="totordamt" format="#,###" style="text-align:right; "/>
- <col ref="judgmemo" type="inputbutton"/>
- <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid2/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="judgrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="lastupdtrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="spcljudgyn" style="text-align:center; "/>
- <col ref="opyn" style="text-align:center; "/>
- <col ref="realtmjudg" visibility="hidden" style="left:805px; top:32px; width:42px; height:21px; text-align:center; "/>
- <col disabled="true" ref="stsioflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>C</label>
- <value>C</value>
- </item>
- <item>
- <label>E</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- <col ref="iprcp" style="text-align:center; "/>
- <col ref="oprcp" style="text-align:center; "/>
- <col ref="oprcpyn" style="text-align:center; "/>
- <col ref="cldicnt" style="text-align:center; "/>
- <col ref="judgenddd" format="yyyy/mm/dd" style="left:1050px; top:32px; width:66px; height:23px; text-align:left; "/>
- <col disabled="true" ref="judgendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151">
- <label ref="cdengabbrnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="clamendyn" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0430list/P0430">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="stage" style="text-align:center; "/>
- <col ref="prockindflagyn"/>
- <col ref="insuno"/>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="judgdg" style="text-align:center; "/>
- <col ref="prepdata"/>
- <col ref="ownbamt" format="#,###" style="text-align:right; "/>
- <col ref="fstrgstdt" format="yyyy-mm-dd"/>
- <col ref="clamkey" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="rowstat" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="lockyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="cutprcpyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col disabled="true" ref="insucmno" type="combo">
- <choices>
- <itemset nodeset="/root/init/PK032list/PK032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="certno"/>
- <col ref="paygrntno"/>
- <col ref="ordfildcd"/>
- <col ref="preresncd"/>
- <col ref="preresncdnm"/>
- <col ref="preresntext"/>
- <col ref="mt014"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- setPopupMenu("grd_clbsmast", false, "/root/popupdata/popupmenu/gridclbs/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
-
- if (!isPopup()) { // (common.js) 자신이 팝업인지 아닌지를 리턴한다..
- return;
- }
- var row = grd_clbsmast.row;
- var cutprcpsel = model.getValue("/root/send/item1/cutprcpsel");
- var tootpopupyn = model.getValue("/root/temp/tootpopupyn");
-
- if (grd_clbsmast.isCell(event.target) && row >= grd_clbsmast.fixedRows) {
- var gridclbs_clamym = model.getValue("/root/main/list1/clbs["+ row +"]/clamym");
- var gridclbs_clamdg = model.getValue("/root/main/list1/clbs["+ row +"]/clamdg");
- var gridclbs_pid = model.getValue("/root/main/list1/clbs["+ row +"]/pid");
- var gridclbs_pidsn = model.getValue("/root/main/list1/clbs["+ row +"]/pidsn");
- var gridclbs_judgenddd = model.getValue("/root/main/list1/clbs["+ row +"]/judgenddd");
-
- if (gridclbs_clamym != "") {
- if ( checkOpener() ) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- //심사자여부를 opener에 넘겨준다.
- model.setValue(opener.root.init.item3.judgidyn, model.getValue("/root/init/item3/judgidyn")); // 심사자여부
-
- model.setValue(opener.root.hidden.smpid20400.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
- model.setValue(opener.root.hidden.smpid20400.rslt.clamym, gridclbs_clamym); // 선택된 대상자의 청구키로 심사정보를 조회한다.
- model.setValue(opener.root.hidden.smpid20400.rslt.clamdg, gridclbs_clamdg);
- model.setValue(opener.root.hidden.smpid20400.rslt.pid, gridclbs_pid);
- model.setValue(opener.root.hidden.smpid20400.rslt.pidsn, gridclbs_pidsn);
- model.setValue(opener.root.hidden.smpid20400.rslt.oldPid, model.getValue("/root/main/list1/clbs["+ row +"]/pid")); // 현재 조회된 환자의 등록번호를 저장
- // 20100302 변경
- //model.setValue(opener.root.hidden.smpid20400.rslt.cutprcpyn, model.getValue("/root/main/list1/clbs["+ row +"]/cutprcpyn")); //현재 조회된 환자의 삭감처방여부를 저장
- model.setValue(opener.root.hidden.smpid20400.rslt.cutprcpyn, model.getValue("/root/send/item1/cutprcpsel")); //현재 조회된 환자의 삭감처방여부를 저장
- model.setValue(opener.root.hidden.smpid20400.rslt.judgendyn, model.getValue("/root/main/list1/clbs["+ row +"]/judgendyn")); //현재 조회된 환자의 심사상태
- model.setValue(opener.root.hidden.smpid20400.rslt.tootpopupyn, model.getValue("/root/temp/tootpopupyn")); //치식자동팝업사용여부
- //model.setValue(opener.root.hidden.smpid20400.rslt.ordfildcd, model.getValue("/root/main/list1/clbs["+ row +"]/ordfildcd")); //해당진료분야
- //20120523 plet2 심사완료일자 추가
- model.setValue(opener.root.hidden.smpid20400.rslt.judgenddd, gridclbs_judgenddd);
-
- opener.javascript.fGetOutAftJudgMngt();
- setPopupRefresh(model.getValue("/root/main/list1/clbs["+ row +"]/pid"));
- /*
- if(model.getValue("/root/temp/tootpopupyn") == "Y" && model.getValue("/root/main/list1/clbs["+ row +"]/ordfildcd")){
- opener.javascript.toothclick();
- }
- */
- // activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
-
- //청구삭감조회팝업호출(삭감처방 팝업조회체크시) -- 20091130 김상민
- // 20100228 삭제
- /*
- if(cutprcpsel == "2"){
- setParameter("openflag", 'O');
- setParameter("pid", model.getvalue("/root/main/list1/clbs["+ row +"]/pid"));
-
- open("SMPIS00600", "", "50", "50" ,"SMPIS00600", "", "");
- }
- */
- } else {
- messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
- }
- } else {
- messageBox("조회된 대상자가", "I004"); ///조회된 대상자가 없습니다.
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_clbsmast.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- grd_clbsmast.row = grd_clbsmast.selectedRow(0);
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- // Grid 상에 inputButton 은 표시하지만, input으로 직접 입력하는 것은 막기 위해
- // <script type="javascript" ev:event="onbuttonclick"> 대신 ev:event="onmousedown" 으로 처리함.
- if (grd_clbsmast.isCell(event.target) && grd_clbsmast.row >= grd_clbsmast.fixedRows) {
- var col = grd_clbsmast.mouseCol;
- if (col == grd_clbsmast.colRef("judgmemo")) { // 메모
- if (grp_judgmemo.visible) {
- //model.setFocus("tar_judgmemo");
- grp_judgmemo.visible = false;
- } else {
- grd_clbsmast.toprow = grd_clbsmast.mouseRow;
- grp_judgmemo.attribute("top") = 251; // 20091214 작업에 방해되서 추가
- grp_judgmemo.attribute("left") = 1; // 20091214 작업에 방해되서 추가
- model.setValue("/root/hidden/clbs/judgmemo", model.getValue("/root/main/list1/clbs[" + grd_clbsmast.mouseRow + "]/judgmemo"));
- //model.refresh();
- tar_judgmemo.refresh();
- grp_judgmemo.visible = true;
- model.setFocus("tar_judgmemo");
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- // Ctrl + C 키를 누른경우
- if (event.ctrlKey == "1" && event.keyCode == "67") {
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- if (grd_specclbs.selectedRows == 1) { // 한줄
- var row = grd_specclbs.row;
- var col = grd_specclbs.col;
-
- var clip = grd_specclbs.labelMatrix(row, col);
- window.clipBoardData = clip;
- }
- } else {
- if (grd_clbsmast.selectedRows == 1) { // 한줄
- var row = grd_clbsmast.row;
- var col = grd_clbsmast.col;
-
- var clip = grd_clbsmast.labelMatrix(row, col);
- window.clipBoardData = clip;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <caption id="cap_judgtrgtman" class="tit_2" style="left:5px; top:185px; width:140px; height:13px; ">심사 대상자</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:200px; x2:1190px; y2:200px; "/>
- <group id="group1" style="left:0px; top:4px; width:1190px; height:172px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:169px; "/>
- <caption id="caption30" class="search_name" style="left:3px; top:11px; width:85px; height:17px; ">청구년월</caption>
- <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:84px; top:10px; width:73px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var nowym = model.getValue("/root/send/item1/clamym");
-
- model.setValue("/root/send/item1/clamtoym", nowym);
-
- ipt_clamym.refresh();
- ipt_clamtoym.refresh();
-
- pidfGetClamdg();
- addComboItem("cmb_clamdg", "전체", "", "above");
- ]]>
- </script>
- </input>
- <caption id="caption31" class="search_name" style="left:447px; top:35px; width:86px; height:17px; ">진료분야</caption>
- <!-- 기존 ID : 1214 => P0235 => P0291 -->
- <select1 id="cmb_ordfildcd" ref="/root/send/item1/ordfildcd" class="combo_search" navindex="13" appearance="minimal" style="left:526px; top:34px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/item1/clamdeptcd", "");
- cmb_clamdeptcd.disabled = false;
- cmb_orddrid.disabled = true;
-
- var ordfildcd = model.getValue("/root/send/item1/ordfildcd");
- if (ordfildcd) {
- cmb_clamdeptcd.choices.itemset.attribute("nodeset") = "/root/init/clamdept/clamdeptlist[cdval='" + ordfildcd + "']";
- } else {
- cmb_clamdeptcd.choices.itemset.attribute("nodeset") = "/root/init/clamdept/clamdeptlist";
- }
-
- cmb_clamdeptcd.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption32" class="search_name" style="left:260px; top:35px; width:86px; height:17px; ">청구구분</caption>
- <select1 id="cmb_clamflagcd" ref="/root/send/item1/clamflagcd" class="combo_search" navindex="9" appearance="minimal" showvalue="true" style="left:340px; top:34px; width:99px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption33" class="search_name" style="left:260px; top:58px; width:86px; height:17px; ">심사상태</caption>
- <select1 id="cmb_judgendyn" ref="/root/send/item1/judgendyn" class="combo_search" navindex="10" appearance="minimal" showvalue="true" style="left:340px; top:58; width:99px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="search_name" style="left:627px; top:11px; width:82px; height:17px; ">보험유형</caption>
- <select1 id="cmb_insukind" ref="/root/send/item1/insukindcd" class="combo_search" navindex="16" appearance="minimal" style="left:705px; top:10px; width:82px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var insukindcd = model.getValue("/root/send/item1/insukindcd");
-
- if (insukindcd) {
- if (insukindcd == "1") {
- cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='11' or up='21' or up='22']";
- } else if (insukindcd == "2") {
- cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='21' or up='22']";
- } else {
- cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='" + insukindcd + "']";
- }
- } else {
- cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/P0010list/P0010";
- }
- model.refreshpart("/root/send/item1/suppkindcd");
- if (cmb_suppkind.label) {
- } else { // 기존 선택된 보조유형을 선택할 수 없는 보험유형이 선택된 경우이므로
- model.setValue("/root/send/item1/suppkindcd", ""); // 보조유형 선택을 초기화한다.
- model.refreshpart("/root/send/item1/suppkindcd");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption35" class="search_name" style="left:447px; top:58px; width:73px; height:17px; ">청구과</caption>
- <!-- 기존 : /root/InitData2/comccodem => P0287 확인해볼 것 -->
- <select1 id="cmb_clamdeptcd" ref="/root/send/item1/clamdeptcd" class="combo_search" navindex="14" appearance="minimal" style="left:526px; top:58; width:95px; height:19px; ">
- <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
- <choices>
- <itemset nodeset="/root/init/clamdept/clamdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- var clamdeptcd = model.getValue("/root/send/item1/clamdeptcd");
-
- if (clamdeptcd) {
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[reqdp='" + clamdeptcd + "']";
- cmb_orddrid.disabled = false;
- cmd_orddeptcd.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd/orddeptcdlist[reqdeptno='" + clamdeptcd + "']";
- cmd_orddeptcd.disabled = false;
- } else {
- cmb_orddrid.disabled = true;
- cmd_orddeptcd.disabled = true;
- }
- model.setValue("/root/send/item1/orddrid", ""); // 주치의 선택을 초기화한다.
- model.setValue("/root/send/item1/orddeptcd", ""); // 진료과 선택을 초기화한다.
- cmb_orddrid.refresh();
- cmd_orddeptcd.refresh();
- */
-
- ]]>
- </script>
- </select1>
- <caption id="caption36" class="search_name" style="left:627px; top:58px; width:82px; height:17px; ">접수번호</caption>
- <input id="ipt_acptno" ref="/root/send/item1/acptno" class="input_search" navindex="18" maxlength="8" style="left:705px; top:58; width:97px; height:19px; "/>
- <caption id="caption37" class="search_name" style="left:627px; top:82px; width:73px; height:17px; ">명번호</caption>
- <input id="ipt_docuseqno1" ref="/root/send/item1/docuseqno1" class="input_search" navindex="19" imemode="alpha" maxlength="5" style="left:705px; top:82px; width:39px; height:19px; ">
- <hint>
- <![CDATA[시작번호]]>
- </hint>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var docuseqno1 = model.getValue("/root/send/item1/docuseqno1");
- //docuseqno1 = fPaddingData(docuseqno1,"L","0", 5 );
- //model.setValue("/root/send/item1/docuseqno1", docuseqno1 );
- model.setValue("/root/send/item1/docuseqno2", docuseqno1 );
- //model.refreshpart("/root/send/item1/docuseqno1");
- model.refreshpart("/root/send/item1/docuseqno2");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- ipt_docuseqno1.dispatch("xforms-value-changed");
- model.setFocus("ipt_docuseqno2");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_docuseqno2" ref="/root/send/item1/docuseqno2" class="input_search" navindex="20" imemode="alpha" maxlength="5" style="left:763px; top:82px; width:39px; height:19px; ">
- <hint>
- <![CDATA[끝번호]]>
- </hint>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetOutAftJudgTrgtManList("docuSrch");
- // model.removeNodeset("/root/main/list1/clbs");
- // submit("TRPID20402");
- }
- ]]>
- </script>
- </input>
- <caption id="caption38" class="search_name" style="left:3px; top:82px; width:84px; height:17px; ">환자조회</caption>
- <input id="ipt_patunitsrch" ref="/root/send/item1/patunitsrch1" class="input_search" navindex="3" imemode="hangul" inputtype="button" maxlength="10" style="left:84px; top:82px; width:85px; height:19px; ">
- <hint>
- <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
- </hint>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetOutAftJudgTrgtManList("pidSrch");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- //환자조회
- fGetPatinfo("1");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption39" class="search_name" style="left:448px; top:11px; width:73px; height:17px; ">심사자</caption>
- <select1 id="cmb_judgrid" ref="/root/send/item1/judgrid" class="combo_search" navindex="8" appearance="minimal" style="left:526px; top:10px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption40" class="search_name" style="left:447px; top:105px; width:73px; height:17px; ">진료의</caption>
- <select1 id="cmb_orddrid" ref="/root/send/item1/orddrid" class="combo_search" navindex="15" appearance="minimal" itemcount="20" style="left:526px; top:105px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption41" class="search_name" style="left:3px; top:35px; width:85px; height:17px; ">총진료비</caption>
- <input id="ipt_totordamt" ref="/root/send/item1/totordamt" class="input_search" navindex="4" maxlength="10" format="#,###" style="left:84px; top:34px; width:85px; height:19px; "/>
- <select1 id="cmb_totordamt" ref="/root/send/item1/cmbtotordamt" class="combo_search" navindex="5" appearance="minimal" style="left:172px; top:34px; width:62px; height:19px; ">
- <choices>
- <item>
- <label>원미만</label>
- <value>2</value>
- </item>
- <item>
- <label>원이상</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption42" class="search_name" style="left:812px; top:11px; width:73px; height:17px; ">처방별</caption>
- <select1 id="rdo_mchrgcode" ref="/root/send/item1/choicdsrch1" class="radio_search" navindex="11" appearance="full" cols="4" overflow="visible" style="left:890px; top:9px; width:125px; height:18px; ">
- <choices>
- <item>
- <label>수가</label>
- <value>3</value>
- </item>
- <item>
- <label>EDI</label>
- <value>4</value>
- </item>
- <item>
- <label>List</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // model.resetInstanceNode("/root/send/item1/choicdsrch2");
- model.setValue("/root/send/item1/choicdsrch2", "");
- ipt_choicdsrch.refresh();
-
- //if (model.getValue("/root/send/item1/choicdsrch1") == "1") {
- // fGetSnglcalcscorcd();
- //}
- ]]>
- </script>
- </select1>
- <input id="ipt_choicdsrch" ref="/root/send/item1/choicdsrch2" class="input_search" navindex="12" imemode="alpha" inputtype="button" _chartype="upper" style="left:1017px; top:9px; width:164px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- if (ipt_choicdsrch.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetOutAftJudgTrgtManList("spcSrch");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- // var choicdsrch1 = model.getValue("/root/send/item1/choicdsrch1");
- // var choicdsrch2 = model.getValue("/root/send/item1/choicdsrch2").getTrim();
- // model.setValue("/root/hidden/smpic00200/judgsrch/con4_search2", choicdsrch2);
- //
- // var clamfromdd = model.getValue("/root/send/item1/clamfromdd");
- // if (clamfromdd) {
- // model.setValue("/root/hidden/smpic00200/judgsrch/con1_dd", clamfromdd);
- // } else {
- // model.setValue("/root/hidden/smpic00200/judgsrch/con1_dd", getCurrentDate()); // (dateHelper.js) 현재날짜 반환
- // }
- //
- // if (choicdsrch1 == "1") { // 명칭인 경우
- // model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "engnm");
- // for (var i=0; i < choicdsrch2.length; i++) {
- // if (choicdsrch2.charCodeAt(i) > 255) { // 한글이 들어오면 255보다 크다.
- // choicdsrch1 = "2";
- // model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "hngnm");
- // }
- // }
- // }
- // else if (choicdsrch1 == "3") { // 수가
- // model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "calcscorcd");
- // }
- // else if (choicdsrch1 == "4") { // EDI
- // model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "edicd");
- // }
- //
- // model.removeNodeset("/root/hidden/smpic00200/rslt"); // SMPIC00200_수가조회 에서 선택된 결과가 copyNode되는 경로임
- // modal("SMPIC00200", 1,150, 150, "SMPIC00200", "/root/hidden/smpic00200", "/root/temp", "", "");
- //
- // var mechSelect = instance1.selectSingleNode("/root/temp/mech");
- // if (mechSelect == null) { // 선택한 코드가 없는 경우
- // messageBox("수가조회 화면에서 선택한 결과가", "I004"); ///수가조회 화면에서 선택한 결과가 없습니다.
- // return;
- // }
- // // SMPIC00200_수가조회 화면에서 보낸 결과 값에 대한 처리
- // model.makeNode("/root/hidden/smpic00200/rslt");
- // model.copyNode("/root/hidden/smpic00200/rslt", "/root/temp/mech");
- // model.removeNodeset("/root/temp"); // SMPIC00200_수가조회 에서 선택된 결과가 직접 전달되는 경로임
- //
- // if (choicdsrch1 == "1") { // 영문 명칭인 경우
- // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/engnm"));
- // }
- // else if (choicdsrch1 == "2") { // 한글 명칭인 경우
- // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/hngnm"));
- // }
- // else if (choicdsrch1 == "3") { // 수가
- // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/calcscorcd"));
- // }
- // else if (choicdsrch1 == "4") { // EDI
- // // [2007.05.17] 추후 보험유형 EDI 코드 뿐만 아니라 의료급여, 산재, 자보에 따라 각 EDI코드로 설정하는 기능을 부여한다.
- // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/insuedicd"));
- // }
- // else {
- // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/calcscorcd"));
- // model.setValue ("/root/send/item1/choicdsrch1", "3");
- // }
- // model.refresh();
- var userid = getUserId(); // (common.js) 현재 로그인한 사용자 번호(ID)
- if (userid) {
- model.setValue("/root/hidden/sppiz00900/cond/judgrid", userid);
- } else {
- // SPPIZ00900 에서 테스트용으로 입력된 data의 심사자 ID를 설정한다.
- model.setValue("/root/hidden/sppiz00900/cond/judgrid", "87040221");
- }
-
- model.removeNodeset("/root/hidden/sppiz00900/rslt");
- modal("SPPIZ00900" ,"1", "150", "150", "SPPIZ00900", "/root/hidden/sppiz00900/cond", "/root/hidden/sppiz00900/cond", "", ""); // SPPIZ00900_선별심사CheckList
-
- var pchkSelect = instance1.selectSingleNode("/root/hidden/sppiz00900/rslt");
- if (pchkSelect == null) { // 선택한 선별심사 List가 없는 경우
- return;
- }
- var pchkNodes = pchkSelect.childNodes;
- var pchkList = "";
- for (var i = 1; i <= pchkNodes.length; i++) {
- var pchk = model.getValue("/root/hidden/sppiz00900/rslt/pchk[" + i + "]/calcscorcd");
- if (pchkList == "") {
- pchkList = pchk;
- } else {
- pchkList += "|" + pchk;
- }
- }
- model.setValue("/root/send/item1/choicdsrch1", "5"); // 5: List
- model.setValue("/root/send/item1/choicdsrch2", pchkList);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption43" class="search_name" style="left:3px; top:58px; width:85px; height:17px; ">본인부담</caption>
- <input id="ipt_ownbamt" ref="/root/send/item1/ownbamt" class="input_search" navindex="6" maxlength="10" format="#,###" style="left:84px; top:58; width:85px; height:19px; "/>
- <select1 id="cmb_ownbamt" ref="/root/send/item1/cmbownbamt" class="combo_search" navindex="7" appearance="minimal" style="left:172px; top:58; width:62px; height:19px; ">
- <choices>
- <item>
- <label>원미만</label>
- <value>2</value>
- </item>
- <item>
- <label>원이상</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="button1" class="btn1_letter2" navindex="32" style="left:1130px; top:80px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOutAftJudgTrgtManList("listSrch");
- fGetResetOptList();
-
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/send/item1/chkspcljudg" class="checkbox_search" navindex="26" overflow="visible" appearance="full" style="left:890px; top:106px; width:45px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>선별</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <!-- 2007.09.06 수정 박재형 보조유형 combo data 공통안쓰고 가져옴.-->
- <select1 id="cmb_suppkind" ref="/root/send/item1/suppkindcd" class="combo_search" navindex="17" appearance="minimal" style="left:705px; top:34px; width:82px; height:19px; ">
- <choices>
- <!--<itemset nodeset="/root/init/suppkind/suppkindlist">-->
- <itemset nodeset="/root/init/P0010list/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption44" class="search_name" style="left:627px; top:35px; width:82px; height:17px; ">보조유형</caption>
- <!-- 2007.09.19 수정 박재형 :: 보험유형을 선택시 해당하는 보조유형을 선택하기 위해 필요 (재원심사 참고하여 동일하게 구성) 추가:opt_insukind, opt_suppkind
- ==표시기능만있으므로 추후논의후 표시시 위치배열다시하고 제거시 그냥제거.
- <output id="opt_insukind" style="left:875px; top:8px; width:17px; height:19px; font-size:8pt; background-color:#ececec; border-color:transparent; "/>
- <output id="opt_suppkind" style="left:875px; top:32px; width:17px; height:19px; font-size:8pt; background-color:#ececec; border-color:transparent; "/> -->
- <output id="output1" ref="/root/send/item1/insukindcd" class="output_search" style="left:786px; top:10px; width:17px; height:19px; "/>
- <output id="opt_suppkind" ref="/root/send/item1/suppkindcd" class="output_search" style="left:786px; top:34px; width:17px; height:19px; "/>
- <caption id="caption45" style="left:748px; top:82px; width:11px; height:16px; ">~</caption>
- <select id="checkbox2" ref="/root/send/item1/chkcrf" class="checkbox_search" navindex="23" overflow="visible" appearance="full" style="left:890px; top:146px; width:45px; height:19px; ">
- <choices>
- <item>
- <label>CRF</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/send/item1/chkcncr" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:939px; top:146px; width:56px; height:19px; ">
- <choices>
- <item>
- <label>등록암</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox4" ref="/root/send/item1/chkhomecare" class="checkbox_search" navindex="24" overflow="visible" appearance="full" style="left:819px; top:106px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>가정간호</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox5" ref="/root/send/item1/chktrnpt" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:819px; top:126px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>희귀난치</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption46" class="search_name" style="left:447px; top:82px; width:73px; height:17px; ">진료과</caption>
- <select1 id="cmd_orddeptcd" ref="/root/send/item1/orddeptcd" class="combo_search" navindex="14" appearance="minimal" itemcount="20" showvalue="false" style="left:526px; top:82px; width:95px; height:19px; ">
- <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/send/item1/orddeptcd");
-
- if (orddeptcd) {
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp='" + orddeptcd + "' or dp='-']";
- cmb_orddrid.disabled = false;
- } else {
- cmb_orddrid.disabled = true;
- }
- model.setValue("/root/send/item1/orddrid", ""); // 주치의 선택을 초기화한다.
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption48" class="search_name" style="left:812px; top:82px; width:84px; height:17px; ">상병조회</caption>
- <caption id="caption49" class="search_name" style="left:812px; top:35px; width:84px; height:17px; ">특정기호</caption>
- <input id="input12" ref="/root/send/item1/diagcdto" class="input_search" navindex="4" imemode="disabled" _chartype="upper" style="left:1040px; top:82px; width:85px; height:19px; "/>
- <caption id="caption50" style="left:1026px; top:85px; width:11px; height:16px; ">~</caption>
- <select1 id="combo12" ref="/root/send/item1/spclmark" class="combo_search" navindex="14" appearance="minimal" editmode="search" itemcount="20" style="left:941px; top:34px; width:55px; height:19px; ">
- <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
- <choices>
- <itemset nodeset="/root/init/P0319list/P0319">
- <label ref="cdid"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo14" ref="/root/send/item1/spclmark" class="combo_search" navindex="14" appearance="minimal" editmode="search" itemcount="20" style="left:1000px; top:34px; width:180px; height:19px; color:#99cc00; ">
- <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
- <choices>
- <itemset nodeset="/root/init/P0319list/P0319">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox6" ref="/root/send/item1/chkretdocu" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:890px; top:126px; width:45px; height:19px; ">
- <choices>
- <item>
- <label>반송</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button116" class="icon_up" style="left:159px; top:10px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 2008.06.05 neverdie 청구년월 다음월 클릭
- // 현재청구월에서 다음달을 구한다.
- var nowym = model.getValue("/root/send/item1/clamym");
- var upym;
-
- upym = pidfCalMonth(1, nowym);
-
- model.setValue("/root/send/item1/clamym", upym);
- model.setValue("/root/send/item1/clamtoym", upym);
-
- ipt_clamym.refresh();
- ipt_clamtoym.refresh();
- pidfGetClamdg();
- addComboItem("cmb_clamdg", "전체", "", "above");
- ]]>
- </script>
- </button>
- <button id="button73" class="icon_down" style="left:159px; top:20px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 2008.06.05 neverdie 청구년월 이전월 클릭
- // 현재청구월에서 이전달을 구한다.
- var nowym = model.getValue("/root/send/item1/clamym");
- var downym;
-
- downym = pidfCalMonth(-1, nowym);
-
- model.setValue("/root/send/item1/clamym", downym);
- model.setValue("/root/send/item1/clamtoym", downym);
- ipt_clamym.refresh();
- ipt_clamtoym.refresh();
-
- pidfGetClamdg();
- addComboItem("cmb_clamdg", "전체", "", "above");
- ]]>
- </script>
- </button>
- <input id="input10" ref="/root/send/item1/diagcdfr" class="input_search" navindex="12" imemode="disabled" inputtype="button" _chartype="upper" style="left:940px; top:82px; width:83px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- //if (event.keyCode == "13") { // Enter 입력 시에
- // if (input10.currentText.length > 1) { // 2글자 이상이면
- // setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- // fGetOutAftJudgTrgtManList();
- // }
- //}
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.removeNodeset("/root/hidden/sppiz00400/rslt");
- model.makeNode("/root/hidden/sppiz00400/rslt/diagcd");
- model.makeNode("/root/hidden/sppiz00400/rslt/diaghngnm");
- model.makeNode("/root/hidden/sppiz00400/rslt/diagengnm");
-
- model.resetInstanceNode("/root/hidden/sppiz00400/cond");
- model.setValue("/root/hidden/sppiz00400/cond/basedd", getCurrentDate()); // (dateHelper.js) 현재날짜 반환
- model.setValue("/root/hidden/sppiz00400/cond/diagcd", model.getValue("/root/send/item1/diagcd"));
- model.setValue("/root/hidden/sppiz00400/cond/diagnm", "");
- model.setValue("/root/hidden/sppiz00400/cond/selectedrdodiagkind","3"); // 사용자가 직접검색하여 입력 할수 있도록 임의의 값(3)을 넣어줌
- modal("SPPIZ00400", "1", "10", "10", "SPPIZ00400", "/root/hidden/sppiz00400/cond", "/root/init", "", ""); // SPPIZ00400_상병코드조회.xrw
- /*
- var clamkey = model.getValue("/root/main/item1/clbs/clamkey");
- if (clamkey) { // 조회된 심사대상자가 있음
- fSortDiagNo(true);
- } */
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/item1/diagcdto", model.getValue("/root/send/item1/diagcdfr"));
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_clamdg" ref="/root/send/item1/clamdg" appearance="minimal" style="left:257px; top:10px; width:62px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdg/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo1" ref="/root/send/item1/surecd" class="combo_search" navindex="10" appearance="minimal" showvalue="true" style="left:340px; top:82px; width:99px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0486list/P0486">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:260px; top:82px; width:86px; height:17px; ">필수심사</caption>
- <select1 id="cmb_patmode" ref="/root/send/item1/patmode" class="radio_search" navindex="11" appearance="full" cols="2" rows="2" vcellspacing="0" overflow="visible" style="left:172px; top:82px; width:88px; height:19px; ">
- <choices>
- <item>
- <label>번호</label>
- <value>1</value>
- </item>
- <item>
- <label>성명</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/send/item1/choicdsrch2", "");
- ipt_choicdsrch.refresh();
-
- if (model.getValue("/root/send/item1/choicdsrch1") == "1") {
- fGetSnglcalcscorcd();
- }
- ]]>
- </script>
- </select1>
- <select id="chk_vall" ref="/root/send/item7/vall" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:890px; top:34px; width:45px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption7" class="search_name" style="left:3px; top:127px; width:84px; height:17px; ">오류체크</caption>
- <select1 id="cmb_afterr" ref="/root/send/item1/aftjudgerrid" disabled="true" appearance="minimal" style="left:84px; top:127px; width:537px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tmp/aftjudgerr/aftjudgerrlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" style="left:812px; top:58px; width:84px; height:17px; ">약품목수</caption>
- <caption id="caption28" class="search_name" style="left:3px; top:151px; width:84px; height:17px; ">삭감처방</caption>
- <select id="checkbox7" ref="/root/send/item1/cutprcp" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:82px; top:151px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>삭감확인(대상자)</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox8" ref="/root/send/item1/chkerdeptyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:939px; top:106px; width:78px; height:19px; ">
- <choices>
- <item>
- <label>응급실외퇴</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox9" ref="/root/send/item1/cutviewyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:200px; top:151px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>삭감확인(명세서)</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/send/item1/cutviewyn") == "Y"){
- radio2.disabled = false;
- model.setValue("/root/send/item1/cutprcpsel", "1");
- model.refreshpart("/root/send/item1/cutprcpsel");
- //model.refresh();
- }else{
- radio2.disabled = true;
- model.setValue("/root/send/item1/cutprcpsel", "");
- model.refreshpart("/root/send/item1/cutprcpsel");
- //model.refresh();
- }
- ]]>
- </script>
- </select>
- <caption id="caption29" class="hand" style="left:500px; top:150px; width:236px; height:18px; vertical-align:middle; ">과거 6개월간의 삭감을 조회합니다.</caption>
- <select id="checkbox11" ref="/root/send/item1/selpiduseyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:1020px; top:146px; width:161px; height:19px; ">
- <choices>
- <item>
- <label>등록번호 타조건 AND검색</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption47" class="search_name" style="left:3px; top:105px; width:84px; height:17px; ">행위처방</caption>
- <select id="chkOneday" ref="/root/send/item1/chkoneover" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:82px; top:105px; width:63px; height:19px; ">
- <choices>
- <item>
- <label>1일이상</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chkonetimes" ref="/root/send/item1/chkonetimesover" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:150px; top:105px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>1회이상</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption51" class="search_name" style="left:260px; top:105px; width:84px; height:17px; ">내원일수</caption>
- <select id="checkbox12" ref="/root/send/item1/chktwoday" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:338px; top:105px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>2일이상</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox13" ref="/root/send/item1/clamsameyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:1020px; top:106px; width:123px; height:19px; ">
- <choices>
- <item>
- <label>진료개시일 불일치</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox14" ref="/root/send/item1/mpsnouseyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:1020px; top:126px; width:150px; height:19px; ">
- <choices>
- <item>
- <label>처방전 교부번호 불일치</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_reloadyn" ref="/root/temp/reloadyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:939px; top:126px; width:70px; height:19px; ">
- <choices>
- <item>
- <label>완료제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_diagcdall" ref="/root/send/item1/diagcdall" class="checkbox_search" navindex="26" overflow="visible" appearance="full" style="left:890px; top:82px; width:45px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox15" ref="/root/send/item1/virusb" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:819px; top:146px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>B형간염</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption52" class="search_name" style="left:627px; top:105px; width:82px; height:17px; ">자보회사</caption>
- <select1 id="cmb_insucmno" ref="/root/send/item1/insucmno" class="combo_search" navindex="21" appearance="minimal" showvalue="true" style="left:705px; top:106px; width:97px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/PK032list/PK032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button9" class="icon_up" style="left:243px; top:10px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 2008.06.05 neverdie 청구년월 다음월 클릭
- // 현재청구월에서 다음달을 구한다.
- var nowym = model.getValue("/root/send/item1/clamtoym");
- var upym;
-
- upym = pidfCalMonth(1, nowym);
-
- model.setValue("/root/send/item1/clamtoym", upym);
- ipt_clamtoym.refresh();
- pidfGetClamdg();
- addComboItem("cmb_clamdg", "전체", "", "above");
- ]]>
- </script>
- </button>
- <button id="button10" class="icon_down" style="left:243px; top:20px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 2008.06.05 neverdie 청구년월 이전월 클릭
- // 현재청구월에서 이전달을 구한다.
- var nowym = model.getValue("/root/send/item1/clamtoym");
- var downym;
-
- downym = pidfCalMonth(-1, nowym);
-
- model.setValue("/root/send/item1/clamtoym", downym);
- ipt_clamtoym.refresh();
-
- pidfGetClamdg();
- addComboItem("cmb_clamdg", "전체", "", "above");
- ]]>
- </script>
- </button>
- <input id="ipt_clamtoym" ref="/root/send/item1/clamtoym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:172px; top:10px; width:69px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- pidfGetClamdg();
- addComboItem("cmb_clamdg", "전체", "", "above");
- ]]>
- </script>
- </input>
- </group>
- <group id="grp_judgmemo" visibility="hidden" style="left:0px; top:270px; width:1186px; height:435px; border-color:#333333; border-style:solid; ">
- <line id="line4" class="line_1" style="x1:0px; y1:20px; x2:1184px; y2:20px; "/>
- <caption id="caption26" class="tit_2" style="left:5px; top:5px; width:113px; height:14px; ">심사대상자 메모</caption>
- <textarea id="tar_judgmemo" ref="/root/hidden/clbs/judgmemo" style="left:2px; top:25px; width:1180px; height:374px; ">
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- ]]>
- </script>
- </textarea>
- <button id="btn_memocancel" class="btn4_letter2" style="left:1114px; top:409px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_judgmemo.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_memosave" class="btn4_letter2" style="left:1055px; top:409px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_specclbs.visible == true) { // 선별심사 모드인 경우
- messageBox("선별심사 모드에서는 심사메모를 저장할 수", "I004"); ///없습니다.
- return;
- }
-
- model.removeNodeset("/root/send/item2");
- model.makeNode("/root/send/item2");
-
- var row = grd_clbsmast.row;
- var clamkey = model.getValue("/root/main/list1/clbs[" + row + "]/clamkey");
- var clamym = model.getValue("/root/main/list1/clbs[" + row + "]/clamym");
- var clamdg = model.getValue("/root/main/list1/clbs[" + row + "]/clamdg");
- var pid = model.getValue("/root/main/list1/clbs[" + row + "]/pid");
- var pidsn = model.getValue("/root/main/list1/clbs[" + row + "]/pidsn");
- var judgmemo = model.getValue("/root/hidden/clbs/judgmemo"); // 현재 창에 입력된 내용
-
- if (judgmemo == model.getValue("/root/main/list1/clbs[" + row + "]/judgmemo")) {
- messageBox("변경된 내용이", "I004"); ///변경된 내용이 없습니다.
- return;
- }
-
-
- model.makeValue("/root/send/item2/clsp/status", "d");
- model.makeValue("/root/send/item2/clsp/clamym", clamym);
- model.makeValue("/root/send/item2/clsp/clamdg", clamdg);
- model.makeValue("/root/send/item2/clsp/pid", pid);
- model.makeValue("/root/send/item2/clsp/pidsn", pidsn);
- model.makeValue("/root/send/item2/clsp/spclcd", "MX999");
- model.makeValue("/root/send/item2/clsp/spclspec", "");
- model.makeValue("/root/send/item2/clsp/unitflag", "M");
- model.makeValue("/root/send/item2/clsp/usermemoyn", "Y");
-
- var insCnt = 1;
- var spclspec = judgmemo;
- var iSpclCdTotLength = getStringLength(spclspec); // (stringHelper.js) 문자열의 길이를 구한다.
- var insCharTotCnt = 0; // 특정내역으로 잘라진 총 글자 수
- if (iSpclCdTotLength > 350) { // 새로 입력된 특정코드가 700byte를 넘는다.
- // 영문(700자), 한글(350자) 길이로 잘라서 n개의 특정코드를 만든다.
- var iLen = 0; // 특정내역 길이가 700 byte가 되었는지 계산
- var iStartInx = 0; // 특정내역 시작 index
- var iCharCnt = 0; // 몇글자로 구성되는지 계산
- for (var j=0; j < spclspec.length; j++) {
- var sBit = spclspec.charAt(j);
- iCharCnt++;
- if (escape(sBit).length > 4) {
- iLen = iLen + 2;
- } else {
- iLen = iLen + 1;
- }
- if (iLen == 350 || iLen > 350) { // 영문(700자), 한글(350자)
- insCnt++;
- if (iLen == 350) { // 700byte로 길이가 끝난 경우
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/status", "i");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamym", clamym);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamdg", clamdg);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pid", pid);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pidsn", pidsn);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclcd", "MX999");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclspec", spclspec.substr(iStartInx, iCharCnt));
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/unitflag", "M");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/usermemoyn", "Y");
- iStartInx += iCharCnt;
- insCharTotCnt += 350;
- }
- else if (iLen > 350) { // 영문(700자), 한글(350자)를 넘는 경우
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/status", "i");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamym", clamym);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamdg", clamdg);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pid", pid);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pidsn", pidsn);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclcd", "MX999");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclspec", spclspec.substr(iStartInx, iCharCnt - 1));
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/unitflag", "M");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/usermemoyn", "Y");
- iStartInx += (iCharCnt - 1);
- j--;
- insCharTotCnt += 349;
- }
- iCharCnt = 0;
- iLen = 0;
- }
- }
- if (iSpclCdTotLength != insCharTotCnt) {
- insCnt++;
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/status", "i");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamym", clamym);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamdg", clamdg);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pid", pid);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pidsn", pidsn);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclcd", "MX999");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclspec", spclspec.substring(iStartInx, spclspec.length));
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/unitflag", "M");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/usermemoyn", "Y");
- }
-
- var rsltNode = instance1.selectSingleNode("/root/send/item3");
- if (rsltNode != null) {
- insCnt = 1;
- for (var i = 1; i <= rsltNode.childNodes.length; i++) {
- model.makeNode("/root/send/item2/clsp[" + ++insCnt + "]");
- model.copyNode("/root/send/item2/clsp[" + insCnt + "]", "/root/send/item3/clsp[" + i + "]");
- }
- }
- }
- // else { // 새로 입력된 특정코드는 700byte를 넘지 않는다.
- else if (iSpclCdTotLength > 0) { // 새로 추가된 내용이 있다.
- insCnt = 2;
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/status", "i");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamym", clamym);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamdg", clamdg);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pid", pid);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pidsn", pidsn);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclcd", "MX999");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclspec", spclspec);
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/unitflag", "M");
- model.makeValue("/root/send/item2/clsp[" + insCnt + "]/usermemoyn", "Y");
- }
- var clspList = instance1.selectSingleNode("/root/send/item2/clsp");
- if (clspList != null) {
- //if (grd_specclbs.visible == true) { // 선별심사 모드인 경우
- // model.setValue("/root/main/list1/clbs[" + grd_specclbs.row + "]/judgmemo", model.getValue("/root/hidden/clbs/judgmemo"));
- //} else {
- model.setValue("/root/main/list1/clbs[" + grd_clbsmast.row + "]/judgmemo", model.getValue("/root/hidden/clbs/judgmemo"));
- //}
- //alert(instance1.selectNodesXml("/root/send/item2"));
- submit("TXPID20201");
- grp_judgmemo.visible = false;
- } else {
- messageBox("심사자 메모를", "C001"); ///심사자 메모를 입력하십시오.
- }
-
- model.removeNodeset("/root/send/item2");
- model.makeNode("/root/send/item2");
-
- ////////////////////////////////////////////////////////////////////////////////////
- /*
- if (judgmemo.isByteSize(200)) { // (stringHelper.js) 문자열의 Byte 크기가 제한값을 벗어나는지 체크 (벗어나면 false 리턴)
- model.setValue("/root/send/clsp/clamkey", model.getValue("/root/main/list1/clbs[" + grd_clbsmast.row + "]/clamkey"));
- if (submit("TXPID20401")) {
- model.resetInstanceNode("/root/send/clsp");
- model.setValue("/root/main/list1/clbs[" + grd_clbsmast.row + "]/judgmemo", judgmemo);
- model.refresh();
- grp_judgmemo.visible = false;
- }
- } else {
- messageBox("제한길이(영문 1332자, 한글 666자)를", "E003"); ///제한길이(영문 1332자, 한글 666자)를 초과하였습니다
- }
- */
- ]]>
- </script>
- </button>
- </group>
- <button id="button3" class="btn2_letter5" style="left:1113px; top:180px; width:75px; height:19px; ">
- <caption>환경초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- var selrow = grd_specclbs.selectedRow(0); // row 선택 후 타이틀 부분 조정시 row = 0으로 바뀌므로 selectedRow로 체크함
- var compsnm = "grd_specclbs";
- //var refdata = "^judgendyn^orddeptcd^pid^patnm^diagnm^spclmark^stage^orddrid^ordcd^ordnm^payflag^drugqtytims^dayno^judgmemo^orddt^execdt^rsrvdt^gender^patage^insukindcd^suppkindcd^payownbrate^spcljudgyn^clamkey^lockyn"; // Grid의 칼럼명
- //var sizedata = "^62^43^66^43^85^39^55^42^70^90^28^43^20^70^70^70^104^20^30^30^30^30^0^0^0"; // Grid의 칼럼Size
- var refdata = gSpecclbs_refdata; // 20100420 초기설정 담아둔 글로벌 변수에서 가져온다. Grid의 칼럼명
- var sizedata = gSpecclbs_sizedata; // 20100420 초기설정 담아둔 글로벌 변수에서 가져온다. Grid의 칼럼Size
- var grdobj = document.controls.item(compsnm);
- var refarr = refdata.split("^");
- var sizearr = sizedata.split("^");
- for (var i = 0; i < refarr.length; i++) {
- var colcnt = grdobj.colref("" + refarr[i] + "");
- grdobj.colMove(i, colcnt, "before", false);
- var size = sizearr[i];
- grdobj.colWidth(i) = eval(size);
- }
- grdobj.rebuild();
- model.setFocus("grd_specclbs");
- grd_specclbs.select(selrow, 1) = true;
- grd_specclbs.row = selrow; // 환경초기화 이후 row = -1로 설정되므로
-
- grd_clbsmast.visible = false;
- grd_specclbs.visible = true;
- cap_judgtrgtman.text = "선별심사 대상자";
- } else {
- var selrow = grd_clbsmast.selectedRow(0); // row 선택 후 타이틀 부분 조정시 row = 0으로 바뀌므로 selectedRow로 체크함
- var compsnm = "grd_clbsmast";
- //var refdata = "^docuseqno^clamym^clamdg^clamflagcd^orddeptcd^pid^pidsn^patnm^gender^patage^insukindcd^suppkindcd^payownbrate^diagnm^spclmark^stage^judgmemo^orddrid^judgrid^lastupdtrid^spcljudgyn^opyn^realtmjudg^oprcp^totordamt^judgenddd^judgendyn^clamendyn^ordfromdd^ordtodd^prockindflagyn^insuno^clamno^acptno^judgdg^prepdata^ownbamt^fstrgstdt^clamkey^rowstat^lockyn"; // Grid의 칼럼명
- //var sizedata = "^42^57^33^35^43^67^18^43^20^30^30^30^30^51^38^55^65^42^42^42^20^20^42^20^67^67^52^72^67^67^^20^75^78^54^54^30^67^67^37^56^100"; // Grid의 칼럼Size
- var refdata = gClbsmast_refdata; // 20100420 초기설정 담아둔 글로벌 변수에서 가져온다. Grid의 칼럼명
- var sizedata = gClbsmast_sizedata; // 20100420 초기설정 담아둔 글로벌 변수에서 가져온다. Grid의 칼럼Size
- var grdobj = document.controls.item(compsnm);
- var refarr = refdata.split("^");
- var sizearr = sizedata.split("^");
- for (var i = 0; i < refarr.length; i++) {
- var colcnt = grdobj.colref("" + refarr[i] + "");
- grdobj.colMove(i, colcnt, "before", false);
- var size = sizearr[i];
- grdobj.colWidth(i) = eval(size);
- }
- grdobj.rebuild();
- model.setFocus("grd_clbsmast");
- grd_clbsmast.select(selrow, 1) = true;
- grd_clbsmast.row = selrow; // 환경초기화 이후 row = -1로 설정되므로
-
- grd_clbsmast.visible = true;
- grd_specclbs.visible = false;
- cap_judgtrgtman.text = "사후심사 대상자";
- }
- ]]>
- </script>
- </button>
- <button id="btn_logview" class="btn2_letter8" style="left:617px; top:180px; width:108px; height:19px; ">
- <caption>생성삭제로그확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var todd = getCurrentDate();
-
- todd = todd.toDate().getAddDate(+1, 'D');
-
- zsbfOpenBatchLogPopup("clamcretmngtmgr.ClamDataCretMain",getCurrentDate(),todd.getDateFormat());
- ]]>
- </script>
- </button>
- <button id="btn_judgprcsremv" class="btn2_letter5" style="left:954px; top:180px; width:75px; height:19px; ">
- <caption>심사중해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetJudgEndYN("A");
- ]]>
- </script>
- </button>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1048px; top:180px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (grd_specclbs.visible == true) { // 선별심사 모드인 경우
- if (grd_specclbs.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- grd_specclbs.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- } else {
- if (grd_clbsmast.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- grd_clbsmast.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter3" style="left:310px; top:180px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- grd_specclbs.attribute("selectionmode") = "free";
- } else {
- grd_clbsmast.attribute("selectionmode") = "free";
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:364px; top:180px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- grd_specclbs.attribute("selectionmode") = "bycol";
- } else {
- grd_clbsmast.attribute("selectionmode") = "bycol";
- }
- ]]>
- </script>
- </button>
- <button id="btn_cretdel" class="btn2_letter4" _auth="X" style="left:552px; top:180px; width:64px; height:19px; ">
- <caption>생성삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- var deptcd = "";
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- deptcd = grd_specclbs.labelMatrix(grd_specclbs.row, grd_specclbscolRef("orddeptcd"));
- } else {
- deptcd = grd_clbsmast.labelMatrix(grd_clbsmast.row, grd_clbsmast.colRef("orddeptcd"));
- }
- pidfDelClamData("O", deptcd); // SMPID20000.js
- ]]>
- </script>
- <hint>
- <![CDATA[청구생성 자료삭제]]>
- </hint>
- </button>
- <button id="btn_judgendyn" class="btn2_letter4" _auth="X" style="left:824px; top:180px; width:64px; height:19px; ">
- <caption>일괄완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // "일괄완료"
- // 20090921 박창원 일괄완료의 플레그 값을 변경
- fSetJudgEndYN("Z");
- ]]>
- </script>
- <hint>
- <![CDATA[심사완료]]>
- </hint>
- </button>
- <button id="button6" class="btn2_letter3" style="left:418px; top:180px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- grd_specclbs.attribute("selectionmode") = "byrow";
- } else {
- grd_clbsmast.attribute("selectionmode") = "byrow";
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" _auth="X" style="left:472px; top:180px; width:64px; height:19px; ">
- <caption>제출자료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPPID25000", "","","","ccc","","","","");
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/send/item1/inoutflag" class="radio_search" navindex="11" appearance="full" cols="3" overflow="visible" style="left:891px; top:62px; width:164px; height:21px; ">
- <choices>
- <item>
- <label>원내만</label>
- <value>1</value>
- </item>
- <item>
- <label>원외</label>
- <value>2</value>
- </item>
- <item>
- <label>미적용</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // model.resetInstanceNode("/root/send/item1/choicdsrch2");
- model.setValue("/root/send/item1/choicdsrch2", "");
- ipt_choicdsrch.refresh();
-
- if (model.getValue("/root/send/item1/choicdsrch1") == "1") {
- fGetSnglcalcscorcd();
- }
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/send/item1/drugcnt" style="left:1110px; top:62px; width:30px; height:19px; "/>
- <caption id="caption4" style="left:1058px; top:62px; width:55px; height:20px; ">약품목수</caption>
- <caption id="caption5" style="left:1141px; top:62px; width:44px; height:20px; ">개 이상</caption>
- <group id="group2" scroll="auto" style="left:0px; top:727px; width:1190px; height:44px; ">
- <output id="opt_allunjudg" ref="/root/temp/optlist/allunjudg" class="output_fix" style="left:232px; top:22px; width:50px; height:19px; text-align:right; "/>
- <output id="opt_alldelete" ref="/root/temp/optlist/alldelete" class="output_fix" style="left:383px; top:22px; width:34px; height:19px; text-align:right; "/>
- <output id="opt_allcnt" ref="/root/temp/optlist/allcnt" class="output_fix" style="left:49px; top:22px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption8" class="cell_1" style="left:348px; top:22px; width:35px; height:19px; background-color:#fcd2c1; ">삭제</caption>
- <caption id="caption9" class="cell_1" style="left:1px; top:22px; width:47px; height:19px; background-color:#fcd2c1; ">총건수</caption>
- <caption id="caption13" class="cell_1" style="left:282px; top:22px; width:35px; height:19px; background-color:#fcd2c1; ">보류</caption>
- <caption id="caption14" class="cell_1" style="left:185px; top:22px; width:47px; height:19px; background-color:#fcd2c1; ">미심사</caption>
- <caption id="caption16" class="cell_1" style="left:99px; top:22px; width:35px; height:19px; background-color:#fcd2c1; ">완료</caption>
- <output id="opt_allend" ref="/root/temp/optlist/allend" class="output_fix" style="left:135px; top:22px; width:50px; height:19px; text-align:right; "/>
- <output id="opt_allreservation" ref="/root/temp/optlist/allreservation" class="output_fix" style="left:316px; top:22px; width:34px; height:19px; text-align:right; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:42px; x2:1189px; y2:42px; "/>
- <caption id="caption12" class="cell_1" style="left:417px; top:22px; width:47px; height:19px; background-color:#fcd2c1; ">심사중</caption>
- <output id="opt_alljudgprcs" ref="/root/temp/optlist/alljudgprcs" class="output_fix" style="left:464px; top:22px; width:50px; height:19px; text-align:right; "/>
- <output id="opt_autodelete" ref="/root/temp/optlist/autodelete" class="output_fix" style="left:601px; top:22px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption15" class="cell_1" style="left:546px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">자동삭제</caption>
- <output id="opt_beforeend" ref="/root/temp/optlist/beforeend" class="output_fix" style="left:706px; top:22px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption17" class="cell_1" style="left:651px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">통합완료</caption>
- <output id="opt_batchend" ref="/root/temp/optlist/batchend" class="output_fix" style="left:811px; top:22px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption18" class="cell_1" style="left:756px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">일괄완료</caption>
- <output id="opt_batchunjudg" ref="/root/temp/optlist/batchunjudg" class="output_fix" style="left:916px; top:22px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption25" class="cell_1" style="left:861px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">일괄미심</caption>
- <output id="opt_batchreservation" ref="/root/temp/optlist/batchreservation" class="output_fix" style="left:1021px; top:22px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption27" class="cell_1" style="left:966px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">일괄보류</caption>
- <output id="opt_unjudgcnt" ref="/root/hidden/clbs/unjudgcnt" class="output_fix" style="left:202px; top:2px; width:34px; height:19px; text-align:right; "/>
- <output id="opt_delcnt" ref="/root/hidden/clbs/delcnt" class="output_fix" style="left:343px; top:2px; width:34px; height:19px; text-align:right; "/>
- <output id="opt_totcnt" ref="/root/hidden/clbs/totcnt" class="output_fix" style="left:49px; top:2px; width:34px; height:19px; text-align:right; "/>
- <caption id="caption20" class="cell_1" style="left:308px; top:2px; width:35px; height:19px; ">삭제</caption>
- <caption id="caption10" class="cell_1" style="left:1px; top:2px; width:47px; height:19px; ">현건수</caption>
- <caption id="caption1" class="cell_1" style="left:378px; top:2px; width:55px; height:19px; ">자동삭제</caption>
- <caption id="caption21" class="hand" style="left:820px; top:2px; width:365px; height:18px; vertical-align:middle; ">총건수는 조회조건에서 심사상태 제외(환자조회는미적용)</caption>
- <caption id="caption22" class="cell_1" style="left:237px; top:2px; width:35px; height:19px; ">보류</caption>
- <caption id="caption2" class="hand" style="left:555px; top:2px; width:345px; height:18px; vertical-align:middle; ">[차수]원:1보완:1001추가:2001누락:9001</caption>
- <caption id="caption23" class="cell_1" style="left:155px; top:2px; width:47px; height:19px; ">미심사</caption>
- <caption id="caption24" class="cell_1" style="left:468px; top:2px; width:47px; height:19px; ">심사중</caption>
- <output id="opt_judgprcscnt" ref="/root/hidden/clbs/judgprcscnt" class="output_fix" style="left:514px; top:2px; width:34px; height:19px; text-align:right; "/>
- <caption id="caption19" class="cell_1" style="left:84px; top:2px; width:35px; height:19px; ">완료</caption>
- <output id="output2" ref="/root/hidden/clbs/autodelcnt" class="output_fix" style="left:433px; top:2px; width:34px; height:19px; text-align:right; "/>
- <output id="opt_endcnt" ref="/root/hidden/clbs/endcnt" class="output_fix" style="left:120px; top:2px; width:34px; height:19px; text-align:right; "/>
- <output id="opt_retecnt" ref="/root/hidden/clbs/retecnt" class="output_fix" style="left:273px; top:2px; width:34px; height:19px; text-align:right; "/>
- <button id="btn_allcnt" class="btn1_letter5" style="left:1098px; top:20px; width:92px; height:22px; ">
- <caption>총건수보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/item1/allcnt","Y");
- fGetOutAftJudgTrgtManList("listSrch");
- model.setValue("/root/send/item1/allcnt","N");
- // 총건수부분을 세팅 - 20091126 박창원 - 일괄보류,일괄미심 기능 추가시 추가코딩필요
- var Rcnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'R']/cnt"); // 자동삭제
- var Dcnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'D']/cnt"); // 삭제
- var Ccnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'C']/cnt"); // 심사완료
- var Acnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'A']/cnt"); // 미심
- var Bcnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'B']/cnt"); // 심사중
- var Zcnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'Z']/cnt"); // 일괄완료
- var Ncnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'N']/cnt"); // 보류
- var Ecnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'E']/cnt"); // 통합완료
- if (Rcnt == "") { Rcnt = 0; }
- if (Dcnt == "") { Dcnt = 0; }
- if (Ccnt == "") { Ccnt = 0; }
- if (Acnt == "") { Acnt = 0; }
- if (Bcnt == "") { Bcnt = 0; }
- if (Zcnt == "") { Zcnt = 0; }
- if (Ncnt == "") { Ncnt = 0; }
- if (Ecnt == "") { Ecnt = 0; }
-
- var totcnt = parseInt(Rcnt) +parseInt(Dcnt) + parseInt(Ccnt) + parseInt(Acnt) +parseInt(Bcnt) + parseInt(Zcnt) + parseInt(Ncnt) + parseInt(Ecnt); // 총건수
- var allendcnt = parseInt(Ccnt) + parseInt(Zcnt) + parseInt(Ecnt); // 완료
- var allunjudgcnt = parseInt(Acnt); // 미심사 추후에 일괄미심 포함해야함
- var allreservation = parseInt(Ncnt); // 보류 추후에 일괄보류 포함해야함
- var alldelete = parseInt(Dcnt); // 삭제
- var alljudgprcs = parseInt(Bcnt); // 미심
-
-
- /*.value로 값 셋팅 화면느림. setvalue로함. plet2*/
- model.setValue(opt_allcnt.attribute("ref"), totcnt);// opt_allcnt.value= totcnt;
- model.setValue(opt_allend.attribute("ref"), allendcnt);//opt_allend.value= allendcnt;
- model.setValue(opt_allunjudg.attribute("ref"), allunjudgcnt);//opt_allunjudg.value= allunjudgcnt;
- model.setValue(opt_allreservation.attribute("ref"), allreservation);//opt_allreservation.value= allreservation;
- model.setValue(opt_alldelete.attribute("ref"), alldelete);//opt_alldelete.value= alldelete;
- model.setValue(opt_alljudgprcs.attribute("ref"), alljudgprcs);// opt_alljudgprcs.value= alljudgprcs;
- model.setValue(opt_autodelete.attribute("ref"),Rcnt);//opt_autodelete.value= parseInt(Rcnt);
- model.setValue(opt_beforeend.attribute("ref"), Ecnt);//opt_beforeend.value= parseInt(Ecnt);
- model.setValue(opt_batchend.attribute("ref"), Zcnt);// opt_batchend.value= parseInt(Zcnt);
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_3" style="x1:0px; y1:0px; x2:1189px; y2:0px; "/>
- </group>
- <select1 id="radio2" ref="/root/send/item1/cutprcpsel" class="radio_search" disabled="true" navindex="11" appearance="full" cols="2" overflow="visible" style="left:316px; top:155px; width:185px; height:18px; ">
- <choices>
- <item>
- <label>버튼색만 변경</label>
- <value>1</value>
- </item>
- <item>
- <label>삭감창 팝업</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // model.resetInstanceNode("/root/send/item1/choicdsrch2");
- model.setValue("/root/send/item1/choicdsrch2", "");
- ipt_choicdsrch.refresh();
-
- if (model.getValue("/root/send/item1/choicdsrch1") == "1") {
- fGetSnglcalcscorcd();
- }
- ]]>
- </script>
- </select1>
- <select id="checkbox10" ref="/root/temp/tootpopupyn" overflow="visible" appearance="full" style="left:120px; top:184px; width:175px; height:15px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>치식자동팝업(치과만해당)</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button7" class="btn2_letter5" _auth="X" style="left:726px; top:180px; width:75px; height:19px; ">
- <caption>명세서삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- var deptcd = "";
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- deptcd = grd_specclbs.labelMatrix(grd_specclbs.row, grd_specclbscolRef("orddeptcd"));
- } else {
- deptcd = grd_clbsmast.labelMatrix(grd_clbsmast.row, grd_clbsmast.colRef("orddeptcd"));
- }
- pidfDelClbsData("O", deptcd); // SMPID20000.js
- ]]>
- </script>
- <hint>
- <![CDATA[청구생성 자료삭제]]>
- </hint>
- </button>
- <button id="button8" class="btn2_letter4" _auth="X" style="left:889px; top:180px; width:64px; height:19px; ">
- <caption>일괄보류</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 일괄보류
- // 20111122 박황백 추가
- fSetJudgEndYN("N");
- ]]>
- </script>
- <hint>
- <![CDATA[일괄보류]]>
- </hint>
- </button>
- <select1 id="cmb_srchcnt" ref="/root/send/item1/srchcnt" appearance="minimal" style="left:742px; top:774px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0201sublist/P0201">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //setInputNodeCurText();
- model.makeValue("/root/hidden/item1/srchcnt", model.getValue("/root/send/item1/srchcnt"));
- ]]>
- </script>
- </select1>
- </group>
- <button id="btn_cancel" class="btn4_letter2" style="left:1134px; top:786px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_envsave" class="btn4_letter4" style="left:927px; top:786px; width:80px; height:22px; ">
- <caption>환경저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var captiondata = ""; // caption
- var refdata = ""; // ref
- var sizedata = ""; // size
-
- var gridkind = "grd_clbsmast";
- if (grd_clbsmast.visible == false) { // 선별심사 모드인 경우
- gridkind = "grd_specclbs";
- }
-
- var scrnid = model.getValue("/root/init/listval/uuee/scrnid"); // 화면(xrw)의 ID
- var compscnts = "";
- var compssizecnts = "";
- var flag = "";
-
- if (scrnid == "") {
- flag = "I";
- compscnts = model.getValue("/root/init/listval/uuee/compscnts"); // Grid의 칼럼명
- compssizecnts = model.getValue("/root/init/listval/uuee/compssizecnts"); // Grid의 칼럼Size
- } else {
- var uueeList = instance1.selectSingleNode("/root/init/listval");
- var uueeNode = uueeList.childNodes;
- for (var j = 1; j <= uueeNode.length; j++) {
- var compsnm = model.getValue("/root/init/listval/uuee["+ j +"]/compsnm");
- if (compsnm == gridkind) { // Grid ID 정보
- flag = "U";
- compscnts = model.getValue("/root/init/listval/uuee["+ j +"]/compscnts"); // Grid의 칼럼명
- compssizecnts = model.getValue("/root/init/listval/uuee["+ j +"]/compssizecnts"); // Grid의 칼럼Size
- }
- }
- if (flag == "") {
- flag = "I";
- compscnts = model.getValue("/root/init/listval/uuee/compscnts"); // Grid의 칼럼명
- compssizecnts = model.getValue("/root/init/listval/uuee/compssizecnts"); // Grid의 칼럼Size
- }
- }
-
- var grdobj = document.controls.item(gridkind);
- for (var i = 0; i < grdobj.cols; i++) {
- var refval = grdobj.colAttribute(i, "ref");
- refdata += refval + "^";
- var sizeval = grdobj.colWidth(i);
- sizedata += sizeval + "^";
- }
- refdata = refdata.substring(0, refdata.length-1);
- sizedata = sizedata.substring(0, sizedata.length-1);
- if (flag == "U" && refdata == compscnts && sizedata == compssizecnts) {
- messageBox("변경된 데이터가", "I004"); ///변경된 데이터가 없습니다.
- return;
- }
- model.setValue("/root/send/listval/uuee/flag", flag);
- model.setValue("/root/send/listval/uuee/scrnid", "SMPID20400"); // 화면(xrw)의 ID - SMPID20400_외래사후심사대상자조회
- model.setValue("/root/send/listval/uuee/compsnm", gridkind); // Grid ID 정보
- model.setValue("/root/send/listval/uuee/compscnts", refdata); // Grid의 칼럼명
- model.setValue("/root/send/listval/uuee/compsrefcnts", ""); // Grid의 reference명
- model.setValue("/root/send/listval/uuee/compssizecnts", sizedata); // Grid의 칼럼Size
-
- if (submit("TXPID21601")) {
- messageBox("사용자 환경 저장이", "I002"); ///사용자 환경 저장이 완료되었습니다.
-
- //그리드 caption 재지정
- var caption = ""
- for( var i = 1; i < grdobj.cols ; i++ ){
- if (caption == "") {
- caption = grdobj.textMatrix(0,i);
- } else {
- caption += "^" + grdobj.textMatrix(0,i);
- }
- }
- grdobj.caption = caption;
- }
- ]]>
- </script>
- </button>
- <button id="btn_confirm" class="btn4_letter2" style="left:1077px; top:786px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
-
- if ( checkOpener() ) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- if (grd_specclbs.visible == true) { // 선별심사 모드인 경우
- var row = grd_specclbs.row;
- if (row > 0) {
- var gridclbs_clamym = model.getValue("/root/main/list1/clbs["+ row +"]/clamym");
- var gridclbs_clamdg = model.getValue("/root/main/list1/clbs["+ row +"]/clamdg");
- var gridclbs_pid = model.getValue("/root/main/list1/clbs["+ row +"]/pid");
- var gridclbs_pidsn = model.getValue("/root/main/list1/clbs["+ row +"]/pidsn");
-
- if (gridclbs_clamym != "") {
- model.setValue(opener.root.hidden.smpid20400.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
- model.setValue(opener.root.hidden.smpid20400.rslt.clamym, gridclbs_clamym); // 선택된 대상자의 청구키로 심사정보를 조회한다.
- model.setValue(opener.root.hidden.smpid20400.rslt.clamdg, gridclbs_clamdg); // 선택된 대상자의 청구키로 심사정보를 조회한다.
- model.setValue(opener.root.hidden.smpid20400.rslt.pid, gridclbs_pid); // 선택된 대상자의 청구키로 심사정보를 조회한다.
- model.setValue(opener.root.hidden.smpid20400.rslt.pidsn, gridclbs_pidsn); // 선택된 대상자의 청구키로 심사정보를 조회한다.
- model.setValue(opener.root.hidden.smpid20400.rslt.oldPid, model.getValue("/root/main/list1/clbs["+ row +"]/pid")); // 현재 조회된 환자의 등록번호를 저장
- opener.javascript.fGetOutAftJudgMngt();
- } else {
- messageBox("조회된 대상자가", "I004"); ///조회된 대상자가 없습니다.
- activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
- }
- } else {
- messageBox("선택된 대상자가", "I004"); ///선택된 대상자가 없습니다.
- activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
- }
- } else {
- var row = grd_clbsmast.row;
- if (row > 0) {
- var gridclbs = model.getValue("/root/main/list1/clbs["+ row +"]/clamkey");
- if (gridclbs != "") {
- model.setValue(opener.root.hidden.smpid20400.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
- model.setValue(opener.root.hidden.smpid20400.rslt.clamkey, gridclbs); // 선택된 대상자의 청구키로 심사정보를 조회한다.
- model.setValue(opener.root.hidden.smpid20400.rslt.oldPid, model.getValue("/root/main/list1/clbs["+ row +"]/pid")); // 현재 조회된 환자의 등록번호를 저장
- opener.javascript.fGetOutAftJudgMngt();
- } else {
- messageBox("조회된 대상자가", "I004"); ///조회된 대상자가 없습니다.
- activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
- }
- } else {
- messageBox("선택된 대상자가", "I004"); ///선택된 대상자가 없습니다.
- activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
- }
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
- window.close(); // F5 실행시 IE를 종료시킨다.
- }
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1008px; top:786px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_clbsmast.visible = true;
- grd_specclbs.visible = false;
- cap_judgtrgtman.text = "심사 대상자";
-
- // main / send / hidden 데이터를 초기화한다.
- fInitSrchData();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_smpis00400" class="btn3_letter9" style="left:57px; top:786px; width:140px; height:22px; ">
- <caption>상병별 청구환자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- pidfOpenSMPIS00400("O");
- ]]>
- </script>
- </button>
- <button id="btn_smpis00600" class="btn3_letter10" style="left:198px; top:786px; width:152px; height:22px; ">
- <caption>처방별 환자조회(삭감)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- pidfOpenSMPIS00600("O", "M");
- ]]>
- </script>
- </button>
- <button id="btn_smpis00500" class="btn3_letter10" visibility="visible" style="left:351px; top:786px; width:152px; height:22px; ">
- <caption>처방별 환자조회(계산)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- pidfOpenSMPIS00500("O", "M");
- ]]>
- </script>
- </button>
- <button id="btn_nextpage" class="btn4_letter5" style="left:834px; top:786px; width:92px; height:22px; ">
- <caption>다음페이지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (fCheckSrchCond()) {
- // // 조회버튼으로 조회 시 offset은 "0"으로 설정하고 submit() 을 수행한다.
- var initcond = instance1.selectNodesXml("/root/hidden/item1");
- var currentcond = instance1.selectNodesXml("/root/send/item1");
- if (initcond == currentcond) {
- } else {
- model.setValue("/root/send/item1/lastclamym", "");
- model.setValue("/root/send/item1/lastclamdg", "");
- model.setValue("/root/send/item1/lastjudgno", "");
- model.setValue("/root/send/item1/lastpid", "");
- model.setValue("/root/send/item1/lastpidsn", "");
- model.setValue("/root/send/item1/lastordcd", "");
- model.setValue("/root/send/item1/lastclamkey", "");
- model.setValue("/root/send/item1/lastedilnno", "");
- grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
- model.removeNodeset("/root/main/list1/clbs");
- }
-
- var sWindowMsg = "데이터 조회 중입니다...";
- callLoadingWindow(sWindowMsg);
-
- asyncSend("TRPID20402", "/root/send/item1", "/root/hidden/list1/clbs", "responseHandlerTRPID20402");
-
- //submit("TRPID20402");
- // 검색 결과를 표시한다.
- //fSetSrchJudgTrgtMan();
- //model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:786px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 2008.05.13. / PJH / ( 요청자:윤영옥) / 대상자 그리드 출력
- if (grd_clbsmast.rows > 1) {
- // 선택 : 부분출력(예6), 전체출력(아니오7), 취소(취소7)
- var ret = messageBox("데이터를 부분출력", "S001"); ///데이터를 부분출력 하시려면 예(Yes)\n아니면 아니오(No)
- if (ret == 6) {
- // 1. 부분출력 (그리드에 선택된 행만 보고서로 전달한다.)
- model.removeNodeset("/root/main/rpt1");
- model.makeNode("/root/main/rpt1");
-
- var idx = 1;
- for (var i = 0; i < grd_clbsmast.selectedRows; i++) {
- var row = grd_clbsmast.selectedRow(i);
-
- // 리스트
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/docuseqno", model.getValue("/root/main/list1/clbs["+ row +"]/docuseqno"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamym", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("clamym"))); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamdg", model.getValue("/root/main/list1/clbs["+ row +"]/clamdg"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/orddeptcd", model.getValue("/root/main/list1/clbs["+ row +"]/orddeptcd"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/pid", model.getValue("/root/main/list1/clbs["+ row +"]/pid"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/patnm", model.getValue("/root/main/list1/clbs["+ row +"]/patnm"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/insukindcd", model.getValue("/root/main/list1/clbs["+ row +"]/insukindcd"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/suppkindcd", model.getValue("/root/main/list1/clbs["+ row +"]/suppkindcd"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/payownbrate", model.getValue("/root/main/list1/clbs["+ row +"]/payownbrate"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/diagnm", model.getValue("/root/main/list1/clbs["+ row +"]/diagnm"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/orddrid", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("orddrid")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgrid", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("judgrid")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/oprcp", model.getValue("/root/main/list1/clbs["+ row +"]/oprcp"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgendyn", model.getValue("/root/main/list1/clbs["+ row +"]/judgendyn"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/insuno", model.getValue("/root/main/list1/clbs["+ row +"]/insuno"));
- idx++;
- }
- exeReportPreview("RPPID20400", "XMLSTR", "", "", "false", "", "", "", "", "false");
- } else if (ret == 7) {
- // 2. 전체출력 (그리드에 보여지는 내용 전체를 보고서로 전달한다.)
- var isPrint = false;
- model.removeNodeset("/root/main/rpt1");
- model.makeNode("/root/main/rpt1");
-
- var idx = 1;
- for (var i = grd_clbsmast.fixedRows; i < grd_clbsmast.rows; i ++ ) {
- if (grd_clbsmast.rowHidden(i) == false) {
- isPrint = true;
- var row = i;
-
- // 리스트
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/docuseqno", model.getValue("/root/main/list1/clbs["+ row +"]/docuseqno"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamym", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("clamym")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamdg", model.getValue("/root/main/list1/clbs["+ row +"]/clamdg")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/orddeptcd", model.getValue("/root/main/list1/clbs["+ row +"]/orddeptcd")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/pid", model.getValue("/root/main/list1/clbs["+ row +"]/pid")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/patnm", model.getValue("/root/main/list1/clbs["+ row +"]/patnm")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/insukindcd", model.getValue("/root/main/list1/clbs["+ row +"]/insukindcd")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/suppkindcd", model.getValue("/root/main/list1/clbs["+ row +"]/suppkindcd")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/payownbrate", model.getValue("/root/main/list1/clbs["+ row +"]/payownbrate")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/diagnm", model.getValue("/root/main/list1/clbs["+ row +"]/diagnm")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/orddrid", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("orddrid")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgrid", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("judgrid")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/oprcp", model.getValue("/root/main/list1/clbs["+ row +"]/oprcp")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgendyn", model.getValue("/root/main/list1/clbs["+ row +"]/judgendyn")); //
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/insuno", model.getValue("/root/main/list1/clbs["+ row +"]/insuno")); //
- idx++;
- }
- }
- if (isPrint == false) {
- messageBox("처방 필터를 변경하세요. 출력할 처방이", "I004"); ///처방 필터를 변경하세요. 출력할 처방이 없습니다.
- return;
- }
- exeReportPreview("RPPID20400", "XMLSTR", "", "", "false", "", "", "", "", "false");
- } else {
- // 3. 취소
- return;
- }
- } else {
- messageBox("출력할 처방이", "I004"); ///출력할 처방이 없습니다.
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|