12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885 |
- <?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>
- <findcond>
- <pid/>
- <hngnm/>
- <orddeptcd/>
- <atdoctid/>
- <wardcd/>
- <insucd/>
- <instat>1</instat>
- <payownbamt/>
- <uncoamt/>
- <fstrgstdt1/>
- <fstrgstdt2/>
- <ihflag>0</ihflag>
- <inhospdays/>
- <ddflag>IN</ddflag>
- </findcond>
- <insihcs>
- <pid/>
- <indd/>
- <cretno/>
- <cnstseqno/>
- <acptdd/>
- <reqflag/>
- <reqresn/>
- <inhospflag/>
- <inhospresn/>
- <reqdd/>
- <reqdeptcd/>
- <reqdrid/>
- <delivefact/>
- <prcsstatcd/>
- <prcsstatcnts/>
- <endgrde/>
- <state/>
- <chnghospresn/>
- <endstatdd/>
- </insihcs>
- <insihdc>
- <pid/>
- <indd/>
- <cretno/>
- <cnstflag/>
- <cnstdetlseqno/>
- <workdd/>
- <cnstspec/>
- </insihdc>
- <cond1>
- <pid/>
- </cond1>
- <cond2>
- <type/>
- <pid/>
- <indd/>
- <cretno/>
- <orddeptcd/>
- <acptdd/>
- <cnstseqno/>
- </cond2>
- <cond3>
- <pid/>
- <indd/>
- <cretno/>
- <cnstdetlseqno/>
- </cond3>
- <cond4>
- <pid/>
- <rcptdd/>
- <rcptno/>
- <rcptseqno/>
- <dschdd/>
- <insukind/>
- <ordtype/>
- </cond4>
- <insihgt>
- <pid/>
- <indd/>
- <cretno/>
- <grnternm/>
- <grntertel/>
- <realcd/>
- <addr/>
- <grnternm1/>
- <grntertel1/>
- <real1/>
- <addr1/>
- <grnternm2/>
- <grntertel2/>
- <real2/>
- <addr2/>
- <state/>
- </insihgt>
- <data5>
- <srchcond/>
- <pid/>
- </data5>
- <prestinhosp>
- <inflag/>
- <indays/>
- </prestinhosp>
- <inhospendprescond>
- <fromdd/>
- <todd/>
- </inhospendprescond>
- <ihcsdelinfo>
- <instcd/>
- <pid/>
- <indd/>
- <cretno/>
- <acptdd/>
- <cnstseqno/>
- </ihcsdelinfo>
- </send>
- <main>
- <uncopat>
- <uncopatlist>
- <grduncopatlist>
- <pid/>
- <hngnm/>
- <indd/>
- <orddeptcd/>
- <wardcd/>
- <roomcd/>
- <totalamt/>
- <ownbtotamt/>
- <uncoamt/>
- <midrcptamt/>
- <cretno/>
- <insukind/>
- <mdlclamyn/>
- </grduncopatlist>
- <grduncopatprtnlist/>
- </uncopatlist>
- <ihgtinfo>
- <grnternm/>
- <grntertel/>
- <realcd/>
- <addr/>
- <grnternm1/>
- <grntertel1/>
- <real1/>
- <addr1/>
- <grnternm2/>
- <grntertel2/>
- <real2/>
- <addr2/>
- <state/>
- </ihgtinfo>
- <uncopatinfo>
- <pid/>
- <hngnm/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <zipcdaddr/>
- <detladdr/>
- <age/>
- <sex/>
- <mpphontel/>
- <indd/>
- <dschdd/>
- <orddeptcd/>
- <orddeptnm/>
- <medispclid/>
- <medispclnm/>
- <atdoctid/>
- <atdoctnm/>
- <roomcd/>
- <insukind/>
- <cretno/>
- </uncopatinfo>
- <otptinptlist>
- <grdotptinpt>
- <ordtype/>
- <indd/>
- <dschdd/>
- <orddeptcd/>
- <atdoctid/>
- <insukind/>
- <suppkind/>
- </grdotptinpt>
- </otptinptlist>
- <opmiadmilist>
- <grdopmiadmi>
- <ordtype/>
- <indd/>
- <rcptexecdd/>
- <totalamt/>
- <totownbamt/>
- <payinsubamt/>
- <cashamt/>
- <uncoamt/>
- <uncorcptflag/>
- </grdopmiadmi>
- </opmiadmilist>
- <diagoprc>
- <diag/>
- <opcd/>
- </diagoprc>
- <uncoamt/>
- </uncopat>
- <mngtpat>
- <ptbsinfo>
- <pid/>
- <hngnm/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <zipcdaddr/>
- <detladdr/>
- <age/>
- <sex/>
- <mpphontel/>
- <indd/>
- <dschdd/>
- <orddeptcd/>
- <orddeptnm/>
- <medispclid/>
- <medispclnm/>
- <atdoctid/>
- <atdoctnm/>
- <roomcd/>
- <inpath/>
- <indays/>
- <insukind/>
- <cretno/>
- <chngdept/>
- <inuncoamt/>
- <fstindays/>
- </ptbsinfo>
- <ihcsinfo>
- <acptdd/>
- <cnstseqno/>
- <inhospresn/>
- <reqresn/>
- <prcsstatcd>
- </prcsstatcd>
- <prcsstatcnts/>
- <endgrde/>
- <delivefact/>
- <fstindays/>
- <chnghospresn/>
- <endstatdd/>
- </ihcsinfo>
- <patreflist>
- <grdpatreflist>
- <rgstyn/>
- <cnstseqno/>
- <hngnm/>
- <roomcd/>
- <histstat/>
- <reqdd/>
- <reqdrid/>
- <impression/>
- <pid/>
- <indd/>
- <cretno/>
- <cnstseqno/>
- </grdpatreflist>
- <grdpatrefprtnlist/>
- </patreflist>
- <inpatdiaginfo>
- <inpatdiag/>
- <inpatopcd/>
- <instruments/>
- <nursememo/>
- <testtreat/>
- <nursetreat/>
- <spclmemo/>
- </inpatdiaginfo>
- <prestinhosplist>
- <prestinhosp/>
- </prestinhosplist>
- </mngtpat>
- <ihdcinfo>
- <grdihdcinfo>
- <cnstflag/>
- <workdd/>
- <cnstspec/>
- <lastupdtrnm/>
- <lastupdtrid/>
- <cnstdetlseqno/>
- </grdihdcinfo>
- </ihdcinfo>
- <ihdcinfo2>
- <workdd/>
- <cnstspec/>
- <cnstdetlseqno/>
- </ihdcinfo2>
- <ihcs_print>
- <rex_ihcs>
- <ihcs_acptdd/>
- <ihcs_hngnm/>
- <ihcs_sexage/>
- <ihcs_inhospdays/>
- <ihcs_pid/>
- <ihcs_orddeptnm/>
- <ihcs_medispclnm/>
- <ihcs_atdoctnm/>
- <ihcs_indd/>
- <ihcs_diagnm/>
- <ihcs_dschdd/>
- <ihcs_wardroomnm/>
- <ihcs_inpath/>
- <ihcs_chngdept/>
- <ihcs_reqresn/>
- <ihcs_inhospresn/>
- <ihcs_reqpath/>
- <ihcs_insukindnm/>
- <ihcs_cnstcnt/>
- <ihcs_phone/>
- <ihcs_address/>
- <ihcs_dschinhospdays/>
- <ihcs_prcsstat/>
- <ihcs_delivefact/>
- <ihcs_logo>http://dev999.cmcnu.or.kr:9081/himed/webapps/com/commonweb/images/logo001.gif</ihcs_logo>
- <ihcs_instcd>012</ihcs_instcd>
- </rex_ihcs>
- <rex_ihdc>
- <workdd/>
- <cnstspec/>
- <lastupdtrnm/>
- </rex_ihdc>
- </ihcs_print>
- <inhospendprescond>
- <prescondlist>
- <list/>
- </prescondlist>
- </inhospendprescond>
- </main>
- <init>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <discuncocd>
- <cd/>
- <nm/>
- </discuncocd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <up/>
- <cd/>
- <nm/>
- <ios/>
- </suppkind>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <uncocd>
- <cd/>
- <nm/>
- <cls/>
- </uncocd>
- <instcd/>
- <P0002list>
- <P0002>
- <cdid/>
- <cdnm/>
- </P0002>
- </P0002list>
- <P0046list>
- <P0046>
- <cdid/>
- <cdnm/>
- </P0046>
- </P0046list>
- <P0497list>
- <P0497>
- <cdid/>
- <cdnm/>
- </P0497>
- </P0497list>
- <P0498list>
- <P0498>
- <cdid/>
- <cdnm/>
- </P0498>
- </P0498list>
- <P0499list>
- <P0499>
- <cdid/>
- <cdnm/>
- </P0499>
- </P0499list>
- <P0500list>
- <P0500>
- <cdid>-</cdid>
- <cdnm>-</cdnm>
- </P0500>
- </P0500list>
- <P0501list>
- <P0501>
- <cdid/>
- <cdnm/>
- </P0501>
- </P0501list>
- <PAM>
- <P0022list>
- <P0022>
- <cdid/>
- <cdnm/>
- </P0022>
- </P0022list>
- </PAM>
- </init>
- <hidden>
- <ihrqinfo>
- <reqflag/>
- <reqresn/>
- <inhospflag/>
- <inhospresn/>
- <reqdd/>
- <reqdeptcd/>
- <reqdrid/>
- </ihrqinfo>
- <ihcsinfo>
- <acptdd/>
- <cnstseqno/>
- <inhospresn/>
- <reqresn/>
- <prcsstatcnts/>
- <endgrde/>
- <delivefact/>
- <fstindays/>
- <prcsstatcd/>
- <chnghospresn/>
- <endstatdd/>
- </ihcsinfo>
- <ihgtinfo>
- <grnternm/>
- <grntertel/>
- <realcd/>
- <addr/>
- <grnternm1/>
- <grntertel1/>
- <real1/>
- <addr1/>
- <grnternm2/>
- <grntertel2/>
- <real2/>
- <addr2/>
- </ihgtinfo>
- <state/>
- <menuvalue/>
- <cmblist>
- <inhospresn/>
- <reqresn/>
- <chnghosp/>
- </cmblist>
- </hidden>
- <temp>
- <items>
- <nm>
- </nm>
- <cd>
- </cd>
- </items>
- <items>
- <nm>본인</nm>
- <cd>1</cd>
- </items>
- <items>
- <nm>배우자</nm>
- <cd>2</cd>
- </items>
- <items>
- <nm>자녀</nm>
- <cd>3</cd>
- </items>
- <items>
- <nm>부모</nm>
- <cd>4</cd>
- </items>
- <items>
- <nm>기타</nm>
- <cd>5</cd>
- </items>
- </temp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMI00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/instcd" resultref="/root/init"/>
- <submission id="TRPMI00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/hidden/ihgtinfo"/>
- <submission id="TRPMI00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/uncopat/diagoprc"/>
- <submission id="TRPMI00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/mngtpat/inpatdiaginfo"/>
- <submission id="TRPMI00905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond1/pid" resultref="/root/main/mngtpat/ptbsinfo"/>
- <submission id="TRPMI00906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/hidden/ihrqinfo"/>
- <submission id="TRPMI00907" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/hidden/ihcsinfo"/>
- <submission id="TRPMI00908" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/ihdcinfo"/>
- <submission id="TRPMI00909" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond3" resultref="/root/main/ihdcinfo2"/>
- <submission id="TRPMI00910" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/findcond" resultref="/root/main/mngtpat/patreflist"/>
- <submission id="TRPMI00911" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/mngtpat/ptbsinfo"/>
- <submission id="TRPMI00912" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/findcond" resultref="/root/main/uncopat/uncopatlist"/>
- <submission id="TRPMI00913" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/uncopat/uncopatinfo"/>
- <submission id="TRPMI00914" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond4" resultref="/root/main/otptinptlist"/>
- <submission id="TRPMI00915" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond4" resultref="/root/main/opmiadmilist"/>
- <submission id="TRPMI00916" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/uncopat/otptinptlist"/>
- <submission id="TRPMI00917" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/uncopat/opmiadmilist"/>
- <submission id="TRPMI00918" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond1" resultref="/root/main/uncopat/uncopatinfo"/>
- <submission id="TRPMI00920" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/uncopat/opcd"/>
- <submission id="TXPMI00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insihcs"/>
- <submission id="TXPMI00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insihdc"/>
- <submission id="TXPMI00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insihdc"/>
- <submission id="TXPMI00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insihgt"/>
- <!-- 20100122 JHP 수정추가 -->
- <submission id="TRPMI00921" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prestinhosp" resultref="/root/main/mngtpat/prestinhosplist"/>
- <!-- 20100128 JHP 수정추가 -->
- <submission id="TRPMI00922" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/inhospendprescond" resultref="/root/main/inhospendprescond/prescondlist"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXPMI00905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ihcsdelinfo"/>
- </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" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript">
- <![CDATA[
- function fOrdDrSet()
- {
- var sorddeptcd = model.getValue("/root/send/findcond/orddeptcd");
- if (model.getValue("/root/send/findcond/orddeptcd") != "") {
- cbo_atdoctid.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '" + sorddeptcd + "' ]";
- cbo_atdoctid.refresh();
- } else {
- cbo_atdoctid.choices.itemset.attribute("nodeset") = "/root/init/orddrid";
- cbo_atdoctid.refresh();
- }
- }
-
- function fInitialize(){
- model.resetInstanceNode("/root/main/mngtpat/ptbsinfo");
- model.resetInstanceNode("/root/main/ihcsinfo");
- model.removeNodeset("/root/main/ihdcinfo/grdihdcinfo");
- model.resetInstanceNode("/root/main/ihdcinfo2");
- model.removeNodeset("/root/main/mngtpat/patreflist/grdpatreflist");
- model.removeNodeset("/root/main/uncopat/uncopatlist/grduncopatlist");
- model.resetInstanceNode("/root/main/uncopat/uncopatinfo");
- model.removeNodeset("/root/main/uncopat/otptinptlist/grdotptinpt");
- model.removeNodeset("/root/main/uncopat/opmiadmilist/grdopmiadmi");
- model.resetInstanceNode("/root/main/uncopat/ihgtinfo");
- model.resetInstanceNode("/root/send/insihcs");
- model.resetInstanceNode("/root/send/insihdc");
- model.resetInstanceNode("/root/send/cond1");
- model.resetInstanceNode("/root/send/cond2");
- model.resetInstanceNode("/root/send/cond3");
- model.resetInstanceNode("/root/send/cond4");
- model.resetInstanceNode("/root/send/insihgt");
- model.resetInstanceNode("/root/hidden/ihrqinfo");
- model.resetInstanceNode("/root/hidden/ihcsinfo");
- model.resetInstanceNode("/root/hidden/ihgtinfo");
- }
-
- function clearIhcs(){
- model.resetInstanceNode("/root/main/mngtpat/ptbsinfo");
- model.resetInstanceNode("/root/main/mngtpat/ihcsinfo");
- model.resetInstanceNode("/root/main/mngtpat/inpatdiaginfo");
- }
-
- function clearInpatInfo(){
- model.resetInstanceNode("/root/main/mngtpat/ptbsinfo");
- model.resetInstanceNode("/root/main/mngtpat/ptbsinfo/hngnm");
- model.resetInstanceNode("/root/main/mngtpat/ptbsinfo/zipcd1");
- }
-
- function clearUnco(){
- model.resetInstanceNode("/root/main/uncopat/uncopatinfo");
- model.resetInstanceNode("/root/main/uncopat/uncoamt");
- model.resetInstanceNode("/root/main/uncopat/diagoprc");
- model.resetInstanceNode("/root/main/uncopat/ihgtinfo");
- model.removeNodeset("/root/main/uncopat/otptinptlist/grdotptinpt");
- model.removeNodeset("/root/main/uncopat/opmiadmilist/grdopmiadmi");
- }
-
- function clearIhdc(){
- model.resetInstanceNode("/root/main/ihdcinfo2/workdd");
- model.resetInstanceNode("/root/main/ihdcinfo2/cnstspec");
- model.resetInstanceNode("/root/main/ihdcinfo2/cnstdetlseqno");
- model.removeNodeset("/root/main/ihdcinfo/grdihdcinfo");
- }
-
- function fPrntSeq1(){
- var nodeList= instance1.selectNodes("/root/main/uncopat/uncopatlist/grduncopatprtnlist");
- if((nodeList != null) && (nodeList.length >0 )){
- exeReportPreview("RPPMI00902", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }else{
-
- }
- }
- function fPrntSeq2(){
-
- var nodeList= instance1.selectNodes("/root/main/mngtpat/patreflist/grdpatrefprtnlist");
- if((nodeList != null) && (nodeList.length >0 )){
- // 종결로 조회시에 종결일자 넣는다.
- if( model.getValue("/root/send/findcond/ddflag") == "END"){
- model.makeValue("/root/main/mngtpat/patreflist/grdpatrefprtnlist/ddflag/first", model.getValue("/root/send/findcond/fstrgstdt1"));
- model.makeValue("/root/main/mngtpat/patreflist/grdpatrefprtnlist/ddflag/last", model.getValue("/root/send/findcond/fstrgstdt2"));
- }
-
- exeReportPreview("RPPMI00903", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }else{
-
- }
- }
-
- function fPrntSeq3(){
- var nodeList= instance1.selectNodes("/root/main/mngtpat/prestinhosplist/prestinhosp");
- if((nodeList != null) && (nodeList.length >0 )){
- exeReportPreview("RPPMI00904", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }else{
-
- }
- }
-
- // 재원환자관리 환자조회 dbclick시 상단정보셋팅
- function fUpPatientInfos(){
- var pid = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/pid");
- var indd = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/indd");
- var cretno = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/cretno");
- var instcd = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/instcd");
- var ordtype = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/ordtype");
-
- var indschacptstat = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/indschacptstat");
- var dschdd = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/dschdd");
-
- if(indschacptstat == "D" || indschacptstat == "T"){
- var srchdd = dschdd;
- }else{
- var srchdd = getCurrentDate();
- }
-
- // param 첫번째 붙는 값은 외래 : O, 입원 : I, 지원부서 : S, 수술 : T, 응급 : E, 의뢰 : C
- //var param = "I" + "▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
- if(ordtype == "E"){
- var param = "E" + "▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
- }else{
- var param = "I" + "▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
- }
-
- setParameter("condparam", param);
- setParameter("errflag", "Y");
- modal("SPMMO08900", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- var useyn = getParameter("SPMMO08900_rtn_useyn");
- if(useyn == "Y") {
- setParameter("SPMMO08900_rtn_useyn", "");
- }else{
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(submit("TRPMI00901") == false) {
- messageBox("공통코드 조회를", "E009");
- }
-
- model.makeNode("/root/init/P0002list");
- model.makeNode("/root/init/P0046list");
- model.makeNode("/root/init/P0497list");
- model.makeNode("/root/init/P0498list");
- model.makeNode("/root/init/P0499list");
- model.makeNode("/root/init/P0500list");
- model.makeNode("/root/init/P0501list");
- zbcfGetCodeList(new Array("P0002", "P0046", "P0497", "P0498", "P0499", "P0500", "P0501"),
- new Array("/root/init/P0002list", "/root/init/P0046list", "/root/init/P0497list", "/root/init/P0498list", "/root/init/P0499list", "/root/init/P0500list", "/root/init/P0501list"));
-
- model.makeNode("/root/init/PAM/P0022list");
- // 20100204 원무공통코드조회 pamcomnweb/js/PAM001.js TRPAM00105
- pamfGetCodeList(new Array("P0022"), new Array("/root/init/PAM/P0022list"));
-
- button10.dispatch("onclick");
-
- var currentdate = getCurrentDate();
- model.makeValue("/root/main/ihdcinfo2/workdd", currentdate);
-
- /*
- if (switch1.case2.attribute("selected") == "true") {
- model.setValue("/root/send/findcond/fstrgstdt1", "19000101");
- }else{
- model.setValue("/root/send/findcond/fstrgstdt1", currentdate);
- }
- */
- model.setValue("/root/send/findcond/fstrgstdt1", currentdate);
- model.setValue("/root/send/findcond/fstrgstdt2", currentdate);
-
- model.setValue("/root/send/findcond/inhospdays", 0);
-
- makeReportPreview(0, 0, 10, 10, "grp_report");
-
- var sUserID = getUserId().toUpperCase();
-
- if (sUserID == "83030101" || sUserID == "DEV207" || sUserID == "20700457" || sUserID == "12345678" ) {
- cmb_emrmenu.visible = true;
- } else {
- cmb_emrmenu.visible = false;
- }
-
- // 카덱스 관리, 전원관리, 전원현황, 전원소견서 버튼은 병원마다 다르게 적용되어 코디네이터가 간호쪽, 의료정보와 협의되어야 내용 적용될수 있다. (P0022, 350)
- var valueUserid = model.getValue("/root/init/PAM/P0022list/P0022[cdid='350']/cdnm");
- if(sUserID == valueUserid) {
- btn_cardex.disabled = false;
- btn_movehospmngt.disabled = false;
- btn_movehospstat.disabled = false;
- btn_movehosppaper.disabled = false;
- }else{
- btn_cardex.disabled = true;
- btn_movehospmngt.disabled = true;
- btn_movehospstat.disabled = true;
- btn_movehosppaper.disabled = true;
- }
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- // 상단정보 제거
- delPatientInfos(); //common.js
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:245px; height:13px; ">재원미수관리및 재원환자관리</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
- <button id="btn_print2" class="btn2_letter2" style="left:321px; top:173px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrntSeq2();
- ]]>
- </script>
- </button>
- <button id="btn_etc1" class="btn2_letter3" style="left:429px; top:173px; width:53px; height:19px; ">
- <caption>펼치기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_patreflist.attribute("width") == "482") {
- grd_patreflist.attribute("width") = "1000";
- btn_etc1.attribute("class") = "btn5_letter3";
- btn_etc1.attribute("color") = "#ff0066";
- } else {
- grd_patreflist.attribute("width") = "482";
- btn_etc1.attribute("class") = "btn2_letter3";
- }
- //649
- ]]>
- </script>
- </button>
- <switch id="switch1" class="sw_box" style="left:487px; top:32px; width:707px; height:507px; border-color:#cc99ff; border-style:solid; ">
- <case id="case1" selected="true">
- <line id="line29" class="line_2" style="x1:5px; y1:100px; x2:700px; y2:100px; "/>
- <line id="line28" class="line_2" style="x1:5px; y1:76px; x2:700px; y2:76px; "/>
- <line id="line32" class="line_2" style="x1:5px; y1:196px; x2:700px; y2:196px; "/>
- <line id="line31" class="line_2" style="x1:5px; y1:220px; x2:700px; y2:220px; "/>
- <line id="line30" class="line_2" style="x1:5px; y1:124px; x2:700px; y2:124px; "/>
- <line id="line27" class="line_2" style="x1:5px; y1:52px; x2:700px; y2:52px; "/>
- <input id="input38" ref="/root/main/uncopat/uncopatinfo/zipcd1" class="input_default" disabled="true" editable="false" style="left:285px; top:31px; width:30px; height:19px; "/>
- <input id="input40" ref="/root/main/uncopat/uncoamt" class="input_default" disabled="true" editable="false" format="#,###" style="left:99px; top:103px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption51" class="cell_1" style="left:383px; top:102px; width:80px; height:23px; vertical-align:middle; ">병실</caption>
- <input id="input41" ref="/root/main/uncopat/uncopatinfo/zipcd2" class="input_default" disabled="true" editable="false" style="left:318px; top:31px; width:30px; height:19px; "/>
- <input id="input43" ref="/root/main/uncopat/uncopatinfo/age" class="input_default" disabled="true" editable="false" style="left:614px; top:31px; width:41px; height:19px; "/>
- <caption id="caption53" class="cell_1" style="left:5px; top:102px; width:91px; height:23px; vertical-align:middle; ">재원미수금</caption>
- <caption id="caption54" class="cell_1" style="left:202px; top:78px; width:80px; height:23px; vertical-align:middle; ">진료과</caption>
- <caption id="caption55" class="cell_1" style="left:5px; top:78px; width:91px; height:23px; vertical-align:middle; ">보험유형</caption>
- <input id="input45" ref="/root/main/uncopat/uncopatinfo/sex" class="input_default" disabled="true" editable="false" style="left:658px; top:31px; width:42px; height:19px; "/>
- <input id="input46" ref="/root/main/uncopat/uncopatinfo/mpphontel" class="input_default" disabled="true" editable="false" style="left:614px; top:55px; width:86px; height:19px; "/>
- <caption id="caption59" class="tit_2" style="left:10px; top:10px; width:170px; height:13px; ">환자정보</caption>
- <input id="input48" ref="/root/main/uncopat/uncopatinfo/roomcd" class="input_default" disabled="true" editable="false" style="left:466px; top:103px; width:62px; height:19px; "/>
- <caption id="caption60" class="cell_1" style="left:531px; top:54px; width:80px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption61" class="cell_1" style="left:5px; top:54px; width:91px; height:23px; vertical-align:middle; ">성명</caption>
- <input id="input49" ref="/root/main/uncopat/uncopatinfo/detladdr" class="input_default" disabled="true" editable="false" style="left:285px; top:55px; width:243px; height:19px; "/>
- <caption id="caption62" class="cell_1" style="left:5px; top:30px; width:91px; height:23px; vertical-align:middle; ">환자번호</caption>
- <input id="input51" ref="/root/main/uncopat/uncopatinfo/indd" class="input_default" disabled="true" editable="false" format="yyyy-mm-dd" style="left:614px; top:79px; width:86px; height:19px; "/>
- <caption id="caption63" class="cell_1" style="left:531px; top:78px; width:80px; height:23px; vertical-align:middle; ">입원일자</caption>
- <input id="input53" ref="/root/main/uncopat/uncopatinfo/zipcdaddr" class="input_default" disabled="true" editable="false" style="left:351px; top:31px; width:177px; height:19px; "/>
- <caption id="caption65" class="cell_1" style="left:202px; top:54px; width:80px; height:23px; vertical-align:middle; ">하위주소</caption>
- <line id="line5" class="line_1" style="x1:5px; y1:25px; x2:700px; y2:25px; "/>
- <input id="input55" ref="/root/main/uncopat/uncopatinfo/dschdd" class="input_default" disabled="true" editable="false" format="yyyy-mm-dd" style="left:614px; top:103px; width:86px; height:19px; "/>
- <caption id="caption67" class="cell_1" style="left:531px; top:102px; width:80px; height:23px; vertical-align:middle; ">퇴원일자</caption>
- <caption id="caption68" class="cell_1" style="left:202px; top:30px; width:80px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption69" class="cell_1" style="left:202px; top:102px; width:80px; height:23px; vertical-align:middle; ">전문의</caption>
- <caption id="caption71" class="cell_1" style="left:531px; top:30px; width:80px; height:23px; vertical-align:middle; ">나이/성별</caption>
- <input id="ipt_pid" ref="/root/main/uncopat/uncopatinfo/pid" class="input_essential" navindex="11" style="left:99px; top:31px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText();
- if(event.keyCode == "13") {
- var pid = model.getValue("/root/main/uncopat/uncopatinfo/pid");
- clearUnco();
- clearIhdc();
-
- //여기에 등록번호를 입력하고 엔터를 치면 단순하게 재원중 환자정보만 보여진다.
- //여기서는 단순히 새로 입력하고자 할때 번호입력후 엔터를 친다.
- //혹여 기존 입력된 미수내역을 조회하고자 할때는 조회조건에 있는 환자번호에 등록번호를 입력하고 조회해서 봐야한다.
- model.setValue("/root/main/uncopat/uncopatinfo/pid", pid);
- model.setValue("/root/send/cond1/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
-
- //재원환자정보
- if (submit("TRPMI00918")) {
- var sPid = model.getValue("/root/main/uncopat/uncopatinfo/pid");
- if(isNull(sPid)) {
- model.makeNode("/root/main/uncopat/uncopatinfo/pid");
-
- messageBox("조회된 결과가", "I004");
- return;
- }
- }
-
- if(model.getValue("/root/main/uncopat/uncopatinfo/dschdd") == "99991231") {
- model.setValue("/root/main/uncopat/uncopatinfo/dschdd" , "");
- }
-
- model.setValue("/root/send/cond2/type", "1");
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncopat/uncopatinfo/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/uncopat/uncopatinfo/cretno"));
- model.resetInstanceNode("/root/main/ihgtinfo");
- submit("TRPMI00902"); /* 보증인 조회 */
- // copyNodeType("/root/main/ihgtinfo", "/root/hidden/ihgtinfo", "replace");
- model.setValue("/root/main/uncopat/ihgtinfo/grnternm", model.getValue("/root/hidden/ihgtinfo/grnternm"));
- model.setValue("/root/main/uncopat/ihgtinfo/grntertel", model.getValue("/root/hidden/ihgtinfo/grntertel"));
- model.setValue("/root/main/uncopat/ihgtinfo/realcd", model.getValue("/root/hidden/ihgtinfo/realcd"));
- model.setValue("/root/main/uncopat/ihgtinfo/addr", model.getValue("/root/hidden/ihgtinfo/addr"));
- model.setValue("/root/main/uncopat/ihgtinfo/grnternm1", model.getValue("/root/hidden/ihgtinfo/grnternm1"));
- model.setValue("/root/main/uncopat/ihgtinfo/grntertel1", model.getValue("/root/hidden/ihgtinfo/grntertel1"));
- model.setValue("/root/main/uncopat/ihgtinfo/real1", model.getValue("/root/hidden/ihgtinfo/real1"));
- model.setValue("/root/main/uncopat/ihgtinfo/addr1", model.getValue("/root/hidden/ihgtinfo/addr1"));
- model.setValue("/root/main/uncopat/ihgtinfo/grnternm2", model.getValue("/root/hidden/ihgtinfo/grnternm2"));
- model.setValue("/root/main/uncopat/ihgtinfo/grntertel2", model.getValue("/root/hidden/ihgtinfo/grntertel2"));
- model.setValue("/root/main/uncopat/ihgtinfo/real2", model.getValue("/root/hidden/ihgtinfo/real2"));
- model.setValue("/root/main/uncopat/ihgtinfo/addr2", model.getValue("/root/hidden/ihgtinfo/addr2"));
-
- if (model.getValue("/root/hidden/ihgtinfo/grnternm") == "") {
- model.setValue("/root/main/uncopat/ihgtinfo/state", "I");
- } else {
- model.setValue("/root/main/uncopat/ihgtinfo/state", "U");
- }
- model.setValue("/root/send/cond2/type", model.getValue("/root/main/uncopat/uncopatinfo/orddeptcd"));
- submit("TRPMI00903"); /* 상병 조회 */
- submit("TRPMI00920"); //수술명조회
-
- submit("TRPMI00916"); /* 내원내역 */
- submit("TRPMI00917"); /* 수납내역 */
-
- model.removeNodeset("/root/main/ihdcinfo/grdihdcinfo");
- model.setValue("/root/send/cond2/type", "1");
- submit("TRPMI00908"); /* 상세내역 조회 */
-
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
-
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input58" ref="/root/main/uncopat/uncopatinfo/hngnm" class="input_essential" style="left:99px; top:55px; width:100px; height:19px; "/>
- <input id="input39" ref="/root/main/uncopat/diagoprc/diag" class="input_default" disabled="true" editable="false" style="left:99px; top:199px; width:601px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:5px; top:222px; width:91px; height:23px; vertical-align:middle; ">수술명</caption>
- <input id="input54" ref="/root/main/uncopat/diagoprc/opcd" class="input_default" disabled="true" editable="false" style="left:99px; top:223px; width:601px; height:19px; "/>
- <caption id="caption52" class="cell_1" style="left:5px; top:198px; width:91px; height:23px; vertical-align:middle; ">진단명</caption>
- <caption id="caption56" class="tit_2" style="left:10px; top:254px; width:170px; height:13px; ">내원내역</caption>
- <line id="line6" class="line_1" style="x1:5px; y1:269px; x2:700px; y2:269px; "/>
- <datagrid id="grd_otptinpt" nodeset="/root/main/uncopat/otptinptlist/grdotptinpt" caption="구분^진료/입원일자^퇴원일자^진료과^진료의^보험유형^보조유형" colsep="^" colwidth="40, 85, 85, 100, 90, 155, 117" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:274px; width:695px; height:92px; ">
- <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- <item>
- <label>외래</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="indd" type="output" format="yyyy-mm-dd"/>
- <col ref="dschdd" type="output" format="yyyy-mm-dd"/>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="atdoctid" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <datagrid id="grd_opmiadmi" nodeset="/root/main/uncopat/opmiadmilist/grdopmiadmi" caption="구분^진료/입원일자^수납일자^총진료비^본인부담^보험자부담^수납금액^미수금액^미수사유^진료과^보험유형^보조유형" colsep="^" colwidth="40, 85, 85, 80, 75, 75, 75, 75, 83" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:396px; width:695px; height:100px; ">
- <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- <item>
- <label>외래</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="indd" type="output" format="yyyy-mm-dd"/>
- <col ref="rcptexecdd" type="output" format="yyyy-mm-dd"/>
- <col ref="totalamt" format="#,###" style="text-align:right; "/>
- <col ref="totownbamt" format="#,###" style="text-align:right; "/>
- <col ref="payinsubamt" format="#,###" style="text-align:right; "/>
- <col ref="cashamt" format="#,###" style="text-align:right; "/>
- <col ref="uncoamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="uncorcptflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/uncocd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <caption id="caption72" class="tit_2" style="left:10px; top:375px; width:170px; height:13px; ">수납내역</caption>
- <line id="line7" class="line_1" style="x1:5px; y1:391px; x2:700px; y2:391px; "/>
- <input id="ipt_grnternm" ref="/root/main/uncopat/ihgtinfo/grnternm" class="input_default" navindex="12" imemode="hangul" style="left:99px; top:127px; width:80px; height:19px; "/>
- <input id="ipt_grnternm1" ref="/root/main/uncopat/ihgtinfo/grnternm1" class="input_default" navindex="15" imemode="hangul" style="left:99px; top:151px; width:80px; height:19px; "/>
- <input id="ipt_grnternm2" ref="/root/main/uncopat/ihgtinfo/grnternm2" class="input_default" navindex="18" imemode="hangul" style="left:99px; top:175px; width:80px; height:19px; "/>
- <input id="ipt_grntertel" ref="/root/main/uncopat/ihgtinfo/grntertel" class="input_default" navindex="13" imemode="numeric" style="left:182px; top:127px; width:90px; height:19px; "/>
- <input id="ipt_grntertel1" ref="/root/main/uncopat/ihgtinfo/grntertel1" class="input_default" navindex="16" imemode="numeric" style="left:182px; top:151px; width:90px; height:19px; "/>
- <input id="ipt_grntertel2" ref="/root/main/uncopat/ihgtinfo/grntertel2" class="input_default" navindex="19" imemode="numeric" style="left:182px; top:175px; width:90px; height:19px; "/>
- <input id="ipt_addr" ref="/root/main/uncopat/ihgtinfo/addr" class="input_default" navindex="14" imemode="hangul" style="left:340px; top:127px; width:360px; height:19px; "/>
- <input id="ipt_addr1" ref="/root/main/uncopat/ihgtinfo/addr1" class="input_default" navindex="17" imemode="hangul" style="left:340px; top:151px; width:360px; height:19px; "/>
- <input id="ipt_addr2" ref="/root/main/uncopat/ihgtinfo/addr2" class="input_default" navindex="20" imemode="hangul" style="left:340px; top:175px; width:360px; height:19px; "/>
- <caption id="caption90" class="cell_1" style="left:5px; top:126px; width:91px; height:71px; ">연대보증인 (성명/연락처/관계/주소)</caption>
- <line id="line34" class="line_2" style="x1:99px; y1:148px; x2:700px; y2:148px; "/>
- <line id="line35" class="line_2" style="x1:99px; y1:172px; x2:700px; y2:172px; "/>
- <line id="line33" class="line_3" style="x1:5px; y1:244px; x2:700px; y2:244px; "/>
- <input id="input2" ref="/root/main/uncopat/uncopatinfo/cretno" visibility="hidden" style="left:665px; top:245px; width:25px; height:15px; "/>
- <select1 id="combo1" ref="/root/main/uncopat/ihgtinfo/realcd" appearance="minimal" style="left:275px; top:127px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/items">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/main/uncopat/ihgtinfo/real1" appearance="minimal" style="left:275px; top:151px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/items">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/main/uncopat/ihgtinfo/real2" appearance="minimal" style="left:275px; top:175px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/items">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo5" ref="/root/main/uncopat/uncopatinfo/insukind" disabled="true" appearance="minimal" style="left:99px; top:80px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="input21" ref="/root/main/uncopat/uncopatinfo/orddeptnm" class="input_default" disabled="true" editable="false" style="left:285px; top:79px; width:243px; height:19px; "/>
- <input id="input22" ref="/root/main/uncopat/uncopatinfo/medispclnm" class="input_default" disabled="true" editable="false" style="left:285px; top:103px; width:95px; height:19px; text-align:left; "/>
- </case>
- <case id="case2">
- <group id="grp_imsi" visibility="hidden" style="left:5px; top:355px; width:695px; height:5px; ">
- <datagrid id="grd_prescondlist" nodeset="/root/main/inhospendprescond/prescondlist/list" class="datagrid2" visibility="hidden" caption="진료과^등록건수^해결건수^귀가^협력병원^비협력병원^자매병원^가정간호^사망^취소^기타" colsep="^" colwidth="148, 58, 62, 34, 55, 66, 60, 57, 44, 42, 37" dataheight="23" defaultrows="1" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:367px; top:358px; width:333px; height:138px; ">
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="incnt" style="text-align:center; "/>
- <col ref="solvecnt" style="text-align:center; "/>
- <col ref="comehome" style="text-align:center; "/>
- <col ref="coophosp" style="left:322px; top:32px; width:55px; height:23px; text-align:center; "/>
- <col ref="ncoophosp" style="text-align:center; "/>
- <col ref="sishosp" style="text-align:center; "/>
- <col ref="homenursing" style="text-align:left; "/>
- <col ref="deth" style="text-align:center; "/>
- <col ref="cncl" style="text-align:center; "/>
- <col ref="etc" style="text-align:center; "/>
- </datagrid>
- <line id="line20" class="line_2" visibility="hidden" style="x1:5px; y1:446px; x2:365px; y2:446px; "/>
- <line id="line42" class="line_2" visibility="hidden" style="x1:5px; y1:421px; x2:365px; y2:421px; "/>
- <caption id="caption40" class="cell_1" visibility="hidden" style="left:5px; top:473px; width:91px; height:23px; vertical-align:middle; ">기구및삽관</caption>
- <input id="input30" ref="/root/main/mngtpat/inpatdiaginfo/instruments" class="input_default" disabled="true" visibility="hidden" editable="false" style="left:98px; top:475px; width:65px; height:19px; "/>
- <input id="input20" ref="/root/main/mngtpat/inpatdiaginfo/nursetreat" class="input_default" disabled="true" visibility="hidden" editable="false" style="left:98px; top:450px; width:65px; height:19px; "/>
- <line id="line24" class="line_2" visibility="hidden" style="x1:5px; y1:471px; x2:365px; y2:471px; "/>
- <line id="line25" class="line_3" visibility="hidden" style="x1:5px; y1:496px; x2:699px; y2:496px; "/>
- <input id="input13" ref="/root/main/mngtpat/inpatdiaginfo/inpatdiag" class="input_default" disabled="true" visibility="hidden" editable="false" style="left:98; top:425px; width:65px; height:19px; "/>
- <caption id="caption24" class="cell_1" visibility="hidden" style="left:5px; top:356px; width:91px; height:65px; vertical-align:middle; ">메모</caption>
- <caption id="caption47" class="cell_1" visibility="hidden" style="left:5px; top:448px; width:91px; height:23px; vertical-align:middle; ">간호처치</caption>
- <input id="input17" ref="/root/main/mngtpat/inpatdiaginfo/spclmemo" class="input_default" disabled="true" visibility="hidden" editable="false" style="left:264px; top:475px; width:98px; height:19px; "/>
- <caption id="caption27" class="cell_1" visibility="hidden" style="left:170px; top:423px; width:91px; height:23px; vertical-align:middle; ">수술명</caption>
- <input id="input18" ref="/root/main/mngtpat/inpatdiaginfo/inpatopcd" class="input_default" disabled="true" visibility="hidden" editable="false" style="left:264px; top:425px; width:98px; height:19px; "/>
- <caption id="caption28" class="cell_1" visibility="hidden" style="left:170px; top:448px; width:91px; height:23px; vertical-align:middle; ">검사/처치</caption>
- <input id="input19" ref="/root/main/mngtpat/inpatdiaginfo/testtreat" class="input_default" disabled="true" visibility="hidden" editable="false" style="left:264px; top:450px; width:98px; height:19px; "/>
- <caption id="caption29" class="cell_1" visibility="hidden" style="left:170px; top:473px; width:91px; height:23px; vertical-align:middle; ">금기및특이사항</caption>
- <caption id="caption19" class="cell_1" visibility="hidden" style="left:5px; top:423px; width:91px; height:23px; vertical-align:middle; ">진단명</caption>
- <textarea id="textarea5" ref="/root/main/mngtpat/inpatdiaginfo/nursememo" class="input_default" disabled="true" visibility="hidden" editable="false" style="left:98px; top:360px; width:265px; height:58px; "/>
- </group>
- <line id="line18" class="line_2" style="x1:5px; y1:328px; x2:699px; y2:328px; "/>
- <line id="line17" class="line_2" style="x1:5px; y1:287px; x2:699px; y2:287px; "/>
- <line id="line16" class="line_2" style="x1:5px; y1:262px; x2:699px; y2:262px; "/>
- <line id="line15" class="line_2" style="x1:5px; y1:237px; x2:699px; y2:237px; "/>
- <line id="line13" class="line_2" style="x1:5px; y1:172px; x2:699px; y2:172px; "/>
- <line id="line12" class="line_2" style="x1:5px; y1:148px; x2:699px; y2:148px; "/>
- <line id="line11" class="line_2" style="x1:5px; y1:124px; x2:699px; y2:124px; "/>
- <line id="line10" class="line_2" style="x1:5px; y1:100px; x2:699px; y2:100px; "/>
- <line id="line9" class="line_2" style="x1:5px; y1:76px; x2:699px; y2:76px; "/>
- <line id="line8" class="line_2" style="x1:5px; y1:52px; x2:699px; y2:52px; "/>
- <caption id="caption11" class="tit_2" style="left:10px; top:10px; width:170px; height:14px; ">환자정보</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:699px; y2:25px; "/>
- <caption id="caption30" class="cell_1" style="left:5px; top:289px; width:91px; height:39px; font-weight:bold; vertical-align:middle; ">
- <![CDATA[<< 진행상태]]>
- </caption>
- <caption id="caption21" class="cell_1" style="left:5px; top:150px; width:91px; height:23px; vertical-align:middle; ">보험유형</caption>
- <caption id="caption33" class="cell_1" style="left:5px; top:78px; width:91px; height:23px; vertical-align:middle; ">접수일자</caption>
- <caption id="caption12" class="cell_1" style="left:5px; top:54px; width:91px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption35" class="cell_1" style="left:5px; top:214px; width:91px; height:23px; font-weight:bold; vertical-align:middle; ">
- <![CDATA[<< 재원사유]]>
- </caption>
- <caption id="caption13" class="cell_1" style="left:5px; top:30px; width:91px; height:23px; vertical-align:middle; ">환자번호</caption>
- <caption id="caption36" class="cell_1" style="left:5px; top:239px; width:91px; height:23px; font-weight:bold; vertical-align:middle; ">
- <![CDATA[<< 등록사유]]>
- </caption>
- <caption id="caption14" class="cell_1" style="left:5px; top:102px; width:91px; height:23px; vertical-align:middle; ">접수번호</caption>
- <caption id="caption15" class="cell_1" style="left:5px; top:174px; width:91px; height:23px; vertical-align:middle; ">전과</caption>
- <caption id="caption17" class="cell_1" style="left:5px; top:126px; width:91px; height:23px; vertical-align:middle; ">내원경로</caption>
- <input id="input7" ref="/root/main/mngtpat/ihcsinfo/acptdd" class="input_default" disabled="true" editable="false" format="yyyy-mm-dd" style="left:99px; top:79px; width:100px; height:19px; "/>
- <input id="input8" ref="/root/main/mngtpat/ihcsinfo/cnstseqno" class="input_default" disabled="true" editable="false" style="left:99px; top:103px; width:100px; height:19px; "/>
- <input id="input23" ref="/root/main/mngtpat/ptbsinfo/chngdept" class="input_default" disabled="true" editable="false" style="left:99px; top:175px; width:100px; height:19px; "/>
- <textarea id="txt_inhospresn" ref="/root/main/mngtpat/ihcsinfo/inhospresn" style="left:256px; top:216px; width:443px; height:19px; "/>
- <textarea id="txt_reqresn" ref="/root/main/mngtpat/ihcsinfo/reqresn" imemode="hangul" style="left:256px; top:241px; width:443px; height:19px; "/>
- <input id="input1" ref="/root/main/mngtpat/ptbsinfo/pid" class="input_essential" style="left:99px; top:32px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == "13") {
- setInputNodeCurText();
-
- model.setvalue("/root/send/cond1/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- // 환자기본정보 조회
- if(submit("TRPMI00905")) {
- var sPid = model.getValue("/root/main/mngtpat/ptbsinfo/pid");
- if (isNull(sPid)) {
- model.makeNode("/root/main/mngtpat/ptbsinfo/pid");
- messageBox("조회된 결과가", "I004");
- return;
- }
- }
-
- // ihrq, ihcs 재원환자의뢰내역, 재원환자상담내역 조회, ihdc 재원환자 상세상담내역 조회
- // 20091209 JHP 추가 indd, cretno 주석처리 - 환자번호 입력후 엔터는 새로운 입력이라는 전제 하에 기존데이터 불러오는 부분은 주석처리함.
- /*
- model.setvalue("/root/send/cond2/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setvalue("/root/send/cond2/indd", model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setvalue("/root/send/cond2/cretno", model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
- submit("TRPMI00906");
- submit("TRPMI00907");
- if (model.getvalue("/root/hidden/ihcsinfo/acptdd") == "" && model.getvalue("/root/hidden/ihrqinfo/reqdd") != "") {
- //model.setValue("/root/main/mngtpat/ihcsinfo/inhospresn", model.getValue("/root/hidden/ihrqinfo/inhospresn"));
- //model.setvalue("/root/main/mngtpat/ihcsinfo/reqresn", model.getValue("/root/hidden/ihrqinfo/reqresn"));
- model.setValue("/root/hidden/state", "I");
- }
-
- if (model.getValue("/root/hidden/ihcsinfo/acptdd") != "") {
- model.setValue("/root/main/mngtpat/ihcsinfo/acptdd", model.getValue("/root/hidden/ihcsinfo/acptdd"));
- model.setValue("/root/main/mngtpat/ihcsinfo/cnstseqno", model.getValue("/root/hidden/ihcsinfo/cnstseqno"));
- model.setValue("/root/main/mngtpat/ihcsinfo/inhospresn", model.getValue("/root/hidden/ihcsinfo/inhospresn"));
- model.setValue("/root/main/mngtpat/ihcsinfo/reqresn", model.getValue("/root/hidden/ihcsinfo/reqresn"));
- model.setValue("/root/main/mngtpat/ihcsinfo/prcsstatcnts", model.getValue("/root/hidden/ihcsinfo/prcsstatcnts"));
- model.setValue("/root/main/mngtpat/ihcsinfo/endgrde", model.getValue("/root/hidden/ihcsinfo/endgrde"));
- model.setValue("/root/main/mngtpat/ihcsinfo/delivefact", model.getValue("/root/hidden/ihcsinfo/delivefact"));
- model.setValue("/root/main/mngtpat/ihcsinfo/fstindays", model.getValue("/root/hidden/ihcsinfo/fstindays"));
- model.setValue("/root/main/mngtpat/ihcsinfo/prcsstatcd", model.getValue("/root/hidden/ihcsinfo/prcsstatcd"));
- model.setValue("/root/hidden/state", "U");
-
- submit("TRPMI00908");
- }
- */
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input6" ref="/root/main/mngtpat/ptbsinfo/hngnm" class="input_essential" style="left:99px; top:55px; width:100px; height:19px; "/>
- <input id="input9" ref="/root/main/mngtpat/ptbsinfo/zipcd1" class="input_default" disabled="true" editable="false" style="left:285px; top:31px; width:30px; height:19px; "/>
- <input id="ipt_indays" ref="/root/main/mngtpat/ptbsinfo/indays" class="input_default" disabled="true" editable="false" style="left:466px; top:127px; width:62px; height:19px; "/>
- <caption id="caption41" class="cell_1" style="left:202px; top:126px; width:80px; height:23px; vertical-align:middle; ">담당의</caption>
- <caption id="caption42" class="cell_1" style="left:383px; top:102px; width:80px; height:23px; vertical-align:middle; ">병실</caption>
- <input id="input10" ref="/root/main/mngtpat/ptbsinfo/zipcd2" class="input_default" disabled="true" editable="false" style="left:318px; top:31px; width:30px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:202px; top:150px; width:107px; height:23px; vertical-align:middle; ">최초등록재원일수</caption>
- <input id="input11" ref="/root/main/mngtpat/ptbsinfo/age" class="input_default" disabled="true" editable="false" style="left:614px; top:31px; width:41px; height:19px; "/>
- <caption id="caption43" class="cell_1" style="left:383px; top:126px; width:80px; height:23px; vertical-align:middle; ">재원일수</caption>
- <caption id="caption32" class="cell_1" style="left:202px; top:78px; width:80px; height:23px; vertical-align:middle; ">진료과</caption>
- <input id="input34" ref="/root/main/mngtpat/ptbsinfo/mpphontel" class="input_default" disabled="true" editable="false" style="left:614px; top:55px; width:85px; height:19px; "/>
- <input id="input12" ref="/root/main/mngtpat/ptbsinfo/sex" class="input_default" disabled="true" editable="false" style="left:658px; top:31px; width:41px; height:19px; "/>
- <caption id="caption22" class="cell_1" style="left:531px; top:126px; width:80px; height:23px; vertical-align:middle; ">재원미수금</caption>
- <caption id="caption44" class="cell_1" style="left:383px; top:150px; width:143px; height:23px; vertical-align:middle; ">관리대상환자 조정난이도</caption>
- <caption id="caption23" class="cell_1" style="left:531px; top:54px; width:80px; height:23px; vertical-align:middle; ">전화번호</caption>
- <input id="input24" ref="/root/main/mngtpat/ptbsinfo/roomcd" class="input_default" disabled="true" editable="false" style="left:466px; top:103px; width:62px; height:19px; "/>
- <input id="input14" ref="/root/main/mngtpat/ptbsinfo/detladdr" class="input_default" disabled="true" editable="false" style="left:285px; top:55px; width:243px; height:19px; "/>
- <input id="input26" ref="/root/main/mngtpat/ptbsinfo/indd" class="input_default" disabled="true" editable="false" format="yyyy-mm-dd" style="left:614px; top:79px; width:85px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:531px; top:78px; width:80px; height:23px; vertical-align:middle; ">입원일자</caption>
- <input id="input27" ref="/root/main/mngtpat/ptbsinfo/fstindays" class="input_default" disabled="true" editable="false" style="left:312px; top:151px; width:68px; height:19px; "/>
- <input id="input16" ref="/root/main/mngtpat/ptbsinfo/zipcdaddr" class="input_default" disabled="true" editable="false" style="left:351px; top:31px; width:177px; height:19px; "/>
- <caption id="caption37" class="cell_1" style="left:202px; top:54px; width:80px; height:23px; vertical-align:middle; ">하위주소</caption>
- <input id="ipt_dschdd" ref="/root/main/mngtpat/ptbsinfo/dschdd" class="input_default" disabled="true" editable="false" format="yyyy-mm-dd" style="left:614px; top:103px; width:85px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:531px; top:102px; width:80px; height:23px; vertical-align:middle; ">퇴원일자</caption>
- <select1 id="rdo_endgrde" ref="/root/main/mngtpat/ihcsinfo/endgrde" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:529px; top:153px; width:171px; height:20px; background-color:transparent; border-style:none; ">
- <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>
- </choices>
- </select1>
- <caption id="caption38" class="cell_1" style="left:202px; top:30px; width:80px; height:23px; vertical-align:middle; ">주소</caption>
- <input id="input29" ref="/root/main/mngtpat/ptbsinfo/inuncoamt" class="input_default" disabled="true" editable="false" format="#,###" style="left:614px; top:127px; width:85px; height:19px; text-align:right; "/>
- <caption id="caption39" class="cell_1" style="left:202px; top:102px; width:80px; height:23px; vertical-align:middle; ">전문의</caption>
- <caption id="caption18" class="cell_1" style="left:531px; top:30px; width:80px; height:23px; vertical-align:middle; ">나이/성별</caption>
- <select1 id="combo8" ref="/root/main/mngtpat/ptbsinfo/inpath" class="combo_default" disabled="true" appearance="minimal" style="left:99px; top:127px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0002list/P0002">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_movehosppaper" class="btn2_letter5" disabled="true" style="left:624px; top:5px; width:75px; height:19px; font-weight:bold; ">
- <caption>전원소견서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/hidden/childprnt/srchprofhist/fromdd","");
- model.makeValue("/root/hidden/childprnt/srchprofhist/todd","");
- model.makeValue("/root/hidden/childprnt/srchprofhist/issflag","-");
- model.makeValue("/root/hidden/childprnt/srchprofhist/pid",model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.makeValue("/root/hidden/childprnt/srchprofhist/srchflag","rec");
- model.makeValue("/root/hidden/childprnt/srchprofhist/srchdata","");
- model.makeValue("/root/hidden/childprnt/srchprofhist/patsrchflag","1");
- model.makeValue("/root/hidden/childprnt/srchprofhist/holograpflag","-");
- model.makeValue("/root/hidden/childprnt/srchprofhist/formcd","0000002536");
- modal("../../../emr/medirecweb/xrw/SMMMR02300", "1","","", "SMMMR02300", "/root/hidden/childprnt/srchprofhist","/root/main/srchprofhist");
-
- model.removeNodeset("/root/hidden/childprnt/srchprofhist");
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter3" visibility="hidden" style="left:364px; top:5px; width:53px; height:19px; ">
- <caption>회신서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("SMPMI01400_상담의뢰회신서.xrw","modal","","left:100px; top:100px; width:620px; height:580px");
- ]]>
- </script>
- </button>
- <input id="ipt_cretno" ref="/root/main/mngtpat/ptbsinfo/cretno" visibility="hidden" style="left:676px; top:152px; width:20px; height:19px; "/>
- <button id="btn_save1" class="btn2_letter2" style="left:657px; top:332px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 진행상태만 저장
- // btn_saveihrq.dispatch("DOMActivate"); 기존것
-
- // 입력인지, 수정인지 구분 로직 필요
-
- var iuFlag = "I";
-
- if (isNull(model.getValue("/root/main/mngtpat/ihcsinfo/acptdd"))) {
- iuFlag = "I";
- } else {
- iuFlag = "U";
- }
-
-
- var sPid = model.getValue("/root/main/mngtpat/ptbsinfo/pid");
- if (!isNull(sPid)) {
- if (iuFlag == "I") {
- model.setValue("/root/send/insihcs/acptdd", getCurrentDate());
- model.setValue("/root/send/insihcs/cnstseqno", 1);
- } else {
- model.setValue("/root/send/insihcs/acptdd", model.getValue("/root/main/mngtpat/ihcsinfo/acptdd"));
- model.setValue("/root/send/insihcs/cnstseqno", model.getValue("/root/main/mngtpat/ihcsinfo/cnstseqno"));
- }
-
- // 테이블 변경 코드성 플래그는 null일때 '-'셋팅하도록함.
- if(model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcd") == null){
- model.setValue("/root/main/mngtpat/ihcsinfo/prcsstatcd", "-");
- }
- if(model.getValue("/root/main/mngtpat/ihcsinfo/endgrde") == null){
- model.setValue("/root/main/mngtpat/ihcsinfo/endgrde", "-");
- }
-
-
- model.setValue("/root/send/insihcs/pid" , model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/send/insihcs/indd" , model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setValue("/root/send/insihcs/cretno" , model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
- model.setValue("/root/send/insihcs/reqflag", "-"); //, model.getValue("/root/hidden/ihrqinfo/reqflag")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/reqresn" , model.getValue("/root/main/mngtpat/ihcsinfo/reqresn"));
- model.setValue("/root/send/insihcs/inhospflag", "-"); //, model.getValue("/root/hidden/ihrqinfo/inhospflag")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/inhospresn" , model.getValue("/root/main/mngtpat/ihcsinfo/inhospresn"));
- model.setValue("/root/send/insihcs/reqdd", "-"); //, model.getValue("/root/hidden/ihrqinfo/reqdd")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/reqdeptcd", "-"); //, model.getValue("/root/hidden/ihrqinfo/reqdeptcd")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/reqdrid", "-"); //, model.getValue("/root/hidden/ihrqinfo/reqdrid")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/delivefact" , model.getValue("/root/main/mngtpat/ihcsinfo/delivefact"));
- model.setValue("/root/send/insihcs/prcsstatcd" , model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcd"));
- model.setValue("/root/send/insihcs/prcsstatcnts" , model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcnts"));
- model.setValue("/root/send/insihcs/endgrde" , model.getValue("/root/main/mngtpat/ihcsinfo/endgrde"));
- model.setValue("/root/send/insihcs/state" , iuFlag);
-
- model.setValue("/root/send/insihcs/chnghospresn" ,model.getValue("/root/main/mngtpat/ihcsinfo/chnghospresn"));
- model.setValue("/root/send/insihcs/endstatdd" ,model.getValue("/root/main/mngtpat/ihcsinfo/endstatdd"));
-
-
- submit("TXPMI00901");
-
- model.removeNodeset("/root/main/mngtpat/patreflist/grdpatreflist");
- //btn_search.dispatch("DOMActivate"); 기존것
- submit("TRPMI00910");
- grd_prestinhosp.visible = false;
- grd_patreflist.visible = true;
- grd_uncopatlist.visible = false;
- model.refresh();
- } else {
- messageBox("환자정보가 조회되지 않았습니다!!", "C");
- return;
- }
-
- ]]>
- </script>
- </button>
- <select1 id="combo9" ref="/root/main/mngtpat/ptbsinfo/insukind" disabled="true" appearance="minimal" style="left:98px; top:151px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="input3" ref="/root/main/mngtpat/ptbsinfo/orddeptnm" class="input_default" disabled="true" editable="false" style="left:285px; top:79px; width:243px; height:19px; "/>
- <input id="input5" ref="/root/main/mngtpat/ptbsinfo/medispclnm" class="input_default" disabled="true" editable="false" style="left:285px; top:103px; width:94px; height:19px; "/>
- <input id="input15" ref="/root/main/mngtpat/ptbsinfo/atdoctnm" class="input_default" disabled="true" editable="false" style="left:285px; top:127px; width:94px; height:19px; "/>
- <group id="grp_report" visibility="hidden" style="left:205px; top:8px; width:9px; height:15px; "/>
- <select1 id="cmb_emrmenu" ref="/root/hidden/menuvalue" appearance="minimal" style="left:238px; top:5px; width:125px; height:19px; ">
- <choices>
- <item>
- <label>통합결과조회</label>
- <value>1</value>
- </item>
- <item>
- <label>통합기록조회</label>
- <value>2</value>
- </item>
- <item>
- <label>환자진료정보</label>
- <value>3</value>
- </item>
- <item>
- <label>병동업무관리</label>
- <value>4</value>
- </item>
- <item>
- <label>퇴원진행현황관리</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var sMenuValue = model.getValue("/root/hidden/menuvalue");
-
- if (sMenuValue == "1") modal("SMAER00800");
- if (sMenuValue == "2") modal("SMMRI00400");
- if (sMenuValue == "3") modal("SMMMO02500");
- if (sMenuValue == "4") modal("SMMNW05500");
- if (sMenuValue == "5") modal("SMMNW12700");
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_inhospresn" ref="/root/hidden/cmblist/inhospresn" class="combo_default" appearance="minimal" editmode="search" style="left:99px; top:216px; width:156px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0499list/P0499">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- txt_inhospresn.value = cmb_inhospresn.label;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_reqresn" ref="/root/hidden/cmblist/reqresn" class="combo_default" appearance="minimal" editmode="search" style="left:99px; top:241px; width:156px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0498list/P0498">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- txt_reqresn.value = cmb_reqresn.label;
- ]]>
- </script>
- </select1>
- <textarea id="txt_chnghosp" ref="/root/main/mngtpat/ihcsinfo/chnghospresn" imemode="hangul" style="left:256px; top:266px; width:443px; height:19px; "/>
- <select1 id="cmb_chnghosp" ref="/root/hidden/cmblist/chnghosp" class="combo_default" appearance="minimal" editmode="search" style="left:99px; top:266px; width:156px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0497list/P0497">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- txt_chnghosp.value = cmb_chnghosp.label;
- ]]>
- </script>
- </select1>
- <caption id="caption64" class="cell_1" style="left:5px; top:264px; width:91px; height:23px; font-weight:bold; vertical-align:middle; ">
- <![CDATA[<< 전원사유]]>
- </caption>
- <select1 id="rdo_prcsstatcd" ref="/root/main/mngtpat/ihcsinfo/prcsstatcd" appearance="full" cellspacing="20" cols="7" vcellspacing="3" overflow="visible" style="left:99px; top:290px; width:381px; height:32px; vertical-align:top; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/P0501list/P0501">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="cell_1" style="left:5px; top:330px; width:91px; height:23px; font-weight:bold; vertical-align:middle; ">
- <![CDATA[<< 종결일자]]>
- </caption>
- <input id="input25" ref="/root/main/mngtpat/ihcsinfo/endstatdd" class="input_default" editable="false" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:99px; top:332px; width:131px; height:19px; "/>
- <input id="input35" ref="/root/main/mngtpat/ihcsinfo/prcsstatcnts" class="input_default" imemode="hangul" style="left:500px; top:308px; width:181px; height:19px; "/>
- <button id="button15" class="btn5_letter8" style="left:96px; top:5px; width:108px; height:19px; ">
- <caption>재원관리종결현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_inhospendprescond.visible = true;
-
- grp_inhospendprescond.attribute("top") = "65";
- grp_inhospendprescond.attribute("left") = "505";
-
- //model.setValue("/root/send/inhospendprescond/fromdd", getCurrentDate());
- //model.setValue("/root/send/inhospendprescond/todd", getCurrentDate());
- input28.value= getCurrentDate();
- input31.value= getCurrentDate();
-
-
- ]]>
- </script>
- </button>
- <button id="btn_cardex" class="btn2_letter5" disabled="true" style="left:418px; top:5px; width:75px; height:19px; font-weight:bold; ">
- <caption>카덱스관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //delPatientInfos(); //common.js
- //fUpPatientInfos();
- /*
- var pid = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/pid");
- var indd = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/indd");
- var cretno = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/cretno");
- var instcd = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/instcd");
- var ordtype = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/ordtype");
-
- var indschacptstat = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/indschacptstat");
- var dschdd = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/dschdd");
-
- if(indschacptstat == "D" || indschacptstat == "T"){
- var srchdd = dschdd;
- }else{
- var srchdd = getCurrentDate();
- }
-
- // param 첫번째 붙는 값은 외래 : O, 입원 : I, 지원부서 : S, 수술 : T, 응급 : E, 의뢰 : C
- //var param = "I" + "▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
- if(ordtype == "E"){
- var param = "E" + "▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
- }else{
- var param = "I" + "▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
- }
-
- setParameter("condparam", param);
- setParameter("errflag", "Y");
- modal("SPMMO08900", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- var useyn = getParameter("SPMMO08900_rtn_useyn");
- if(useyn == "Y") {
- setParameter("SPMMO08900_rtn_useyn", "");
- }else{
- }
- */
-
- model.makeNode("/root/hidden/cardex/paminfo");
-
- // 환자정보 조회
- var sPamInfo = getGlobalVariable("paminfo");
- setCSVToNode("/root/hidden/cardex/paminfo",sPamInfo,"pamlist");
- modal("../../../emr/wardcareweb/xrw/SMMNB00200", "1","","", "SMMNB00200", "/root/hidden/cardex/paminfo/pamlist","/root/main/paminfo/pamlist");
- model.removeNodeset("/root/hidden/cardex/paminfo");
-
- ]]>
- </script>
- </button>
- <button id="btn_movehospmngt" class="btn2_letter4" disabled="true" style="left:494px; top:5px; width:64px; height:19px; font-weight:bold; ">
- <caption>전원관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("../../../emr/healcarecoopweb/xrw/SMARC01400", "1","","", "SMARC01400", "/root/main/mngtpat/ptbsinfo/pid","/root/send/pid");
- modal("../../../ast/healcarecoopweb/xrw/SMARC01400", "1","","", "SMARC01400");
- ]]>
- </script>
- </button>
- <button id="btn_movehospstat" class="btn2_letter4" disabled="true" style="left:559px; top:5px; width:64px; height:19px; font-weight:bold; ">
- <caption>전원현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../ast/healcarecoopweb/xrw/SMARC01600", "1","","", "SMARC01600");
- ]]>
- </script>
- </button>
- <line id="line40" class="line_3" style="x1:5px; y1:197px; x2:699px; y2:197px; "/>
- <line id="line14" class="line_1" style="x1:5px; y1:209px; x2:699px; y2:209px; "/>
- <line id="line19" class="line_3" style="x1:5px; y1:353px; x2:699px; y2:353px; "/>
- </case>
- </switch>
- <button id="button4" class="btn_sw" group="tab" selected="true" style="left:487px; top:11px; width:108px; height:22px; ">
- <caption>재원환자미수관리</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInitialize();
- clearUnco();
-
- model.toggle("case1");
-
- caption7.value = "입원일자 :";
- cmb_ddflag.visible = false;
- ipt_fstrgstdt1.attribute("left") = "104px";
- ipt_fstrgstdt2.attribute("left") = "216px";
- caption20.attribute("left") = "200px";
-
- grd_patreflist.visible = false;
- grd_uncopatlist.visible = true;
- btn_saveIhgt.visible = true;
- btn_saveihrq.visible = false;
-
- //caption10.visible = false; // 의뢰회신구분 caption
- //cmb_ihflag.visible = false; // 의뢰회신구분 combo
-
- caption58.visible = true; // 재원기간 caption
- combo6.visible = true; // 재원기간 combo
-
- caption8.visible = true;
- ipt_uncoamt.visible = true;
- caption3.visible = true;
- ipt_payownbamt.visible = true;
-
- button5.disabled = true; // 관리일지 출력
-
- btn_etc.visible = true;
- btn_etc1.visible= false;
-
- btn_print1.visible= true;
- btn_print2.visible= false;
-
- caption58.attribute("left") = 237;
- caption58.attribute("top") = 107;
- combo6.attribute("left") = 352;
- combo6.attribute("top") = 106;
-
- // 20100122 JHP 수정추가
- button6.visible = false;
- btn_nowdel.visible= false;
- grd_prestinhosp.visible = false;
-
- // 우측화면 사이즈 변경, 관리일지 부분 그리드 변경
- switch1.attribute("height")= 507;
- caption45.attribute("top")= 549;
- line3.attribute("y1")= 564;
- line3.attribute("y2")= 564;
- grd_ihdcinfo.attribute("top")= 569;
- grd_ihdcinfo.attribute("height")= 74;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line23" class="line_2" style="x1:488px; y1:671px; x2:1189px; y2:671px; "/>
- <caption id="caption46" class="tit_2" style="left:5px; top:178px; width:80px; height:14px; ">관리환자</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:193px; x2:482px; y2:193px; "/>
- <input id="ipt_workdd" ref="/root/main/ihdcinfo2/workdd" class="input_default" inputtype="date" style="left:582px; top:650px; width:103px; height:19px; "/>
- <line id="line3" class="line_1" style="x1:487px; y1:564px; x2:1188px; y2:564px; "/>
- <caption id="caption45" class="tit_2" style="left:492px; top:549px; width:170px; height:14px; ">관리일지 작성 및 조회</caption>
- <textarea id="txt_cnstspec" ref="/root/main/ihdcinfo2/cnstspec" navindex="22" imemode="hangul" style="left:582px; top:676px; width:606px; height:47px; "/>
- <caption id="caption48" class="cell_1" style="left:488px; top:649px; width:91px; height:23px; vertical-align:middle; ">작성일자</caption>
- <caption id="caption49" class="cell_1" style="left:488px; top:673px; width:91px; height:55px; vertical-align:middle; ">내용</caption>
- <datagrid id="grd_ihdcinfo" nodeset="/root/main/ihdcinfo/grdihdcinfo" scroll="vertical" caption="분류^작성일자^내용^작성자^일련번호" colsep="^" colwidth="80, 90, 422, 90, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:487px; top:569px; width:700px; height:74px; ">
- <col disabled="true" ref="cnstflag" 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>
- </choices>
- </col>
- <col ref="workdd" style="text-align:center; "/>
- <col ref="cnstspec"/>
- <col ref="lastupdtrnm" style="text-align:center; "/>
- <col ref="cnstdetlseqno"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- if (switch1.case1.attribute("selected") == "true") {
- model.setValue("/root/send/cond3/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- model.setValue("/root/send/cond3/indd", model.getValue("/root/main/uncopat/uncopatinfo/indd"));
- model.setValue("/root/send/cond3/cretno", model.getValue("/root/main/uncopat/uncopatinfo/cretno"));
- model.setValue("/root/send/cond3/cnstdetlseqno", model.getValue("/root/main/ihdcinfo/grdihdcinfo[" + grd_ihdcinfo.row + "]/cnstdetlseqno"));
- }
- if (switch1.case2.attribute("selected") == "true") {
- model.setValue("/root/send/cond3/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/send/cond3/indd", model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setValue("/root/send/cond3/cretno", model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
- model.setValue("/root/send/cond3/cnstdetlseqno", model.getValue("/root/main/ihdcinfo/grdihdcinfo[" + grd_ihdcinfo.row + "]/cnstdetlseqno"));
- }
-
- submit("TRPMI00909");
- }
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:0px; top:10px; width:482px; height:161px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:482px; height:159px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:57px; width:88px; height:17px; ">진료과 :</caption>
- <select1 id="cbo_orddeptcd" ref="/root/send/findcond/orddeptcd" class="combo_search" navindex="2" appearance="minimal" style="left:104px; top:56px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fOrdDrSet();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:237px; top:83px; width:118px; height:17px; ">본인부담금 ≥</caption>
- <caption id="caption2" class="search_name" style="left:15px; top:81px; width:100px; height:17px; ">전문의 :</caption>
- <caption id="caption4" class="search_name" style="left:15px; top:105px; width:86px; height:17px; ">병동 :</caption>
- <caption id="caption5" class="search_name" style="left:237px; top:34px; width:118px; height:17px; ">재원구분 :</caption>
- <caption id="caption7" class="search_name" style="left:15px; top:130px; width:86px; height:17px; ">기 간 :</caption>
- <select1 id="cbo_atdoctid" ref="/root/send/findcond/atdoctid" class="combo_search" navindex="3" appearance="minimal" style="left:104px; top:80px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cbo_wardcd" ref="/root/send/findcond/wardcd" class="combo_search" navindex="4" appearance="minimal" style="left:104px; top:104px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cbo_ordtype" ref="/root/send/findcond/instat" class="combo_search" navindex="6" appearance="minimal" style="left:352px; top:33px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>입원</label>
- <value>2</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>3</value>
- </item>
- <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>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var sInStat = model.getValue("/root/send/findcond/instat");
- var sInHospDays = model.getValue("/root/send/findcond/inhospdays");
- if (sInStat == "7") {
- ipt_fstrgstdt1.disabled = true;
- ipt_fstrgstdt2.disabled = true;
- } else {
- model.setValue("/root/send/findcond/inhospdays", 0);
- ipt_fstrgstdt1.disabled = false;
- ipt_fstrgstdt2.disabled = false;
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_fstrgstdt1" ref="/root/send/findcond/fstrgstdt1" class="input_search" inputtype="date" style="left:104px; top:129px; width:90px; height:19px; "/>
- <input id="ipt_fstrgstdt2" ref="/root/send/findcond/fstrgstdt2" class="input_search" inputtype="date" style="left:216px; top:129px; width:90px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:237px; top:58px; width:118px; height:17px; ">미수금 ≥</caption>
- <caption id="caption9" class="search_name" style="left:237px; top:9px; width:118px; height:17px; ">보험유형 :</caption>
- <input id="ipt_uncoamt" ref="/root/send/findcond/uncoamt" class="input_search" navindex="9" imemode="numeric" format="#,###" style="left:352px; top:57px; width:115px; height:19px; text-align:right; "/>
- <select1 id="cbo_insucd" ref="/root/send/findcond/insucd" class="combo_search" navindex="5" appearance="minimal" style="left:352px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_search" class="btn1_letter2" navindex="10" style="left:411px; top:129px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- clearIhcs(); /* 재원환자관리부분 클리어 */
- clearUnco(); /* 미수관리부분 클리어 */
- clearIhdc(); /* 관리일지부분 클리어 */
-
- model.removeNodeset("/root/main/uncopat/uncopatlist/grduncopatlist"); /* 환자조회부분 클리어 */
- model.removeNodeset("/root/main/mngtpat/patreflist/grdpatreflist"); /* 환자조회부분 클리어 */
-
- // 재원미수관리
- if (switch1.case1.attribute("selected") == "true") {
- if (model.getValue("/root/send/findcond/payownbamt") == ""){
- model.setValue("/root/send/findcond/payownbamt", "0");
- }
- if (model.getValue("/root/send/findcond/uncoamt") == ""){
- model.setValue("/root/send/findcond/uncoamt", "0");
- }
-
- if(submit("TRPMI00912")) {
-
- } else {
- messageBox("재원미수환자 조회 실패!!", "C");
- }
-
- // 20100122 JHP 수정추가
- grd_prestinhosp.visible = false;
- grd_patreflist.visible = false;
- grd_uncopatlist.visible = true;
-
-
- if (model.getValue("/root/send/findcond/payownbamt") == "0") {
- model.setValue("/root/send/findcond/payownbamt", "");
- }
- if (model.getValue("/root/send/findcond/uncoamt") == "0") {
- model.setValue("/root/send/findcond/uncoamt", "");
- }
- }
-
- // 재원환자관리
- if (switch1.case2.attribute("selected") == "true") {
- submit("TRPMI00910");
-
- // 20100122 JHP 수정추가
- grd_prestinhosp.visible = false;
- grd_patreflist.visible = true;
- grd_uncopatlist.visible = false;
- }
-
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:396px; y1:129px; x2:396px; y2:149px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="search_no_b" style="left:200px; top:130px; width:12px; height:17px; ">~</caption>
- <input id="ipt_payownbamt" ref="/root/send/findcond/payownbamt" class="input_search" navindex="8" imemode="numeric" format="#,###" style="left:352px; top:82px; width:115px; height:19px; text-align:right; "/>
- <caption id="caption50" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
- <input id="input66" ref="/root/send/findcond/pid" class="input_search" navindex="0" style="left:104px; top:8px; width:115px; height:19px; "/>
- <caption id="caption57" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">환자성명 :</caption>
- <input id="input67" ref="/root/send/findcond/hngnm" class="input_search" navindex="1" imemode="hangul" style="left:104px; top:32px; width:115px; height:19px; "/>
- <!--<select1 id="cmb_ihflag" ref="/root/send/findcond/ihflag" class="combo_search" navindex="7" appearance="minimal" style="left:352px; top:106px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>의뢰</label>
- <value>2</value>
- </item>
- <item>
- <label>회신</label>
- <value>3</value>
- </item>
- <item>
- <label>등록</label>
- <value>4</value>
- </item>
- </choices>
- </select1>-->
- <!--<caption id="caption10" class="search_name" style="left:237px; top:107px; width:118px; height:17px; ">의뢰회신구분 :</caption>-->
- <caption id="caption58" class="search_name" visibility="hidden" style="left:237px; top:107px; width:118px; height:17px; ">재원기간 :</caption>
- <select1 id="combo6" ref="/root/send/findcond/inhospdays" class="combo_search" navindex="7" visibility="hidden" appearance="minimal" style="left:352px; top:106px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>20일 이상</label>
- <value>20</value>
- </item>
- <item>
- <label>30일 이상</label>
- <value>30</value>
- </item>
- <item>
- <label>60일 이상</label>
- <value>60</value>
- </item>
- <item>
- <label>90일 이상</label>
- <value>90</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var sInHospDays = model.getValue("/root/send/findcond/inhospdays");
- if (sInHospDays != 0) {
- model.setValue("/root/send/findcond/instat", "7"); // 재원
- ipt_fstrgstdt1.disabled = true;
- ipt_fstrgstdt2.disabled = true;
-
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="combo4" ref="/root/send/findcond/insucd" class="combo_search" navindex="5" appearance="minimal" style="left:352px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_ddflag" ref="/root/send/findcond/ddflag" class="combo_search" navindex="4" visibility="hidden" appearance="minimal" style="left:104px; top:129px; width:62px; height:19px; ">
- <choices>
- <item>
- <label>등록</label>
- <value>IN</value>
- </item>
- <item>
- <label>종결</label>
- <value>END</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>DSCH</value>
- </item>
- </choices>
- </select1>
- </group>
- <line id="line37" class="line_1" style="x1:487px; y1:644px; x2:1188px; y2:644px; "/>
- <line id="line22" class="line_3" style="x1:488px; y1:727px; x2:1189px; y2:727px; "/>
- <button id="button10" class="btn_sw" group="tab" style="left:595px; top:11px; width:84px; height:22px; ">
- <caption>재원환자관리</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInitialize();
- clearInpatInfo();
- clearIhcs();
- model.toggle("case2");
-
- caption7.value = "기 간 :";
- cmb_ddflag.visible = true;
- ipt_fstrgstdt1.attribute("left") = "167px";
- ipt_fstrgstdt2.attribute("left") = "279px";
- caption20.attribute("left") = "263px";
-
- grd_patreflist.visible = true;
- grd_uncopatlist.visible = false;
- btn_saveIhgt.visible = false;
- btn_saveihrq.visible = true;
-
- //caption10.visible = true; // 의뢰회신구분 caption
- //cmb_ihflag.visible = true; // 의뢰회신구분 combo
-
- caption58.visible = true; // 재원기간 caption
- combo6.visible = true; // 재원기간 combo
-
- caption8.visible = false;
- ipt_uncoamt.visible = false;
- caption3.visible = false;
- ipt_payownbamt.visible = false;
-
- button5.disabled = false; // 관리일지 출력
-
- btn_etc.visible = false;
- btn_etc1.visible= true;
-
- btn_print1.visible= false;
- btn_print2.visible= true;
-
- //caption10.attribute("left") = 237;
- //caption10.attribute("top") = 58;
- //cmb_ihflag.attribute("left") = 352;
- //cmb_ihflag.attribute("top") = 57;
-
- //caption58.attribute("left") = 237;
- //caption58.attribute("top") = 83;
- //combo6.attribute("left") = 352;
- //combo6.attribute("top") = 82;
-
- caption58.attribute("left") = 237;
- caption58.attribute("top") = 58;
- combo6.attribute("left") = 352;
- combo6.attribute("top") = 57;
-
- // 20100122 JHP 수정추가
- button6.visible = true;
- btn_nowdel.visible= true;
- grd_prestinhosp.visible = false;
-
- // 우측화면 사이즈 변경, 관리일지 부분 그리드 변경
- switch1.attribute("height")= 370;
- caption45.attribute("top")= 412;
- line3.attribute("y1")= 427;
- line3.attribute("y2")= 427;
- grd_ihdcinfo.attribute("top")= 432;
- grd_ihdcinfo.attribute("height")= 211;
-
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
- ]]>
- </script>
- </button>
- <!-- 수정이력 20091202 JHP - cnstseqno 상담일련번호(접수번호) 추가
- 20091209 JHP - acptdd 접수일자 추가
- -->
- <input id="input4" ref="/root/main/ihdcinfo2/cnstdetlseqno" visibility="hidden" style="left:1141px; top:652px; width:15px; height:19px; "/>
- <button id="button1" class="btn2_letter4" style="left:364px; top:173px; 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 (switch1.case1.attribute("selected") == "true") {
-
- if (fileName != "") {
- grd_uncopatlist.saveExcel(fileName, "SheetName", false, false, "", "");
- }
- }
-
- // 재원환자
- if (switch1.case2.attribute("selected") == "true") {
-
- if (fileName != "") {
- grd_patreflist.saveExcel(fileName, "SheetName", false, false, "", "");
- }
- }
-
- window.exec(fileName);
- ]]>
- </script>
- </button>
- <button id="btn_etc" class="btn2_letter3" style="left:429px; top:173px; width:53px; height:19px; ">
- <caption>펼치기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_uncopatlist.attribute("width") == "482") {
- grd_uncopatlist.attribute("width") = "960";
- btn_etc.attribute("class") = "btn5_letter3";
- btn_etc.attribute("color") = "#ff0066";
- } else {
- grd_uncopatlist.attribute("width") = "482";
- btn_etc.attribute("class") = "btn2_letter3";
- }
- //649
- ]]>
- </script>
- </button>
- <button id="btn_print1" class="btn2_letter2" style="left:321px; top:173px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrntSeq1();
- ]]>
- </script>
- </button>
- <!-- 20100122 JHP 수정추가 -->
- <button id="button6" class="btn5_letter7" visibility="hidden" style="left:85px; top:173px; width:130px; height:19px; font-weight:bold; ">
- <caption>현재재원환자</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = true;
- group4.attribute("left") = 0;
- group4.attribute("top") = 10;
- group4.attribute("height") = 482;
- group4.attribute("height") = 160;
-
- combo18.value= '7';
-
- btn_print1.disabled = true;
- btn_print2.disabled = true;
- button1.disabled = true;
- btn_etc.disabled = true;
- btn_etc1.disabled = true;
- btn_nowdel.disabled = true;
- ]]>
- </script>
- </button>
- <datagrid id="grd_uncopatlist" nodeset="/root/main/uncopat/uncopatlist/grduncopatlist" class="datagrid2" caption="등록번호^환자성명^입원일자^진료과^병동^병실^총진료비^본인부담금^미수금액^수납금액^청구^E50생성일자^E50 본임부담금^생성번호^보험유형" colsep="^" colwidth="59, 59, 67, 90, 90, 80, 91, 95, 82, 94, 30, 100, 100, 0, 0" dataheight="23" defaultrows="1" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:198px; width:482px; height:532px; ">
- <col ref="pid"/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" editmode="search" ref="orddeptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" editmode="search" ref="wardcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="totalamt" format="#,###" style="text-align:right; "/>
- <col ref="ownbtotamt" format="#,###" style="text-align:right; "/>
- <col ref="uncoamt" format="#,###" style="text-align:right; "/>
- <col ref="midrcptamt" format="#,###" style="text-align:right; "/>
- <col ref="mdlclamyn" type="output" style="text-align:center; "/>
- <col ref="e50printdd" format="yyyy-mm-dd"/>
- <col ref="e50totownamt" format="#,###" style="text-align:right; "/>
- <col ref="insukind"/>
- <col ref="mdlclamyn"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- clearUnco(); /* 미수관리부분 클리어 */
- clearIhdc(); /* 관리일지부분 클리어 */
- if( isDataCell() ){
- if (grd_uncopatlist.row >= 1 && model.getValue("/root/main/uncopat/uncopatlist/grduncopatlist[" + grd_uncopatlist.row + "]/pid") != "") {
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncopat/uncopatlist/grduncopatlist[" + grd_uncopatlist.row + "]/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncopat/uncopatlist/grduncopatlist[" + grd_uncopatlist.row + "]/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/uncopat/uncopatlist/grduncopatlist[" + grd_uncopatlist.row + "]/cretno"));
- model.setValue("/root/send/cond2/type", model.getValue("/root/main/uncopat/uncopatlist/grduncopatlist[" + grd_uncopatlist.row + "]/insukind"));
- model.setValue("/root/main/uncopat/uncoamt", model.getValue("/root/main/uncopat/uncopatlist/grduncopatlist[" + grd_uncopatlist.row + "]/uncoamt"));
-
- submit("TRPMI00913"); /* 미수관리부분 조회 */
-
- model.setValue("/root/send/cond2/orddeptcd", model.getValue("/root/main/uncopat/uncopatlist/grduncopatlist[" + grd_uncopatlist.row + "]/orddeptcd"));
- submit("TRPMI00903"); /* 상병 조회 + 수술명조회*/
- //submit("TRPMI00920"); //수술명조회
-
- // if (model.getvalue("/root/send/cond4/ordtype") == "O") {
- // submit("TRPMI00914");
- // submit("TRPMI00915");
- // }
- // if (model.getvalue("/root/send/cond4/ordtype") == "I") {
- submit("TRPMI00916"); /* 내원내역 */
- submit("TRPMI00917"); /* 수납내역 */
- // }
- //
- if (switch1.case1.attribute("selected") == "true") {
- model.setValue("/root/send/cond2/type", "1");
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncopat/uncopatinfo/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/uncopat/uncopatinfo/cretno"));
-
- model.resetInstanceNode("/root/main/ihgtinfo");
- submit("TRPMI00902"); /* 보증인 조회 */
- // copyNodeType("/root/main/ihgtinfo", "/root/hidden/ihgtinfo", "replace");
- model.setValue("/root/main/uncopat/ihgtinfo/grnternm", model.getValue("/root/hidden/ihgtinfo/grnternm"));
- model.setValue("/root/main/uncopat/ihgtinfo/grntertel", model.getValue("/root/hidden/ihgtinfo/grntertel"));
- model.setValue("/root/main/uncopat/ihgtinfo/realcd", model.getValue("/root/hidden/ihgtinfo/realcd"));
- model.setValue("/root/main/uncopat/ihgtinfo/addr", model.getValue("/root/hidden/ihgtinfo/addr"));
- model.setValue("/root/main/uncopat/ihgtinfo/grnternm1", model.getValue("/root/hidden/ihgtinfo/grnternm1"));
- model.setValue("/root/main/uncopat/ihgtinfo/grntertel1", model.getValue("/root/hidden/ihgtinfo/grntertel1"));
- model.setValue("/root/main/uncopat/ihgtinfo/real1", model.getValue("/root/hidden/ihgtinfo/real1"));
- model.setValue("/root/main/uncopat/ihgtinfo/addr1", model.getValue("/root/hidden/ihgtinfo/addr1"));
- model.setValue("/root/main/uncopat/ihgtinfo/grnternm2", model.getValue("/root/hidden/ihgtinfo/grnternm2"));
- model.setValue("/root/main/uncopat/ihgtinfo/grntertel2", model.getValue("/root/hidden/ihgtinfo/grntertel2"));
- model.setValue("/root/main/uncopat/ihgtinfo/real2", model.getValue("/root/hidden/ihgtinfo/real2"));
- model.setValue("/root/main/uncopat/ihgtinfo/addr2", model.getValue("/root/hidden/ihgtinfo/addr2"));
-
- if (model.getValue("/root/hidden/ihgtinfo/grnternm") == "") {
- model.setValue("/root/main/uncopat/ihgtinfo/state", "I");
- } else {
- model.setValue("/root/main/uncopat/ihgtinfo/state", "U");
- }
- }
-
- if (switch1.case2.attribute("selected") == "true") {
- model.setValue("/root/send/cond2/type", "2");
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
-
- submit("TRPMI00907");
-
- if (model.getValue("/root/main/mngtpat/ihcsinfo/acptdd") != "") {
- model.setValue("/root/hidden/state", "U");
- } else {
- model.setValue("/root/hidden/state", "I");
- }
- }
-
- model.removeNodeset("/root/main/ihdcinfo/grdihdcinfo");
- submit("TRPMI00908"); /* 상세내역 조회 */
-
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_uncopatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_patreflist" nodeset="/root/main/mngtpat/patreflist/grdpatreflist" class="datagrid2" caption="접수일자^접수^환자명^병실^재원^소견^등록번호^진행상태^진료과^성/나이^재원일수^종결상태^퇴원일^병원명^전원사유^난이도^입원일^생성번호^기관코드^병동^진료형태^진행상태^퇴원일자" colsep="^" colwidth="90, 55, 65, 62, 32, 32, 64, 94, 92, 60, 65, 67, 80, 111, 193, 69, 50, 65, 30, 30, 30, 30, 30" dataheight="23" defaultrows="1" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:198px; width:482px; height:532px; ">
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnstseqno" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="inin" style="text-align:center; "/>
- <col ref="jindan" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="prcsstatcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0501list/P0501">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="indays" style="text-align:center; "/>
- <col ref="endprcsstatcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0500list/P0500">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcsstatcnts" style="text-align:center; "/>
- <col ref="chnghospresn" style="text-align:center; "/>
- <col ref="endgrde" type="combo" style="text-align:center; ">
- <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>
- </choices>
- </col>
- <col ref="indd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cretno" visibility="hidden" style="text-align:center; "/>
- <!-- instcd, wardcd, ordtype, indschacptstat, dschdd는 카데스관리 팝업창 띄우기 위해서 상단정보 셋팅, 상단정보 조회, 카덱스관리 화면 셋팅, 형태로 가져오기 위해 추가함.-->
- <col ref="instcd" visibility="hidden" style="text-align:center; "/>
- <col ref="wardcd" visibility="hidden" style="text-align:center; "/>
- <col ref="ordtype" visibility="hidden" style="text-align:center; "/>
- <col ref="indschacptstat" visibility="hidden" style="text-align:center; "/>
- <col ref="dschdd" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- clearIhcs(); /* 재원환자관리부분 클리어 */
- clearIhdc(); /* 관리일지부분 클리어 */
- if( isDataCell() ){
- if (grd_patreflist.row >= 1 && model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/pid") != "") {
-
- model.setvalue("/root/send/cond2/type", "2");
- model.setvalue("/root/send/cond2/pid", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/pid"));
- model.setvalue("/root/send/cond2/indd", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/indd"));
- model.setvalue("/root/send/cond2/cretno", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/cretno"));
-
- submit("TRPMI00911"); /* 재원환자정보 조회 */
- submit("TRPMI00906"); /* 재원환자 의뢰내역 조회 */
-
- model.setvalue("/root/send/cond2/orddeptcd", model.getValue("/root/main/mngtpat/ptbsinfo/orddeptcd"));
-
- submit("TRPMI00904"); /* 진단명 조회 */
-
- model.setvalue("/root/send/cond2/cnstseqno", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/cnstseqno"));
-
- //20091209 JHP acptdd 접수일자 조회 조건에 추가함.
- model.setvalue("/root/send/cond2/acptdd", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/acptdd"));
-
- submit("TRPMI00907"); /* 상담내역 조회 */
-
- if (model.getvalue("/root/hidden/ihcsinfo/acptdd") == "" && model.getvalue("/root/hidden/ihrqinfo/reqdd") != "") {
- // model.setValue("/root/main/mngtpat/ihcsinfo/inhospresn", model.getValue("/root/hidden/ihrqinfo/inhospresn"));
- // model.setvalue("/root/main/mngtpat/ihcsinfo/reqresn", model.getValue("/root/hidden/ihrqinfo/reqresn"));
- }
- if (model.getValue("/root/hidden/ihcsinfo/acptdd") != "") {
- model.setValue("/root/main/mngtpat/ihcsinfo/acptdd", model.getValue("/root/hidden/ihcsinfo/acptdd"));
- model.setValue("/root/main/mngtpat/ihcsinfo/cnstseqno", model.getValue("/root/hidden/ihcsinfo/cnstseqno"));
- model.setValue("/root/main/mngtpat/ihcsinfo/inhospresn", model.getValue("/root/hidden/ihcsinfo/inhospresn"));
- model.setValue("/root/main/mngtpat/ihcsinfo/reqresn", model.getValue("/root/hidden/ihcsinfo/reqresn"));
- model.setValue("/root/main/mngtpat/ihcsinfo/prcsstatcnts", model.getValue("/root/hidden/ihcsinfo/prcsstatcnts"));
- model.setValue("/root/main/mngtpat/ihcsinfo/endgrde", model.getValue("/root/hidden/ihcsinfo/endgrde"));
- model.setValue("/root/main/mngtpat/ihcsinfo/delivefact", model.getValue("/root/hidden/ihcsinfo/delivefact"));
- model.setValue("/root/main/mngtpat/ihcsinfo/fstindays", model.getValue("/root/hidden/ihcsinfo/fstindays"));
- model.setValue("/root/main/mngtpat/ihcsinfo/prcsstatcd", model.getValue("/root/hidden/ihcsinfo/prcsstatcd"));
- model.setValue("/root/main/mngtpat/ihcsinfo/chnghospresn", model.getValue("/root/hidden/ihcsinfo/chnghospresn"));
- model.setValue("/root/main/mngtpat/ihcsinfo/endstatdd", model.getValue("/root/hidden/ihcsinfo/endstatdd"));
- }
- submit("TRPMI00908"); /* 재원환자, 재원미수환자, 퇴원미수환자의 상세 상담내역을 일자별로 관리 내역 조회 */
- // }
- }
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
-
- // 상단정보셋팅
- fUpPatientInfos();
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patreflist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_prestinhosp" nodeset="/root/main/mngtpat/prestinhosplist/prestinhosp" class="datagrid2" caption="등록번호^환자명^병동^병실^총재원일
(현재과재원일)^진료과^전문의^담당의^진단명^보험유형^전과^나이^성별^재원사유" colsep="^" colwidth="68, 64, 116, 60, 88, 100, 51, 60, 138, 83, 98, 37, 36, 300" dataheight="23" defaultrows="1" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:198px; width:482px; height:532px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="wardcd" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="indaycnt" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="medispclid" style="text-align:center; "/>
- <col ref="atdoctid" style="text-align:center; "/>
- <col ref="diagnm" style="text-align:left; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="bforddeptcd" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="gender" style="text-align:center; "/>
- <col ref="inhospresn" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- clearIhcs(); /* 재원환자관리부분 클리어 */
- clearIhdc(); /* 관리일지부분 클리어 */
- if( isDataCell() ){
- if (grd_patreflist.row >= 1 && model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/pid") != "") {
-
- model.setvalue("/root/send/cond2/type", "2");
- model.setvalue("/root/send/cond2/pid", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/pid"));
- model.setvalue("/root/send/cond2/indd", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/indd"));
- model.setvalue("/root/send/cond2/cretno", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/cretno"));
-
- submit("TRPMI00911"); /* 재원환자정보 조회 */
- submit("TRPMI00906"); /* 재원환자 의뢰내역 조회 */
-
- model.setvalue("/root/send/cond2/orddeptcd", model.getValue("/root/main/mngtpat/ptbsinfo/orddeptcd"));
-
- submit("TRPMI00904"); /* 진단명 조회 */
-
- model.setvalue("/root/send/cond2/cnstseqno", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/cnstseqno"));
-
- //20091209 JHP acptdd 접수일자 조회 조건에 추가함.
- model.setvalue("/root/send/cond2/acptdd", model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + grd_patreflist.row + "]/acptdd"));
-
- submit("TRPMI00907"); /* 상담내역 조회 */
-
- if (model.getvalue("/root/hidden/ihcsinfo/acptdd") == "" && model.getvalue("/root/hidden/ihrqinfo/reqdd") != "") {
- // model.setValue("/root/main/mngtpat/ihcsinfo/inhospresn", model.getValue("/root/hidden/ihrqinfo/inhospresn"));
- // model.setvalue("/root/main/mngtpat/ihcsinfo/reqresn", model.getValue("/root/hidden/ihrqinfo/reqresn"));
- }
- if (model.getValue("/root/hidden/ihcsinfo/acptdd") != "") {
- model.setValue("/root/main/mngtpat/ihcsinfo/acptdd", model.getValue("/root/hidden/ihcsinfo/acptdd"));
- model.setValue("/root/main/mngtpat/ihcsinfo/cnstseqno", model.getValue("/root/hidden/ihcsinfo/cnstseqno"));
- model.setValue("/root/main/mngtpat/ihcsinfo/inhospresn", model.getValue("/root/hidden/ihcsinfo/inhospresn"));
- model.setValue("/root/main/mngtpat/ihcsinfo/reqresn", model.getValue("/root/hidden/ihcsinfo/reqresn"));
- model.setValue("/root/main/mngtpat/ihcsinfo/prcsstatcnts", model.getValue("/root/hidden/ihcsinfo/prcsstatcnts"));
- model.setValue("/root/main/mngtpat/ihcsinfo/endgrde", model.getValue("/root/hidden/ihcsinfo/endgrde"));
- model.setValue("/root/main/mngtpat/ihcsinfo/delivefact", model.getValue("/root/hidden/ihcsinfo/delivefact"));
- model.setValue("/root/main/mngtpat/ihcsinfo/fstindays", model.getValue("/root/hidden/ihcsinfo/fstindays"));
- model.setValue("/root/main/mngtpat/ihcsinfo/prcsstatcd", model.getValue("/root/hidden/ihcsinfo/prcsstatcd"));
- }
- submit("TRPMI00908"); /* 재원환자, 재원미수환자, 퇴원미수환자의 상세 상담내역을 일자별로 관리 내역 조회 */
- // }
- }
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patreflist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="group4" visibility="hidden" style="left:0px; top:410px; width:482px; height:160px; ">
- <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:108px; width:482px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button9" class="btn1_letter2" navindex="10" style="left:418px; top:113px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/mngtpat/prestinhosplist/prestinhosp"); /* 환자조회부분 클리어 */
-
- var days = model.getValue("/root/send/prestinhosp/indays");
-
- if(days == "" || days == " " || days == null){
- }else{
- submit("TRPMI00921");
- }
-
-
- grd_prestinhosp.visible = true;
- grd_patreflist.visible = false;
- grd_uncopatlist.visible = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line41" class="line_4" style="x1:405px; y1:115px; x2:405px; y2:135px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="combo18" ref="/root/send/prestinhosp/inflag" class="combo_search" navindex="6" appearance="minimal" style="left:101px; top:114px; width:79px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>입원</label>
- <value>2</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>3</value>
- </item>
- <item>
- <label>퇴원예고</label>
- <value>4</value>
- </item>
- <item>
- <label>사망</label>
- <value>5</value>
- </item>
- <item>
- <label>전원</label>
- <value>6</value>
- </item>
- <item>
- <label>재원</label>
- <value>7</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var sInStat = model.getValue("/root/send/findcond/instat");
- var sInHospDays = model.getValue("/root/send/findcond/inhospdays");
- if (sInStat == "7") {
- ipt_fstrgstdt1.disabled = true;
- ipt_fstrgstdt2.disabled = true;
- } else {
- model.setValue("/root/send/findcond/inhospdays", 0);
- ipt_fstrgstdt1.disabled = false;
- ipt_fstrgstdt2.disabled = false;
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption87" class="search_name" style="left:10px; top:115px; width:95px; height:17px; ">재원구분 :</caption>
- <caption id="caption88" class="search_name" style="left:190px; top:115px; width:90px; height:17px; ">재원일 :</caption>
- <input id="input42" ref="/root/send/prestinhosp/indays" class="input_search" navindex="0" style="left:269px; top:114px; width:45px; height:19px; "/>
- <caption id="caption89" style="left:315px; top:118px; width:43px; height:15px; font-size:8pt; font-weight:bold; ">일이상</caption>
- <img id="img1" src="../../../com/commonweb/images/icon_x.gif" style="left:461px; top:90px; width:16px; height:15px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- group4.visible = false;
-
- grd_prestinhosp.visible = false;
- grd_patreflist.visible = true;
- grd_uncopatlist.visible = false;
-
- btn_print1.disabled = false;
- btn_print2.disabled = false;
- button1.disabled = false;
- btn_etc.disabled = false;
- btn_etc1.disabled = false;
- btn_nowdel.disabled = false;
- ]]>
- </script>
- </img>
- <button id="button7" class="btn2_letter2" style="left:3px; top:87px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrntSeq3();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_inhospendprescond" visibility="hidden" style="left:0px; top:600px; width:482px; height:32px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:482px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button16" class="btn1_letter4" navindex="10" style="left:393px; top:6px; width:80px; height:22px; ">
- <caption>조회출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/inhospendprescond/prescondlist");
- model.resetInstanceNode("/root/main/inhospendprescond/prescondsrch");
-
- var fromdd = model.getValue("/root/send/inhospendprescond/fromdd");
- var todd = model.getValue("/root/send/inhospendprescond/todd");
-
- if(fromdd == "" || todd == ""){
- model.setValue("/root/send/inhospendprescond/fromdd", getCurrentDate());
- model.setValue("/root/send/inhospendprescond/todd", getCurrentDate());
- }
-
- submit("TRPMI00922");
-
- // 토탈, 과평균, 일평균 구하기
- grd_prescondlist.subtotal("sum", -1, 2, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 2, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 3, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 4, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 5, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 6, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 7, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 8, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 9, "", "background-color:#99ff99", 1, "TOTAL");
- grd_prescondlist.subtotal("sum", -1, 10, "", "background-color:#99ff99", 1, "TOTAL");
-
- //datagrid.subtotal("avg", 0, 3, "#,###", "background-color:#99ff99", 0, "과평균");
- //datagrid.subtotal("avg", 0, 3, "#,###", "background-color:#99ff99", 0, "일평균");
-
- model.makeValue("/root/main/inhospendprescond/prescondsrch/cnt", getNodesetCount("/root/main/inhospendprescond/prescondlist/list"));
- model.makeValue("/root/main/inhospendprescond/prescondsrch/fromdd", model.getValue("/root/send/inhospendprescond/fromdd"));
- model.makeValue("/root/main/inhospendprescond/prescondsrch/todd", model.getValue("/root/send/inhospendprescond/todd"));
-
- exeReportPreview("RPPMI00905", "XMLSTR", "" , "" , "false" , "", "", "", "", "false");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line39" class="line_4" style="x1:385px; y1:8px; x2:385px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption10" class="search_name" style="left:30px; top:8px; width:129px; height:17px; ">종결(퇴원)기간 :</caption>
- <input id="input28" ref="/root/send/inhospendprescond/fromdd" class="input_search" navindex="0" inputtype="date" style="left:160px; top:7px; width:100px; height:19px; "/>
- <img id="img2" src="../../../com/commonweb/images/icon_x.gif" style="left:5px; top:9px; width:16px; height:15px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grp_inhospendprescond.visible = false;
- ]]>
- </script>
- </img>
- <caption id="caption66" style="left:264px; top:9px; width:15px; height:15px; font-size:8pt; font-weight:bold; ">~</caption>
- <input id="input31" ref="/root/send/inhospendprescond/todd" class="input_search" navindex="0" inputtype="date" style="left:276px; top:8px; width:100px; height:19px; "/>
- </group>
- <!-- 20100518 JHP 수정추가 관리환자를 삭제한다. 실제는 삭제하면 되지만 혹시 몰라 instcd를 000으로 만들어준다. -->
- <button id="btn_nowdel" class="btn5_letter2" visibility="hidden" style="left:278px; top:173px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_patreflist.row;
- if(row < 1){
- messageBox("리스트에서 삭제할 정보를","C002");
- }else{
- var msgvalue = messageBox("선택하신 내용을","Q001");
- if(msgvalue == "6"){
- var vinstcd = grd_patreflist.valueMatrix(row,grd_patreflist.colRef("instcd")); // 기관코드
- var vpid = grd_patreflist.valueMatrix(row,grd_patreflist.colRef("pid")); // 환자번호
- var vindd = grd_patreflist.valueMatrix(row,grd_patreflist.colRef("indd")); // 입원일자
- var vcretno = grd_patreflist.valueMatrix(row,grd_patreflist.colRef("cretno")); // 생성번호
- var vacptdd = grd_patreflist.valueMatrix(row,grd_patreflist.colRef("acptdd")); // 재원환자접수일자
- var vcnstseqno = grd_patreflist.valueMatrix(row,grd_patreflist.colRef("cnstseqno")); // 상담일련번호(재원환자접수번호)
-
- model.setValue("/root/send/ihcsdelinfo/instcd", vinstcd);
- model.setValue("/root/send/ihcsdelinfo/pid", vpid);
- model.setValue("/root/send/ihcsdelinfo/indd", vindd);
- model.setValue("/root/send/ihcsdelinfo/cretno", vcretno);
- model.setValue("/root/send/ihcsdelinfo/acptdd", vacptdd);
- model.setValue("/root/send/ihcsdelinfo/cnstseqno", vcnstseqno);
-
- submit("TXPMI00905")
- btn_search.dispatch("DOMActivate");
-
- }else{
- messageBox("취소","I001");
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:0px; top:750px; width:1195px; height:28px; ">
- <button id="button2" class="btn4_letter3" navindex="25" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/findcond");
- fInitialize();
- clearIhcs();
- clearUnco();
- clearIhdc();
-
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_saveihrq" class="btn4_letter6" style="left:814px; top:5px; width:104px; height:22px; ">
- <caption>환자정보저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 입력인지, 수정인지 구분 로직 필요
-
- var iuFlag = "I";
-
- if (isNull(model.getValue("/root/main/mngtpat/ihcsinfo/acptdd"))) {
- iuFlag = "I";
- } else {
- iuFlag = "U";
- }
-
-
- var sPid = model.getValue("/root/main/mngtpat/ptbsinfo/pid");
- if (!isNull(sPid)) {
- if (iuFlag == "I") {
- model.setValue("/root/send/insihcs/acptdd", getCurrentDate());
- model.setValue("/root/send/insihcs/cnstseqno", 1);
- } else {
- model.setValue("/root/send/insihcs/acptdd", model.getValue("/root/main/mngtpat/ihcsinfo/acptdd"));
- model.setValue("/root/send/insihcs/cnstseqno", model.getValue("/root/main/mngtpat/ihcsinfo/cnstseqno"));
- }
-
- // 테이블 변경 코드성 플래그는 null일때 '-'셋팅하도록함.
- if(model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcd") == null){
- model.setValue("/root/main/mngtpat/ihcsinfo/prcsstatcd", "-");
- }
- if(model.getValue("/root/main/mngtpat/ihcsinfo/endgrde") == null){
- model.setValue("/root/main/mngtpat/ihcsinfo/endgrde", "-");
- }
-
-
- model.setValue("/root/send/insihcs/pid" , model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/send/insihcs/indd" , model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setValue("/root/send/insihcs/cretno" , model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
- model.setValue("/root/send/insihcs/reqflag", "-"); //, model.getValue("/root/hidden/ihrqinfo/reqflag")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/reqresn" , model.getValue("/root/main/mngtpat/ihcsinfo/reqresn"));
- model.setValue("/root/send/insihcs/inhospflag", "-"); //, model.getValue("/root/hidden/ihrqinfo/inhospflag")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/inhospresn" , model.getValue("/root/main/mngtpat/ihcsinfo/inhospresn"));
- model.setValue("/root/send/insihcs/reqdd", "-"); //, model.getValue("/root/hidden/ihrqinfo/reqdd")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/reqdeptcd", "-"); //, model.getValue("/root/hidden/ihrqinfo/reqdeptcd")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/reqdrid", "-"); //, model.getValue("/root/hidden/ihrqinfo/reqdrid")); // 진료의뢰(ihrq)에서 가져와야는데 현재 안쓰므로 '-'처리
- model.setValue("/root/send/insihcs/delivefact" , model.getValue("/root/main/mngtpat/ihcsinfo/delivefact"));
- model.setValue("/root/send/insihcs/prcsstatcd" , model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcd"));
- model.setValue("/root/send/insihcs/prcsstatcnts" , model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcnts"));
- model.setValue("/root/send/insihcs/endgrde" , model.getValue("/root/main/mngtpat/ihcsinfo/endgrde"));
- model.setValue("/root/send/insihcs/state" , iuFlag);
-
- model.setValue("/root/send/insihcs/chnghospresn" ,model.getValue("/root/main/mngtpat/ihcsinfo/chnghospresn"));
- model.setValue("/root/send/insihcs/endstatdd" ,model.getValue("/root/main/mngtpat/ihcsinfo/endstatdd"));
-
-
- submit("TXPMI00901");
-
- model.removeNodeset("/root/main/mngtpat/patreflist/grdpatreflist");
- btn_search.dispatch("DOMActivate");
-
-
- clearInpatInfo();
- clearIhcs();
- clearIhdc();
- } else {
- messageBox("환자정보가 조회되지 않았습니다!!", "C");
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_saveihdc" class="btn4_letter6" navindex="23" style="left:918px; top:5px; width:104px; height:22px; ">
- <caption>관리일지저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/insihdc");
- model.resetInstanceNode("/root/send/cond2");
- if (switch1.case1.attribute("selected") == "true") {
- model.setValue("/root/send/insihdc/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/uncopat/uncopatinfo/indd"));
- model.setValue("/root/send/insihdc/cretno", model.getValue("/root/main/uncopat/uncopatinfo/cretno"));
- model.setValue("/root/send/insihdc/cnstflag", "1");
- model.setValue("/root/send/insihdc/cnstdetlseqno", model.getValue("/root/main/ihdcinfo2/cnstdetlseqno"));
- model.setValue("/root/send/insihdc/workdd", model.getValue("/root/main/ihdcinfo2/workdd"));
- model.setValue("/root/send/insihdc/cnstspec", model.getValue("/root/main/ihdcinfo2/cnstspec"));
- model.setValue("/root/send/cond2/type", "1");
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncopat/uncopatinfo/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/uncopat/uncopatinfo/cretno"));
- }
- if (switch1.case2.attribute("selected") == "true") {
- model.setValue("/root/send/insihdc/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setValue("/root/send/insihdc/cretno", model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
- model.setValue("/root/send/insihdc/cnstflag", "2");
- model.setValue("/root/send/insihdc/cnstdetlseqno", model.getValue("/root/main/ihdcinfo2/cnstdetlseqno"));
- model.setValue("/root/send/insihdc/workdd", model.getValue("/root/main/ihdcinfo2/workdd"));
- model.setValue("/root/send/insihdc/cnstspec", model.getValue("/root/main/ihdcinfo2/cnstspec"));
- model.setValue("/root/send/cond2/type", "2");
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
- }
- submit("TXPMI00902");
-
- model.resetInstanceNode("/root/main/ihdcinfo2/workdd");
- model.resetInstanceNode("/root/main/ihdcinfo2/cnstspec");
- model.removeNodeset("/root/main/ihdcinfo/grdihdcinfo");
-
- submit("TRPMI00908"); /* 상담상세내역 조회 */
-
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_delihdc" class="btn4_letter6" navindex="24" style="left:1022px; top:5px; width:104px; height:22px; ">
- <caption>관리일지삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/insihdc");
- model.resetInstanceNode("/root/send/cond2");
-
- if (switch1.case1.attribute("selected") == "true") {
- model.setValue("/root/send/insihdc/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/uncopat/uncopatinfo/indd"));
- model.setValue("/root/send/insihdc/cretno", model.getValue("/root/main/uncopat/uncopatinfo/cretno"));
- model.setValue("/root/send/insihdc/cnstflag", "1");
- model.setValue("/root/send/insihdc/cnstdetlseqno", model.getValue("/root/main/ihdcinfo2/cnstdetlseqno"));
- model.setValue("/root/send/insihdc/workdd", model.getValue("/root/main/ihdcinfo2/workdd"));
- model.setValue("/root/send/insihdc/cnstspec", model.getValue("/root/main/ihdcinfo2/cnstspec"));
- model.setValue("/root/send/cond2/type", "1");
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncopat/uncopatinfo/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/uncopat/uncopatinfo/cretno"));
- }
- if (switch1.case2.attribute("selected") == "true") {
- model.setValue("/root/send/insihdc/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setValue("/root/send/insihdc/cretno", model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
- model.setValue("/root/send/insihdc/cnstflag", "2");
- model.setValue("/root/send/insihdc/cnstdetlseqno", model.getValue("/root/main/ihdcinfo2/cnstdetlseqno"));
- model.setValue("/root/send/insihdc/workdd", model.getValue("/root/main/ihdcinfo2/workdd"));
- model.setValue("/root/send/insihdc/cnstspec", model.getValue("/root/main/ihdcinfo2/cnstspec"));
- model.setValue("/root/send/cond2/type", "2");
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/mngtpat/ptbsinfo/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/mngtpat/ptbsinfo/cretno"));
- }
- submit("TXPMI00903");
-
- model.setValue("/root/main/ihdcinfo2/workdd", "");
- model.setValue("/root/main/ihdcinfo2/cnstspec", "");
- model.setValue("/root/main/ihdcinfo2/cnstdetlseqno", "");
- model.removeNodeset("/root/main/ihdcinfo/grdihdcinfo");
-
- submit("TRPMI00908");
-
- var currentdate = getCurrentDate();
- model.setValue("/root/main/ihdcinfo2/workdd", currentdate);
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter6" style="left:710px; top:5px; width:104px; height:22px; ">
- <caption>관리일지출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1. 재원환자관리에 등록된 환자인지 체크
- // 2. 츨력 데이터 생성
- // 3. 출력
-
- var sPid = model.getValue("/root/main/mngtpat/ptbsinfo/pid");
- var iCount = getNodesetCount("/root/main/mngtpat/patreflist/grdpatreflist");
- var bIsExisted = false;
-
- for (var idx = 1 ; idx <= iCount ; idx++) {
- var sGridPid = model.getValue("/root/main/mngtpat/patreflist/grdpatreflist[" + idx + "]/pid");
- if (sPid == sGridPid) {
- bIsExisted = true;
- break;
- }
- }
-
- if (bIsExisted == true) {
- // 출력을 위한 데이터 생성
- var sAcptdd = model.getValue("/root/main/mngtpat/ihcsinfo/acptdd");
- sAcptdd = sAcptdd.substring(0, 4) + "/" + sAcptdd.substring(4, 6) + "/"+ sAcptdd.substring(6, 8);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_acptdd", sAcptdd);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_hngnm", model.getValue("/root/main/mngtpat/ptbsinfo/hngnm"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_sexage", model.getValue("/root/main/mngtpat/ptbsinfo/sex") +"/"+model.getValue("/root/main/mngtpat/ptbsinfo/age"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_inhospdays", model.getValue("/root/main/mngtpat/ptbsinfo/fstindays"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_orddeptnm", model.getValue("/root/main/mngtpat/ptbsinfo/orddeptnm"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_medispclnm", model.getValue("/root/main/mngtpat/ptbsinfo/medispclnm"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_atdoctnm", model.getValue("/root/main/mngtpat/ptbsinfo/atdoctnm"));
- var sIndd = model.getValue("/root/main/mngtpat/ptbsinfo/indd");
- sIndd = sIndd.substring(0, 4) + "/" + sIndd.substring(4, 6) + "/"+ sIndd.substring(6, 8);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_indd", sIndd);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_diagnm", model.getValue("/root/main/mngtpat/inpatdiaginfo/inpatdiag"));
- var sDschdd = model.getValue("/root/main/mngtpat/ptbsinfo/dschdd");
- sDschdd = sDschdd.substring(0, 4) + "/" +sDschdd.substring(4, 6) + "/"+ sDschdd.substring(6, 8);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_dschdd", sDschdd);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_wardroomnm", model.getValue("/root/main/mngtpat/ptbsinfo/roomcd"));
- var sInpath = model.getValue("/root/main/mngtpat/ptbsinfo/inpath");
- var sInpathNm = model.getValue("/root/init/P0002list/P0002[cdid='" + sInpath + "']/cdnm");
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_inpath", sInpathNm);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_chngdept", model.getValue("/root/main/mngtpat/ptbsinfo/chngdept"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_reqresn", model.getValue("/root/main/mngtpat/ihcsinfo/reqresn"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_inhospresn", model.getValue("/root/main/mngtpat/ihcsinfo/inhospresn"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_reqpath", "");
- var sInsuKind = model.getValue("/root/main/mngtpat/ptbsinfo/insukind");
- var sInsuNm = model.getValue("/root/init/insukind[cd ='" + sInsuKind + "']/nm");
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_insukindnm", sInsuNm);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_cnstcnt", getNodesetCount("/root/main/ihdcinfo/grdihdcinfo"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_phone", model.getValue("/root/main/mngtpat/ptbsinfo/mpphontel"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_address", model.getValue("/root/main/mngtpat/ptbsinfo/zipcdaddr") +" "+ model.getValue("/root/main/mngtpat/ptbsinfo/detladdr"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_dschinhospdays", model.getValue("/root/main/mngtpat/ptbsinfo/indays"));
- //model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_prcsstat", model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcd") +" "+ model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcnts"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_prcsstat", rdo_prcsstatcd.label +" "+ model.getValue("/root/main/mngtpat/ihcsinfo/prcsstatcnts"));
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_delivefact", model.getValue("/root/main/mngtpat/ihcsinfo/delivefact"));
- //model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_logo", getLogoImageURL());
- // 20100310 병원별 로고설정 (common.js) - 시작
- var logoinstcd = getUserInfo("dutplceinstcd");
- var getinstcd = "MIS" + logoinstcd;
- var logourl = getLogoImageURL(getinstcd);
-
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_logo", logourl);
- model.setValue("/root/main/ihcs_print/rex_ihcs/ihcs_instcd", logoinstcd);
- // 20100310 병원별 로고설정 (common.js) - 끝
- copyNodesetType("/root/main/ihcs_print/rex_ihdc", "/root/main/ihdcinfo/grdihdcinfo", "replace");
-
- //exeReportPreview("RPPMI00901", "XMLSTR", "", "", "true", "", "", "", "", "", "", "grp_report");
- exeReportPreview("RPPMI00901", "XMLSTR", "" , "" , "false" , "", "", "", "", "false");
-
- model.removeNodeset("/root/main/capm_print/rex_cacm");
- } else {
- messageBox("재원환자관리에 등록된 환자만 출력할 수 있습니다.!!", "I");
- }
- ]]>
- </script>
- </button>
- <button id="button11" class="btn3_letter4" style="left:1px; top:5px; width:104px; height:22px; ">
- <caption>수진환자</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC00300");
- ]]>
- </script>
- </button>
- <button id="button12" class="btn3_letter4" style="left:81px; top:5px; width:80px; height:22px; ">
- <caption>특이환자</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/data5/srchcond", 1);
-
- // 재원미수
- if (switch1.case1.attribute("selected") == "true") {
- model.setValue("/root/send/data5/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- }
- // 재원환자
- if (switch1.case2.attribute("selected") == "true") {
- model.setValue("/root/send/data5/pid", model.getValue("/root/main/mngtpat/ptbsinfo/pid"));
- }
-
- modal("SMPMC01300", "1", "", "", "SMPMC01300", "/root/send/data5", "/root/source");
- ]]>
- </script>
- </button>
- <button id="button13" class="btn3_letter4" style="left:161px; top:5px; width:80px; height:22px; ">
- <caption>민원환자</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC00100");
- ]]>
- </script>
- </button>
- <button id="button36" class="btn3_letter7" style="left:241px; top:5px; width:116px; height:22px; ">
- <caption>진료비상세내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (switch1.case1.attribute("selected") == "true") {
- if (model.getValue("/root/main/uncopat/uncopatinfo/pid") == "" || model.getValue("/root/main/uncopat/uncopatinfo/pid") == null) {
- modal("../../../pam/inordamtmngtweb/xrw/SMPAI00200", "1","","", "SMPAI00200", "","");
- } else {
- modal("../../../pam/inordamtmngtweb/xrw/SMPAI00200", "1","","", "SMPAI00200", "/root/main/uncopat/uncopatinfo/pid","/root/send/pid");
- }
- }
- if (switch1.case2.attribute("selected") == "true") {
- if (model.getValue("/root/main/mngtpat/ptbsinfo/pid") == "" || model.getValue("/root/main/mngtpat/ptbsinfo/pid") == null) {
- modal("../../../pam/inordamtmngtweb/xrw/SMPAI00200", "1","","", "SMPAI00200", "","");
- } else {
- modal("../../../pam/inordamtmngtweb/xrw/SMPAI00200", "1","","", "SMPAI00200", "/root/main/mngtpat/ptbsinfo/pid","/root/send/pid");
- }
- }
- ]]>
- </script>
- </button>
- <line id="line36" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_saveIhgt" class="btn4_letter6" navindex="21" style="left:814px; top:5px; width:104px; height:22px; ">
- <caption>보증인저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert(model.getValue("/root/main/uncopat/ihgtinfo/state"));
-
- model.setValue("/root/send/insihgt/pid", model.getValue("/root/main/uncopat/uncopatinfo/pid"));
- model.setValue("/root/send/insihgt/indd", model.getValue("/root/main/uncopat/uncopatinfo/indd"));
- model.setValue("/root/send/insihgt/cretno", model.getValue("/root/main/uncopat/uncopatinfo/cretno"));
- model.setValue("/root/send/insihgt/grnternm", model.getValue("/root/main/uncopat/ihgtinfo/grnternm"));
- model.setValue("/root/send/insihgt/grntertel", model.getValue("/root/main/uncopat/ihgtinfo/grntertel"));
- model.setValue("/root/send/insihgt/realcd", model.getValue("/root/main/uncopat/ihgtinfo/realcd"));
- model.setValue("/root/send/insihgt/addr", model.getValue("/root/main/uncopat/ihgtinfo/addr"));
- model.setValue("/root/send/insihgt/grnternm1", model.getValue("/root/main/uncopat/ihgtinfo/grnternm1"));
- model.setValue("/root/send/insihgt/grntertel1", model.getValue("/root/main/uncopat/ihgtinfo/grntertel1"));
- model.setValue("/root/send/insihgt/real1", model.getValue("/root/main/uncopat/ihgtinfo/real1"));
- model.setValue("/root/send/insihgt/addr1", model.getValue("/root/main/uncopat/ihgtinfo/addr1"));
- model.setValue("/root/send/insihgt/grnternm2", model.getValue("/root/main/uncopat/ihgtinfo/grnternm2"));
- model.setValue("/root/send/insihgt/grntertel2", model.getValue("/root/main/uncopat/ihgtinfo/grntertel2"));
- model.setValue("/root/send/insihgt/real2", model.getValue("/root/main/uncopat/ihgtinfo/real2"));
- model.setValue("/root/send/insihgt/addr2", model.getValue("/root/main/uncopat/ihgtinfo/addr2"));
- model.setValue("/root/send/insihgt/state", model.getValue("/root/main/uncopat/ihgtinfo/state"));
-
- submit("TXPMI00904");
-
- // clearIhcs();
- // clearUnco();
- // clearIhdc();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter6" style="left:357px; top:5px; width:104px; height:22px; ">
- <caption>개인미수입금</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../pam/uncoamtmngtweb/xrw/SMPAM00100", "1","","", "SMPAM00100.xrw", "","");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|