123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>퇴원분석</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <detldeptcdsaveyn>Y</detldeptcdsaveyn>
- <unpreprecinfo>
- <unprepreclist>
- <status/>
- <indschflag/>
- <pid/>
- <hngnm/>
- <dschdd/>
- <indd/>
- <unprepstat/>
- <doctkindflag/>
- <unprepdrnm/>
- <unprepdeptnm/>
- <formnm/>
- <degnitemnm/>
- <formrecdd/>
- <medirecalertcnts/>
- <drcnfmdt/>
- <dralertcnts/>
- <fstrgstrnm/>
- <fstrgstdt/>
- <lastupdtrnm/>
- <lastupdtdt/>
- </unprepreclist>
- </unpreprecinfo>
- <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/>
- <inclrsdeptcd/>
- <dschclrsdeptcd/>
- <erdays/>
- </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/>
- <nbabyid/>
- <partrtneprccd/>
- <nbabyflag/>
- <partrtnkindcd/>
- <prgweekcnt/>
- <prgdayno/>
- <brthtypecd/>
- <nbabybdwtqty/>
- <womnid/>
- <pid/>
- <dschdd/>
- <dswmno/>
- <dsnbno/>
- </wnmblist>
- <infdislist>
- <seqno/>
- <infdiscd/>
- <infdisnm/>
- <infdisflag/>
- <pid/>
- <dschdd/>
- <dsldno/>
- </infdislist>
- <indxlist>
- <status/>
- <pkicd/>
- <dsqino/>
- <pid/>
- <dschdd/>
- </indxlist>
- <icutotlist/>
- <!--
- <detldeptcdinfo>
- <gubun/>
- <upmrindd/>
- <upmrdschdd/>
- <upmropdd/>
- <upmrchdd/>
- <upmrordeptcd/>
- <upmrdetldeptcd/>
- </detldeptcdinfo>
- -->
- </dschanalyhist>
- <cond>
- <statcnts/>
- <addr/>
- <seqno/>
- </cond>
- <patdethinfo/>
- </main>
- <send>
- <hardcode/>
- <detldeptcd/>
- <dethinfo/>
- </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>
- </indx>
- </indxlist>
- <dschdeptlist/>
- <deptlist/>
- <stndeptlist/>
- <checknum>
- <value>true</value>
- </checknum>
- <nbabyList>
- <M0543>
- <cdid>-</cdid>
- <cdnm/>
- </M0543>
- </nbabyList>
- <gsclrsinfo>
- <gsclrsdeptlist/>
- </gsclrsinfo>
- </init>
- <temp>
- <patinfo>
- <dschddlist/>
- <patbaseinfo/>
- <chgdschddlist/>
- <clrsdeptinfo>
- <opclrsdeptlist/>
- <cnsclrsdeptlist1/>
- <cnsclrsdeptlist2/>
- <chngclrsdeptlist/>
- <icuclrsdeptlist/>
- </clrsdeptinfo>
- </patinfo>
- <dschanalyhist/>
- <userinfo>
- <userid/>
- <usernm/>
- <deptcd/>
- <instcd/>
- </userinfo>
- <initlist/>
- <wardinfo/>
- <stndeptlist/>
- <stnuserinfo>
- <stnuserlist/>
- </stnuserinfo>
- </temp>
- <hidden>
- <infdcpartinfo>
- <infdcpartlist/>
- </infdcpartinfo>
- <dschclrsinfo>
- <dschclrsdeptlist/>
- </dschclrsinfo>
- <inclrsinfo>
- <inclrsdeptlist/>
- </inclrsinfo>
- <deptchklist>
- <hardcd/>
- </deptchklist>
- <indeptchklist>
- <hardcd/>
- </indeptchklist>
- <adaptdetldeptcd>
- <hardcd/>
- </adaptdetldeptcd>
- </hidden>
- <tmp>
- <hidden>
- <dschclrsdeptlist/>
- <inclrsdeptlist/>
- </hidden>
- </tmp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- mmbfGetHardCodeInfoNm("/root/send/detldeptcd", "/root/hidden/adaptdetldeptcd", 1330);
- mmbfGetHardCodeInfoNm("/root/send/hardcode","/root/hidden/indeptchklist", 1320);
-
- 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"/>
- <submission id="TRMRD00406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/stnuserinfo"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMRD00407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/indxlist"/>
- <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMRI02106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/unpreprecinfo"/>
- <submission id="TXMRI02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/unpreprecinfo"/>
- <submission id="TRMRD00417" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/gsclrsinfo/gsclrsdeptlist"/>
- <submission id="TXMRD00480" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
- <submission id="TRMRD00418" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dethinfo" replace="instance" resultref="/root/main/patdethinfo"/>
- </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"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.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="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="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:269px; 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:797px; top:10px; 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", 1, 0, 0, "", "", "", "left:0px; top:0px");
- ]]>
- </script>
- </button>
- <button id="btn_x_save" class="btn4_letter2" navindex="108" style="left:1133px; top:10px; 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:728px; top:10px; 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", 1, 0, 0, "", "", "", "left:0px; top:0px");
- ]]>
- </script>
- </button>
- <button id="button14" class="btn3_letter4" navindex="106" style="left:926px; top:10px; 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", 1, 0, 0, "", "", "", "left:0px; top:0px");
- ]]>
- </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:137px; top:137px; 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="35, 85, 58, 73, 35, 57, 51, 39, 37, 44, 42, 67, 57, 55, 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 ref="opclrsdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/temp/patinfo/clrsdeptinfo/opclrsdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <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="opfromtm" type="input" format="hh:nn"/>
- <col ref="optotm" type="input" format="hh:nn"/>
- <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="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 == 7){
- var sRtnMsg = fPopUpUserInfo("grd_oplist", 7, 19);
- 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[
- fOpGridStatusChg();
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridGetDeptUserInfo("grd_oplist");
-
- // 20081218 수정
- model.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="84, 56, 69, 15, 57, 54, 57, 57, 80, 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 ref="chngclrsdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/temp/patinfo/clrsdeptinfo/chngclrsdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col imemode="hangul" ref="chngdeptdrnm" type="input"/>
- <col ref="chngroomcd" type="input" style="text-align:left; "/>
- <col ref="chngdeptdayno" type="input" format="####" style="text-align:left; "/>
- <col imemode="alpha" 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;
- if(iCol == 9){
- fPopUpDiag("grd_chngdeptlist", 9, 10);
- }
- }
- ]]>
- </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 != 6 && 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[
- fGridGetDeptUserInfo("grd_chngdeptlist");
- // 20081218 수정
- model.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="56, 74, 75, 61, 62, 90, 59, 70, 26, 58, 65, 74, 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 ref="reqclrsdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/temp/patinfo/clrsdeptinfo/cnsclrsdeptlist1">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <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 ref="execlrsdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/temp/patinfo/clrsdeptinfo/cnsclrsdeptlist2">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <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 == 5){
- sRtnMsg = fPopUpUserInfo("grd_cnstlist", 5, 18);
- 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 ==11){
- sRtnMsg = fPopUpUserInfo("grd_cnstlist", 11, 19);
- 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 != 5 && iCol != 7 && iCol != 11 && 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;
- }
- } */
- fGridGetDeptUserInfo("grd_cnstlist");
- // 20081218 수정
- model.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="59, 56, 87, 57, 68, 59, 73, 60, 35, 35, 135, 52, 64, 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/>
- <value/>
- </item>
- <item>
- <label>초산</label>
- <value>01</value>
- </item>
- <item>
- <label>경산</label>
- <value>02</value>
- </item>
- </choices>
- </col>
- <col ref="nbabyflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/nbabyList/M0543">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <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" visibility="hidden">
- <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="womnid" type="input"/>
- <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>
- <button id="button3" class="btn3_letter6" navindex="102" style="left:437px; top:10px; width:104px; height:22px; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var orgdschdd = model.getValue(xDschAnalyListPath+"/orgdschdd");
- if(orgdschdd == ""){
- messageBox("환자의 퇴원일자가 선택되지", "E007");
- return;
- }
- var wndobj = getOpenWindow("SMMRI00400");
- if(wndobj != null){
- setParameter("SMMRI00400_param_pid", model.getValue(xDschAnalyListPath+"/pid"));
- // 초기화함수 호출
- wndobj.javascript.fInitalize();
- activateChild("SMMRI00400");
- } else {
- setParameter("SMMRI00400_param_pid", model.getValue(xDschAnalyListPath+"/pid"));
- setParameter("SMMRI00400_param_chosflag", "I");
- open("SMMRI00400", 1, 0, 0, "", "", "", "left:0px; top:0px");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter4" navindex="103" style="left:647px; top:10px; 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", 1, 0, 0, "", "", "", "left:0px; top:0px");
- ]]>
- </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[
- /*
- var fromtime = getCurrentDateTime();
- if(event.keyCode == 13) return;
- fGetDschAnalyInfo();
-
-
- // 20081218 수정
- model.refresh();
-
- var totime = getCurrentDateTime();
- alert("from: " + fromtime + " to:" + totime);
- */
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //var fromtime = getCurrentDateTime();
- if(event.keyCode == 13) return;
- fGetDschAnalyInfo();
-
-
- // 20081218 수정
- model.refresh();
-
- //var totime = getCurrentDateTime();
- //alert("from: " + fromtime + " to:" + totime);
- ]]>
- </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:187px; top:140px; 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:232px; top:140px; 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");
-
- // 20081218 수정
- model.refresh();
- ]]>
- </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");
-
- // 20081218 수정
- model.refresh();
- ]]>
- </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:-24px; y1:292px; x2:72px; 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" visibility="hidden" style="left:940px; top:295px; width:100px; height:23px; vertical-align:middle; ">전염병</caption>
- <caption id="caption50" class="cell_1" style="left:937px; top:244px; 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>
- <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");
- var ReInYN = model.getValue(xDschAnalyListPath+"/reinyn");
- if(ReInYN=="01"){
- model.setValue(xDschAnalyListPath+"/reinresncd","");
- model.setValue(xDschAnalyListPath+"/reinresn","");
- ipt_reinresn.disabled = true;
- cmb_reinresncd.disabled = true;
- ipt_reinresn.refresh();
- cmb_reinresncd.refresh();
- }else if(ReInYN=="02"){
- ipt_reinresn.disabled = false;
- cmb_reinresncd.disabled = false;
- ipt_reinresn.refresh();
- cmb_reinresncd.refresh();
- }
- ]]>
- </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");
- // 20081218 수정
- model.refresh();
- }
- ]]>
- </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");
-
- // 20081218 수정
- model.refresh();
- }
- ]]>
- </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");
- // 20081218 수정
- model.refresh();
- }
- ]]>
- </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" visibility="hidden" style="left:1044px; top:295px; 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" visibility="hidden" appearance="minimal" showvalue="true" style="left:1077px; top:295px; 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:244px; 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:244px; 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:269px; 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:269px; 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_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>
- <button id="btn_init" class="btn4_letter3" navindex="107" style="left:1007px; top:10px; 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="58, 45, 3, 30, 37, 35, 68, 85, 84, 34, 45, 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="ordclrsdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/temp/patinfo/clrsdeptinfo/icuclrsdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="inhospdayno" type="input" style="text-align:left; "/>
- <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;
- }
- }*/
- fGridGetDeptUserInfo("grd_iculist");
- // 20081218 수정
- model.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 == 6){
- 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:820px; top:482px; width:124px; 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:269px; 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:269px; 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[
- fIptGetDeptUserInfo("ipt_indrid");
- // 20081218 수정
- //model.refresh();
- ]]>
- </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[
- fIptGetDeptUserInfo("ipt_indrnm");
- // 20081218 수정
- //model.refresh();
- ]]>
- </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[
- fIptGetDeptUserInfo("ipt_dschdrid");
- // 20081218 수정
- //model.refresh();
- ]]>
- </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[
- fIptGetDeptUserInfo("ipt_dschdrnm");
- // 20081218 수정
- //model.refresh();
- ]]>
- </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[
- fIptGetDeptUserInfo("ipt_inapprtcdrid");
- // 20081218 수정
- //model.refresh();
- ]]>
- </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[
- fIptGetDeptUserInfo("ipt_inapprtcdrnm");
- // 20081218 수정
- //model.refresh();
- ]]>
- </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[
- fIptGetDeptUserInfo("ipt_dschapprtcdrid");
- // 20081218 수정
- //model.refresh();
- ]]>
- </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[
- fIptGetDeptUserInfo("ipt_dschapprtcdrnm");
- // 20081218 수정
- //model.refresh();
- ]]>
- </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:542px; top:10px; 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:270px; 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>
- <input id="ipt_dschdept" ref="/root/main/dschanalyhist/dschanalyinfo/dschdept" class="input_search" navindex="37" style="left:272px; 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_inclrsdeptcd" ref="/root/main/dschanalyhist/dschanalyinfo/inclrsdeptcd" class="combo_search" navindex="85" appearance="minimal" style="left:152px; top:167px; width:64px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/inclrsinfo/inclrsdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fClrsDeptSelected("in");
-
- // 20081218 수정
- model.refresh()
- ]]>
- </script>
- </select1>
- <select1 id="cmb_indeptcd" ref="/root/main/dschanalyhist/dschanalyinfo/indeptcd" class="combo_search" navindex="85" appearance="minimal" style="left:86px; top:167px; width:64px; 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[
- fInDschClrsDeptSearch("indd");//분과
- model.setValue(xDschAnalyListPath+"/indept", model.getValue("/root/init/indeptlist/dept["+(cmb_indeptcd.focusIndex+1)+"]/deptengabbr"));
-
- // 20081218 수정
- //ipt_indept.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dschclrsdeptcd" ref="/root/main/dschanalyhist/dschanalyinfo/dschclrsdeptcd" class="combo_search" navindex="38" appearance="minimal" style="left:372px; top:167px; width:66px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/dschclrsinfo/dschclrsdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fClrsDeptSelected("dsch");
-
- // 20081218 수정
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption23" class="cell_1" style="left:219px; top:165px; width:50px; height:23px; vertical-align:middle; ">퇴원과</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:165px; width:50px; height:23px; vertical-align:middle; ">입원과</caption>
- <select1 id="cmb_dschdeptcd" ref="/root/main/dschanalyhist/dschanalyinfo/dschdeptcd" class="combo_search" navindex="38" appearance="minimal" style="left:305px; top:167px; width:64px; 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[
- fInDschClrsDeptSearch("dsch");//분과
- model.setValue(xDschAnalyListPath+"/dschdept", model.getValue("/root/init/dschdeptlist/dept["+(cmb_dschdeptcd.focusIndex+1)+"]/deptengabbr"));
-
- // 20081218 수정
- //ipt_dschdept.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_indept" ref="/root/main/dschanalyhist/dschanalyinfo/indept" class="input_search" navindex="83" style="left:53px; 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>
- <caption id="caption66" class="tit_2" style="left:739px; top:620px; width:82px; height:13px; ">지표관리</caption>
- <line id="line19" class="line_1" style="x1:734px; y1:635px; x2:1189px; y2:635px; "/>
- <group id="group1" style="left:735px; top:640px; width:455px; height:120px; ">
- <select id="chk_indxlist" ref="/root/main/dschanalyhist/dschanalyinfo/indxinfo" overflow="visible" appearance="full" cellspacing="50" cols="2" direction="acrossdown" rows="*" style="left:0px; top:0px; width:455px; height:115px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/indxlist/indx">
- <label ref="indxnm"/>
- <value ref="indxcd"/>
- </itemset>
- </choices>
- </select>
- </group>
- <datagrid id="grd_detldeptlist" nodeset="/root/main/dschanalyhist/detldeptcdinfo" visibility="hidden" caption="구분^입원일자^퇴원일자^수술일자^전출시 시작일자^전출시 종료일자^미비과^미비분과^환자번호^입원일자^cretno^perfdrid" colsep="^" colwidth="50, 100, 100, 100, 100, 100, 80, 80, 60, 70, 50, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:25px; top:405px; width:930px; height:75px; ">
- <col ref="gubun"/>
- <col ref="upmrindd"/>
- <col ref="upmrdschdd"/>
- <col ref="upmropdd"/>
- <col ref="upmrchst"/>
- <col ref="upmrched"/>
- <col ref="upmrordeptcd"/>
- <col ref="upmrdetldeptcd"/>
- <col ref="upmrpid"/>
- <col ref="upmrindd"/>
- <col ref="upmrcretno"/>
- <col ref="perfdrid"/>
- </datagrid>
- <datagrid id="grd_unprepreclist" nodeset="/root/main/unpreprecinfo/unprepreclist" visibility="hidden" caption="status^pid^formcd^formrecdd^unprepdrid^unprepno^orddeptcd^detldeptcd" colsep="^" colwidth="39, 63, 70, 70, 70, 59, 70, 100" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="byrow" ref="/root/main/unpreprecinfo/unprepreclist" style="left:450px; top:445px; width:570px; height:60px; ">
- <col disabled="true" ref="status" type="combo">
- <choices>
- <item>
- <label>신규</label>
- <value>i</value>
- </item>
- <item>
- <label>수정</label>
- <value>u</value>
- </item>
- <item>
- <label>삭제</label>
- <value>d</value>
- </item>
- <item>
- <label>수정</label>
- <value>ua</value>
- </item>
- <item>
- <label>수정</label>
- <value>ud</value>
- </item>
- <item>
- <label>수정</label>
- <value>uo</value>
- </item>
- <item>
- <label>수정</label>
- <value>up</value>
- </item>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="formcd"/>
- <col ref="formrecdd"/>
- <col ref="unprepdrid"/>
- <col ref="unprepno"/>
- <col ref="orddeptcd"/>
- <col ref="detldeptcd"/>
- </datagrid>
- <button id="button1" class="btn4_letter2" navindex="108" style="left:1076px; top:10px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelete();
- ]]>
- </script>
- </button>
- <caption id="cpt_patdethinfo" visibility="hidden" style="left:455px; top:762px; width:270px; height:20px; font-weight:bold; color:#ff0000; text-align:right; ">사망등록된 환자입니다!</caption>
- <caption id="caption68" class="cell_1" style="left:190px; top:114px; width:91px; height:23px; vertical-align:middle; ">응급실재실일수</caption>
- <input id="ipt_emrdays" ref="/root/main/dschanalyhist/dschanalyinfo/erdays" class="input_search" navindex="14" style="left:285px; top:117px; width:40px; height:19px; "/>
- <button id="button2" class="btn2_letter6" navindex="90" style="left:810px; top:320px; width:75px; height:19px; ">
- <caption>원무전과전실</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPamTranInfo();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|