123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPID20200_입원사후심사대상자조회.xrw
- * 수정이력
- * - 2007.03.16 / 최초작성 / 정주미
- * - 2008.07.01 / Modify / 김상진
- *
- ******************************************************************************************************
- * - opener 에서 전달받는 조건 경로
- opener.root.hidden.smpid20200.cond.pid
- * - opener 로 전달하는 결과값 경로
- opener.root.hidden.smpid20200.rslt.clamkey
- opener.root.hidden.smpid20200.rslt.selectedRow
- opener.root.hidden.smpid20200.rslt.oldPid
- * - opener 로 호출하는 메소드
- fGetInAftJudgMngt()
- ******************************************************************************************************
-
- * - TRPID20201 // 심사자, 보조유형, 진료의사, 청구과, 진료과, 심사자유무정보 조회
- * - TRPID20202 // 사후심사대상자조회
- * - TRPID20407 // 청구년월별 청구차수 조회
-
- * - TXPID20201 // 사용자메모저장
- * - TXPID20302 // 심사중해제
- * - TXPID21601 // 환경저장 : 처방item 순서저장
- * - TRPID21602 // 환경조회 : 처방item 순서조회
-
- ******************************************************************************************************
- -->
- <?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/>
- </main>
- <send>
- <item1>
- <ioflag/>
- <clamym/>
- <clamdg/>
- <ordfildcd/>
- <clamflagcd/>
- <judgendyn/>
- <insukindcd/>
- <suppkindcd/>
- <clamdeptcd/>
- <acptno/>
- <docuseqno1/>
- <docuseqno2/>
- <patunitsrch1/>
- <patunitsrch2/>
- <judgrid/>
- <orddrid/>
- <totordamt/>
- <cmbtotordamt/>
- <ownbamt/>
- <cmbownbamt/>
- <choicdsrch1/>
- <choicdsrch2/>
- <chkanticncr/>
- <chkanticncr2/>
- <chkanst/>
- <chkdivclam/>
- <chkangio1/>
- <chkangio2/>
- <chkspcljudg/>
- <chkpetmri/>
- <chkcpyn/>
- <chkdrgyn/>
- <chkreclam/>
- <lastclamym/>
- <lastclamdg/>
- <lastjudgno/>
- <lastpid/>
- <lastpidsn/>
- <lastordcd/>
- <lastclamkey/>
- <lastedilnno/>
- <orddeptcd/>
- <diagcdfr/>
- <diagcdto/>
- <spclmark/>
- <patmode/>
- <cutprcp/>
- <chkerdeptyn/>
- <cutviewyn/>
- <cutprcpsel/>
- <selpiduseyn/>
- <srchcnt/>
- <virusb/>
- <insucmno/>
- <chkhospice/>
- </item1>
- <list1>
- <clbs>
- <clamkey/>
- <judgendyn/>
- </clbs>
- </list1>
- <item2/>
- <item3/>
- <item4>
- <clbs>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <clamkey/>
- <ioflag/>
- <instcd/>
- <kdrgno/>
- </clbs>
- </item4>
- <listval>
- <uuee>
- <flag/>
- <scrnid/>
- <compsnm/>
- <compscnts/>
- <compsrefcnts/>
- <compssizecnts/>
- </uuee>
- </listval>
- <item6>
- <clbs>
- <clamym/>
- <clamdg>0</clamdg>
- <clamfromdd/>
- <clamtodd/>
- <insutype/>
- <ordfildcd/>
- <clamflag/>
- <predata/>
- <ownb100/>
- <datacretflag/>
- <pid/>
- <name/>
- <orddeptcd/>
- <weekflag>S</weekflag>
- <chk/>
- <ioflag/>
- </clbs>
- </item6>
- </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>
- <!-- 명세서구분코드(청구구분) -->
- <P0155list>
- <P0155>
- <cdengabbrnm/>
- <cdnm/>
- <cdid/>
- </P0155>
- </P0155list>
- <!-- 특정기호코드 -->
- <P0319list>
- <P0319>
- <cdnm/>
- <cdid/>
- </P0319>
- </P0319list>
- <!-- 청구완료여무(명세서상태) -->
- <P0430list>
- <P0430>
- <cdnm/>
- <cdid/>
- </P0430>
- </P0430list>
- <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>
- <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>
- <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>
- <smpid23300>
- <cond>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <patnm/>
- <insukind/>
- <suppkind/>
- <orddeptcd/>
- <indd/>
- </cond>
- <rslt>
- </rslt>
- </smpid23300>
- <item1/>
- <item3>
- <judgidyn/>
- </item3>
- <item4/>
- <item_all>
- <judgid/>
- <clamym/>
- <ioflag/>
- <ordflag>J</ordflag>
- </item_all>
- <item6/>
- <item7/>
- </hidden>
- <popupdata>
- <popupmenu>
- <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/>
- </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>KDRG정보조회</name>
- <func>fDocuKdrgViewList</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>KDRG조회</name>
- <func>fGetKDrgOpenPopup</func>
- </item>
- </gridclbs>
- </popupmenu>
- </popupdata>
- <temp>
- <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" replace="instance" resultref="/root/init/tmp"/>
- <submission id="TRPID20202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" add="bottom" resultref="/root/main/list1/clbs"/>
- <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="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="TXPID20202" 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="TXPID20305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item4/clbs" resultref="/root/hidden/item6"/>
- <submission id="TXPID20306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item4/clbs" resultref="/root/hidden/item7"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitialize(); // 화면을 초기화한다.
- fCheckAuth(); // 화면 권한을 설정한다.
-
- if (gUserid == "DEV301" || gUserid == "DEV311" || gUserid == "12345678" || gUserid == "COM") {
- //btn_envsave.visible = true;
- btn_calc.visible = true;
- }
- ]]>
- </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/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/insucomweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20000.js"/>
- <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20200.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelperAsync.js"/>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="745" guideline="1,1206;2,727;" 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:1195px; height:690px; ">
- <datagrid id="grd_clbsmast" nodeset="/root/main/list1/clbs" class="datagrid2" caption="명일련^청구년월^차수^청구
구분^진료과^등록번호^순
번^환자명^성
별^나이^보험
유형^보조
유형^요율^주상병^특정
기호^응
급^처방코드^처방명^급
비^수량^일
수^처방일자^실시일자^Stage^메모^전문의^심사자^최종
심사자^선
별^수
술^실시간
심사^총진료비^심사일자^심사
상태^청구
상태^입원일자^유형시작^유형종료^진료개시일^진료종료일^장
애^조합기호^청구번호^접수번호^심사차수^준비
자료^사
망^분할
청구^본인
부담금^생성일자^clamkey^lockyn^cutprcpyn^KDRG
번호^KDRG
중중도^MDC^자보회사^자보접수번호^지급보증번호^KDRG명^반송코드^반송코드명^반송사유" colsep="^" colwidth="42, 61, 33, 35, 43, 66, 19, 43, 20, 30, 30, 30, 30, 79, 37, 20, 70, 90, 25, 51, 20, 70, 70, 55, 68, 45, 42, 42, 19, 19, 44, 67, 67, 52, 70, 67, 67, 67, 67, 67, 20, 75, 78, 54, 54, 30, 20, 30, 67, 67, 100, 100, 100, 55, 45, 35, 120, 140, 110, 120, 58, 66, 66" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="8" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:191px; width:1190px; height:468px; ">
- <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:left; "/>
- <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="left:463px; top:32px; width:90px; height:23px; "/>
- <col ref="spclmark" style="text-align:left; "/>
- <col disabled="true" ref="stsioflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>C</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="ordcd"/>
- <col ref="ordnm" style="text-align:left; "/>
- <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" style="text-align:right; "/>
- <col ref="dayno" style="text-align:right; "/>
- <col ref="orddt" format="yyyy-mm-dd"/>
- <col ref="execdt" format="yyyy-mm-dd"/>
- <col ref="stage"/>
- <col ref="judgmemo" type="inputbutton"/>
- <col disabled="true" ref="orddrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddrid2/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="judgrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="lastupdtrid" type="combo">
- <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="text-align:center; background-color:#c0c0c0; "/>
- <col ref="totordamt" format="#,###" style="text-align:right; "/>
- <col ref="judgenddd" format="yyyy/mm/dd" style="text-align:left; "/>
- <col disabled="true" ref="judgendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151[cdid != 'Z']">
- <label ref="cdengabbrnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="clamendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0430list/P0430">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="indd" format="yyyy-mm-dd" style="background-color:transparent; "/>
- <col ref="iphsfromdd" format="yyyy-mm-dd"/>
- <col ref="iphstodd" format="yyyy-mm-dd"/>
- <col ref="ordfromdd" format="yyyy-mm-dd"/>
- <col ref="ordtodd" format="yyyy-mm-dd"/>
- <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" style="text-align:center; "/>
- <col ref="dethyn" style="text-align:center; "/>
- <col ref="divclam" style="text-align:center; "/>
- <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="lockyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="cutprcpyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="drgcd" style="text-align:center; "/>
- <col ref="kstage" style="text-align:center; "/>
- <col ref="kmdc" style="text-align:center; "/>
- <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" style="text-align:center; "/>
- <col ref="kdrgnm"/>
- <col ref="preresncd"/>
- <col ref="preresncdnm"/>
- <col ref="preresntext"/>
- <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;
- if (grd_clbsmast.isCell(event.target) && row >= grd_clbsmast.fixedRows) {
- var gridclamym = model.getValue("/root/main/list1/clbs["+ row +"]/clamym");
- var gridclamdg = model.getValue("/root/main/list1/clbs["+ row +"]/clamdg");
- var gridpid = model.getValue("/root/main/list1/clbs["+ row +"]/pid");
- var gridpidsn = model.getValue("/root/main/list1/clbs["+ row +"]/pidsn");
- var gridclbs_judgenddd = model.getValue("/root/main/list1/clbs["+ row +"]/judgenddd");
- var gridclbs_cretno = model.getValue("/root/main/list1/clbs["+ row +"]/cretno");
-
- if (gridpid != "") {
- 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.smpid20200.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
- model.setValue(opener.root.hidden.smpid20200.rslt.clamym, gridclamym); // 선택된 대상자의 청구년월
- model.setValue(opener.root.hidden.smpid20200.rslt.clamdg, gridclamdg); // 선택된 대상자의 청구차수
- model.setValue(opener.root.hidden.smpid20200.rslt.pid, gridpid); // 선택된 대상자의 등록번호
- model.setValue(opener.root.hidden.smpid20200.rslt.pidsn, gridpidsn); // 선택된 대상자의 등록번호 순번
- model.setValue(opener.root.hidden.smpid20200.rslt.workflag, "12"); // 선택된 대상자의 등록번호 순번
- model.setValue(opener.root.hidden.smpid20200.rslt.popupcallyn, "Y"); // 선택된 대상자의 등록번호 순번
- model.setValue(opener.root.hidden.smpid20200.rslt.oldPid, model.getValue("/root/main/list1/clbs["+ row +"]/pid")); // 현재 조회된 환자의 등록번호를 저장
- model.setValue(opener.root.hidden.smpid20200.rslt.cutprcpyn, model.getValue("/root/send/item1/cutprcpsel")); //현재 조회된 환자의 삭감처방여부를 저장
- //20120523 plet2 심사완료일자 추가
- model.setValue(opener.root.hidden.smpid20200.rslt.judgenddd, gridclbs_judgenddd);
- model.setValue(opener.root.hidden.smpid20200.rslt.cretno, gridclbs_cretno);
-
- opener.javascript.fGetInAftJudgMngt();
- setPopupRefresh(gridpid);
- // activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
- } 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;
- model.setValue("/root/hidden/clbs/judgmemo", model.getValue("/root/main/list1/clbs[" + grd_clbsmast.mouseRow + "]/judgmemo"));
- model.refresh();
- grp_judgmemo.visible = true;
- model.setFocus("tar_judgmemo");
- }
- }
- }
- ]]>
- </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") {
- 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>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:153px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:150px; "/>
- <caption id="caption2" class="search_name" style="left:7px; top:9px; width:86px; height:17px; ">청구년월</caption>
- <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:91px; top:8px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- pidfGetClamdg();
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:475px; top:9px; width:86px; height:17px; ">진료분야</caption>
- <select1 id="cmb_ordfildcd" ref="/root/send/item1/ordfildcd" class="combo_search" navindex="13" appearance="minimal" style="left:558px; top:8px; width:116px; 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="caption8" class="search_name" style="left:260px; top:33px; 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:344px; top:32px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="search_name" style="left:260px; top:57px; 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:344px; top:56px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151[cdid != 'Z']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:686px; top:9px; width:86px; height:17px; ">보험유형</caption>
- <select1 id="cmb_insukind" ref="/root/send/item1/insukindcd" class="combo_search" navindex="16" appearance="minimal" style="left:770px; top:8px; width:97px; 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";
- }
- cmb_suppkind.refresh();
- opt_suppkind.refresh();
- if (cmb_suppkind.label) {
- } else { // 기존 선택된 보조유형을 선택할 수 없는 보험유형이 선택된 경우이므로
- // model.resetInstanceNode("/root/send/item1/suppkindcd"); // 보조유형 선택을 초기화한다.
- model.setValue("/root/send/item1/suppkindcd", ""); // 보조유형 선택을 초기화한다.
- cmb_suppkind.refresh();
- opt_suppkind.refresh();
- }
-
- //2009.03.19 syjung 보험유형 전체선택이거나 산재선택했을 때는 접수번호 maxlength를 15, 그 외는 8.
- if(insukindcd == "41" || insukindcd == "" ) {
- ipt_acptno.attribute("maxlength") = 15;
- } else {
- ipt_acptno.attribute("maxlength") = 8;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="search_name" style="left:475px; top:33px; width:73px; height:17px; ">청구과</caption>
- <select1 id="cmb_clamdeptcd" ref="/root/send/item1/clamdeptcd" class="combo_search" navindex="14" appearance="minimal" style="left:558px; top:32px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdept/clamdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:686px; top:57px; width:86px; height:17px; ">접수번호</caption>
- <input id="ipt_acptno" ref="/root/send/item1/acptno" class="input_search" navindex="18" maxlength="15" style="left:770px; top:56px; width:97px; height:19px; "/>
- <caption id="caption14" class="search_name" style="left:686px; top:81px; width:88px; height:17px; ">명번호</caption>
- <input id="ipt_docuseqno1" ref="/root/send/item1/docuseqno1" class="input_search" navindex="19" maxlength="15" style="left:770px; top:80px; width:39px; height:19px; ">
- <hint>
- <![CDATA[시작번호]]>
- </hint>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var docuseqno1 = model.getValue("/root/send/item1/docuseqno1");
- if (docuseqno1) {
- //docuseqno1 = docuseqno1.getLeftPad(5, "0"); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- //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 입력 시에
- //if (ipt_docuseqno1.currentText.length > 1) { // 2글자 이상이면
- 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" maxlength="5" style="left:828px; top:80px; width:39px; height:19px; ">
- <hint>
- <![CDATA[끝번호]]>
- </hint>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- //if (ipt_docuseqno2.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- // fGetInAftJudgTrgtManList("docuSrch");
- model.removeNodeset("/root/main/list1/clbs");
- submit("TRPID20202");
- //}
- }
- ]]>
- </script>
- </input>
- <caption id="caption18" class="search_name" style="left:7px; top:81px; width:112px; height:17px; ">환자조회</caption>
- <input id="ipt_patunitsrch" ref="/root/send/item1/patunitsrch1" class="input_search" navindex="3" inputtype="button" maxlength="10" style="left:91px; top:80px; width:90px; 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) 현재 인풋값 노드 반영
- fGetInAftJudgTrgtManList("pidSrch");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var ipt_pid = model.getValue("/root/send/item1/patunitsrch1");
- if (ipt_pid) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- // pam/commonweb/xrw/SPPMC02500_환자조회.xrw
- modal("SPPMC02500", "1", "150", "150", "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", ""); // SPPMC02500_환자조회.xrw
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
- model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- model.setValue("/root/send/item1/patunitsrch1", srch_pid);
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption15" class="search_name" style="left:260px; top:9px; width:73px; height:17px; ">심사자</caption>
- <select1 id="cmb_judgrid" ref="/root/send/item1/judgrid" class="combo_search" navindex="8" appearance="minimal" style="left:344px; top:8px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:475px; top:81px; width:73px; height:17px; ">전문의</caption>
- <select1 id="cmb_orddrid" ref="/root/send/item1/orddrid" class="combo_search" navindex="15" appearance="minimal" style="left:558px; top:80px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:7px; top:33px; width:86px; height:17px; ">총진료비</caption>
- <input id="ipt_totordamt" ref="/root/send/item1/totordamt" class="input_search" navindex="4" maxlength="10" format="#,###" style="left:91px; top:32px; width:90px; height:19px; "/>
- <select1 id="cmb_totordamt" ref="/root/send/item1/cmbtotordamt" class="combo_search" navindex="5" appearance="minimal" style="left:184px; top:32px; width:62px; height:19px; ">
- <choices>
- <item>
- <label>원미만</label>
- <value>2</value>
- </item>
- <item>
- <label>원이상</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption17" class="search_name" style="left:686px; top:126px; 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:769px; top:127px; width:126px; height:15px; ">
- <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.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:898px; top:124px; width:200px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- if (ipt_choicdsrch.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetInAftJudgTrgtManList();
- }
- }
- ]]>
- </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="caption16" class="search_name" style="left:7px; top:57px; width:86px; height:17px; ">본인부담</caption>
- <input id="ipt_ownbamt" ref="/root/send/item1/ownbamt" class="input_search" navindex="6" maxlength="10" format="#,###" style="left:91px; top:56px; width:90px; height:19px; "/>
- <select1 id="cmb_ownbamt" ref="/root/send/item1/cmbownbamt" class="combo_search" navindex="7" appearance="minimal" style="left:184px; top:56px; width:62px; height:19px; ">
- <choices>
- <!-- [2007.03.22 박도형대리님] 원 단위 조회는 사용 안하기로 함 -->
- <!--
- <item>
- <label>원</label>
- <value>1</value>
- </item>
- -->
- <item>
- <label>원미만</label>
- <value>2</value>
- </item>
- <item>
- <label>원이상</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="btn_search" class="btn1_letter2" navindex="32" style="left:1116px; top:122px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetInAftJudgTrgtManList();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1103px; y1:118px; x2:1103px; y2:146px; "/>
- <select id="chk_anticncr" ref="/root/send/item1/chkanticncr" class="checkbox_search" navindex="21" overflow="visible" appearance="full" style="left:911px; top:8px; width:77px; height:15px; ">
- <choices>
- <item>
- <label>항암제전체</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_anticncr2" ref="/root/send/item1/chkanticncr2" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:1009px; top:8px; width:71px; height:15px; ">
- <choices>
- <item>
- <label>항암제2군</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_anst" ref="/root/send/item1/chkanst" class="checkbox_search" navindex="23" overflow="visible" appearance="full" style="left:1106px; top:8px; width:42px; height:15px; ">
- <choices>
- <item>
- <label>수술</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_divclam" ref="/root/send/item1/chkdivclam" class="checkbox_search" navindex="28" overflow="visible" appearance="full" style="left:1009px; top:40px; width:66px; height:15px; ">
- <choices>
- <item>
- <label>분할청구</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_angioyn1" ref="/root/send/item1/chkangio1" class="checkbox_search" navindex="24" overflow="visible" appearance="full" style="left:911px; top:24px; width:77px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>혈관조영술</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_angioyn2" ref="/root/send/item1/chkangio2" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:1009px; top:24px; width:77px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>중재적시술</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_spcljudg" ref="/root/send/item1/chkspcljudg" class="checkbox_search" navindex="26" overflow="visible" appearance="full" style="left:1106px; top:24px; width:65px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>선별심사</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_petmri" ref="/root/send/item1/chkpetmri" class="checkbox_search" navindex="27" overflow="visible" appearance="full" style="left:911px; top:40px; width:70px; height:15px; ">
- <choices>
- <item>
- <label>PET/MRI</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_cpyn" ref="/root/send/item1/chkcpyn" class="checkbox_search" navindex="29" overflow="visible" appearance="full" style="left:911px; top:56px; width:35px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>CP</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_drgyn" ref="/root/send/item1/chkdrgyn" class="checkbox_search" navindex="30" overflow="visible" appearance="full" style="left:1009px; top:56px; width:43px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>DRG</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_reclam" ref="/root/send/item1/chkreclam" class="checkbox_search" navindex="31" overflow="visible" appearance="full" style="left:1106px; top:40px; width:55px; height:15px; ">
- <choices>
- <item>
- <label>재청구</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="cmb_suppkind" ref="/root/send/item1/suppkindcd" class="combo_search" navindex="17" appearance="minimal" style="left:770px; top:32px; width:97px; 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="caption12" class="search_name" style="left:686px; top:33px; width:86px; height:17px; ">보조유형</caption>
- <caption id="caption25" style="left:813px; top:82px; width:11px; height:16px; ">~</caption>
- <output id="opt_insukind" ref="/root/send/item1/insukindcd" class="output_search" style="left:869px; top:8px; width:17px; height:19px; "/>
- <output id="opt_suppkind" ref="/root/send/item1/suppkindcd" class="output_search" style="left:869px; top:32px; width:17px; height:19px; "/>
- <button id="btn_prvclamym" class="icon_down" style="left:170px; top:18px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![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);
- ipt_clamym.refresh();
-
- pidfGetClamdg();
- ]]>
- </script>
- </button>
- <button id="btn_preclamym" class="icon_up" style="left:170px; top:7px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![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);
- ipt_clamym.refresh();
- pidfGetClamdg();
- ]]>
- </script>
- </button>
- <caption id="caption50" style="left:163px; top:106px; width:11px; height:16px; ">~</caption>
- <caption id="caption48" class="search_name" style="left:7px; top:105px; width:86px; height:17px; ">상병조회</caption>
- <caption id="caption49" class="search_name" style="left:260px; top:106px; width:86px; height:17px; ">특정기호</caption>
- <select1 id="combo12" ref="/root/send/item1/spclmark" class="combo_search" navindex="14" appearance="minimal" editmode="search" itemcount="20" style="left:344px; top:105px; width:55px; height:19px; ">
- <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:404px; top:105px; width:270px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0319list/P0319">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/send/item1/orddeptcd" class="combo_search" navindex="14" appearance="minimal" itemcount="20" style="left:558px; top:56px; width:116px; height:19px; ">
- <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="caption46" class="search_name" style="left:475px; top:56px; width:73px; height:17px; ">진료과</caption>
- <input id="ipt_diagfr" ref="/root/send/item1/diagcdfr" class="input_search" navindex="12" imemode="disabled" inputtype="button" _chartype="upper" style="left:91px; top:104px; width:68px; height:19px; ">
- <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>
- <input id="ipt_diagto" ref="/root/send/item1/diagcdto" class="input_search" navindex="4" imemode="disabled" _chartype="upper" style="left:178px; top:104px; width:68px; height:19px; "/>
- <select1 id="cmb_clamdg" ref="/root/send/item1/clamdg" class="combo_search" appearance="minimal" style="left:184px; top:8px; width:62px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdg/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_patmode" ref="/root/send/item1/patmode" class="radio_search" navindex="11" appearance="full" cols="2" overflow="visible" style="left:185px; top:80px; width:170px; height:15px; ">
- <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="checkbox1" ref="/root/send/item1/cutprcp" class="checkbox_search" navindex="31" overflow="visible" appearance="full" style="left:90px; top:129px; width:115px; height:15px; ">
- <choices>
- <item>
- <label>삭감확인(대상자)</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/send/item1/chkerdeptyn" class="checkbox_search" navindex="31" overflow="visible" appearance="full" style="left:1106px; top:56px; width:70px; height:15px; ">
- <choices>
- <item>
- <label>응급실주과</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption28" class="search_name" style="left:8px; top:128px; width:84px; height:17px; ">삭감처방</caption>
- <select id="checkbox9" ref="/root/send/item1/cutviewyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:210px; top:128px; 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>
- <select1 id="radio2" ref="/root/send/item1/cutprcpsel" class="radio_search" disabled="true" navindex="11" appearance="full" cols="2" overflow="visible" style="left:330px; top:128px; 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>
- <caption id="caption29" class="hand" style="left:519px; top:128px; width:236px; height:18px; vertical-align:middle; ">과거 6개월 삭감 조회함.</caption>
- <select id="checkbox11" ref="/root/send/item1/selpiduseyn" class="checkbox_search" navindex="22" visibility="hidden" overflow="visible" appearance="full" style="left:910px; top:98px; width:165px; height:16px; ">
- <choices>
- <item>
- <label>등록번호 타조건 AND검색</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_reloadyn" ref="/root/temp/reloadyn" class="checkbox_search" navindex="22" visibility="visible" overflow="visible" appearance="full" style="left:1106px; top:98px; width:70px; height:16px; ">
- <choices>
- <item>
- <label>완료제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_virusb" ref="/root/send/item1/virusb" class="checkbox_search" navindex="30" overflow="visible" appearance="full" style="left:1106px; top:72px; width:69px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>B형간염</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption30" class="search_name" style="left:686px; top:105px; width:86px; height:17px; ">자보회사</caption>
- <select1 id="cmb_insucmno" ref="/root/send/item1/insucmno" class="combo_search" navindex="22" appearance="minimal" showvalue="true" style="left:770px; top:104px; width:97px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/PK032list/PK032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_hospice" ref="/root/send/item1/chkhospice" class="checkbox_search" navindex="30" overflow="visible" appearance="full" style="left:911px; top:71px; width:43px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>완화</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <caption id="cap_judgtrgtman" class="tit_2" style="left:5px; top:171px; width:187px; height:13px; ">심사 대상자</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:187px; x2:1190px; y2:187px; "/>
- <!-- [2007.03.19. 박도형대리님] Grid 필터용 Radio 사용 부분 삭제 요청 -->
- <!--
- <select1 id="rdo_judgendyn" ref="/root/hidden/clbs/judgendyn" class="radio_search" overflow="visible" appearance="full" cols="7" cellspacing="5" style="left:112px; top:121px; width:373px; height:20px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>미심사</label>
- <value>1</value>
- </item>
- <item>
- <label>완료</label>
- <value>2</value>
- </item>
- <item>
- <label>심사중</label>
- <value>3</value>
- </item>
- <item>
- <label>보류</label>
- <value>4</value>
- </item>
- <item>
- <label>삭제</label>
- <value>5</value>
- </item>
- <item>
- <label>재청구</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetWorkStatRadio();
- ]]>
- </script>
- </select1>
- -->
- <caption id="caption10" class="cell_1" style="left:0px; top:664px; width:45px; height:23px; ">총건수</caption>
- <output id="opt_totcnt" ref="/root/hidden/clbs/totcnt" class="output_fix" style="left:46px; top:665px; width:29px; height:19px; text-align:right; "/>
- <caption id="caption19" class="cell_1" style="left:77px; top:664px; width:35px; height:23px; ">완료</caption>
- <output id="opt_endcnt" ref="/root/hidden/clbs/endcnt" class="output_fix" style="left:113px; top:665px; width:29px; height:19px; text-align:right; "/>
- <caption id="caption23" class="cell_1" style="left:144px; top:664px; width:45px; height:23px; ">미심사</caption>
- <output id="opt_unjudgcnt" ref="/root/hidden/clbs/unjudgcnt" class="output_fix" style="left:190px; top:665px; width:29px; height:19px; text-align:right; "/>
- <caption id="caption22" class="cell_1" style="left:221px; top:664px; width:35px; height:23px; ">보류</caption>
- <output id="opt_retecnt" ref="/root/hidden/clbs/retecnt" class="output_fix" style="left:257px; top:665px; width:29px; height:19px; text-align:right; "/>
- <caption id="caption20" class="cell_1" style="left:287px; top:664px; width:35px; height:23px; ">삭제</caption>
- <output id="opt_delcnt" ref="/root/hidden/clbs/delcnt" class="output_fix" style="left:322px; top:665px; width:29px; height:19px; text-align:right; "/>
- <caption id="caption24" class="cell_1" style="left:438px; top:664px; width:45px; height:23px; ">심사중</caption>
- <output id="opt_judgprcscnt" ref="/root/hidden/clbs/judgprcscnt" class="output_fix" style="left:484px; top:665px; width:29px; height:19px; text-align:right; "/>
- <caption id="caption21" class="cell_1" style="left:515px; top:664px; width:35px; height:23px; ">반송</caption>
- <output id="opt_rptclamcnt" ref="/root/hidden/clbs/rptclamcnt" class="output_fix" style="left:551px; top:665px; width:29px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[청구진행상태='C']]>
- </hint>
- </output>
- <line id="line13" class="line_3" style="x1:0px; y1:662px; x2:1190px; y2:662px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:686px; x2:1190px; y2:686px; "/>
- <button id="btn_judgprcsremv" class="btn2_letter5" style="left:973px; top:167px; width:75px; height:19px; ">
- <caption>심사중해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetJudgEndYN();
- ]]>
- </script>
- </button>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1049px; top:167px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- 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", true, true, "", "", true);
- grd_clbsmast.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <button id="btn_envinit" class="btn2_letter5" style="left:1114px; top:167px; width:75px; height:19px; ">
- <caption>환경초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var compsnm = model.getValue("/root/init/listval/uuee/compsnm");
- // if (compsnm) { // Grid ID 정보
- var selrow = grd_clbsmast.selectedRow(0); // row 선택 후 타이틀 부분 조정시 row = 0으로 바뀌므로 selectedRow로 체크함
- // alert("pre>>"+selrow + " / " + grd_clbsmast.row);
- var compsnm = "grd_clbsmast";
- //var refdata = "^docuseqno^clamym^clamdg^clamflagcd^orddeptcd^pid^pidsn^patnm^gender^patage^insukindcd^suppkindcd^payownbrate^diagnm^spclmark^ordcd^ordnm^payflag^drugqtytims^dayno^orddt^execdt^stage^judgmemo^orddrid^judgrid^lastupdtrid^spcljudgyn^opyn^realtmjudg^totordamt^judgenddd^judgendyn^clamendyn^indd^iphsfromdd^iphstodd^ordfromdd^ordtodd^prockindflagyn^insuno^clamno^acptno^judgdg^prepdata^dethyn^divclam^ownbamt^fstrgstdt^clamkey^lockyn"; // Grid의 칼럼명
- //var sizedata = "^42^61^33^35^43^66^19^43^20^30^30^30^30^79^37^0^0^0^0^0^0^0^55^68^42^42^42^19^19^44^67^67^52^70^67^67^67^67^67^20^75^78^54^54^30^20^30^67^67^0^0"; // 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();
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- grd_clbsmast.colHidden(grd_clbsmast.colRef("ordcd")) = false;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("ordnm")) = false;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("payflag")) = false;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("drugqtytims")) = false;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("dayno")) = false;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("orddt")) = false;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("execdt")) = false;
- cap_judgtrgtman.text = "선별심사 대상자";
- } else {
- grd_clbsmast.colHidden(grd_clbsmast.colRef("ordcd")) = true;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("ordnm")) = true;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("payflag")) = true;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("drugqtytims")) = true;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("dayno")) = true;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("orddt")) = true;
- grd_clbsmast.colHidden(grd_clbsmast.colRef("execdt")) = true;
- cap_judgtrgtman.text = "사후심사 대상자";
- }
- model.setFocus("grd_clbsmast");
- grd_clbsmast.select(selrow, 1) = true;
- grd_clbsmast.row = selrow; // 환경초기화 이후 row = -1로 설정되므로
- // grd_clbsmast.col = 1; // 환경초기화 이후 row = -1로 설정되므로
- // model.refresh();
- // alert(selrow + " / " + grd_clbsmast.row);
- // }
- ]]>
- </script>
- </button>
- <!-- [2007.03.20. 박도형대리님] Grid grd_clbsmast의 data Combo 사용으로 코드명 보여주는 대신 코드ID로 변경 요청 -->
- <!--
- <col ref="insukindcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="suppkindcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0010list/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- -->
- <group id="grp_judgmemo" visibility="hidden" style="left:0px; top:233px; width:1190px; height:409px; border-color:#333333; border-style:solid; ">
- <line id="line4" class="line_1" style="x1:0px; y1:20px; x2:1188px; 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:5px; top:40px; width:1178px; height:324px; ">
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- ]]>
- </script>
- </textarea>
- <button id="btn_memocancel" class="btn4_letter2" style="left:1112px; top:374px; 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:1053px; top:374px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var srchmode = model.getValue("/root/hidden/clbs/srchmode");
- if (srchmode == "specclbs") { // 선별심사 모드인 경우
- 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) {
- 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("TXPID20201")) {
- 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="btn_cretdel" class="btn2_letter4" _auth="X" style="left:723px; top:167px; width:64px; height:19px; ">
- <caption>생성삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var deptcd = grd_clbsmast.labelMatrix(grd_clbsmast.row, grd_clbsmast.colRef("orddeptcd"));
- pidfDelClamData("I", deptcd); // SMPID20000.js
- ]]>
- </script>
- <hint>
- <![CDATA[청구생성 자료삭제]]>
- </hint>
- </button>
- <output id="output1" ref="/root/hidden/clbs/autodelcnt" class="output_fix" style="left:408px; top:665px; width:29px; height:19px; text-align:right; "/>
- <caption id="caption9" class="cell_1" style="left:352px; top:664px; width:55px; height:23px; ">자동삭제</caption>
- <button id="btn_logview" class="btn2_letter8" style="left:788px; top:167px; 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>
- <caption id="caption27" class="hand" style="left:590px; top:665px; width:345px; height:20px; vertical-align:middle; ">[청구차수] : 원:1 보완:1001 추가:2001 누락:9001</caption>
- <button id="button4" class="btn2_letter3" style="left:116px; top:167px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_clbsmast.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:170px; top:167px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_clbsmast.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:224px; top:167px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_clbsmast.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" _auth="X" style="left:658px; top:167px; width:64px; height:19px; ">
- <caption>제출자료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPPID25000", "","","","ccc","","","","");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter5" visibility="hidden" _auth="X" style="left:582px; top:167px; width:75px; height:19px; ">
- <caption>KDRG생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetKDRGclodlist();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter5" _auth="X" style="left:897px; top:167px; 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("I", deptcd); // SMPID20000.js
- ]]>
- </script>
- <hint>
- <![CDATA[청구생성 자료삭제]]>
- </hint>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:700px; width:1195px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:1079px; top:3px; 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와 비교하여 변경되었는지 여부를 반환
- 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.smpid20200.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
- model.setValue(opener.root.hidden.smpid20200.rslt.clamkey, gridclbs); // 선택된 대상자의 청구키로 심사정보를 조회한다.
- model.setValue(opener.root.hidden.smpid20200.rslt.oldPid, model.getValue("/root/main/list1/clbs["+ row +"]/pid")); // 현재 조회된 환자의 등록번호를 저장
- opener.javascript.fGetInAftJudgMngt();
- } 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_cancel" class="btn4_letter2" style="left:1136px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1190px; y2:0px; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1010px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cap_judgtrgtman.text = "심사 대상자";
-
- // main / send / hidden 데이터를 초기화한다.
- fInitSrchData();
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- 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 +"]/iphsfromdd", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("iphsfromdd")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/iphstodd", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("iphstodd")));
- 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 +"]/opyn", model.getValue("/root/main/list1/clbs["+ row +"]/opyn"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgendyn", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("judgendyn")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamendyn", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("clamendyn")));
- idx++;
- }
- exeReportPreview("RPPID20200", "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 +"]/iphsfromdd", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("iphsfromdd")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/iphstodd", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("iphstodd")));
- 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 +"]/opyn", model.getValue("/root/main/list1/clbs["+ row +"]/opyn"));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgendyn", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("judgendyn")));
- model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamendyn", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("clamendyn")));
- idx++;
- }
- }
- if (isPrint == false) {
- messageBox("처방 필터를 변경하세요. 출력할 처방이", "I004"); ///처방 필터를 변경하세요. 출력할 처방이 없습니다.
- return;
- }
- exeReportPreview("RPPID20200", "XMLSTR", "", "", "false", "", "", "", "", "false");
-
- } else {
- // 3. 취소
- return;
- }
- } else {
- messageBox("출력할 처방이", "I004"); ///출력할 처방이 없습니다.
- }
- /*
- // parameter를 넘겨 보고서에서 쿼리를 돌린 후, 보여주는 형태
- model.removenode("/root/send/prntinfo");
- model.makeNode("/root/send/prntinfo");
- // parameter 전달
- model.makeValue("/root/send/prntinfo/ioflag", "I"); //model.getValue("/root/send/item1/ioflag"));
- model.makeValue("/root/send/prntinfo/clamym", model.getValue("/root/send/item1/clamym"));
- model.makeValue("/root/send/prntinfo/clamdg", model.getValue("/root/send/item1/clamdg"));
- model.makeValue("/root/send/prntinfo/ordfildcd", model.getValue("/root/send/item1/ordfildcd"));
- model.makeValue("/root/send/prntinfo/docuflagcd", model.getValue("/root/send/item1/clamflagcd"));
- model.makeValue("/root/send/prntinfo/workstat", model.getValue("/root/send/item1/judgendyn"));
- model.makeValue("/root/send/prntinfo/insukindcd", model.getValue("/root/send/item1/insukindcd"));
- model.makeValue("/root/send/prntinfo/suppkindcd", model.getValue("/root/send/item1/suppkindcd"));
- model.makeValue("/root/send/prntinfo/clamdeptcd", model.getValue("/root/send/item1/clamdeptcd"));
- model.makeValue("/root/send/prntinfo/acptno", model.getValue("/root/send/item1/acptno"));
- model.makeValue("/root/send/prntinfo/docuseqno1", model.getValue("/root/send/item1/docuseqno1"));
- model.makeValue("/root/send/prntinfo/docuseqno2", model.getValue("/root/send/item1/docuseqno2"));
- model.makeValue("/root/send/prntinfo/patunitsrch1", model.getValue("/root/send/item1/patunitsrch1"));
- model.makeValue("/root/send/prntinfo/patunitsrch2", model.getValue("/root/send/item1/patunitsrch2"));
- model.makeValue("/root/send/prntinfo/judgrid", model.getValue("/root/send/item1/judgrid"));
- model.makeValue("/root/send/prntinfo/orddrid", model.getValue("/root/send/item1/orddrid"));
- model.makeValue("/root/send/prntinfo/totordamt", model.getValue("/root/send/item1/totordamt"));
- model.makeValue("/root/send/prntinfo/cmbtotordamt", model.getValue("/root/send/item1/cmbtotordamt"));
- model.makeValue("/root/send/prntinfo/ownbamt", model.getValue("/root/send/item1/ownbamt"));
- model.makeValue("/root/send/prntinfo/cmbownbamt", model.getValue("/root/send/item1/cmbownbamt"));
- model.makeValue("/root/send/prntinfo/choicdsrch1", model.getValue("/root/send/item1/choicdsrch1"));
- model.makeValue("/root/send/prntinfo/choicdsrch2", model.getValue("/root/send/item1/choicdsrch2"));
- model.makeValue("/root/send/prntinfo/chkanticncr", model.getValue("/root/send/item1/chkanticncr"));
- model.makeValue("/root/send/prntinfo/chkanticncr2", model.getValue("/root/send/item1/chkanticncr2"));
- model.makeValue("/root/send/prntinfo/chkanst", model.getValue("/root/send/item1/chkanst"));
- model.makeValue("/root/send/prntinfo/chkdivclam", model.getValue("/root/send/item1/chkdivclam"));
- model.makeValue("/root/send/prntinfo/chkangio1", model.getValue("/root/send/item1/chkangio1"));
- model.makeValue("/root/send/prntinfo/chkangio2", model.getValue("/root/send/item1/chkangio2"));
- model.makeValue("/root/send/prntinfo/chkspcljudg", model.getValue("/root/send/item1/chkspcljudg"));
- model.makeValue("/root/send/prntinfo/chkpetmri", model.getValue("/root/send/item1/chkpetmri"));
- model.makeValue("/root/send/prntinfo/chkcpyn", model.getValue("/root/send/item1/chkcpyn"));
- model.makeValue("/root/send/prntinfo/chkdrgyn", model.getValue("/root/send/item1/chkdrgyn"));
- model.makeValue("/root/send/prntinfo/chkreclam", model.getValue("/root/send/item1/chkreclam"));
- model.makeValue("/root/send/prntinfo/instcd", getUserInfo("posinstcd")); // (common.js) 사용자 세션정보
- // 선별심사 상태인지 여부를 전달하여 처방관련 필드 Visible 상태를 설정한다.
- // Rexpert의 경우 필드(컬럼) 단위로는 "조건스타일"이 적용되지 않아서
- // 처방관련 필드를 별도의 표(테이블)로 구성하고, 표 단위로 숨기기 속성을 적용하였음.
- model.makeValue("/root/send/prntinfo/srchmode", model.getValue("/root/hidden/clbs/srchmode"));
- exeReportPreview("RPPID20200", "XML", "/root/send/prntinfo", "", "false", "", "", "", "", "false");
- */
- ]]>
- </script>
- </button>
- <button id="btn_envsave" class="btn4_letter4" style="left:929px; top:3px; width:80px; height:22px; ">
- <caption>환경저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var captiondata = ""; // caption
- var refdata = ""; // ref
- var sizedata = ""; // size
- var grdobj = document.controls.item("grd_clbsmast");
-
- 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);
-
- var compscnts = model.getValue("/root/init/listval/uuee/compscnts"); // Grid의 칼럼명
- var compssizecnts = model.getValue("/root/init/listval/uuee/compssizecnts"); // Grid의 칼럼Size
-
- if (refdata == compscnts && sizedata == compssizecnts) {
- messageBox("변경된 데이터가", "I004"); ///변경된 데이터가 없습니다.
- return;
- }
-
- var scrnid = model.getValue("/root/init/listval/uuee/scrnid"); // 화면(xrw)의 ID
- if (scrnid == "") {
- model.setValue("/root/send/listval/uuee/flag", "I");
- } else {
- model.setValue("/root/send/listval/uuee/flag", "U");
- }
- model.setValue("/root/send/listval/uuee/scrnid", "SMPID20200"); // 화면(xrw)의 ID - SMPID20200_입원사후심사대상자조회
- model.setValue("/root/send/listval/uuee/compsnm", "grd_clbsmast"); // 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_smpis00400" class="btn3_letter9" style="left:57px; top:3px; width:140px; height:22px; ">
- <caption>상병별 청구환자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- pidfOpenSMPIS00400("I");
- ]]>
- </script>
- </button>
- <button id="btn_smpis00600" class="btn3_letter10" style="left:198px; top:3px; width:152px; height:22px; ">
- <caption>처방별 환자조회(삭감)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- pidfOpenSMPIS00600("I", "M");
- ]]>
- </script>
- </button>
- <button id="btn_smpis00500" class="btn3_letter10" visibility="visible" style="left:351px; top:3px; width:152px; height:22px; ">
- <caption>처방별 환자조회(계산)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- pidfOpenSMPIS00500("I", "M");
- ]]>
- </script>
- </button>
- <button id="btn_calc" class="btn4_letter4" visibility="visible" style="left:653px; top:3px; width:80px; height:22px; ">
- <caption>재계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXPID20202");
- ]]>
- </script>
- </button>
- <select1 id="cmb_srchcnt" ref="/root/send/item1/srchcnt" appearance="minimal" style="left:734px; top:4px; width:100px; 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[
- model.makeValue("/root/hidden/item1/srchcnt",cmb_srchcnt.value);
- ]]>
- </script>
- </select1>
- <img id="img1" src="../../../com/commonweb/images/loading.gif" style="left:837px; top:1px; width:90px; height:24px; background-stretch:stretch; "/>
- <button id="btn_nextpage" class="btn4_letter5" style="left:836px; top:3px; width:92px; height:22px; ">
- <caption>다음페이지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (fCheckSrchCond()) {
- // 조회버튼으로 조회 시 offset은 "0"으로 설정하고 submit() 을 수행한다.
- // model.setValue("/root/send/item1/offset", "0"); // offset 변경을 조건 변경으로 처리하지 않기 위해 우선 0으로 초기화한다.
- // model.alert("ok1");
- var initcond = instance1.selectNodesXml("/root/hidden/item1");
- var currentcond = instance1.selectNodesXml("/root/send/item1");
- if (initcond == currentcond) {
- // model.setValue("/root/send/item1/offset", grd_clbsmast.rows - grd_clbsmast.fixedRows); // grid의 header row는 제외
- // model.alert("ok2");
- } 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", "");
- // removeNodeset 으로 인해 node 순서가 바뀐 경우에도 값이 변경된 것으로 처리된다.
- //alert(initcond + "\n" + currentcond);
- grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
- model.removeNodeset("/root/main/list1/clbs");
- // // 페이지 단위 조회시 기존 조회조건이 변경되었는지 체크한다.
- // model.copyNode("/root/hidden/item1", "/root/send/item1");
- }
-
-
- asyncSend("TRPID20202", "/root/send/item1", "/root/hidden/list1/clbs", "responseHandlerTRPID20202");
- btn_nextpage.attribute("visibility") = "hidden";
-
- //submit("TRPID20202");
- // 검색 결과를 표시한다.
- //fSetSrchJudgTrgtMan();
- //model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|