12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>산재/공상환자관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <primarySearch>
- <type/>
- <pid/>
- <mngtno/>
- <suppkind/>
- </primarySearch>
- <primarySearch1>
- <insukind/>
- <suppkind/>
- <reference/>
- <reference1/>
- <reference2/>
- <inhospflag/>
- <renew/>
- </primarySearch1>
- <insertdata/>
- <insertdata1>
- <pid/>
- <mngtno/>
- <mtrtseqno/>
- <seqno/>
- <histstat/>
- <chospresn/>
- <chosresndetl/>
- <ordflag/>
- <orddeptcd/>
- <orddrid/>
- <specordyn/>
- <reqdd/>
- <orddd/>
- <ordfromdd/>
- <ordtodd/>
- <aprydd/>
- <apryfromdd/>
- <aprytodd/>
- <aprydayno/>
- <aprtinstcd/>
- <inducstermrem/>
- <nurseflag/>
- <inducsbrchcd/>
- <endyn/>
- </insertdata1>
- <instcd/>
- <selectinfo>
- <pid/>
- <mngtno/>
- <insukind/>
- </selectinfo>
- <icswsaveinfo/>
- <iapfsaveinfo/>
- <icmssaveinfo>
- </icmssaveinfo>
- <sppiz00400/>
- <iaiwsend>
- <pid/>
- <mngtno/>
- <instcd/>
- <insukind/>
- </iaiwsend>
- <srchdiag>
- <basedd/>
- <diagcd/>
- <diagnm/>
- <selectedrdodiagkind/>
- </srchdiag>
- <search1>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <autoflag/>
- </search1>
- <smpmc03700>
- <cond/>
- <reference/>
- </smpmc03700>
- <SMPAI0020>
- <ipatflag/>
- <pid/>
- <indd/>
- <dschdd/>
- <fromdd/>
- <todd/>
- <cretno/>
- <instcd/>
- <mskind/>
- <sess_posinstcd/>
- </SMPAI0020>
- <airasend>
- <pid/>
- <mngtno/>
- <instcd/>
- <insukind/>
- </airasend>
- <newinsertdata1>
- <list/>
- <info>
- <pid/>
- <mngtno/>
- </info>
- </newinsertdata1>
- <iaiwreceive>
- <pid/>
- <mngtno/>
- <instcd/>
- <insukind/>
- </iaiwreceive>
- <indcaselist>
- <pid/>
- <mngtno/>
- <acddd/>
- <inducsbrchcd/>
- <hngnm/>
- <rrgstno/>
- </indcaselist>
- </send>
- <main>
- <primaryInfo>
- <insukind>41</insukind>
- <suppkind/>
- <reference>0</reference>
- <inhospflag>1</inhospflag>
- <renew/>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <tel/>
- <inducsbrchcd/>
- <bizplcenm/>
- <date1/>
- <date2/>
- </primaryInfo>
- <icpmgrd>
- <grdicpminfo>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <insukind/>
- <suppkind/>
- <mngtno/>
- <acddd/>
- <inducsbrchcd/>
- <bizplcergstseqno/>
- <ordopendd/>
- <ordtodd/>
- <chrgnm/>
- <endflag/>
- <inducsrem/>
- <lastupdtdt/>
- <lastupdtrid/>
- <seqno/>
- <histstat/>
- <endcnts/>
- <bizplceseqno/>
- </grdicpminfo>
- <ptbs>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <hometel/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <zipcdaddr/>
- <detladdr/>
- <mpphontel/>
- <sex/>
- <age/>
- <remfact/>
- </ptbs>
- </icpmgrd>
- <ptbsinfo>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <hometel/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <zipcdaddr/>
- <detladdr/>
- <mpphontel/>
- <sex/>
- <age/>
- <remfact/>
- </ptbsinfo>
- <icpminfo>
- <insukind>41</insukind>
- <suppkind/>
- <mngtno/>
- <inducsbrchcd/>
- <acddd/>
- <bizplcenm/>
- <ordopendd/>
- <ordtodd/>
- <chrgnm/>
- <endflag/>
- <inducsrem/>
- <seqno/>
- <pid/>
- <endcnts/>
- <bizplcergstseqno/>
- <bizplceseqno/>
- <coordresncd/>
- <mngtno_org/>
- </icpminfo>
- <icmtgrd>
- <grdicmtinfo>
- <chospresn/>
- <chosresndetl/>
- <ordflag/>
- <orddeptcd/>
- <orddrid/>
- <specordyn/>
- <reqdd/>
- <orddd/>
- <ordfromdd/>
- <ordtodd/>
- <aprydd/>
- <apryfromdd/>
- <aprytodd/>
- <aprydayno/>
- <aprtinstcd/>
- <inducstermrem/>
- <nurseflag/>
- <lastupdtdt/>
- <lastupdtrid/>
- <histstat/>
- <seqno/>
- <mtrtseqno/>
- <inducsbrchcd/>
- <endyn/>
- <orgspecordyn/>
- <coordresncd/>
- </grdicmtinfo>
- </icmtgrd>
- <icswgrd>
- <grdicswinfo>
- <issdd/>
- <snwpart/>
- <snwcd/>
- <detldesc/>
- <tootpart/>
- <cordtool/>
- <orddeptcd/>
- <orddrid/>
- <appdd/>
- <snwflagcd/>
- <snwcdcnts/>
- <snwapryyn/>
- <todd/>
- <inducssnwrem/>
- <lastupdtrid/>
- <lastupdtdt/>
- <pid/>
- <mngtno/>
- <snwseqno/>
- <seqno/>
- <histstat/>
- </grdicswinfo>
- </icswgrd>
- <iapfgrd>
- <grdiapfinfo>
- <profflagcd/>
- <orddeptcd/>
- <issdrid/>
- <cnfmdd/>
- <cnfmfromdd/>
- <cnfmtodd/>
- <cnfmdayno/>
- <cnfmamt/>
- <clamyn/>
- <profdocurem/>
- <lastupdtdt/>
- <lastupdtrid/>
- <histstat/>
- <pid/>
- <mngtno/>
- <insukind/>
- <profdocuseqno/>
- <seqno/>
- </grdiapfinfo>
- </iapfgrd>
- <icmsgrd>
- <grdicmsinfo>
- <mtrtamtflag/>
- <appfromdd/>
- <apptodd/>
- <appdd/>
- <pid/>
- <mngtno/>
- <seqno/>
- <histstat/>
- </grdicmsinfo>
- </icmsgrd>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <newicmtgrd>
- <newgrdicmtinfo>
- <chospresn/>
- <chosresndetl/>
- <ordflag/>
- <orddeptcd/>
- <orddrid/>
- <specordyn/>
- <mtrtseqno/>
- <seqno/>
- <orddeptcd2/>
- <orddrid2/>
- <specordyn2/>
- <mtrtseqno2/>
- <seqno2/>
- <orddeptcd3/>
- <orddrid3/>
- <specordyn3/>
- <mtrtseqno3/>
- <seqno3/>
- <orddeptcd4/>
- <orddrid4/>
- <specordyn4/>
- <mtrtseqno4/>
- <seqno4/>
- <orddeptcd5/>
- <orddrid5/>
- <specordyn5/>
- <mtrtseqno5/>
- <seqno5/>
- <orddeptcd6/>
- <orddrid6/>
- <specordyn6/>
- <mtrtseqno6/>
- <seqno6/>
- <orddeptcd7/>
- <orddrid7/>
- <specordyn7/>
- <mtrtseqno7/>
- <seqno7/>
- <orddeptcd8/>
- <orddrid8/>
- <specordyn8/>
- <mtrtseqno8/>
- <seqno8/>
- <orddeptcd9/>
- <orddrid9/>
- <specordyn9/>
- <mtrtseqno9/>
- <seqno9/>
- <orddeptcd10/>
- <orddrid10/>
- <specordyn10/>
- <mtrtseqno10/>
- <seqno10/>
- <reqdd/>
- <orddd/>
- <ordfromdd/>
- <ordtodd/>
- <aprydd/>
- <apryfromdd/>
- <aprytodd/>
- <aprydayno/>
- <aprtinstcd/>
- <inducstermrem/>
- <nurseflag/>
- <lastupdtdt/>
- <lastupdtrid/>
- <histstat/>
- <orgspecordyn/>
- <orgspecordyn2/>
- <orgspecordyn3/>
- <orgspecordyn4/>
- <orgspecordyn5/>
- <orgspecordyn6/>
- <orgspecordyn7/>
- <orgspecordyn8/>
- <orgspecordyn9/>
- <orgspecordyn10/>
- </newgrdicmtinfo>
- </newicmtgrd>
- <iaiwgrid>
- <grdiaiwsearch>
- <insukind/>
- <insukindnm/>
- <workdd/>
- <cnstdd/>
- <cnstspec/>
- <seqno/>
- </grdiaiwsearch>
- </iaiwgrid>
- <popupendflag/>
- </main>
- <init>
- <hidden>
- <suppkind>
- <up/>
- <nm/>
- <cd/>
- <ios/>
- </suppkind>
- <chosresn>
- <nm/>
- <cd/>
- </chosresn>
- <endcnts>
- <nm/>
- <cd/>
- </endcnts>
- <mtrtamtflag>
- <nm/>
- <cd/>
- </mtrtamtflag>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- <io/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <specordyn>
- <item>
- <cd>Y</cd>
- <nm>Y</nm>
- </item>
- <item>
- <cd>N</cd>
- <nm>N</nm>
- </item>
- </specordyn>
- <insukind>
- <items>
- <cd>41</cd>
- <nm>산재</nm>
- </items>
- <items>
- <cd>42</cd>
- <nm>공상</nm>
- </items>
- </insukind>
- <bizplce>
- <nm/>
- <cd/>
- </bizplce>
- <indulist>
- <nm/>
- <cd/>
- </indulist>
- <profcd>
- <nm/>
- <cd/>
- </profcd>
- <coordresncd>
- <nm/>
- <cd/>
- </coordresncd>
- </hidden>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- </init>
- <hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </source>
- <icmsinfo>
- <pid/>
- <mngtno/>
- <mtrtamtflag/>
- <appfromdd/>
- <seqno/>
- <histstat/>
- <apptodd/>
- <apptodd/>
- </icmsinfo>
- <popupmenu>
- <gridmenu>
- <item>
- <name>추가</name>
- <func>fGridAddRow</func>
- </item>
- <item>
- <name>삽입</name>
- <func>fGridInsertRow</func>
- </item>
- <item>
- <name>삭제</name>
- <func>fGridDeleteRow</func>
- </item>
- <item>
- <name>엑셀저장</name>
- <func>fGridSaveExcel</func>
- </item>
- </gridmenu>
- </popupmenu>
- <sppiz00400>
- <rslt>
- <diagcd/>
- <diaghngnm/>
- <diagengnm/>
- </rslt>
- </sppiz00400>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- <io/>
- </orddeptcd>
- <spclspecrem>
- <spclspec/>
- <oldspclspec/>
- </spclspecrem>
- <icmtrowcopy>
- <row/>
- </icmtrowcopy>
- <viewoption/>
- <updateresult/>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMC02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/primarySearch1" resultref="/root/main/icpmgrd"/>
- <submission id="TRPMC02702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/primarySearch" resultref="/root/main/ptbsinfo"/>
- <submission id="TXPMC02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insertdata" resultref="/root/hidden/updateresult"/>
- <submission id="TXPMC02702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insertdata" resultref="/root/hidden/updateresult"/>
- <submission id="TXPMC02713" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insertdata" resultref="/root/hidden/updateresult"/>
- <submission id="TXPMC02714" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ptbs" resultref="/root/temp/ptbs"/>
- <submission id="TRPMC02704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/primarySearch" resultref="/root/main/icmtgrd"/>
- <submission id="TXPMC02703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insertdata1" resultref="/root/hidden/updateresult"/>
- <submission id="TRPMC02705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/selectinfo" resultref="/root/main/icswgrd"/>
- <submission id="TXPMC02705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/icswsaveinfo" resultref="/root/hidden/updateresult"/>
- <submission id="TXPMC02706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/icswsaveinfo" resultref="/root/hidden/updateresult"/>
- <submission id="TRPMC02706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/selectinfo" resultref="/root/main/iapfgrd"/>
- <submission id="TXPMC02707" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/iapfsaveinfo" resultref="/root/hidden/updateresult"/>
- <submission id="TXPMC02708" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/iapfsaveinfo" resultref="/root/hidden/updateresult"/>
- <submission id="TRPMC02707" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/selectinfo" resultref="/root/main/icmsgrd/grdicmsinfo"/>
- <submission id="TXPMC02709" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/icmssaveinfo" resultref="/root/hidden/updateresult"/>
- <submission id="TXPMC02710" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/icmssaveinfo" resultref="/root/hidden/updateresult"/>
- <submission id="TRPMC02708" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instcd" resultref="/root/init/hidden"/>
- <submission id="TXPMC02704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insertdata1"/>
- <submission id="TRPMC02709" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/primarySearch" resultref="/root/main/newicmtgrd"/>
- <submission id="TRPMC03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/iaiwreceive" resultref="/root/main/iaiwgrid"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 메뉴 파라미터를 통한 산재/공상 UI 구분
- function fSetScrnInfo() {
- var sMenuParam = model.getValue("/root/properties/menu/menuparam");
-
- if (sMenuParam == "41") { // 산재
- model.setValue("/root/main/primaryInfo/insukind", sMenuParam);
- model.setValue("/root/main/icpminfo/insukind", sMenuParam);
-
- caption6.text = "산재환자관리";
- button16.text = "산재지사관리";
- caption21.text = "산재관리번호";
- caption13.text = "산재지사";
- caption17.text = "사업장명";
- button22.text = "산재최초신청서";
- button24.text = "산재연장신청서";
- button6.text = "사업장관리";
-
- button6.attribute("class") = "btn2_letter5";
- button16.attribute("class") = "btn2_letter6";
-
- //button6.attribute("left") = "318px";
- //button16.attribute("left") = "231px";
-
- button20.visible = true;
- button21.visible = true;
-
- input9.attribute("format") ="999-99-99999-9";
- grd_icpminfo.caption = "환자번호^성명^주민번호^보험유형^보조유형^병행진료사유^관리번호^사고일자^산재지사^사업장명^진료개시일^진료종료일^외래예약^입원예약^담당자^종결구분^참고사항^수정일자^작업자^일련번호^이력상태^종결사유^bizplceseqno";
- grd_icpminfo.colwidth(7) = 73;
-
- grd_pmchicmt.caption = "요양구분^요양구분상세^외래/입원^진료과^의사^선택진료청구여부^결정통지일^승인시작일^승인종료일^종료여부^산재지사^승인요청일자^진료일자^시작일^종료일^일수^승인기관^참고사항^간병인여부^수정일자^작업자^이력상태^일련번호^요양일련번호";
- grd_pmchicmt.colwidth(11) = 90;
- grd_pmchicmt.colHidden(1) = false;
- grd_pmchicmt.colHidden(2) = false;
-
- } else if (sMenuParam == "42") { // 공상
- model.setValue("/root/main/primaryInfo/insukind", sMenuParam);
- model.setValue("/root/main/icpminfo/insukind", sMenuParam);
-
- caption6.text = "공상환자관리";
- button16.text = "공단";
- caption21.text = "승인번호";
- caption13.text = "공단";
- caption17.text = "연금취급기관";
- button22.text = "공상최초신청서";
- button24.text = "공상연장신청서";
- button6.text = "연금취급기관";
-
- button6.attribute("class") = "btn2_letter6";
- button16.attribute("class") = "btn2_letter2";
-
- //button6.attribute("left") = "307px";
- //button16.attribute("left") = "264px";
-
- button20.visible = false;
- button21.visible = false;
-
- input9.attribute("format") ="";
- grd_icpminfo.caption = "환자번호^성명^주민번호^보험유형^보조유형^병행진료사유^관리번호^사고일자^공단^연금취급기관^진료개시일^진료종료일^외래예약^입원예약^담당자^종결구분^참고사항^수정일자^작업자^일련번호^이력상태^종결사유^bizplceseqno";
- grd_icpminfo.colwidth(8) = 90;
-
- grd_pmchicmt.caption = "요양구분^요양구분상세^외래/입원^진료과^의사^선택진료청구여부^결정통지일^승인시작일^승인종료일^종료여부^공단^승인요청일자^진료일자^시작일^종료일^일수^승인기관^참고사항^간병인여부^수정일자^작업자^이력상태^일련번호^요양일련번호";
- //grd_pmchicmt.colwidth(11) = 90;
- grd_pmchicmt.colHidden(1) = true;
- grd_pmchicmt.colHidden(2) = true;
-
- } else { // 산재 - default
-
- model.setValue("/root/main/primaryInfo/insukind", "41");
- model.setValue("/root/main/icpminfo/insukind", "41");
-
- caption6.text = "산재환자관리";
- button16.text = "산재지사관리";
- caption21.text = "산재관리번호";
- caption13.text = "산재지사";
- caption17.text = "사업장명";
- button22.text = "산재최초신청서";
- button24.text = "산재연장신청서";
- button6.text = "사업장관리";
-
- button6.attribute("class") = "btn2_letter5";
- button16.attribute("class") = "btn2_letter6";
-
- //button6.attribute("left") = "318px";
- //button16.attribute("left") = "231px";
-
- button20.visible = true;
- button21.visible = true;
-
- input9.attribute("format") ="999-99-99999-9";
- grd_icpminfo.caption = "환자번호^성명^주민번호^보험유형^보조유형^병행진료사유^관리번호^사고일자^산재지사^사업장명^진료개시일^진료종료일^외래예약^입원예약^담당자^종결구분^참고사항^수정일자^작업자^일련번호^이력상태^종결사유^bizplceseqno";
- grd_icpminfo.colwidth(7) = 73;
-
- grd_pmchicmt.caption = "요양구분^요양구분상세^외래/입원^진료과^의사^선택진료청구여부^결정통지일^승인시작일^승인종료일^종료여부^산재지사^승인요청일자^진료일자^시작일^종료일^일수^승인기관^참고사항^간병인여부^수정일자^작업자^이력상태^일련번호^요양일련번호";
- grd_pmchicmt.colwidth(11) = 90;
-
- grd_pmchicmt.colHidden(1) = false;
- grd_pmchicmt.colHidden(2) = false;
-
- /*
- model.setValue("/root/main/primaryInfo/insukind", "42");
- model.setValue("/root/main/icpminfo/insukind", "42");
-
- caption6.text = "공상환자관리";
- button16.text = "공단";
- caption21.text = "승인번호";
- caption13.text = "공단";
- caption17.text = "연금취급기관";
- button22.text = "공상최초신청서";
- button24.text = "공상연장신청서";
- button6.text = "연금취급기관";
-
- button6.attribute("class") = "btn2_letter6";
- button16.attribute("class") = "btn2_letter2";
-
- button6.attribute("left") = "307px";
- button16.attribute("left") = "264px";
-
- button20.visible = false;
- button21.visible = false;
-
- input9.attribute("format") ="";
- grd_icpminfo.caption = "환자번호^성명^주민번호^보험유형^보조유형^관리번호^사고일자^공단^연금취급기관^진료개시일^진료종료일^외래예약^입원예약^담당자^종결구분^참고사항^수정일자^작업자^일련번호^이력상태^종결사유^bizplceseqno";
- grd_icpminfo.colwidth(8) = 90;
-
- grd_pmchicmt.caption = "요양구분^요양구분상세^외래/입원^진료과^의사^선택진료청구여부^승인일자^승인시작일^승인종료일^종료여부^공단^승인요청일자^진료일자^시작일^종료일^일수^승인기관^참고사항^간병인여부^수정일자^작업자^이력상태^일련번호^요양일련번호";
- //grd_pmchicmt.colwidth(11) = 90;
-
- grd_pmchicmt.colHidden(1) = true;
- grd_pmchicmt.colHidden(2) = true;
- */
- }
-
- fSuppKindSet();
- fSuppKindSet1();
- }
-
- function fSetDiagCdNm(){
- if (grd_icswinfo.row >= 1){
- if (model.getvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/histstat") != "I"){
- grd_icswinfo.addstatus(grd_icswinfo.row, "update");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/histstat", "U");
- }
- model.setValue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/snwcd", model.getValue("/root/hidden/sppiz00400/rslt/diagcd"));
-
- if (model.getValue("/root/hidden/sppiz00400/rslt/diaghngnm") != "") {
- model.setValue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/detldesc",model.getValue("/root/hidden/sppiz00400/rslt/diaghngnm"));
- } else {
- model.setValue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/detldesc",model.getValue("/root/hidden/sppiz00400/rslt/diagengnm"));
- }
- model.refresh();
- }
- }
- function fOrdDrSet(name)
- {
- if(name.col == 4 && name == grd_pmchicmt){
- var sorddeptcd = name.valueMatrix(name.row, 4);
- name.cellComboNodeset(name.row,5) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- name.refresh();
- }
- if(name.col == 8 && name == grd_icswinfo){
- var sorddeptcd = name.valueMatrix(name.row, 8);
- name.cellComboNodeset(name.row,9) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- name.refresh();
- }
- if(name.col == 2 && name == grd_iapfinfo){
- var sorddeptcd = name.valueMatrix(name.row, 2);
- name.cellComboNodeset(name.row,3) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- name.refresh();
- }
- }
- function fSuppKindSet()
- {
- var ssuppkindcd = model.getValue("/root/main/icpminfo/insukind");
- cbo_suppkind1.choices.itemset.attribute("nodeset") = "/root/init/hidden/suppkind[up = '" + ssuppkindcd + "' ]";
- cbo_suppkind1.refresh();
- }
- function fSuppKindSet1()
- {
- var ssuppkindcd = model.getValue("/root/main/primaryInfo/insukind");
- if (ssuppkindcd != "1") {
- cbo_suppkind.choices.itemset.attribute("nodeset") = "/root/init/hidden/suppkind[up = '" + ssuppkindcd + "' ]";
- cbo_suppkind.refresh();
- }
- }
- //화면 초기화
- function fInitialize(){
- model.resetInstanceNode("/root/main/primaryInfo");
- model.resetInstanceNode("/root/main/ptbsinfo");
- model.resetInstanceNode("/root/main/icpminfo");
- model.resetInstanceNode("/root/send/insertdata");
-
- model.removeNodeset("/root/main/icpmgrd/grdicpminfo");
- model.removeNodeset("/root/main/icmtgrd/grdicmtinfo");
- model.removeNodeset("/root/main/icswgrd/grdicswinfo");
- model.removeNodeset("/root/main/iapfgrd/grdiapfinfo");
- model.removeNodeset("/root/main/icmsgrd/grdicmsinfo");
- model.setValue("/root/main/primaryInfo/insukind",1);
- model.setValue("/root/main/primaryInfo/suppkind","");
- model.setValue("/root/main/primaryInfo/reference",0);
- model.setValue("/root/main/primaryInfo/inhospflag",1);
-
- grp_spclspec.visible = false;
-
- ipt_pid1.visible = false;
- ipt_date1.visible = false;
- ipt_date2.visible=false;
- cmb_inducsbrchcd1.visible = false;
- ipt_bizplcenm1.visible = false;
- ipt_tel1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_hngnm1.visible = false;
- caption1.visible= false;
-
- grd_pmchicmt.visible = true;
- grd_newpmchicmt.visible = false;
- input2.visible= true;
- btn_insrow.visible = true;
- btn_upicmt.visible= false;
- btn_insicmt1.visible = true;
- btn_delicmt.visible = true;
- btn_insicmt2.visible = true;
- btn_excelicmt.visible = true;
- btn_saveicmt.visible = true;
-
- button11.visible = false;
- button10.visible = false;
- button17.visible = false;
- button14.visible = false;
- button18.visible = false;
- button13.visible = false;
-
- //model.setValue("/root/main/primaryInfo/insukind", "41");
- //model.setValue("/root/main/icpminfo/insukind", "41");
- fSetScrnInfo();
-
- fSuppKindSet();
- fSuppKindSet1();
-
- model.setFocus("/root/main/primaryInfo/pid");
- model.refresh();
- }
- function fInitialize1(){
- model.resetInstanceNode("/root/main/ptbsinfo");
- model.resetInstanceNode("/root/main/icpminfo");
- model.resetInstanceNode("/root/send/insertdata");
- model.removeNodeset("/root/main/icpmgrd/grdicpminfo");
- model.removeNodeset("/root/main/icmtgrd/grdicmtinfo");
- model.removeNodeset("/root/main/icswgrd/grdicswinfo");
- model.removeNodeset("/root/main/iapfgrd/grdiapfinfo");
- model.removeNodeset("/root/main/icmsgrd/grdicmsinfo");
- model.resetInstanceNode("/root/send/primarySearch1");
-
- //model.setValue("/root/main/primaryInfo/insukind", "41");
- //model.setValue("/root/main/icpminfo/insukind", "41");
-
- fSetScrnInfo();
-
- fSuppKindSet();
- fSuppKindSet1();
-
- model.refresh();
- }
- function fGridAddRow() {
- var currentdate = getCurrentDate();
-
- grd_pmchicmt.addRow(grd_pmchicmt.row, true);
- grd_pmchicmt.cellStyle("background-image", grd_pmchicmt.row, 1) = "../../../com/commonweb/images/icon_i.gif";
-
- model.setvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat", "I");
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/orddd",currentdate)
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/ordfromdd",currentdate)
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/reqdd",currentdate)
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/aprydd",currentdate)
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/apryfromdd",currentdate)
-
- grd_pmchicmt.refresh();
- }
-
- function fGridInsertRow() {
- if(grd_aimtSearch.row != -1) {
- var currentdate = getCurrentDate();
-
- grd_pmchicmt.insertRow(grd_pmchicmt.row, true);
- grd_pmchicmt.cellStyle("background-image", grd_pmchicmt.row, 1) = "../../../com/commonweb/images/icon_i.gif";
- model.setvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat", "I");
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/orddd",currentdate)
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/ordfromdd",currentdate)
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/reqdd",currentdate)
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/aprydd",currentdate)
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/apryfromdd",currentdate)
-
- grd_pmchicmt.refresh();
- }
- }
-
- function fGridDeleteRow() {
- grd_pmchicmt.addStatus(grd_pmchicmt.row, "delete");
- grd_pmchicmt.cellStyle("background-image", grd_pmchicmt.row, 1) = "../../../com/commonweb/images/icon_d.gif";
- }
-
- function fMakePtbsNode() {
- model.makeNode("/root/main/ptbsinfo/pid");
- model.makeNode("/root/main/ptbsinfo/hngnm");
- model.makeNode("/root/main/ptbsinfo/rrgstno");
- }
-
- function fbutton10_up(){
- grd_pmchicmt.attribute("height") = 129;
- grd_newpmchicmt.attribute("height") = 129;
- }
- function fbutton10_down(){
- grd_pmchicmt.attribute("height") = 329;
- grd_newpmchicmt.attribute("height") = 329;
- }
- function fbutton10_change(){
- if(grd_pmchicmt.visible == true){
- grd_pmchicmt.visible= false;
- grd_newpmchicmt.visible= true;
-
- input2.visible= false;
- btn_insrow.visible = false;
- btn_upicmt.visible= false;
- btn_insicmt1.visible = false;
- btn_delicmt.visible = false;
- btn_insicmt2.visible = false;
- btn_excelicmt.visible = false;
- btn_saveicmt.visible = false;
-
- button11.visible = false;
- button10.visible = false;
- button17.visible = false;
- button14.visible = false;
- button18.visible = false;
- button13.visible = false;
- }else{
- grd_pmchicmt.visible= true;
- grd_newpmchicmt.visible= false;
-
- input2.visible= true;
- btn_insrow.visible = true;
- btn_upicmt.visible= false;
- btn_insicmt1.visible = true;
- btn_delicmt.visible = true;
- btn_insicmt2.visible = true;
- btn_excelicmt.visible = true;
- btn_saveicmt.visible = true;
-
- button11.visible = false;
- button10.visible = false;
- button17.visible = false;
- button14.visible = false;
- button18.visible = false;
- button13.visible = false;
-
- button11.attribute("left") = 869;
- button10.attribute("left") = 923;
- button17.attribute("left") = 977;
- button14.attribute("left") = 1031;
- button18.attribute("left") = 1085;
- button13.attribute("left") = 1150;
-
- button11.attribute("top") = 378;
- button10.attribute("top") = 378;
- button17.attribute("top") = 378;
- button14.attribute("top") = 378;
- button18.attribute("top") = 378;
- button13.attribute("top") = 378;
- }
- }
-
- // 기간이력조회 팝업...
- function fbutton10_Search(){
- var chospresn = model.getValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/chospresn");
- var ordflag = model.getValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/ordflag");
- var orddeptcd = model.getValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/orddeptcd");
- var orddrid = model.getValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/orddrid");
- var aprydd = model.getValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/aprydd");
- var apryfromdd = model.getValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/apryfromdd");
- var aprytodd = model.getValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/aprytodd");
- var pid = model.getValue("/root/main/ptbsinfo/pid");
- var hngnm = model.getValue("/root/main/ptbsinfo/hngnm");
- var mngtno = model.getValue("/root/main/icpminfo/mngtno");
- var inducsbrchcd = model.getValue("/root/main/icpminfo/inducsbrchcd");
-
- model.makeNode("/root/tmp/icmt/search/chospresn");
- model.makeNode("/root/tmp/icmt/search/ordflag");
- model.makeNode("/root/tmp/icmt/search/orddeptcd");
- model.makeNode("/root/tmp/icmt/search/orddrid");
- model.makeNode("/root/tmp/icmt/search/aprydd");
- model.makeNode("/root/tmp/icmt/search/apryfromdd");
- model.makeNode("/root/tmp/icmt/search/aprytodd");
- model.makeNode("/root/tmp/icmt/search/pid");
- model.makeNode("/root/tmp/icmt/search/hngnm");
- model.makeNode("/root/tmp/icmt/search/mngtno");
- model.makeNode("/root/tmp/icmt/search/inducsbrchcd");
-
- model.setValue("/root/tmp/icmt/search/chospresn", chospresn);
- model.setValue("/root/tmp/icmt/search/ordflag", ordflag);
- model.setValue("/root/tmp/icmt/search/orddeptcd", orddeptcd);
- model.setValue("/root/tmp/icmt/search/orddrid", orddrid);
- model.setValue("/root/tmp/icmt/search/aprydd", aprydd);
- model.setValue("/root/tmp/icmt/search/apryfromdd", apryfromdd);
- model.setValue("/root/tmp/icmt/search/aprytodd", aprytodd);
- model.setValue("/root/tmp/icmt/search/pid", pid);
- model.setValue("/root/tmp/icmt/search/hngnm", hngnm);
- model.setValue("/root/tmp/icmt/search/mngtno", mngtno);
- model.setValue("/root/tmp/icmt/search/inducsbrchcd", inducsbrchcd);
-
- modal("SPPMC02800", "1", "50", "50", "SPPMC02800_산재기간관리이력조회", "/root/tmp/icmt/search", "/root/send");
-
- model.removenode("/root/tmp/icmt/search");
- }
-
- // 이력조회 - 개별과거이력조회
- function fBeforeIcpminfo(){
- var pid = model.getValue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/pid");
- var mngtno = model.getValue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/mngtno");
- var acddd = model.getValue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/acddd");
- var inducsbrchcd = model.getValue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/inducsbrchcd");
-
- model.makeNode("/root/tmp/search/pid");
- model.makeNode("/root/tmp/search/mngtno");
- model.makeNode("/root/tmp/search/acddd");
- model.makeNode("/root/tmp/search/inducsbrchcd");
-
- model.setValue("/root/tmp/search/pid", pid);
- model.setValue("/root/tmp/search/mngtno", mngtno);
- model.setValue("/root/tmp/search/acddd", acddd);
- model.setValue("/root/tmp/search/inducsbrchcd", inducsbrchcd);
-
- modal("SPPMC02700", "1", "50", "50", "SPPMC02700_산재개별과거이력조회", "/root/tmp/search", "/root/send/search");
-
- model.removenode("/root/tmp/search");
- }
-
- // 2009.09.25 - 기간관리의 유효건, 전체 보기 기능추가
- function fViewValidData() {
- var sViewOption = model.getValue("/root/hidden/viewoption");
- var sCurrentDate = getCurrentDate();
- var iCount = getNodesetCount("/root/main/icmtgrd/grdicmtinfo");
- if (sViewOption == "Y") { // 전체
- for (var idx = 1 ; idx <= iCount ; idx++ ) {
- grd_pmchicmt.rowHidden(idx) = false;
- }
- } else { // 유효건만
- for (var idx = 1 ; idx <= iCount ; idx++ ) {
- var sCurrentApryTodd = model.getValue("/root/main/icmtgrd/grdicmtinfo[" + idx + "]/aprytodd");
- if (sCurrentApryTodd >= sCurrentDate) {
- grd_pmchicmt.rowHidden(idx) = false;
- } else {
- grd_pmchicmt.rowHidden(idx) = true;
- }
- }
- }
-
- grd_pmchicmt.refresh();
- }
-
- // 산재환자정보 조회
- function fGetPatInfo() {
-
- var pid = model.getValue("/root/main/ptbsinfo/pid");
- if(pid == null ||pid == "" ){pid = model.getValue("/root/hidden/pid");}
-
- fInitialize();
- model.setValue("/root/main/ptbsinfo/pid", pid);
-
- model.setValue("/root/send/primarySearch1/insukind", model.getValue("/root/main/primaryInfo/insukind"));
- model.setValue("/root/send/primarySearch1/suppkind", model.getValue("/root/main/primaryInfo/suppkind"));
- model.setValue("/root/send/primarySearch1/reference", "1");
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/ptbsinfo/pid"));
- model.setValue("/root/send/primarySearch1/reference2", "");
-
- // 산재등록 마스터icpm 조회
- submit("TRPMC02701");
- //추가
- copyNodeType("/root/main/ptbsinfo","/root/main/icpmgrd/ptbs","replace");
-
-
- if (grd_icpminfo.rows >= 2) {
-
- model.setvalue("/root/main/icpminfo/insukind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/insukind"));
- model.setvalue("/root/main/icpminfo/suppkind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/suppkind"));
- model.setvalue("/root/main/icpminfo/mngtno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno"));
- model.setvalue("/root/main/icpminfo/mngtno_org",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno_org"));
- model.setvalue("/root/main/icpminfo/inducsbrchcd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/inducsbrchcd"));
- model.setvalue("/root/main/icpminfo/acddd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/acddd"));
- model.setvalue("/root/main/icpminfo/bizplcenm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/bizplcenm"));
- model.setvalue("/root/main/icpminfo/ordopendd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/ordopendd"));
- model.setvalue("/root/main/icpminfo/bizplcergstseqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/bizplcergstseqno"));
- model.setvalue("/root/main/icpminfo/ordtodd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/ordtodd"));
- model.setvalue("/root/main/icpminfo/chrgnm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/chrgnm"));
- model.setvalue("/root/main/icpminfo/endflag",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/endflag"));
- combo7.dispatch("xforms-value-changed");
- model.setvalue("/root/main/icpminfo/inducsrem",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/inducsrem"));
- model.setvalue("/root/main/icpminfo/seqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/seqno"));
- model.setvalue("/root/main/icpminfo/pid",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/pid"));
- model.setvalue("/root/main/icpminfo/endcnts",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/endcnts"));
- model.setvalue("/root/main/icpminfo/bizplceseqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/bizplceseqno"));
- model.setvalue("/root/main/icpminfo/coordresncd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/coordresncd"));
-
- model.setvalue("/root/send/primarySearch/type", "1");
- model.setvalue("/root/send/primarySearch/pid", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/pid"));
- model.setvalue("/root/send/primarySearch/mngtno", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno"));
-
- // 환자인적정보조회
- submit("TRPMC02702");
- // 산재환자 기간관리조회
- if(submit("TRPMC02704")){
- for(var i =1; i<=grd_pmchicmt.rows; i++){
- var sorddeptcd = grd_pmchicmt.valueMatrix(i, 4);
- grd_pmchicmt.cellComboNodeset(i,5) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- }
- }
- // 산재환자 기간 그룹별조회
- //submit("TRPMC02709");
-
- model.setvalue("/root/send/selectinfo/pid",model.getvalue("/root/main/icpminfo/pid"));
- model.setvalue("/root/send/selectinfo/mngtno",model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/selectinfo/insukind",model.getvalue("/root/main/icpminfo/insukind"));
-
- // 산재환자 상병조회
- submit("TRPMC02705");
-
- // 산재환자 증명서조회
- submit("TRPMC02706");
-
- // 휴업급여요양비조회
- submit("TRPMC02707");
-
- // 2009.09.25 - 전체/유효건 보기
- fViewValidData();
-
- } else {
- model.setvalue("/root/send/primarySearch/type","1");
- model.setvalue("/root/send/primarySearch/pid", pid);
-
- // 환자인적정보조회
- submit("TRPMC02702");
-
- var iCount = getNodesetCount("/root/main/ptbsinfo");
- if (iCount == 0) {
- fMakePtbsNode();
- }
- }
- /* ---------------------------------------------------------------------------------------------------------- */
- if (model.getValue("/root/main/ptbsinfo/pid") != "" ) {
- model.setvalue("/root/send/iaiwreceive/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/iaiwreceive/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/iaiwreceive/instcd", getUserInfo("dutplceinstcd"));
- model.setvalue("/root/send/iaiwreceive/insukind", "41");
- }
-
- // 재원환자 팝업처리
- if (model.getvalue("/root/main/ptbsinfo/inhospyn") == "Y") {
- messageBox("현재 재원중입니다.", "I000");
- }
-
- // 면담조회(면담여부확인하여버튼색변경)
- submit("TRPMC03501");
-
- var iCount = getNodesetCount("/root/main/iaiwgrid/grdiaiwsearch");
- if(iCount > 0){
- button3.attribute("color") = "#ff0000";
- }else{
- button3.attribute("color") = "#184d8b";
- }
- /* ---------------------------------------------------------------------------------------------------------- */
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 2009.07.20 - 메뉴파라미터에 따른 화면설정 - 산재/공상
- //fSetScrnInfo();
-
- //강남 요구사항
- //기간관리.간병인여부 - 'N' , 상병관리.척추기구 - 'N' , 상병관리.상병구분 - 'D(의사상병)' 모두 hidden 기본값은 xml변경
- zbcfGetCodeList(new Array("P0028"),new Array("/root/init/P0028list"));
- fInitialize();
- submit("TRPMC02708");
-
- copyNodesetType("/root/hidden/orddeptcd", "/root/init/hidden/orddeptcd", "replace");
-
- //2007-10-16 이동식 추가 - 다른화면에서 호출시 자동환자정보조회
- if (checkOpener()){ //팝업화면으로 사용될 때
- //RSRVFLAG, ETCORDFLAG 를 받아온다.
- var pid = opener.javascript.getParameter("SMPMC02700_pid");
- opener.javascript.clearParameter("SMPMC02700_pid");
- // var array_parm = SMPMO00200_PARM.split("▦");
- // var rsrvflag = array_parm[0];
- // var etcordflag = array_parm[1];
- cmb_reference.value = '1';
- cmb_reference.dispatch("xforms-select");
- model.setValue("/root/main/primaryInfo/pid", pid);
-
- btn_search.dispatch("DOMActivate");
- }
- //END..
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1197;1,1199;" 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:98px; height:14px; ">산재환자관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line5" class="line_1" style="x1:0px; y1:398px; x2:1194px; y2:398px; "/>
- <caption id="caption8" class="tit_2" style="left:6px; top:383px; width:111px; height:13px; ">기간관리</caption>
- <datagrid id="grd_icpminfo" nodeset="/root/main/icpmgrd/grdicpminfo" caption="환자번호^성명^주민번호^보험유형^보조유형^병행진료사유^관리번호^사고일자^산재지사^사업장명^진료개시일^진료종료일^외래예약^입원예약^담당자^종결구분^참고사항^수정일자^작업자^일련번호^caption1^caption2^caption3^caption4^이력상태^종결사유^bizplceseqno" colsep="^" colwidth="67, 75, 103, 59, 97, 154, 100, 78, 73, 76, 74, 83, 133, 133, 82, 100, 272, 130, 79, 100, 100, 100, 100, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:485px; top:152px; width:709px; height:202px; color:transparent; background-color:transparent; ">
- <col disabled="true" ref="pid" style="text-align:center; "/>
- <col disabled="true" ref="hngnm" style="text-align:center; "/>
- <col disabled="true" ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
- <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- <item>
- <label>공상</label>
- <value>42</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="coordresncd" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/coordresncd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="mngtno" format="999-99-99999-9"/>
- <col disabled="true" ref="acddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="inducsbrchcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/indulist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="bizplcergstseqno" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/bizplce">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="ordopendd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="ordtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="outorddd"/>
- <col disabled="true" ref="inadrvdd"/>
- <col disabled="true" ref="chrgnm" style="text-align:center; "/>
- <col disabled="true" ref="endflag" style="text-align:center; "/>
- <col disabled="true" ref="inducsrem"/>
- <col disabled="true" ref="lastupdtdt" format="yyyy-mm-dd hh:mm:ss"/>
- <col disabled="true" ref="lastupdtrid"/>
- <col disabled="true" ref="seqno"/>
- <col disabled="true" ref="histstat" visibility="hidden"/>
- <col disabled="true" ref="endcnts" visibility="hidden"/>
- <col ref="bizplceseqno" visibility="hidden"/>
- <col ref="mngtno_org" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( isDataCell() ){
- var row = grd_icpminfo.row;
- if ( grd_icpminfo.isCell(event.target) && row >= grd_icpminfo.fixedrows){
- model.setvalue("/root/main/icpminfo/insukind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/insukind"));
- model.setvalue("/root/main/icpminfo/suppkind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/suppkind"));
- model.setvalue("/root/main/icpminfo/mngtno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/mngtno"));
- model.setvalue("/root/main/icpminfo/mngtno_org",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/mngtno_org"));
- model.setvalue("/root/main/icpminfo/inducsbrchcd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/inducsbrchcd"));
- model.setvalue("/root/main/icpminfo/acddd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/acddd"));
- model.setvalue("/root/main/icpminfo/bizplcenm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/bizplcenm"));
- model.setvalue("/root/main/icpminfo/ordopendd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/ordopendd"));
- model.setvalue("/root/main/icpminfo/ordtodd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/ordtodd"));
- model.setvalue("/root/main/icpminfo/chrgnm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/chrgnm"));
- model.setvalue("/root/main/icpminfo/endflag",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/endflag"));
- combo7.dispatch("xforms-value-changed");
- model.setvalue("/root/main/icpminfo/inducsrem",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/inducsrem"));
- model.setvalue("/root/main/icpminfo/seqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/seqno"));
- model.setvalue("/root/main/icpminfo/pid",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/pid"));
- model.setvalue("/root/main/icpminfo/endcnts",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/endcnts"));
- model.setvalue("/root/main/icpminfo/bizplcergstseqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/bizplcergstseqno"));
- model.setvalue("/root/main/icpminfo/bizplceseqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/bizplceseqno"));
-
- model.setvalue("/root/main/icpminfo/coordresncd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/coordresncd"));
-
- // copyNodeType("/root/send/primarySearch", "/root/main/primaryInfo", "replace");
- model.setvalue("/root/send/primarySearch/type", "1");
- model.setvalue("/root/send/primarySearch/pid", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/pid"));
- model.setvalue("/root/send/primarySearch/mngtno", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/mngtno"));
- model.setvalue("/root/send/primarySearch/suppkind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + row + "]/suppkind"));
-
-
-
-
- // 환자인적정보조회
- submit("TRPMC02702");
- // 산재환자 기간관리조회
- if(submit("TRPMC02704")){
- for(var i =1; i<=grd_pmchicmt.rows; i++){
- var sorddeptcd = grd_pmchicmt.valueMatrix(i, 4);
- grd_pmchicmt.cellComboNodeset(i,5) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- }
- }
- // 산재환자 기간 그룹별조회
- //submit("TRPMC02709");
-
- // model.setvalue("/root/send/icswselectinfo/pid",model.getvalue("/root/main/icpminfo/pid"));
- // model.setvalue("/root/send/icswselectinfo/mngtno",model.getvalue("/root/main/icpminfo/mngtno"));
-
- model.setvalue("/root/send/selectinfo/pid",model.getvalue("/root/main/icpminfo/pid"));
- model.setvalue("/root/send/selectinfo/mngtno",model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/selectinfo/insukind",model.getvalue("/root/main/icpminfo/insukind"));
-
- // 산재환자 상병조회
- submit("TRPMC02705");
- // 산재환자 증명서조회
- submit("TRPMC02706");
- // 휴업급여요양비조회
- submit("TRPMC02707");
-
- /* ---------------------------------------------------------------------------------------------------------- */
- if (model.getValue("/root/main/ptbsinfo/pid") != "" ) {
- model.setvalue("/root/send/iaiwreceive/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/iaiwreceive/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/iaiwreceive/instcd", getUserInfo("dutplceinstcd"));
- model.setvalue("/root/send/iaiwreceive/insukind", "41");
- }
- // 면담조회(면담여부확인하여버튼색변경)
- submit("TRPMC03501");
- var iCount = getNodesetCount("/root/main/iaiwgrid/grdiaiwsearch");
- if(iCount > 0){
- button3.attribute("color") = "#ff0000";
- }else{
- button3.attribute("color") = "#184d8b";
- }
- /* ---------------------------------------------------------------------------------------------------------- */
-
- // 유효건/전체 보기 - 2009.09.25
- fViewValidData();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_icpminfo.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_insicmt1" class="btn2_letter3" style="left:923px; top:378px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var currentdate = getCurrentDate();
-
- grd_pmchicmt.addRow(grd_pmchicmt.row, true);
-
- model.setvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat", "I");
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/chospresn","01"); // 진찰의뢰 기본으로 셋팅 2009.06.03 JHP 수정추가, - 2009.06.22 다시제외 - 2009.07.01 다시 최초기본셋팅
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/orddd",currentdate);
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/ordfromdd",currentdate);
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/aprytodd",'99991231');
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/reqdd",currentdate);
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/specordyn", "N"); // 선택으로 기본 셋팅 2009.06.03 JHP 수정추가, - 2009.06.22 다시제외 - 2009.07.01 다시 N기본셋팅
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/endyn", "N");
-
- ]]>
- </script>
- </button>
- <button id="btn_delicmt" class="btn2_letter3" style="left:977px; top:378px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pmchicmt.row >= 0 ){
- var rstatus = grd_pmchicmt.rowStatus(grd_pmchicmt.row);
-
- if ( rstatus == "1" || rstatus == "3") {
- grd_pmchicmt.deleteRow(grd_pmchicmt.row);
- } else {
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/chospresn") != ""){
- grd_pmchicmt.addstatus(grd_pmchicmt.row, "delete");
- model.setvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat", "D");
- } else {
- grd_pmchicmt.removeRow(false);
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_insicmt2" class="btn2_letter3" style="left:1031px; top:378px; width:53px; height:19px; ">
- <caption>행삽입</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pmchicmt.row >= 0 ){
- var currentdate = getCurrentDate();
-
- //grd_pmchicmt.addRow(grd_pmchicmt.row, true);
- grd_pmchicmt.insertRow(grd_pmchicmt.row, "above", true, false);
- //grd_pmchicmt.cellStyle("background-image", grd_pmchicmt.row, 1) = "../../../com/commonweb/images/icon_i.gif";
-
- model.setvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat", "I");
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/chospresn","01"); // 진찰의뢰 기본으로 셋팅 2009.06.03 JHP 수정추가, - 2009.06.22 다시제외 -- 2009.07.01 최초기본셋팅
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/orddd",currentdate);
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/ordfromdd",currentdate);
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/reqdd",currentdate);
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/specordyn", "N"); // 선택 기본으로 셋팅 2009.06.03 JHP 수정추가, - 2009.06.22 다시제외 -- 2009.07.01 'N' 기본셋팅
- }
- ]]>
- </script>
- </button>
- <input id="input7" ref="/root/main/ptbsinfo/hometel" class="input_default" disabled="true" editable="false" style="left:480px; top:76px; width:109px; height:19px; "/>
- <caption id="caption3" class="tit_2" style="left:6px; top:55px; width:78px; height:13px; ">인적사항</caption>
- <input id="input13" ref="/root/main/ptbsinfo/mpphontel" class="input_default" disabled="true" editable="false" style="left:480px; top:100px; width:109px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:392px; top:99px; width:85px; height:23px; vertical-align:middle; ">휴대폰</caption>
- <caption id="caption23" class="cell_1" style="left:392px; top:75px; width:85px; height:23px; vertical-align:middle; ">연락처</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <line id="line4" class="line_2" style="x1:1px; y1:174px; x2:479px; y2:174px; "/>
- <line id="line31" class="line_2" style="x1:0px; y1:97px; x2:952px; y2:97px; "/>
- <caption id="caption20" class="tit_2" style="left:489px; top:132px; width:144px; height:13px; ">이력조회</caption>
- <line id="line11" class="line_1" style="x1:484px; y1:147px; x2:1194px; y2:147px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:177px; width:95px; height:23px; vertical-align:middle; ">산재관리번호</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:152px; width:95px; height:23px; vertical-align:middle; ">보험유형</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:203px; width:95px; height:23px; vertical-align:middle; ">재해발생일</caption>
- <caption id="caption27" class="cell_1" style="left:204px; top:151px; width:93px; height:23px; vertical-align:middle; ">보조유형</caption>
- <input id="input25" ref="/root/main/ptbsinfo/sex" class="input_default" disabled="true" editable="false" style="left:273px; top:100px; width:56px; height:19px; "/>
- <input id="input26" ref="/root/main/ptbsinfo/rrgstno" class="input_s_essential" maxlength="14" format="999999-9999999" style="left:273px; top:76px; width:116px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- var rrgstno = model.getValue("/root/main/ptbsinfo/rrgstno");
-
- fInitialize();
- model.setValue("/root/main/ptbsinfo/rrgstno", rrgstno);
-
- model.setValue("/root/send/primarySearch1/insukind", model.getValue("/root/main/primaryInfo/insukind"));
- model.setValue("/root/send/primarySearch1/suppkind", model.getValue("/root/main/primaryInfo/suppkind"));
- model.setValue("/root/send/primarySearch1/reference", "3");
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/ptbsinfo/rrgstno"));
- model.setValue("/root/send/primarySearch1/reference2", "");
- // 산재등록 마스터icpm 조회
- submit("TRPMC02701");
-
- if (grd_icpminfo.rows >= 2) {
- model.setvalue("/root/main/icpminfo/insukind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/insukind"));
- model.setvalue("/root/main/icpminfo/suppkind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/suppkind"));
- model.setvalue("/root/main/icpminfo/mngtno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno"));
- model.setvalue("/root/main/icpminfo/mngtno_org",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno_org"));
- model.setvalue("/root/main/icpminfo/inducsbrchcd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/inducsbrchcd"));
- model.setvalue("/root/main/icpminfo/acddd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/acddd"));
- model.setvalue("/root/main/icpminfo/bizplcenm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/bizplcenm"));
- model.setvalue("/root/main/icpminfo/ordopendd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/ordopendd"));
- model.setvalue("/root/main/icpminfo/ordtodd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/ordtodd"));
- model.setvalue("/root/main/icpminfo/chrgnm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/chrgnm"));
- model.setvalue("/root/main/icpminfo/endflag",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/endflag"));
- combo7.dispatch("xforms-value-changed");
- model.setvalue("/root/main/icpminfo/inducsrem",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/inducsrem"));
- model.setvalue("/root/main/icpminfo/seqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/seqno"));
- model.setvalue("/root/main/icpminfo/pid",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/pid"));
- model.setvalue("/root/main/icpminfo/endcnts",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/endcnts"));
-
- model.setvalue("/root/main/icpminfo/coordresncd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/coordresncd"));
-
- model.setvalue("/root/send/primarySearch/type","1");
- model.setvalue("/root/send/primarySearch/pid",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/pid"));
- // 환자인적정보조회
- submit("TRPMC02702");
- // 산재환자 기간관리조회
- if(submit("TRPMC02704")){
- for(var i =1; i<=grd_pmchicmt.rows; i++){
- var sorddeptcd = grd_pmchicmt.valueMatrix(i, 4);
- grd_pmchicmt.cellComboNodeset(i,5) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- }
- }
- // 산재환자 기간 그룹별조회
- //submit("TRPMC02709");
-
- model.setvalue("/root/send/selectinfo/pid",model.getvalue("/root/main/icpminfo/pid"));
- model.setvalue("/root/send/selectinfo/mngtno",model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/selectinfo/insukind",model.getvalue("/root/main/icpminfo/insukind"));
-
- // 산재환자 상병조회
- submit("TRPMC02705");
- // 산재환자 증명서조회
- submit("TRPMC02706");
- // 휴업급여요양비조회
- submit("TRPMC02707");
-
- // 2009.09.25 - 전체/유효건 보기
- fViewValidData();
- } else {
- model.setvalue("/root/send/primarySearch/type","3");
- model.setvalue("/root/send/primarySearch/pid", rrgstno);
-
- // 환자인적정보조회
- submit("TRPMC02702");
-
- var iCount = getNodesetCount("/root/main/ptbsinfo");
- if (iCount == 0) {
- fMakePtbsNode();
- }
- }
-
- /* ---------------------------------------------------------------------------------------------------------- */
- if (model.getValue("/root/main/ptbsinfo/pid") != "" ) {
- model.setvalue("/root/send/iaiwreceive/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/iaiwreceive/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/iaiwreceive/instcd", getUserInfo("dutplceinstcd"));
- model.setvalue("/root/send/iaiwreceive/insukind", "41");
- }
- // 면담조회(면담여부확인하여버튼색변경)
- submit("TRPMC03501");
- var iCount = getNodesetCount("/root/main/iaiwgrid/grdiaiwsearch");
- if(iCount > 0){
- button3.attribute("color") = "#ff0000";
- }else{
- button3.attribute("color") = "#184d8b";
- }
- /* ---------------------------------------------------------------------------------------------------------- */
-
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption29" class="cell_1" style="left:0px; top:99px; width:75px; height:23px; text-align:left; vertical-align:middle; ">성명</caption>
- <caption id="caption30" class="cell_1" style="left:197px; top:99px; width:73px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <caption id="caption31" class="cell_1" style="left:0px; top:75px; width:75px; height:23px; text-align:left; vertical-align:middle; ">환자번호</caption>
- <caption id="caption32" class="cell_1" style="left:197px; top:75px; width:73px; height:23px; vertical-align:middle; ">주민번호</caption>
- <input id="input27" ref="/root/main/ptbsinfo/age" class="input_default" disabled="true" editable="false" style="left:331px; top:100px; width:58px; height:19px; "/>
- <input id="input28" ref="/root/main/ptbsinfo/hngnm" class="input_s_essential" imemode="hangul" style="left:78px; top:100px; width:116px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- var hngnm = model.getValue("/root/main/ptbsinfo/hngnm");
-
- fInitialize();
- model.setValue("/root/main/ptbsinfo/hngnm", hngnm);
-
- model.setValue("/root/send/primarySearch1/insukind", model.getValue("/root/main/primaryInfo/insukind"));
- model.setValue("/root/send/primarySearch1/suppkind", model.getValue("/root/main/primaryInfo/suppkind"));
- model.setValue("/root/send/primarySearch1/reference", "2");
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/ptbsinfo/hngnm"));
- model.setValue("/root/send/primarySearch1/reference2", "");
-
- // 산재등록 마스터icpm 조회
- submit("TRPMC02701");
-
- if (grd_icpminfo.rows >= 2) {
- model.setvalue("/root/main/icpminfo/insukind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/insukind"));
- model.setvalue("/root/main/icpminfo/suppkind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/suppkind"));
- model.setvalue("/root/main/icpminfo/mngtno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno"));
- model.setvalue("/root/main/icpminfo/mngtno_org",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno_org"));
- model.setvalue("/root/main/icpminfo/inducsbrchcd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/inducsbrchcd"));
- model.setvalue("/root/main/icpminfo/acddd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/acddd"));
- model.setvalue("/root/main/icpminfo/bizplcenm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/bizplcenm"));
- model.setvalue("/root/main/icpminfo/ordopendd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/ordopendd"));
- model.setvalue("/root/main/icpminfo/ordtodd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/ordtodd"));
- model.setvalue("/root/main/icpminfo/chrgnm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/chrgnm"));
- model.setvalue("/root/main/icpminfo/endflag",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/endflag"));
- combo7.dispatch("xforms-value-changed");
- model.setvalue("/root/main/icpminfo/inducsrem",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/inducsrem"));
- model.setvalue("/root/main/icpminfo/seqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/seqno"));
- model.setvalue("/root/main/icpminfo/pid",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/pid"));
- model.setvalue("/root/main/icpminfo/endcnts",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/endcnts"));
-
- model.setvalue("/root/main/icpminfo/coordresncd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/coordresncd"));
-
- model.setvalue("/root/send/primarySearch/type","1");
- model.setvalue("/root/send/primarySearch/pid",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/pid"));
- // 환자인적정보조회
- submit("TRPMC02702");
- // 산재환자 기간관리조회
- if(submit("TRPMC02704")){
- for(var i =1; i<=grd_pmchicmt.rows; i++){
- var sorddeptcd = grd_pmchicmt.valueMatrix(i, 4);
- grd_pmchicmt.cellComboNodeset(i,5) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- }
- }
- // 산재환자 기간 그룹별조회
- //submit("TRPMC02709");
-
- model.setvalue("/root/send/selectinfo/pid",model.getvalue("/root/main/icpminfo/pid"));
- model.setvalue("/root/send/selectinfo/mngtno",model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/selectinfo/insukind",model.getvalue("/root/main/icpminfo/insukind"));
-
- // 산재환자 상병조회
- submit("TRPMC02705");
- // 산재환자 증명서조회
- submit("TRPMC02706");
- // 휴업급여요양비조회
- submit("TRPMC02707");
-
- // 2009.09.25 - 전체/유효건 보기
- fViewValidData();
- } else {
- model.setvalue("/root/send/primarySearch/type","2");
- model.setvalue("/root/send/primarySearch/pid", hngnm);
-
- // 환자인적정보조회
- submit("TRPMC02702");
-
- var iCount = getNodesetCount("/root/main/ptbsinfo");
- if (iCount == 0) {
- fMakePtbsNode();
- }
- }
-
-
- /* ---------------------------------------------------------------------------------------------------------- */
- if (model.getValue("/root/main/ptbsinfo/pid") != "" ) {
- model.setvalue("/root/send/iaiwreceive/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/iaiwreceive/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/iaiwreceive/instcd", getUserInfo("dutplceinstcd"));
- model.setvalue("/root/send/iaiwreceive/insukind", "41");
- }
- // 면담조회(면담여부확인하여버튼색변경)
- submit("TRPMC03501");
- var iCount = getNodesetCount("/root/main/iaiwgrid/grdiaiwsearch");
- if(iCount > 0){
- button3.attribute("color") = "#ff0000";
- }else{
- button3.attribute("color") = "#184d8b";
- }
- /* ---------------------------------------------------------------------------------------------------------- */
-
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_pid" ref="/root/main/ptbsinfo/pid" class="input_s_essential" maxlength="10" style="left:78px; top:76px; width:116px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
-
- setInputNodeCurText();
-
- fGetPatInfo();
- }
- ]]>
- </script>
- </input>
- <input id="input12" ref="/root/main/ptbsinfo/detladdr" class="input_default" disabled="true" editable="false" style="left:680px; top:100px; width:273px; height:19px; "/>
- <line id="line1" class="line_2" style="x1:2px; y1:200px; x2:479px; y2:200px; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:354px; x2:479px; y2:354px; "/>
- <input id="input37" ref="/root/main/icpminfo/acddd" class="input_default" inputtype="date" style="left:97px; top:205px; width:102px; height:19px; "/>
- <input id="input3" ref="/root/main/icpminfo/ordtodd" class="input_default" inputtype="date" style="left:97px; top:256px; width:102px; height:19px; "/>
- <input id="input4" ref="/root/main/icpminfo/ordopendd" class="input_default" inputtype="date" style="left:97px; top:230px; width:102px; height:19px; "/>
- <input id="input9" ref="/root/main/icpminfo/mngtno" class="input_essential" format="999-99-99999-9" maxbyte="30" style="left:97px; top:178px; width:102px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:305px; width:95px; height:47px; vertical-align:middle; ">참고사항</caption>
- <textarea id="textarea1" ref="/root/main/icpminfo/inducsrem" maxlength="150" style="left:97px; top:307px; width:382px; height:44px; "/>
- <caption id="caption28" class="cell_1" style="left:204px; top:177px; width:93px; height:23px; vertical-align:middle; ">병행진료사유</caption>
- <caption id="caption17" class="cell_1" style="left:204px; top:229px; width:93px; height:23px; vertical-align:middle; ">사업장명</caption>
- <line id="line7" class="line_2" style="x1:1px; y1:226px; x2:478px; y2:226px; "/>
- <line id="line14" class="line_2" style="x1:123px; y1:252px; x2:479px; y2:252px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:122px; x2:1194px; y2:122px; "/>
- <line id="line16" class="line_1" style="x1:0px; y1:147px; x2:479px; y2:147px; "/>
- <caption id="caption14" class="tit_2" style="left:6px; top:132px; width:144px; height:13px; ">보험사항</caption>
- <input id="input1" ref="/root/main/ptbsinfo/zipcd2" class="input_default" disabled="true" editable="false" style="left:739px; top:76px; width:56px; height:19px; "/>
- <input id="input5" ref="/root/main/ptbsinfo/zipcd1" class="input_default" disabled="true" editable="false" style="left:680px; top:76px; width:56px; height:19px; "/>
- <input id="input6" ref="/root/main/ptbsinfo/zipcdaddr" class="input_default" disabled="true" editable="false" style="left:798px; top:76px; width:155px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:592px; top:75px; width:85px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption10" class="cell_1" style="left:592px; top:99px; width:85px; height:23px; vertical-align:middle; ">상세주소</caption>
- <line id="line6" class="line_2" style="x1:1px; y1:277px; x2:479px; y2:277px; "/>
- <input id="input14" ref="/root/main/icpminfo/chrgnm" class="input_default" imemode="hangul" style="left:97px; top:281px; width:102px; height:19px; "/>
- <button id="button3" class="btn2_letter4" style="left:815px; top:127px; width:64px; height:19px; ">
- <caption>면담관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue("/root/main/ptbsinfo/pid") != "" ) {
- model.setvalue("/root/send/iaiwsend/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/iaiwsend/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/iaiwsend/instcd", getUserInfo("dutplceinstcd"));
- model.setvalue("/root/send/iaiwsend/insukind", model.getValue("/root/main/icpminfo/insukind"));
- //model.setvalue("/root/send/iaiwsend/insukind", "41");
-
- modal("SMPMC03500_산재자보면담내역7", "1", "400", "300", "", "/root/send/iaiwsend", "/root/send/iaiwreceive");
- } else {
- messageBox("이력조회 내역을", "C002");
- }
- ]]>
- </script>
- </button>
- <caption id="caption25" class="cell_1" style="left:0px; top:280px; width:95px; height:23px; vertical-align:middle; ">담당자</caption>
- <select1 id="cbo_insukind1" ref="/root/main/icpminfo/insukind" class="combo_default" disabled="true" appearance="minimal" style="left:97px; top:153px; width:102px; height:19px; ">
- <choices>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- <item>
- <label>공상</label>
- <value>42</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // model.setValue("/root/properties/menu/menuparam", model.getValue("/root/main/primaryInfo/insukind"));
-
- fSuppKindSet();
- ]]>
- </script>
- </select1>
- <select1 id="cbo_suppkind1" ref="/root/main/icpminfo/suppkind" class="combo_default" appearance="minimal" style="left:299px; top:153px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hidden/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button16" class="btn2_letter6" style="left:186px; top:127px; width:86px; height:19px; ">
- <caption>산재지사관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMB00100", "4", "", "", "", "", "/root/send/airasend", "/root/send");
- ]]>
- </script>
- </button>
- <caption id="caption11" class="cell_1" style="left:0px; top:229px; width:95px; height:48px; vertical-align:middle; ">
- <![CDATA[진료
- 개시일/종료일]]>
- </caption>
- <select1 id="cmb_inducsbrchcd" ref="/root/main/icpminfo/coordresncd" class="combo_default" appearance="minimal" editmode="search" itemcount="30" style="left:299px; top:179px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hidden/coordresncd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:956px; top:74px; width:86px; height:48px; vertical-align:middle; ">참고사항</caption>
- <textarea id="textarea2" ref="/root/main/ptbsinfo/remfact" scroll="autovscroll" style="left:1045px; top:76px; width:149px; height:43px; padding:2; "/>
- <select1 id="combo7" ref="/root/main/icpminfo/endflag" class="combo_default" appearance="minimal" style="left:299px; top:255px; width:180px; height:19px; ">
- <choices>
- <item>
- <label>계속</label>
- <value>N</value>
- </item>
- <item>
- <label>종결</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // var endflag = model.getValue("/root/main/icpminfo/endflag");
- // if( endflag == 'Y' ){ //종결
- // cbo_endcnts.choices.itemset.attribute("nodeset") = "/root/init/hidden/endcnts[cd.substr(0, 1) = '" + endflag + "' ]";
- // }else if( endflag == 'N' ){ //계속
- // cbo_endcnts.choices.itemset.attribute("nodeset") = "/root/init/hidden/endcnts[cd.substr(0, 1) = '" + endflag + "' ]";
- // }
- // cbo_endcnts.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="cell_1" style="left:204px; top:254px; width:93px; height:23px; vertical-align:middle; ">종결구분</caption>
- <line id="line3" class="line_2" style="x1:1px; y1:302px; x2:479px; y2:302px; "/>
- <switch id="switch2" style="left:0px; top:567px; width:1193px; height:172px; ">
- <case id="case1" selected="true">
- <!-- 20091015 JHP 수정내용 변경요청 윤영옥 명칭변경 승인일자 => 결정통지일-->
- <datagrid id="grd_icswinfo" nodeset="/root/main/icswgrd/grdicswinfo" caption="부위^상병코드^상병명^결정통지일^상병승인^종료일자^참고사항^승인신청일^치식^상병내용^척추기구^진료과^의사^상병구분^수정일자^작업자^등록번호^관리번호^상병일련번호^일련번호^이력상태" colsep="^" colwidth="54, 120, 337, 90, 60, 90, 411, 100, 0, 100, 54, 94, 76, 82, 40, 40, 40, 40, 40, 40, 40" dataheight="25" defaultrows="1" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="free" style="left:2px; top:30px; width:1185px; height:135px; ">
- <col autonext="true" ref="snwpart" type="combo">
- <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>
- <item>
- <label>전신</label>
- <value>6</value>
- </item>
- <item>
- <label>기타</label>
- <value>7</value>
- </item>
- </choices>
- </col>
- <col imemode="alpha" ref="snwcd" type="input" _chartype="upper"/>
- <col imemode="hangul" ref="detldesc" type="input"/>
- <col autonext="false" ref="appdd" type="inputdate" style="text-align:left; "/>
- <col ref="snwapryyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col autonext="false" ref="todd" type="inputdate" style="text-align:left; "/>
- <col ref="inducssnwrem" type="input"/>
- <col ref="issdd" type="inputdate" visibility="hidden"/>
- <col ref="tootpart" type="input"/>
- <col ref="snwcdcnts" type="input" visibility="hidden"/>
- <col ref="cordtool" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="orddeptcd" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddrid" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="snwflagcd" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>의사상병</label>
- <value>D</value>
- </item>
- <item>
- <label>관리상병</label>
- <value>I</value>
- </item>
- </choices>
- </col>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="mngtno" visibility="hidden"/>
- <col ref="snwseqno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="histstat" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(grd_icswinfo.col == 8){
- fOrdDrSet(grd_icswinfo);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(grd_icswinfo.col == 8){
- fOrdDrSet(grd_icswinfo);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/histstat") != "I"){
- grd_icswinfo.addstatus(grd_icswinfo.row, "update");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/histstat", "U");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line17" class="line_1" style="x1:2px; y1:25px; x2:1187px; y2:25px; "/>
- <button id="btn_insicsw1" class="btn2_letter3" style="left:914px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currentdate = getCurrentDate();
-
- grd_icswinfo.addRow(grd_icswinfo.row, true);
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/histstat", "I");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/pid",model.getValue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/mngtno",model.getValue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/snwseqno","1");
- model.setValue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/issdd",currentdate);
- model.setValue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/appdd",currentdate);
- model.setValue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/todd", '99991231');
- ]]>
- </script>
- </button>
- <button id="btn_delicsw" class="btn2_letter3" style="left:969px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/pid")){
- grd_icswinfo.addstatus(grd_icswinfo.row, "delete");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/histstat", "D");
- } else {
- grd_icswinfo.removeRow(false);
- }
- ]]>
- </script>
- </button>
- <button id="btn_insicsw2" class="btn2_letter3" style="left:1024px; top:5px; width:53px; height:19px; ">
- <caption>행삽입</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currentdate = getCurrentDate();
-
- grd_icswinfo.insertRow(grd_icswinfo.row, "below", false);
-
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/histstat", "I");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/pid","/root/main/ptbsinfo/pid");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/mngtno","/root/main/icpminfo/mngtno");
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" visibility="hidden" style="left:580px; top:0px; width:64px; height:19px; ">
- <caption>의사상병</caption>
- </button>
- <button id="btn_saveicsw" class="btn5_letter2" style="left:1145px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var i;
- for ( i = 1; i <= grd_icswinfo.rows-1; i++) {
- model.resetInstanceNode("/root/send/icswselectinfo");
-
- if (model.getvalue("/root/main/icswgrd/grdicswinfo[" + i + "]/histstat") == "I") {
- var sSnwcd = model.getValue("/root/main/icswgrd/grdicswinfo[" + i + "]/snwcd");
- if(isNull(sSnwcd)) {
- messageBox("상병코드를", "C001");
- return;
- }
-
- copyNodeType("/root/send/icswsaveinfo", "/root/main/icswgrd/grdicswinfo[" + i + "]", "replace");
- if( model.getValue("/root/send/icswsaveinfo/todd") == "" ){
- model.setValue("/root/send/icswsaveinfo/todd", "99991231");
- }
- submit("TXPMC02705");
- }
- if (model.getvalue("/root/main/icswgrd/grdicswinfo[" + i + "]/histstat") == "U") {
- copyNodeType("/root/send/icswsaveinfo", "/root/main/icswgrd/grdicswinfo[" + i + "]", "replace");
- if( model.getValue("/root/send/icswsaveinfo/todd") == "" ){
- model.setValue("/root/send/icswsaveinfo/todd", "99991231");
- }
- submit("TXPMC02705");
- submit("TXPMC02706");
- }
- if (model.getvalue("/root/main/icswgrd/grdicswinfo[" + i + "]/histstat") == "D") {
- copyNodeType("/root/send/icswsaveinfo", "/root/main/icswgrd/grdicswinfo[" + i + "]", "replace");
- submit("TXPMC02706");
- }
- }
- model.removeNodeset("/root/main/icswgrd/grdicswinfo");
- // 산재환자 상병조회
- submit("TRPMC02705");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_excelicsw" class="btn2_letter4" style="left:1079px; top:5px; 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_icswinfo.saveExcel(fileName, "grdicswinfo", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_upicsw" class="btn2_letter3" visibility="hidden" style="left:655px; top:5px; width:53px; height:19px; ">
- <caption>행수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( isDataCell() ){
- grd_icswinfo.addstatus(grd_pmchicmt.row, "update");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/histstat", "U");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/pid","/root/main/ptbsinfo/pid");
- model.setvalue("/root/main/icswgrd/grdicswinfo[" + grd_icswinfo.row + "]/mngtno","/root/main/icpminfo/mngtno");
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:849px; top:5px; width:64px; height:19px; ">
- <caption>상병조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/srchdiag/basedd", getCurrentDate());
- modal("SPPIZ00400" ,"", "10", "10", "SPPIZ00400", "/root/send/srchdiag", "/root/init");
- ]]>
- </script>
- </button>
- </case>
- <case id="case2">
- <datagrid id="grd_iapfinfo" nodeset="/root/main/iapfgrd/grdiapfinfo" caption="증명구분^진료과코드^발급의사ID^확인일자^확인시작일^확인종료일^확인일수^확인금액^청구여부^참고사항^수정일자^작업자^이력상태^등록번호^관리번호^보험유형^증명서일련번호^일련번호" colsep="^" colwidth="131, 76, 76, 100, 100, 100, 79, 98, 61, 342, 0, 0, 0, 0, 0, 0, 0" dataheight="25" defaultrows="1" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:5px; top:30px; width:1180px; height:135px; ">
- <col ref="profflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/hidden/profcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="issdrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="cnfmdd" type="inputdate" style="text-align:center; "/>
- <col ref="cnfmfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnfmtodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnfmdayno" type="input" style="text-align:center; "/>
- <col ref="cnfmamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="clamyn" type="combo" style="text-align:right; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="profdocurem" type="input" style="left:1122px; top:25px; width:93px; height:25px; "/>
- <col ref="lastupdtdt"/>
- <col ref="lastupdtrid"/>
- <col ref="histstat"/>
- <col ref="pid"/>
- <col ref="mngtno"/>
- <col ref="insukind"/>
- <col ref="profdocuseqno"/>
- <col ref="seqno"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(grd_iapfinfo.col == 2){
- fOrdDrSet(grd_iapfinfo);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getvalue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/histstat") != "I"){
- grd_iapfinfo.addstatus(grd_iapfinfo.row, "update");
- model.setvalue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/histstat", "U");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line15" class="line_1" style="x1:5px; y1:25px; x2:1185px; y2:25px; "/>
- <button id="btn_insiapf1" class="btn2_letter3" style="left:910px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currentdate = getCurrentDate();
-
- grd_iapfinfo.addRow(grd_iapfinfo.row, true);
- model.setvalue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/histstat", "I");
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/pid",model.getValue("/root/send/selectinfo/pid"));
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/mngtno",model.getValue("/root/send/selectinfo/mngtno"));
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/insukind",model.getValue("/root/send/selectinfo/insukind"));
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/cnfmdd",currentdate);
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/cnfmfromdd",currentdate);
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/clamyn","N");
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/cnfmamt","0");
- ]]>
- </script>
- </button>
- <button id="btn_deliapf" class="btn2_letter3" style="left:966px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getvalue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/profflagcd") != ""){
- grd_iapfinfo.addstatus(grd_iapfinfo.row, "delete");
- model.setvalue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/histstat", "D");
- } else {
- grd_iapfinfo.removeRow(false);
- }
- ]]>
- </script>
- </button>
- <button id="btn_insiapf2" class="btn2_letter3" style="left:1022px; top:4px; width:53px; height:19px; ">
- <caption>행삽입</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currentdate = getCurrentDate();
- grd_iapfinfo.insertRow(grd_iapfinfo.row, "below", false);
- model.setvalue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/histstat", "I");
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/pid",model.getValue("/root/send/selectinfo/pid"));
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/mngtno",model.getValue("/root/send/selectinfo/mngtno"));
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/insukind",model.getValue("/root/send/selectinfo/insukind"));
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/cnfmdd",currentdate);
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/cnfmfromdd",currentdate);
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/clamyn","N");
- model.setValue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/cnfmamt","0");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" style="left:1078px; top:4px; 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_iapfinfo.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_saveiapf" class="btn5_letter2" style="left:1143px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 환자번호 존재 체크
- var sPid = model.getValue("/root/main/ptbsinfo/pid");
- if (isNull(sPid)) {
- messageBox("환자가 조회되지 않았습니다!!", "C");
- return;
- }
-
- for (var i = 1; i <= grd_iapfinfo.rows-1; i++) {
- model.resetInstanceNode("/root/send/iapfsaveinfo");
- copyNodeType("/root/send/iapfsaveinfo", "/root/main/iapfgrd/grdiapfinfo[" + i + "]", "replace");
-
- if (model.getvalue("/root/main/iapfgrd/grdiapfinfo[" + i + "]/histstat") == "I") {
- submit("TXPMC02707");
- }
- if (model.getvalue("/root/main/iapfgrd/grdiapfinfo[" + i + "]/histstat") == "U") {
- submit("TXPMC02708");
- }
- if (model.getvalue("/root/main/iapfgrd/grdiapfinfo[" + i + "]/histstat") == "D") {
- submit("TXPMC02708");
- }
-
- var sProfFlagCd = model.getValue("/root/main/iapfgrd/grdiapfinfo[" + i + "]/profflagcd");
- if (isNull(sProfFlagCd)) {
- messageBox("[" + i + "]행의 증명구분은", "I003");
- return;
- }
-
- var sOrdDeptCd = model.getValue("/root/main/iapfgrd/grdiapfinfo[" + i + "]/orddeptcd");
- if (isNull(sOrdDeptCd)) {
- messageBox("[" + i + "]행의 진료과코드는", "I003");
- return;
- }
- }
- model.removeNodeset("/root/main/iapfgrd/grdiapfinfo");
- // 산재환자 증명서조회
- submit("TRPMC02706");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_upiapf" class="btn2_letter3" visibility="hidden" style="left:854px; top:4px; width:53px; height:19px; ">
- <caption>행수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_iapfinfo.addstatus(grd_iapfinfo.row, "update");
- model.setvalue("/root/main/iapfgrd/grdiapfinfo[" + grd_iapfinfo.row + "]/histstat", "U");
- ]]>
- </script>
- </button>
- </case>
- <case id="case3" style="left:0px; top:0px; width:1191px; height:292px; ">
- <button id="btn_saveicms" class="btn5_letter2" style="left:1143px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var i;
- for ( i = 1; i <= grd_icmsinfo.rows-1; i++) {
- model.resetInstanceNode("/root/send/icmssaveinfo");
-
- if (model.getvalue("/root/main/icmsgrd/grdicmsinfo[" + i + "]/histstat") == "I") {
- copyNodeType("/root/send/icmssaveinfo", "/root/main/icmsgrd/grdicmsinfo[" + i + "]", "replace");
- submit("TXPMC02709");
- }
- if (model.getvalue("/root/main/icmsgrd/grdicmsinfo[" + i + "]/histstat") == "U") {
- copyNodeType("/root/send/icmssaveinfo", "/root/main/icmsgrd/grdicmsinfo[" + i + "]", "replace");
- submit("TXPMC02709");
- submit("TXPMC02710");
- }
- if (model.getvalue("/root/main/icmsgrd/grdicmsinfo[" + i + "]/histstat") == "D") {
- copyNodeType("/root/send/icmssaveinfo", "/root/main/icmsgrd/grdicmsinfo[" + i + "]", "replace");
- submit("TXPMC02710");
- }
- }
- model.removeNodeset("/root/main/icmsgrd/grdicmsinfo");
- // 휴업급여요양비조회
- submit("TRPMC02707");
- ]]>
- </script>
- </button>
- <button id="btn_upicms" class="btn2_letter3" disabled="true" visibility="hidden" style="left:854px; top:5px; width:53px; height:19px; ">
- <caption>행수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_icmsinfo.addstatus(grd_icmsinfo.row, "update");
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/histstat", "U");
- ]]>
- </script>
- </button>
- <button id="btn_excelicms" class="btn2_letter4" style="left:1078px; top:5px; 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_icmsinfo.saveExcel(fileName, "grd_icmsinfo", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_insicms" class="btn2_letter3" style="left:910px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currentdate = getCurrentDate();
-
- grd_icmsinfo.addRow(grd_icmsinfo.row, true);
-
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/histstat", "I");
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setValue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/appfromdd",currentdate);
- model.setValue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/appdd",currentdate);
- ]]>
- </script>
- </button>
- <button id="btn_insicms2" class="btn2_letter3" style="left:1022px; top:5px; width:53px; height:19px; ">
- <caption>행삽입</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currentdate = getCurrentDate();
-
- grd_icmsinfo.insertRow(grd_icmsinfo.row, "below", false);
-
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/histstat", "I");
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setValue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/appfromdd",currentdate);
- model.setValue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/appdd",currentdate);
- ]]>
- </script>
- </button>
- <button id="btn_delicms" class="btn2_letter3" style="left:966px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/mtrtamtflag")){
- grd_icmsinfo.addstatus(grd_icmsinfo.row, "delete");
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/histstat", "D");
- } else {
- grd_icmsinfo.removeRow();
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_icmsinfo" nodeset="/root/main/icmsgrd/grdicmsinfo" caption="구분^신청기간^신청기간^신청일^등록번호^관리번호^일련번호^이력상태" colsep="^" colwidth="405, 250, 250, 250, 0, 0, 0, 0" dataheight="25" defaultrows="1" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:5px; top:30px; width:1180px; height:135px; ">
- <col ref="mtrtamtflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/mtrtamtflag">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="appfromdd" type="inputdate"/>
- <col ref="apptodd" type="inputdate"/>
- <col ref="appdd" type="inputdate"/>
- <col ref="pid"/>
- <col ref="mngtno"/>
- <col ref="seqno"/>
- <col ref="histstat"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (isDataCell() && model.getvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/histsta") != "I"){
- grd_icmsinfo.addstatus(grd_icmsinfo.row, "update");
- model.setvalue("/root/main/icmsgrd/grdicmsinfo[" + grd_icmsinfo.row + "]/histstat", "U");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line9" class="line_1" style="x1:5px; y1:25px; x2:1185px; y2:25px; "/>
- </case>
- </switch>
- <button id="button66" class="btn_sw" group="tab" selected="true" style="left:0px; top:547px; width:80px; height:22px; ">
- <caption>상병관리</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <button id="button67" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:80px; top:547px; width:92px; height:22px; ">
- <caption>증명서관리</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- </button>
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1127px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize1();
- // copyNodeType("/root/send/primarySearch", "/root/main/primaryInfo", "replace");
- model.setValue("/root/send/primarySearch1/insukind", model.getValue("/root/main/primaryInfo/insukind"));
- model.setValue("/root/send/primarySearch1/suppkind", model.getValue("/root/main/primaryInfo/suppkind"));
-
- var flag = true;
- var referenceValue = cmb_reference.value;
- var sPid = model.getValue("/root/main/primaryInfo/pid");
-
- model.setValue("/root/send/primarySearch1/reference", referenceValue);
- switch (referenceValue){
- case "0":
- model.setValue("/root/send/primarySearch1/reference", "0");
- model.setValue("/root/send/primarySearch1/reference1", "");
- model.setValue("/root/send/primarySearch1/reference2", "");
- break;
- case "1":
- if (model.getValue("/root/main/primaryInfo/pid") == "") {
- flag = false;
- }
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/primaryInfo/pid"));
- model.setValue("/root/send/primarySearch1/reference2", "");
- break;
- case "2":
- if (model.getValue("/root/main/primaryInfo/hngnm") == "") {
- flag = false;
- }
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/primaryInfo/hngnm"));
- model.setValue("/root/send/primarySearch1/reference2", "");
- break;
- case "3":
- if (model.getValue("/root/main/primaryInfo/rrgstno") == "") {
- flag = false;
- }
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/primaryInfo/rrgstno"));
- model.setValue("/root/send/primarySearch1/reference2", "");
- break;
- case "4":
- if (model.getValue("/root/main/primaryInfo/tel") == "") {
- flag = false;
- }
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/primaryInfo/tel"));
- model.setValue("/root/send/primarySearch1/reference2", "");
- break;
- case "5":
- if (model.getValue("/root/main/primaryInfo/inducsbrchcd") == "") {
- flag = false;
- }
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/primaryInfo/inducsbrchcd"));
- model.setValue("/root/send/primarySearch1/reference2", "");
- break;
- case "6":
- if (model.getValue("/root/main/primaryInfo/bizplcenm") == "") {
- flag = false;
- }
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/primaryInfo/bizplcenm"));
- model.setValue("/root/send/primarySearch1/reference2", "");
- break;
- case "7":
- if (model.getValue("/root/main/primaryInfo/date1") == "") {
- flag = false;
- }
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/primaryInfo/date1"));
- model.setValue("/root/send/primarySearch1/reference2", model.getValue("/root/main/primaryInfo/date2"));
- break;
- case "8":
- if (model.getValue("/root/main/primaryInfo/date1") == "") {
- flag = false;
- }
- model.setValue("/root/send/primarySearch1/reference1", model.getValue("/root/main/primaryInfo/date1"));
- model.setValue("/root/send/primarySearch1/reference2", model.getValue("/root/main/primaryInfo/date2"));
- break;
- }
-
- model.setValue("/root/send/primarySearch1/inhospflag", model.getValue("/root/main/primaryInfo/inhospflag"));
- model.setValue("/root/send/primarySearch1/renew", model.getValue("/root/main/primaryInfo/renew"));
- if (flag == true) {
- // 산재등록 마스터icpm 조회
- submit("TRPMC02701");
-
-
- copyNodeType("/root/main/ptbsinfo","/root/main/icpmgrd/ptbs","replace");
- if (grd_icpminfo.rows >= 2) {
- model.setvalue("/root/main/icpminfo/insukind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/insukind"));
- model.setvalue("/root/main/icpminfo/suppkind",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/suppkind"));
- model.setvalue("/root/main/icpminfo/mngtno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno"));
- model.setvalue("/root/main/icpminfo/mngtno_org",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno_org"));
- model.setvalue("/root/main/icpminfo/inducsbrchcd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/inducsbrchcd"));
- model.setvalue("/root/main/icpminfo/acddd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/acddd"));
- model.setvalue("/root/main/icpminfo/bizplcenm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/bizplcenm"));
- model.setvalue("/root/main/icpminfo/bizplcergstseqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/bizplcergstseqno"));
- model.setvalue("/root/main/icpminfo/ordopendd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/ordopendd"));
- model.setvalue("/root/main/icpminfo/ordtodd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/ordtodd"));
- model.setvalue("/root/main/icpminfo/chrgnm",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/chrgnm"));
- model.setvalue("/root/main/icpminfo/endflag",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/endflag"));
- combo7.dispatch("xforms-value-changed");
- model.setvalue("/root/main/icpminfo/inducsrem",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/inducsrem"));
- model.setvalue("/root/main/icpminfo/seqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/seqno"));
- model.setvalue("/root/main/icpminfo/pid",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/pid"));
- model.setvalue("/root/main/icpminfo/endcnts",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/endcnts"));
- model.setvalue("/root/main/icpminfo/bizplceseqno",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/bizplceseqno"));
-
- model.setvalue("/root/main/icpminfo/coordresncd",model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/coordresncd"));
-
- model.setvalue("/root/send/primarySearch/type", "1");
- model.setvalue("/root/send/primarySearch/pid", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/pid"));
- model.setvalue("/root/send/primarySearch/mngtno", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + 1 + "]/mngtno"));
- // 환자인적정보조회
- submit("TRPMC02702");
- // 산재환자 기간관리조회
- if(submit("TRPMC02704")){
- for(var i =1; i<=grd_pmchicmt.rows; i++){
- var sorddeptcd = grd_pmchicmt.valueMatrix(i, 4);
- grd_pmchicmt.cellComboNodeset(i,5) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- }
- }
- // 산재환자 기간 그룹별조회
- //submit("TRPMC02709");
-
- model.setvalue("/root/send/selectinfo/pid",model.getvalue("/root/main/icpminfo/pid"));
- model.setvalue("/root/send/selectinfo/mngtno",model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/selectinfo/insukind",model.getvalue("/root/main/icpminfo/insukind"));
-
- // 산재환자 상병조회
- submit("TRPMC02705");
- // 산재환자 증명서조회
- submit("TRPMC02706");
- // 휴업급여요양비조회
- submit("TRPMC02707");
-
- // 2009.09.25 - 전체/유효건 보기
- fViewValidData();
-
- model.refresh();
- } else {
- if (model.getValue("/root/send/primarySearch/reference") == 1) {
- model.setValue("/root/send/primarySearch/reference","1");
- model.setValue("/root/send/primarySearch/reference1", sPid);
-
- // 환자인적정보조회
- submit("TRPMC02702");
-
- var iCount = getNodesetCount("/root/main/ptbsinfo");
- if (iCount == 0) {
- fMakePtbsNode();
- }
- }
- //messageBox("조회된 결과가", "I004");
- }
-
- if (grd_icpminfo.rows == 0 && model.getValue("/root/main/ptbsinfo/pid") != "") {
- var currentdate = getCurrentDate();
-
- if (cmb_reference.value == "1" || cmb_reference.value == "2" || cmb_reference.value == "3" || cmb_reference.value == "4") {
- model.setvalue("/root/send/primarySearch/type",model.getvalue("/root/send/primarySearch1/reference"));
- model.setvalue("/root/send/primarySearch/pid",model.getvalue("/root/send/primarySearch1/reference1"));
- // 환자인적정보조회
- submit("TRPMC02702");
- model.setvalue("/root/main/icpminfo/insukind","41");
- model.setvalue("/root/main/icpminfo/ordopendd",currentdate);
- model.setvalue("/root/main/icpminfo/ordtodd","99991231");
- model.setvalue("/root/main/icpminfo/endflag","N");
- combo7.dispatch("xforms-value-changed");
- model.setvalue("/root/main/icpminfo/endcnts","");
- model.refresh();
- }
- }
-
- /* ---------------------------------------------------------------------------------------------------------- */
- if (model.getValue("/root/main/ptbsinfo/pid") != "" ) {
- model.setvalue("/root/send/iaiwreceive/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/iaiwreceive/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/iaiwreceive/instcd", getUserInfo("dutplceinstcd"));
- model.setvalue("/root/send/iaiwreceive/insukind", "41");
- }
- // 면담조회(면담여부확인하여버튼색변경)
- submit("TRPMC03501");
- var iCount = getNodesetCount("/root/main/iaiwgrid/grdiaiwsearch");
- if(iCount > 0){
- button3.attribute("color") = "#ff0000";
- }else{
- button3.attribute("color") = "#184d8b";
- }
- /* ---------------------------------------------------------------------------------------------------------- */
- }
- ]]>
- </script>
- </button>
- <select id="chk_renew" ref="/root/main/primaryInfo/renew" class="checkbox_search" overflow="visible" appearance="full" style="left:1013px; top:10px; width:92px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>연장신청환자</label>
- <value>0</value>
- </item>
- </choices>
- </select>
- <line id="line10" class="line_4" style="x1:1113px; y1:7px; x2:1113px; y2:29px; "/>
- <caption id="caption15" class="search_name" style="left:367px; top:10px; width:86px; height:17px; ">조회조건 :</caption>
- <caption id="caption19" class="search_name" style="left:787px; top:10px; width:86px; height:17px; ">구분 :</caption>
- <caption id="caption24" class="search_name" style="left:8px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
- <select1 id="cmb_reference" ref="/root/main/primaryInfo/reference" class="combo_search" appearance="minimal" style="left:454px; top:9px; width:95px; 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>
- <item>
- <label>노동지사</label>
- <value>5</value>
- </item>
- <item>
- <label>사업장명</label>
- <value>6</value>
- </item>
- <item>
- <label>재해발생일</label>
- <value>7</value>
- </item>
- <item>
- <label>진료기간</label>
- <value>8</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.resetInstanceNode("/root/main/primaryInfo/reference1");
- model.resetInstanceNode("/root/main/primaryInfo/reference2");
- model.setFocus("/root/main/primaryInfo/reference1");
- switch (model.getvalue("/root/main/primaryInfo/reference")){
- case "0":
- ipt_pid1.visible = false;
- ipt_date1.visible = false;
- ipt_date2.visible=false;
- cmb_inducsbrchcd1.visible = false;
- ipt_bizplcenm1.visible = false;
- ipt_tel1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_hngnm1.visible = false;
- caption1.visible= false;
-
- //rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=false;
-
-
- break;
- case "1":
- model.setValue("/root/main/primaryInfo/pid", "");
- ipt_pid1.visible = true;
- ipt_date1.visible = false;
- ipt_date2.visible=false;
- cmb_inducsbrchcd1.visible = false;
- ipt_bizplcenm1.visible = false;
- ipt_tel1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_hngnm1.visible = false;
- caption1.visible= false;
- model.refresh();
- model.setFocus("ipt_pid1");
- rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=true;
- break;
- case "2":
- model.setValue("/root/main/primaryInfo/hngnm", "");
- ipt_hngnm1.visible = true;
- ipt_date1.visible = false;
- ipt_date2.visible=false;
- cmb_inducsbrchcd1.visible = false;
- ipt_bizplcenm1.visible = false;
- ipt_tel1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_pid1.visible=false;
- caption1.visible= false;
- ipt_hngnm1.refresh();
- model.setFocus("ipt_hngnm1");
- rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=true;
- break;
- case "3":
- model.setValue("/root/main/primaryInfo/rrgstno", "");
- ipt_rrgstno1.visible = true;
- ipt_date1.visible = false;
- ipt_date2.visible=false;
- cmb_inducsbrchcd1.visible = false;
- ipt_bizplcenm1.visible = false;
- ipt_tel1.visible = false;
- ipt_hngnm1.visible = false;
- ipt_pid1.visible=false;
- caption1.visible= false;
- ipt_rrgstno1.refresh();
- model.setFocus("ipt_rrgstno1");
- rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=true;
- break;
- case "4":
- model.setValue("/root/main/primaryInfo/tel", "");
- ipt_tel1.visible = true;
- ipt_date1.visible = false;
- ipt_date2.visible=false;
- cmb_inducsbrchcd1.visible = false;
- ipt_bizplcenm1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_hngnm1.visible = false;
- ipt_pid1.visible=false;
- caption1.visible= false;
- ipt_tel1.refresh();
- model.setFocus("ipt_tel1");
- rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=true;
- break;
- case "5":
- model.setValue("/root/main/primaryInfo/inducsbrchcd", "");
- cmb_inducsbrchcd1.visible = true;
- ipt_date1.visible = false;
- ipt_date2.visible=false;
- ipt_bizplcenm1.visible = false;
- ipt_tel1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_hngnm1.visible = false;
- ipt_pid1.visible=false;
- caption1.visible= false;
- cmb_inducsbrchcd1.refresh();
- model.setFocus("cmb_inducsbrchcd1");
- rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=true;
- break;
- case "6":
- model.setValue("/root/main/primaryInfo/bizplcenm", "");
- ipt_bizplcenm1.visible = true;
- ipt_date1.visible = false;
- ipt_date2.visible=false;
- cmb_inducsbrchcd1.visible = false;
- ipt_tel1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_hngnm1.visible = false;
- ipt_pid1.visible=false;
- caption1.visible= false;
- ipt_bizplcenm1.refresh();
- model.setFocus("ipt_bizplcenm1");
- rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=true;
- break;
- case "7":
- model.setValue("/root/main/primaryInfo/date1", "");
- model.setValue("/root/main/primaryInfo/date2", "");
- ipt_date1.visible = true;
- ipt_date2.visible=true;
- cmb_inducsbrchcd1.visible = false;
- ipt_bizplcenm1.visible = false;
- ipt_tel1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_hngnm1.visible = false;
- ipt_pid1.visible=false;
- caption1.visible= true;
- ipt_date1.refresh();
- ipt_date2.refresh();
- model.setFocus("ipt_date1");
- rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=true;
- break;
- case "8":
- model.setValue("/root/main/primaryInfo/date1", "");
- model.setValue("/root/main/primaryInfo/date2", "");
- ipt_date1.visible = true;
- ipt_date2.visible=true;
- cmb_inducsbrchcd1.visible = false;
- ipt_bizplcenm1.visible = false;
- ipt_tel1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_hngnm1.visible = false;
- ipt_pid1.visible=false;
- caption1.visible= true;
- ipt_date1.refresh();
- ipt_date2.refresh();
- model.setFocus("ipt_date1");
- rdo_inhospflag.value=1;
- rdo_inhospflag.disabled=true;
- break;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_inhospflag" ref="/root/main/primaryInfo/inhospflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:855px; top:10px; width:135px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>외래</label>
- <value>3</value>
- </item>
- <item>
- <label>재원</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_insukind" ref="/root/main/primaryInfo/insukind" class="combo_search" appearance="minimal" style="left:97px; top:9px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- <item>
- <label>공상</label>
- <value>42</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSuppKindSet1();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/properties/menu/menuparam", model.getValue("/root/main/primaryInfo/insukind"));
- ]]>
- </script>
- </select1>
- <input id="ipt_pid1" ref="/root/main/primaryInfo/pid" class="input_search" imemode="numeric" maxlength="10" style="left:555px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- // inputEnterKey("btn_search", "DOMActivate");
- setInputNodeCurText();
- model.setValue("/root/send/search1/pid",model.getValue("/root/main/primaryInfo/pid"));
- model.setValue("/root/send/search1/srchcond","1");
- modal("SPPMC02500_환자조회", "1","150", "150", "", "/root/send/search1", "/root/send");
- model.setValue("/root/main/primaryInfo/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- inputEnterKey("btn_search", "DOMActivate");
- ipt_pid1.visible = false;
- ipt_date1.visible = false;
- ipt_date2.visible = false;
- caption1.visible= false;
- ipt_hngnm1.visible = false;
- ipt_rrgstno1.visible = false;
- ipt_tel1.visible = false;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm1" ref="/root/main/primaryInfo/hngnm" class="input_search" imemode="hangul" maxlength="50" style="left:555px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- // inputEnterKey("btn_search", "DOMActivate");
- setInputNodeCurText();
- model.setValue("/root/send/search1/hngnm",model.getValue("/root/main/primaryInfo/hngnm"));
- model.setValue("/root/send/search1/srchcond","2");
- modal("SPPMC02500_환자조회", "1","150", "150", "", "/root/send/search1", "/root/send");
- model.setValue("/root/main/primaryInfo/reference", "1");
- model.setValue("/root/main/primaryInfo/hngnm", "");
- model.setValue("/root/main/primaryInfo/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- inputEnterKey("btn_search", "DOMActivate");
- ipt_pid1.visible = false;
- ipt_hngnm1.visible = false;
- ipt_rrgstno1.visible = false;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno1" ref="/root/main/primaryInfo/rrgstno" class="input_search" imemode="numeric" maxlength="14" format="999999-9999999" style="left:555px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- // inputEnterKey("btn_search", "DOMActivate");
- setInputNodeCurText();
- var rrgstno = model.getValue("/root/main/primaryInfo/rrgstno");
-
- model.setValue("/root/send/search1/rrgstno1", rrgstno.substring(0,6));
- model.setValue("/root/send/search1/rrgstno2", rrgstno.substring(7,14));
- model.setValue("/root/send/search1/srchcond","3");
- modal("SPPMC02500_환자조회", "1","150", "150", "", "/root/send/search1", "/root/send");
- model.setValue("/root/main/primaryInfo/reference", "1");
- model.setValue("/root/main/primaryInfo/rrgstno", "");
- model.setValue("/root/main/primaryInfo/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- inputEnterKey("btn_search", "DOMActivate");
- ipt_pid1.visible = false;
- ipt_hngnm1.visible = false;
- ipt_rrgstno1.visible = false;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_tel1" ref="/root/main/primaryInfo/tel" class="input_search" imemode="numeric" maxlength="13" style="left:555px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- // btn_search.dispatch("DOMActivate");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_inducsbrchcd1" ref="/root/main/primaryInfo/inducsbrchcd" class="combo_search" appearance="minimal" style="left:555px; top:9px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>수원지사</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- // btn_search.dispatch("DOMActivate");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_bizplcenm1" ref="/root/main/primaryInfo/bizplcenm" class="combo_search" imemode="hangul" style="left:555px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- // btn_search.dispatch("DOMActivate");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_date1" ref="/root/main/primaryInfo/date1" class="input_search" imemode="numeric" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:555px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setFocus("ipt_date2");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_date2" ref="/root/main/primaryInfo/date2" class="input_search" imemode="numeric" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:669px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- // btn_search.dispatch("DOMActivate");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:650px; top:10px; width:15px; height:20px; ">~</caption>
- <select1 id="cbo_suppkind" ref="/root/main/primaryInfo/suppkind" class="combo_search" appearance="minimal" style="left:276px; top:10px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hidden/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("cmb_reference");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setFocus("cmb_reference");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:187px; top:10px; width:86px; height:17px; ">보조유형 :</caption>
- </group>
- <button id="button1" class="btn2_letter4" style="left:1130px; top:127px; 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_icpminfo.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <button id="btn_excelicmt" class="btn2_letter4" style="left:1085px; top:378px; 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_pmchicmt.saveExcel(fileName, "grd_pmchicmt", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_saveicmt" class="btn5_letter2" style="left:1150px; top:378px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var i = 1;
- var flag = true;
- while ( i <= grd_pmchicmt.rows-1) {
- var rstatus = grd_pmchicmt.rowStatus(i);
-
- if( rstatus == "1" || rstatus == "2" || rstatus == "3" ){
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/chospresn") == "") {
- window.alert("요양구분은 필히 선택해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/ordflag") == "") {
- window.alert("외래/입원 구분은 필히 선택해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/orddeptcd") == "") {
- window.alert("진료과는 필히 선택해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- //20101227 이동식 추가 - 종료여부 입력하지 않을 경우 기간관리 저장 안됨.
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/endyn") == "") {
- window.alert("종료여부는 필히 선택해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- // 강남 요구사항 20081020 이성인
- // if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/orddrid") == "") {
- // window.alert("의사는 필히 선택해주셔야 합니다.", "알림");
- // flag = false;
- // break;
- // }
-
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/specordyn") == "") {
- window.alert("선택진료구분은 필히 입력 해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- }
-
- i++;
- }
-
-
- // 2011.1.3 저장할 row가 insert, update, delete인 것만 체크하여 저장로직 타도록 수정
- var rstatus = grd_pmchicmt.rowStatus(grd_pmchicmt.row);
-
- if (flag == true) {
- for (i = 1; i <= grd_pmchicmt.rows-1; i++) {
-
- if( rstatus == "1" || rstatus == "2" || rstatus == "3" || rstatus == "4" ){
-
- model.resetInstanceNode("/root/send/insertdata1");
-
- model.setvalue("/root/send/insertdata1/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/insertdata1/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/insertdata1/mtrtseqno", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/mtrtseqno"));
- model.setvalue("/root/send/insertdata1/seqno", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/seqno"));
- model.setvalue("/root/send/insertdata1/histstat", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/histstat"));
- model.setvalue("/root/send/insertdata1/chospresn", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/chospresn"));
- model.setvalue("/root/send/insertdata1/chosresndetl", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/chosresndetl"));
- model.setvalue("/root/send/insertdata1/ordflag", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/ordflag"));
- model.setvalue("/root/send/insertdata1/orddeptcd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/orddeptcd"));
- if(model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/orddrid") == "") {model.setvalue("/root/send/insertdata1/orddrid",'-' );}
- else{ model.setvalue("/root/send/insertdata1/orddrid", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/orddrid"));}
- model.setvalue("/root/send/insertdata1/specordyn", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/specordyn"));
- model.setvalue("/root/send/insertdata1/reqdd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/reqdd"));
- model.setvalue("/root/send/insertdata1/orddd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/orddd"));
- model.setvalue("/root/send/insertdata1/ordfromdd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/ordfromdd"));
- model.setvalue("/root/send/insertdata1/ordtodd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/ordtodd"));
- model.setvalue("/root/send/insertdata1/aprydd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/aprydd"));
- model.setvalue("/root/send/insertdata1/apryfromdd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/apryfromdd"));
- model.setvalue("/root/send/insertdata1/aprytodd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/aprytodd"));
- model.setvalue("/root/send/insertdata1/aprydayno", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/aprydayno"));
- model.setvalue("/root/send/insertdata1/aprtinstcd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/aprtinstcd"));
- model.setvalue("/root/send/insertdata1/inducstermrem", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/inducstermrem"));
- model.setvalue("/root/send/insertdata1/nurseflag", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/nurseflag"));
-
- model.setvalue("/root/send/insertdata1/inducsbrchcd", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/inducsbrchcd"));
- model.setvalue("/root/send/insertdata1/endyn", model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/endyn"));
-
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/histstat") == "I") {
- submit("TXPMC02703");
- }
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/histstat") == "U") {
- submit("TXPMC02704");
- // submit("TXPMC02703");
- }
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + i + "]/histstat") == "D") {
- submit("TXPMC02704");
- }
-
- }
-
- }
- model.removeNodeset("/root/main/icmtgrd/grdicmtinfo");
-
- model.setvalue("/root/send/primarySearch/type","1");
- model.setvalue("/root/send/primarySearch/pid",model.getvalue("/root/main/ptbsinfo/pid"));
-
- // 산재환자 기간관리조회
- if(submit("TRPMC02704")){
- for(var i =1; i<=grd_pmchicmt.rows; i++){
- var sorddeptcd = grd_pmchicmt.valueMatrix(i, 4);
- grd_pmchicmt.cellComboNodeset(i,5) ="/root/init/hidden/orddrid[dp = '" + sorddeptcd + "' ]";
- }
- }
- // 산재환자 기간 그룹별조회
- //submit("TRPMC02709");
-
- // 2009.09.25 - 전체/유효건 보기
- fViewValidData();
- }
- ]]>
- </script>
- </button>
- <input id="input8" ref="/root/main/icpminfo/seqno" visibility="hidden" style="left:560px; top:127px; width:15px; height:19px; "/>
- <button id="btn_save" class="btn5_letter2" style="left:394px; top:127px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sPid = model.getvalue("/root/main/ptbsinfo/pid");
- var sBiz = model.getvalue("/root/main/icpminfo/bizplcergstseqno");
-
- if (isNull(sPid)) {
- messageBox("환자번호가 없습니다!!", "I");
- return;
- }
-
- if (isNull(sBiz)) {
- messageBox("사업장명을 입력 후 저장 하십시오!", "I");
- return;
- }
-
- if (isNull(model.getValue("/root/main/icpminfo/mngtno"))) {
- messageBox("산재관리번호를 입력 후 저장 하십시오!", "I");
- return;
- }
-
- model.resetInstanceNode("/root/send/insertdata");
- if (model.getvalue("/root/main/icpminfo/seqno") == "") {
- messageBox("신규 저장이면 [신규]버튼을 누르시고 수정이면 수정할 산재이력을 선택하신 후 정보 수정 후 [수정]버튼을 누르세요", "E999", "");
- return false;
- } else {
- model.setvalue("/root/main/icpminfo/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/main/icpminfo/endcnts", model.getvalue("/root/main/icpminfo/endcnts"));
- model.setvalue("/root/main/icpminfo/mngtno" , model.getvalue("/root/main/icpminfo/mngtno").removeMask('\n'));
- copyNodeType("/root/send/insertdata", "/root/main/icpminfo", "replace");
- if(submit("TXPMC02713")) {
- // submit("TXPMC02701");
- }
- }
-
-
- fInitialize1();
- event.keyCode = 13;
- model.setValue("/root/send/primarySearch1/reference", "1");
- model.makeValue("/root/hidden/pid" , sPid);
- ipt_pid.dispatch("onkeypress");
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn5_letter2" style="left:437px; top:127px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sPid = model.getvalue("/root/main/ptbsinfo/pid");
-
- if (isNull(sPid)) {
- messageBox("환자번호가 없습니다!!", "I");
- return;
- }
-
- var msg = "【 " + model.getValue("/root/main/ptbsinfo/hngnm") + " 】님의 산재/공상이력을"
-
- copyNodeType("/root/send/insertdata", "/root/main/icpminfo", "replace");
-
- if (messageBox(msg, "Q001") == "6") {
- submit("TXPMC02702");
- //fInitialize1();
- // btn_search.dispatch("DOMActivate");
- }
-
- fInitialize1();
- event.keyCode = 13;
- model.setValue("/root/send/primarySearch1/reference", "1");
- model.makeValue("/root/hidden/pid" , sPid);
- ipt_pid.dispatch("onkeypress");
- ]]>
- </script>
- </button>
- <button id="btn_upicmt" class="btn2_letter3" visibility="hidden" style="left:799px; top:378px; width:53px; height:19px; ">
- <caption>행수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( isDataCell() ){
- grd_pmchicmt.addstatus(grd_pmchicmt.row, "update");
- model.setvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat", "U");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:172px; top:547px; width:92px; height:22px; ">
- <caption>휴업급여요양비</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <select1 id="cbo_endcnts" ref="/root/main/icpminfo/endcnts" class="combo_default" appearance="minimal" style="left:299px; top:281px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hidden/endcnts">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:204px; top:280px; width:93px; height:23px; ">종결사유</caption>
- <button id="button6" class="btn2_letter5" style="left:273px; top:127px; width:75px; height:19px; ">
- <caption>사업장관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/smpmc03700/cond", "0");
- model.setValue("/root/send/smpmc03700/reference", "");
- modal("SMPMC03700", "4", "", "", "", "", "/root/send/smpmc03700", "/root/send/ref");
- submit("TRPMC02708");
- ]]>
- </script>
- </button>
- <button id="btn_roomamt" class="btn2_letter5" style="left:739px; top:127px; width:75px; height:19px; ">
- <caption>병실료차액</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (!isNull(model.getvalue("/root/main/icpminfo/mngtno"))) {
- model.setvalue("/root/send/airasend/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/airasend/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
- model.setvalue("/root/send/airasend/instcd", getUserInfo("dutplceinstcd"));
- model.setvalue("/root/send/airasend/insukind", model.getValue("/root/main/icpminfo/insukind"));
- //model.setvalue("/root/send/airasend/insukind", "41");
- modal("SMPMC03400_자보병실차액", "", "400", "300", "", "/root/send/airasend", "/root/send/airareceive");
- } else {
- messageBox("환자의 산재등록정보가", "I004");
- }
- ]]>
- </script>
- </button>
- <button id="button10_up" class="icon_top_direction" navindex="-1" style="left:190px; top:378px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fbutton10_up();
- ]]>
- </script>
- </button>
- <button id="button10_down" class="icon_bottom_direction" navindex="-1" style="left:217px; top:378px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fbutton10_down();
- ]]>
- </script>
- </button>
- <button id="button10_change" class="btn2_letter8" navindex="-1" visibility="hidden" style="left:81px; top:378px; width:97px; height:19px; ">
- <caption>싱글입력/그룹조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fbutton10_change();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter6" navindex="-1" style="left:244px; top:378px; width:86px; height:19px; ">
- <caption>기간이력조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fbutton10_Search();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:484px; top:378px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var currentdate = getCurrentDate();
-
- grd_newpmchicmt.addRow(grd_newpmchicmt.row, true);
-
- model.setvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/histstat", "I");
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/chospresn","06"); // 진찰의뢰 기본으로 셋팅 2009.06.03 JHP 수정추가
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/orddd",currentdate);
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/ordfromdd",currentdate);
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/aprytodd",'99991231');
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/reqdd",currentdate);
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/specordyn", "Y"); // 선택으로 기본 셋팅 2009.06.03 JHP 수정추가
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" visibility="hidden" style="left:430px; top:378px; width:53px; height:19px; ">
- <caption>행수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( isDataCell() ){
- grd_newpmchicmt.addstatus(grd_newpmchicmt.row, "update");
- model.setvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/histstat", "U");
- }
- ]]>
- </script>
- </button>
- <button id="button13" class="btn5_letter2" style="left:711px; top:378px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var i = 1;
- var flag = true;
- while ( i <= grd_newpmchicmt.rows-1) {
- //alert(i);
- if (model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + i + "]/chospresn") == "") {
- window.alert("요양구분은 필히 선택해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- if (model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + i + "]/ordflag") == "") {
- window.alert("외래/입원 구분은 필히 선택해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- if (model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + i + "]/orddeptcd") == "") {
- window.alert("진료과는 필히 선택해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- if (model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + i + "]/specordyn") == "") {
- window.alert("선택진료구분은 필히 입력 해주셔야 합니다.", "알림");
- flag = false;
- break;
- }
- i++;
- }
- if (flag == true) {
- model.setValue("/root/send/newinsertdata1/list", grd_newpmchicmt.getUpdateData());
- model.setvalue("/root/send/newinsertdata1/info/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/send/newinsertdata1/info/mngtno", model.getvalue("/root/main/icpminfo/mngtno"));
-
- model.refreshpart("/root/send/newinsertdata1");
- submit("TXPMC02711");
- }
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter3" style="left:592px; top:378px; width:53px; height:19px; ">
- <caption>행삽입</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var currentdate = getCurrentDate();
-
- // grd_pmchicmt.addRow(grd_pmchicmt.row, true);
- grd_newpmchicmt.insertRow(grd_newpmchicmt.row, "below", false);
- // grd_pmchicmt.cellStyle("background-image", grd_pmchicmt.row, 1) = "../../../com/commonweb/images/icon_i.gif";
- model.setvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/histstat", "I");
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/chospresn","06"); // 진찰의뢰 기본으로 셋팅 2009.06.03 JHP 수정추가
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/orddd",currentdate);
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/ordfromdd",currentdate);
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/reqdd",currentdate);
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/specordyn", "Y"); // 선택 기본으로 셋팅 2009.06.03 JHP 수정추가
- ]]>
- </script>
- </button>
- <button id="button17" class="btn2_letter3" style="left:538px; top:378px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/chospresn") != ""){
- grd_newpmchicmt.addstatus(grd_newpmchicmt.row, "delete");
- model.setvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/histstat", "D");
- } else {
- grd_newpmchicmt.removeRow(false);
- }
- ]]>
- </script>
- </button>
- <button id="button18" class="btn2_letter4" style="left:646px; top:378px; 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_newpmchicmt.saveExcel(fileName, "grd_newpmchicmt", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="button19" class="btn2_letter8" style="left:1021px; top:127px; width:108px; height:19px; ">
- <caption>개별과거이력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fBeforeIcpminfo();
- ]]>
- </script>
- </button>
- <button id="btn_insrow" class="btn2_letter3" navindex="8" style="left:869px; top:378px; width:53px; height:19px; ">
- <caption>행복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_pmchicmt.row;
-
- if(row <= 0){
- messageBox("복사할 행을","C002");
- }
-
- var copyrow = model.getValue("/root/hidden/icmtrowcopy/row");
- if(copyrow == "0" || copyrow == ""){
- copyrow = "1";
- }
- for(var i = 1; i <= copyrow; i++){
- grd_pmchicmt.AddRow();
-
- model.copyNode("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row+" ]","/root/main/icmtgrd/grdicmtinfo[" + row +" ]");
- model.setValue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row+" ]/histstat", "I");
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/hidden/icmtrowcopy/row" class="input_default" style="left:853px; top:378px; width:15px; height:19px; "/>
- <!-- comment : 2009.06.23, JHP, 진료과가 2번나와서 확인해보니 입원,외래에 해당하는 진료과가 같이나와서 그러함. 입원외래에 값이 있으면 진료과 중복없이 나옴. -->
- <datagrid id="grd_newpmchicmt" nodeset="/root/main/newicmtgrd/newgrdicmtinfo" class="datagrid2" caption="요양구분^요양구분
상세^외래/
입원^진료과^의사^선택진료
청구여부^요양일련
번호^일련
번호^진료과2^의사2^선택진료
청구여부2^요양일련
번호2^일련
번호2^진료과3^의사3^선택진료
청구여부3^요양일련
번호3^일련
번호3^진료과4^의사4^선택진료
청구여부4^요양일련
번호4^일련
번호4^진료과5^의사5^선택진료
청구여부5^요양일련
번호5^일련
번호5^진료과6^의사6^선택진료
청구여부6^요양일련
번호6^일련
번호6^진료과7^의사7^선택진료
청구여부7^요양일련
번호7^일련
번호7^진료과8^의사8^선택진료
청구여부8^요양일련
번호8^일련
번호8^진료과9^의사9^선택진료
청구여부9^요양일련
번호9^일련
번호9^진료과10^의사10^선택진료
청구여부10^요양일련
번호10^일련
번호10^결정통지일^승인시작일^승인종료일^종료여부^산재지사^승인요청일자^진료일자^시작일^종료일^일수^승인기관^참고사항^간병인여부^수정일자^작업자^이력상태^1^2^3^4^5^6^7^8^9^10" colsep="^" colwidth="71, 61, 41, 100, 56, 60, 55, 30, 100, 56, 60, 55, 35, 100, 56, 60, 55, 35, 100, 56, 60, 55, 35, 100, 56, 60, 55, 35, 100, 56, 60, 55, 35, 100, 56, 60, 55, 35, 100, 56, 60, 55, 35, 100, 56, 60, 55, 35, 100, 56, 60, 55, 35, 90, 90, 90, 90, 90, 90, 90, 90, 90, 42, 10, 260, 40, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:403px; width:1194px; height:137px; ">
- <col disabled="true" ref="chospresn" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/chosresn">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="chosresndetl" type="input" visibility="hidden"/>
- <col disabled="true" ref="ordflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0028list/P0028">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddeptcd" type="combo" style="left:193px; top:32px; width:82px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno" visibility="hidden"/>
- <col disabled="true" ref="seqno" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd2" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid2" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn2" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno2" visibility="hidden"/>
- <col disabled="true" ref="seqno2" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd3" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid3" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn3" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno3" visibility="hidden"/>
- <col disabled="true" ref="seqno3" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd4" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid4" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn4" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno4" visibility="hidden"/>
- <col disabled="true" ref="seqno4" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd5" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid5" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn5" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno5" visibility="hidden"/>
- <col disabled="true" ref="seqno5" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd6" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid6" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn6" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno6" visibility="hidden"/>
- <col disabled="true" ref="seqno6" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd7" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid7" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn7" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno7" visibility="hidden"/>
- <col disabled="true" ref="seqno7" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd8" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid8" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn8" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno8" visibility="hidden"/>
- <col disabled="true" ref="seqno8" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd9" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid9" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn9" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno9" visibility="hidden"/>
- <col disabled="true" ref="seqno9" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd10" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid10" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="specordyn10" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mtrtseqno10" visibility="hidden"/>
- <col disabled="true" ref="seqno10" visibility="hidden"/>
- <col disabled="true" ref="reqdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="orddd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="ordfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="ordtodd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="endyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="inducsbrchcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/hidden/indulist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="aprydd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="apryfromdd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="aprytodd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="aprydayno" type="input" style="text-align:center; "/>
- <col ref="aprtinstcd" type="input" style="left:901px; top:25px; width:80px; height:25px; text-align:center; "/>
- <col disabled="true" ref="inducstermrem" type="inputbutton"/>
- <col disabled="true" ref="nurseflag" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="histstat" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn2" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn3" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn4" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn5" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn6" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn7" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn8" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn9" visibility="hidden"/>
- <col disabled="true" ref="orgspecordyn10" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (grd_newpmchicmt.col == 4){
- fOrdDrSet(grd_newnewpmchicmt);
- }
-
- if (grd_newpmchicmt.col == 3){
- var sIO = grd_newpmchicmt.valueMatrix(grd_newpmchicmt.row, 3);
- if (sIO == "E") {
- sIO = "I";
- }
- grd_newpmchicmt.cellComboNodeset(grd_newpmchicmt.row,4) ="/root/init/hidden/orddeptcd[io = '" + sIO + "' ]";
- grd_newpmchicmt.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/histstat") != "I"){
- grd_newpmchicmt.addstatus(grd_newpmchicmt.row, "update");
- model.setvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/histstat", "U");
- }
- //승인종료일에 따른 승인일수 계산
- if (grd_newpmchicmt.col == 13 && grd_newpmchicmt.valueMatrix(grd_newpmchicmt.row,12) != ""){
- var diffDate = getDateInterval(model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/apryfromdd"), model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/aprytodd"));
- grd_newpmchicmt.valueMatrix(grd_newpmchicmt.row,14) = diffDate + 1;
- }
-
- //승인일수에 따른 승인종료일 계산
- if (grd_newpmchicmt.col == 14 && grd_newpmchicmt.valueMatrix(grd_newpmchicmt.row,12) != ""){
- var apryFromDay = model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/apryfromdd");
- var apryDayNo = parseInt(model.getvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/aprydayno"));
- var addDy = apryFromDay.toDate().getAddDate(apryDayNo,"D");
- addDy = addDy.getDateFormat();
- grd_newpmchicmt.valueMatrix(grd_newpmchicmt.row,13) = addDy-1;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var row = grd_newpmchicmt.row;
- var col = grd_newpmchicmt.col;
- var status = grd_newpmchicmt.rowStatus(row);
- if( col == '23') {
- if (grp_spclspec.visible == true) {
- grp_spclspec.visible = false;
- } else {
- //model.setValue("/root/hidden/spclspec", model.getValue("/root/main/list1/listatsu[" + grd_pmchicmt.mouseRow + "]/spclspec"));
- //model.setValue("/root/hidden/oldspclspec", model.getValue("/root/main/list1/listatsu[" + grd_pmchicmt.mouseRow + "]/spclspec"));
- model.setValue("/root/hidden/spclspecrem/spclspec", model.getValue("/root/main/newicmtgrd/newgrdicmtinfo[" + row + "]/inducstermrem"));
- model.setValue("/root/hidden/spclspecrem/oldspclspec", model.getValue("/root/main/newicmtgrd/newgrdicmtinfo[" + row + "]/inducstermrem"));
- grp_spclspec.visible = true;
- model.setFocus("tar_spclspec");
- tar_spclspec.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <!-- 수정이력 : 20090825 : JHP, 승인일자 -> 결정통지일자로 명칭 변경 -->
- <!-- 20091015 JHP 수정내용 변경요청 윤영옥 명칭변경 결정통지일자 => 결정통지일-->
- <datagrid id="grd_pmchicmt" nodeset="/root/main/icmtgrd/grdicmtinfo" caption="요양구분^요양구분상세^외래/입원^진료과^의사^선택진료청구여부^결정통지일^승인시작일^승인종료일^종료여부^산재지사^승인요청일자^진료일자^시작일^종료일^일수^승인기관^참고사항^간병인여부^수정일자^작업자^이력상태^일련번호^요양일련번호" colsep="^" colwidth="92, 94, 67, 96, 75, 105, 90, 90, 90, 64, 90, 90, 90, 90, 90, 42, 40, 260, 40, 40, 40, 56, 40, 40" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="free" style="left:0px; top:403px; width:1194px; height:137px; ">
- <col ref="chospresn" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/chosresn">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="chosresndetl" type="input" visibility="hidden"/>
- <col ref="ordflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0028list/P0028">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="specordyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="aprydd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="apryfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="aprytodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="endyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="inducsbrchcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/hidden/indulist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqdd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordfromdd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtodd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="aprydayno" type="input" style="text-align:center; "/>
- <col ref="aprtinstcd" type="input" visibility="hidden" style="left:901px; top:25px; width:80px; height:25px; text-align:center; "/>
- <col ref="inducstermrem" type="inputbutton"/>
- <col ref="nurseflag" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col disabled="true" ref="histstat" visibility="visible"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="mtrtseqno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (grd_pmchicmt.col == 4){
- fOrdDrSet(grd_pmchicmt);
- }
-
- if (grd_pmchicmt.col == 3){
- var sIO = grd_pmchicmt.valueMatrix(grd_pmchicmt.row, 3);
- if (sIO == "E") {
- sIO = "I";
- }
- grd_pmchicmt.cellComboNodeset(grd_pmchicmt.row,4) ="/root/init/hidden/orddeptcd[io = '" + sIO + "' ]";
- grd_pmchicmt.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat") != "I"){
- grd_pmchicmt.addstatus(grd_pmchicmt.row, "update");
- model.setvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat", "U");
- }
- //승인종료일에 따른 승인일수 계산
- if (grd_pmchicmt.col == 13 && grd_pmchicmt.valueMatrix(grd_pmchicmt.row,12) != ""){
- var diffDate = getDateInterval(model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/apryfromdd"), model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/aprytodd"));
- grd_pmchicmt.valueMatrix(grd_pmchicmt.row,14) = diffDate + 1;
- }
-
- //승인일수에 따른 승인종료일 계산
- if (grd_pmchicmt.col == 14 && grd_pmchicmt.valueMatrix(grd_pmchicmt.row,12) != ""){
- var apryFromDay = model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/apryfromdd");
- var apryDayNo = parseInt(model.getvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/aprydayno"));
- var addDy = apryFromDay.toDate().getAddDate(apryDayNo,"D");
- addDy = addDy.getDateFormat();
- grd_pmchicmt.valueMatrix(grd_pmchicmt.row,13) = addDy-1;
- }
-
- // 요양구분이 진료의뢰일때는 처음에 선택진료청구여부는 Y로 셋팅한다. 추가 : 2009.06.22
- if(grd_pmchicmt.colRef("chospresn") == 1){
- var chospresnvalue = grd_pmchicmt.valueMatrix(grd_pmchicmt.row, grd_pmchicmt.colRef("chospresn"));
- if(chospresnvalue == "06"){
- grd_pmchicmt.valueMatrix(grd_pmchicmt.row, grd_pmchicmt.colRef("specordyn")) = "Y";
- grd_pmchicmt.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var row = grd_pmchicmt.row;
- var col = grd_pmchicmt.col;
- var status = grd_pmchicmt.rowStatus(row);
- if( col == '18') {
- if (grp_spclspec.visible == true) {
- grp_spclspec.visible = false;
- } else {
- //model.setValue("/root/hidden/spclspec", model.getValue("/root/main/list1/listatsu[" + grd_pmchicmt.mouseRow + "]/spclspec"));
- //model.setValue("/root/hidden/oldspclspec", model.getValue("/root/main/list1/listatsu[" + grd_pmchicmt.mouseRow + "]/spclspec"));
- model.setValue("/root/hidden/spclspecrem/spclspec", model.getValue("/root/main/icmtgrd/grdicmtinfo[" + row + "]/inducstermrem"));
- model.setValue("/root/hidden/spclspecrem/oldspclspec", model.getValue("/root/main/icmtgrd/grdicmtinfo[" + row + "]/inducstermrem"));
- grp_spclspec.visible = true;
- model.setFocus("tar_spclspec");
- tar_spclspec.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <!-- group id="grp_spclspec" visibility="hidden" style="left:375px; top:180px; width:430px; height:250px; " -->
- <button id="button20" class="btn2_letter8" style="left:77px; top:127px; width:108px; height:19px; ">
- <caption>후유증상진단관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC06700_산재후유증상관리", "", "400", "300", "", "", "");
- ]]>
- </script>
- </button>
- <button id="button21" class="btn2_letter10" style="left:608px; top:127px; width:130px; height:19px; ">
- <caption>후유증상진단개별등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (!isNull(model.getvalue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/pid"))) {
- model.setvalue("/root/send/indcaselist/pid", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/pid"));
- model.setvalue("/root/send/indcaselist/mngtno", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/mngtno"));
- model.setvalue("/root/send/indcaselist/acddd", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/acddd"));
- model.setvalue("/root/send/indcaselist/inducsbrchcd", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/inducsbrchcd"));
- model.setvalue("/root/send/indcaselist/hngnm", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/hngnm"));
- model.setvalue("/root/send/indcaselist/rrgstno", model.getvalue("/root/main/icpmgrd/grdicpminfo[" + grd_icpminfo.row + "]/rrgstno"));
- } else {
- messageBox("환자의 산재이력 선택정보가 ", "I004");
- }
- modal("SPPMC02900_산재후유증상개별등록", "", "400", "300", "", "/root/send/indcaselist", "/root/send/search");
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/hidden/viewoption" overflow="visible" appearance="full" style="left:340px; top:380px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 유효건/전체 보기 - 2009.09.25
- fViewValidData();
- ]]>
- </script>
- </select>
- <select1 id="cmb_bizplcenm" ref="/root/main/icpminfo/bizplcergstseqno" class="input_essential" appearance="minimal" editmode="search" itemcount="30" showvalue="true" style="left:299px; top:231px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hidden/bizplce">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button29" class="btn5_letter2" style="left:350px; top:127px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sPid = model.getvalue("/root/main/ptbsinfo/pid");
- var sBiz = model.getvalue("/root/main/icpminfo/bizplcergstseqno");
-
- if (isNull(sPid)) {
- messageBox("환자번호가 없습니다!!", "I");
- return;
- }
-
- if (isNull(sBiz)) {
- messageBox("사업장명을 입력 후 저장 하십시오!", "I");
- return;
- }
-
- if (isNull(model.getValue("/root/main/icpminfo/mngtno"))) {
- messageBox("산재관리번호를 입력 후 저장 하십시오!", "I");
- return;
- }
-
- model.resetInstanceNode("/root/send/insertdata");
- //if (model.getvalue("/root/main/icpminfo/seqno") == "") {
- model.setvalue("/root/main/icpminfo/seqno", "1");
-
- model.setvalue("/root/main/icpminfo/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/main/icpminfo/mngtno" , model.getvalue("/root/main/icpminfo/mngtno").removeMask('\n'));
- copyNodeType("/root/send/insertdata", "/root/main/icpminfo", "replace");
- submit("TXPMC02701");
- // } else {
- // model.setvalue("/root/main/icpminfo/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- // model.setvalue("/root/main/icpminfo/endcnts", model.getvalue("/root/main/icpminfo/endcnts"));
- // model.setvalue("/root/main/icpminfo/mngtno" , model.getvalue("/root/main/icpminfo/mngtno").removeMask('\n'));
- // copyNodeType("/root/send/insertdata", "/root/main/icpminfo", "replace");
- // if(submit("TXPMC02701")) {
- // // submit("TXPMC02702");
- // }
- // }
-
- fInitialize1();
- event.keyCode = 13;
- model.setValue("/root/send/primarySearch1/reference", "1");
- model.makeValue("/root/hidden/pid" , sPid);
- ipt_pid.dispatch("onkeypress");
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption13" class="cell_1" style="left:204px; top:203px; width:93px; height:23px; vertical-align:middle; ">산재지사</caption>
- <select1 id="combo1" ref="/root/main/icpminfo/inducsbrchcd" class="combo_default" appearance="minimal" editmode="search" itemcount="30" style="left:299px; top:205px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hidden/indulist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_remfact" class="btn2_letter6" style="left:1108px; top:50px; width:86px; height:19px; ">
- <caption>참고사항저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (messageBox("환자 참고 사항을 저장하시겠습니까?", "Q999") == 6) {
- model.makeValue("/root/temp/ptbs/remfact", "");
- model.makeValue("/root/send/ptbs/pid", model.getValue("/root/main/ptbsinfo/pid"));
- model.makeValue("/root/send/ptbs/remfact", model.getValue("/root/main/ptbsinfo/remfact"));
- submit("TXPMC02714", false);
- model.setValue("/root/main/ptbsinfo/remfact", model.getValue("/root/temp/ptbs/remfact"));
- textarea2.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_pidsearch" class="icon_search" style="left:56px; top:77px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
-
- if (model.getValue("/root/main/popupendflag") == "ok") {
- model.resetInstanceNode("/root/main/popupendflag");
- var spid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (spid == null || spid == "" || spid == " ") {
- return false;
- }
- model.setValue("/root/main/ptbsinfo/pid", spid);
-
- fGetPatInfo();
- }
- ]]>
- </script>
- </button>
- <group id="grp_spclspec" visibility="hidden" style="left:360px; top:120px; width:430px; height:250px; ">
- <line id="line13" class="line_1" style="x1:0px; y1:20px; x2:430px; y2:20px; "/>
- <caption id="caption22" class="tit_2" style="left:5px; top:5px; width:126px; height:14px; ">기간관리 참고사항</caption>
- <textarea id="tar_spclspec" ref="/root/hidden/spclspecrem/spclspec" style="left:0px; top:25px; width:430px; height:190px; "/>
- <button id="btn_memosave" class="btn4_letter2" style="left:310px; top:220px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_pmchicmt.visible == true){
- model.setValue("/root/main/icmtgrd/grdicmtinfo["+grd_pmchicmt.row+"]/inducstermrem", model.getValue("/root/hidden/spclspecrem/spclspec"));
- }else{
- model.setValue("/root/main/newicmtgrd/newgrdicmtinfo["+grd_newpmchicmt.row+"]/inducstermrem", model.getValue("/root/hidden/spclspecrem/spclspec"));
- }
- grp_spclspec.visible = false;
-
- // 내용이 변경되면 update 상태 처리
- var oldspclspec = model.getValue("/root/hidden/spclspecrem/oldspclspec");
- var spclspec = model.getValue("/root/hidden/spclspecrem/spclspec");
-
- if (oldspclspec != spclspec) {
- if(grd_pmchicmt.visible == true){
- var status = grd_pmchicmt.rowstatus(grd_pmchicmt.row);
- if (status == 0) {
- grd_pmchicmt.rowstatus(grd_pmchicmt.row) = 2;
- model.setvalue("/root/main/icmtgrd/grdicmtinfo[" + grd_pmchicmt.row + "]/histstat", "U");
- }
- }else{
- var status = grd_newpmchicmt.rowstatus(grd_newpmchicmt.row);
- if (status == 0) {
- grd_newpmchicmt.rowstatus(grd_newpmchicmt.row) = 2;
- model.setvalue("/root/main/newicmtgrd/newgrdicmtinfo[" + grd_newpmchicmt.row + "]/histstat", "U");
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn4_letter2" style="left:370px; top:220px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_spclspec.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption33" style="left:399px; top:379px; width:400px; height:20px; color:#ff0000; ">※보조유형이 "후유증상"인 경우, 요양구분이 "후유증상"만 조회됩니다.</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button24" class="btn3_letter7" disabled="true" visibility="hidden" style="left:118px; top:5px; width:116px; height:22px; ">
- <caption>산재연장신청서</caption>
- </button>
- <button id="button22" class="btn3_letter7" disabled="true" visibility="hidden" style="left:0px; top:5px; width:116px; height:22px; ">
- <caption>산재최초신청서</caption>
- </button>
- <button id="button15" class="btn3_letter5" style="left:270px; top:5px; width:92px; height:22px; ">
- <caption>진료비내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/SMPAI0020/pid", model.getValue("/root/main/ptbsinfo/pid"));
- modal("SMPAI00200", "3", "", "", "", "", "/root/send/SMPAI0020", "/root/send");
- ]]>
- </script>
- </button>
- <button id="button23" class="btn3_letter4" style="left:106px; top:5px; width:80px; height:22px; ">
- <caption>내원내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC01900", "3", "", "", "", "", "/root/main/ptbsinfo/pid", "/root/send/pid");
- ]]>
- </script>
- </button>
- <button id="button26" class="btn3_letter4" style="left:188px; top:5px; width:80px; height:22px; ">
- <caption>입원예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMI00200", "3", "", "", "", "", "/root/main/ptbsinfo/pid", "/root/main/ptbspatinfo/pid");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1124px; top:5px; width:68px; height:22px; font-size:11px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button7" class="btn3_letter6" style="left:0px; top:5px; width:104px; height:22px; ">
- <caption>신환환자등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC01400", "3", "", "", "", "", "/root/main/ptbspatinfo/pid", "/root/send/pid");
- ]]>
- </script>
- </button>
- <button id="button25" class="btn4_letter4" style="left:1044px; top:5px; width:80px; height:22px; font-size:11px; ">
- <caption>전체저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chk = messageBox("1. 전체저장시 사용자 실수에 의한 저장이 발생될수 있습니다. \n2. 기간관리 여러건 등록시 전체저장은 오류를 야기합니다. \n\n","Q003");
- if(chk == "6"){
- // 산재환자 마스터저장
- var sPid = model.getvalue("/root/main/ptbsinfo/pid");
-
- if (isNull(sPid)) {
- messageBox("환자번호가 없습니다!!", "I");
- return;
- }
-
- model.resetInstanceNode("/root/send/insertdata");
- if (model.getvalue("/root/main/icpminfo/seqno") == "") {
- if (grd_icpminfo.rows == 1) {
- model.setvalue("/root/main/icpminfo/seqno", "1");
- } else {
- model.setvalue("/root/main/icpminfo/seqno", grd_icpminfo.rows + 1);
- }
-
- model.setvalue("/root/main/icpminfo/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/main/icpminfo/endcnts", model.getvalue("/root/main/icpminfo/endcnts"));
- model.setvalue("/root/main/icpminfo/mngtno" , model.getvalue("/root/main/icpminfo/mngtno").removeMask('\n'));
- copyNodeType("/root/send/insertdata", "/root/main/icpminfo", "replace");
- submit("TXPMC02701");
- } else {
- model.setvalue("/root/main/icpminfo/pid", model.getvalue("/root/main/ptbsinfo/pid"));
- model.setvalue("/root/main/icpminfo/endcnts", model.getvalue("/root/main/icpminfo/endcnts"));
- model.setvalue("/root/main/icpminfo/mngtno" , model.getvalue("/root/main/icpminfo/mngtno").removeMask('\n'));
- copyNodeType("/root/send/insertdata", "/root/main/icpminfo", "replace");
- if(submit("TXPMC02701")) {
- submit("TXPMC02702");
- }
- }
- // 산재환자 기간관리 저장
- btn_saveicmt.dispatch("DOMActivate");
- // 산재환자 상병관리 저장
- btn_saveicsw.dispatch("DOMActivate");
- }
- fInitialize1();
- event.keyCode = 13;
- model.setValue("/root/send/primarySearch1/reference", "1");
- model.makeValue("/root/hidden/pid" , sPid);
- ipt_pid.dispatch("onkeypress");
- ]]>
- </script>
- </button>
- <button id="button27" class="btn3_letter7" visibility="hidden" style="left:364px; top:5px; width:116px; height:22px; ">
- <caption>교통비지급내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SPPMC09000_FLAG" , "carfare")
- setParameter("SPPMC09000_PID" , model.getValue("/root/main/ptbsinfo/pid")); //환자번호
- setParameter("SPPMC09000_HNGNM" , model.getValue("/root/main/ptbsinfo/hngnm")); //환자명
- setParameter("SPPMC09000_RRGSTNO" , model.getValue("/root/main/ptbsinfo/rrgstno")); //주민번호
- setParameter("SPPMC09000_MNGTNO" , model.getValue("/root/main/icpminfo/mngtno")); //산재관리번호
- setParameter("SPPMC09000_BIZPLCE" , model.getValue("/root/main/icpminfo/bizplcergstseqno")); //사업장명
- setParameter("SPPMC09000_ACDDD" , model.getValue("/root/main/icpminfo/acddd" )); //재해발생일
- //opener.javascript.setParameter("SPPMC09000" , model.getValue());
- setParameter("SPPMC09000_ORDOPENDD" , model.getValue("/root/main/icpminfo/ordopendd")); //진료개시일
- setParameter("SPPMC09000_ORDTODD" , model.getValue("/root/main/icpminfo/ordtodd")); //진료종료일
- //opener.javascript.setParameter("SPPMC09000" , model.getValue());
- modal("SPPMC09000");
- ]]>
- </script>
- </button>
- <button id="button28" class="btn3_letter8" visibility="hidden" style="left:482px; top:5px; width:128px; height:22px; ">
- <caption>산보미수납리스트</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|