123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>심폐소생술 및 파랑새 발령 보고서</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <pid/>
- <rrgstno/>
- <cardarrgenrdd/>
- <cardarrgenrtm/>
- <indd/>
- <cretno/>
- <instcd/>
- <nursdocflag/>
- <selectrow/>
- <histno/>
- <patnm/>
- <grdrage/>
- <cntctel/>
- <addr/>
- <indd1/>
- <orddeptcd/>
- <medispclid/>
- <ininfo/>
- <atdoctnm/>
- <wardnm/>
- <patinfoflag/>
- <cardarrgenrdt/>
- <patgubun/>
- <gender/>
- <age/>
- <wardcd/>
- <roomcd/>
- <diagnm/>
- <atdoctcd/>
- <medispclid/>
- <orddeptcd/>
- <diagcd/>
- </patinfo>
- <resusinfo>
- <resuslist>
- <pid/>
- <cardarrgenrdd/>
- <cardarrgenrtm/>
- <cardarrgoalyn/>
- <cardarrdiscvpsn/>
- <cardarrdiscvpsnetc/>
- <cardarrgenrplceflag/>
- <cardarrgenrplcedept/>
- <resusteamarvbfresus/>
- <resusteamarvbfresusetc/>
- <resusteamfresus/>
- <resusteamfresusetc/>
- <cardarrestmdd/>
- <cardarrestmtm/>
- <cardarrestmflag/>
- <resusteamcalldd/>
- <resusteamcalltm/>
- <resusteamarvdd/>
- <resusteamarvtm/>
- <initrhythmcnfmdd/>
- <initrhythmcnfmtm/>
- <resusfromdd/>
- <resusfromtm/>
- <resustodd/>
- <resustotm/>
- <cardarrcas/>
- <initrhythm/>
- <resusendresn/>
- <resusendresnetc/>
- <cardarrrslt/>
- <cardarrrsltetc/>
- <dschdethdd/>
- <dschdethtm/>
- <dschneurologystat/>
- <fstrgstrid/>
- <fstrgstdt/>
- <resusteamarvbfresusnurse/>
- <resusteamarvbfresusnurseetc/>
- <cardarrgenrtm/>
- <cardarryn/>
- <resusteamarvbfresusflag/>
- <resusteamarvbfresustext/>
- <bluebirdalarmyn/>
- <bluebirdalarmdd/>
- <bluebirdalarmtm/>
- <cardarrgenrplceward/>
- <cardarrgenrplcewardflag/>
- <cardarrgenrplcehosin/>
- <cardarrgenrplcetestroom/>
- <cardarrgenrplcehosout/>
- <hosparvbfresus/>
- <hosparvbfresusetc/>
- <atdoctcalldd/>
- <atdoctcalltm/>
- <resusteamarvafresus/>
- <resusteamarvafresusetc/>
- <resusteamorddept/>
- <resusteamorddr/>
- <resusteamnum/>
- <patstatus/>
- <patstatusetc/>
- <curerslt/>
- <patinfoflag/>
- <patinfoflagetc/>
- <cardarrgenrdt/>
- <cardarrgenrdtchg/>
- <cardarrfinddd/>
- <cardarrfindtm/>
- <atdoctarrdd/>
- <atdoctarrtm/>
- <cardarrgenrplcehoscenter/>
- <patnm/>
- <saveflag/>
- <nursesaveid/>
- <nursesavenm/>
- <nursesavedd/>
- <docsaveid/>
- <docsavenm/>
- <docsavedd/>
- <rsltsaveid/>
- <rsltsavenm/>
- <rsltsavedd/>
- <lastsaveid/>
- <lastsavenm/>
- <lastsavedd/>
- <hosparvbfresusynflag/>
- <defibrstartdd/>
- <defibrstarttm/>
- <defibrjul/>
- <defibrtims/>
- <cardarrgenrplceetcbigo/>
- <defibrjul2/>
- <defibrtims2/>
- <defibrflag/>
- <fstresusexecetc/>
- <fstresusexecflag/>
- <initpatcscs/>
- <initpatbreth/>
- <initpatpulse/>
- </resuslist>
- </resusinfo>
- <paminfo>
- <list/>
- </paminfo>
- <pathistinfo>
- <pathistlist>
- <lastupdtdt/>
- <lastupdtrnm/>
- <pid/>
- <indd/>
- <cretno/>
- <instcd/>
- <cardarrgenrdd/>
- <cardarrgenrtm/>
- <histno/>
- </pathistlist>
- <patcprhistinfo>
- <startdd/>
- <starttm/>
- </patcprhistinfo>
- <patinfo>
- <pid/>
- <indd/>
- <cretno/>
- <instcd/>
- <rrgstno1/>
- <rrgstno2/>
- </patinfo>
- </pathistinfo>
- </main>
- <send>
- <wardcd/>
- </send>
- <srchmax>
- <patinfoflag/>
- <patinfoflagtxt/>
- <popflag/>
- </srchmax>
- <hidden>
- <orddeptlist/>
- <erorddeptlist/>
- </hidden>
- <init>
- <M0380list>
- <M0380>
- <cdnm/>
- <cdid/>
- </M0380>
- </M0380list>
- </init>
- <resusbase>
- <resuslist>
- <pid/>
- <cardarrgenrdd/>
- <cardarrgenrtm/>
- <cardarrgoalyn/>
- <cardarrdiscvpsn/>
- <cardarrdiscvpsnetc/>
- <cardarrgenrplceflag/>
- <cardarrgenrplcedept/>
- <resusteamarvbfresus/>
- <resusteamarvbfresusetc/>
- <resusteamfresus/>
- <resusteamfresusetc/>
- <cardarrestmdd/>
- <cardarrestmtm/>
- <cardarrestmflag/>
- <resusteamcalldd/>
- <resusteamcalltm/>
- <resusteamarvdd/>
- <resusteamarvtm/>
- <initrhythmcnfmdd/>
- <initrhythmcnfmtm/>
- <resusfromdd/>
- <resusfromtm/>
- <resustodd/>
- <resustotm/>
- <cardarrcas/>
- <initrhythm/>
- <resusendresn/>
- <resusendresnetc/>
- <cardarrrslt/>
- <cardarrrsltetc/>
- <dschdethdd/>
- <dschdethtm/>
- <dschneurologystat/>
- <fstrgstrid/>
- <fstrgstdt/>
- </resuslist>
- </resusbase>
- <saveinfo>
- <nurseinfo/>
- <docinfo/>
- <rsltinfo/>
- <lastinfo/>
- </saveinfo>
- <temp>
- <maxseq/>
- <cond>
- <roomcdgrup>
- <roomcdgruplist/>
- </roomcdgrup>
- </cond>
- </temp>
- <init2/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit("1");
- ]]>
- </script>
- <submission id="TRZBC00101" method="post" replace="instance"/>
- <submission id="TXMNE02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resusinfo"/>
- <submission id="TRMNE02310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/pathistinfo"/>
- <submission id="TRMNE02313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init2"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXMNE02309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resusinfo"/>
- <submission id="TXMNE02310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resusinfo"/>
- <submission id="TRMNE02311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/srchmax" resultref="/root/temp/maxseq"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- <submission id="TRMNR01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cond/roomcdgrup"/>
- <submission id="TRAEA01511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/roomcmb_info"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/ercareweb/js/SMMNE02301.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1080" pageheight="850" guideline="1,142;1,3;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:24px; width:1057px; height:156px; text-align:center; ">
- <caption id="caption4" class="tit_2" style="left:5px; top:4px; width:148px; height:13px; ">대상자 정보</caption>
- <caption id="caption22" class="tit_2" style="left:810px; top:3px; width:120px; height:13px; ">과거자료 조회</caption>
- </group>
- <group id="group6" scroll="auto" style="left:0px; top:660px; width:1057px; height:150px; text-align:center; ">
- <!--(20101206)
- <caption id="caption19" class="tit_2" style="left:4px; top:8px; width:164px; height:13px; ">주치의(관리자) 입력화면</caption>
- -->
- <caption id="caption45" class="tit_2" style="left:4px; top:0px; width:164px; height:16px; ">보고결과</caption>
- <!--(20101206) -->
- <line id="line33" class="line_1" style="x1:0px; y1:18px; x2:1055px; y2:18px; "/>
- <caption id="caption46" class="cell_1" style="left:0px; top:23px; width:150px; height:23px; text-align:center; vertical-align:middle; ">심폐소생팀/응급처치</caption>
- <caption id="caption48" class="cell_1" style="left:0px; top:47px; width:150px; height:100px; text-align:center; vertical-align:middle; ">
- <![CDATA[처치 및 결과
- (육하원칙에 의해)]]>
- </caption>
- <line id="line35" class="line_2" style="x1:0px; y1:22px; x2:1055px; y2:22px; "/>
- <line id="line40" class="line_3" style="x1:0px; y1:148px; x2:1055px; y2:148px; "/>
- <input id="input14" ref="/root/main/resusinfo/resuslist/resusteamorddept" class="input_default" navindex="86" maxlength="10" style="left:282px; top:25px; width:200px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- fSrchPatListInput("1");
- }
- ]]>
- </script>
- </input>
- <caption id="caption49" class="cell_1" style="left:154px; top:23px; width:125px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
- <input id="input15" ref="/root/main/resusinfo/resuslist/resusteamorddr" class="input_default" navindex="87" maxlength="10" style="left:651px; top:25px; width:160px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- fSrchPatListInput("1");
- }
- ]]>
- </script>
- </input>
- <caption id="caption50" class="cell_1" style="left:487px; top:23px; width:160px; height:23px; text-align:center; vertical-align:middle; ">전 문 의</caption>
- <caption id="caption51" class="cell_1" style="left:815px; top:23px; width:115px; height:23px; text-align:center; vertical-align:middle; ">참여 의료진</caption>
- <input id="input16" ref="/root/main/resusinfo/resuslist/resusteamnum" class="input_default" navindex="88" maxlength="10" format="#,###" style="left:935px; top:25px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- fSrchPatListInput("1");
- }
- ]]>
- </script>
- </input>
- <caption id="caption59" style="left:1034px; top:26px; width:15px; height:20px; ">명</caption>
- <textarea id="txt_curerslt" ref="/root/main/resusinfo/resuslist/curerslt" navindex="89" style="left:155px; top:48px; width:895px; height:98px; text-align:left; vertical-align:top; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:0px; width:1057px; height:23px; ">
- <button id="btn_lastsave" class="btn3_letter4" navindex="91" style="left:920px; top:1px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
- <caption>최종저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var pStatus = "";
- var saveflag = "Y";
- var sRow = grd_pastlst.row;
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
- // 저장할 환자내역이 존재하는지 CHECK
- if(fSaveBfChk()){
- // 과거내역을 선택했는지 CHECK
- if(model.getValue("/root/main/patinfo/selectrow") != "" || sRow >= 1 ){
- if( messageBox("최종저장 후에는 내용 수정이 불가합니다.\n이대로 저장하시겠습니까?", "Q999") == 6 )
- fCardArrResusLastSave("U");
- }else{
- if( messageBox("최종저장 후에는 내용 수정이 불가합니다.\n이대로 저장하시겠습니까?", "Q999") == 6 )
- fCardArrResusLastSave("I");
- }
- }else{
- messageBox("최종 저장할 데이터가 존재하지않습니다.","E");
- return;
- }
-
- /*
- if( grd_pastlst.rows > 1 ){
- if( model.getValue("/root/main/patinfo/selectrow") != "" || sRow >= 1 ){
- if( messageBox("최종저장 후에는 내용 수정이 불가합니다.\n이대로 저장하시겠습니까?", "Q999") == 6 ){
- fCardArrResusLastSave();
- // 파랑새 발령 호출여부가 Y인 경우에만
- if( model.getValue("/root/main/resusinfo/resuslist/bluebirdalarmyn") == "Y"){
- btn_sms.disabled = false;
- if( messageBox("파랑새 SMS전송으로 진행하시겠습니까?", "Q999") == 6 ){
- btn_sms.dispatch("onclick");
- }else{
- return;
- }
- }else{
- btn_sms.disabled = true;
- return;
- }
- }else{
- return;
- }
- }else{
- messageBox("최종 저장할 데이터를 선택해주세요.","E");
- return;
- }
- }else{
- fPartCardArrResusSave("1");
- }
- */
- model.refresh();
- ]]>
- </script>
- <hint>
- <![CDATA[최종저장 후에는 수정불가능 합니다.]]>
- </hint>
- </button>
- <button id="button3" class="btn6_letter2" navindex="97" style="left:1000px; top:1px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint();
- ]]>
- </script>
- </button>
- <line id="line22" class="line_6" style="x1:0px; y1:22px; x2:1010px; y2:22px; "/>
- <button id="button10" class="btn5_letter2" visibility="hidden" style="left:230px; top:0px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"U");
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn5_letter2" navindex="96" style="left:877px; top:2px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pStatus = "";
- var sRow = grd_pastlst.row;
-
- fSaveBfChk();
-
- if( grd_pastlst.rows > 1 ){
- if( model.getValue("/root/main/patinfo/selectrow") != "" || sRow >= 1 ){
- if( model.getValue("/root/main/resusinfo/resuslist/lastsaveid") != "" ){
- messageBox("최종저장 완료시, 기록을 삭제할 수 없습니다.","E");
- return;
- // if( model.getValue("/root/main/resusinfo/resuslist/lastsaveid") == getUserInfo("userid") ){
- // fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"D");
- // }else{
- // messageBox("삭제할 권한은 최종저장자에게만 있습니다.","E");
- // return;
- // }
- }else{
- if( model.getValue("/root/main/resusinfo/resuslist/nursesaveid") == getUserInfo("userid")
- || model.getValue("/root/main/resusinfo/resuslist/docsaveid") == getUserInfo("userid")
- || model.getValue("/root/main/resusinfo/resuslist/rsltsaveid") == getUserInfo("userid") ){
- if( messageBox("기록을 삭제하시겠습니까?", "Q999") == 6 ){
- fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"D");
- }else{
- return;
- }
- }else{
- messageBox("삭제할 권한은 저장자에게만 있습니다.","E");
- return;
- }
- }
-
- }else{
- messageBox("삭제할 데이터를 선택해주세요.","E");
- return;
- }
- }else{
- messageBox("삭제할 데이터가 없습니다.","E");
- return;
- }
-
-
- ]]>
- </script>
- </button>
- <button id="btn_new" class="btn5_letter4" navindex="95" style="left:811px; top:2px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
- <caption>새로작성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/saveinfo/nurseinfo", "");
- model.setValue("/root/saveinfo/lastinfo", "");
-
- grp_patinfogroup.disabled = false;
- group2.disabled = false ;
- btn_lastsave.disabled = false;
- btn_nursesave.disabled = false;
- group6.disabled = false;
- rdo_patinfoflag.disabled = false;
- int_cardarrgenrdd.disabled = false;
- int_cardarrgenrtm.disabled = false;
- btn_genrclock.disabled = false;
-
- int_cardarrdiscvpsnetc.disabled = true;
- int_resusteamarvbfresusetc.disabled = true;
- int_resusteamarvbfresusnurseetc.disabled = true;
- int_resusteamarvafresusetc.disabled = true;
- int_resusendresnetc.disabled = true;
- int_cardarrgenrplcehosout.disabled = true;
- int_hosparvbfresusetc.disabled = true;
-
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
- chk_resusteamarvbfresus.disabled = true;
- chk_resusteamarvbfresusnurse.disabled = true;
-
- grd_pastlst.row = 0 ;
- model.setValue("/root/main/patinfo/selectrow", "");
- fClearChildNode("/root/main/resusinfo/resuslist");
-
- model.setValue(xPathCardArrPatInfo+"/cardarrgenrdd", getCurrentDate());
- model.setValue(xPathCardArrPatInfo+"/cardarrgenrtm", getCurrentTime());
- model.setValue(xPathCardArrPatInfo+"/cardarrgenrdt", getCurrentDate() + getCurrentTime());
- int_cardarrgenrdd.disabled = false;
-
- if(model.getValue("/root/main/patinfo/nursdocflag") == "N"){
- fDateSetting("Init");
- }
-
- fInputBoxInit("1");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter10" navindex="94" style="left:679px; top:2px; width:130px; height:19px; ">
- <caption>심폐소생술 용어 정의</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMNE02300","1","15","128");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter10" navindex="93" style="left:547px; top:2px; width:130px; height:19px; ">
- <caption>파랑새 심폐소생 보고</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(grd_pastlst.row <= 0) {
- messageBox("심폐소생보고서를 작성, 선택한 후 상세기록을 하십시오.", "E");
- return;
- }
-
- var pid= model.getValue("/root/main/patinfo/pid");
-
- if(pid == "" || pid == null) {
- messageBox("환자의 입원정보를 찾을 수 없습니다.", "E");
- return;
- }
-
- model.property("pid") = model.getValue("/root/main/patinfo/pid");
- model.property("patnm") = model.getValue("/root/main/patinfo/patnm");
- model.property("indd") = model.getValue("/root/main/patinfo/indd");
- model.property("cretno") = model.getValue("/root/main/patinfo/cretno");
- model.property("cardarrgenrdt") = model.getValue(xPathCardArrPatInfo+"/cardarrgenrdd") + model.getValue(xPathCardArrPatInfo+"/cardarrgenrtm");
- model.property("wardcd") = model.getValue("/root/main/patinfo/wardcd");
- model.property("roomcd") = model.getValue("/root/main/patinfo/roomcd");
- model.property("ordtype") = model.getValue("/root/main/patinfo/ordtype");
- model.property("orddrid") = model.getValue("/root/main/patinfo/medispclid");
- model.property("orddrnm") = model.getValue("/root/main/patinfo/orddrid ");
- model.property("orddeptcd") = model.getValue("/root/main/patinfo/deptcd");
- model.property("orddeptnm") = model.getValue("/root/main/patinfo/orddeptcd");
- model.property("sa") = model.getValue("/root/main/patinfo/grdrage");
- model.property("issdeptcd") = model.getValue("/root/main/patinfo/issdeptcd");
- modal("SPMNE02301");
-
- ]]>
- </script>
- </button>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:325px; height:13px; ">심폐소생술 및 파랑새 발령 보고서</caption>
- <button id="btn_sms" class="btn1_letter8" disabled="true" navindex="92" visibility="hidden" style="left:417px; top:0px; width:128px; height:22px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
- <caption>파랑새 SMS 전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //fSendSMS();
-
- model.property("pid") = model.getValue("/root/main/patinfo/pid");
- model.property("patnm") = model.getValue("/root/main/patinfo/patnm");
- model.property("gender") = model.getValue("/root/main/patinfo/gender");
- model.property("age") = model.getValue("/root/main/patinfo/age");
- model.property("atdoctcd") = model.getValue("/root/main/patinfo/atdoctcd");
- model.property("atdoctnm") = cmb_atdoctcd.label;
- model.property("cardarrgenrdt") = model.getValue(xPathCardArrPatInfo+"/cardarrgenrdt");
- model.property("medispclid") = model.getValue("/root/main/patinfo/medispclid");
- model.property("medispclnm") = cmb_medispclid.label;
- model.property("patinfoflag") = rdo_patinfoflag.label;
- model.property("diagnm") = model.getValue("/root/main/patinfo/diagnm");
- model.property("orddeptcd") = model.getValue("/root/main/patinfo/deptcd");
- model.property("orddeptnm") = cmb_dept.label;
- model.property("cardarryn") = model.getValue("/root/main/resusinfo/resuslist/cardarryn");
- model.property("indd") = model.getValue("/root/main/patinfo/indd");
- model.property("cretno") = model.getValue("/root/main/patinfo/cretno");
- model.property("histno") = model.getValue("/root/main/patinfo/histno");
- model.property("wardnm") = cmb_wardcd.label;
-
- var txt = "";
-
- if( rdo_cardarrgenrplceflag.value == "01"){ // 병동
- txt = "병동";
- if(cmb_cardarrgenrplceward.value != ""){
- txt = txt + "(" + cmb_cardarrgenrplceward.label;
- }
-
- if(rdo_cardarrgenrplcewardflag.value != ""){
- txt = txt + "-" + rdo_cardarrgenrplcewardflag.label;
- }
-
- txt = txt + ")";
-
- }else if( rdo_cardarrgenrplceflag.value == "02"){ // 외래
- txt = "외래";
- if(cmb_cardarrgenrplcehosin.value != ""){
- txt = txt + "(" + cmb_cardarrgenrplcehosin.label + ")";
- }
- }else if( rdo_cardarrgenrplceflag.value == "03"){ // 검사실
- txt = "검사실";
- if(cmb_cardarrgenrplcetestroom.value != ""){
- txt = txt + "(" + cmb_cardarrgenrplcetestroom.label + ")";
- }
- }else if( rdo_cardarrgenrplceflag.value == "04"){ // 원외
- txt = "원외";
- if(int_cardarrgenrplcehosout.value != ""){
- txt = txt + "(" + int_cardarrgenrplcehosout.label + ")";
- }
- }else if( rdo_cardarrgenrplceflag.value == "05"){ // 센터진료실
- txt = "센터진료실";
- if(cmb_cardarrgenrplcehoscenter.value != ""){
- txt = txt + "(" + cmb_cardarrgenrplcehoscenter.label + ")";
- }
- }
-
- model.property("cardarrgenrplce") = txt;
-
- model.property("lastsaveid") = model.getValue("/root/main/resusinfo/resuslist/lastsaveid" );
- model.property("lastsavenm") = model.getValue("/root/main/resusinfo/resuslist/lastsavenm" );
- model.property("lastsavedd") = model.getValue("/root/main/resusinfo/resuslist/lastsavedd" ).substring(0,8);
- model.property("lastsavetm") = model.getValue("/root/main/resusinfo/resuslist/lastsavedd" ).substring(8,14);
-
- modal("SPMNE02306");
- if( grd_pastlst.row != "" ){
- grd_pastlst.row = 1;
- }
- grd_pastlst.dispatch("onclick");
- ]]>
- </script>
- <hint>
- <![CDATA[최종저장 후 진행하시기 바랍니다(파랑새 발령 호출여부가 Y인 경우에만 전송가능)]]>
- </hint>
- </button>
- <caption id="sms_number" style="left:271px; top:4px; width:100px; height:15px; font-weight:bold; color:#ff0000; text-align:right; "/>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:180px; width:1058px; height:465px; text-align:center; ">
- <line id="line21" class="line_2" style="x1:0px; y1:244px; x2:1050px; y2:244px; "/>
- <select1 id="rdo_cardarrgenrplceflag" ref="/root/main/resusinfo/resuslist/cardarrgenrplceflag" navindex="36" appearance="full" cellspacing="270" cols="3" vcellspacing="5" overflow="visible" style="left:155px; top:130px; width:835px; height:65px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>병 동</label>
- <value>01</value>
- </item>
- <item>
- <label>응급실</label>
- <value>05</value>
- </item>
- <item>
- <label>수술/회복실</label>
- <value>06</value>
- </item>
- <item>
- <label>외 래</label>
- <value>02</value>
- </item>
- <item>
- <label>집중치료실</label>
- <value>07</value>
- </item>
- <item>
- <label>진단/검사실</label>
- <value>03</value>
- </item>
- <item>
- <label>원 외</label>
- <value>04</value>
- </item>
- <item>
- <label>기 타</label>
- <value>08</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "01"){ // 병 동
- cmb_cardarrgenrplceward.disabled = false; // 병동
- rdo_cardarrgenrplcewardflag.disabled = false; // 병실,병실외
-
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
- int_cardarrgenrplcehosout.disabled = true;
- int_cardarrgenrplceetcbigo.disabled = true;
-
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
- }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "02"){ // 외 래
- cmb_cardarrgenrplcehosin.disabled = false;
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
- int_cardarrgenrplcehosout.disabled = true;
- int_cardarrgenrplceetcbigo.disabled = true;
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
- }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "03"){ // 진단/검사실
- cmb_cardarrgenrplcetestroom.disabled = false;
-
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- int_cardarrgenrplcehosout.disabled = true;
- int_cardarrgenrplceetcbigo.disabled = true;
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
- }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "04"){ // 원외
- int_cardarrgenrplcehosout.disabled = false;
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
- int_cardarrgenrplceetcbigo.disabled = true;
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
- }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "05"){ //응급의료센터
- int_cardarrgenrplcehosout.disabled = true;
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
- int_cardarrgenrplceetcbigo.disabled = true;
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
- }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "06"){ // 수술/회복실
- int_cardarrgenrplcehosout.disabled = true;
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
- int_cardarrgenrplceetcbigo.disabled = true;
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
- }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "07"){ // 중환자실
- cmb_cardarrgenrplcehoscenter.disabled = false;
-
- int_cardarrgenrplcehosout.disabled = true;
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
- int_cardarrgenrplceetcbigo.disabled = true;
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
- }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "08"){ // 기 타
- int_cardarrgenrplceetcbigo.disabled = false;
-
- int_cardarrgenrplcehosout.disabled = true;
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
- }else{
- int_cardarrgenrplcehosout.disabled = true;
- cmb_cardarrgenrplcehosin.disabled = true;
- cmb_cardarrgenrplceward.disabled = true;
- rdo_cardarrgenrplcewardflag.disabled = true;
- cmb_cardarrgenrplcehoscenter.disabled = true;
- cmb_cardarrgenrplcetestroom.disabled = true;
- int_cardarrgenrplceetcbigo.disabled = true;
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
-
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line24" class="line_1" style="x1:0px; y1:23px; x2:1055px; y2:23px; "/>
- <caption id="caption27" class="tit_2" style="left:5px; top:7px; width:113px; height:13px; ">보고내용</caption>
- <caption id="caption28" class="cell_1" style="left:0px; top:78px; width:150px; height:23px; text-align:center; vertical-align:middle; ">목 격 여 부</caption>
- <caption id="caption29" class="cell_1" style="left:0px; top:103px; width:150px; height:23px; text-align:center; vertical-align:middle; ">발견자(목격자)</caption>
- <caption id="caption30" class="cell_1" style="left:0px; top:128px; width:150px; height:68px; text-align:center; vertical-align:middle; ">발 생 장 소</caption>
- <select1 id="radio1" ref="/root/main/resusinfo/resuslist/cardarrgoalyn" navindex="33" appearance="full" cellspacing="8" cols="3" overflow="visible" style="left:155px; top:81px; width:430px; height:20px; text-align:left; letter-spacing:1; border-style:none; ">
- <choices>
- <item>
- <label>목격(감시장치사용중)</label>
- <value>1</value>
- </item>
- <item>
- <label>목격(감시장치없음)</label>
- <value>2</value>
- </item>
- <item>
- <label>목격 못함</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/main/resusinfo/resuslist/cardarrdiscvpsn" navindex="34" appearance="full" cellspacing="7" cols="5" overflow="visible" style="left:155px; top:106px; width:340px; height:20px; text-align:left; letter-spacing:1; border-style:none; ">
- <choices>
- <item>
- <label>가족</label>
- <value>01</value>
- </item>
- <item>
- <label>주변일반인</label>
- <value>02</value>
- </item>
- <item>
- <label>간호사</label>
- <value>06</value>
- </item>
- <item>
- <label>의사</label>
- <value>07</value>
- </item>
- <item>
- <label>기타</label>
- <value>09</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/cardarrdiscvpsn") == "09"){
- int_cardarrdiscvpsnetc.disabled = false;
- } else {
- int_cardarrdiscvpsnetc.value = "";
- int_cardarrdiscvpsnetc.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <input id="int_cardarrdiscvpsnetc" ref="/root/main/resusinfo/resuslist/cardarrdiscvpsnetc" class="input_default" navindex="35" style="left:477px; top:105px; width:573px; height:19px; text-align:left; "/>
- <select1 id="cmb_cardarrgenrplceward" ref="/root/main/resusinfo/resuslist/cardarrgenrplceward" class="combo_default" navindex="37" appearance="minimal" style="left:213px; top:131px; width:130px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init2/ward[ wardtype = 'W' or wardtype = '' ]">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_cardarrgenrplcehosin" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehosin" class="combo_default" navindex="39" appearance="minimal" style="left:213px; top:153px; width:245px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init2/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_cardarrgenrplcedept" ref="/root/main/resusinfo/resuslist/cardarrgenrplcedept" navindex="60" visibility="hidden" overflow="visible" appearance="full" style="left:970px; top:316px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>응급센타</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcedept","");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcedept","1");
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag","13");
- ]]>
- </script>
- </select>
- <select1 id="cmb_cardarrgenrplcetestroom" ref="/root/main/resusinfo/resuslist/cardarrgenrplcetestroom" class="combo_default" navindex="43" appearance="minimal" itemcount="30" style="left:915px; top:152px; width:135px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init2/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="cell_1" style="left:0px; top:223px; width:150px; height:66px; text-align:center; vertical-align:middle; ">CPR팀 도착 전 처치</caption>
- <select id="chk_resusteamarvbfresus" ref="/root/main/resusinfo/resuslist/resusteamarvbfresus" navindex="48" overflow="visible" appearance="full" cellspacing="8" cols="7" style="left:282px; top:226px; width:525px; height:15px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>흉부압박</label>
- <value>01</value>
- </item>
- <item>
- <label>호흡보조</label>
- <value>02</value>
- </item>
- <item>
- <label>제세동</label>
- <value>03</value>
- </item>
- <item>
- <label>전문기도확보</label>
- <value>04</value>
- </item>
- <item>
- <label>정맥로확보</label>
- <value>05</value>
- </item>
- <item>
- <label>약물투여</label>
- <value>06</value>
- </item>
- <item>
- <label>기타</label>
- <value>09</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var checkval = "";
-
- for(var i=0; i<7; i++){
- if( chk_resusteamarvbfresus.item(i).selected == true){
- if(i == "6"){
- int_resusteamarvbfresusetc.disabled = false;
- }
- checkval += "1";
- }else {
- checkval += "0";
- }
- }
-
- model.makeValue("hidden/list/resusteamarvbfresus", checkval);
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- var checkval = "";
-
- for(var i=0; i<7; i++){
- if( chk_resusteamarvbfresus.item(i).selected == true){
- checkval += "1";
- }else {
- if(i == "6"){
- int_resusteamarvbfresusetc.value = "";
- int_resusteamarvbfresusetc.disabled = true;
- }
- checkval += "0";
- }
- }
-
- model.makeValue("hidden/list/resusteamarvbfresus", checkval);
- ]]>
- </script>
- </select>
- <input id="int_resusteamarvbfresusetc" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusetc" class="input_default" navindex="49" style="left:810px; top:224px; width:240px; height:19px; text-align:left; "/>
- <caption id="caption35" class="cell_1" style="left:0px; top:339px; width:150px; height:23px; text-align:center; vertical-align:middle; ">CPR팀 도착 후 처치</caption>
- <select id="chk_resusteamarvafresus" ref="/root/main/resusinfo/resuslist/resusteamarvafresus" navindex="61" overflow="visible" appearance="full" cellspacing="8" cols="7" style="left:155px; top:343px; width:525px; height:15px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>흉부압박</label>
- <value>01</value>
- </item>
- <item>
- <label>호흡보조</label>
- <value>02</value>
- </item>
- <item>
- <label>제세동</label>
- <value>03</value>
- </item>
- <item>
- <label>전문기도확보</label>
- <value>04</value>
- </item>
- <item>
- <label>정맥로확보</label>
- <value>05</value>
- </item>
- <item>
- <label>약물투여</label>
- <value>06</value>
- </item>
- <item>
- <label>기타</label>
- <value>09</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var checkval = "";
-
- for(var i=0; i<7; i++){
- if( chk_resusteamarvafresus.item(i).selected == true){
- if(i == "6"){
- int_resusteamarvafresusetc.disabled = false;
- }
- checkval += "1";
- }else {
- checkval += "0";
- }
- }
-
- model.makeValue("hidden/list/resusteamarvafresusetc", checkval);
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- var checkval = "";
-
- for(var i=0; i<7; i++){
- if( chk_resusteamarvafresus.item(i).selected == true){
- checkval += "1";
- }else {
- if(i == "6"){
- int_resusteamarvafresusetc.value = "";
- int_resusteamarvafresusetc.disabled = true;
- }
- checkval += "0";
- }
- }
-
- model.makeValue("hidden/list/resusteamarvafresusetc", checkval);
-
- ]]>
- </script>
- </select>
- <input id="int_resusteamarvafresusetc" ref="/root/main/resusinfo/resuslist/resusteamarvafresusetc" class="input_default" navindex="62" style="left:685px; top:340px; width:365px; height:19px; text-align:left; "/>
- <line id="line29" class="line_3" style="x1:0px; y1:459px; x2:1055px; y2:459px; "/>
- <caption id="caption36" class="cell_1" style="left:673px; top:28px; width:120px; height:23px; text-align:center; vertical-align:middle; ">심정지 추정시간</caption>
- <caption id="caption37" class="cell_1" style="left:315px; top:53px; width:145px; height:23px; text-align:center; vertical-align:middle; ">파랑새 발령 호출시간</caption>
- <caption id="caption38" class="cell_1" style="left:673px; top:53px; width:120px; height:23px; text-align:center; vertical-align:middle; ">CPR팀 도착시간</caption>
- <caption id="caption39" class="cell_1" style="left:0px; top:315px; width:150px; height:23px; text-align:center; vertical-align:middle; ">담당의(주치의) 호출시간</caption>
- <caption id="caption40" class="cell_1" style="left:695px; top:363px; width:120px; height:23px; text-align:center; vertical-align:middle; ">소생술 시작시간</caption>
- <caption id="caption41" class="cell_1" style="left:0px; top:387px; width:150px; height:23px; text-align:center; vertical-align:middle; ">제세동 시작시간</caption>
- <input id="int_cardarrestmdd" ref="/root/main/resusinfo/resuslist/cardarrestmdd" class="input_default" navindex="22" inputtype="date" style="left:798px; top:29px; width:100px; height:19px; "/>
- <button id="btn_cardarrestmclock" class="icon_clock" navindex="24" style="left:956px; top:31px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/cardarrestmdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", getCurrentDate());
- int_cardarrestmdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", fCurrentDate());
- int_cardarrestmtm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_cardarrestmtm" ref="/root/main/resusinfo/resuslist/cardarrestmtm" class="input_default" navindex="23" format="hh:nn" style="left:902px; top:29px; width:50px; height:19px; "/>
- <input id="int_bluebirdalarmdd" ref="/root/main/resusinfo/resuslist/bluebirdalarmdd" class="input_default" navindex="27" inputtype="date" style="left:465px; top:55px; width:105px; height:19px; "/>
- <button id="btn_bluebirdalarmclock" class="icon_clock" navindex="29" style="left:628px; top:56px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/bluebirdalarmdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/bluebirdalarmdd", getCurrentDate());
- int_bluebirdalarmdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/bluebirdalarmtm", fCurrentDate());
- int_bluebirdalarmtm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_bluebirdalarmtm" ref="/root/main/resusinfo/resuslist/bluebirdalarmtm" class="input_default" navindex="28" format="hh:nn" style="left:574px; top:55px; width:50px; height:19px; "/>
- <input id="int_resusteamarvdd" ref="/root/main/resusinfo/resuslist/resusteamarvdd" class="input_default" navindex="30" inputtype="date" style="left:798px; top:55px; width:100px; height:19px; "/>
- <button id="btn_resusteamarvtm" class="icon_clock" navindex="32" style="left:956px; top:56px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/resusteamarvdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/resusteamarvdd", getCurrentDate());
- int_resusteamarvdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/resusteamarvtm", fCurrentDate());
- int_resusteamarvtm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_resusteamarvtm" ref="/root/main/resusinfo/resuslist/resusteamarvtm" class="input_default" navindex="31" format="hh:nn" style="left:902px; top:55px; width:50px; height:19px; "/>
- <input id="int_atdoctcalldd" ref="/root/main/resusinfo/resuslist/atdoctcalldd" class="input_default" navindex="54" inputtype="date" style="left:155px; top:317px; width:100px; height:19px; "/>
- <button id="btn_initrhythmcnfmtm" class="icon_clock" navindex="56" style="left:312px; top:318px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/atdoctcalldd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/atdoctcalldd", getCurrentDate());
- int_atdoctcalldd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/atdoctcalltm", fCurrentDate());
- int_atdoctcalltm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_atdoctcalltm" ref="/root/main/resusinfo/resuslist/atdoctcalltm" class="input_default" navindex="55" format="hh:nn" style="left:258px; top:317px; width:50px; height:19px; "/>
- <input id="int_resusfromdd" ref="/root/main/resusinfo/resuslist/resusfromdd" class="input_default" navindex="66" inputtype="date" style="left:820px; top:365px; width:100px; height:19px; "/>
- <button id="btn_resusfromtm" class="icon_clock" navindex="68" style="left:977px; top:366px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/resusfromdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/resusfromdd", getCurrentDate());
- int_resusfromdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/resusfromtm", fCurrentDate());
- int_resusfromtm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_resusfromtm" ref="/root/main/resusinfo/resuslist/resusfromtm" class="input_default" navindex="67" format="hh:nn" style="left:923px; top:365px; width:50px; height:19px; "/>
- <select1 id="rdo_cardarryn" ref="/root/main/resusinfo/resuslist/cardarryn" navindex="18" appearance="full" cellspacing="31" cols="3" overflow="visible" style="left:155px; top:29px; width:110px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/resusinfo/resuslist/cardarryn") == "Y"){
- int_cardarrfinddd.disabled = false;
- int_cardarrfindtm.disabled = false;
- btn_cardarrfindclock.disabled = false;
-
- int_cardarrestmdd.disabled = false;
- int_cardarrestmtm.disabled = false;
- btn_cardarrestmclock.disabled = false;
- }else{
- int_cardarrfinddd.disabled = true;
- int_cardarrfindtm.disabled = true;
- btn_cardarrfindclock.disabled = true;
-
- int_cardarrestmdd.disabled = true;
- int_cardarrestmtm.disabled = true;
- btn_cardarrestmclock.disabled = true;
-
- model.setValue("/root/main/resusinfo/resuslist/cardarrfinddd" , "" );
- model.setValue("/root/main/resusinfo/resuslist/cardarrfindtm" , "" );
- model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd" , "" );
- model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm" , "" );
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="cell_1" style="left:0px; top:28px; width:150px; height:23px; text-align:center; vertical-align:middle; ">심정지 여부</caption>
- <input id="int_cardarrfindtm" ref="/root/main/resusinfo/resuslist/cardarrfindtm" class="input_default" navindex="20" format="hh:nn" style="left:574px; top:29px; width:50px; height:19px; "/>
- <input id="int_cardarrfinddd" ref="/root/main/resusinfo/resuslist/cardarrfinddd" class="input_default" navindex="19" inputtype="date" style="left:465px; top:29px; width:105px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:315px; top:28px; width:145px; height:23px; text-align:center; vertical-align:middle; ">심정지 발견시간</caption>
- <button id="btn_cardarrfindclock" class="icon_clock" navindex="21" style="left:628px; top:31px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/cardarrfinddd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/cardarrfinddd", getCurrentDate());
- int_cardarrfinddd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/cardarrfindtm", fCurrentDate());
- int_cardarrfindtm.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:0px; top:53px; width:150px; height:23px; text-align:center; vertical-align:middle; ">파랑새 발령 호출여부</caption>
- <select1 id="rdo_bluebirdalarmyn" ref="/root/main/resusinfo/resuslist/bluebirdalarmyn" navindex="26" appearance="full" cellspacing="31" cols="3" overflow="visible" style="left:155px; top:55px; width:110px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/resusinfo/resuslist/bluebirdalarmyn") == "Y"){
- int_bluebirdalarmdd.disabled = false;
- int_bluebirdalarmtm.disabled = false;
- btn_bluebirdalarmclock.disabled = false;
- }else{
- int_bluebirdalarmdd.disabled = true;
- int_bluebirdalarmtm.disabled = true;
- btn_bluebirdalarmclock.disabled = true;
- model.setValue("/root/main/resusinfo/resuslist/bluebirdalarmdd", "" );
- model.setValue("/root/main/resusinfo/resuslist/bluebirdalarmtm", "" );
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select id="chk_hosparvbfresus" ref="/root/main/resusinfo/resuslist/hosparvbfresus" navindex="45" overflow="visible" appearance="full" cellspacing="8" cols="7" style="left:282px; top:201px; width:525px; height:15px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>흉부압박</label>
- <value>01</value>
- </item>
- <item>
- <label>호흡보조</label>
- <value>02</value>
- </item>
- <item>
- <label>제세동</label>
- <value>03</value>
- </item>
- <item>
- <label>전문기도확보</label>
- <value>04</value>
- </item>
- <item>
- <label>정맥로확보</label>
- <value>05</value>
- </item>
- <item>
- <label>약물투여</label>
- <value>06</value>
- </item>
- <item>
- <label>기타</label>
- <value>09</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var checkval = "";
-
- for(var i=0; i<7; i++){
- if( chk_hosparvbfresus.item(i).selected == true){
- if(i == "6"){
- int_hosparvbfresusetc.disabled = false;
- }
- checkval += "1";
- }else {
- checkval += "0";
- }
- }
-
- model.makeValue("hidden/list/hosparvbfresus", checkval);
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- var checkval = "";
-
- for(var i=0; i<7; i++){
- if( chk_hosparvbfresus.item(i).selected == true){
- checkval += "1";
- }else {
- if(i == "6"){
- int_hosparvbfresusetc.value = "";
- int_hosparvbfresusetc.disabled = true;
- }
- checkval += "0";
- }
- }
-
- model.makeValue("hidden/list/hosparvbfresus", checkval);
- ]]>
- </script>
- </select>
- <caption id="caption12" class="cell_1" style="left:0px; top:198px; width:150px; height:23px; text-align:center; vertical-align:middle; ">병원 도착 전 처치</caption>
- <input id="int_hosparvbfresusetc" ref="/root/main/resusinfo/resuslist/hosparvbfresusetc" class="input_default" navindex="46" style="left:810px; top:200px; width:240px; height:19px; text-align:left; "/>
- <select id="chk_resusteamarvbfresusnurse" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusnurse" navindex="50" overflow="visible" appearance="full" cellspacing="8" cols="7" style="left:282px; top:250px; width:525px; height:15px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>흉부압박</label>
- <value>01</value>
- </item>
- <item>
- <label>호흡보조</label>
- <value>02</value>
- </item>
- <item>
- <label>제세동</label>
- <value>03</value>
- </item>
- <item>
- <label>전문기도확보</label>
- <value>04</value>
- </item>
- <item>
- <label>정맥로확보</label>
- <value>05</value>
- </item>
- <item>
- <label>약물투여</label>
- <value>06</value>
- </item>
- <item>
- <label>기타</label>
- <value>09</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var checkval = "";
-
- for(var i=0; i<7; i++){
- if( chk_resusteamarvbfresusnurse.item(i).selected == true){
- if(i == "6"){
- int_resusteamarvbfresusnurseetc.disabled = false;
- }
- checkval += "1";
- }else {
- checkval += "0";
- }
- }
-
- model.makeValue("hidden/list/resusteamarvbfresusnurse", checkval);
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- var checkval = "";
-
- for(var i=0; i<7; i++){
- if( chk_resusteamarvbfresusnurse.item(i).selected == true){
- checkval += "1";
- }else {
- if(i == "6"){
- int_resusteamarvbfresusnurseetc.value = "";
- int_resusteamarvbfresusnurseetc.disabled = true;
- }
- checkval += "0";
- }
- }
-
- model.makeValue("hidden/list/resusteamarvbfresusnurse", checkval);
- ]]>
- </script>
- </select>
- <input id="int_resusteamarvbfresusnurseetc" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusnurseetc" class="input_default" navindex="51" style="left:810px; top:247px; width:240px; height:19px; text-align:left; "/>
- <input id="int_cardarrgenrplcehosout" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehosout" class="input_default" navindex="40" style="left:213px; top:175px; width:245px; height:19px; text-align:left; "/>
- <caption id="caption13" class="cell_1" style="left:153px; top:224px; width:125px; height:23px; text-align:center; vertical-align:middle; "/>
- <caption id="caption15" class="cell_1" style="left:153px; top:247px; width:125px; height:23px; text-align:center; vertical-align:middle; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:52px; x2:1050px; y2:52px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:76px; x2:1050px; y2:76px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:101px; x2:1050px; y2:101px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:126px; x2:1050px; y2:126px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:196px; x2:1050px; y2:196px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:221px; x2:1050px; y2:221px; "/>
- <line id="line18" class="line_2" style="x1:0px; y1:268px; x2:1050px; y2:268px; "/>
- <line id="line19" class="line_2" style="x1:0px; y1:337px; x2:1055px; y2:337px; "/>
- <line id="line20" class="line_2" style="x1:0px; y1:361px; x2:1055px; y2:361px; "/>
- <caption id="caption8" class="cell_1" style="left:487px; top:315px; width:160px; height:23px; text-align:center; vertical-align:middle; ">담당의(주치의) 도착시간</caption>
- <input id="int_atdoctarrdd" ref="/root/main/resusinfo/resuslist/atdoctarrdd" class="input_default" navindex="57" inputtype="date" style="left:651px; top:317px; width:110px; height:19px; "/>
- <button id="button6" class="icon_clock" navindex="59" style="left:816px; top:318px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/atdoctarrdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/atdoctarrdd", getCurrentDate());
- int_atdoctarrdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/atdoctarrtm", fCurrentDate());
- int_atdoctarrtm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_atdoctarrtm" ref="/root/main/resusinfo/resuslist/atdoctarrtm" class="input_default" navindex="58" format="hh:nn" style="left:765px; top:317px; width:46px; height:19px; "/>
- <button id="btn_nursesave" class="btn4_letter4" navindex="90" style="left:974px; top:0px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
- if( model.getValue("/root/main/resusinfo/resuslist/nursesaveid") != "" ){
- if( model.getValue("/root/main/resusinfo/resuslist/nursesaveid") == getUserInfo("userid") ){
- if( messageBox("기록을 저장하시겠습니까?", "Q999") == 6 ){
- fPartCardArrResusSave("1");
- }else{
- return;
- }
- }else{
- messageBox("수정권한이 없습니다( 입력자만 수정가능 )","E");
- return;
- }
- }else{
- if( messageBox("기록을 저장하시겠습니까?", "Q999") == 6 ){
- fPartCardArrResusSave("1");
- }else{
- return;
- }
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption32" class="cell_1" style="left:153px; top:198px; width:125px; height:23px; text-align:center; vertical-align:middle; "/>
- <select1 id="rdo_hosparvbfresusynflag" ref="/root/main/resusinfo/resuslist/hosparvbfresusynflag" navindex="44" appearance="full" cols="3" vcellspacing="8" overflow="visible" style="left:155px; top:196px; width:120px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>해당X</label>
- <value>X</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // '유'일 경우에만 abled
- if( model.getValue("/root/main/resusinfo/resuslist/hosparvbfresusynflag") == "Y"){
- chk_hosparvbfresus.disabled = false;
- int_hosparvbfresusetc.disabled = false;
- }else{ // '해당없음', '무'일 경우에
- chk_hosparvbfresus.disabled = true;
- int_hosparvbfresusetc.disabled = true;
- model.setValue("/root/main/resusinfo/resuslist/hosparvbfresus" , "");
- model.setValue("/root/main/resusinfo/resuslist/hosparvbfresusetc", "");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption44" class="cell_1" style="left:695px; top:387px; width:120px; height:23px; text-align:center; vertical-align:middle; ">소생술 종료시간</caption>
- <input id="int_resustotm" ref="/root/main/resusinfo/resuslist/resustotm" class="input_default" navindex="78" format="hh:nn" style="left:923px; top:389px; width:50px; height:19px; "/>
- <button id="button2" class="icon_clock" navindex="79" style="left:977px; top:391px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/resustodd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/resustodd", getCurrentDate());
- int_resustodd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/resustotm", fCurrentDate());
- int_resustotm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_resustodd" ref="/root/main/resusinfo/resuslist/resustodd" class="input_default" navindex="77" inputtype="date" style="left:820px; top:389px; width:100px; height:19px; "/>
- <select1 id="rdo_cardarrrslt" ref="/root/main/resusinfo/resuslist/cardarrrslt" navindex="82" appearance="full" cellspacing="15" cols="4" vcellspacing="2" overflow="visible" style="left:156px; top:438px; width:288px; height:20px; text-align:left; letter-spacing:1; border-style:none; ">
- <choices>
- <item>
- <label>자발순환회복</label>
- <value>05</value>
- </item>
- <item>
- <label>자발순환회복못함(사망)</label>
- <value>01</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/cardarrrslt") == "01"){
- int_dethdd.disabled= false;
- int_dethtm.disabled= false;
- btn_dschdethtm.disabled= false;
- } else {
- int_dethdd.disabled= true;
- int_dethtm.disabled= true;
- btn_dschdethtm.disabled= true;
- model.setValue("/root/main/resusinfo/resuslist/dschdethdd", "");
- model.setValue("/root/main/resusinfo/resuslist/dschdethtm", "");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_dschdethtm" class="icon_clock" navindex="85" style="left:816px; top:440px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/dschdethdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/dschdethdd", getCurrentDate());
- int_dethdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/dschdethtm", fCurrentDate());
- int_dethtm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_dethdd" ref="/root/main/resusinfo/resuslist/dschdethdd" class="input_default" navindex="83" inputtype="date" style="left:651px; top:438px; width:110px; height:19px; "/>
- <caption id="caption23" class="cell_1" style="left:1px; top:411px; width:150px; height:23px; text-align:center; vertical-align:middle; ">소생술 종료사유</caption>
- <select1 id="rdo_resusendresn" ref="/root/main/resusinfo/resuslist/resusendresn" navindex="80" appearance="full" cellspacing="20" cols="4" overflow="visible" style="left:156px; top:414px; width:445px; height:16px; text-align:left; letter-spacing:1; border-style:none; ">
- <choices>
- <item>
- <label>자발순환회복</label>
- <value>01</value>
- </item>
- <item>
- <label>심폐소생술 반응없음</label>
- <value>02</value>
- </item>
- <item>
- <label>DNR</label>
- <value>03</value>
- </item>
- <item>
- <label>기타</label>
- <value>09</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/resusendresn") == "09"){
- int_resusendresnetc.disabled = false;
- } else {
- int_resusendresnetc.value = "";
- int_resusendresnetc.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <input id="int_resusendresnetc" ref="/root/main/resusinfo/resuslist/resusendresnetc" class="input_default" navindex="81" style="left:566px; top:412px; width:484px; height:19px; text-align:left; "/>
- <caption id="caption24" class="cell_1" style="left:1px; top:435px; width:150px; height:23px; text-align:center; vertical-align:middle; ">소생술 결과</caption>
- <caption id="caption25" class="cell_1" style="left:487px; top:435px; width:160px; height:23px; text-align:center; vertical-align:middle; ">사 망 일 시</caption>
- <input id="int_dethtm" ref="/root/main/resusinfo/resuslist/dschdethtm" class="input_default" navindex="84" format="hh:nn" style="left:765px; top:438px; width:46px; height:19px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:409px; x2:1055px; y2:409px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:433px; x2:1055px; y2:433px; "/>
- <bool id="bool_cardarrestmflag" navindex="25" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/cardarrestmflag" style="left:978px; top:31px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/resusinfo/resuslist/cardarrestmflag") == "Y" ){ //추정불가
- model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", "");
- model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", "");
- int_cardarrestmdd.disabled = true;
- int_cardarrestmtm.disabled = true;
- btn_cardarrestmclock.disabled = true;
- }else{
- int_cardarrestmdd.disabled = false;
- int_cardarrestmtm.disabled = false;
- btn_cardarrestmclock.disabled = false;
- }
-
- int_cardarrestmdd.refresh();
- int_cardarrestmtm.refresh();
- btn_cardarrestmclock.refresh();
- ]]>
- </script>
- </bool>
- <caption id="caption21" style="left:995px; top:32px; width:50px; height:15px; ">
- <![CDATA[추정불가]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( model.getValue("/root/main/resusinfo/resuslist/cardarrestmflag") =="Y"){
- model.setValue("/root/main/resusinfo/resuslist/cardarrestmflag", "N");
- }else{
- model.setValue("/root/main/resusinfo/resuslist/cardarrestmflag", "Y");
- }
- model.refresh();
- ]]>
- </script>
- </caption>
- <input id="int_cardarrgenrplceetcbigo" ref="/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo" class="input_default" navindex="42" style="left:560px; top:175px; width:255px; height:19px; text-align:left; "/>
- <input id="cmb_cardarrgenrplcehoscenter" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter" class="input_default" navindex="41" style="left:560px; top:153px; width:255px; height:19px; text-align:left; "/>
- <select1 id="rdo_fstresusexecflag" ref="/root/main/resusinfo/resuslist/fstresusexecflag" navindex="52" appearance="full" cellspacing="30" cols="5" overflow="visible" style="left:204px; top:295px; width:402px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>전문의</label>
- <value>01</value>
- </item>
- <item>
- <label>전공의</label>
- <value>02</value>
- </item>
- <item>
- <label>인 턴</label>
- <value>06</value>
- </item>
- <item>
- <label>간호사</label>
- <value>07</value>
- </item>
- <item>
- <label>기 타</label>
- <value>09</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/fstresusexecflag") == "09"){
- int_fstresusexecetc.disabled = false;
- } else {
- int_fstresusexecetc.value = "";
- int_fstresusexecetc.disabled = true;
- }
- int_fstresusexecetc.refresh();
- ]]>
- </script>
- </select1>
- <input id="int_fstresusexecetc" ref="/root/main/resusinfo/resuslist/fstresusexecetc" class="input_default" navindex="53" style="left:605px; top:293px; width:445px; height:19px; text-align:left; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:291px; width:150px; height:23px; text-align:center; vertical-align:middle; ">최초 소생술 시행자</caption>
- <caption id="caption20" style="left:158px; top:296px; width:40px; height:15px; ">의 사 (</caption>
- <caption id="caption47" style="left:426px; top:291px; width:15px; height:25px; ">)</caption>
- <line id="line11" class="line_2" style="x1:0px; y1:313px; x2:1055px; y2:313px; "/>
- <input id="int_initrhythmcnfmtm" ref="/root/main/resusinfo/resuslist/initrhythmcnfmtm" class="input_default" navindex="64" format="hh:nn" style="left:270px; top:364px; width:50px; height:19px; "/>
- <button id="button4" class="icon_clock" navindex="65" style="left:324px; top:365px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/initrhythmcnfmdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/initrhythmcnfmdd", getCurrentDate());
- int_initrhythmcnfmdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/initrhythmcnfmtm", fCurrentDate());
- int_initrhythmcnfmtm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_initrhythmcnfmdd" ref="/root/main/resusinfo/resuslist/initrhythmcnfmdd" class="input_default" navindex="63" inputtype="date" style="left:156px; top:364px; width:110px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:0px; top:363px; width:150px; height:23px; text-align:center; vertical-align:middle; ">초기리듬 확인시간</caption>
- <button id="button5" class="icon_clock" navindex="71" style="left:324px; top:390px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/defibrstartdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", getCurrentDate());
- int_defibrstartdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", fCurrentDate());
- int_defibrstarttm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_defibrstarttm" ref="/root/main/resusinfo/resuslist/defibrstarttm" class="input_default" navindex="70" format="hh:nn" style="left:270px; top:388px; width:50px; height:19px; "/>
- <bool id="bool_defibrflag" navindex="76" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/defibrflag" style="left:612px; top:390px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/resusinfo/resuslist/defibrflag") =="Y"){
- model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrjul", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrtims", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrjul2", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrtims2", "" );
- int_defibrstartdd.disabled = true;
- int_defibrstarttm.disabled = true;
- ipt_defibrjul.disabled = true;
- ipt_defibrtims.disabled = true;
- ipt_defibrjul2.disabled = true;
- ipt_defibrtims2.disabled = true;
- button5.disabled = true;
- }else{
- int_defibrstartdd.disabled = false;
- int_defibrstarttm.disabled = false;
- ipt_defibrjul.disabled = false;
- ipt_defibrtims.disabled = false;
- ipt_defibrjul2.disabled = false;
- ipt_defibrtims2.disabled = false;
- button5.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <caption id="caption43" visibility="visible" style="left:588px; top:391px; width:20px; height:15px; text-align:center; ">회</caption>
- <input id="ipt_defibrtims" ref="/root/main/resusinfo/resuslist/defibrtims" navindex="73" format="#,###" maxbyte="4" style="left:413px; top:388px; width:45px; height:19px; "/>
- <caption id="caption52" style="left:629px; top:391px; width:60px; height:15px; ">
- <![CDATA[시행안함]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( model.getValue("/root/main/resusinfo/resuslist/defibrflag") =="Y"){
- model.setValue("/root/main/resusinfo/resuslist/defibrflag", "N");
- int_defibrstartdd.disabled = false;
- int_defibrstarttm.disabled = false;
- ipt_defibrjul.disabled = false;
- ipt_defibrtims.disabled = false;
- ipt_defibrjul2.disabled = false;
- ipt_defibrtims2.disabled = false;
- button2.disabled = false;
-
- }else{
- model.setValue("/root/main/resusinfo/resuslist/defibrflag", "Y");
- model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrjul", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrtims", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrjul2", "" );
- model.setValue("/root/main/resusinfo/resuslist/defibrtims2", "" );
- int_defibrstartdd.disabled = true;
- int_defibrstarttm.disabled = true;
- ipt_defibrjul.disabled = true;
- ipt_defibrtims.disabled = true;
- ipt_defibrjul2.disabled = true;
- ipt_defibrtims2.disabled = true;
- button2.disabled = true;
- }
- model.refresh();
- ]]>
- </script>
- </caption>
- <input id="ipt_defibrjul" ref="/root/main/resusinfo/resuslist/defibrjul" navindex="72" format="#,###" maxbyte="4" style="left:350px; top:388px; width:45px; height:19px; "/>
- <caption id="caption53" style="left:392px; top:391px; width:20px; height:15px; text-align:center; ">J</caption>
- <input id="int_defibrstartdd" ref="/root/main/resusinfo/resuslist/defibrstartdd" class="input_default" navindex="69" inputtype="date" style="left:156px; top:388px; width:110px; height:19px; "/>
- <caption id="caption54" style="left:457px; top:391px; width:20px; height:15px; text-align:center; ">회</caption>
- <input id="ipt_defibrtims2" ref="/root/main/resusinfo/resuslist/defibrtims2" navindex="75" visibility="visible" format="#,###" maxbyte="4" style="left:544px; top:388px; width:45px; height:19px; "/>
- <caption id="caption55" visibility="visible" style="left:525px; top:391px; width:20px; height:15px; text-align:center; ">J</caption>
- <input id="ipt_defibrjul2" ref="/root/main/resusinfo/resuslist/defibrjul2" navindex="74" visibility="visible" format="#,###" maxbyte="4" style="left:483px; top:388px; width:45px; height:19px; "/>
- <line id="line12" class="line_2" style="x1:1px; y1:385px; x2:1056px; y2:385px; "/>
- <select1 id="rdo_cardarrgenrplcewardflag" ref="/root/main/resusinfo/resuslist/cardarrgenrplcewardflag" navindex="38" appearance="full" cols="2" overflow="visible" style="left:351px; top:132px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>병실</label>
- <value>1</value>
- </item>
- <item>
- <label>병실 외</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption56" class="cell_1" style="left:154px; top:266px; width:125px; height:23px; text-align:center; vertical-align:middle; "/>
- <select id="chk_resusteamarvbfresusflag" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusflag" navindex="47" overflow="visible" appearance="full" cellspacing="15" cols="1" vcellspacing="5" style="left:155px; top:225px; width:115px; height:63px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>담당의(주치의)</label>
- <value>1</value>
- </item>
- <item>
- <label>간호사</label>
- <value>2</value>
- </item>
- <item>
- <label>기타직종</label>
- <value>9</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var txt = model.getValue("/root/main/resusinfo/resuslist/resusteamarvbfresusflag");
- var tmp1 = txt.split(" ");
- var doctorchk = 0;
- var nursechk = 0;
-
- for( var i = 0; i < tmp1.length; i++ ){
- if( tmp1[i] == "1" ){
- chk_resusteamarvbfresus.disabled = false;
- // int_resusteamarvbfresusetc.disabled = false;
- doctorchk++;
- }
- if( tmp1[i] == "2" ){
- chk_resusteamarvbfresusnurse.disabled = false;
- // int_resusteamarvbfresusnurseetc.disabled = false;
- nursechk++;
- }
- }
-
- if( doctorchk < 1 ){
- chk_resusteamarvbfresus.disabled = true;
- int_resusteamarvbfresusetc.disabled = true;
- chk_resusteamarvbfresus.value = "";
- int_resusteamarvbfresusetc.value = "";
- model.setValue("/root/main/resusinfo/resuslist/resusteamarvbfresus", "");
- model.setValue("/root/main/resusinfo/resuslist/resusteamarvbfresusetc", "");
- }
- if( nursechk < 1 ){
- chk_resusteamarvbfresusnurse.disabled = true;
- int_resusteamarvbfresusnurseetc.disabled = true;
- chk_resusteamarvbfresusnurse.value = "";
- int_resusteamarvbfresusnurseetc.value = "";
- model.setValue("/root/main/resusinfo/resuslist/resusteamarvbfresusnurse", "");
- model.setValue("/root/main/resusinfo/resuslist/resusteamarvbfresusnurseetc", "");
- }
-
- model.refresh();
- ]]>
- </script>
- </select>
- <input id="int_resusteamarvbfresustext" ref="/root/main/resusinfo/resuslist/resusteamarvbfresustext" class="input_default" navindex="51" style="left:282px; top:270px; width:768px; height:19px; text-align:left; "/>
- <line id="line13" class="line_2" style="x1:3px; y1:290px; x2:1048px; y2:290px; "/>
- </group>
- <group id="group1" scroll="auto" style="left:810px; top:45px; width:243px; height:133px; text-align:center; ">
- <datagrid id="grd_pastlst" nodeset="/root/main/pathistinfo/pathistlist" caption="기록저장일시^기록자" colsep="^" colwidth="130, 89" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:3px; width:242px; height:127px; ">
- <col ref="lastupdtrdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="lastupdtrnm"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="cardarrgenrdt" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var cnt = getNodesetCount("/root/main/pathistinfo/pathistlist");
- if( cnt > 0 ){
- model.setValue("/root/main/patinfo/selectrow", grd_pastlst.row);
- //int_cardarrgenrdd.disabled = true;
- fSelectHistData("1");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line36" class="line_1" style="x1:0px; y1:0px; x2:242px; y2:0px; "/>
- </group>
- <output id="output1" ref="/root/saveinfo/nurseinfo" style="left:666px; top:181px; width:305px; height:19px; font-weight:bold; color:#008000; text-align:center; vertical-align:middle; background-color:#ffff99; "/>
- <group id="grp_patinfogroup" style="left:0px; top:45px; width:803px; height:135px; ">
- <line id="line8" class="line_1" style="x1:0px; y1:0px; x2:803px; y2:0px; "/>
- <select1 id="cmb_medispclid" ref="/root/main/patinfo/medispclid" navindex="10" appearance="minimal" editmode="inputsearch" style="left:324px; top:82px; width:133px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_genrclock" class="icon_clock" navindex="15" style="left:236px; top:110px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrdd") == ""){
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdd", getCurrentDate());
- int_cardarrgenrdd.refresh();
- }
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrtm", fCurrentDate());
- int_cardarrgenrtm.refresh();
- ]]>
- </script>
- </button>
- <input id="int_cardarrgenrdd" ref="/root/main/patinfo/cardarrgenrdd" navindex="13" inputtype="date" style="left:83px; top:108px; width:95px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDateSetting("Change");
- //model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
- ]]>
- </script>
- </input>
- <caption id="caption42" class="cell_1" style="left:461px; top:80px; width:76px; height:23px; text-align:center; vertical-align:middle; ">담 당 의</caption>
- <caption id="caption31" class="cell_1" style="left:654px; top:54px; width:45px; height:23px; text-align:center; vertical-align:middle; ">병 동</caption>
- <select1 id="cmb_atdoctcd" ref="/root/main/patinfo/atdoctcd" navindex="11" appearance="minimal" editmode="inputsearch" style="left:542px; top:82px; width:108px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/userlist2/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:654px; top:81px; width:45px; height:23px; text-align:center; vertical-align:middle; ">병 실</caption>
- <select1 id="rdo_patinfoflag" ref="/root/main/patinfo/patinfoflag" navindex="1" appearance="full" cellspacing="6" cols="3" overflow="visible" style="left:83px; top:8px; width:295px; height:42px; text-align:left; line-spacing:3; border-style:none; ">
- <choices>
- <item>
- <label>입원환자</label>
- <value>1</value>
- </item>
- <item>
- <label>외래 내원환자</label>
- <value>2</value>
- </item>
- <item>
- <label>응급실 내원환자</label>
- <value>3</value>
- </item>
- <item>
- <label>보호자</label>
- <value>4</value>
- </item>
- <item>
- <label>방문객</label>
- <value>5</value>
- </item>
- <item>
- <label>기타</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/patinfo/patinfoflag") == "4" || model.getValue("/root/main/patinfo/patinfoflag") == "5" || model.getValue("/root/main/patinfo/patinfoflag") == "6"){
- btn_nopid.visible = true;
- int_patnm.disabled = false;
- model.setValue("/root/main/patinfo/patgubun", "2");
- }else{
- int_patnm.disabled = true;
- btn_nopid.visible = false;
- model.setValue("/root/main/patinfo/patgubun", "1");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="cell_1" style="left:0px; top:80px; width:80px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
- <caption id="caption11" class="cell_1" style="left:257px; top:106px; width:63px; height:23px; text-align:center; vertical-align:middle; ">진 단 명</caption>
- <line id="line14" class="line_2" style="x1:3px; y1:104px; x2:802px; y2:104px; "/>
- <textarea id="int_patinfoflagetc" ref="/root/main/resusinfo/resuslist/patinfoflagetc" navindex="2" style="left:375px; top:5px; width:425px; height:45px; text-align:left; vertical-align:top; "/>
- <caption id="caption33" class="cell_1" style="left:257px; top:80px; width:63px; height:23px; text-align:center; vertical-align:middle; ">전 문 의</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:106px; width:80px; height:23px; text-align:center; vertical-align:middle; ">발생일시</caption>
- <select1 id="cmb_roomcd" ref="/root/main/patinfo/roomcd" navindex="12" appearance="minimal" editmode="search" style="left:702px; top:82px; width:95px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/temp/cond/roomcdgrup/roomcdgruplist">
- <label ref="roomnm"/>
- <value ref="roomcd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line1" class="line_2" style="x1:0px; y1:52px; x2:802px; y2:52px; "/>
- <caption id="caption14" class="cell_1" style="left:196px; top:54px; width:59px; height:23px; text-align:center; vertical-align:middle; ">환 자 명</caption>
- <input id="input1" ref="/root/main/patinfo/age" class="input_default" navindex="7" style="left:592px; top:56px; width:58px; height:19px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:78px; x2:802px; y2:78px; "/>
- <select1 id="cmb_wardcd" ref="/root/main/patinfo/wardcd" navindex="8" appearance="minimal" editmode="search" style="left:702px; top:56px; width:95px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/ward/">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetCareComRoomList(cmb_wardcd.value);// 병실정보를 가져온다.
- ]]>
- </script>
- </select1>
- <caption id="caption16" class="cell_1" style="left:0px; top:5px; width:80px; height:46px; text-align:center; vertical-align:middle; ">
- <![CDATA[대상자
- 구 분]]>
- </caption>
- <input id="input3" ref="/root/main/patinfo/diagnm" class="input_default" navindex="16" style="left:324px; top:108px; width:451px; height:19px; text-align:left; "/>
- <input id="int_cardarrgenrtm" ref="/root/main/patinfo/cardarrgenrtm" class="input_default" navindex="14" format="hh:nn" style="left:181px; top:108px; width:50px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
- ]]>
- </script>
- </input>
- <caption id="caption17" class="cell_1" style="left:0px; top:54px; width:80px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <input id="int_patnm" ref="/root/main/patinfo/patnm" class="input_default" navindex="4" maxlength="10" style="left:259px; top:56px; width:118px; height:19px; font-weight:bold; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- ]]>
- </script>
- </input>
- <select1 id="cmb_gender" ref="/root/main/patinfo/gender" navindex="6" appearance="minimal" style="left:462px; top:56px; width:73px; height:19px; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="cell_1" style="left:539px; top:54px; width:50px; height:23px; text-align:center; vertical-align:middle; ">나 이</caption>
- <caption id="caption18" class="cell_1" style="left:405px; top:54px; width:53px; height:23px; text-align:center; vertical-align:middle; ">성 별</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:130px; x2:802px; y2:130px; "/>
- <select1 id="cmb_dept" ref="/root/main/patinfo/orddeptcd" navindex="9" appearance="minimal" editmode="search" style="left:83px; top:82px; width:170px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/userlist");
- model.removeNodeset("/root/init/userlist2");
-
- model.makeNode("/root/init/userlist/usercombo");
- model.makeNode("/root/init/userlist2/usercombo");
-
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_dept.value, "0330", "", "M", "", "", "P");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2", cmb_dept.value, "0330", "", "A", "", "", "P");
-
- if (model.getValue("/root/main/patinfo/orddeptcd") == "-") {
- model.makeValue("/root/init/userlist/usercombo/userid", "-");
- model.makeValue("/root/init/userlist/usercombo/usernm", "전체");
- model.makeValue("/root/init/userlist2/usercombo/userid", "-");
- model.makeValue("/root/init/userlist2/usercombo/usernm", "전체");
- } else {
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- addComboInstance("/root/init/userlist2", "userid^usernm", "-^전체", "usercombo");//의사콤보 전체항목 추가
- }
- model.setValue("/root/main/patinfo/medispclid", "-");
- model.setValue("/root/main/patinfo/atdoctcd", "-");
-
- cmb_medispclid.refresh();
- cmb_atdoctcd.refresh();
-
- ]]>
- </script>
- </select1>
- </group>
- <output id="output4" ref="/root/saveinfo/lastinfo" style="left:330px; top:24px; width:470px; height:19px; font-weight:bold; color:#ff0000; text-align:right; line-spacing:1; background-color:#ffffff; "/>
- <input id="ipt_pid" ref="/root/main/patinfo/pid" class="input_essential" navindex="3" maxlength="10" style="left:83px; top:101px; width:109px; height:19px; font-weight:bold; color:#0000ff; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- // btn_new.dispatch("DOMActivate");
- grp_patinfogroup.disabled = false;
- fClearChildNode("/root/main/resusinfo/resuslist");
- model.setValue("/root/main/patinfo/diagnm" ,"");
- fSrchPatListInput("1");
- var cnt = getNodesetCount("/root/main/pathistinfo/pathistlist");
- if( cnt >= 1 ){
- grd_pastlst.row = 1;
- grd_pastlst.dispatch("onclick");
- }
- }
- ]]>
- </script>
- </input>
- <button id="btn_nopid" class="icon_search" navindex="5" visibility="hidden" style="left:380px; top:102px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = 0;
- model.setValue("/root/srchmax/popflag", "Y");
- modal("SPMNE02305");
- btn_new.dispatch("DOMActivate");
- if( model.getValue("/root/main/patinfo/pid") != "" ){
- fSrchPatListInput("1");
- cnt = getNodesetCount("/root/main/pathistinfo/pathistlist" );
- if( cnt >= 1 ){
- grd_pastlst.row = 1;
- grd_pastlst.dispatch("onclick");
- }
- }
- model.setValue("/root/srchmax/popflag", "N");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_diagnm" class="icon_search" navindex="17" style="left:780px; top:155px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var paminfo = model.getValue("/root/main/patinfo/pid") +"▦" + getCurrentDate();
- setParameter("SPMMO03100_patinfo", paminfo);
-
- modal("SPMMO03100");
-
- if ( getParameter( "SPMMO03100_rtn_useyn" ) == "Y" ) {
- addSetDiag(getParameter( "SPMMO03100_rtn" ));
- setParameter( "SPMMO03100_rtn_useyn", "" );
- setParameter( "SPMMO03100_rtn", "" );
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|