12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>퇴원분석</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <dschanalyhist>
- <dschanalyinfo>
- <status/>
- <pid/>
- <hngnm/>
- <forgeryn/>
- <rrgstno1/>
- <rrgstno2/>
- <age/>
- <sexflag/>
- <btype/>
- <rh/>
- <dschdd/>
- <inrmdd/>
- <indd/>
- <totinhospdayno/>
- <opbfinhospdayno/>
- <indg/>
- <lastdschyy/>
- <relign/>
- <religncd/>
- <marystat/>
- <marystatcd/>
- <job/>
- <jobcd/>
- <jobnm/>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <detladdr/>
- <telno/>
- <mpphontel/>
- <indept/>
- <indeptcd/>
- <indrid/>
- <indrnm/>
- <inapprtcdrid/>
- <inapprtcdrnm/>
- <inwardcd/>
- <inwardnm/>
- <inroomcd/>
- <specordyn/>
- <insukindcd/>
- <insukind/>
- <dschdept/>
- <dschdeptcd/>
- <dschdrid/>
- <dschdrnm/>
- <dschapprtcdrid/>
- <dschapprtcdrnm/>
- <dschwardcd/>
- <dschwardnm/>
- <dschroomcd/>
- <clsdeptinfo/>
- <clsdeptinfocd/>
- <cptrgtyncd/>
- <cptrgtyn/>
- <curerslt/>
- <curersltcd/>
- <dschtype/>
- <dschtypecd/>
- <chosprog/>
- <chosprogcd/>
- <inpath/>
- <inpathcd/>
- <erchosdt/>
- <erstaytm/>
- <dethtype/>
- <dethtypecd/>
- <opdethtype/>
- <opdethtypecd/>
- <reinresn/>
- <reinresncd/>
- <reinyncd/>
- <reinyn/>
- <reopresn/>
- <reopresncd/>
- <wundcascls/>
- <wundcasclscd/>
- <infccas/>
- <infccascd/>
- <infcpart/>
- <infcpartcd/>
- <cncrrgstyncd/>
- <cncrrgstyn/>
- <infdisyncd/>
- <infdisyn/>
- <cmpl/>
- <cmplcd/>
- <spcscnt/>
- <spcnscnt/>
- <spctotcnt/>
- <gnrlanstcnt/>
- <prtanstcnt/>
- <tpclanstcnt/>
- <cretno/>
- <lastupdtrid/>
- <lastupdtrnm/>
- <lastupdtdt/>
- <disposstatcd/>
- <unprepstatcd/>
- <indxinfo/>
- <orgindd/>
- <orgdschdd/>
- </dschanalyinfo>
- <oplist>
- <seqno/>
- <opdd/>
- <opdeptcd/>
- <perfdrnm/>
- <anstmthdcd1/>
- <anstmthdcd2/>
- <anstmthdcd3/>
- <opreqflag/>
- <lastmainopyn/>
- <opscaleflag/>
- <opfromtm/>
- <optotm/>
- <edicd/>
- <opcd/>
- <pid/>
- <dschdd/>
- <perfdrid/>
- <dsopno/>
- <preanstmthdinfo/>
- </oplist>
- <chngdeptlist>
- <chngdeptdd/>
- <chngdeptcd/>
- <chngdeptdrnm/>
- <chngroomcd/>
- <chngdeptdayno/>
- <chngdeptmaindiagcd/>
- <chngdeptmaindiagnm/>
- <pid/>
- <dschdd/>
- <dscdno/>
- <chngdeptdrid/>
- </chngdeptlist>
- <iculist>
- <icucd/>
- <orddeptcd/>
- <inhospdayno/>
- <totinhospdayno/>
- <inrmdd/>
- <outrmdd/>
- <dethyn/>
- <reinyn/>
- <pid/>
- <dschdd/>
- <dsicuno/>
- </iculist>
- <cnstlist>
- <reqdeptcd/>
- <reqdrnm/>
- <reqdd/>
- <execdeptcd/>
- <execdrnm/>
- <execdd/>
- <diagcd/>
- <diagnm/>
- <pid/>
- <dschdd/>
- <dscnstno/>
- <reqdrid/>
- <execdrid/>
- </cnstlist>
- <wnmblist>
- <womntypecd/>
- <partrtnrsltcnt/>
- <partrtndd/>
- <stlborncnt/>
- <womnid/>
- <partrtneprccd/>
- <nbabyid/>
- <partrtnkindcd/>
- <prgweekcnt/>
- <prgdayno/>
- <brthtypecd/>
- <nbabybdwtqty/>
- <pid/>
- <dschdd/>
- <dswmno/>
- <dsnbno/>
- </wnmblist>
- <infdislist>
- <seqno/>
- <infdiscd/>
- <infdisnm/>
- <infdisflag/>
- <pid/>
- <dschdd/>
- <dsldno/>
- </infdislist>
- <indxlist>
- <status/>
- <pkicd/>
- <dsqino/>
- <pid/>
- <dschdd/>
- </indxlist>
- <icutotlist/>
- </dschanalyhist>
- <cond>
- <statcnts/>
- <addr/>
- <seqno/>
- </cond>
- </main>
- <hidden>
- </hidden>
- <send/>
- <init>
- <jobList>
- <M0149>
- <cdid/>
- <cdnm/>
- </M0149>
- </jobList>
- <relignList>
- <M0070>
- <cdid/>
- <cdnm/>
- </M0070>
- </relignList>
- <maryStatList>
- <M0151>
- <cdid/>
- <cdnm/>
- </M0151>
- </maryStatList>
- <inPathList>
- <M0153>
- <cdid/>
- <cdnm/>
- </M0153>
- </inPathList>
- <dethTypeList>
- <M0155>
- <cdid/>
- <cdnm/>
- </M0155>
- </dethTypeList>
- <opDethTypeList>
- <M0413>
- <cdid/>
- <cdnm/>
- </M0413>
- </opDethTypeList>
- <cureRsltList>
- <M0152>
- <cdid/>
- <cdnm/>
- </M0152>
- </cureRsltList>
- <DschTypeList>
- <M0157>
- <cdid/>
- <cdnm/>
- </M0157>
- </DschTypeList>
- <chosProgList>
- <M0156>
- <cdid/>
- <cdnm/>
- </M0156>
- </chosProgList>
- <reInResnList>
- <M0158>
- <cdid/>
- <cdnm/>
- </M0158>
- </reInResnList>
- <reOpResnList>
- <M0159>
- <cdid/>
- <cdnm/>
- </M0159>
- </reOpResnList>
- <partrtntypeList>
- <M0086>
- <cdid/>
- <cdnm/>
- </M0086>
- </partrtntypeList>
- <brthtypeList>
- <M0167>
- <cdid/>
- <cdnm/>
- </M0167>
- </brthtypeList>
- <womntypeList>
- <M0165>
- <cdid/>
- <cdnm/>
- </M0165>
- </womntypeList>
- <optypeList>
- <M0013>
- <cdid/>
- <cdnm/>
- </M0013>
- </optypeList>
- <mskindList>
- <P0006>
- <cdnm/>
- <cdid/>
- </P0006>
- </mskindList>
- <insukindList>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </insukindList>
- <infdisflaglist>
- <A0130>
- <cdnm/>
- <cdid/>
- </A0130>
- </infdisflaglist>
- <infccaselist>
- <M0484>
- <cdnm/>
- <cdid/>
- </M0484>
- </infccaselist>
- <infdcpartinfo>
- <infdcpartlist>
- <cdnm/>
- <cdid/>
- </infdcpartlist>
- </infdcpartinfo>
- <cmpllist>
- <M0414>
- <cdnm/>
- <cdid/>
- </M0414>
- </cmpllist>
- <wundcasclslist>
- <M0415>
- <cdnm/>
- <cdid/>
- </M0415>
- </wundcasclslist>
- <disposstatlist>
- <M0416>
- <cdnm/>
- <cdid/>
- </M0416>
- </disposstatlist>
- <unprepstatlist>
- <M0417>
- <cdnm/>
- <cdid/>
- </M0417>
- </unprepstatlist>
- <useynlist>
- <yn>
- <cd/>
- <nm/>
- </yn>
- <yn>
- <cd>01</cd>
- <nm>Y</nm>
- </yn>
- <yn>
- <cd>02</cd>
- <nm>N</nm>
- </yn>
- </useynlist>
- <anstmthdList>
- <anstmthd>
- <cdnm/>
- <cdid/>
- </anstmthd>
- <anstmthd>
- <cdnm>전신</cdnm>
- <cdid>G</cdid>
- </anstmthd>
- <anstmthd>
- <cdnm>부위</cdnm>
- <cdid>P</cdid>
- </anstmthd>
- <anstmthd>
- <cdnm>국소</cdnm>
- <cdid>S</cdid>
- </anstmthd>
- <anstmthd>
- <cdnm>기타</cdnm>
- <cdid>E</cdid>
- </anstmthd>
- </anstmthdList>
- <indeptlist/>
- <indrlist>
- <indr/>
- </indrlist>
- <inapprtcdrlist/>
- <dschdrlist/>
- <dschapprtcdrlist/>
- <wardlist/>
- <inroomlist/>
- <dschroomlist/>
- <cptrgtlist>
- <cptrgt>
- <cdid>Y</cdid>
- <cdnm>Y</cdnm>
- </cptrgt>
- <cptrgt>
- <cdid>N</cdid>
- <cdnm>N</cdnm>
- </cptrgt>
- <cptrgt>
- <cdid>D</cdid>
- <cdnm>DROP</cdnm>
- </cptrgt>
- </cptrgtlist>
- <icudeptlist>
- <icudept>
- <deptcd/>
- <deptnm/>
- </icudept>
- </icudeptlist>
- <indxlist>
- <indx>
- <indxcd>01</indxcd>
- <indxnm>수술전후진단불일치</indxnm>
- </indx>
- </indxlist>
- <dschdeptlist/>
- <deptlist/>
- <stndeptlist/>
- <checknum>
- <value>true</value>
- </checknum>
- </init>
- <temp>
- <patinfo>
- <dschddlist/>
- <patbaseinfo/>
- <chgdschddlist/>
- </patinfo>
- <dschanalyhist/>
- <userinfo>
- <userid/>
- <usernm/>
- <deptcd/>
- <instcd/>
- </userinfo>
- <initlist/>
- <wardinfo/>
- <stndeptlist/>
- </temp>
- <hidden>
- <infdcpartinfo>
- <infdcpartlist/>
- </infdcpartinfo>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
- <submission id="TRMRD00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMRD00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dschanalyhist"/>
- <submission id="TRMRD00403" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXMRD00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dschanalyhist"/>
- <submission id="TRMRD00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/initlist"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMRD00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/stndeptlist"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/dschanalyweb/js/SMMRD00400.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,752;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">퇴원분석</caption>
- <caption id="caption22" class="tit_2" style="left:5px; top:145px; width:104px; height:14px; ">퇴원분석정보</caption>
- <caption id="caption23" class="cell_1" style="left:219px; top:165px; width:90px; height:23px; vertical-align:middle; ">퇴원과</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:217px; width:90px; height:23px; vertical-align:middle; ">입원담당의</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:160px; x2:1194px; y2:160px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:240px; x2:1194px; y2:240px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:188px; x2:1194px; y2:188px; "/>
- <caption id="caption7" class="cell_1" style="left:219px; top:191px; width:90px; height:23px; vertical-align:middle; ">퇴원주치의</caption>
- <caption id="caption8" class="cell_1" style="left:219px; top:243px; width:90px; height:23px; vertical-align:middle; ">퇴원병동/병실</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:165px; width:90px; height:23px; vertical-align:middle; ">입원과</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:191px; width:90px; height:23px; vertical-align:middle; ">입원주치의</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:243px; width:90px; height:23px; vertical-align:middle; ">입원병동/병실</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:214px; x2:1194px; y2:214px; "/>
- <caption id="caption16" class="cell_1" style="left:442px; top:165px; width:95px; height:23px; vertical-align:middle; ">치료결과</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:266px; x2:1194px; y2:266px; "/>
- <caption id="caption17" class="cell_1" style="left:442px; top:243px; width:95px; height:23px; vertical-align:middle; ">입원경로</caption>
- <caption id="caption18" class="cell_1" style="left:687px; top:165px; width:100px; height:23px; vertical-align:middle; ">사망형태</caption>
- <input id="ipt_dschtype" ref="/root/main/dschanalyhist/dschanalyinfo/dschtype" class="input_search" navindex="50" style="left:541px; top:193px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sDschType =ipt_dschtype.currentText;
- if(sDschType == "") return;
- if(sDschType.length == 1){
- sDschType = "0"+ sDschType;
- }
- if(model.getValue("/root/init/DschTypeList/M0157[cdid='"+sDschType+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/dschtype",model.getValue(xDschAnalyListPath+"/dschtypecd"));
- ipt_dschtype.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/dschtypecd",sDschType);
- model.setValue(xDschAnalyListPath+"/dschtype",sDschType);
- cmb_dschtypecd.refresh();
- ipt_dschtype.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption19" class="cell_1" style="left:442px; top:217px; width:95px; height:23px; vertical-align:middle; ">내원경위</caption>
- <caption id="caption20" class="cell_1" style="left:442px; top:191px; width:95px; height:23px; vertical-align:middle; ">퇴원형태</caption>
- <caption id="caption24" class="cell_1" style="left:442px; top:294px; width:95px; height:23px; vertical-align:middle; ">ER체류시간</caption>
- <caption id="caption25" class="cell_1" style="left:687px; top:217px; width:100px; height:23px; vertical-align:middle; ">재입원(Unplan)</caption>
- <caption id="caption31" class="cell_1" style="left:687px; top:269px; width:100px; height:23px; vertical-align:middle; ">재수술(Unplan)</caption>
- <caption id="caption32" class="cell_1" style="left:687px; top:243px; width:100px; height:23px; vertical-align:middle; ">재입원(Plan)</caption>
- <caption id="caption34" class="cell_1" style="left:442px; top:269px; width:95px; height:23px; vertical-align:middle; ">ER내원일시</caption>
- <caption id="caption27" class="cell_1" style="left:219px; top:295px; width:90px; height:23px; vertical-align:middle; ">CP대상여부</caption>
- <caption id="caption21" class="cell_1" style="left:219px; top:217px; width:90px; height:23px; vertical-align:middle; ">퇴원담당의</caption>
- <caption id="caption39" class="cell_1" style="left:938px; top:294px; width:100px; height:23px; vertical-align:middle; ">생검(S/NS)</caption>
- <caption id="caption40" class="cell_1" style="left:937px; top:165px; width:100px; height:23px; vertical-align:middle; ">감염종류1</caption>
- <caption id="caption36" class="tit_2" style="left:5px; top:20px; width:82px; height:13px; ">환자정보</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:89px; x2:1194px; y2:89px; "/>
- <caption id="caption42" class="cell_1" style="left:0px; top:114px; width:58px; height:23px; vertical-align:middle; ">나이</caption>
- <caption id="caption44" class="cell_1" style="left:0px; top:90px; width:59px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption48" class="cell_1" style="left:0px; top:65px; width:60px; height:23px; vertical-align:middle; ">환자명</caption>
- <line id="line10" class="line_1" style="x1:0px; y1:35px; x2:1194px; y2:35px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:64px; x2:1194px; y2:64px; "/>
- <button id="btn_popupindex" class="btn3_letter8" navindex="105" style="left:861px; top:11px; width:128px; height:22px; ">
- <caption>질병 및 수술분류</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dschdd = model.getValue(xDschAnalyListPath+"/dschdd");
- if(dschdd == ""){
- messageBox("환자의 퇴원일자가 선택되지", "E007");
- return;
- }
- setParameter("SMMRD00400_pid", model.getValue(xDschAnalyListPath+"/pid"));
- setParameter("SMMRD00400_indd", model.getValue(xDschAnalyListPath+"/indd"));
- setParameter("SMMRD00400_cretno", model.getValue(xDschAnalyListPath+"/cretno"));
- setParameter("SMMRD00400_dschdd", model.getValue(xDschAnalyListPath+"/dschdd"));
- open("SMMRD00700");
- ]]>
- </script>
- </button>
- <button id="btn_x_save" class="btn4_letter2" navindex="108" style="left:1137px; top:11px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
-
- ]]>
- </script>
- </button>
- <button id="button24" class="btn3_letter3" navindex="104" style="left:793px; top:11px; width:68px; height:22px; ">
- <caption>암등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dschdd = model.getValue(xDschAnalyListPath+"/dschdd");
- if(dschdd == ""){
- messageBox("환자의 퇴원일자가 선택되지", "E007");
- return;
- }
- setParameter("SMMRD00100_pid", model.getValue(xDschAnalyListPath+"/pid"));
- setParameter("SMMRD00100_dschdd", model.getValue(xDschAnalyListPath+"/dschdd"));
- open("SMMRD00100");
- ]]>
- </script>
- </button>
- <button id="button14" class="btn3_letter4" navindex="106" style="left:989px; top:11px; width:80px; height:22px; ">
- <caption>미비관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sDschDD = model.getValue(xDschAnalyListPath+"/orgdschdd");
- if(sDschDD == ""){
- messageBox("환자의 퇴원일자가 선택되지", "E007");
-
- return;
- }
- setParameter("SMMRI01700_Param", "");
- var sPid = model.getValue(xDschAnalyListPath+"/pid");
- var sInDD = model.getValue(xDschAnalyListPath+"/indd");
- var sDschDeptCD = model.getValue(xDschAnalyListPath+"/dschdeptcd");
- var sDschDrID = model.getValue(xDschAnalyListPath+"/dschdrid");
- sParamMsg = "pid▦orddd▦dschdd▦orddeptcd▦orddrid▦ordtype▩"+
- sPid +"▦"+sInDD+"▦"+sDschDD+"▦"+sDschDeptCD+"▦"+sDschDrID+"▦I▩";
- setParameter("SMMRI01700_Param", sParamMsg);
- open("SMMRI01700");
- ]]>
- </script>
- </button>
- <caption id="caption51" class="cell_1" style="left:192px; top:65px; width:48px; height:23px; vertical-align:middle; ">외국인</caption>
- <caption id="caption47" class="cell_1" style="left:327px; top:65px; width:95px; height:23px; vertical-align:middle; ">입원일자</caption>
- <caption id="caption53" class="cell_1" style="left:327px; top:90px; width:95px; height:23px; vertical-align:middle; ">재원일수</caption>
- <caption id="caption33" class="cell_1" style="left:520px; top:114px; width:62px; height:23px; vertical-align:middle; ">직업</caption>
- <caption id="caption54" class="cell_1" visibility="hidden" style="left:192px; top:114px; width:47px; height:23px; vertical-align:middle; ">혈액형</caption>
- <input id="ipt_pid" ref="/root/main/dschanalyhist/dschanalyinfo/pid" class="input_search" navindex="1" style="left:63px; top:42px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- fPidKeyPress();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
-
- var indd = model.getValue("/root/main/indsch_info/indd");
- var dschdd = model.getValue("/root/main/indsch_info/dschdd");
-
- if (indd == "" || dschdd == "") {
- return;
- }
-
- var tmp = getDateInterval(indd, dschdd);
- model.setValue("/root/main/indsch_info/totinhospdayno", tmp);
- model.refresh();
-
- ]]>
- </script>
- </input>
- <caption id="caption43" class="cell_1" style="left:0px; top:40px; width:60px; height:23px; vertical-align:middle; ">등록번호</caption>
- <button id="button6" class="btn1_letter2" navindex="2" style="left:191px; top:40px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPidKeyPress();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_2" style="x1:0px; y1:114px; x2:1194px; y2:114px; "/>
- <caption id="caption52" class="cell_1" style="left:1023px; top:115px; width:61px; height:23px; vertical-align:middle; ">휴대전화</caption>
- <caption id="caption56" class="cell_1" style="left:699px; top:90px; width:62px; height:23px; vertical-align:middle; ">결혼상태</caption>
- <caption id="caption58" class="cell_1" style="left:876px; top:40px; width:60px; height:23px; vertical-align:middle; ">우편번호</caption>
- <caption id="caption59" class="cell_1" style="left:876px; top:115px; width:61px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption60" class="cell_1" style="left:520px; top:90px; width:62px; height:23px; vertical-align:middle; ">종교</caption>
- <caption id="caption1" class="cell_1" style="left:327px; top:40px; width:95px; height:23px; vertical-align:middle; ">퇴원일자</caption>
- <caption id="caption2" class="cell_1" style="left:102px; top:114px; width:38px; height:23px; vertical-align:middle; ">성별</caption>
- <caption id="caption15" class="cell_1" style="left:219px; top:269px; width:90px; height:23px; vertical-align:middle; ">분과정보</caption>
- <caption id="caption28" class="cell_1" style="left:0px; top:295px; width:90px; height:23px; vertical-align:middle; ">보험유형</caption>
- <select1 id="combo6" ref="/root/main/dschanalyhist/dschanalyinfo/specordyn" class="combo_search" navindex="34" appearance="minimal" style="left:93px; top:270px; width:123px; height:19px; ">
- <choices>
- <item>
- <label>특진</label>
- <value>Y</value>
- </item>
- <item>
- <label>일반</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption29" class="cell_1" style="left:0px; top:269px; width:90px; height:23px; vertical-align:middle; ">선택진료</caption>
- <caption id="caption9" class="tit_2" style="left:5px; top:326px; width:82px; height:14px; ">수술정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:340px; x2:730px; y2:340px; "/>
- <datagrid id="grd_oplist" nodeset="/root/main/dschanalyhist/oplist" caption="순번^수술일자^수술과약어^수술과^perfdeptcd^집도의^마취방법1^마취방법2^마취방법3^정규/응급^최종주수술여부^수술구분(대/중/소)^수술시작시간^수술끝시간^수술코드^pid^dschdd^집도의ID^dsopno^이전마취방법" colsep="^" colwidth="40, 100, 75, 73, 75, 90, 72, 77, 83, 70, 101, 119, 80, 80, 135, 150, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:0px; top:345px; width:730px; height:108px; ">
- <col ref="seqno" type="input"/>
- <col ref="opdd" type="inputdate"/>
- <col imemode="alpha" ref="opdeptengabbr" type="input"/>
- <col editmode="input" ref="opdepthngnm" type="output"/>
- <col editmode="input" ref="perfdeptcd" type="output" visibility="hidden"/>
- <col imemode="hangul" ref="perfdrnm" type="input"/>
- <col ref="anstmthdcd1" type="combo">
- <choices>
- <itemset nodeset="/root/init/anstmthdList/anstmthd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="anstmthdcd2" type="combo">
- <choices>
- <itemset nodeset="/root/init/anstmthdList/anstmthd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="anstmthdcd3" type="combo">
- <choices>
- <itemset nodeset="/root/init/anstmthdList/anstmthd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="opreqflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/optypeList/M0013">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="lastmainopyn" type="checkbox"/>
- <col ref="opscaleflag" type="combo">
- <choices>
- <item>
- <label>특대</label>
- <value>X</value>
- </item>
- <item>
- <label>대</label>
- <value>L</value>
- </item>
- <item>
- <label>중</label>
- <value>M</value>
- </item>
- <item>
- <label>소</label>
- <value>S</value>
- </item>
- </choices>
- </col>
- <col ref="opfromtm" type="input" format="hh:nn"/>
- <col ref="optotm" type="input" format="hh:nn"/>
- <col ref="opcd" type="input" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="perfdrid" visibility="hidden"/>
- <col ref="dsopno" visibility="hidden" style="left:1435px; top:23px; width:100px; height:23px; "/>
- <col ref="preanstmthdinfo" type="input"/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var iCol = grd_oplist.col;
- var iRow = grd_oplist.row;
- var sDsopNo = "";
- if(iCol == 6){
- var sRtnMsg = fPopUpUserInfo("grd_oplist", 6, 18);
- var iStatus = grd_oplist.rowStatus(iRow);
- sDsopNo = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/dsopno");
- if(sRtnMsg == false && iStatus == 2){
- model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/perfdrnm", model.getValue("/root/temp/dschanalyhist/oplist[dsopno ='"+sDsopNo+"']/perfdrnm"));
- model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/perfdrid", model.getValue("/root/temp/dschanalyhist/oplist[dsopno ='"+sDsopNo+"']/perfdrid"));
- }
- if(iStatus == 2){
- if(instance1.selectSingleNode("/root/main/dschanalyhist/oplist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/oplist[dsopno ='"+sDsopNo+"']").xml ){
- grd_oplist.rowStatus(iRow) = 0;
- }
- }
- }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_oplist.row;
- var iCol = grd_oplist.col;
- var iStatus = grd_oplist.rowStatus(iRow);
- var sDsopNo = "";
- if(iCol != 6 && iStatus == 2){
- sDsopNo = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/dsopno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/oplist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/oplist[dsopno='"+sDsopNo+"']").xml){
- grd_oplist.rowStatus(iRow) = 0;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- var iRow = grd_oplist.row - grd_oplist.fixedRows + 1;
- var opdd = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdd");
- var opdeptengabbr = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdeptengabbr");
- if(grd_oplist.col=3){
- if(opdeptengabbr==""){
- return;
- }
- if(opdd==""){
- messageBox("수술일자를 먼저","C001");
- return;
- }
- if(event.keyCode == 13){
- var iRow = grd_oplist.row - grd_oplist.fixedRows + 1;
- var opdeptengabbr = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdeptengabbr");
- var opdd = model.getValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdd");
- model.makeValue("root/send/stnddd",opdd);
- model.makeValue("root/send/deptengabbr",opdeptengabbr);
- if(submit("TRMRD00405")){
- model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdepthngnm",model.getValue("/root/temp/stndeptlist/stndept/depthngnm"));
- model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/perfdeptcd",model.getValue("/root/temp/stndeptlist/stndept/deptcd"));
- model.setValue("/root/main/dschanalyhist/oplist["+iRow+"]/opdeptengabbr",model.getValue("/root/temp/stndeptlist/stndept/deptengabbr"));
- }
- model.removenodeset("/root/send");
- }
- }
- grd_oplist.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_delrow1" class="btn2_letter3" navindex="89" style="left:673px; top:320px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelGridRow("grd_oplist");
- ]]>
- </script>
- </button>
- <button id="btn_addrow1" class="btn2_letter3" navindex="88" style="left:617px; top:320px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddGridRow("grd_oplist");
- ]]>
- </script>
- </button>
- <datagrid id="grd_chngdeptlist" nodeset="/root/main/dschanalyhist/chngdeptlist" caption="전출일자^전출과약어^전출과^chngdeptcd^주치의^전출병실^재원일수^주진단코드^주진단^PID^DSCHDD^dscdno^chngdeptdrid" colsep="^" colwidth="86, 69, 81, 66, 70, 90, 80, 100, 300, 100, 100, 100, 100" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:732px; top:345px; width:459px; height:108px; ">
- <col ref="chngdeptdd" type="inputdate"/>
- <col imemode="alpha" ref="chngdeptengabbr" type="input"/>
- <col editmode="input" ref="chngdepthngnm" type="output"/>
- <col editmode="input" ref="chngdeptcd" type="output" visibility="hidden"/>
- <col imemode="hangul" ref="chngdeptdrnm" type="input"/>
- <col ref="chngroomcd" type="input"/>
- <col ref="chngdeptdayno" type="input" format="####" style="text-align:right; "/>
- <col ref="chngdeptmaindiagcd" type="input"/>
- <col ref="chngdeptmaindiagnm"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="dscdno" visibility="hidden"/>
- <col ref="chngdeptdrid" visibility="hidden"/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var iCol = grd_chngdeptlist.col;
- var iRow = grd_chngdeptlist.row;
- var iStatus = 0;
- if(iCol == 5){
- var sRtnMsg = fPopUpUserInfo("grd_chngdeptlist", 5, 13);
- iStatus = grd_chngdeptlist.rowStatus(iRow);
- sDscdNo = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/dscdno");
- if(sRtnMsg == false && iStatus == 2){
- model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptdrnm", model.getValue("/root/temp/dschanalyhist/chngdeptlist[dscdno ='"+sDscdNo+"']/chngdeptdrnm"));
- model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptdrid", model.getValue("/root/temp/dschanalyhist/chngdeptlist[dscdno ='"+sDscdNo+"']/chngdeptdrid"));
- }
- if(iStatus == 2){
- if(instance1.selectSingleNode("/root/main/dschanalyhist/chngdeptlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/chngdeptlist[dscdno ='"+sDscdNo+"']").xml ){
- grd_chngdeptlist.rowStatus(iRow) = 0;
- }
- }
-
- }else if(iCol == 8){
- fPopUpDiag("grd_chngdeptlist", 8, 9);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_chngdeptlist.row;
- var iCol = grd_chngdeptlist.col;
- var iStatus = grd_chngdeptlist.rowStatus(iRow);
- var sDscdNo = "";
- if(iCol != 5 && iStatus == 2){
- sDscdNo = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/dscdno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/chngdeptlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/chngdeptlist[dscdno='"+sDscdNo+"']").xml){
- grd_chngdeptlist.rowStatus(iRow) = 0;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- /* var iRow = grd_chngdeptlist.row;
- var iCol = grd_chngdeptlist.col;
- var iStatus = grd_chngdeptlist.rowStatus(iRow);
- var sDscdNo = "";
- if(iCol == 2){
- var sDeptCd = grd_chngdeptlist.valueMatrix(iRow, iCol);
- if(model.getValue("/root/init/deptlist/dept[deptcd='"+sDeptCd+"']/deptcd") == ""){
- grd_chngdeptlist.valueMatrix(iRow, iCol) = "";
- }
- }
- if(iCol == 2 && iStatus == 2){
- sDscdNo = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/dscdno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/chngdeptlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/chngdeptlist[dscdno='"+sDscdNo+"']").xml){
- grd_chngdeptlist.rowStatus(iRow) = 0;
- }
- }*/
- var iRow = grd_chngdeptlist.row - grd_chngdeptlist.fixedRows + 1;
- var chngdeptdd = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptdd");
- var chngdeptengabbr = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptengabbr");
- if(grd_chngdeptlist.col==2){
- if(chngdeptengabbr==""){
- return;
- }
- if(chngdeptdd==""){
- messageBox("전출일자를 먼저","C001");
- return;
- }
- if(event.keyCode == 13){
- var iRow = grd_chngdeptlist.row - grd_chngdeptlist.fixedRows + 1;
- var chngdeptengabbr = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptengabbr");
- var chngdeptdd = model.getValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptdd");
- model.makeValue("root/send/stnddd",chngdeptdd);
- model.makeValue("root/send/deptengabbr",chngdeptengabbr);
- if(submit("TRMRD00405")){
- model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdepthngnm",model.getValue("/root/temp/stndeptlist/stndept/depthngnm"));
- model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptcd",model.getValue("/root/temp/stndeptlist/stndept/deptcd"));
- model.setValue("/root/main/dschanalyhist/chngdeptlist["+iRow+"]/chngdeptengabbr",model.getValue("/root/temp/stndeptlist/stndept/deptengabbr"));
- }
- model.removenodeset("/root/send");
- }
- }
- grd_chngdeptlist.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line6" class="line_1" style="x1:732px; y1:340px; x2:1191px; y2:340px; "/>
- <caption id="caption11" class="tit_2" style="left:735px; top:326px; width:82px; height:13px; ">전과정보</caption>
- <button id="btn_delrow4" class="btn2_letter3" navindex="91" style="left:1135px; top:320px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelGridRow("grd_chngdeptlist");
- ]]>
- </script>
- </button>
- <button id="btn_addrow4" class="btn2_letter3" navindex="90" style="left:1079px; top:320px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddGridRow("grd_chngdeptlist");
- ]]>
- </script>
- </button>
- <datagrid id="grd_cnstlist" nodeset="/root/main/dschanalyhist/cnstlist" caption="의뢰과약어^의뢰과^reqdeptcd^의뢰과의사^의뢰일^시행과약어^시행과^execdeptcd^시행과의사^시행일(시작일)^진단코드^진단명^PID^DSCHDD^dscnstno^reqdrid^execdrid" colsep="^" colwidth="77, 96, 75, 91, 85, 67, 91, 65, 76, 86, 100, 300, 100, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:483px; width:730px; height:127px; ">
- <col imemode="alpha" ref="reqdeptengabbr" type="input"/>
- <col editmode="input" ref="reqdepthngnm" type="output"/>
- <col editmode="input" ref="reqdeptcd" type="output" visibility="hidden"/>
- <col imemode="hangul" ref="reqdrnm" type="input"/>
- <col ref="reqdd" type="inputdate"/>
- <col editmode="input" imemode="alpha" ref="execdeptengabbr" type="input"/>
- <col editmode="input" ref="execdepthngnm" type="output"/>
- <col editmode="input" ref="execdeptcd" type="output" visibility="hidden"/>
- <col imemode="hangul" ref="execdrnm" type="input"/>
- <col ref="execdd" type="inputdate"/>
- <col ref="diagcd" type="input" visibility="hidden"/>
- <col ref="diagnm" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="dscnstno" visibility="hidden"/>
- <col ref="reqdrid" visibility="hidden"/>
- <col ref="execdrid" visibility="hidden"/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var iCol = grd_cnstlist.col;
- var iRow = grd_cnstlist.row;
- var iStatus = 0;
- var sRtnMsg = false;
- sDscnstNo = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/dscnstno");
- if(iCol == 11){
- fPopUpDiag("grd_cnstlist", 11, 12);
- }else if(iCol == 4){
- sRtnMsg = fPopUpUserInfo("grd_cnstlist", 4, 16);
- iStatus = grd_cnstlist.rowStatus(iRow);
- if(sRtnMsg == false && iStatus == 2){
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdrnm", model.getValue("/root/temp/dschanalyhist/cnstlist[dsopno ='"+sDscnstNo+"']/reqdrnm"));
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdrid", model.getValue("/root/temp/dschanalyhist/cnstlist[dsopno ='"+sDscnstNo+"']/reqdrid"));
- }
- }else if(iCol == 9){
- sRtnMsg = fPopUpUserInfo("grd_cnstlist", 9, 17);
- iStatus = grd_cnstlist.rowStatus(iRow);
- if(sRtnMsg == false && iStatus == 2){
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdrnm", model.getValue("/root/temp/dschanalyhist/cnstlist[dsopno ='"+sDscnstNo+"']/execdrnm"));
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdrid", model.getValue("/root/temp/dschanalyhist/cnstlist[dsopno ='"+sDscnstNo+"']/execdrid"));
- }
- }
- iStatus = grd_cnstlist.rowStatus(iRow);
- if(iStatus == 2){
- if(instance1.selectSingleNode("/root/main/dschanalyhist/cnstlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/cnstlist[dscnstno ='"+sDscnstNo+"']").xml ){
- grd_cnstlist.rowStatus(iRow) = 0;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_cnstlist.row;
- var iCol = grd_cnstlist.col;
- var iStatus = grd_cnstlist.rowStatus(iRow);
- var sDsopNo = "";
- if(iCol != 4 && iCol != 6 && iCol != 9 && iStatus == 2){
- sDscnstNo = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/dscnstno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/cnstlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/cnstlist[dscnstno='"+sDscnstNo+"']").xml){
- grd_cnstlist.rowStatus(iRow) = 0;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- /*var iRow = grd_cnstlist.row;
- var iCol = grd_cnstlist.col;
- var iStatus = grd_cnstlist.rowStatus(iRow);
- var sDsopNo = "";
- if(iCol == 1 || iCol == 4){
- var sDeptCd = grd_cnstlist.valueMatrix(iRow, iCol);
- if(model.getValue("/root/init/deptlist/dept[deptcd='"+sDeptCd+"']/deptcd") == ""){
- grd_cnstlist.valueMatrix(iRow, iCol) = "";
- }
- }
- if((iCol == 1 || iCol == 4 ) && iStatus == 2){
- sDscnstNo = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/dscnstno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/cnstlist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/cnstlist[dscnstno='"+sDscnstNo+"']").xml){
- grd_cnstlist.rowStatus(iRow) = 0;
- }
- } */
- var iRow = grd_cnstlist.row - grd_cnstlist.fixedRows + 1;
- var reqdd = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdd");
- var execdd = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdd");
- var reqdeptengabbr = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdeptengabbr");
- var execdeptengabbr = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdeptengabbr");
- if(grd_cnstlist.col==1){
- if(reqdeptengabbr==""){
- return;
- }
- if(reqdd==""){
- messageBox("의뢰일자를 먼저","C001");
- return;
- }
- if(event.keyCode == 13){
- var iRow = grd_cnstlist.row - grd_cnstlist.fixedRows + 1;
- var reqdeptengabbr = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdeptengabbr");
- var reqdd = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdd");
- model.makeValue("root/send/stnddd",reqdd);
- model.makeValue("root/send/deptengabbr",reqdeptengabbr);
- if(submit("TRMRD00405")){
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdepthngnm",model.getValue("/root/temp/stndeptlist/stndept/depthngnm"));
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdeptcd",model.getValue("/root/temp/stndeptlist/stndept/deptcd"));
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/reqdeptengabbr",model.getValue("/root/temp/stndeptlist/stndept/deptengabbr"));
- }
- model.removenodeset("/root/send");
- }
- } else if(grd_cnstlist.col==6){
- if(execdeptengabbr==""){
- return;;
- }
- if(execdd==""){
- messageBox("시행일자를 먼저","C001");
- return;
- }
- if(event.keyCode == 13){
- var iRow = grd_cnstlist.row - grd_cnstlist.fixedRows + 1;
- var execdeptengabbr = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdeptengabbr");
- var execdd = model.getValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdd");
- model.makeValue("root/send/stnddd",execdd);
- model.makeValue("root/send/deptengabbr",execdeptengabbr);
- if(submit("TRMRD00405")){
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdepthngnm",model.getValue("/root/temp/stndeptlist/stndept/depthngnm"));
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdeptcd",model.getValue("/root/temp/stndeptlist/stndept/deptcd"));
- model.setValue("/root/main/dschanalyhist/cnstlist["+iRow+"]/execdeptengabbr",model.getValue("/root/temp/stndeptlist/stndept/deptengabbr"));
- }
- model.removenodeset("/root/send");
- }
- }
- grd_oplist.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line11" class="line_1" style="x1:0px; y1:477px; x2:730px; y2:477px; "/>
- <caption id="caption30" class="tit_2" style="left:5px; top:462px; width:82px; height:14px; ">협의정보</caption>
- <button id="btn_delrow5" class="btn2_letter3" navindex="93" style="left:673px; top:456px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelGridRow("grd_cnstlist");
- ]]>
- </script>
- </button>
- <button id="btn_addrow5" class="btn2_letter3" navindex="92" style="left:617px; top:456px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddGridRow("grd_cnstlist");
- ]]>
- </script>
- </button>
- <line id="line15" class="line_1" style="x1:0px; y1:635px; x2:730px; y2:635px; "/>
- <caption id="caption37" class="tit_2" style="left:5px; top:620px; width:125px; height:14px; ">산모 / 신생아정보</caption>
- <datagrid id="grd_wnmblist" nodeset="/root/main/dschanalyhist/wnmblist" caption="산모^산모^산모^산모^산모^산모^신생아^신생아^신생아^신생아^신생아^신생아^신생아^산모^산모^신생아|산모형태^분만결과(신생아수)^분만일자^사산아수^애기번호^분만경험^산모번호^분만형태^임신주수^임신일수^출생형태^체중(g)^등록번호^DSCHDD^dswmno^dsnbno" colsep="^" colwidth="72, 120, 94, 67, 83, 80, 86, 70, 56, 52, 135, 73, 78, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="free" style="left:0px; top:640px; width:730px; height:120px; ">
- <col ref="womntypecd" type="combo">
- <choices>
- <itemset nodeset="/root/init/womntypeList/M0165">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="partrtnrsltcnt" type="input" format="####"/>
- <col ref="partrtndd" type="inputdate"/>
- <col ref="stlborncnt" type="input" format="####" style="text-align:right; "/>
- <col ref="nbabyid" type="input"/>
- <col ref="partrtneprccd" type="combo">
- <choices>
- <item>
- <label>초산</label>
- <value>01</value>
- </item>
- <item>
- <label>경산</label>
- <value>02</value>
- </item>
- </choices>
- </col>
- <col ref="womnid" type="input"/>
- <col itemcount="10" ref="partrtnkindcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/partrtntypeList/M0086">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prgweekcnt" type="input" style="text-align:right; "/>
- <col ref="prgdayno" type="input" format="####" style="text-align:right; "/>
- <col ref="brthtypecd" type="combo">
- <choices>
- <itemset nodeset="/root/init/brthtypeList/M0167">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="nbabybdwtqty" type="input" style="text-align:right; "/>
- <col ref="pid" type="output" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="dswmno" visibility="hidden"/>
- <col ref="dsnbno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var iStndRow = grd_wnmblist.row-grd_wnmblist.fixedRows+1;
- var iCol = grd_wnmblist.col;
- var iStatus = grd_wnmblist.rowStatus( grd_wnmblist.row);
- var sDswmNo = "";
- var sDsnbNo = "";
-
- if(iCol == 1){
- var womntypecd = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/womntypecd");
- for(var iRow = 1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
- if(iStndRow != iRow){
- model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/womntypecd", womntypecd);
- }
- }
- }else if(iCol == 2){
- var partrtnrsltcnt = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/partrtnrsltcnt");
- for(var iRow = 1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
- if(iStndRow != iRow){
- model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/partrtnrsltcnt", partrtnrsltcnt);
- }
- }
- }else if(iCol == 3){
- var partrtndd = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/partrtndd");
- for(var iRow = 1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
- if(iStndRow != iRow){
- model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/partrtndd", partrtndd);
- }
- }
- }else if(iCol == 4){
- var stlborncnt = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/stlborncnt");
- for(var iRow =1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
- if(iStndRow != iRow){
- model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/stlborncnt", stlborncnt);
- }
- }
- }else if(iCol == 5){
- var womnid = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/womnid");
- for(var iRow = 1; iRow<= grd_wnmblist.rows-grd_wnmblist.fixedRows; iRow++){
- if(iStndRow != iRow){
- model.setValue("/root/main/dschanalyhist/wnmblist["+iRow+"]/womnid", womnid);
- }
- }
- }
-
- if(iStatus == 2){
- sDswmNo = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/dswmno");
- sDsnbNo = model.getValue("/root/main/dschanalyhist/wnmblist["+iStndRow+"]/dsnbno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/wnmblist["+iStndRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/wnmblist[dswmno='"+sDswmNo+"' and dsnbno='"+sDsnbNo+"']").xml){
- grd_wnmblist.rowStatus( grd_wnmblist.row) = 0;
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_delrow7" class="btn2_letter3" navindex="97" style="left:673px; top:614px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelGridRow("grd_wnmblist");
- ]]>
- </script>
- </button>
- <button id="btn_addrow7" class="btn2_letter3" navindex="96" style="left:617px; top:614px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddGridRow("grd_wnmblist");
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:736px; top:640px; width:459px; height:125px; ">
- <case id="indx" style="left:0px; top:0px; width:462px; height:125px; ">
- <select id="chk_indxlist" ref="/root/main/dschanalyhist/dschanalyinfo/indxinfo" overflow="visible" appearance="full" rows="4" style="left:10px; top:35px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/indxlist/indx">
- <label ref="indxnm"/>
- <value ref="indxcd"/>
- </itemset>
- </choices>
- </select>
- <line id="line19" class="line_1" style="x1:0px; y1:24px; x2:455px; y2:24px; "/>
- <caption id="caption66" class="tit_2" style="left:0px; top:8px; width:82px; height:14px; ">지표관리</caption>
- </case>
- <case id="infdis" selected="true" style="left:0px; top:0px; width:457px; height:143px; ">
- <datagrid id="grd_infdislist" nodeset="/root/main/dschanalyhist/infdislist" caption="순번^infdiscd^주상병코드^상병명칭^법정전염병 구분^비고^pid^dschdd^dsldno" colsep="^" colwidth="40, 58, 85, 163, 110, 135, 100, 100, 100" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:0px; top:25px; width:456px; height:93px; ">
- <col ref="seqno"/>
- <col ref="infdiscd" visibility="hidden"/>
- <col ref="dispinfdiscd" type="input"/>
- <col ref="infdisnm" type="output"/>
- <col ref="infdisflag" type="combo">
- <choices>
- <item>
- <label>1군</label>
- <value>01</value>
- </item>
- <item>
- <label>2군</label>
- <value>02</value>
- </item>
- <item>
- <label>3군</label>
- <value>03</value>
- </item>
- <item>
- <label>4군</label>
- <value>04</value>
- </item>
- <item>
- <label>지정군</label>
- <value>05</value>
- </item>
- </choices>
- </col>
- <col ref="rem" type="input"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="dsldno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_infdislist.row;
- var iCol = grd_infdislist.col;
- var iStatus = grd_infdislist.rowStatus(iRow);
- var sDsldNo = "";
- if(iCol != 5 && iStatus == 2){
- sDsldNo = model.getValue("/root/main/dschanalyhist/infdislist["+iRow+"]/dsldno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/infdislist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/infdislist[dsldno='"+sDsldNo+"']").xml){
- grd_infdislist.rowStatus(iRow) = 0;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var iCol = grd_infdislist.col;
- var iRow = grd_infdislist.row;
- if(iCol == 2){
- fPopUpDiag("grd_infdislist", 2, 3);
- var dispinfdiscd = model.getValue("/root/main/dschanalyhist/infdislist["+iRow+"]/dispinfdiscd");
- model.setValue("/root/main/dschanalyhist/infdislist["+iRow+"]/infdiscd",dispinfdiscd+".00");
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_addinfdis" class="btn2_letter3" navindex="98" style="left:345px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddGridRow("grd_infdislist");
- ]]>
- </script>
- </button>
- <button id="btn_delinfdis" class="btn2_letter3" navindex="99" style="left:401px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelGridRow("grd_infdislist");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="button3" class="btn3_letter6" navindex="102" style="left:502px; top:11px; width:104px; height:22px; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var orgdschdd = model.getValue(xDschAnalyListPath+"/orgdschdd");
- if(orgdschdd == ""){
- messageBox("환자의 퇴원일자가 선택되지", "E007");
- return;
- }
- setParameter("SMMRI00400_param_pid", model.getValue(xDschAnalyListPath+"/pid"));
- setParameter("SMMRI00400_param_chosflag", "I");
- open("SMMRI00400");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter4" navindex="103" style="left:713px; top:11px; width:80px; height:22px; ">
- <caption>사망분석</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dschdd = model.getValue(xDschAnalyListPath+"/dschdd");
- if(dschdd == ""){
- messageBox("환자의 퇴원일자가 선택되지", "E007");
- return;
- }
- setParameter("SMMRD00500_pid", model.getValue(xDschAnalyListPath+"/pid"));
- open("SMMRD00500");
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:235px; top:761px; width:90px; height:20px; font-weight:bold; ">* 퇴원분석자 :</caption>
- <caption id="caption4" style="left:0px; top:761px; width:105px; height:20px; font-weight:bold; ">* 퇴원분석일시 :</caption>
- <input id="input25" ref="/root/main/dschanalyhist/dschanalyinfo/addr" class="input_search" navindex="26" style="left:937px; top:67px; width:256px; height:19px; "/>
- <select1 id="cmb_dschdd" ref="/root/main/dschanalyhist/dschanalyinfo/dschdd" class="combo_search" navindex="11" appearance="minimal" editmode="input" itemcount="10" style="left:424px; top:42px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/patinfo/chgdschddlist">
- <label ref="dschddnm"/>
- <value ref="dschdd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(event.keyCode == 13) return;
- fGetDschAnalyInfo();
- ]]>
- </script>
- </select1>
- <input id="ipt_hngnm" ref="/root/main/dschanalyhist/dschanalyinfo/hngnm" class="input_search" disabled="true" navindex="3" style="left:63px; top:67px; width:126px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
-
- var indd = model.getValue("/root/main/indsch_info/indd");
- var dschdd = model.getValue("/root/main/indsch_info/dschdd");
-
- if (indd == "" || dschdd == "") {
- return;
- }
-
- var tmp = getDateInterval(indd, dschdd);
- model.setValue("/root/main/indsch_info/totinhospdayno", tmp);
- model.refresh();
-
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno1" ref="/root/main/dschanalyhist/dschanalyinfo/rrgstno1" class="input_search" disabled="true" navindex="5" style="left:62px; top:92px; width:126px; height:19px; "/>
- <input id="ipt_rrgstno2" ref="/root/main/dschanalyhist/dschanalyinfo/rrgstno2" class="input_search" disabled="true" navindex="6" style="left:190px; top:92px; width:135px; height:19px; "/>
- <input id="ipt_age" ref="/root/main/dschanalyhist/dschanalyinfo/age" class="input_search" navindex="7" style="left:61px; top:116px; width:39px; height:19px; "/>
- <select1 id="cmb_age" ref="/root/main/dschanalyhist/dschanalyinfo/sexflag" class="combo_search" navindex="8" appearance="minimal" style="left:143px; top:117px; width:46px; height:19px; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_btype" ref="/root/main/dschanalyhist/dschanalyinfo/btype" class="combo_search" navindex="9" visibility="hidden" appearance="minimal" style="left:242px; top:117px; width:43px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>A</label>
- <value>A</value>
- </item>
- <item>
- <label>B</label>
- <value>B</value>
- </item>
- <item>
- <label>O</label>
- <value>O</value>
- </item>
- <item>
- <label>AB</label>
- <value>AB</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_rh" ref="/root/main/dschanalyhist/dschanalyinfo/rh" class="combo_search" navindex="10" visibility="hidden" appearance="minimal" style="left:287px; top:117px; width:38px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>+</label>
- <value>+</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_forgeryn" ref="/root/main/dschanalyhist/dschanalyinfo/forgeryn" class="combo_search" navindex="4" appearance="minimal" style="left:242px; top:67px; width:82px; height:19px; ">
- <choices>
- <item>
- <label>내국인</label>
- <value>N</value>
- </item>
- <item>
- <label>외국인</label>
- <value>Y</value>
- </item>
- <item>
- <label>불명</label>
- <value>X</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //EventTabKeyToReturn(event.keyCode);
- ]]>
- </script>
- </select1>
- <input id="ipt_telno" ref="/root/main/dschanalyhist/dschanalyinfo/telno" class="input_search" navindex="27" style="left:937px; top:117px; width:85px; height:19px; "/>
- <select1 id="cmb_religncd" ref="/root/main/dschanalyhist/dschanalyinfo/religncd" class="combo_search" navindex="17" appearance="minimal" showvalue="true" style="left:615px; top:92px; width:82px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/relignList/M0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/relign",model.getValue(xDschAnalyListPath+"/religncd"));
- ipt_relign.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_mskindcd" ref="/root/main/dschanalyhist/dschanalyinfo/clsdeptinfo" class="input_search" navindex="45" style="left:311px; top:270px; width:30px; height:19px; "/>
- <input id="ipt_insukindcd" ref="/root/main/dschanalyhist/dschanalyinfo/insukindcd" class="input_search" navindex="35" style="left:93px; top:296px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <select1 id="cmb_dschtypecd" ref="/root/main/dschanalyhist/dschanalyinfo/dschtypecd" class="combo_search" appearance="minimal" showvalue="true" style="left:573px; top:193px; width:111px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/DschTypeList/M0157">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/dschtype", model.getValue(xDschAnalyListPath+"/dschtypecd"));
- ipt_dschtype.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_reinresncd" ref="/root/main/dschanalyhist/dschanalyinfo/reinresncd" class="combo_search" appearance="minimal" showvalue="true" style="left:822px; top:219px; width:112px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reInResnList/M0158">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/reinresn", model.getValue(xDschAnalyListPath+"/reinresncd"));
- ipt_reinresn.refresh();
- fCheckItemInputYN("reinresn");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_chosprogcd" ref="/root/main/dschanalyhist/dschanalyinfo/chosprogcd" class="combo_search" appearance="minimal" showvalue="true" style="left:572px; top:218px; width:111px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/chosProgList/M0156">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/chosprog", model.getValue(xDschAnalyListPath+"/chosprogcd"));
- ipt_chosprog.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_inpathcd" ref="/root/main/dschanalyhist/dschanalyinfo/inpathcd" class="combo_search" appearance="minimal" showvalue="true" style="left:572px; top:244px; width:112px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/inPathList/M0153">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/inpath", model.getValue(xDschAnalyListPath+"/inpathcd"));
- ipt_inpath.refresh();
- fCheckItemInputYN("inpath");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_reopresncd" ref="/root/main/dschanalyhist/dschanalyinfo/reopresncd" class="combo_search" appearance="minimal" showvalue="true" style="left:823px; top:269px; width:112px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reOpResnList/M0159">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/reopresn", model.getValue(xDschAnalyListPath+"/reopresncd"));
- ipt_reopresn.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_curersltcd" ref="/root/main/dschanalyhist/dschanalyinfo/curersltcd" class="combo_search" appearance="minimal" showvalue="true" style="left:574px; top:167px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cureRsltList/M0152">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/curerslt", model.getValue(xDschAnalyListPath+"/curersltcd"));
- ipt_curerslt.refresh();
- fCheckItemInputYN("curerslt");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dethtypecd" ref="/root/main/dschanalyhist/dschanalyinfo/dethtypecd" class="combo_search" appearance="minimal" showvalue="true" style="left:823px; top:167px; width:111px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dethTypeList/M0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/dethtype", model.getValue(xDschAnalyListPath+"/dethtypecd"));
- ipt_dethtype.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mskind" ref="/root/main/dschanalyhist/dschanalyinfo/clsdeptinfocd" class="combo_search" navindex="46" appearance="minimal" style="left:343px; top:270px; width:96px; height:19px; ">
- <choices>
- <item>
- <label>GA</label>
- <value>GA</value>
- </item>
- <item>
- <label>GB</label>
- <value>GB</value>
- </item>
- <item>
- <label>OB</label>
- <value>OB</value>
- </item>
- <item>
- <label>GY</label>
- <value>GY</value>
- </item>
- <item>
- <label>PD</label>
- <value>PD</value>
- </item>
- <item>
- <label>NR</label>
- <value>NR</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_relign" ref="/root/main/dschanalyhist/dschanalyinfo/relign" class="input_search" navindex="16" style="left:584px; top:92px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sRelign = ipt_relign.currentText;
- if(sRelign == "") return;
- if(sRelign.length == 1){
- sRelign = "0"+ sRelign;
- }
- if(model.getValue("/root/init/relignList/M0070[cdid='"+sRelign+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/relign",model.getValue(xDschAnalyListPath+"/religncd"));
- ipt_relign.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/religncd",sRelign);
- model.setValue(xDschAnalyListPath+"/relign",sRelign);
- cmb_religncd.refresh();
- ipt_relign.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_marystat" ref="/root/main/dschanalyhist/dschanalyinfo/marystat" class="input_search" navindex="18" style="left:764px; top:92px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sMaryStat = ipt_marystat.currentText;
- if(sMaryStat == "") return;
- if(sMaryStat.length == 1){
- sMaryStat = "0" + sMaryStat;
- }
- if(model.getValue("/root/init/maryStatList/M0151[cdid='"+sMaryStat+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/marystat",model.getValue(xDschAnalyListPath+"/marystatcd"));
- ipt_marystat.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/marystatcd",sMaryStat);
- model.setValue(xDschAnalyListPath+"/marystat",sMaryStat);
- cmb_marystatcd.refresh();
- ipt_marystat.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_marystatcd" ref="/root/main/dschanalyhist/dschanalyinfo/marystatcd" class="combo_search" navindex="19" appearance="minimal" showvalue="true" style="left:795px; top:92px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/maryStatList/M0151">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/marystat", model.getValue(xDschAnalyListPath+"/marystatcd"));
- ipt_marystat.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_job" ref="/root/main/dschanalyhist/dschanalyinfo/job" class="input_search" navindex="20" style="left:584px; top:116px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sJob = ipt_job.currentText;
- if(sJob == "") return;
- if(sJob.length == 1){
- sJob = "0" + sJob;
- }
- if(model.getValue("/root/init/jobList/M0149[cdid='"+sJob+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/job",model.getValue(xDschAnalyListPath+"/jobcd"));
- ipt_job.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/jobcd",sJob);
- model.setValue(xDschAnalyListPath+"/job",sJob);
- cmb_jobcd.refresh();
- ipt_job.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_jobcd" ref="/root/main/dschanalyhist/dschanalyinfo/jobcd" class="combo_search" navindex="21" appearance="minimal" showvalue="true" style="left:616px; top:117px; width:113px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/jobList/M0149">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/job",model.getValue(xDschAnalyListPath+"/jobcd"));
- ipt_job.refresh();
-
- ]]>
- </script>
- </select1>
- <input id="ipt_jobnm" ref="/root/main/dschanalyhist/dschanalyinfo/jobnm" class="input_search" navindex="22" style="left:731px; top:117px; width:144px; height:19px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:138px; x2:1194px; y2:138px; "/>
- <caption id="caption38" class="cell_1" style="left:876px; top:65px; width:60px; height:23px; vertical-align:middle; ">기본주소</caption>
- <caption id="caption41" class="cell_1" style="left:327px; top:115px; width:95px; height:23px; vertical-align:middle; ">수술전 재원일수</caption>
- <line id="line16" class="line_2" style="x1:1px; y1:292px; x2:1195px; y2:292px; "/>
- <line id="line17" class="line_3" style="x1:0px; y1:317px; x2:1194px; y2:317px; "/>
- <caption id="caption10" class="cell_1" style="left:687px; top:191px; width:100px; height:23px; vertical-align:middle; ">수술사망</caption>
- <caption id="caption45" class="cell_1" style="left:687px; top:294px; width:100px; height:23px; vertical-align:middle; ">상해원인분류</caption>
- <caption id="caption46" class="cell_1" style="left:937px; top:190px; width:100px; height:23px; vertical-align:middle; ">감염종류2</caption>
- <caption id="caption49" class="cell_1" style="left:937px; top:242px; width:100px; height:23px; vertical-align:middle; ">전염병</caption>
- <caption id="caption50" class="cell_1" style="left:938px; top:268px; width:100px; height:23px; vertical-align:middle; ">합병증</caption>
- <caption id="caption57" class="cell_1" style="left:937px; top:216px; width:100px; height:23px; vertical-align:middle; ">암등록여부</caption>
- <button id="btn_infdis" class="btn_sw" group="tab1" selected="true" style="left:735px; top:617px; width:81px; height:22px; ">
- <caption>전염병정보</caption>
- <toggle case="infdis" ev:event="onclick"/>
- </button>
- <button id="btn_indx" class="btn_sw" group="tab1" style="left:817px; top:617px; width:81px; height:22px; ">
- <caption>지표관리</caption>
- <toggle case="indx" ev:event="onclick"/>
- </button>
- <caption id="caption55" class="cell_1" style="left:520px; top:65px; width:62px; height:23px; vertical-align:middle; ">회차</caption>
- <input id="ipt_mpphontel" ref="/root/main/dschanalyhist/dschanalyinfo/mpphontel" class="input_search" navindex="28" style="left:1085px; top:117px; width:107px; height:19px; "/>
- <select1 id="cmb_reinyn" ref="/root/main/dschanalyhist/dschanalyinfo/reinyn" class="combo_search" appearance="minimal" showvalue="true" style="left:822px; top:244px; width:112px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/useynlist/yn">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/reinyncd", model.getValue(xDschAnalyListPath+"/reinyn"));
- ipt_reinyncd.refresh();
- fCheckItemInputYN("reinyn");
- ]]>
- </script>
- </select1>
- <input id="ipt_reopresn" ref="/root/main/dschanalyhist/dschanalyinfo/reopresn" class="input_search" navindex="60" style="left:790px; top:269px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sReOpResn = ipt_reopresn.currentText;
- if(sReOpResn == "") return;
- if(sReOpResn.length == 1){
- sReOpResn = "0" + sReOpResn;
- }
- if(model.getValue("/root/init/reOpResnList/M0159[cdid='"+sReOpResn+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/reopresn",model.getValue(xDschAnalyListPath+"/reopresncd"));
- ipt_reopresn.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/reopresncd",sReOpResn);
- model.setValue(xDschAnalyListPath+"/reopresn",sReOpResn);
- cmb_reopresncd.refresh();
- ipt_reopresn.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dethtype" ref="/root/main/dschanalyhist/dschanalyinfo/dethtype" class="input_search" navindex="56" style="left:790px; top:167px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sDethType = ipt_dethtype.currentText;
- if(sDethType == "") return;
- if(sDethType.length == 1){
- sDethType = "0" + sDethType;
- }
- if(model.getValue("/root/init/dethTypeList/M0155[cdid='"+sDethType+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/dethtype",model.getValue(xDschAnalyListPath+"/dethtypecd"));
- ipt_dethtype.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/dethtypecd", sDethType);
- model.setValue(xDschAnalyListPath+"/dethtype", sDethType);
- cmb_dethtypecd.refresh();
- ipt_dethtype.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_curerslt" ref="/root/main/dschanalyhist/dschanalyinfo/curerslt" class="input_search" navindex="49" style="left:541px; top:167px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sCureRslt = ipt_curerslt.currentText;
- if(sCureRslt == "") return;
- if(sCureRslt.length == 1){
- sCureRslt = "0"+sCureRslt;
- }
- if(model.getValue("/root/init/cureRsltList/M0152[cdid='"+sCureRslt+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/curerslt",model.getValue(xDschAnalyListPath+"/curersltcd"));
- ipt_curerslt.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/curersltcd",sCureRslt);
- model.setValue(xDschAnalyListPath+"/curerslt",sCureRslt);
- ipt_curerslt.refresh();
- cmb_curersltcd.refresh();
- }
- fCheckItemInputYN("curerslt");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_cptrgtyn" ref="/root/main/dschanalyhist/dschanalyinfo/cptrgtyn" class="combo_search" navindex="48" appearance="minimal" style="left:343px; top:296px; width:96px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cptrgtlist/cptrgt">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/cptrgtyncd", model.getValue(xDschAnalyListPath+"/cptrgtyn"));
- ipt_cptrgtyncd.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_chosprog" ref="/root/main/dschanalyhist/dschanalyinfo/chosprog" class="input_search" navindex="52" style="left:540px; top:218px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sChosProg = ipt_chosprog.currentText;
- if(sChosProg == "") return;
- if(sChosProg.length == 1){
- sChosProg = "0" + sChosProg;
- }
- if(model.getValue("/root/init/chosProgList/M0156[cdid='"+sChosProg+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/chosprog",model.getValue(xDschAnalyListPath+"/chosprogcd"));
- ipt_chosprog.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/chosprogcd",sChosProg);
- model.setValue(xDschAnalyListPath+"/chosprog",sChosProg);
- cmb_chosprogcd.refresh();
- ipt_chosprog.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_inpath" ref="/root/main/dschanalyhist/dschanalyinfo/inpath" class="input_search" navindex="53" style="left:540px; top:244px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sInPath = ipt_inpath.currentText;
- if(sInPath == "") return;
- if(sInPath.length == 1){
- sInPath = "0" + sInPath;
- }
- if(model.getValue("/root/init/inPathList/M0153[cdid='"+sInPath+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/inpath",model.getValue(xDschAnalyListPath+"/inpathcd"));
- ipt_inpath.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/inpathcd",sInPath);
- model.setValue(xDschAnalyListPath+"/inpath",sInPath);
- cmb_inpathcd.refresh();
- ipt_inpath.refresh();
- }
- fCheckItemInputYN("inpath");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_reinresn" ref="/root/main/dschanalyhist/dschanalyinfo/reinresn" class="input_search" navindex="58" style="left:790px; top:219px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sReInResn = ipt_reinresn.currentText;
- if(sReInResn == "") return;
- if(sReInResn.length == 1){
- sReInResn = "0" + sReInResn;
- }
- if(model.getValue("/root/init/reInResnList/M0158[cdid='"+sReInResn+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/reinresn",model.getValue(xDschAnalyListPath+"/reinresncd"));
- ipt_reinresn.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/reinresncd",sReInResn);
- model.setValue(xDschAnalyListPath+"/reinresn",sReInResn);
- cmb_reinresncd.refresh();
- ipt_reinresn.refresh();
- }
- fCheckItemInputYN("reinresn");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_reinyncd" ref="/root/main/dschanalyhist/dschanalyinfo/reinyncd" class="input_search" navindex="59" style="left:790px; top:244px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sReInYNCD = ipt_reinyncd.currentText;
- if(sReInYNCD == "") return;
- if(sReInYNCD.length == 1){
- sReInYNCD = "0" + sReInYNCD;
- }
- if(model.getValue("/root/init/useynlist/yn[cd='"+sReInYNCD+"']/cd") == ""){
- model.setValue(xDschAnalyListPath+"/reinyncd",model.getValue(xDschAnalyListPath+"/reinyn"));
- ipt_reinyncd.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/reinyn",sReInYNCD);
- model.setValue(xDschAnalyListPath+"/reinyncd",sReInYNCD);
- cmb_reinyn.refresh();
- ipt_reinyncd.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_cptrgtyncd" ref="/root/main/dschanalyhist/dschanalyinfo/cptrgtyncd" class="input_search" navindex="47" style="left:311px; top:296px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sCPTrgtYNCD = ipt_cptrgtyncd.currentText;
- if(sCPTrgtYNCD == "") return;
- if(model.getValue("/root/init/cptrgtlist/cptrgt[cdid='"+sCPTrgtYNCD+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/cptrgtyncd",model.getValue(xDschAnalyListPath+"/cptrgtyn"));
- ipt_cptrgtyncd.refresh();
-
- }else{
- model.setValue(xDschAnalyListPath+"/cptrgtyn", sCPTrgtYNCD);
- cmb_cptrgtyn.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_insukind" ref="/root/main/dschanalyhist/dschanalyinfo/insukind" class="combo_search" navindex="36" appearance="minimal" style="left:125px; top:296px; width:91px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/insukindList/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/insukindcd", model.getValue(xDschAnalyListPath+"/insukind"));
- ipt_insukindcd.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_opdethtype" ref="/root/main/dschanalyhist/dschanalyinfo/opdethtype" class="input_search" navindex="57" style="left:790px; top:192px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sOPDethType = ipt_opdethtype.currentText;
- if(sOPDethType == "") return;
- if(sOPDethType.length == 1){
- sOPDethType = "0"+sOPDethType;
- }
- if(model.getValue("/root/init/opDethTypeList/M0413[cdid='"+sOPDethType+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/opdethtype",model.getValue(xDschAnalyListPath+"/opdethtypecd"));
- ipt_opdethtype.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/opdethtypecd", sOPDethType);
- model.setValue(xDschAnalyListPath+"/opdethtype", sOPDethType);
- cmb_opdethtypecd.refresh();
- ipt_opdethtype.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_opdethtypecd" ref="/root/main/dschanalyhist/dschanalyinfo/opdethtypecd" class="combo_search" appearance="minimal" showvalue="true" style="left:823px; top:192px; width:111px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/opDethTypeList/M0413">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/opdethtype", model.getValue(xDschAnalyListPath+"/opdethtypecd"));
- ipt_opdethtype.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_erchosdt" ref="/root/main/dschanalyhist/dschanalyinfo/erchosdt" class="input_search" navindex="54" format="yyyy/mm/dd hh:nn" appearance="input" style="left:540px; top:271px; width:144px; height:19px; "/>
- <input id="ipt_erstaytm" ref="/root/main/dschanalyhist/dschanalyinfo/erstaytm" class="input_search" navindex="55" maxlength="6" appearance="input" style="left:540px; top:296px; width:144px; height:19px; ">
- <hint>
- <![CDATA[24시간기준]]>
- </hint>
- </input>
- <output id="output2" ref="/root/main/dschanalyhist/dschanalyinfo/lastupdtdt" format="yyyy-mm-dd hh:nn" style="left:110px; top:760px; width:120px; height:19px; font-weight:bold; text-align:left; "/>
- <output id="output3" ref="/root/main/dschanalyhist/dschanalyinfo/lastupdtrnm" style="left:325px; top:760px; width:120px; height:19px; font-weight:bold; text-align:left; "/>
- <input id="ipt_infccas" ref="/root/main/dschanalyhist/dschanalyinfo/infccas" class="input_search" navindex="62" style="left:1041px; top:166px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var code = ipt_infccas.currentText;
- if(code == "") return;
- if(code.length == 1){
- code = "0" + code;
- }
- if(model.getValue("/root/init/infccaselist/M0484[cdid='"+code+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/infccas",model.getValue(xDschAnalyListPath+"/infccascd"));
- ipt_infccas.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/infccascd", code);
- model.setValue(xDschAnalyListPath+"/infccas", code);
- cmb_infccascd.refresh();
- ipt_infccas.refresh()
- fGetInFcCas(code);
- ipt_infcpart.refresh();
- cmb_infcpartcd.refresh();
- model.setValue(xDschAnalyListPath+"/infcpartcd","")
- model.setValue(xDschAnalyListPath+"/infcpart","")
- model.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_infccascd" ref="/root/main/dschanalyhist/dschanalyinfo/infccascd" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:166px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/infccaselist/M0484">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var code = model.getValue(xDschAnalyListPath+"/infccascd");
- fGetInFcCas(code);
- model.makeValue(xDschAnalyListPath+"/infccas", model.getValue(xDschAnalyListPath+"/infccascd"));
- ipt_infccas.refresh();
- cmb_infcpartcd.refresh();
- ipt_infcpart.refresh();
- model.setValue(xDschAnalyListPath+"/infcpart","");
- model.setValue(xDschAnalyListPath+"/infcpartcd","");
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_infcpart" ref="/root/main/dschanalyhist/dschanalyinfo/infcpart" class="input_search" navindex="63" style="left:1041px; top:191px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- setInputNodeCurText();
- var code = model.getValue(xDschAnalyListPath+"/infcpart");
- if(code.length == 1){
- code = "0" + code;
- }
- model.setValue(xDschAnalyListPath+"/infcpart", code);
- model.setValue(xDschAnalyListPath+"/infcpartcd", code);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_infcpartcd" ref="/root/main/dschanalyhist/dschanalyinfo/infcpartcd" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:192px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/infdcpartinfo/infdcpartlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/infcpart", model.getValue(xDschAnalyListPath+"/infcpartcd"));
- ipt_infcpart.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_cncrrgstyncd" ref="/root/main/dschanalyhist/dschanalyinfo/cncrrgstyncd" class="input_search" navindex="64" style="left:1041px; top:218px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sCncrRgstYN = ipt_cncrrgstyncd.currentText;
- if(sCncrRgstYN == "") return;
- if(sCncrRgstYN.length == 1){
- sCncrRgstYN = "0" + sCncrRgstYN;
- }
- if(model.getValue("/root/init/useynlist/yn[cd='"+sCncrRgstYN+"']/nm") == ""){
- model.setValue(xDschAnalyListPath+"/cncrrgstyncd",model.getValue(xDschAnalyListPath+"/cncrrgstyn"));
- ipt_cncrrgstyncd.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/cncrrgstyn", sCncrRgstYN);
- model.setValue(xDschAnalyListPath+"/cncrrgstyncd", sCncrRgstYN);
- cmb_cncrrgstyn.refresh();
- ipt_cncrrgstyncd.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_cncrrgstyn" ref="/root/main/dschanalyhist/dschanalyinfo/cncrrgstyn" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:217px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/useynlist/yn">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/cncrrgstyncd",model.getValue(xDschAnalyListPath+"/cncrrgstyn"));
- ipt_cncrrgstyncd.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_infdisyncd" ref="/root/main/dschanalyhist/dschanalyinfo/infdisyncd" class="input_search" navindex="65" style="left:1041px; top:244px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sInfDisYN = ipt_infdisyncd.currentText;
- if(sInfDisYN == "") return;
- if(sInfDisYN.length == 1){
- sInfDisYN = "0" + sInfDisYN;
- }
- if(model.getValue("/root/init/useynlist/yn[cd='"+sInfDisYN+"']/nm") == ""){
- model.setValue(xDschAnalyListPath+"/infdisyncd",model.getValue(xDschAnalyListPath+"/infdisyn"));
- ipt_infdisyncd.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/infdisyn", sInfDisYN);
- model.setValue(xDschAnalyListPath+"/infdisyncd", sInfDisYN);
- cmb_infdisyn.refresh();
- ipt_infdisyncd.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_infdisyn" ref="/root/main/dschanalyhist/dschanalyinfo/infdisyn" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:244px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/useynlist/yn">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/infdisyncd",model.getValue(xDschAnalyListPath+"/infdisyn"));
- ipt_infdisyncd.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_cmpl" ref="/root/main/dschanalyhist/dschanalyinfo/cmpl" class="input_search" navindex="66" style="left:1041px; top:270px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sCmpl = ipt_cmpl.currentText;
- if(sCmpl == "") return;
- if(sCmpl.length == 1) {
- sCmpl = "0"+sCmpl;
- }
- if(model.getValue("/root/init/cmpllist/M0414[cdid='"+sCmpl+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/cmpl",model.getValue(xDschAnalyListPath+"/cmplcd"));
- ipt_cmpl.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/cmplcd", sCmpl);
- model.setValue(xDschAnalyListPath+"/cmpl", sCmpl);
- cmb_cmplcd.refresh();
- ipt_cmpl.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_cmplcd" ref="/root/main/dschanalyhist/dschanalyinfo/cmplcd" class="combo_search" appearance="minimal" showvalue="true" style="left:1074px; top:270px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmpllist/M0414">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/cmpl",model.getValue(xDschAnalyListPath+"/cmplcd"));
- ipt_cmpl.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_spcscnt" ref="/root/main/dschanalyhist/dschanalyinfo/spcscnt" class="input_search" navindex="67" format="####" appearance="input" style="left:1040px; top:296px; width:35px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var spcscnt = model.getValue(xDschAnalyListPath+"/spcscnt");
- var spcnscnt = model.getValue(xDschAnalyListPath+"/spcnscnt");
- if(spcscnt == "") spcscnt = 0;
- if(spcnscnt == "") spcnscnt = 0;
- if(spcscnt == "" && spcnscnt == ""){
- model.setValue(xDschAnalyListPath+"/spctotcnt","");
- }else{
- model.setValue(xDschAnalyListPath+"/spctotcnt",eval(spcscnt)+eval(spcnscnt));
- }
- ipt_spctotcnt.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_spcnscnt" ref="/root/main/dschanalyhist/dschanalyinfo/spcnscnt" class="input_search" navindex="68" format="####" appearance="input" style="left:1086px; top:296px; width:39px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var spcscnt = model.getValue(xDschAnalyListPath+"/spcscnt");
- var spcnscnt = model.getValue(xDschAnalyListPath+"/spcnscnt");
- if(spcscnt == "") spcscnt = 0;
- if(spcnscnt == "") spcnscnt = 0;
- if(spcscnt == "" && spcnscnt == ""){
- model.setValue(xDschAnalyListPath+"/spctotcnt","");
- }else{
- model.setValue(xDschAnalyListPath+"/spctotcnt",eval(spcscnt)+eval(spcnscnt));
- }
- ipt_spctotcnt.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_wundcasclscd" ref="/root/main/dschanalyhist/dschanalyinfo/wundcasclscd" class="combo_search" appearance="minimal" showvalue="true" style="left:823px; top:295px; width:113px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wundcasclslist/M0415">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(xDschAnalyListPath+"/wundcascls", model.getValue(xDschAnalyListPath+"/wundcasclscd"));
- ipt_wundcascls.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_indept" ref="/root/main/dschanalyhist/dschanalyinfo/indept" class="input_search" navindex="83" style="left:93px; top:167px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sInDept = ipt_indept.currentText;
- var sInDeptCd = model.getValue(xDschAnalyListPath+"/indeptcd");
- if(sInDept == ""){
- model.setValue(xDschAnalyListPath+"/indept", model.getValue("/root/init/indeptlist/dept[deptcd='"+sInDeptCd+"']/deptengabbr"));
- }else{
- if(model.getValue("/root/init/indeptlist/dept[deptengabbr='"+sInDept+"']/deptcd") == ""){
- model.setValue(xDschAnalyListPath+"/indept", model.getValue("/root/init/indeptlist/dept[deptcd='"+sInDeptCd+"']/deptengabbr"));
- }else{
- model.setValue(xDschAnalyListPath+"/indeptcd", model.getValue("/root/init/indeptlist/dept[deptengabbr='"+sInDept+"']/deptcd"));
- model.setValue(xDschAnalyListPath+"/indept", sInDept);
- //fGetDrInfo("indept");
- }
- }
- cmb_indeptcd.refresh();
- ipt_indept.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_indg" ref="/root/main/dschanalyhist/dschanalyinfo/indg" class="input_search" navindex="15" maxlength="3" format="###" appearance="input" style="left:583px; top:67px; width:97px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue(xDschAnalyListPath+"/indg") == "1"){
- model.setValue(xDschAnalyListPath+"/reinyncd","");
- model.setValue(xDschAnalyListPath+"/reinyn","");
- model.setValue(xDschAnalyListPath+"/reinresncd","");
- model.setValue(xDschAnalyListPath+"/reinresn","");
- ipt_reinresn.disabled = true;
- cmb_reinresncd.disabled = true;
- ipt_reinyncd.disabled = true;
- cmb_reinyn.disabled = true;
- }else{
- ipt_reinresn.disabled = false;
- cmb_reinresncd.disabled = false;
- ipt_reinyncd.disabled = false;
- cmb_reinyn.disabled = false;
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dschdept" ref="/root/main/dschanalyhist/dschanalyinfo/dschdept" class="input_search" navindex="37" style="left:312px; top:167px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sDschDept = ipt_dschdept.currentText;
- var sDschDeptCd = model.getValue(xDschAnalyListPath+"/dschdeptcd");
- if(sDschDept == ""){
- model.setValue(xDschAnalyListPath+"/dschdept", model.getValue("/root/init/dschdeptlist/dept[deptcd='"+sDschDeptCd+"']/deptengabbr"));
- }else{
- if(model.getValue("/root/init/dschdeptlist/dept[deptengabbr='"+sDschDept+"']/deptcd") == ""){
- model.setValue(xDschAnalyListPath+"/dschdept", model.getValue("/root/init/deptlist/dept[deptcd='"+sDschDeptCd+"']/deptengabbr"));
- }else{
- model.setValue(xDschAnalyListPath+"/dschdeptcd", model.getValue("/root/init/dschdeptlist/dept[deptengabbr='"+sDschDept+"']/deptcd"));
- model.setValue(xDschAnalyListPath+"/dschdept", sDschDept);
- //fGetDrInfo("dschdept");
- }
- }
- ipt_dschdept.refresh();
- cmb_dschdeptcd.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_dschdeptcd" ref="/root/main/dschanalyhist/dschanalyinfo/dschdeptcd" class="combo_search" navindex="38" appearance="minimal" style="left:344px; top:167px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dschdeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // fGetDrInfo("dschdept");
- model.setValue(xDschAnalyListPath+"/dschdept", model.getValue("/root/init/dschdeptlist/dept["+(cmb_dschdeptcd.focusIndex+1)+"]/deptengabbr"));
- ipt_dschdept.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_indeptcd" ref="/root/main/dschanalyhist/dschanalyinfo/indeptcd" class="combo_search" navindex="85" appearance="minimal" style="left:127px; top:167px; width:89px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/indeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // fGetDrInfo("indept");
- model.setValue(xDschAnalyListPath+"/indept", model.getValue("/root/init/indeptlist/dept["+(cmb_indeptcd.focusIndex+1)+"]/deptengabbr"));
- ipt_indept.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_init" class="btn4_letter3" navindex="107" style="left:1069px; top:11px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClearDschInfo();
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:732px; top:503px; width:453px; height:110px; ">
- <case id="icudetlinfo" selected="true" style="left:0px; top:0px; width:453px; height:128px; ">
- <datagrid id="grd_iculist" nodeset="/root/main/dschanalyhist/iculist" caption="중환자실^진료과약어^진료과^orddeptcd^재원일수^총재원일수^입실일^퇴실일^사망여부^재입실여부^pid^dschdd^dsicuno" colsep="^" colwidth="80, 80, 83, 100, 80, 100, 90, 90, 60, 80, 100, 100, 100" dataheight="23" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:0px; top:2px; width:449px; height:104px; ">
- <col editmode="input" ref="icucd" type="combo">
- <choices>
- <itemset nodeset="/root/init/icudeptlist/icudept">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col editmode="input" imemode="alpha" ref="orddeptengabbr" type="input"/>
- <col ref="orddepthngnm" type="output"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="inhospdayno" type="input" style="text-align:right; "/>
- <col ref="totinhospdayno" visibility="hidden" style="text-align:right; "/>
- <col ref="inrmdd" type="inputdate"/>
- <col ref="outrmdd" type="inputdate"/>
- <col checkvalue="Y,N" ref="dethyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="reinyn" type="checkbox"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="dsicuno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iStndRow = grd_iculist.row;
- var iCol = grd_iculist.col;
- if(iCol==1){
- var sICUCd = model.getValue("/root/main/dschanalyhist/iculist["+iStndRow+"]/icucd");
- var sInHospDayNo = 0;
- var sTotInHospDayNo = 0;
- for(var iRow = grd_iculist.fixedrows; iRow <= (grd_iculist.rows-grd_iculist.fixedrows); iRow++){
- if(model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/icucd") == sICUCd){
- sInHospDayNo = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/inhospdayno");
- if(sInHospDayNo == "") sInHospDayNo = 0;
- sTotInHospDayNo += eval(sInHospDayNo);
- }
- }
- if(sTotInHospDayNo > 0 ){
-
- iICUTotRow = grd_icutotlist.findRow(sICUCd, grd_icutotlist.fixedrows, 1);
- if(iICUTotRow<1){
- grd_icutotlist.addRow();
- var iTrgtRow = grd_icutotlist.rows - grd_icutotlist.fixedrows;
- model.setValue(xICUTotListPath+"["+iTrgtRow+"]/deptcd",sICUCd);
- model.setValue(xICUTotListPath+"["+iTrgtRow+"]/totinhospdayno", sTotInHospDayNo);
- }else{
- model.setValue(xICUTotListPath+"["+iICUTotRow+"]/totinhospdayno", sTotInHospDayNo);
- }
- }
-
-
- }
- var iStatus = grd_iculist.rowStatus(iStndRow);
- var sDsicuNo = "";
- if(iStatus == 2){
- sDsicuNo = model.getValue("/root/main/dschanalyhist/iculist["+iStndRow+"]/dsicuno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/iculist["+iStndRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/iculist[dsicuno='"+sDsicuNo+"']").xml){
- grd_iculist.rowStatus(iStndRow) = 0;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- /* var iRow = grd_iculist.row;
- var iCol = grd_iculist.col;
- if(iCol == 1){
- var sDeptCd = grd_iculist.valueMatrix(iRow, iCol);
- if(model.getValue("/root/init/icudeptlist/icudept[deptcd='"+sDeptCd+"']/deptcd") == ""){
- grd_iculist.valueMatrix(iRow, iCol) = "";
- }
- }
- var iStatus = grd_iculist.rowStatus(iRow);
- var sDsicuNo = "";
- if(iStatus == 2){
- sDsicuNo = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/dsicuno");
- if(instance1.selectSingleNode("/root/main/dschanalyhist/iculist["+iRow+"]").xml == instance1.selectSingleNode("/root/temp/dschanalyhist/iculist[dsicuno='"+sDsicuNo+"']").xml){
- grd_iculist.rowStatus(iRow) = 0;
- }
- }*/
- var iRow = grd_iculist.row - grd_iculist.fixedRows + 1;
- var inrmdd = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/inrmdd");
- var orddeptengabbr = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/orddeptengabbr");
- if(grd_iculist.col==2){
- if(grd_iculist.valueMatrix(iRow,2)==""){
-
- return;
- }
- if(inrmdd==""){
- messageBox("입실일자를 먼저","C001");
- return;
- }
- if(event.keyCode == 13){
- var iRow = grd_iculist.row - grd_iculist.fixedRows + 1;
- var inrmdd = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/inrmdd");
- var orddeptengabbr = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/orddeptengabbr");
- model.makeValue("root/send/stnddd",inrmdd);
- model.makeValue("root/send/deptengabbr",grd_iculist.valueMatrix(iRow,2));
- if(submit("TRMRD00405")){
- var depthngnm = model.getValue("/root/temp/stndeptlist/stndept/depthngnm")
- var deptcd = model.getValue("/root/temp/stndeptlist/stndept/deptcd")
- var deptengabbr =model.getValue("/root/temp/stndeptlist/stndept/deptengabbr")
- grd_iculist.valueMatrix(iRow,2)=deptengabbr;
- grd_iculist.valueMatrix(iRow,3)=depthngnm;
- grd_iculist.valueMatrix(iRow,4)=deptcd;
- }
- model.removenodeset("/root/send");
- }
- }
- grd_iculist.refresh();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="icutotinfo">
- <datagrid id="grd_icutotlist" nodeset="/root/main/dschanalyhist/icutotlist/icudept" caption="중환자실^총재원일수" colsep="^" colwidth="196, 206" dataheight="23" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="free" style="left:0px; top:2px; width:449px; height:103px; ">
- <col ref="deptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/icudeptlist/icudept">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="totinhospdayno" style="text-align:right; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iStndRow = grd_iculist.row;
- var iCol = grd_iculist.col;
-
- if(iCol == 5){
- var sICUCd = model.getValue("/root/main/dschanalyhist/iculist["+iStndRow+"]/icucd");
- var sInHospDayNo = 0;
- var sTotInHospDayNo = 0;
- for(var iRow = grd_iculist.fixedrows; iRow <= (grd_iculist.rows-grd_iculist.fixedrows); iRow++){
- if(model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/icucd") == sICUCd){
- sInHospDayNo = model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/inhospdayno");
- if(sInHospDayNo == "") sInHospDayNo = 0;
- sTotInHospDayNo += eval(sInHospDayNo);
- }
- }
- if(sTotInHospDayNo > 0 ){
- for(var iRow = grd_iculist.fixedrows; iRow <= (grd_iculist.rows-grd_iculist.fixedrows); iRow++){
- if(model.getValue("/root/main/dschanalyhist/iculist["+iRow+"]/icucd") == sICUCd){
- model.setValue("/root/main/dschanalyhist/iculist["+iRow+"]/totinhospdayno", sTotInHospDayNo);
- }
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_icudetlinfo" class="btn_sw9" group="tab" selected="true" style="left:815px; top:482px; width:104px; height:22px; ">
- <caption>중환자실 상세정보</caption>
- <toggle case="icudetlinfo" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("icddetlinfo");
- btn_addrow3.visible = true;
- btn_delrow3.visible = true;
- ]]>
- </script>
- </button>
- <button id="btn_icuinfo" class="btn_sw6" group="tab" style="left:734px; top:482px; width:81px; height:22px; ">
- <caption>중환자실정보</caption>
- <toggle case="icutotinfo" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("icutotinfo");
- btn_addrow3.visible = false;
- btn_delrow3.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption62" style="left:294px; top:321px; width:45px; height:20px; font-weight:bold; ">전신 :</caption>
- <input id="input2" ref="/root/main/dschanalyhist/dschanalyinfo/gnrlanstcnt" class="input_search" navindex="82" maxlength="3" format="###" appearance="input" style="left:335px; top:320px; width:55px; height:19px; "/>
- <caption id="caption63" style="left:400px; top:321px; width:45px; height:20px; font-weight:bold; ">부분 :</caption>
- <caption id="caption64" style="left:510px; top:320px; width:45px; height:20px; font-weight:bold; ">국소 :</caption>
- <input id="input3" ref="/root/main/dschanalyhist/dschanalyinfo/prtanstcnt" class="input_search" navindex="84" maxlength="3" format="###" appearance="input" style="left:440px; top:320px; width:55px; height:19px; "/>
- <input id="input4" ref="/root/main/dschanalyhist/dschanalyinfo/tpclanstcnt" class="input_search" navindex="86" maxlength="3" format="###" appearance="input" style="left:551px; top:320px; width:55px; height:19px; "/>
- <caption id="caption65" style="left:1076px; top:296px; width:10px; height:20px; ">/</caption>
- <input id="ipt_spctotcnt" ref="/root/main/dschanalyhist/dschanalyinfo/spctotcnt" class="input_search" navindex="69" format="####" appearance="input" style="left:1128px; top:296px; width:64px; height:19px; "/>
- <input id="ipt_statcnts" ref="/root/main/cond/statcnts" disabled="true" style="left:735px; top:762px; width:460px; height:19px; font-weight:bold; "/>
- <input id="ipt_indrid" ref="/root/main/dschanalyhist/dschanalyinfo/indrid" class="input_search" navindex="87" appearance="input" style="left:93px; top:192px; width:57px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- clearParameter("reqflag");
- clearParameter("usernm");
- clearParameter("stnddd");
- clearParameter("autortnyn");
- setParameter("reqflag", "userid");
- setParameter("userid", ipt_indrid.currentText);
- setParameter("stnddd", model.getValue(xDschAnalyListPath+"/indd"));
- setParameter("autortnyn","Y");
- model.resetInstanceNode("/root/temp/userinfo");
- modal("SPMRF03200");
- var userid = model.getValue("/root/temp/userinfo/userid")
- if(userid!=""){
- model.setValue(xDschAnalyListPath+"/indrid", model.getValue("/root/temp/userinfo/userid"));
- model.setValue(xDschAnalyListPath+"/indrnm", model.getValue("/root/temp/userinfo/usernm"));
- ipt_indrid.refresh();
- ipt_indrnm.refresh();
- }else{
- return;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_indrnm" ref="/root/main/dschanalyhist/dschanalyinfo/indrnm" class="input_search" navindex="29" appearance="input" style="left:152px; top:192px; width:64px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- clearParameter("reqflag");
- clearParameter("usernm");
- clearParameter("stnddd");
- clearParameter("autortnyn");
- setParameter("reqflag", "usernm");
- setParameter("usernm", ipt_indrnm.currentText);
- setParameter("stnddd", model.getValue(xDschAnalyListPath+"/indd"));
- setParameter("autortnyn","Y");
- model.resetInstanceNode("/root/temp/userinfo");
- modal("SPMRF03200");
- var userid = model.getValue("/root/temp/userinfo/userid")
- if(userid!=""){
- model.setValue(xDschAnalyListPath+"/indrid", model.getValue("/root/temp/userinfo/userid"));
- model.setValue(xDschAnalyListPath+"/indrnm", model.getValue("/root/temp/userinfo/usernm"));
- ipt_indrid.refresh();
- ipt_indrnm.refresh();
- }else{
- return;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dschdrid" ref="/root/main/dschanalyhist/dschanalyinfo/dschdrid" class="input_search" navindex="39" appearance="input" style="left:312px; top:192px; width:58px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- clearParameter("reqflag");
- clearParameter("usernm");
- clearParameter("stnddd");
- clearParameter("autortnyn");
- setParameter("reqflag", "userid");
- setParameter("userid", ipt_dschdrid.currentText);
- setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
- setParameter("autortnyn","Y");
- model.resetInstanceNode("/root/temp/userinfo");
- modal("SPMRF03200");
- var userid = model.getValue("/root/temp/userinfo/userid")
- if(userid!=""){
- model.setValue(xDschAnalyListPath+"/dschdrid", model.getValue("/root/temp/userinfo/userid"));
- model.setValue(xDschAnalyListPath+"/dschdrnm", model.getValue("/root/temp/userinfo/usernm"));
- ipt_dschdrid.refresh();
- ipt_dschdrnm.refresh();
- }else{
- return;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dschdrnm" ref="/root/main/dschanalyhist/dschanalyinfo/dschdrnm" class="input_search" navindex="40" appearance="input" style="left:372px; top:192px; width:66px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- clearParameter("reqflag");
- clearParameter("usernm");
- clearParameter("stnddd");
- clearParameter("autortnyn");
- setParameter("reqflag", "usernm");
- setParameter("usernm", ipt_dschdrnm.currentText);
- setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
- setParameter("autortnyn","Y");
- model.resetInstanceNode("/root/temp/userinfo");
- modal("SPMRF03200");
- var userid = model.getValue("/root/temp/userinfo/userid")
- if(userid!=""){
- model.setValue(xDschAnalyListPath+"/dschdrid", model.getValue("/root/temp/userinfo/userid"));
- model.setValue(xDschAnalyListPath+"/dschdrnm", model.getValue("/root/temp/userinfo/usernm"));
- ipt_dschdrid.refresh();
- ipt_dschdrnm.refresh();
- }else{
- return;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_inapprtcdrid" ref="/root/main/dschanalyhist/dschanalyinfo/inapprtcdrid" class="input_search" navindex="30" appearance="input" style="left:93px; top:218px; width:57px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- clearParameter("reqflag");
- clearParameter("usernm");
- clearParameter("stnddd");
- clearParameter("autortnyn");
- setParameter("reqflag", "userid");
- setParameter("userid", ipt_inapprtcdrid.currentText);
- setParameter("stnddd", model.getValue(xDschAnalyListPath+"/indd"));
- setParameter("autortnyn","Y");
- model.resetInstanceNode("/root/temp/userinfo");
- modal("SPMRF03200");
- var userid = model.getValue("/root/temp/userinfo/userid")
- if(userid!=""){
- model.setValue(xDschAnalyListPath+"/inapprtcdrid", model.getValue("/root/temp/userinfo/userid"));
- model.setValue(xDschAnalyListPath+"/inapprtcdrnm", model.getValue("/root/temp/userinfo/usernm"));
- ipt_inapprtcdrid.refresh();
- ipt_inapprtcdrnm.refresh();
- }else{
- return;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_inapprtcdrnm" ref="/root/main/dschanalyhist/dschanalyinfo/inapprtcdrnm" class="input_search" navindex="31" appearance="input" style="left:152px; top:218px; width:64px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- clearParameter("reqflag");
- clearParameter("usernm");
- clearParameter("stnddd");
- clearParameter("autortnyn");
- setParameter("reqflag", "usernm");
- setParameter("usernm", ipt_inapprtcdrnm.currentText);
- setParameter("stnddd", model.getValue(xDschAnalyListPath+"/indd"));
- setParameter("autortnyn","Y");
- model.resetInstanceNode("/root/temp/userinfo");
- modal("SPMRF03200");
- var userid = model.getValue("/root/temp/userinfo/userid")
- if(userid!=""){
- model.setValue(xDschAnalyListPath+"/inapprtcdrid", model.getValue("/root/temp/userinfo/userid"));
- model.setValue(xDschAnalyListPath+"/inapprtcdrnm", model.getValue("/root/temp/userinfo/usernm"));
- ipt_inapprtcdrid.refresh();
- ipt_inapprtcdrnm.refresh();
- }else{
- return;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dschapprtcdrid" ref="/root/main/dschanalyhist/dschanalyinfo/dschapprtcdrid" class="input_search" navindex="41" appearance="input" style="left:313px; top:218px; width:58px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- clearParameter("reqflag");
- clearParameter("usernm");
- clearParameter("stnddd");
- clearParameter("autortnyn");
- setParameter("reqflag", "userid");
- setParameter("userid", ipt_dschapprtcdrid.currentText);
- setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
- setParameter("autortnyn","Y");
- model.resetInstanceNode("/root/temp/userinfo");
- modal("SPMRF03200");
- var userid = model.getValue("/root/temp/userinfo/userid")
- if(userid!=""){
- model.setValue(xDschAnalyListPath+"/dschapprtcdrid", model.getValue("/root/temp/userinfo/userid"));
- model.setValue(xDschAnalyListPath+"/dschapprtcdrnm", model.getValue("/root/temp/userinfo/usernm"));
- ipt_dschapprtcdrid.refresh();
- ipt_dschapprtcdrnm.refresh();
- }else{
- return;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dschapprtcdrnm" ref="/root/main/dschanalyhist/dschanalyinfo/dschapprtcdrnm" class="input_search" navindex="42" appearance="input" style="left:373px; top:218px; width:66px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- clearParameter("reqflag");
- clearParameter("usernm");
- clearParameter("stnddd");
- clearParameter("autortnyn");
- setParameter("reqflag", "usernm");
- setParameter("usernm", ipt_dschapprtcdrnm.currentText);
- setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
- setParameter("autortnyn","Y");
- model.resetInstanceNode("/root/temp/userinfo");
- modal("SPMRF03200");
- var userid = model.getValue("/root/temp/userinfo/userid")
- if(userid!=""){
- model.setValue(xDschAnalyListPath+"/dschapprtcdrid", model.getValue("/root/temp/userinfo/userid"));
- model.setValue(xDschAnalyListPath+"/dschapprtcdrnm", model.getValue("/root/temp/userinfo/usernm"));
- ipt_dschapprtcdrid.refresh();
- ipt_dschapprtcdrnm.refresh();
- }else{
- return;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_inroomcd" ref="/root/main/dschanalyhist/dschanalyinfo/inroomcd" class="input_search" navindex="33" appearance="input" style="left:155px; top:244px; width:61px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- fGetWardInfo("/root/send", "in", "ipt_inroomcd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dschroomcd" ref="/root/main/dschanalyhist/dschanalyinfo/dschroomcd" class="input_search" navindex="44" appearance="input" style="left:379px; top:244px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- fGetWardInfo("/root/send", "dsch", "ipt_dschroomcd");
- }
- ]]>
- </script>
- </input>
- <input id="cmb_inrmdd" ref="/root/main/dschanalyhist/dschanalyinfo/inrmdd" class="input_search" navindex="12" editable="true" inputtype="date" style="left:424px; top:67px; width:94px; height:19px; "/>
- <select1 id="cmb_unprepstatcd" ref="/root/main/dschanalyhist/dschanalyinfo/unprepstatcd" class="combo_search" disabled="true" appearance="minimal" style="left:724px; top:42px; width:151px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/unprepstatlist/M0417">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/main/indsch_info/curersltcd", model.getValue("/root/main/indsch_info/curersltnm"));
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption67" class="cell_1" style="left:520px; top:40px; width:62px; height:23px; vertical-align:middle; ">차트상태</caption>
- <caption id="caption5" class="cell_1" style="left:876px; top:90px; width:60px; height:23px; vertical-align:middle; ">상세주소</caption>
- <input id="input7" ref="/root/main/dschanalyhist/dschanalyinfo/detladdr" class="input_search" navindex="26" style="left:937px; top:92px; width:256px; height:19px; "/>
- <caption id="caption35" class="tit_2" style="left:739px; top:462px; width:95px; height:14px; ">중환자실정보</caption>
- <line id="line20" class="line_1" style="x1:734px; y1:477px; x2:1192px; y2:477px; "/>
- <button id="btn_delrow3" class="btn2_letter3" navindex="95" style="left:1136px; top:457px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelGridRow("grd_iculist");
- ]]>
- </script>
- </button>
- <button id="btn_addrow3" class="btn2_letter3" navindex="94" style="left:1080px; top:457px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddGridRow("grd_iculist");
- ]]>
- </script>
- </button>
- <input id="ipt_totinhospdayno" ref="/root/main/dschanalyhist/dschanalyinfo/totinhospdayno" class="input_search" navindex="13" style="left:424px; top:92px; width:94px; height:19px; "/>
- <input id="ipt_opbfinhospdayno" ref="/root/main/dschanalyhist/dschanalyinfo/opbfinhospdayno" class="input_search" navindex="14" style="left:424px; top:117px; width:94px; height:19px; "/>
- <input id="ipt_zipcd1" ref="/root/main/dschanalyhist/dschanalyinfo/zipcd1" class="input_search" navindex="23" style="left:936px; top:41px; width:41px; height:19px; "/>
- <input id="ipt_zipcd2" ref="/root/main/dschanalyhist/dschanalyinfo/zipcd2" class="input_search" navindex="24" style="left:980px; top:41px; width:41px; height:19px; "/>
- <button id="btn_srchaddr" class="icon_search" style="left:1025px; top:43px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var addr = model.getValue("/root/main/cond/addr");
- if(addr == ""){
- messageBox("동을","C001");
- model.setFocus("ipt_srchaddr");
- return;
- }
- var rcv_zipcdhead_path =xDschAnalyListPath+"/zipcd1";
- var rcv_zipcdfoot_path = xDschAnalyListPath+"/zipcd2";
- var rcv_seqno_path = "/root/main/cond/seqno";
- var rcv_address_path = xDschAnalyListPath+"/addr";
- zbcfOpenZipCodeList("combination", addr, rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
- model.setValue("/root/main/cond/addr","");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_srchaddr" ref="/root/main/cond/addr" class="input_search" navindex="25" style="left:1045px; top:41px; width:147px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- inputEnterKey("btn_srchaddr", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_disposstatcd" ref="/root/main/dschanalyhist/dschanalyinfo/disposstatcd" class="combo_search" disabled="true" appearance="minimal" style="left:583px; top:42px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/disposstatlist/M0416">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/main/indsch_info/curersltcd", model.getValue("/root/main/indsch_info/curersltnm"));
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <input id="ipt_wundcascls" ref="/root/main/dschanalyhist/dschanalyinfo/wundcascls" class="input_search" navindex="61" style="left:790px; top:295px; width:30px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13){
- var sWundCasCls = ipt_wundcascls.currentText;
- if(sWundCasCls == "") return;
- if(sWundCasCls.length == 1){
- sWundCasCls = "0" + sWundCasCls;
- }
- if(model.getValue("/root/init/wundcasclslist/M0415[cdid='"+sWundCasCls+"']/cdnm") == ""){
- model.setValue(xDschAnalyListPath+"/wundcascls",model.getValue(xDschAnalyListPath+"/wundcasclscd"));
- ipt_wundcascls.refresh();
- }else{
- model.setValue(xDschAnalyListPath+"/wundcasclscd",sWundCasCls);
- model.setValue(xDschAnalyListPath+"/wundcascls",sWundCasCls);
- cmb_wundcasclscd.refresh();
- ipt_wundcascls.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption61" class="cell_1" style="left:683px; top:65px; width:79px; height:23px; vertical-align:middle; ">최종퇴원년도</caption>
- <input id="ipt_dschwardnm" ref="/root/main/dschanalyhist/dschanalyinfo/dschwardnm" class="input_search" navindex="44" appearance="input" style="left:313px; top:244px; width:64px; height:19px; "/>
- <input id="ipt_inwardnm" ref="/root/main/dschanalyhist/dschanalyinfo/inwardnm" class="input_search" navindex="33" appearance="input" style="left:93px; top:244px; width:60px; height:19px; "/>
- <input id="ipt_lastdschyy" ref="/root/main/dschanalyhist/dschanalyinfo/lastdschyy" class="input_search" navindex="15" maxlength="4" format="###" appearance="input" style="left:764px; top:67px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue(xDschAnalyListPath+"/indg") == "1"){
- model.setValue(xDschAnalyListPath+"/reinyncd","");
- model.setValue(xDschAnalyListPath+"/reinyn","");
- model.setValue(xDschAnalyListPath+"/reinresncd","");
- model.setValue(xDschAnalyListPath+"/reinresn","");
- ipt_reinresn.disabled = true;
- cmb_reinresncd.disabled = true;
- ipt_reinyncd.disabled = true;
- cmb_reinyn.disabled = true;
- }else{
- ipt_reinresn.disabled = false;
- cmb_reinresncd.disabled = false;
- ipt_reinyncd.disabled = false;
- cmb_reinyn.disabled = false;
- }
- ]]>
- </script>
- </input>
- <button id="button17" class="btn3_letter6" style="left:607px; top:11px; width:104px; height:22px; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var orgdschdd = model.getValue(xDschAnalyListPath+"/orgdschdd");
- if(orgdschdd == ""){
- messageBox("환자의 퇴원일자가 선택되지", "E007");
- return;
- }
- open("SMAER00800", "", "", "", "SMAER00800", "/root/main/dschanalyhist/dschanalyinfo/pid", "/root/send/data/singdata/srchpid");
- ]]>
- </script>
- </button>
- <select1 id="cmb_orgdschdd" ref="/root/main/dschanalyhist/dschanalyinfo/orgdschdd" class="combo_search" navindex="11" visibility="hidden" appearance="minimal" editmode="input" style="left:325px; top:140px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/patinfo/dschddlist">
- <label ref="dschddnm"/>
- <value ref="dschdd"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_cretchknum" ref="/root/init/checknum/value" overflow="visible" appearance="full" style="left:248px; top:42px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>체크번호X</label>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- chk_cretchknum.value = "true";
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- chk_cretchknum.value = "false";
- ]]>
- </script>
- </select>
- </xhtml:body>
- </xhtml:html>
|