12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMPMC00300_수진내역환자관리.xrw
- * 설 명 : 수진내역관리
- * 설 계 자 : 김상민
- * 작 성 자 : 김상민
- * 작 성 일 : 2009.05.25
- * 수정이력 :
- -->
- <?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">
- <script type="javascript">
- <![CDATA[
- // 초기화
- function fInitialize(gubn)
- {
- model.resetInstanceNode("/root/send/data1");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ptpm");
- model.resetInstanceNode("/root/send/data6");
- model.setValue("/root/main/retcount", "");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
- // 조회 구분 초기화
- // fSrchCondChng("0");
-
- if (gubn == "all") {
- model.removeNodeset("/root/main/ptpmlist");
- model.makeNode("/root/main/ptpmlist");
- }
-
- model.resetInstanceNode("/root/send/data3");
- //model.makeNode("/root/send/data3");
-
-
- model.setValue("/root/hidden/currentDate", getCurrentDate());
- //model.setValue("/root/send/data6/srchcond1","0");
-
- button6.visible = true;
- button7.visible = false;
-
- // 접수일 올해일자만 고정
- model.setValue("/root/send/data6/acptfromdd", getCurrentDate().substring(0,4)+"0101");
- model.setValue("/root/send/data6/acpttodd", getCurrentDate());
-
- model.setValue("/root/send/data6/ioflag_s", "A");
-
- model.refresh();
- }
-
- // 환자 인정 사항 조회
- function fBaseInfoRef()
- {
- model.removeNodeset("/root/send/data5/ofidocacptdd");
- model.removeNodeset("/root/send/data5/ofidocretno");
- model.removeNodeset("/root/send/data3/ofidocretno");
- model.removeNodeset("/root/main/ptpm/ofidocretno");
- model.makeNode("/root/send/data5/ofidocacptdd");
- model.makeNode("/root/send/data5/ofidocretno");
- model.makeNode("/root/send/data3/ofidocretno");
- model.makeNode("/root/main/ptpm/ofidocretno");
-
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- } else if ( model.getValue("/root/main/popupendflag") == "pass" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- } else {
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ptpm");
- model.refresh();
- return false;
- }
- // 환자 인적 사항, 민원 사항 조회
- if(submit("TRPMC03001")){
-
- model.resetInstanceNode("/root/main/ptpm");
- model.resetInstanceNode("/root/main/ptbs");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
-
- if( getNodesetCount("/root/hidden/rcv/ptbs/ptbs_pid") > 0 ) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
- //model.copyNodet
- var ptpmcnt = getNodesetCount("/root/hidden/rcv/ptpm/pid");
-
- // 민원 사항이 없을 경우
- if( ptpmcnt == 0 ){
-
- // 내원 기록 조회
- /*model.setValue("/root/send/data3/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/data3/flag","A");
- fGetChosRecRef();*/
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","A");
- // 수진 내원 내역 조회
- //fGetChosRecRef();
-
- // 민원 사항이 1건만 있을 경우
- }else if( ptpmcnt == 1 ){
-
- var rtn = messageBox("새로운 수진내역을 입력하실 경우 예(YES) 등록된 수진내역을 조회하실 경우 아니오(NO)를 선택해 주십시요!", "Q999");
- if (rtn == 7 ) {
-
- model.resetInstanceNode("/root/main/ptpm");
- copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
-
- // 내원 기록 조회
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptpm/pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- //model.alert(model.getValue("/root/send/data3/ofidocdocuno"));
- fGetChosRecRef();
- }else{
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- model.setValue("/root/hidden/rcv/ptpm/ofidocretno", '');
- //새로입력시 전체조회할때 값을 구분하기위해 구분값 처리
- model.setValue("/root/temp/flag", "f");
-
- // 기관 심평원 기본 선택
- model.setValue("/root/main/ptpm/inst", "1");
- }
-
- // 민원 사항이 1건이상일 경우
- }else if( ptpmcnt > 1 ){
- // 수진 내역에 등록된 환자 조회
- fGetPtpmInfoRef();
- }
- }
-
- //인사정보의 직원, 직원가족정보 조회
- var rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
- var rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
-
- if( rrgstno1.length == 6 && rrgstno2.length == 7 ){
- var retValue = fGetPsnWorkInfo(rrgstno1 + rrgstno2);
- /*
- //선택한 직원정보 세팅
- if( retValue != '' && retValue != ' ' ){
- var arr_retValue = retValue.split("▦");
- model.setValue("/root/main/otpt/otpt_emplno", arr_retValue[0]);
- model.setValue("/root/main/otpt/otpt_emplnm", arr_retValue[1]);
- // model.refresh();
- }
- */
- }
-
- //민원환자관리 등록여부 체크
- submit("TRPMC03006");
-
- fCheckCampYn();
-
-
- model.refresh();
- }
-
- // 수진 내역에 등록된 환자 팝업 조회
- function fGetPtpmInfoRef()
- {
- var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
- if (!ptbs_pid == null || !ptbs_pid ==" " || !ptbs_pid == "") {
-
- //model.setValue("/root/send/data6/srchcond1","1");
- //model.setValue("/root/send/data6/srchcond2",ptbs_pid);
- model.setValue("/root/send/data6/pid",ptbs_pid);
- modal("../../../pam/patinfomngtweb/xrw/SMPMC00310", "1","150", "150", "SPPMC02500", "/root/send/data6", "/root/send/data1");
- }
-
- //model.setValue("/root/send/data6/srchcond1","");
- model.setValue("/root/send/data6/pid","");
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
-
- model.setValue("/root/send/data3/flag","P");
-
- // 환자 인정 사항, 민원 사항, 내원 기록 조회
- fGetPtpmPatInfo();
- //fGetChosRecRef();
-
- } else {
- //model.alert("aa");
- // 기관 심평원 기본 선택
- model.setValue("/root/main/ptpm/inst", "1");
- return false;
- }
- }
-
- // 환자 인정 사항, 민원 사항, 내원 기록 조회
- function fGetPtpmPatInfo()
- {
- if(submit("TRPMC03004")){
-
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ptpm");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- // 인적 사항 조회
- var ptbscnt = getNodesetCount("/root/hidden/rcv/ptbs");
- if (ptbscnt > 0) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
-
- // 민원 사항 조회
- if( getNodesetCount("/root/hidden/rcv/ptpm/pid") > 0 ){
- copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
- }
-
-
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // 내원 기록 조회
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
-
- //청구기록 조회
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
-
- var chosreclistcnt = getNodesetCount("/root/hidden/rcv/list1/chosreclist");
- chosreclistcnt = parseInt(chosreclistcnt)+1;
- model.setValue("/root/temp/chosreclistcnt", chosreclistcnt);
-
- var clamlistcnt = getNodesetCount("/root/hidden/rcv/list2/clamlist");
- clamlistcnt = parseInt(clamlistcnt)+1;
- model.setValue("/root/temp/clamlistcnt", clamlistcnt);
- }
-
- /*
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") <= 0 ){
- //수진 내역이 2이상이면서 수진내원내력이 없을경우 전체조회를 한다
- model.setValue("/root/send/data3/flag","A");
-
- if(submit("TRPMC03002")){
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- }
- }
- */
- model.toggle("case2");
-
- model.refresh();
- }
-
- /* */
- // 내원 기록 조회
- function fGetChosRecRef()
- {
- if(submit("TRPMC03002")){
-
- var chosreclistcnt = getNodesetCount("/root/hidden/rcv/list1/chosreclist");
- chosreclistcnt = parseInt(chosreclistcnt)+1;
- model.setValue("/root/temp/chosreclistcnt", chosreclistcnt);
-
- var clamlistcnt = getNodesetCount("/root/hidden/rcv/list2/clamlist");
- clamlistcnt = parseInt(clamlistcnt)+1;
- model.setValue("/root/temp/clamlistcnt", clamlistcnt);
-
- /*
- model.alert(model.getValue("/root/temp/chosreclistcnt"));
- model.alert(model.getValue("/root/temp/clamlistcnt"));
- */
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
-
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
-
- grd_chosrec.refresh();
- }
- }
-
- // 저장 후 환자 인적 사항 조회
- function AfSafeBaseInfoRef()
- {
- model.removeNodeset("/root/send/data5/pid");
- model.removeNodeset("/root/send/data5/ofidocacptdd");
- model.removeNodeset("/root/send/data5/ofidocretno");
- model.makeNode("/root/send/data5/pid");
- model.makeNode("/root/send/data5/ofidocacptdd");
- model.makeNode("/root/send/data5/ofidocretno");
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data5/ofidocacptdd",model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data5/ofidocretno",model.getValue("/root/main/ptpm/ofidocretno"));
- } else if ( model.getValue("/root/main/popupendflag") == "pass" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data5/ofidocacptdd",model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data5/ofidocretno",model.getValue("/root/main/ptpm/ofidocretno"));
- } else {
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ptpm");
- model.refresh();
- return false;
- }
- if(submit("TRPMC03001")){
-
- model.resetInstanceNode("/root/main/ptpm");
- model.resetInstanceNode("/root/main/ptbs");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
-
- if( getNodesetCount("/root/hidden/rcv/ptbs/ptbs_pid") > 0 ) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
- //model.copyNodet
-
- var ptpmcnt = getNodesetCount("/root/hidden/rcv/ptpm/pid");
-
-
-
- copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
-
- // 내원 기록 조회
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptpm/pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- //model.alert(model.getValue("/root/send/data3/ofidocdocuno"));
- fGetChosRecRef();
-
- model.refresh();
- }
- }
-
- function fGetColorChangeChoslist(){
- grd_chosrec.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- setRowStyle("grd_chosrec", "14","Y","histyn","equal"); //row의 색상을 변경한다.
- grd_chosrec.rebuild();
-
- datagrid1.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- setRowStyle("datagrid1", "14","Y","histyn","equal"); //row의 색상을 변경한다.
- datagrid1.rebuild();
- }
-
-
- function fCheckCampYn(){
- model.setValue("/root/send/data5/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- submit("TRPMC03006");
-
- if(model.getValue("/root/temp/pmchcapm/capmlist") != ""){
- var rtn = messageBox("재원중 민원환자입니다. 계속 진행하실 경우 예(YES) 초기화 하실 경우 아니오(NO)를 선택해 주십시요!", "Q999");
-
- if (rtn == 7 ) {
- fInitialize("all");
- }
-
- }
- }
- ]]>
- </script>
- <xhtml:head>
- <xhtml:title>수진내역관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1/>
- <data2>
- <sess_posinstcd>012</sess_posinstcd>
- <retiredrdisp>Y</retiredrdisp>
- </data2>
- <data3>
- <pid/>
- <ofidocacptdd/>
- <ofidocdocuno/>
- <flag/>
- <ofidocretno/>
- </data3>
- <data4>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <autoflag/>
- </data4>
- <data5>
- <pid/>
- </data5>
- <data6>
- <srchcond1>0</srchcond1>
- <pid/>
- <hngnm/>
- <ioflag_s>A</ioflag_s>
- <orddeptcd/>
- <orddrid/>
- <acptfromdd/>
- <acpttodd/>
- <endfromdd/>
- <endtodd/>
- <tretflag/>
- <procexpt/>
- <pidsum/>
- <onlyrtnamt/>
- <tretfromdd/>
- <trettodd/>
- </data6>
- <update>
- <datalist>
- </datalist>
- </update>
- <inhopeddfrom/>
- <inhopeddto/>
- <sendflag/>
- <sess_posinstcd/>
- <data7>
- <pid/>
- <ofidocacptdd/>
- <ofidocretno/>
- <etcrem/>
- </data7>
- <data8>
- <srchFlag/>
- <srchFlagNm/>
- <judgrID01/>
- <memoFlag01/>
- <memoCls01/>
- </data8>
- <data9/>
- </send>
- <main>
- <patinfo>
- <patinfolist>
- <pid/>
- </patinfolist>
- </patinfo>
- <ptbs>
- <ptbs_status/>
- <ptbs_pid/>
- <ptbs_hngnm/>
- <ptbs_engnm/>
- <ptbs_rrgstno1/>
- <ptbs_rrgstno2/>
- <ptbs_brthdd/>
- <ptbs_sex/>
- <ptbs_age/>
- <ptbs_hometel/>
- <ptbs_mpphontel/>
- <ptbs_zipcd1/>
- <ptbs_zipcd2/>
- <ptbs_zipcdseq/>
- <ptbs_zipnm/>
- <ptbs_detladdr/>
- <ptbs_forgeryn/>
- <ptbs_recmyn/>
- <ptbs_recmerid/>
- <ptbs_vipyn/>
- <ptbs_religncd/>
- <ptbs_remfact/>
- <ptbs_inhospyn/>
- <totaluncoamt/>
- <ptbs_dethyn/>
- <ptbs_dethdt/>
- <ptbs_insukind/>
- <ptbs_orddrnm/>
- <ptbs_orddeptnm/>
- </ptbs>
- <ptpm>
- <stat/>
- <pid/>
- <ofidocacptdd/>
- <ofidocdocuno/>
- <instcd/>
- <inst>1</inst>
- <chrgernm/>
- <tel/>
- <tretflag/>
- <datadelive/>
- <datadelivedd/>
- <civilapler/>
- <civilaplertel/>
- <civilapleraddr/>
- <civilaplflag/>
- <civilaplcnts/>
- <nonpayallamt/>
- <choiordamt/>
- <insuteamrtnfcstamt/>
- <choiordrtnfcstamt/>
- <paycalcfcstamt/>
- <cncldocudelivedd/>
- <aprvcnclrtnfcstamt/>
- <fcstdecidd/>
- <fcstdeciamt/>
- <roothospexpsflag/>
- <ordfcstamt/>
- <ordfcstdd/>
- <lastenddd/>
- <obtappdd/>
- <obtapprslt/>
- <obtapprsltdd/>
- <obtapprcogamt/>
- <etcrem/>
- <jvirem/>
- <totalamt/>
- <edimedcaretotamt/>
- <ediownbamt/>
- <ediinsuclamamt/>
- <ediownbmaxexamt/>
- <edisuppamt/>
- <edisubtamt/>
- <edihandcaprfund/>
- <dedutretdd/>
- <dedudocuno/>
- <rtnschenotidd/>
- <rtnschenotidocuno/>
- <rtnschenotiamt/>
- <ioflag/>
- <ordfromdd/>
- <ordtodd/>
- <judgrid/>
- <addclamamt/>
- <addclamrem/>
- <obtappdocuno/>
- <obtappamt/>
- <obtappdecidd/>
- <obtappdecidocuno/>
- <obtappaftrtndeciamt/>
- <obtapprsltrem/>
- <judgclamdd/>
- <judgclamdocuno/>
- <judgclamamt/>
- <judgclamdecidd/>
- <judgclamdecidocuno/>
- <judgclamaftrtndeciamt/>
- <discamt/>
- <uncoamt/>
- <rtnendyn/>
- <fcsteordmat/>
- <fcsteinamt/>
- <fcstechrgfood/>
- <fcstemedimpsamt/>
- <fcsteinjamt/>
- <fcsteanstamt/>
- <fcstecureopamt/>
- <fcstetestamt/>
- <fcsteimgdiagrayamt/>
- <fcstescitamt/>
- <fcstepsypamt/>
- <fcstectordamt/>
- <fcstemriordamt/>
- <fcstepetordamt/>
- <fcstechoiordamt/>
- <fcstenopyamt/>
- <fcsteetcamt/>
- <fcstecurematramt/>
- <deciordmat/>
- <deciinamt/>
- <decichrgfood/>
- <decimedimpsamt/>
- <deciinjamt/>
- <decianstamt/>
- <decicureopamt/>
- <decitestamt/>
- <deciimgdiagrayamt/>
- <deciscitamt/>
- <decipsypamt/>
- <decictordamt/>
- <decimriordamt/>
- <decipetordamt/>
- <decichoiordamt/>
- <decinopyamt/>
- <decietcamt/>
- <decicurematramt/>
- <ofidocretno/>
- <ofidocacptddkey/>
- <patowntotamt/>
- <docucnt/>
- <obtapprcamt/>
- <addreqdd/>
- <addreqdepodd/>
- <addreqdepoamt/>
- <ordindd/>
- <dschdd/>
- <orddrid/>
- <orddeptcd/>
- <statflag/>
- <datacollanldrnotidd/>
- <jvinotidd/>
- <paycalcamt/>
- <purertnamt/>
- <drrsltnotidd/>
- <judgreqnorcamt/>
- <jviendnotidd/>
- <orddeptnm/>
- <orddrnm/>
- <memo/>
- <memojudgrid/>
- <judgmmdt/>
- <docchkdt/>
- <doccnfchk/>
- <refltdd/>
- <recalcyn/>
- <insttype/>
- <tretdd/>
- </ptpm>
- <ptpmlist>
- <grdpatspectlist>
- <ofidocacptdd/>
- <pid/>
- <hngnm/>
- <tretstat/>
- <insuteamrtnfcstamt/>
- <apntordrtnfcstamt/>
- <instrtnamt/>
- <paycalcfcstamt/>
- <lastenddd/>
- <datadelivedd/>
- <hospenddd/>
- <ofidocdocuno/>
- </grdpatspectlist>
- </ptpmlist>
- <list1>
- <chosreclist>
- </chosreclist>
- </list1>
- <ioflag/>
- <amtflag/>
- <list2>
- <clamlist/>
- </list2>
- <retcount/>
- <ptpmlistsum>
- <grdpatspectlist>
- <ofidocacptdd/>
- <pid/>
- <hngnm/>
- <tretstat/>
- <insuteamrtnfcstamt/>
- <apntordrtnfcstamt/>
- <instrtnamt/>
- <paycalcfcstamt/>
- <lastenddd/>
- <datadelivedd/>
- <hospenddd/>
- <ofidocdocuno/>
- </grdpatspectlist>
- </ptpmlistsum>
- <list3>
- <GridMemo01/>
- </list3>
- <list4>
- <memolist/>
- </list4>
- </main>
- <hidden>
- <rcv>
- <ptbs>
- <ptbs_status/>
- <ptbs_pid/>
- <ptbs_hngnm/>
- <ptbs_engnm/>
- <ptbs_rrgstno1/>
- <ptbs_rrgstno2/>
- <ptbs_brthdd/>
- <ptbs_sex/>
- <ptbs_age/>
- <ptbs_hometel/>
- <ptbs_mpphontel/>
- <ptbs_zipcd1/>
- <ptbs_zipcd2/>
- <ptbs_zipcdseq/>
- <ptbs_zipnm/>
- <ptbs_detladdr/>
- <ptbs_forgeryn/>
- <ptbs_recmyn/>
- <ptbs_recmerid/>
- <ptbs_vipyn/>
- <ptbs_religncd/>
- <ptbs_remfact/>
- <ptbs_inhospyn/>
- </ptbs>
- <ptpm>
- <stat/>
- <pid/>
- <ofidocacptdd/>
- <ofidocdocuno/>
- <instcd/>
- <pattel/>
- <civilaplertel/>
- <inst/>
- <chrgernm/>
- <tel/>
- <trsmno/>
- <datareqdd/>
- <datadelivedd/>
- <hospenddd/>
- <cncldocudelivedd/>
- <lastenddd/>
- <ordflag/>
- <tretstat/>
- <insuteamrtnfcstamt/>
- <apntordrtnfcstamt/>
- <paycalcfcstamt/>
- <aprvcnclrtnfcstamt/>
- <instrtnamt/>
- <jvirem/>
- <ofidocretno/>
- <ofidocacptddkey/>
- <orddrid/>
- <orddeptcd/>
- <statflag/>
- <datacollanldrnotidd/>
- <jvinotidd/>
- <paycalcamt/>
- <purertnamt/>
- <drrsltnotidd/>
- <judgreqnorcamt/>
- <jviendnotidd/>
- </ptpm>
- <ptpmuncoyn>
- <uncoyn/>
- </ptpmuncoyn>
- <list1>
- <chosreclist>
- <ioflag/>
- <ordindd/>
- <orddeptnm/>
- <orddrnm/>
- <orddeptcd/>
- <orddrid/>
- <insukind/>
- <suppkind/>
- <uncototamt/>
- <totordamt/>
- <payamt/>
- <nopayamt/>
- <specordamt/>
- <discamt/>
- <judgrid/>
- </chosreclist>
- </list1>
- <list2>
- <clamlist>
- <ioflag/>
- <clamflagcd/>
- <insukind/>
- <suppkind/>
- <clamdeptcd/>
- <orddeptcd/>
- <orddrid/>
- <acptno/>
- <docuseqno/>
- <ordfromdd/>
- <ordtodd/>
- <judgyn/>
- <edimedcaretotamt/>
- <ediownbamt/>
- <ediinsuclamamt/>
- <ediownbmaxexamt/>
- <edisuppamt/>
- <edisubtamt/>
- <edihandcaprfund/>
- <judgrid/>
- </clamlist>
- </list2>
- </rcv>
- <original>
- </original>
- <flag>
- <rcv_flag>
- </rcv_flag>
- </flag>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- </roomcd>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- </init>
- <source>
- <pid/>
- </source>
- <target/>
- <userpopupinfo>
- <param/>
- <flag/>
- <searchitem/>
- </userpopupinfo>
- <oneselect/>
- <currentDate/>
- <temp/>
- </hidden>
- <init>
- <A0001list>
- <A0001>
- <cdid/>
- <cdnm/>
- </A0001>
- </A0001list>
- <P0001list>
- <P0001>
- <cdid/>
- <cdnm/>
- </P0001>
- </P0001list>
- <P0437list>
- <P0437>
- <cdid/>
- <cdnm/>
- </P0437>
- </P0437list>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- <P0484list>
- <P0484>
- <cdid/>
- <cdnm/>
- </P0484>
- </P0484list>
- <P0485list>
- <P0485>
- <cdid/>
- <cdnm/>
- </P0485>
- </P0485list>
- <P0008list>
- <P0008>
- <cdid/>
- <cdnm/>
- </P0008>
- </P0008list>
- <P0010list>
- <P0010>
- <cdid/>
- <cdnm/>
- </P0010>
- </P0010list>
- <P0495list>
- <P0495>
- <cdid/>
- <cdnm/>
- </P0495>
- </P0495list>
- <P0496list>
- <P0496>
- <cdid/>
- <cdnm/>
- </P0496>
- </P0496list>
- </init>
- <init_com>
- <init>
- <P0006list/>
- <P0015list>
- <P0015>
- <cdid/>
- <cdnm/>
- </P0015>
- </P0015list>
- <P0016list>
- <P0016>
- <cdid/>
- <cdnm/>
- </P0016>
- </P0016list>
- <P0020list>
- <P0020>
- <cdid/>
- <cdnm/>
- </P0020>
- </P0020list>
- <P0021list>
- <P0021>
- <cdid/>
- <cdnm/>
- </P0021>
- </P0021list>
- <P0022list>
- <P0022>
- <cdid/>
- <cdnm/>
- </P0022>
- </P0022list>
- <P0032list>
- <P0032>
- <cdid/>
- <cdnm/>
- </P0032>
- </P0032list>
- <P0034list>
- <P0034>
- <cdid/>
- <cdnm/>
- </P0034>
- </P0034list>
- <P0158list>
- <P0158>
- <cdid/>
- <cdnm/>
- </P0158>
- </P0158list>
- </init>
- </init_com>
- <temp>
- <addclamrem/>
- <obtapprsltrem/>
- <chosreclistcnt/>
- <clamlistcnt/>
- <flag/>
- <pmchcapm>
- <capmlist/>
- </pmchcapm>
- </temp>
- <temp2>
- <yearptpmtot/>
- </temp2>
- <temp3/>
- <temp4>
- <U0001list/>
- </temp4>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
- <submission id="TRPMC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data6" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03008" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data6" replace="instance" resultref="/root/temp2"/>
- <submission id="TRPMC03010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" replace="instance" resultref="/root/temp3/"/>
- <submission id="TXPMC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TXPMC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TXPMC03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/update" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TXPMC03006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data7" replace="instance" resultref="/root/hidden/temp"/>
- <submission id="TXPMC03008" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data7" replace="instance" resultref="/root/hidden/temp"/>
- <submission id="TRPIB00603" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/temp4/U0001list"/>
- <submission id="TRPIB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list3"/>
- <submission id="TRPMC03005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/hidden/rcv/ptpmuncoyn"/>
- <submission id="TXPMC03005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/update" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/discpat" replace="instance" resultref="/root/temp/result"/>
- <submission id="TRPMC03006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" resultref="/root/temp/pmchcapm"/>
- <submission id="TXPMC03007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data7" resultref="/root/hidden/temp"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPAM00107" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- document.title = "수진환자관리";
- submit("TRPIB00603");
-
- fInitialize("all"); //기본데이터 초기화
- zbcfGetCodeList(
- new Array("A0001", "P0001", "P0437", "P0155", "P0484", "P0485", "P0008", "P0010", "P0495","P0496"),
- new Array("/root/init/A0001list", "/root/init/P0001list", "/root/init/P0437list", "/root/init/P0155list", "/root/init/P0484list", "/root/init/P0485list", "/root/init/P0008list", "/root/init/P0010list", "/root/init/P0495list","/root/init/P0496list")
- );
-
- //submit("TRPMI00106");
-
- model.setValue("/root/main/ioflag", "A");
- model.setValue("/root/main/amtflag", "A");
- model.toggle("case1");
- button6.visible = true;
- button7.visible = false;
-
- pamGetDeptCDDrIDListAll();
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- /*
- function fSrchCondChng(srchcond1){
- if (srchcond1 == '1' || srchcond1 == '2') {
- ipt_cond1.attribute("top") = "8xp";
- ipt_cond1.attribute("left") = "225px";
- ipt_cond1.visible = true;
- ipt_cond2.visible = false;
- ipt_cond3.visible = false;
- caption4.visible = false;
- cmb_cond2.visible = false;
- cmb_search_orddrid.visible = false;
- cmb_search_orddeptcd.visible = false;
- model.setFocus("ipt_cond1");
- } else if (srchcond1 == '3') {
- cmb_cond2.attribute("top") = "8xp";
- cmb_cond2.attribute("left") = "225xp";
- ipt_cond1.visible = false;
- ipt_cond2.visible = false;
- ipt_cond3.visible = false;
- caption4.visible = false;
- cmb_cond2.visible = true;
- cmb_search_orddrid.visible = false;
- cmb_search_orddeptcd.visible = false;
- //cmb_cond2.choices.itemset.attribute("nodeset") = "/root/hidden/init/wardcd";
- } else if (srchcond1 == '4' || srchcond1 == '5') {
- ipt_cond2.attribute("top") = "8xp";
- ipt_cond2.attribute("left") = "225xp";
- ipt_cond1.visible = false;
- ipt_cond2.visible = true;
- ipt_cond3.visible = true;
- caption4.visible = true;
- cmb_cond2.visible = false;
- cmb_search_orddrid.visible = false;
- cmb_search_orddeptcd.visible = false;
-
- //날자 입력 항목에 오늘 날자 세팅
- model.setValue("/root/send/data6/srchcond2",model.getValue("/root/hidden/currentDate"));
- model.setValue("/root/send/data6/srchcond3",model.getValue("/root/hidden/currentDate"));
-
- } else if (srchcond1 == '0') {
- ipt_cond1.visible = false;
- ipt_cond2.visible = false;
- ipt_cond3.visible = false;
- caption4.visible = false;
- cmb_cond2.visible = false;
- cmb_search_orddrid.visible = false;
- cmb_search_orddeptcd.visible = false;
- } else if (srchcond1 == '6') {
- ipt_cond1.visible = false;
- ipt_cond2.visible = false;
- ipt_cond3.visible = false;
- caption4.visible = false;
- cmb_cond2.visible = false;
-
- cmb_search_orddrid.visible = true;
- cmb_search_orddeptcd.visible = true;
- }
-
- ipt_cond1.refresh();
- ipt_cond2.refresh();
- ipt_cond3.refresh();
- cmb_cond1.refresh();
- cmb_cond2.refresh();
- cmb_search_orddrid.refresh();
- cmb_search_orddeptcd.refresh();
- }
- */
-
- function fOtptChk(){
- return true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body inputtype="date" guideline="1,1196;2,771;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">수진내역관리</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
- <switch id="switch1" style="left:0px; top:31px; width:1194px; height:713px; border-color:#cc99ff; border-style:solid; ">
- <case id="case1" selected="true">
- <datagrid id="grd_patspec" nodeset="/root/main/ptpmlist/grdpatspectlist" caption="공문접수일^발송기관^공문접수번호^순번^구분^병록번호^환자명^진료과^진료의^민원신청자^처리상태^진료기간^자료수집및분석주치교수통보일자^비급여전체금액^선택진료금액^심사자환불예상액^심평원결정정당금액^취하금액^환불취하금액^진행중금액^진행상태^심평원자료제출일자^심평원총괄진료비정산내역^심평원총괄진료비정산내역^심평원총괄진료비정산내역^심평원총괄진료비정산내역^진행사항^진행사항^진행사항^진행사항^이의신청^이의신청^이의신청^이의신청^이의신청^이의신청^심판청구^심판청구^심판청구^심판청구^심판청구^처리사항^처리사항^처리사항^처리사항^공단 공제처리 결과통보^공단 공제처리 결과통보^공단 공제처리 결과통보^공단 공제처리 결과통보^공단 공제처리 결과통보^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역^환불금 상세내역|공문접수일^발송기관^공문접수번호^순번^구분^병록번호^환자명^진료과^진료의^민원신청자^처리상태^진료기간^자료수집및분석주치교수통보일자^비급여전체금액^선택진료금액^심사자환불예상액^심평원결정정당금액^취하금액^환불취하금액^진행중금액^진행상태^심평원자료제출일자^심평원통보일^환불결정액^급여정산액^순수환불액^주치교수결과통보일^추가청구일자^추가청구액^추가청구비고^이의신청일^이의신청액^이의신청인정액^신청후환불결정액^이의신청결과비고^종결통보일자^심판청구일자^심판청구액^심판청구결과통보일자^심판청구불인정액^심판청구인정액^처리일자^취하서제출일^취하종결통보일자^처리방법^공문접수일^공제문서번호^지급일자^공제차수^환불금^진찰료^입원료^식대^투약및처방전료^주사료^마취료^처지및수술료^검사료^영상및방사선치료료^이학요법료^정신요법료^CT진단료^MRI진단료^PET진단료^선택진료료^비급여^기타^치료재료대" colsep="^" colwidth="90, 90, 90, 45, 50, 80, 70, 100, 70, 70, 60, 150, 109, 100, 100, 100, 113, 100, 120, 120, 70, 120, 100, 100, 100, 100, 110, 100, 100, 100, 100, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 110, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 114, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:10px; top:103px; width:1174px; height:580px; ">
- <col ref="ofidocacptdd" format="yyyy-mm-dd" style="left:20px; top:23px; width:90px; height:23px; text-align:center; "/>
- <col ref="inst" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>심평원</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="ofidocdocuno" style="text-align:center; "/>
- <col ref="ofidocretno" visibility="visible" style="text-align:center; "/>
- <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0485list/P0485">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="civilapler" style="text-align:center; "/>
- <col ref="tretflag" style="text-align:center; "/>
- <col ref="orddd"/>
- <col ref="datacollanldrnotidd" format="yyyy-mm-dd"/>
- <col ref="nonpayallamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="choiordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="insuteamrtnfcstamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="choiordrtnfcstamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="aprvcnclrtnfcstamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ordfcstamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="edimedcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="statflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>자료수집</label>
- <value>0</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>
- </choices>
- </col>
- <col ref="datadelivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="jvinotidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rtnschenotiamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="paycalcamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="purertnamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="drrsltnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="addreqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="addclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="addclamrem"/>
- <col ref="obtappdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="obtappamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="obtappaftrtndeciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="obtapprsltrem" format="(-)#,###" style="text-align:right; "/>
- <col ref="obtapprsltrem"/>
- <col ref="jviendnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="judgclamdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="judgclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgclamdecidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="judgreqnorcamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgclamaftrtndeciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="tretdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cncldocudelivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fcstdecidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="roothospexpsflag" type="combo">
- <choices>
- <item>
- <label>면담</label>
- <value>A</value>
- </item>
- <item>
- <label>전화상담</label>
- <value>B</value>
- </item>
- <item>
- <label>자료제출</label>
- <value>C</value>
- </item>
- <item>
- <label>취하서</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="dedutretdd" format="yyyy-mm-dd" style="left:4624px; top:43px; width:100px; height:23px; text-align:center; "/>
- <col ref="dedudocuno" style="text-align:center; "/>
- <col ref="ordfcstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="lastenddd" style="text-align:center; "/>
- <col ref="fcstdeciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciordmat" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciinamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decichrgfood" format="(-)#,###" style="text-align:right; "/>
- <col ref="decimedimpsamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciinjamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decianstamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decicureopamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decitestamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciimgdiagrayamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciscitamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decipsypamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decictordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decimriordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decipetordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decichoiordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decinopyamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decietcamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decicurematramt" format="(-)#,###" style="text-align:right; "/>
- <col ref="paycalcfcstamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgrid" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="orddrid" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_patspec.isCell(event.target) && grd_patspec.row >= grd_patspec.fixedRows) {
-
- //fInitialize("");
-
- // ondblclick 후 이벤트 처리
- var row = grd_patspec.row ;
-
- btn_patspec.selected = true;
- btn_patprescond.selected = false;
-
- model.setValue("/root/send/data3/ofidocacptdd", grd_patspec.valueMatrix(row,grd_patspec.colRef("ofidocacptdd")));
- model.setValue("/root/send/data3/pid", grd_patspec.valueMatrix(row,grd_patspec.colRef("pid")));
- model.setValue("/root/send/data3/ofidocretno", grd_patspec.valueMatrix(row,grd_patspec.colRef("ofidocretno")));
- model.setValue("/root/send/data3/flag","P");
- /*
- model.alert(model.getValue("/root/send/data3/ofidocacptdd"));
- model.alert(model.getValue("/root/send/data3/pid"));
- model.alert(model.getValue("/root/send/data3/cretno"));
- model.alert(model.getValue("/root/send/data3/flag"));
- return;
-
- if(submit("TRPMC03005")){
- var uncoyn = model.getValue("/root/hidden/rcv/ptpmuncoyn/uncoyn");
- }
- if(uncoyn =="Y"){
- messageBox("미수금 내역이 존재하는 " ,"I005");
- }
- */
- if(submit("TRPMC03004")){
-
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ptpm");
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
- model.refresh();
-
- // 인적 사항 조회
- var ptbscnt = getNodesetCount("/root/hidden/rcv/ptbs");
-
- if (ptbscnt > 0) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
-
- // 민원 사항 조회
- if( getNodesetCount("/root/hidden/rcv/ptpm/pid") > 0 ){
- copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
- }
-
- // 내원 기록 조회
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
-
- // 청구 기록 조회
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
-
- var chosreclistcnt = getNodesetCount("/root/hidden/rcv/list1/chosreclist");
- chosreclistcnt = parseInt(chosreclistcnt)+1;
- model.setValue("/root/temp/chosreclistcnt", chosreclistcnt);
-
- var clamlistcnt = getNodesetCount("/root/hidden/rcv/list2/clamlist");
- clamlistcnt = parseInt(clamlistcnt)+1;
- model.setValue("/root/temp/clamlistcnt", clamlistcnt);
- /*
- model.alert(model.getValue("/root/temp/chosreclistcnt"));
- model.alert(model.getValue("/root/temp/clamlistcnt"));
- */
- }
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
-
- var totordamtsum = '0';
- var totownbamtsum = '0';
- var nopyamttsum = '0';
- var specordamtsum = '0';
- var uncoamtsum = '0';
- var discamtsum = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totordamt");
- var temp2 = model.getValue("/root/main/list1/chosreclist["+ i + "]/nopyamt");
- var temp3 = model.getValue("/root/main/list1/chosreclist["+ i + "]/specordamt");
- var temp4 = model.getValue("/root/main/list1/chosreclist["+ i + "]/uncototamt");
- var temp5 = model.getValue("/root/main/list1/chosreclist["+ i + "]/discamt");
- var temp6 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totownbamt");
-
- totordamtsum = parseInt(totordamtsum) + parseInt(temp1);
- nopyamttsum = parseInt(nopyamttsum) + parseInt(temp2);
- specordamtsum = parseInt(specordamtsum) + parseInt(temp3);
- uncoamtsum = parseInt(uncoamtsum) + parseInt(temp4);
- discamtsum = parseInt(discamtsum) + parseInt(temp5);
- totownbamtsum = parseInt(totownbamtsum) + parseInt(temp6);
- }
- }
-
- model.setValue("/root/main/ptpm/totalamt", totordamtsum);
- model.setValue("/root/main/ptpm/patowntotamt", totownbamtsum);
- model.setValue("/root/main/ptpm/nonpayallamt", nopyamttsum);
- model.setValue("/root/main/ptpm/choiordamt", specordamtsum);
- model.setValue("/root/main/ptpm/uncoamt", uncoamtsum);
- model.setValue("/root/main/ptpm/discamt", discamtsum);
-
- //submit("TRPMC03004");
- model.toggle("case2");
-
- //인사정보의 직원, 직원가족정보 조회
- var rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
- var rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
- if( rrgstno1.length == 6 && rrgstno2.length == 7 ){
- var retValue = fGetPsnWorkInfo(rrgstno1 + rrgstno2);
- /*
- //선택한 직원정보 세팅
- if( retValue != '' && retValue != ' ' ){
- var arr_retValue = retValue.split("▦");
- model.setValue("/root/main/otpt/otpt_emplno", arr_retValue[0]);
- model.setValue("/root/main/otpt/otpt_emplnm", arr_retValue[1]);
- // model.refresh();
- }
- */
- }
-
- //민원환자관리등록여부 체크
- fCheckCampYn();
-
- model.refresh();
- //fGetPtpmPatInfo();
- }
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption45" class="tit_2" style="left:15px; top:83px; width:110px; height:13px; font-family:돋움; vertical-align:middle; ">수진내역현황</caption>
- <line id="line9" class="line_1" style="x1:10px; y1:98px; x2:1184px; y2:98px; "/>
- <button id="button4" class="btn2_letter3" style="left:784px; top:77px; width:53px; height:19px; ">
- <caption>츌력1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //exeReportPreview("RPPMC03000", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- exeReportPreview("RPPMC03000", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <group id="group2" style="left:10px; top:4px; width:1174px; height:71px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1174px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_acptfromdd" ref="/root/send/data6/acptfromdd" class="input_default" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:785px; top:3px; width:85px; height:19px; "/>
- <input id="ipt_acpttodd" ref="/root/send/data6/pid" class="input_default" visibility="visible" style="left:105px; top:7px; width:89px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" visibility="visible" style="left:15px; top:9px; width:90px; height:17px; ">환자번호 :</caption>
- <line id="line2" class="line_4" visibility="visible" style="x1:1093px; y1:7px; x2:1093px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1103px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removeNodeset("/root/main/ptpmlist");
- model.makeNode("/root/main/ptpmlist");
-
- if(submit("TRPMC03003")){
- if( getNodesetCount("/root/hidden/rcv/ptpmlist/grdpatspectlist") > 0 ){
- copyNodeType("/root/main/ptpmlist","/root/hidden/rcv/ptpmlist","replace");
-
- }else{
- model.resetInstanceNode("/root/main/ptpmlist");
- }
-
- grd_patspec.refresh();
- // 정당이면서 정당금액 없는 경우, 환불이면서 환불금액 없는경우, 환불취하이면서 환불취하금액 없는 경우, 취하이면서 취하금액없는경우. 색표시
- for(var i = 2 ; i < grd_patspec.rows ; i++) {
- if ((grd_patspec.valueMatrix(i, grd_patspec.colRef("tretflag")) == "정당" && grd_patspec.valueMatrix(i, grd_patspec.colRef("rtnschenotiamt")) != "0")
- || (grd_patspec.valueMatrix(i, grd_patspec.colRef("tretflag")) == "환불" && grd_patspec.valueMatrix(i, grd_patspec.colRef("rtnschenotiamt")) == "0")
- || (grd_patspec.valueMatrix(i, grd_patspec.colRef("tretflag")) == "환불/취하" && grd_patspec.valueMatrix(i, grd_patspec.colRef("ordfcstamt")) == "0")
- || (grd_patspec.valueMatrix(i, grd_patspec.colRef("tretflag")) == "취하" && grd_patspec.valueMatrix(i, grd_patspec.colRef("aprvcnclrtnfcstamt")) == "0")
- ) {
- grd_patspec.rowStyle(i, "data", "background-color") = "#FFF000";
- }
- }
-
- }
-
- model.setValue("/root/main/retcount", grd_patspec.rows - 2);
- opt_retcount.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_cond2" ref="/root/send/data6/tretflag" class="combo_default" visibility="visible" appearance="minimal" style="left:540px; top:30px; width:102px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <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>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="ipt_cond3" ref="/root/send/data6/acpttodd" class="input_default" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:890px; top:3px; width:85px; height:19px; "/>
- <caption id="caption4" visibility="visible" style="left:875px; top:5px; width:12px; height:16px; vertical-align:middle; ">~</caption>
- <caption id="caption50" class="search_name" visibility="visible" style="left:450px; top:9px; width:90px; height:17px; ">구 분 :</caption>
- <select1 id="radio2" ref="/root/send/data6/ioflag_s" visibility="visible" appearance="full" cols="4" overflow="visible" style="left:540px; top:9px; width:130px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_search_orddrid" ref="/root/send/data6/orddrid" class="combo_default" disabled="false" visibility="visible" appearance="minimal" style="left:345px; top:30px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_search_orddeptcd" ref="/root/send/data6/orddeptcd" class="combo_default" disabled="false" visibility="visible" appearance="minimal" itemcount="20" style="left:105px; top:30px; width:130px; 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[
- cmb_search_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + model.getValue("/root/send/data6/orddeptcd") + "']";
- //model.setValue("/root/main/ptpm/orddeptnm", cmb_orddeptcd.label);
- model.resetInstanceNode("/root/send/data6/orddrid"); // 진료과가 변경되었으므로 주치의를 초기화한다.
- model.refresh();
- //cmb_search_orddrid.disabled = false;
- ]]>
- </script>
- </select1>
- <caption id="caption53" class="search_name" visibility="visible" style="left:255px; top:9px; width:90px; height:17px; ">성 명 :</caption>
- <input id="input4" ref="/root/send/data6/hngnm" class="input_default" visibility="visible" style="left:345px; top:7px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption55" class="search_name" visibility="visible" style="left:15px; top:33px; width:90px; height:17px; ">진 료 과 :</caption>
- <caption id="caption69" class="search_name" visibility="visible" style="left:255px; top:30px; width:90px; height:17px; ">주 치 의 :</caption>
- <caption id="caption89" class="search_name" visibility="visible" style="left:450px; top:30px; width:86px; height:17px; ">처리상태 :</caption>
- <caption id="caption92" class="search_name" visibility="visible" style="left:690px; top:2px; width:90px; height:17px; ">접수일자 :</caption>
- <caption id="caption93" class="search_name" visibility="visible" style="left:690px; top:24px; width:111px; height:17px; ">청구일자 :</caption>
- <caption id="caption94" visibility="visible" style="left:875px; top:27px; width:12px; height:16px; vertical-align:middle; ">~</caption>
- <input id="input5" ref="/root/send/data6/endfromdd" class="input_default" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:785px; top:25px; width:85px; height:19px; "/>
- <input id="input7" ref="/root/send/data6/endtodd" class="input_default" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:890px; top:25px; width:85px; height:19px; "/>
- <select id="checkbox1" ref="/root/send/data6/procexpt" overflow="visible" appearance="full" style="left:990px; top:5px; width:80px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>진행제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/send/data6/pidsum" overflow="visible" appearance="full" style="left:990px; top:35px; width:80px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>환자별합산</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/send/data6/onlyrtnamt" overflow="visible" appearance="full" style="left:990px; top:20px; width:80px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>환불금만</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <input id="input14" ref="/root/send/data6/trettodd" class="input_default" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:890px; top:47px; width:85px; height:19px; "/>
- <caption id="caption102" class="search_name" visibility="visible" style="left:690px; top:45px; width:111px; height:17px; ">처리일자 :</caption>
- <caption id="caption103" visibility="visible" style="left:875px; top:49px; width:12px; height:16px; vertical-align:middle; ">~</caption>
- <input id="input15" ref="/root/send/data6/tretfromdd" class="input_default" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:785px; top:47px; width:85px; height:19px; "/>
- </group>
- <button id="button5" class="btn2_letter4" style="left:1118px; top:77px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_patspec.saveExcel(fileName, "SheetName", true, true, "", "", "true");
- }
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter4" style="left:717px; top:77px; width:64px; height:19px; ">
- <caption>선택삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_patspec.row > 0) {
- model.setValue("/root/send/data7/pid", grd_patspec.valueMatrix(grd_patspec.row, grd_patspec.colRef("pid")));
- model.setValue("/root/send/data7/ofidocacptdd", grd_patspec.valueMatrix(grd_patspec.row, grd_patspec.colRef("ofidocacptdd")));
- model.setValue("/root/send/data7/ofidocretno", grd_patspec.valueMatrix(grd_patspec.row, grd_patspec.colRef("ofidocretno")));
- if ( messageBox("","Q001")==6 ) {
- submit("TXPMC03006");
- }
- btn_srch.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <caption id="caption52" style="left:155px; top:82px; width:60px; height:15px; ">조회건수 :</caption>
- <output id="opt_retcount" ref="/root/main/retcount" style="left:218px; top:79px; width:62px; height:19px; "/>
- <button id="button12" class="btn4_letter3" navindex="37" style="left:1115px; top:685px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("수진환자 내역을 초기화 하시겠습니까?", "Q999") != 6){
- return;
- }
- fInitialize("all");
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter7" style="left:896px; top:77px; width:97px; height:19px; ">
- <caption>년도별민원현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vacptfromdd = model.getValue("/root/send/data6/acptfromdd").substr(0,4);
- var vacpttodd = model.getValue("/root/send/data6/acpttodd").substr(0,4);
- if (vacptfromdd != vacpttodd)
- {
- messageBox("접수일자를 확인하여 주십시오!\n시작일과 종료일의 년도가 같아야 합니다.","E999","");
- return false;
- }
- submit("TRPMC03008");
- exeReportPreview("RPPMC03001", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter3" style="left:840px; top:77px; width:53px; height:19px; ">
- <caption>츌력2</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //submit("TRPMC03009");
- /*
- if(submit("TRPMC03003")){
- if( getNodesetCount("/root/hidden/rcv/ptpmlist/grdpatspectlist") > 0 ){
- copyNodeType("/root/main/ptpmlistsum","/root/hidden/rcv/ptpmlist","replace");
- }else{
- model.resetInstanceNode("/root/main/ptpmlistsum");
- }
- }
- */
- //exeReportPreview("RPPMC03000", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- exeReportPreview("RPPMC03002", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="button17" class="btn2_letter9" style="left:996px; top:77px; width:119px; height:19px; ">
- <caption>환불항목별금액현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("acptfromdd", model.getValue("/root/send/data6/acptfromdd"));
- setParameter("acpttodd", model.getValue("/root/send/data6/acpttodd"));
-
- open("SPPMC07100");
-
- model.refresh();
- ]]>
- </script>
- </button>
- </case>
- <case id="case2">
- <select1 id="cmb_inst" ref="/root/main/ptpm/inst" class="combo_default" navindex="4" appearance="minimal" style="left:98px; top:140px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>심평원</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="tit_2" style="left:10px; top:10px; width:204px; height:13px; font-family:돋움; vertical-align:middle; ">인적사항</caption>
- <caption id="caption33" class="cell_1" style="left:5px; top:54px; width:76px; height:23px; vertical-align:middle; ">성명[한글]</caption>
- <caption id="caption13" class="cell_1" style="left:890px; top:54px; width:60px; height:23px; vertical-align:middle; ">하위주소</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:1186px; y2:25px; "/>
- <caption id="caption8" class="cell_1" style="left:890px; top:30px; width:60px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption14" class="cell_1" style="left:187px; top:54px; width:115px; height:23px; vertical-align:middle; ">연락처/휴대폰</caption>
- <caption id="caption9" class="cell_1" style="left:5px; top:30px; width:76px; height:23px; vertical-align:middle; ">환자번호</caption>
- <caption id="caption18" class="cell_1" style="left:187px; top:29px; width:115px; height:23px; vertical-align:middle; ">주민번호/성별/나이</caption>
- <caption id="caption10" class="tit_2" style="left:10px; top:85px; width:204px; height:13px; font-family:돋움; vertical-align:middle; ">접수관련</caption>
- <line id="line3" class="line_1" style="x1:5px; y1:101px; x2:928px; y2:100px; "/>
- <caption id="caption22" class="cell_1" style="left:98px; top:105px; width:100px; height:33px; text-align:center; vertical-align:middle; ">발송기관</caption>
- <caption id="caption29" class="cell_1" style="left:831px; top:261px; width:96px; height:32px; text-align:center; vertical-align:middle; ">추가청구비고</caption>
- <caption id="caption31" class="cell_1" style="left:590px; top:344px; width:102px; height:30px; text-align:center; vertical-align:middle; ">심판청구일자</caption>
- <caption id="caption32" class="cell_1" style="left:401px; top:189px; width:129px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">선택진료금액</caption>
- <caption id="caption37" class="cell_1" style="left:533px; top:189px; width:129px; height:23px; text-align:center; vertical-align:middle; ">심사자환불예상액</caption>
- <caption id="caption44" class="cell_1" style="left:392px; top:345px; width:90px; height:29px; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청
- 결과비고]]>
- </caption>
- <input id="ipt_addclamrem" ref="/root/main/ptpm/addclamrem" class="input_default" inputtype="button" style="left:831px; top:295px; width:96px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.makeNode("/root/temp/addclamrem");
-
- model.setValue("/root/temp/addclamrem", model.getValue("/root/main/ptpm/addclamrem"));
- //model.alert(model.getValue("/root/main/ptpm/addclamrem"));
- //model.alert(model.getValue("/root/temp/addclamrem"));
-
- grp_addclamrem.visible = true;
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappdd");
- }
- ]]>
- </script>
- </input>
- <line id="line4" class="line_2" style="x1:5px; y1:52px; x2:1186px; y2:52px; "/>
- <line id="line5" class="line_3" style="x1:5px; y1:76px; x2:1186px; y2:76px; "/>
- <line id="line8" class="line_1" style="x1:5px; y1:494px; x2:1186px; y2:494px; "/>
- <caption id="caption5" class="cell_1" style="left:5px; top:105px; width:90px; height:33px; text-align:center; vertical-align:middle; ">공문접수일</caption>
- <input id="ipt_ofidocacptdd" ref="/root/main/ptpm/ofidocacptdd" class="input_default" navindex="5" inputtype="date" style="left:5px; top:140px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("input1");
- }
- ]]>
- </script>
- </input>
- <input id="cmb_judgclamdd" ref="/root/main/ptpm/judgclamdd" class="combo_default" navindex="36" inputtype="date" appearance="minimal" style="left:590px; top:376px; width:102px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgclamdocuno");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_obtapprsltrem" ref="/root/main/ptpm/obtapprsltrem" class="input_default" navindex="35" inputtype="button" style="left:392px; top:376px; width:90px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.makeNode("/root/temp/obtapprsltrem");
-
- model.setValue("/root/temp/obtapprsltrem", model.getValue("/root/main/ptpm/obtapprsltrem"));
-
- grp_obtapprsltrem.visible = true;
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("cmb_judgclamdd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_apntordrtnfcstamt" ref="/root/main/ptpm/choiordamt" class="input_default" navindex="17" format="(-)#,###" style="left:401px; top:214px; width:129px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="ipt_insuteamrtnfcstamt" ref="/root/main/ptpm/insuteamrtnfcstamt" class="input_default" disabled="false" navindex="18" inputtype="button" format="(-)#,###" style="left:533px; top:214px; width:129px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("fcstordmat", model.getValue("/root/main/ptpm/fcstordmat"));
- setParameter("fcstinamt", model.getValue("/root/main/ptpm/fcstinamt"));
- setParameter("fcstchrgfood", model.getValue("/root/main/ptpm/fcstchrgfood"));
- setParameter("fcstmedimpsamt", model.getValue("/root/main/ptpm/fcstmedimpsamt"));
- setParameter("fcstinjamt", model.getValue("/root/main/ptpm/fcstinjamt"));
- setParameter("fcstanstamt", model.getValue("/root/main/ptpm/fcstanstamt"));
- setParameter("fcstcureopamt", model.getValue("/root/main/ptpm/fcstcureopamt"));
- setParameter("fcsttestamt", model.getValue("/root/main/ptpm/fcsttestamt"));
- setParameter("fcstimgdiagrayamt", model.getValue("/root/main/ptpm/fcstimgdiagrayamt"));
- setParameter("fcstscitamt", model.getValue("/root/main/ptpm/fcstscitamt"));
- setParameter("fcstpsypamt", model.getValue("/root/main/ptpm/fcstpsypamt"));
- setParameter("fcstctordamt", model.getValue("/root/main/ptpm/fcstctordamt"));
- setParameter("fcstmriordamt", model.getValue("/root/main/ptpm/fcstmriordamt"));
- setParameter("fcstpetordamt", model.getValue("/root/main/ptpm/fcstpetordamt"));
- setParameter("fcstchoiordamt", model.getValue("/root/main/ptpm/fcstchoiordamt"));
- setParameter("fcstnopyamt", model.getValue("/root/main/ptpm/fcstnopyamt"));
- setParameter("fcstetcamt", model.getValue("/root/main/ptpm/fcstetcamt"));
- setParameter("fcstcurematramt", model.getValue("/root/main/ptpm/fcstcurematramt"));
-
-
- setParameter("deciordmat", model.getValue("/root/main/ptpm/deciordmat"));
- setParameter("deciinamt", model.getValue("/root/main/ptpm/deciinamt"));
- setParameter("decichrgfood", model.getValue("/root/main/ptpm/decichrgfood"));
- setParameter("decimedimpsamt", model.getValue("/root/main/ptpm/decimedimpsamt"));
- setParameter("deciinjamt", model.getValue("/root/main/ptpm/deciinjamt"));
- setParameter("decianstamt", model.getValue("/root/main/ptpm/decianstamt"));
- setParameter("decicureopamt", model.getValue("/root/main/ptpm/decicureopamt"));
- setParameter("decitestamt", model.getValue("/root/main/ptpm/decitestamt"));
- setParameter("deciimgdiagrayamt", model.getValue("/root/main/ptpm/deciimgdiagrayamt"));
- setParameter("deciscitamt", model.getValue("/root/main/ptpm/deciscitamt"));
- setParameter("decipsypamt", model.getValue("/root/main/ptpm/decipsypamt"));
- setParameter("decictordamt", model.getValue("/root/main/ptpm/decictordamt"));
- setParameter("decimriordamt", model.getValue("/root/main/ptpm/decimriordamt"));
- setParameter("decipetordamt", model.getValue("/root/main/ptpm/decipetordamt"));
- setParameter("decichoiordamt", model.getValue("/root/main/ptpm/decichoiordamt"));
- setParameter("decinopyamt", model.getValue("/root/main/ptpm/decinopyamt"));
- setParameter("decietcamt", model.getValue("/root/main/ptpm/decietcamt"));
- setParameter("decicurematramt", model.getValue("/root/main/ptpm/decicurematramt"));
-
- open("SPPMC07000");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_choiordrtnfcstamt");
- }
- ]]>
- </script>
- </input>
- <button id="button8" class="btn2_letter7" navindex="39" style="left:1089px; top:4px; width:97px; height:19px; ">
- <caption>입원진료비내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag", "P");
-
- if(model.getValue("/root/main/ptbs/ptbs_pid") =="" || model.getValue("/root/main/ptbs/ptbs_hngnm") =="" )
- {
- messageBox("환자가 조회되지 않았습니다!","E999","");
- return;
- }else{
- modal("SMPMC03000", "1","150","150", "SMPMC03000", "/root/send/data3", "/root/hidden/data");
- }
-
- */
- /*
- var getreturnamt = getParameter("SMPMC03000_selectreturnamt");
- var getselectreturnamt = getParameter("SMPMC03000_returnamt");
-
- if( getreturnamt !='' && getselectreturnamt !=''){
- model.setValue("/root/main/ptpm/insuteamrtnfcstamt", getselectreturnamt);
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", getreturnamt);
-
- }
- */
- open("SMPAI00200", "1","150","150", "SMPAI00200", "", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button15" class="btn2_letter2" navindex="38" style="left:944px; top:4px; width:42px; height:19px; ">
- <caption>상병</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPIZ00100", "1","150","150", "SMPIZ00100", "/root/main/ptbs/ptbs_pid", "/root/init/pid");
-
-
- ]]>
- </script>
- </button>
- <group id="group4" style="left:5px; top:681px; width:1183px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1056px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //공문 접수일을 체크한다
- /*if(model.getValue("/root/main/ptpm/ofidocacptdd") == ""){
- messageBox("공문접수일은", "I003");
- }elseif(model.getValue("/root/main/ptpm/inst")==""){
- messageBox("기관 담당자는", "I003");
- }elseif(model.getValue("/root/main/ptpm/tel")==""){
- messageBox("연락처는", "I003");
- }*/
-
- if (model.getValue("/root/main/ptpm/ofidocacptdd") == "" || model.getValue("/root/main/ptpm/ofidocacptdd") == null)
- {
- messageBox("공문접수일를 입력하여 주십시요!","E999","");
- return false;
- }
-
- if (model.getValue("/root/main/ptpm/tretflag") == "" || model.getValue("/root/main/ptpm/tretflag") == null)
- {
- messageBox("처리상태를 선택하여 주십시요!","E999","");
- return false;
- }
-
- model.setValue("/root/main/ptpm/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.copyNode("/root/send/data1","/root/main/ptpm");
-
- if( messageBox("수진환자 내역을 저장 하시겠습니까?", "Q999") != 6){
- return;
- }
-
- if (model.getValue("/root/main/ptpm/stat") == "U") {
- if (submit("TXPMC03002")) {
-
- //내원이력
- if( getNodesetCount("/root/hidden/rcv/ptpm/stat") > 0 ){
-
- //copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
- copyNodeType("/root/main/ptpm/stat","/root/hidden/rcv/ptpm/stat","replace");
- copyNodeType("/root/main/ptpm/ofidocretno","/root/hidden/rcv/ptpm/ofidocretno","replace");
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
- var flag = "";
- var pid = model.getValue("/root/main/ptbs/ptbs_pid");
- var ofidocacptdd = model.getValue("/root/main/ptpm/ofidocacptdd");
- var ofidocretno = model.getValue("/root/main/ptpm/ofidocretno");
- var cnt1 = 0;
-
- for (i=0; i<rows; i++) {
- var patspecyn= model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn");
- if (patspecyn == "Y") {
- //grd_chosrec.rowStatus(i) = 1;
- cnt1++;
- }
- }
-
- //데이터 삭제 하기위해 그리드가 체크가 안되어 있을경우 입의로 status에 값을 세팅
- if(cnt1 > 0){
- var nodeList = instance1.selectNodes("/root/main/list1/chosreclist[patspecyn='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist", rCSV);
- }else{
- grd_chosrec.rowStatus(1) = 2;
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist",grd_chosrec.getUpdateData());
- }
-
- model.makeNode("/root/send/update/pid");
- model.makeNode("/root/send/update/ofidocacptdd");
- model.makeNode("/root/send/update/ofidocretno");
-
- model.setValue("/root/send/update/pid", pid);
- model.setValue("/root/send/update/ofidocacptdd", ofidocacptdd);
- model.setValue("/root/send/update/ofidocretno", ofidocretno);
-
-
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03003")) {
- // model.alert("aaa");
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- // 수진 내원 내역 조회
- // fGetChosRecRef();
- /*
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- */
- model.refresh();
- }
- }
-
-
- //청구이력
- var rows = model.getValue("/root/temp/clamlistcnt");
- var cnt2 = 0;
- for (i=0; i<rows; i++) {
-
- var patspecyn= model.getValue("/root/main/list2/clamlist["+ i + "]/patspecyn");
- if (patspecyn == "Y") {
- cnt2++;
- }
-
- }
-
-
- //데이터 삭제 하기위해 그리드가 체크가 안되어 있을경우 입의로 status에 값을 세팅
- if(cnt2 > 0){
- var nodeList = instance1.selectNodes("/root/main/list2/clamlist[patspecyn='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist", rCSV);
- }else{
- datagrid1.rowStatus(1) = 2;
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist",datagrid1.getUpdateData());
- }
-
- model.makeNode("/root/send/update/pid");
- model.makeNode("/root/send/update/ofidocacptdd");
- model.makeNode("/root/send/update/ofidocretno");
-
- model.setValue("/root/send/update/pid", pid);
- model.setValue("/root/send/update/ofidocacptdd", ofidocacptdd);
- model.setValue("/root/send/update/ofidocretno", ofidocretno);
-
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03005")) {
- // model.alert("aaa");
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- // 수진 내원 내역 조회
- // fGetChosRecRef();
- /*
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
- */
- model.refresh();
- }
- }
- }else {
- //신규입력
- if (submit("TXPMC03001")) {
-
- //messageBox("입력완료","E999","");
- if( getNodesetCount("/root/hidden/rcv/ptpm/stat") > 0 ){
-
- copyNodeType("/root/main/ptpm/stat","/root/hidden/rcv/ptpm/stat","replace");
- copyNodeType("/root/main/ptpm/ofidocretno","/root/hidden/rcv/ptpm/ofidocretno","replace");
-
- model.setValue("/root/main/ptpm/stat", model.getValue("/root/hidden/rcv/ptpm/stat"));
- model.setValue("/root/main/ptpm/ofidocretno", model.getValue("/root/hidden/rcv/ptpm/ofidocretno"));
-
- //copyNodeType("/root/main/ptpm/stat","/root/hidden/rcv/ptpm/stat","replace");
- //copyNodeType("/root/main/ptpm/ofidocretno","/root/hidden/rcv/ptpm/ofidocretno","replace");
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
- var flag = "";
- var pid = model.getValue("/root/main/ptbs/ptbs_pid");
- var ofidocacptdd = model.getValue("/root/main/ptpm/ofidocacptdd");
- var ofidocretno = model.getValue("/root/main/ptpm/ofidocretno");
-
- /*
- for (i=0; i<rows; i++) {
- var patspecyn= model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn");
- if (patspecyn == "Y") {
- //grd_chosrec.rowStatus(i) = 1;
- }
-
- }
- */
- var nodeList = instance1.selectNodes("/root/main/list1/chosreclist[patspecyn='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist", rCSV);
-
- model.makeNode("/root/send/update/pid");
- model.makeNode("/root/send/update/ofidocacptdd");
- model.makeNode("/root/send/update/ofidocretno");
-
- model.setValue("/root/send/update/pid", pid);
- model.setValue("/root/send/update/ofidocacptdd", ofidocacptdd);
- model.setValue("/root/send/update/ofidocretno", ofidocretno);
-
- //model.alert(model.getValue("/root/send/update/datalist"));
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03003")) {
- // model.alert("aaa");
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- // 수진 내원 내역 조회
- // fGetChosRecRef();
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- model.refresh();
- }
-
-
- //청구이력
- var rows = model.getValue("/root/temp/clamlistcnt");
-
- /*
- for (i=0; i<rows; i++) {
- var patspecyn= model.getValue("/root/main/list2/clamlist["+ i + "]/patspecyn");
- if (patspecyn == "Y") {
- }
-
- }
- */
-
- var nodeList = instance1.selectNodes("/root/main/list2/clamlist[patspecyn='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist", rCSV);
-
- model.makeNode("/root/send/update/pid");
- model.makeNode("/root/send/update/ofidocacptdd");
- model.makeNode("/root/send/update/ofidocretno");
-
- model.setValue("/root/send/update/pid", pid);
- model.setValue("/root/send/update/ofidocacptdd", ofidocacptdd);
- model.setValue("/root/send/update/ofidocretno", ofidocretno);
-
- // model.alert(model.getValue("/root/send/update/datalist"));
- //return;
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03005")) {
- // model.alert("aaa");
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- // 수진 내원 내역 조회
- // fGetChosRecRef();
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
- model.refresh();
- }
-
- /*
- model.setValue("/root/send/update/datalist",grd_chosrec.getUpdateData());
- // var a = model.getValue("/root/send/update/datalist");
- // alert(a);
- //
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03003")) {
-
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- }
- */
- }
-
- }
-
- }
-
- model.makeNode("/root/main/popupendflag");
- model.setValue("/root/main/popupendflag","pass");
-
- AfSafeBaseInfoRef();
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="37" style="left:1115px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("수진환자 내역을 초기화 하시겠습니까?", "Q999") != 6){
- return;
- }
- fInitialize("all");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1183px; y2:0px; "/>
- <button id="button1" class="btn3_letter6" style="left:2px; top:5px; width:104px; height:22px; ">
- <caption>특이환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC01300", "1","150","150", "SMPMC01300", "", "");
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter6" style="left:115px; top:5px; width:104px; height:22px; ">
- <caption>민원환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC00100", "1","100","100", "SMPMC00100", "", "");
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_ptbshngnm" class="icon_search" style="left:163px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ptbs_hngnm = model.getValue("/root/main/ptbs/ptbs_hngnm");
-
- if (ptbs_hngnm == null || ptbs_hngnm ==" " || ptbs_hngnm == "") {
- model.resetInstanceNode("/root/send/data4");
- } else {
- model.setValue("/root/send/data4/hngnm",model.getValue("/root/main/ptbs/ptbs_hngnm"));
- model.setValue("/root/send/data4/srchcond","2");
- }
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
- fBaseInfoRef();
- ]]>
- </script>
- </button>
- <button id="btn_ptbspid" class="icon_search" style="left:163px; top:33px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
-
- if (ptbs_pid == null || ptbs_pid ==" " || ptbs_pid == "") {
- model.resetInstanceNode("/root/send/data4");
- } else {
- model.setValue("/root/send/data4/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data4/srchcond","1");
- }
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
-
- fBaseInfoRef();
- ]]>
- </script>
- </button>
- <button id="btn_ptbsrrgstno" class="icon_search" style="left:432px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ptbs_rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
- var ptbs_rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
-
- if ((ptbs_rrgstno1 == null || ptbs_rrgstno1 ==" " || ptbs_rrgstno1 == "") && (ptbs_rrgstno2 == null || ptbs_rrgstno2 ==" " || ptbs_rrgstno2 == "")) {
- model.resetInstanceNode("/root/send/data4");
- } else {
-
- model.setValue("/root/send/data4/rrgstno1",model.getValue("/root/main/ptbs/ptbs_rrgstno1"));
- model.setValue("/root/send/data4/rrgstno2",model.getValue("/root/main/ptbs/ptbs_rrgstno2"));
- model.setValue("/root/send/data4/srchcond","3")
- }
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
- fBaseInfoRef();
- ]]>
- </script>
- </button>
- <input id="pid" ref="/root/main/ptbs/ptbs_pid" class="input_s_essential" navindex="1" style="left:84px; top:31px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // 구현예정 : 재원중인 환자일경우 메세지 처리한다.
- if (event.keyCode=='13') {
-
- // popup open 없이 조회
- model.setFocus("btn_ptbspid");
-
- model.makeNode("/root/main/popupendflag");
- model.setValue("/root/main/popupendflag","pass");
-
- fBaseInfoRef();
- if(model.getValue("/root/main/ptpm/ofidocacptdd") == "") {
- model.removeNodeset("/root/temp3/ptpm");
- submit("TRPMC03010");
-
- model.setValue("/root/main/ptpm/ofidocacptdd", model.getValue("/root/temp3/ptpm/ofidocacptdd"));
- model.setValue("/root/main/ptpm/ofidocdocuno", model.getValue("/root/temp3/ptpm/ofidocdocuno"));
- model.setValue("/root/main/ptpm/inst", model.getValue("/root/temp3/ptpm/inst"));
- model.setValue("/root/main/ptpm/civilapler", model.getValue("/root/temp3/ptpm/civilapler"));
- model.setValue("/root/main/ptpm/datacollanldrnotidd", model.getValue("/root/temp3/ptpm/datacollanldrnotidd"));
- model.setValue("/root/main/ptpm/etcrem", model.getValue("/root/temp3/ptpm/etcrem"));
- //model.refresh();
- }
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
-
- var totordamtsum = '0';
- var totownbamtsum = '0';
- var nopyamttsum = '0';
- var specordamtsum = '0';
- var uncoamtsum = '0';
- var discamtsum = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totordamt");
- var temp2 = model.getValue("/root/main/list1/chosreclist["+ i + "]/nopyamt");
- var temp3 = model.getValue("/root/main/list1/chosreclist["+ i + "]/specordamt");
- var temp4 = model.getValue("/root/main/list1/chosreclist["+ i + "]/uncototamt");
- var temp5 = model.getValue("/root/main/list1/chosreclist["+ i + "]/discamt");
- var temp6 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totownbamt");
-
- totordamtsum = parseInt(totordamtsum) + parseInt(temp1);
- nopyamttsum = parseInt(nopyamttsum) + parseInt(temp2);
- specordamtsum = parseInt(specordamtsum) + parseInt(temp3);
- uncoamtsum = parseInt(uncoamtsum) + parseInt(temp4);
- discamtsum = parseInt(discamtsum) + parseInt(temp5);
- totownbamtsum = parseInt(totownbamtsum) + parseInt(temp6);
- }
- }
-
- model.setValue("/root/main/ptpm/totalamt", totordamtsum);
- model.setValue("/root/main/ptpm/patowntotamt", totownbamtsum);
- model.setValue("/root/main/ptpm/nonpayallamt", nopyamttsum);
- model.setValue("/root/main/ptpm/choiordamt", specordamtsum);
- model.setValue("/root/main/ptpm/uncoamt", uncoamtsum);
- model.setValue("/root/main/ptpm/discamt", discamtsum);
-
- // if(model.getValue("/root/main/ptpm/ofidocacptdd") == "") {
- // submit("TRPMC03010");
- //
- // model.setValue("/root/main/ptpm/ofidocacptdd", model.getValue("/root/temp3/ptpm/ofidocacptdd"));
- // model.setValue("/root/main/ptpm/ofidocdocuno", model.getValue("/root/temp3/ptpm/ofidocdocuno"));
- // model.setValue("/root/main/ptpm/inst", model.getValue("/root/temp3/ptpm/inst"));
- // model.setValue("/root/main/ptpm/civilapler", model.getValue("/root/temp3/ptpm/civilapler"));
- // model.setValue("/root/main/ptpm/datacollanldrnotidd", model.getValue("/root/temp3/ptpm/datacollanldrnotidd"));
- // alert(model.getValue("/root/temp3/ptpm/ofidocdocuno"));
- // alert(model.getValue("/root/main/ptpm/ofidocdocuno"));
- // }
-
- if(model.getValue("/root/main/ptpm/ofidocretno") == "" || model.getValue("/root/main/ptpm/ofidocretno") == null) {
- btn_all.dispatch("DOMActivate");
- }
- model.refresh();
- }
-
- //ipt_uncoamt.refresh();
-
-
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno1" ref="/root/main/ptbs/ptbs_rrgstno1" class="input_s_essential" navindex="2" style="left:305px; top:31px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
- model.setValue("/root/send/data4/autoflag","Y");
- inputEnterKey("btn_ptbsrrgstno", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <output id="opt_rrgstno2" ref="/root/main/ptbs/ptbs_rrgstno2" class="output_fix" appearance="output" style="left:368px; top:31px; width:60px; height:19px; "/>
- <input id="ipt_hngnm" ref="/root/main/ptbs/ptbs_hngnm" class="input_s_essential" navindex="3" style="left:84px; top:55px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
- model.setValue("/root/send/data4/autoflag","Y");
- inputEnterKey("btn_ptbshngnm", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <output id="opt_mpphontel" ref="/root/main/ptbs/ptbs_mpphontel" class="output_fix" appearance="output" style="left:408px; top:55px; width:100px; height:19px; "/>
- <output id="opt_sex" ref="/root/main/ptbs/ptbs_sex" class="output_fix" appearance="output" style="left:453px; top:31px; width:26px; height:19px; "/>
- <output id="opt_age" ref="/root/main/ptbs/ptbs_age" class="output_fix" appearance="output" style="left:482px; top:31px; width:26px; height:19px; "/>
- <output id="opt_hometel" ref="/root/main/ptbs/ptbs_hometel" class="output_fix" appearance="output" style="left:305px; top:55px; width:100px; height:19px; "/>
- <output id="opt_zipcd1" ref="/root/main/ptbs/ptbs_zipcd1" class="output_fix" appearance="output" style="left:953px; top:31px; width:45px; height:19px; "/>
- <output id="opt_zipcd2" ref="/root/main/ptbs/ptbs_zipcd2" class="output_fix" appearance="output" style="left:1001px; top:31px; width:45px; height:19px; "/>
- <output id="opt_address" ref="/root/main/ptbs/ptbs_zipnm" class="output_fix" appearance="output" style="left:1049px; top:31px; width:137px; height:19px; "/>
- <output id="opt_detladdr" ref="/root/main/ptbs/ptbs_detladdr" class="output_fix" appearance="output" style="left:953px; top:55px; width:233px; height:19px; "/>
- <select1 id="cmb_datadelive" ref="/root/main/ptpm/datadelive" class="combo_default" navindex="9" appearance="minimal" sstyle="left:123px; top:176px; width:115px; height:19px;">
- <choices>
- <item>
- <label>선택진료</label>
- <value>1</value>
- </item>
- <item>
- <label>개인별내역</label>
- <value>2</value>
- </item>
- <item>
- <label>의무기록</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" style="left:405px; top:105px; width:108px; height:33px; color:#000000; text-align:center; vertical-align:middle; ">민원신청자</caption>
- <input id="ipt_civilapler" ref="/root/main/ptpm/civilapler" class="input_default" style="left:405px; top:140px; width:108px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("cmb_insttype");
- }
- ]]>
- </script>
- </input>
- <line id="line13" class="line_1" style="x1:5px; y1:184px; x2:1184px; y2:185px; "/>
- <caption id="caption36" class="cell_1" style="left:269px; top:189px; width:129px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">비급여전체금액</caption>
- <input id="ipt_nonpayallamt" ref="/root/main/ptpm/nonpayallamt" class="input_default" navindex="16" format="(-)#,###" style="left:269px; top:214px; width:129px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption39" class="cell_1" style="left:665px; top:189px; width:129px; height:23px; text-align:center; vertical-align:middle; ">심평원결정정당금액</caption>
- <input id="ipt_choiordrtnfcstamt" ref="/root/main/ptpm/choiordrtnfcstamt" class="input_default" disabled="false" navindex="19" format="(-)#,###" style="left:665px; top:214px; width:129px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText(",");
- var vedimedcaretotamt = eval(model.getValue("/root/main/ptpm/nonpayallamt")) + eval(model.getValue("/root/main/ptpm/choiordamt")) - eval(model.getValue("/root/main/ptpm/choiordrtnfcstamt"));
- if (event.keyCode == "13")
- {
- model.setValue("/root/main/ptpm/tretflag" , "2");
- model.setValue("/root/main/ptpm/edimedcaretotamt", vedimedcaretotamt);
- // model.setFocus("ipt_aprvcnclrtnfcstamt");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <line id="line17" class="line_3" style="x1:5px; y1:234px; x2:1185px; y2:234px; "/>
- <caption id="caption42" class="tit_2" style="left:10px; top:240px; width:204px; height:13px; font-family:돋움; vertical-align:middle; ">진행사항</caption>
- <line id="line12" class="line_1" style="x1:5px; y1:257px; x2:925px; y2:256px; "/>
- <input id="ipt_rtnschenotiamt" ref="/root/main/ptpm/rtnschenotiamt" class="input_default" navindex="25" format="(-)#,###" appearance="minimal" style="left:266px; top:295px; width:93px; height:19px; text-align:right; vertical-align:bottom; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText(",");
- var vchoiordrtnfcstamt = eval(model.getValue("/root/main/ptpm/nonpayallamt")) + eval(model.getValue("/root/main/ptpm/choiordamt")) - eval(model.getValue("/root/main/ptpm/rtnschenotiamt"));
- if (event.keyCode == "13")
- {
- model.setValue("/root/main/ptpm/tretflag" , "3");
- model.setValue("/root/main/ptpm/statflag", "4");
- model.setValue("/root/main/ptpm/fcstdeciamt", model.getValue("/root/main/ptpm/rtnschenotiamt"));
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", vchoiordrtnfcstamt);
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- model.setFocus("ipt_paycalcamt");
-
- if(model.getValue("/root/main/ptpm/rtnschenotiamt") == 0) {
- model.setValue("/root/main/ptpm/tretflag" , "2");
- }
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var vchoiordrtnfcstamt = eval(model.getValue("/root/main/ptpm/nonpayallamt")) + eval(model.getValue("/root/main/ptpm/choiordamt")) - eval(model.getValue("/root/main/ptpm/rtnschenotiamt"));
-
- model.setValue("/root/main/ptpm/tretflag" , "3");
- model.setValue("/root/main/ptpm/statflag", "4");
- model.setValue("/root/main/ptpm/fcstdeciamt", model.getValue("/root/main/ptpm/rtnschenotiamt"));
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", vchoiordrtnfcstamt);
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- //model.setFocus("ipt_paycalcamt");
-
- if(model.getValue("/root/main/ptpm/rtnschenotiamt") == 0) {
- model.setValue("/root/main/ptpm/tretflag" , "2");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption46" class="cell_1" style="left:266px; top:278px; width:93px; height:15px; color:#000000; text-align:center; vertical-align:middle; ">환불결정액</caption>
- <select1 id="ipt_statflag" ref="/root/main/ptpm/statflag" navindex="26" appearance="minimal" style="left:5px; top:295px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>자료수집</label>
- <value>0</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>
- </choices>
- </select1>
- <caption id="caption47" class="cell_1" style="left:5px; top:261px; width:75px; height:32px; color:#000000; text-align:center; vertical-align:middle; ">진행상태</caption>
- <caption id="caption49" class="cell_1" style="left:485px; top:345px; width:95px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청종결
- 통보일자]]>
- </caption>
- <input id="ipt_jviendnotidd" ref="/root/main/ptpm/jviendnotidd" class="input_default" navindex="32" inputtype="date" style="left:485px; top:376px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappdecidocuno");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_obtappaftrtndeciamt" ref="/root/main/ptpm/obtappaftrtndeciamt" class="input_default" navindex="34" format="(-)#,###" style="left:294px; top:376px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtapprsltrem");
- }
- ]]>
- </script>
- </input>
- <caption id="caption51" class="cell_1" style="left:294px; top:345px; width:95px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청후
- 환불결정액]]>
- </caption>
- <line id="line18" class="line_2" style="x1:6px; y1:316px; x2:1186px; y2:316px; "/>
- <line id="line15" class="line_2" style="x1:5px; y1:161px; x2:1185px; y2:161px; "/>
- <button id="btn_all" class="btn1_letter4" style="left:1039px; top:470px; width:80px; height:22px; ">
- <caption>전체조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocdocuno", model.getValue("/root/main/ptpm/ofidocdocuno"));
- model.setValue("/root/send/data3/flag","A");
-
- // 수진 내원 내역 조회
- fGetChosRecRef();
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
-
- var totordamtsum = '0'
- var totownbamtsum = '0';;
- var nopyamttsum = '0';
- var specordamtsum = '0';
- var uncoamtsum = '0';
- var discamtsum = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totordamt");
- var temp2 = model.getValue("/root/main/list1/chosreclist["+ i + "]/nopyamt");
- var temp3 = model.getValue("/root/main/list1/chosreclist["+ i + "]/specordamt");
- var temp4 = model.getValue("/root/main/list1/chosreclist["+ i + "]/uncototamt");
- var temp5 = model.getValue("/root/main/list1/chosreclist["+ i + "]/discamt");
- var temp6 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totownbamt");
-
- totordamtsum = parseInt(totordamtsum) + parseInt(temp1);
- nopyamttsum = parseInt(nopyamttsum) + parseInt(temp2);
- specordamtsum = parseInt(specordamtsum) + parseInt(temp3);
- uncoamtsum = parseInt(uncoamtsum) + parseInt(temp4);
- discamtsum = parseInt(discamtsum) + parseInt(temp5);
- totownbamtsum = parseInt(totownbamtsum) + parseInt(temp6);
- }
- }
-
- model.setValue("/root/main/ptpm/totalamt", totordamtsum);
- model.setValue("/root/main/ptpm/patowntotamt", totownbamtsum);
- model.setValue("/root/main/ptpm/nonpayallamt", nopyamttsum);
- model.setValue("/root/main/ptpm/choiordamt", specordamtsum);
- model.setValue("/root/main/ptpm/uncoamt", uncoamtsum);
- model.setValue("/root/main/ptpm/discamt", discamtsum);
-
- //수진 내역 기존 선택여부 조회
- fGetColorChangeChoslist();
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="tit_2" style="left:10px; top:169px; width:104px; height:13px; font-family:돋움; color:#000000; vertical-align:middle; ">분쟁대상금액</caption>
- <select1 id="radio13" ref="/root/main/ioflag" appearance="full" cellspacing="8" cols="6" rows="1" overflow="visible" style="left:185px; top:475px; width:170px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var ioflag = radio13.value;
-
- if( ioflag == "O" ){ //외래
-
- grd_chosrec.attribute("nodeset") = "/root/main/list1/chosreclist[ ioflag ='O' ]";
- datagrid1.attribute("nodeset") = "/root/main/list2/clamlist[ ioflag ='O' ]";
- grd_chosrec.rebuild();
- datagrid1.rebuild();
-
- }else if( ioflag == "I"){ //입원
-
- grd_chosrec.attribute("nodeset") = "/root/main/list1/chosreclist[ ioflag ='I' ]";
- datagrid1.attribute("nodeset") = "/root/main/list2/clamlist[ ioflag ='I' ]";
- grd_chosrec.rebuild();
- datagrid1.rebuild();
- }else{
- grd_chosrec.attribute("nodeset") = "/root/main/list1/chosreclist";
- datagrid1.attribute("nodeset") = "/root/main/list2/clamlist";
- grd_chosrec.rebuild();
- datagrid1.rebuild();
- }
-
- //fGetColorChangeChoslist();
- ]]>
- </script>
- </select1>
- <caption id="caption17" class="cell_1" style="left:5px; top:345px; width:90px; height:29px; text-align:center; vertical-align:middle; ">이의신청일</caption>
- <input id="ipt_obtappdd" ref="/root/main/ptpm/obtappdd" class="input_default" navindex="30" inputtype="date" style="left:5px; top:376px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var value = model.getValue("/root/main/ptpm/cncldocudelivedd");
-
- if ( value != "") {
- ipt_lastenddd.value = value;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappdecino");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_obtappamt" ref="/root/main/ptpm/obtappamt" class="input_default" format="(-)#,###" style="left:98px; top:376px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappdecidd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption38" class="cell_1" style="left:98px; top:345px; width:95px; height:29px; text-align:center; vertical-align:middle; ">이의신청액</caption>
- <caption id="caption41" class="cell_1" style="left:695px; top:344px; width:122px; height:30px; color:#000000; text-align:center; vertical-align:middle; ">심판청구액</caption>
- <caption id="caption54" class="cell_1" style="left:820px; top:344px; width:110px; height:30px; text-align:center; vertical-align:middle; ">
- <![CDATA[심판청구결과
- 통보일자]]>
- </caption>
- <input id="ipt_judgclamdecidd" ref="/root/main/ptpm/judgclamdecidd" class="input_default" navindex="39" inputtype="date" style="left:820px; top:376px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgclamdecidocuno");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_judgclamamt" ref="/root/main/ptpm/judgclamamt" class="input_default" navindex="38" format="(-)#,###" style="left:695px; top:376px; width:122px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgclamdecidd");
- }
- ]]>
- </script>
- </input>
- <line id="line6" class="line_3" style="x1:5px; y1:396px; x2:1187px; y2:396px; "/>
- <caption id="caption56" class="cell_1" style="left:1063px; top:344px; width:122px; height:30px; text-align:center; vertical-align:middle; ">
- <![CDATA[심판청구
- 인정액]]>
- </caption>
- <input id="ipt_judgclamaftrtndeciamt" ref="/root/main/ptpm/judgclamaftrtndeciamt" class="input_default" navindex="41" format="(-)#,###" style="left:1063px; top:376px; width:122px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_tretflag");
- }
- ]]>
- </script>
- </input>
- <caption id="caption57" class="tit_2" style="left:5px; top:401px; width:184px; height:13px; font-family:돋움; vertical-align:middle; ">처리사항</caption>
- <line id="line19" class="line_1" style="x1:5px; y1:417px; x2:493px; y2:416px; "/>
- <line id="line21" class="line_3" style="x1:0px; y1:465px; x2:1183px; y2:465px; "/>
- <select1 id="ipt_tretflag" ref="/root/main/ptpm/tretflag" navindex="42" appearance="minimal" style="left:5px; top:445px; width:75px; height:19px; ">
- <choices>
- <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>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_cncldocudelivedd");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vtretflag = model.getValue("/root/main/ptpm/tretflag");
- var vnonpayallamt = eval(model.getValue("/root/main/ptpm/nonpayallamt")) + eval(model.getValue("/root/main/ptpm/choiordamt"));
-
- if(vtretflag == "1") { // 진행중일땐 선택진료 + 비급여 액 전액이 진행중 금액
- model.setValue("/root/main/ptpm/edimedcaretotamt", vnonpayallamt);
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", 0);
- model.setValue("/root/main/ptpm/aprvcnclrtnfcstamt", 0);
- model.setValue("/root/main/ptpm/ordfcstamt", 0);
- model.setValue("/root/main/ptpm/rtnschenotiamt", 0);
- model.setValue("/root/main/ptpm/fcstdeciamt", 0);
- model.setValue("/root/main/ptpm/paycalcamt", 0);
- model.setValue("/root/main/ptpm/purertnamt", 0);
- model.setValue("/root/main/ptpm/cncldocudelivedd", "");
- model.setValue("/root/main/ptpm/fcstdecidd", "");
- model.setValue("/root/main/ptpm/roothospexpsflag", "");
- } else if(vtretflag == "2") { // 정당일땐 진행중 금액 전액이 정당금액
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", vnonpayallamt);
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- model.setValue("/root/main/ptpm/aprvcnclrtnfcstamt", 0);
- model.setValue("/root/main/ptpm/ordfcstamt", 0);
- model.setValue("/root/main/ptpm/rtnschenotiamt", 0);
- model.setValue("/root/main/ptpm/fcstdeciamt", 0);
- model.setValue("/root/main/ptpm/paycalcamt", 0);
- model.setValue("/root/main/ptpm/purertnamt", 0);
- model.setValue("/root/main/ptpm/cncldocudelivedd", "");
- model.setValue("/root/main/ptpm/fcstdecidd", "");
- model.setValue("/root/main/ptpm/roothospexpsflag", "");
- } else if(vtretflag == "3") { // 환불일땐 진행중 금액 전액이 정당금액 간후 환불금 입력하면 뺌
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", vnonpayallamt);
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- model.setValue("/root/main/ptpm/aprvcnclrtnfcstamt", 0);
- model.setValue("/root/main/ptpm/ordfcstamt", 0);
- model.setValue("/root/main/ptpm/rtnschenotiamt", 0);
- model.setValue("/root/main/ptpm/fcstdeciamt", 0);
- model.setValue("/root/main/ptpm/paycalcamt", 0);
- model.setValue("/root/main/ptpm/purertnamt", 0);
- model.setValue("/root/main/ptpm/cncldocudelivedd", "");
- model.setValue("/root/main/ptpm/fcstdecidd", "");
- model.setValue("/root/main/ptpm/roothospexpsflag", "");
- } else if(vtretflag == "4") { // 취하환불일땐 진행중 금액 전액이 정당금액 간후 최종환불결정액 입력하면 뺌
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", vnonpayallamt);
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- model.setValue("/root/main/ptpm/aprvcnclrtnfcstamt", 0);
- model.setValue("/root/main/ptpm/ordfcstamt", 0);
- model.setValue("/root/main/ptpm/rtnschenotiamt", 0);
- model.setValue("/root/main/ptpm/fcstdeciamt", 0);
- model.setValue("/root/main/ptpm/paycalcamt", 0);
- model.setValue("/root/main/ptpm/purertnamt", 0);
- } else if(vtretflag == "5") { // 취하일땐 진행중 금액 전액이 취하금액
- model.setValue("/root/main/ptpm/aprvcnclrtnfcstamt", vnonpayallamt);
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", 0);
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- model.setValue("/root/main/ptpm/ordfcstamt", 0);
- model.setValue("/root/main/ptpm/rtnschenotiamt", 0);
- model.setValue("/root/main/ptpm/fcstdeciamt", 0);
- model.setValue("/root/main/ptpm/paycalcamt", 0);
- model.setValue("/root/main/ptpm/purertnamt", 0);
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption58" class="cell_1" style="left:5px; top:420px; width:75px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">처리상태</caption>
- <input id="ipt_cncldocudelivedd" ref="/root/main/ptpm/cncldocudelivedd" class="input_default" navindex="43" inputtype="date" style="left:174px; top:445px; width:88px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_aprvcnclrtnfcstamt");
- }
- ]]>
- </script>
- </input>
- <caption id="caption59" class="cell_1" style="left:174px; top:420px; width:88px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">취하일</caption>
- <input id="ipt_fcstdecidd" ref="/root/main/ptpm/fcstdecidd" class="input_default" navindex="45" inputtype="date" style="left:265px; top:445px; width:106px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_fcstdeciamt");
- }
- ]]>
- </script>
- </input>
- <caption id="caption61" class="cell_1" style="left:265px; top:420px; width:106px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">취하종결통보일자</caption>
- <caption id="caption63" class="cell_1" style="left:711px; top:420px; width:100px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">지급일자</caption>
- <input id="ipt_fcstdeciamt" ref="/root/main/ptpm/fcstdeciamt" class="combo_default" navindex="46" inputtype="button" format="(-)#,###" style="left:917px; top:445px; width:124px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("fcstordmat", model.getValue("/root/main/ptpm/fcstordmat"));
- setParameter("fcstinamt", model.getValue("/root/main/ptpm/fcstinamt"));
- setParameter("fcstchrgfood", model.getValue("/root/main/ptpm/fcstchrgfood"));
- setParameter("fcstmedimpsamt", model.getValue("/root/main/ptpm/fcstmedimpsamt"));
- setParameter("fcstinjamt", model.getValue("/root/main/ptpm/fcstinjamt"));
- setParameter("fcstanstamt", model.getValue("/root/main/ptpm/fcstanstamt"));
- setParameter("fcstcureopamt", model.getValue("/root/main/ptpm/fcstcureopamt"));
- setParameter("fcsttestamt", model.getValue("/root/main/ptpm/fcsttestamt"));
- setParameter("fcstimgdiagrayamt", model.getValue("/root/main/ptpm/fcstimgdiagrayamt"));
- setParameter("fcstscitamt", model.getValue("/root/main/ptpm/fcstscitamt"));
- setParameter("fcstpsypamt", model.getValue("/root/main/ptpm/fcstpsypamt"));
- setParameter("fcstctordamt", model.getValue("/root/main/ptpm/fcstctordamt"));
- setParameter("fcstmriordamt", model.getValue("/root/main/ptpm/fcstmriordamt"));
- setParameter("fcstpetordamt", model.getValue("/root/main/ptpm/fcstpetordamt"));
- setParameter("fcstchoiordamt", model.getValue("/root/main/ptpm/fcstchoiordamt"));
- setParameter("fcstnopyamt", model.getValue("/root/main/ptpm/fcstnopyamt"));
- setParameter("fcstetcamt", model.getValue("/root/main/ptpm/fcstetcamt"));
- setParameter("fcstcurematramt", model.getValue("/root/main/ptpm/fcstcurematramt"));
-
-
- setParameter("deciordmat", model.getValue("/root/main/ptpm/deciordmat"));
- setParameter("deciinamt", model.getValue("/root/main/ptpm/deciinamt"));
- setParameter("decichrgfood", model.getValue("/root/main/ptpm/decichrgfood"));
- setParameter("decimedimpsamt", model.getValue("/root/main/ptpm/decimedimpsamt"));
- setParameter("deciinjamt", model.getValue("/root/main/ptpm/deciinjamt"));
- setParameter("decianstamt", model.getValue("/root/main/ptpm/decianstamt"));
- setParameter("decicureopamt", model.getValue("/root/main/ptpm/decicureopamt"));
- setParameter("decitestamt", model.getValue("/root/main/ptpm/decitestamt"));
- setParameter("deciimgdiagrayamt", model.getValue("/root/main/ptpm/deciimgdiagrayamt"));
- setParameter("deciscitamt", model.getValue("/root/main/ptpm/deciscitamt"));
- setParameter("decipsypamt", model.getValue("/root/main/ptpm/decipsypamt"));
- setParameter("decictordamt", model.getValue("/root/main/ptpm/decictordamt"));
- setParameter("decimriordamt", model.getValue("/root/main/ptpm/decimriordamt"));
- setParameter("decipetordamt", model.getValue("/root/main/ptpm/decipetordamt"));
- setParameter("decichoiordamt", model.getValue("/root/main/ptpm/decichoiordamt"));
- setParameter("decinopyamt", model.getValue("/root/main/ptpm/decinopyamt"));
- setParameter("decietcamt", model.getValue("/root/main/ptpm/decietcamt"));
- setParameter("decicurematramt", model.getValue("/root/main/ptpm/decicurematramt"));
-
- open("SPPMC07000");
-
- model.refresh();
-
- model.setFocus("ipt_refltdd");
-
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText(",");
- var vchoiordrtnfcstamt = eval(model.getValue("/root/main/ptpm/nonpayallamt")) + eval(model.getValue("/root/main/ptpm/choiordamt")) - eval(model.getValue("/root/main/ptpm/fcstdeciamt"));
- if (event.keyCode == "13")
- {
- model.setValue("/root/main/ptpm/tretflag" , "4");
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", vchoiordrtnfcstamt);
- model.setValue("/root/main/ptpm/ordfcstamt", model.getValue("/root/main/ptpm/fcstdeciamt"));
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- model.setFocus("ipt_roothospexpsflag");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="ipt_roothospexpsflag" ref="/root/main/ptpm/roothospexpsflag" navindex="48" appearance="minimal" style="left:374px; top:445px; width:120px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>면담</label>
- <value>A</value>
- </item>
- <item>
- <label>전화상담</label>
- <value>B</value>
- </item>
- <item>
- <label>자료제출</label>
- <value>C</value>
- </item>
- <item>
- <label>취하서</label>
- <value>D</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_ordfcstamt");
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_ordfcstdd" ref="/root/main/ptpm/ordfcstdd" class="input_default" navindex="50" inputtype="date" style="left:711px; top:445px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_dedutretdd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption64" class="cell_1" style="left:917px; top:420px; width:124px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">환불금</caption>
- <caption id="caption65" class="cell_1" style="left:374px; top:420px; width:120px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">처리방법</caption>
- <caption id="caption66" class="cell_1" style="left:608px; top:420px; width:100px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">공제문서번호</caption>
- <caption id="caption67" class="cell_1" style="left:814px; top:420px; width:100px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">공제차수</caption>
- <caption id="caption68" class="cell_1" style="left:505px; top:420px; width:100; height:23px; color:#000000; text-align:center; vertical-align:middle; ">공문서접수일</caption>
- <input id="ipt_dedutretdd" ref="/root/main/ptpm/dedutretdd" class="input_default" navindex="51" inputtype="date" style="left:504px; top:445px; width:100; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_dedudocuno");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dedudocuno" ref="/root/main/ptpm/dedudocuno" class="input_default" navindex="52" style="left:608px; top:445px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_lastenddd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_lastenddd" ref="/root/main/ptpm/lastenddd" class="input_default" navindex="53" style="left:814px; top:445px; width:100px; height:19px; "/>
- <input id="input23" ref="/root/main/ptpm/totalamt" class="input_default" navindex="16" format="(-)#,###" style="left:5px; top:214px; width:129px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption35" class="cell_1" style="left:5px; top:189px; width:129px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">총진료비</caption>
- <button id="button2" class="btn_sw" group="tab" style="left:83px; top:471px; width:80px; height:22px; ">
- <caption>청구이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.toggle("case4");
- //fGetColorChangeChoslist();
- button6.visible = false;
- button7.visible = true;
- ]]>
- </script>
- </button>
- <button id="btn_m_otpt" class="btn_sw" group="tab" selected="true" style="left:6px; top:471px; width:75px; height:22px; ">
- <caption>내원이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.toggle("case3");
- //fGetColorChangeChoslist();
- button6.visible = true;
- button7.visible = false;
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:5px; top:500px; width:1187px; height:170px; ">
- <case id="case3" selected="true">
- <datagrid id="grd_chosrec" nodeset="/root/main/list1/chosreclist" caption="선택^사용여부^내원유형^진료/입원일자^퇴원일자^진료과^전문의^보험유형^보조유형^미수총액^총진료비^환자부담금총액^급여액^비급여액^선택진료료^감면금^심사자^생성번호^일련번호^심사자ID^등록번호^공문접수일^공문생성번호^진료과코드^진료의id" colsep="^" colwidth="35, 60, 60, 85, 75, 97, 80, 82, 72, 80, 80, 100,82, 82, 79, 83, 88, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="35" style="left:0px; top:0px; width:1182px; height:163px; ">
- <col checkvalue="Y,N" ref="patspecyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="histyn" type="checkbox"/>
- <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordindd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0010list/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="uncototamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="totordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="totownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="payamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="nopyamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="specordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="discamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgrnm"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="judgrid" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="ofidocacptdd" visibility="hidden"/>
- <col ref="ofidocretno" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
-
- model.removenode("/root/main/ptpm/orddeptcd");
- model.removenode("/root/main/ptpm/orddrid");
- model.removenode("/root/main/ptpm/ordfromdd");
- model.removenode("/root/main/ptpm/ordtodd");
- model.removenode("/root/main/ptpm/ioflag");
- model.removenode("/root/main/ptpm/orddeptnm");
- model.removenode("/root/main/ptpm/orddrnm");
-
- model.makeNode("/root/main/ptpm/orddeptcd");
- model.makeNode("/root/main/ptpm/orddrid");
- model.makeNode("/root/main/ptpm/ordfromdd");
- model.makeNode("/root/main/ptpm/ordtodd");
- model.makeNode("/root/main/ptpm/ioflag");
- model.makeNode("/root/main/ptpm/orddeptnm");
- model.makeNode("/root/main/ptpm/orddrnm");
-
- var totordamtsum = '0';
- var totownbamtsum = '0';
- var nopyamttsum = '0';
- var specordamtsum = '0';
- var uncoamtsum = '0';
- var discamtsum = '0';
- var orddeptcd = "";
- var orddrid = "";
- var ordfromdd = "";
- var ordtodd = "";
- var ioflag = "";
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totordamt");
- var temp2 = model.getValue("/root/main/list1/chosreclist["+ i + "]/nopyamt");
- var temp3 = model.getValue("/root/main/list1/chosreclist["+ i + "]/specordamt");
- var temp4 = model.getValue("/root/main/list1/chosreclist["+ i + "]/uncototamt");
- var temp5 = model.getValue("/root/main/list1/chosreclist["+ i + "]/discamt");
- var temp6 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totownbamt");
- totordamtsum = parseInt(totordamtsum) + parseInt(temp1);
- nopyamttsum = parseInt(nopyamttsum) + parseInt(temp2);
- specordamtsum = parseInt(specordamtsum) + parseInt(temp3);
- uncoamtsum = parseInt(uncoamtsum) + parseInt(temp4);
- discamtsum = parseInt(discamtsum) + parseInt(temp5);
- totownbamtsum = parseInt(totownbamtsum) + parseInt(temp6);
-
- orddeptcd = model.getValue("/root/main/list1/chosreclist["+ i + "]/orddeptcd");
- orddrid = model.getValue("/root/main/list1/chosreclist["+ i + "]/orddrid");
- ordfromdd = model.getValue("/root/main/list1/chosreclist["+ i + "]/ordindd");
- ordtodd = model.getValue("/root/main/list1/chosreclist["+ i + "]/dschdd");
- ioflag = model.getValue("/root/main/list1/chosreclist["+ i + "]/ioflag");
- orddeptnm = model.getValue("/root/main/list1/chosreclist["+ i + "]/orddeptnm");
- orddrnm = model.getValue("/root/main/list1/chosreclist["+ i + "]/orddrnm");
- }
- }
-
- model.setValue("/root/main/ptpm/totalamt", totordamtsum);
- model.setValue("/root/main/ptpm/patowntotamt", totownbamtsum);
- model.setValue("/root/main/ptpm/nonpayallamt", nopyamttsum);
- model.setValue("/root/main/ptpm/choiordamt", specordamtsum);
- model.setValue("/root/main/ptpm/uncoamt", uncoamtsum);
- model.setValue("/root/main/ptpm/discamt", discamtsum);
-
- model.setValue("/root/main/ptpm/orddeptcd", orddeptcd);
- model.setValue("/root/main/ptpm/orddrid", orddrid);
- model.setValue("/root/main/ptpm/ordfromdd", ordfromdd);
- model.setValue("/root/main/ptpm/ordtodd", ordtodd);
- model.setValue("/root/main/ptpm/ioflag", ioflag);
- model.setValue("/root/main/ptpm/orddeptnm", orddeptnm);
- model.setValue("/root/main/ptpm/orddrnm", orddrnm);
-
- model.setValue("/root/main/ptpm/tretflag", "1");
- ipt_tretflag.dispatch("xforms-value-changed");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_chosrec.isCell(event.target) && grd_chosrec.mouseRow >= grd_chosrec.fixedrows) {
-
- var cur_row = grd_chosrec.row;
-
- setParameter("pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- setParameter("orddd", grd_chosrec.valueMatrix(cur_row, grd_chosrec.colRef("ordindd")));
- setParameter("dschdd", grd_chosrec.valueMatrix(cur_row, grd_chosrec.colRef("dschdd")));
- setParameter("cretno", grd_chosrec.valueMatrix(cur_row, grd_chosrec.colRef("cretno")));
- setParameter("ioflag", grd_chosrec.valueMatrix(cur_row, grd_chosrec.colRef("ioflag")));
-
- open("../../../pam/patinfomngtweb/xrw/SPPMC07200_수진내역상세처방리스트", "1", "20", "80" ,"SPPMC07200_수진내역상세처방리스트", "", "");
- //}
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case4">
- <datagrid id="datagrid1" nodeset="/root/main/list2/clamlist" caption="선택^사용여부^내원유형^청구월^청구구분^차수^유형^보조^청구과^진료과^주치의^접수번호^명일련^진료개시일^진료종료일^심사결정^총진료비^본인부담액^청구액^상한액^지원금^대불금^장애인^심사자^등록번호순번^작업구분^등록번호^공문접수일^공문생성번호" colsep="^" colwidth="40, 60, 59, 100, 100, 100, 56, 100, 80, 92, 92, 87, 87, 87, 87, 87, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="35" style="left:0px; top:0px; width:1182px; height:163px; ">
- <col checkvalue="Y,N" ref="patspecyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="histyn" type="checkbox"/>
- <col ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="suppkind" style="text-align:center; "/>
- <col disabled="true" ref="clamdeptnm" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0437list/P0437">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="judgyn" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="edimedcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ediownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ediinsuclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ediownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="edisuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="edisubtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="edihandcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgrnm" style="text-align:center; "/>
- <col ref="pidsn" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="ofidocacptdd" visibility="hidden"/>
- <col ref="ofidocretno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rows = model.getValue("/root/temp/clamlistcnt");
-
- //var temp = '';
- var edimedcaretotamttsum = '0';
- var ediownbamtsum = '0';
- var ediinsuclamamtsum = '0';
- var ediownbmaxexamt = '0';
- var edisuppamt = '0';
- var edisubtamt = '0';
- var edihandcaprfund = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list2/clamlist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list2/clamlist["+ i + "]/edimedcaretotamt");
- var temp2 = model.getValue("/root/main/list2/clamlist["+ i + "]/ediownbamt");
- var temp3 = model.getValue("/root/main/list2/clamlist["+ i + "]/ediinsuclamamt");
- var temp4 = model.getValue("/root/main/list2/clamlist["+ i + "]/ediownbmaxexamt");
- var temp5 = model.getValue("/root/main/list2/clamlist["+ i + "]/edisuppamt");
- var temp6 = model.getValue("/root/main/list2/clamlist["+ i + "]/edisubtamt");
- var temp7 = model.getValue("/root/main/list2/clamlist["+ i + "]/edihandcaprfund");
-
- edimedcaretotamttsum = parseInt(edimedcaretotamttsum) + parseInt(temp1);
- ediownbamtsum = parseInt(ediownbamtsum) + parseInt(temp2);
- ediinsuclamamtsum = parseInt(ediinsuclamamtsum) + parseInt(temp3);
- ediownbmaxexamt = parseInt(ediownbmaxexamt) + parseInt(temp4);
- edisuppamt = parseInt(edisuppamt) + parseInt(temp5);
- edisubtamt = parseInt(edisubtamt) + parseInt(temp6);
- edihandcaprfund = parseInt(edihandcaprfund) + parseInt(temp7);
- }
- }
-
- model.setValue("/root/main/ptpm/edimedcaretotamt", edimedcaretotamttsum);
- model.setValue("/root/main/ptpm/ediownbamt", ediownbamtsum);
- model.setValue("/root/main/ptpm/ediinsuclamamt", ediinsuclamamtsum);
- model.setValue("/root/main/ptpm/ediownbmaxexamt", ediownbmaxexamt);
- model.setValue("/root/main/ptpm/edisuppamt", edisuppamt);
- model.setValue("/root/main/ptpm/edisubtamt", edisubtamt);
- model.setValue("/root/main/ptpm/edihandcaprfund", edihandcaprfund);
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <caption id="caption79" class="cell_1" visibility="hidden" style="left:485px; top:615px; width:103px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">환수완료여부</caption>
- <select1 id="ipt_rtnendyn" ref="/root/main/ptpm/rtnendyn" navindex="47" visibility="hidden" appearance="minimal" style="left:485px; top:640px; width:103px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_roothospexpsflag");
- }
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/main/ptpm/ofidocdocuno" class="input_default" navindex="6" style="left:201px; top:140px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_chrgernm");
- }
- ]]>
- </script>
- </input>
- <caption id="caption20" class="cell_1" style="left:201px; top:105px; width:85px; height:33px; text-align:center; vertical-align:middle; ">공문접수번호</caption>
- <button id="button6" class="btn2_letter4" style="left:1121px; top:471px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_chosrec.saveExcel(fileName, "SheetName", true, true, "", "");
- }
-
- window.exec(fileName);
-
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter4" style="left:1121px; top:471px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- datagrid1.saveExcel(fileName, "SheetName", true, true, "", "");
- }
-
- window.exec(fileName);
-
- ]]>
- </script>
- </button>
- <caption id="caption82" class="cell_1" style="left:752px; top:30px; width:55px; height:23px; vertical-align:middle; ">사망일시</caption>
- <caption id="caption83" class="cell_1" style="left:650px; top:30px; width:55px; height:23px; vertical-align:middle; ">사망여부</caption>
- <output id="input2" ref="/root/main/ptbs/ptbs_dethdt" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:809px; top:31px; width:78px; height:19px; "/>
- <output id="combo1" ref="/root/main/ptbs/ptbs_dethyn" class="output_fix" appearance="output" style="left:707px; top:31px; width:43px; height:19px; "/>
- <caption id="caption34" class="cell_1" style="left:137px; top:189px; width:129px; height:23px; text-align:center; vertical-align:middle; ">환자부담금총액</caption>
- <input id="ipt_patowntotamt" ref="/root/main/ptpm/patowntotamt" class="input_default" navindex="16" format="(-)#,###" style="left:137px; top:214px; width:129px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption84" class="cell_1" style="left:289px; top:105px; width:50px; height:33px; text-align:center; vertical-align:middle; ">순번</caption>
- <input id="ipt_ofidocretno" ref="/root/main/ptpm/ofidocretno" class="input_default" disabled="true" navindex="6" style="left:289px; top:140px; width:50px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_chrgernm");
- }
- ]]>
- </script>
- </input>
- <caption id="caption85" class="cell_1" style="left:725px; top:54px; width:55px; height:22px; vertical-align:middle; ">주치의</caption>
- <caption id="caption86" class="cell_1" style="left:511px; top:30px; width:55px; height:22px; vertical-align:middle; ">보험유형</caption>
- <select1 id="cmb_insukind" ref="/root/main/ptbs/ptbs_insukind" disabled="true" appearance="minimal" style="left:568px; top:31px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption87" class="cell_1" style="left:196px; top:345px; width:95px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청
- 인정액]]>
- </caption>
- <input id="ipt_obtapprcamt" ref="/root/main/ptpm/obtapprcamt" class="input_default" navindex="34" format="(-)#,###" style="left:196px; top:376px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappaftrtndeciamt");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_addreqdd" ref="/root/main/ptpm/addreqdd" class="input_default" navindex="28" inputtype="date" style="left:639px; top:295px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_addclamamt");
- }
- ]]>
- </script>
- </input>
- <caption id="caption88" class="cell_1" style="left:639px; top:261px; width:85px; height:32px; color:#000000; text-align:center; vertical-align:middle; ">추가청구일자</caption>
- <input id="input6" ref="/root/main/ptpm/addclamamt" class="input_default" format="(-)#,###" style="left:727px; top:295px; width:101px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_addreqdepodd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption90" class="cell_1" style="left:727px; top:261px; width:101px; height:32px; text-align:center; vertical-align:middle; ">
- <![CDATA[추가청구액
- (급여정산액)]]>
- </caption>
- <caption id="caption91" class="cell_1" style="left:511px; top:54px; width:55px; height:22px; vertical-align:middle; ">진료과</caption>
- <caption id="caption2" class="cell_1" style="left:342px; top:105px; width:60px; height:33px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[구분
- (입/외)]]>
- </caption>
- <input id="ipt_ordfromdd" ref="/root/main/ptpm/ordfromdd" class="input_default" navindex="5" editable="true" inputtype="date" style="left:607px; top:140px; width:90px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:607px; top:105px; width:90px; height:33px; text-align:center; vertical-align:middle; ">
- <![CDATA[입원일
- (외래)]]>
- </caption>
- <input id="ipt_ordtodd" ref="/root/main/ptpm/ordtodd" class="input_default" navindex="5" editable="true" inputtype="date" style="left:700px; top:140px; width:92px; height:19px; "/>
- <caption id="caption15" class="cell_1" style="left:700px; top:105px; width:92px; height:33px; text-align:center; vertical-align:middle; ">
- <![CDATA[퇴원일
- (외래)]]>
- </caption>
- <input id="ipt_datacollanldrnotidd" ref="/root/main/ptpm/datacollanldrnotidd" class="input_default" navindex="5" inputtype="date" style="left:795px; top:140px; width:134px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("input1");
- }
- ]]>
- </script>
- </input>
- <caption id="caption23" class="cell_1" style="left:795px; top:105px; width:134px; height:33px; text-align:center; vertical-align:middle; ">
- <![CDATA[자료수집 및 분석
- 주치교수 통보일자]]>
- </caption>
- <select1 id="cmb_ioflag" ref="/root/main/ptpm/ioflag" class="combo_default" navindex="4" appearance="minimal" style="left:342px; top:140px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_civilapler");
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_discamt" ref="/root/main/ptpm/discamt" class="input_default" navindex="20" format="(-)#,###" style="left:1108px; top:140px; width:77px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption7" class="cell_1" style="left:1108px; top:105px; width:77px; height:33px; color:#000000; text-align:center; vertical-align:middle; ">할인액</caption>
- <caption id="caption16" class="cell_1" style="left:1029px; top:105px; width:77px; height:33px; color:#000000; text-align:center; vertical-align:middle; ">미수액</caption>
- <input id="input3" ref="/root/main/ptbs/totaluncoamt" class="input_default" disabled="true" navindex="19" format="(-)#,###" style="left:940px; top:140px; width:87px; height:19px; text-align:right; "/>
- <input id="ipt_uncoamt" ref="/root/main/ptpm/uncoamt" class="input_default" disabled="false" navindex="19" format="(-)#,###" style="left:1029px; top:140px; width:77px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption80" class="cell_1" style="left:940px; top:105px; width:87px; height:33px; color:#000000; text-align:center; vertical-align:middle; ">미수잔액</caption>
- <line id="line25" class="line_1" style="x1:940px; y1:99px; x2:1186px; y2:99px; "/>
- <caption id="caption77" class="tit_2" style="left:940px; top:84px; width:80px; height:13px; font-family:돋움; color:#000000; vertical-align:middle; ">기타금액</caption>
- <input id="ipt_datadelivedd" ref="/root/main/ptpm/datadelivedd" class="input_default" navindex="28" inputtype="date" style="left:83px; top:295px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgrid");
- }
- ]]>
- </script>
- </input>
- <caption id="caption26" class="cell_1" style="left:83px; top:261px; width:85px; height:32px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[심평원자료
- 제출일자]]>
- </caption>
- <input id="ipt_paycalcamt" ref="/root/main/ptpm/paycalcamt" class="input_default" navindex="25" format="(-)#,###" appearance="minimal" style="left:361px; top:295px; width:93px; height:19px; text-align:right; vertical-align:bottom; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText(",");
- var vpaycalcamt = eval(model.getValue("/root/main/ptpm/rtnschenotiamt")) - eval(model.getValue("/root/main/ptpm/paycalcamt"));
- if (event.keyCode == "13")
- {
- model.setValue("/root/main/ptpm/addclamamt" , model.getValue("/root/main/ptpm/paycalcamt"));
- model.setValue("/root/main/ptpm/purertnamt", vpaycalcamt);
- model.setFocus("ipt_purertnamt");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var vpaycalcamt = eval(model.getValue("/root/main/ptpm/rtnschenotiamt")) - eval(model.getValue("/root/main/ptpm/paycalcamt"));
-
- model.setValue("/root/main/ptpm/addclamamt" , model.getValue("/root/main/ptpm/paycalcamt"));
- model.setValue("/root/main/ptpm/purertnamt", vpaycalcamt);
- //model.setFocus("ipt_purertnamt");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption24" class="cell_1" style="left:361px; top:278px; width:93px; height:15px; color:#000000; text-align:center; vertical-align:middle; ">급여정산액</caption>
- <input id="ipt_purertnamt" ref="/root/main/ptpm/purertnamt" class="input_default" navindex="25" format="(-)#,###" appearance="minimal" style="left:456px; top:295px; width:92px; height:19px; text-align:right; vertical-align:bottom; "/>
- <caption id="caption27" class="cell_1" style="left:456px; top:278px; width:92px; height:15px; color:#000000; text-align:center; vertical-align:middle; ">순수환불액</caption>
- <caption id="caption25" class="cell_1" style="left:171px; top:261px; width:377px; height:15px; color:#000000; text-align:center; vertical-align:middle; ">심평원 총괄 진료비 정산내역</caption>
- <caption id="caption19" class="cell_1" style="left:933px; top:344px; width:127px; height:30px; text-align:center; vertical-align:middle; ">
- <![CDATA[심판청구
- 불인정액]]>
- </caption>
- <input id="ipt_judgreqnorcamt" ref="/root/main/ptpm/judgreqnorcamt" class="input_default" navindex="41" format="(-)#,###" style="left:933px; top:376px; width:127px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_tretflag");
- }
- ]]>
- </script>
- </input>
- <line id="line7" class="line_1" style="x1:6px; y1:341px; x2:579px; y2:340px; "/>
- <caption id="caption28" class="tit_2" style="left:10px; top:324px; width:95px; height:13px; font-family:돋움; vertical-align:middle; ">이의신청</caption>
- <caption id="caption30" class="tit_2" style="left:594px; top:323px; width:96px; height:13px; font-family:돋움; vertical-align:middle; ">심판청구</caption>
- <line id="line11" class="line_1" style="x1:590px; y1:340px; x2:1183px; y2:339px; "/>
- <textarea id="tar_etcrem" ref="/root/main/ptpm/etcrem" class="input_default" appearance="textarea" style="left:930px; top:260px; width:255px; height:54px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText();
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_datadelivedd");
- }
- ]]>
- </script>
- </textarea>
- <line id="line14" class="line_1" style="x1:931px; y1:255px; x2:1184px; y2:255px; "/>
- <caption id="caption40" class="tit_2" style="left:931px; top:240px; width:113px; height:14px; font-family:돋움; color:#000000; vertical-align:middle; ">기타 특이사항</caption>
- <select1 id="cmb_orddeptcd" ref="/root/main/ptpm/orddeptcd" class="combo_default" disabled="false" visibility="hidden" appearance="minimal" itemcount="20" style="left:565px; top:80px; width:156px; 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[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + model.getValue("/root/main/ptpm/orddeptcd") + "']";
- //model.setValue("/root/main/ptpm/orddeptnm", cmb_orddeptcd.label);
- model.resetInstanceNode("/root/main/ptpm/orddrid"); // 진료과가 변경되었으므로 주치의를 초기화한다.
- model.refresh();
- cmb_orddrid.disabled = false;
- ]]>
- </script>
- </select1>
- <button id="button10" class="btn2_letter7" navindex="39" style="left:989px; top:4px; width:97px; height:19px; ">
- <caption>외래진료비내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag", "P");
-
- if(model.getValue("/root/main/ptbs/ptbs_pid") =="" || model.getValue("/root/main/ptbs/ptbs_hngnm") =="" )
- {
- messageBox("환자가 조회되지 않았습니다!","E999","");
- return;
- }else{
- modal("SMPMC03000", "1","150","150", "SMPMC03000", "/root/send/data3", "/root/hidden/data");
- }
- */
- /*
- var getreturnamt = getParameter("SMPMC03000_selectreturnamt");
- var getselectreturnamt = getParameter("SMPMC03000_returnamt");
-
- if( getreturnamt !='' && getselectreturnamt !=''){
- model.setValue("/root/main/ptpm/insuteamrtnfcstamt", getselectreturnamt);
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", getreturnamt);
-
- }
- */
- open("SMPAO00300", "1","150","150", "SMPAO00300", "", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddrid" ref="/root/main/ptpm/orddrid" class="combo_default" disabled="false" visibility="hidden" appearance="minimal" style="left:780px; top:80px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_drrsltnotidd" ref="/root/main/ptpm/drrsltnotidd" class="input_default" navindex="28" inputtype="date" style="left:551px; top:295px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_addclamamt");
- }
- ]]>
- </script>
- </input>
- <caption id="caption43" class="cell_1" style="left:551px; top:261px; width:85px; height:32px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[주치교수
- 결과통보일]]>
- </caption>
- <caption id="caption48" class="cell_1" style="left:171px; top:278px; width:93px; height:15px; color:#000000; text-align:center; vertical-align:middle; ">심평원통보일</caption>
- <input id="ipt_jvinotidd" ref="/root/main/ptpm/jvinotidd" class="input_default" navindex="28" inputtype="date" style="left:171px; top:295px; width:93px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgrid");
- }
- ]]>
- </script>
- </input>
- <caption id="caption60" class="cell_1" visibility="hidden" style="left:380px; top:615px; width:100px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">합의취하환불액</caption>
- <input id="ipt_aprvcnclrtnfcstamt" ref="/root/main/ptpm/aprvcnclrtnfcstamt" class="input_default" navindex="44" visibility="hidden" format="(-)#,###" style="left:380px; top:640px; width:100px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_fcstdecidd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption62" class="cell_1" visibility="hidden" style="left:590px; top:615px; width:95px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">실환불액</caption>
- <input id="ipt_ordfcstamt" ref="/root/main/ptpm/ordfcstamt" class="input_default" navindex="49" visibility="hidden" format="(-)#,###" style="left:590px; top:640px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_ordfcstdd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption70" class="cell_1" visibility="hidden" style="left:193px; top:570px; width:80px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">청구액</caption>
- <caption id="caption72" class="cell_1" visibility="hidden" style="left:452px; top:570px; width:83px; height:23px; text-align:center; vertical-align:middle; ">대불금</caption>
- <caption id="caption73" class="cell_1" visibility="hidden" style="left:25px; top:570px; width:85px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">총진료비</caption>
- <caption id="caption74" class="cell_1" visibility="hidden" style="left:113px; top:570px; width:77px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">본인부담액</caption>
- <caption id="caption75" class="cell_1" visibility="hidden" style="left:276px; top:570px; width:85px; height:23px; text-align:center; vertical-align:middle; ">상한액</caption>
- <line id="line23" class="line_3" visibility="hidden" style="x1:26px; y1:615px; x2:620px; y2:615px; "/>
- <caption id="caption76" class="cell_1" visibility="hidden" style="left:364px; top:570px; width:85px; height:23px; text-align:center; vertical-align:middle; ">지원금</caption>
- <input id="input22" ref="/root/main/ptpm/ediownbamt" class="input_default" navindex="16" visibility="hidden" format="(-)#,###" style="left:113px; top:595px; width:77px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption78" class="cell_1" visibility="hidden" style="left:537px; top:570px; width:85px; height:23px; text-align:center; vertical-align:middle; ">장애인</caption>
- <input id="input24" ref="/root/main/ptpm/ediownbmaxexamt" class="input_default" disabled="false" navindex="18" visibility="hidden" format="(-)#,###" style="left:276px; top:595px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="input25" ref="/root/main/ptpm/edisuppamt" class="input_default" disabled="false" navindex="19" visibility="hidden" format="(-)#,###" style="left:364px; top:595px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="input26" ref="/root/main/ptpm/edimedcaretotamt" class="input_default" navindex="16" visibility="hidden" format="(-)#,###" style="left:25px; top:595px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="input27" ref="/root/main/ptpm/ediinsuclamamt" class="input_default" navindex="17" visibility="hidden" format="(-)#,###" style="left:193px; top:595px; width:80px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="input28" ref="/root/main/ptpm/edisubtamt" class="input_default" navindex="20" visibility="hidden" format="(-)#,###" style="left:452px; top:595px; width:83px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="input29" ref="/root/main/ptpm/edihandcaprfund" class="input_default" navindex="20" visibility="hidden" format="(-)#,###" style="left:537px; top:595px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <group id="grp_addclamrem" visibility="hidden" style="left:620px; top:260px; width:305px; height:132px; border-color:#c7a3cf; border-style:solid; ">
- <caption id="cpt_text" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">추가청구비고</caption>
- <line id="line26" class="line_1" style="x1:0px; y1:15px; x2:300 px; y2:15px; "/>
- <textarea id="tea_addclamrem" ref="/root/temp/addclamrem" scroll="vertical" imemode="hangul" maxlength="1750" style="left:5px; top:21px; width:294px; height:84px; text-align:left; vertical-align:top; padding-left:5; "/>
- <button id="btn_closememo" class="btn4_letter2" style="left:239px; top:106px; width:56px; height:22px; ">
- <caption>
- <![CDATA[확인]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/main/ptpm/addclamrem", model.getValue("/root/temp/addclamrem"));
-
- grp_addclamrem.visible = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_obtapprsltrem" visibility="hidden" style="left:315px; top:260px; width:305px; height:132px; border-color:#c7a3cf; border-style:solid; ">
- <caption id="caption81" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">이의신청결과비고</caption>
- <line id="line27" class="line_1" style="x1:0px; y1:15px; x2:300 px; y2:15px; "/>
- <textarea id="tea_obtapprsltrem" ref="/root/temp/obtapprsltrem" scroll="vertical" imemode="hangul" maxlength="1750" style="left:5px; top:21px; width:294px; height:84px; text-align:left; vertical-align:top; padding-left:5; "/>
- <button id="button3" class="btn4_letter2" style="left:239px; top:106px; width:56px; height:22px; ">
- <caption>
- <![CDATA[확인]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/ptpm/obtapprsltrem", model.getValue("/root/temp/obtapprsltrem"));
-
- grp_obtapprsltrem.visible = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption95" class="cell_1" visibility="visible" style="left:797px; top:189px; width:129px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">취하금액</caption>
- <input id="input8" ref="/root/main/ptpm/aprvcnclrtnfcstamt" class="input_default" navindex="44" visibility="visible" format="(-)#,###" style="left:797px; top:214px; width:129px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText(",");
- var vchoiordrtnfcstamt = eval(model.getValue("/root/main/ptpm/nonpayallamt")) + eval(model.getValue("/root/main/ptpm/choiordamt")) - eval(model.getValue("/root/main/ptpm/aprvcnclrtnfcstamt"));
- if (event.keyCode == "13")
- {
- model.setValue("/root/main/ptpm/tretflag" , "5");
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", vchoiordrtnfcstamt);
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- //model.setFocus("ipt_paycalcamt");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input9" ref="/root/main/ptpm/ordfcstamt" class="input_default" navindex="44" visibility="visible" format="(-)#,###" style="left:929px; top:214px; width:129px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText(",");
- var vchoiordrtnfcstamt = eval(model.getValue("/root/main/ptpm/nonpayallamt")) + eval(model.getValue("/root/main/ptpm/choiordamt")) - eval(model.getValue("/root/main/ptpm/ordfcstamt"));
- if (event.keyCode == "13")
- {
- model.setValue("/root/main/ptpm/tretflag" , "4");
- model.setValue("/root/main/ptpm/fcstdeciamt", model.getValue("/root/main/ptpm/ordfcstamt"));
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", vchoiordrtnfcstamt);
- model.setValue("/root/main/ptpm/edimedcaretotamt", 0);
- //model.setFocus("ipt_paycalcamt");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption96" class="cell_1" visibility="visible" style="left:929px; top:189px; width:129px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">환불취하금액</caption>
- <input id="input10" ref="/root/main/ptpm/edimedcaretotamt" class="input_default" navindex="44" visibility="visible" format="(-)#,###" style="left:1061px; top:214px; width:124px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- /*
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_fcstdecidd");
- }
- */
- ]]>
- </script>
- </input>
- <caption id="caption97" class="cell_1" visibility="visible" style="left:1061px; top:189px; width:124px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">진행중금액</caption>
- <input id="input11" ref="/root/main/ptpm/orddeptnm" style="left:568px; top:55px; width:155px; height:19px; "/>
- <input id="input12" ref="/root/main/ptpm/orddrnm" style="left:782px; top:55px; width:105px; height:19px; "/>
- <button id="button13" class="btn2_letter2" navindex="38" style="left:1142px; top:236px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/ptpm/ofidocdocuno") == "") {
- messageBox("환자가 조회되지 않았습니다!","E999");
- return;
- } else {
- model.resetInstanceNode("/root/send/data7");
- model.makeValue("/root/send/data7/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.makeValue("/root/send/data7/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.makeValue("/root/send/data7/etcrem", model.getValue("/root/main/ptpm/etcrem"));
- submit("TXPMC03007");
- }
- ]]>
- </script>
- </button>
- <line id="line10" class="line_1" style="x1:505px; y1:417px; x2:1185px; y2:416px; "/>
- <caption id="caption71" class="tit_2" style="left:505px; top:401px; width:184px; height:14px; font-family:돋움; vertical-align:middle; ">공단 공제처리 결과통보</caption>
- <button id="button18" class="btn5_letter6" visibility="visible" style="left:835px; top:235px; width:86px; height:19px; ">
- <caption>전달사항등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SPPMC00301_pid", model.getValue("/root/main/ptpm/pid"));
- setParameter("SPPMC00301_ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- setParameter("SPPMC00301_ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- setParameter("SPPMC00301_orddeptcd", model.getValue("/root/main/ptpm/orddeptcd"));
- setParameter("SPPMC00301_orddrid", model.getValue("/root/main/ptpm/orddrid"));
- setParameter("SPPMC00301_tretflag", model.getValue("/root/main/ptpm/tretflag"));
- modal("SPPMC00301");
- ]]>
- </script>
- </button>
- <button id="button21" class="btn2_letter6" visibility="hidden" style="left:745px; top:235px; width:86px; height:19px; ">
- <caption>전달사항조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group6.visible = true;
- ]]>
- </script>
- </button>
- <caption id="caption98" class="cell_1" style="left:516px; top:105px; width:88px; height:33px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[환자/기관
- 구분]]>
- </caption>
- <input id="ipt_refltdd" ref="/root/main/ptpm/refltdd" class="input_default" navindex="46" inputtype="date" style="left:1044px; top:445px; width:90px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption99" class="cell_1" style="left:1044px; top:420px; width:90px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">반영일자</caption>
- <caption id="caption100" class="cell_1" style="left:1137px; top:420px; width:50px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">재계산</caption>
- <bool id="bol_recalcyn" checkvalue="Y,N" ref="/root/main/ptpm/recalcyn" style="left:1137px; top:445px; width:50px; height:20px; "/>
- <select1 id="cmb_insttype" ref="/root/main/ptpm/insttype" class="combo_default" navindex="4" appearance="minimal" style="left:516px; top:140px; width:88px; height:19px; ">
- <choices>
- <item>
- <label>환자</label>
- <value>환자</value>
- </item>
- <item>
- <label>기관</label>
- <value>기관</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_ordfromdd");
- }
- ]]>
- </script>
- </select1>
- <button id="button20" class="btn2_letter11" navindex="39" style="left:800px; top:4px; width:141px; height:19px; ">
- <caption>상급병실 신청 서명관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPPMI02800", "1","150","150", "SPPMI02800", "", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button22" class="btn2_letter7" navindex="39" style="left:989px; top:4px; width:97px; height:19px; ">
- <caption>외래진료비내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag", "P");
-
- if(model.getValue("/root/main/ptbs/ptbs_pid") =="" || model.getValue("/root/main/ptbs/ptbs_hngnm") =="" )
- {
- messageBox("환자가 조회되지 않았습니다!","E999","");
- return;
- }else{
- modal("SMPMC03000", "1","150","150", "SMPMC03000", "/root/send/data3", "/root/hidden/data");
- }
- */
- /*
- var getreturnamt = getParameter("SMPMC03000_selectreturnamt");
- var getselectreturnamt = getParameter("SMPMC03000_returnamt");
-
- if( getreturnamt !='' && getselectreturnamt !=''){
- model.setValue("/root/main/ptpm/insuteamrtnfcstamt", getselectreturnamt);
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", getreturnamt);
-
- }
- */
- open("SMPAO00300", "1","150","150", "SMPAO00300", "", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button23" class="btn2_letter8" navindex="39" style="left:689px; top:4px; width:108px; height:19px; ">
- <caption>선택진료신청조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMPMC06503", "1","150","150", "SMPMC06503", "", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input13" ref="/root/main/ptpm/tretdd" class="input_default" navindex="43" inputtype="date" style="left:83px; top:445px; width:88px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_cncldocudelivedd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption101" class="cell_1" style="left:83px; top:420px; width:88px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">처리일</caption>
- </case>
- </switch>
- <button id="btn_patprescond" class="btn_sw" navindex="40" group="tab" selected="true" style="left:0px; top:10px; width:86px; height:22px; ">
- <caption>수진내역현황</caption>
- <toggle case="case1" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_patspec" class="btn_sw" navindex="41" group="tab" style="left:86px; top:10px; width:86px; height:22px; ">
- <caption>수진내역</caption>
- <toggle case="case2" ev:event="xforms-activate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|