12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>퇴실정리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <inddpatlist>
- <inddpatinfo>
- <bedposcnts/>
- <patnm/>
- <sexage/>
- <pid/>
- <ioflag/>
- <indd/>
- <intm/>
- <cretno/>
- <seqno/>
- <instcd/>
- <dschdclrtyn/>
- <visitno/>
- <chosdt/>
- <dschdclrdt/>
- <orddeptcd/>
- <orddrid/>
- <roomcd/>
- <medispclid/>
- <assgroom/>
- <wardcd/>
- <ordtype/>
- <dethdd/>
- <dethtm/>
- <dethyn/>
- <g3existyn/>
- <inrsrvacptdt/>
- <uncnfmcnt/>
- <oxyconcen/>
- <recovwardcd/>
- <fstexamorddd/>
- </inddpatinfo>
- </inddpatlist>
- <incplist>
- <testinfo>
- <execyn/>
- <viewstat/>
- <prcpdd/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpqty/>
- <prcptims/>
- <prcpdayno/>
- <prcphopedd/>
- <prcpno/>
- <prcphistno/>
- <pid/>
- <orddd/>
- <cretno/>
- <instcd/>
- <selectyn/>
- <prcpflag/>
- <testtp/>
- <inclprcpcd/>
- <prcpexecdeptcd/>
- <prcpstatcd/>
- <clinccmtcnts/>
- <grupsnglflag/>
- <c2check/>
- <dcyn/>
- <prcpclscd/>
- </testinfo>
- <narcoticlist>
- <narcstat/>
- <cnclstat/>
- <rtnstat/>
- <prcpdd/>
- <prcpcd/>
- <prcpnm/>
- </narcoticlist>
- <inginfo>
- <execyn/>
- <prcphopedd/>
- <drugno/>
- <orddeptcd/>
- <orddrid/>
- <prcpstatcd/>
- <prcpmixno/>
- <precureprcpflag/>
- <prcphistno/>
- <prcpcd/>
- <prcpvol/>
- <prcpvolunitflag/>
- <prcpqty/>
- <prcpqtyunitflag/>
- <pharmprnt/>
- <clinccmtcnts/>
- <prcpnm/>
- <drugdd/>
- <prcpdd/>
- <prcpkindcdyn/>
- <prcpno/>
- <pid/>
- <orddd/>
- <cretno/>
- <instcd/>
- <selectyn/>
- <prcpflag/>
- <prcpclscd/>
- <prcpgenrflag/>
- <wardcd/>
- <hosinhosoutflag/>
- <prcptims/>
- <prcpdayno/>
- </inginfo>
- </incplist>
- <condition>
- <section>-</section>
- <outrmdd/>
- <outrmtm/>
- <outrmtp/>
- <chnghospcd/>
- <chnghospnm/>
- <chnghospnmetc/>
- <outrmcd/>
- <dethdd/>
- <dethtm/>
- <pid/>
- <healcaretgdyn/>
- <proceraprvyn/>
- <researchflag/>
- <t_patinfo/>
- <t_chosdt/>
- <t_outrmdt/>
- <t_calctm/>
- <t_assgroom/>
- <outrmetc/>
- <etcchoi/>
- <chnghospchoi/>
- <dschhosptype/>
- <cmb/>
- <typedetl/>
- <t_fstexamorddd/>
- <outarea/>
- <outhsrt/>
- </condition>
- <basepatinfo>
- <patinfo/>
- <inddtm/>
- <outtm/>
- <staytm/>
- <assgroom/>
- </basepatinfo>
- <ertriage/>
- </main>
- <send>
- <cond1/>
- <cond2/>
- <cond3/>
- <signinfo>
- <signdata/>
- </signinfo>
- </send>
- <init>
- <ocrchkinfo/>
- <erbaselist>
- <outrminfo>
- </outrminfo>
- <bedinfo>
- </bedinfo>
- </erbaselist>
- <M0011list>
- <M0011>
- </M0011>
- </M0011list>
- <statclist>
- <statinfo>
- <cdnm>-</cdnm>
- <cdid>-</cdid>
- </statinfo>
- <statinfo>
- <cdnm>D/C</cdnm>
- <cdid>1</cdid>
- </statinfo>
- <statinfo>
- <cdnm>Acting</cdnm>
- <cdid>2</cdid>
- </statinfo>
- <statinfo>
- <cdnm>병동이관</cdnm>
- <cdid>3</cdid>
- </statinfo>
- </statclist>
- <execflag>
- <item>
- <cdnm>N</cdnm>
- <cdid>N</cdid>
- </item>
- <item>
- <cdnm>Y</cdnm>
- <cdid>Y</cdid>
- </item>
- <item>
- <cdnm>반환요청</cdnm>
- <cdid>DC</cdid>
- </item>
- <item>
- <cdnm>반환요청</cdnm>
- <cdid>E</cdid>
- </item>
- <item>
- <cdnm>ABN</cdnm>
- <cdid>폐기요청</cdid>
- </item>
- <item>
- <cdnm>퇴원후</cdnm>
- <cdid>OUT</cdid>
- </item>
- <item>
- <cdnm>N</cdnm>
- <cdid>PRE</cdid>
- </item>
- </execflag>
- <M0535list>
- <M0535>
- </M0535>
- </M0535list>
- </init>
- <hidden>
- <item>
- <label/>
- <value/>
- </item>
- </hidden>
- <item>
- </item>
- <codedata>
- <popupmenu>
- <grid00>
- <item>
- <name>D/C</name>
- <func>DefTestDC</func>
- </item>
- <item>
- <name>Acting</name>
- <func>DefTestAct</func>
- </item>
- </grid00>
- <grid01>
- <item>
- <name>상태초기화</name>
- <func>ChosTestInit</func>
- </item>
- <item>
- <name>병동이관</name>
- <func>ChosTestWard</func>
- </item>
- <item>
- <name>D/C</name>
- <func>ChosTestDC</func>
- </item>
- <item>
- <name>Acting</name>
- <func>ChosTestAct</func>
- </item>
- </grid01>
- <grid02>
- <item>
- <name>상태초기화</name>
- <func>ChosTestInit</func>
- </item>
- <item>
- <name>D/C</name>
- <func>ChosTestDC</func>
- </item>
- <item>
- <name>Acting</name>
- <func>ChosTestAct</func>
- </item>
- </grid02>
- <grid10>
- <item>
- <name>D/C</name>
- <func>DefIngDC</func>
- </item>
- </grid10>
- <grid11>
- <item>
- <name>상태초기화</name>
- <func>ChosIngInit</func>
- </item>
- <item>
- <name>D/C</name>
- <func>ChosIngDC</func>
- </item>
- </grid11>
- </popupmenu>
- </codedata>
- <save>
- <saveflaginfo>
- <savedataflag/>
- <saveflag/>
- <prcpflag/>
- <inptflag/>
- <deptcd/>
- <deptnm/>
- <userid/>
- <usernm/>
- <signyn/>
- <pamflag/>
- <diagflag/>
- <prcperrflag/>
- </saveflaginfo>
- <savergstinfo>
- <pid/>
- <orddd/>
- <indd/>
- <cretno/>
- <orddeptcd/>
- <orddrid/>
- <instcd/>
- </savergstinfo>
- <saveprcpinfo>
- <prcpdd/>
- <prcpno/>
- <prcphistno/>
- <instcd/>
- <status/>
- <rowno/>
- </saveprcpinfo>
- </save>
- <date>
- <refdd/>
- <maxDate/>
- <minDate/>
- </date>
- <temp>
- <patinforesrch>
- <patinfo/>
- <bloodinfo>
- <bloodcomment/>
- </bloodinfo>
- </patinforesrch>
- <transinfo>
- <translist/>
- </transinfo>
- </temp>
- <signinfo>
- <reqsigncond>
- <pid/>
- <instcd/>
- <indd/>
- <cretno/>
- <prcpdd/>
- <prcpno/>
- <workdd/>
- <listflag/>
- <nursnm/>
- <hngnm/>
- <medrexecdd/>
- <medrexectm/>
- <prcpddprcpno/>
- </reqsigncond>
- <signdruginfo>
- <signdruglist>
- <pid/>
- <hngnm/>
- <prcpdd/>
- <execdd/>
- <prcpkindnm/>
- <prcpmixno/>
- <prcpcd/>
- <prcpnm/>
- <prcpvolnm/>
- <prcpqtynm/>
- <abbrnm/>
- <exectm/>
- <nursnm/>
- <execcarestatnm/>
- <carecfactnm/>
- <orddrnm/>
- </signdruglist>
- </signdruginfo>
- <signsave>
- <signdata>
- <pid/>
- <hngnm/>
- <prcpdd/>
- <execdd/>
- <prcpkindnm/>
- <prcpmixno/>
- <prcpcd/>
- <prcpnm/>
- <prcpvolnm/>
- <prcpqtynm/>
- <abbrnm/>
- <exectm/>
- <nursnm/>
- <execcarestatnm/>
- <carecfactnm/>
- <orddrnm/>
- <orddd/>
- <signno/>
- <cretno/>
- <recdd/>
- <rectm/>
- <recsaveflag/>
- <signflag/>
- <signgenrflag/>
- <formcd/>
- <orddeptcd/>
- <orddrid/>
- <signbfcnts/>
- <signaftcnts/>
- <execprcpuniqno/>
- <signflagyn/>
- <dispyn/>
- </signdata>
- </signsave>
- </signinfo>
- <hidden1>
- <incplist/>
- </hidden1>
- <codeinfo/>
- <hidden2>
- <item>
- <label/>
- <value/>
- </item>
- </hidden2>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LAZ001.js"/>
- <script type="javascript" src="../../../emr/wardcareweb/js/SMMNB01810.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/ercareweb/js/SMMNE00200.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <!-- (20080917) 김보성-->
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <!-- (20080917) -->
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo/codelist"/>
- <submission id="TRMNE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/patinforesrch"/>
- <submission id="TRMNE00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/erbaselist"/>
- <submission id="TRMNE00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/ocrchkinfo"/>
- <submission id="TRMNE00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/callno"/>
- <submission id="TRMNE00207" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/smsmsg/log" resultref="/root/main/smsyn"/>
- <submission id="TXMNE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/inddpatlist"/>
- <submission id="TXMNE00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/incplist"/>
- <submission id="TXMNE00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMNE00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/incplist"/>
- <submission id="TRZBC00101" method="post" replace="instance"/>
- <!-- (20080917) 김보성-->
- <submission id="TRMNR00608" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/signinfo/reqsigncond" resultref="/root/signinfo/signsave"/>
- <submission id="TRMNR00609" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/signinfo/reqsigncond" resultref="/root/signinfo/signdruginfo"/>
- <submission id="TXMNR00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/drugsign" replace="instance" resultref="/root/sign/viewdata"/>
- <!-- (20080917) -->
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/barcdprntsetup"/>
- <submission id="TRMNE04403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ertriage"/>
- <!-- 20110721_KNUH_Start-->
- <submission id="TRMNB00210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/transinfo"/>
- <submission id="TRMNW01208" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data26" resultref="/root/temp/specordprtinfo"/>
- <!-- 20111104 KJS SMS-->
- <submission id="TXMNE00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/smsmsg" replace="instance" resultref="/root/temp"/>
- <!--2012.10.16 KJS 퇴원약, 외래예약, 검사예약 가지고 오기-->
- <submission id="TRMNW10001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/rsrvinfo"/>
- <!--2013.12.18 KJS 퇴실결과가 입원인 경우 타부서 미수행 진료재료 이관-->
- <submission id="TRMNW01307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcpinfo" resultref="/root/main/prcpinfo"/>
- <script type="javascript">
- <![CDATA[
- function fChkSpecOrdPrt() {
-
- model.makeNode("/root/main/paminfo");
-
- var node = getGlobalVariable("paminfo");
- setCSVToNode("/root/main/paminfo", node);
-
- var s_pid = model.getValue("/root/main/paminfo/list/pid");;
- var s_ordtype = 'I';
- var s_orddd = model.getValue("/root/main/paminfo/list/indd");
- var s_orddeptcd = model.getValue("/root/main/paminfo/list/orddeptcd");
- var s_orddrid = model.getValue("/root/main/paminfo/list/medispclid");
- var s_fromdd = model.getValue("/root/main/paminfo/list/indd");
- var s_hngnm = model.getValue("/root/main/paminfo/list/hngnm");
- var s_rrgstno1 = model.getValue("/root/main/paminfo/list/rrgstno1");
- var s_rrgstno2 = model.getValue("/root/main/paminfo/list/rrgstno2");
-
- var sOrddeptcdMsg = model.getValue("/root/main/paminfo/list/orddeptnm");
- var sOrddridMsg = model.getValue("/root/main/paminfo/list/orddrnm");
-
- model.makeValue("/root/send/data26/pid", s_pid); // pid
- model.makeValue("/root/send/data26/ordtype", "I"); // ordtype
- model.makeValue("/root/send/data26/indd", s_orddd);// orddd
- model.makeValue("/root/send/data26/orddd", s_orddd);// orddd
- model.makeValue("/root/send/data26/orddeptcd", s_orddeptcd); // orddeptcd
- model.makeValue("/root/send/data26/medispclid", s_orddrid); // orddrid
- model.makeValue("/root/send/data26/orddrid", s_orddrid); // orddrid
-
- // submit("TRPMI00406");
- //
- // if (model.getValue("/root/tempchk/specapp/rgstyn") == "N") {
- //
- // var sMsg = "[" + sOrddeptcdMsg + "]" + "[" + sOrddridMsg + "]";
- //
- // if( messageBox(sMsg + " 선택진료 등록이 되어 있지 않습니다. 등록하시겠습니까?", "Q999", "") == 6 ){
- // fCallSpecPopUp(s_pid,s_ordtype,s_orddd,s_orddeptcd,s_orddrid,s_fromdd,s_hngnm,s_rrgstno1,s_rrgstno2);
- // }
- // } else {
- //
-
- submit("TRMNW01208");
-
- var existyn = model.getValue("/root/temp/specordprtinfo/specordprtlist/existyn");
-
- if(existyn == "N") {
- //messageBox("출력된 메세지없음", "I");
- } else {
- messageBox("선택진료 동의 확인이 되지않았습니다.", "I");
-
- setParameter("SMPMC06503_PARM_PID", s_pid);
- modal("SMPMC06503");
- //fCallSpecPopUp(s_pid,s_ordtype,s_orddd,s_orddeptcd,s_orddrid,s_fromdd,s_hngnm,s_rrgstno1,s_rrgstno2);
- }
-
- // }
- }
- ]]>
- </script>
- <submission id="TRPMI00406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data26" resultref="/root/temp/specordininfo"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1195;1,4;1,1194;1,254;1,1185;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:10px; width:1195px; height:744px; ">
- <input id="ipt_chnghosnmetc" ref="/root/main/condition/chnghospnmetc" visibility="hidden" style="left:995px; top:56px; width:123px; height:19px; "/>
- <select1 id="cmb_etc" ref="/root/main/condition/cmb" visibility="hidden" appearance="minimal" style="left:445px; top:80px; width:402px; height:19px; ">
- <choices>
- <item>
- <label>탈원-응급실 내원 후 경과 관찰 중 환자 무단이탈하여 연락되지 않아 주치의에게 보고 후 임의퇴원처리 함</label>
- <value>1</value>
- </item>
- <item>
- <label>접수-접수하였으나 치료 시행하지 않아 퇴실 처리함</label>
- <value>2</value>
- </item>
- <item>
- <label>접퇴-접수하여 문진 시행 후 다른 치료 필요하지 않아 퇴실 처리함</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_outrmetc.value= cmb_etc.label
- ]]>
- </script>
- </select1>
- <line id="line8" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
- <line id="line1" class="line_3" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
- <button id="btn_outsave" class="btn5_letter4" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1121px; top:56px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
- <caption>퇴실처리</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fChkSpecOrdPrt();
- fOutRmTret();
- ]]>
- </script>
- </button>
- <select1 id="cmb_section" ref="/root/main/condition/section" class="combo_default" appearance="minimal" style="left:56px; top:114px; width:196px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/erbaselist/bedinfo">
- <label ref="bednm"/>
- <value ref="bedcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetPatList();
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="cell_1" style="left:198px; top:29px; width:56px; height:22px; text-align:center; vertical-align:middle; ">퇴실구분</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:113px; width:54px; height:21px; text-align:center; vertical-align:middle; ">Section</caption>
- <caption id="caption60" class="tit_2" style="left:4px; top:91px; width:100px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자리스트</caption>
- <datagrid id="grd_patlist" nodeset="/root/main/inddpatlist/inddpatinfo" allowselection="false" backcoloralternate="#ffffff" caption="Bed^환자명^S/A^등록번호^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20^caption21^caption22^caption23^caption24^ioflag^indd^cretno^seqno^instcd^dschdclrtyn^visitno" colsep="^" colwidth="45, 65, 47, 75, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="33" rowsep="|" tooltip="true" rowhader="seq" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:137px; width:252px; height:603px; ">
- <col ref="bedposcnts" style="text-align:left; "/>
- <col ref="patnm" style="text-align:left; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="pid" style="text-align:left; "/>
- <col ref="erorddeptcd" visibility="hidden"/>
- <col ref="dschdclrdt" visibility="hidden"/>
- <col ref="ermedispclid" visibility="hidden"/>
- <col ref="erordeptnm" visibility="hidden"/>
- <col ref="ermedispclnm" visibility="hidden"/>
- <col ref="nursnm" visibility="hidden"/>
- <col ref="chosdt" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="roomcd" visibility="hidden"/>
- <col ref="medispclid" visibility="hidden"/>
- <col ref="assgroom" visibility="hidden"/>
- <col ref="intm" visibility="hidden"/>
- <col ref="wardcd" visibility="hidden"/>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="dethdd" visibility="hidden"/>
- <col ref="dethtm" visibility="hidden"/>
- <col ref="dethyn" visibility="hidden"/>
- <col ref="g3existyn" visibility="hidden"/>
- <col ref="inrsrvacptdt" visibility="hidden"/>
- <col ref="uncnfmcnt" visibility="hidden"/>
- <col ref="oxyconcen" visibility="hidden"/>
- <col ref="recovwardcd" visibility="hidden"/>
- <col ref="fstexamorddd" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="dschdclrtyn" visibility="hidden"/>
- <col ref="visitno" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSelectPatList();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fChangeFocusColor();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_chartmv" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter5.gif" style="left:1110px; top:31px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter5.gif; ">
- <caption>Chart 이동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("inwardcd", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/wardcd"));
- setParameter("inroomcd", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/assgroom"));
- setParameter("pid", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/pid"));
- //setParameter("inwardcd", "3060600000");
- //modal ( "SMMRC00400" );
- modal("SMMRC02300");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1045px; top:31px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
- <caption>예약등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var sPid = getPatientId();
- var sPid = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/pid" ) ;
- if( sPid == "" ){
- messageBox("환자가 선택되지 않았습니다.", "E");
-
- return;
-
- }
-
- //setParameter("SMPMO00300_PARM1", model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/orddeptcd" ) ); //진료과코드
- //setParameter("SMPMO00300_PARM2", model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/medispclid" ) ); //진료의사코드
- //setParameter("SMPMO00300_PARM3" , sPid ); //환자번호
-
- setParameter("SMPMO00200_PARM2", sPid +"▦"+ model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/orddeptcd" ) +"▦"+ model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/medispclid" )); // 수정_20081205(ByJA)
- setParameter("SMPMO00300_PARM3" , 'B' ); // 수정_20081205(ByJA)
- setParameter("SMPMO00300_RSRVFLAG" , "I"); // 예약구분 추가_20081205(ByJA)
-
- modal ( "SMPMO00300" );//, "1","690", "550", "SMPMO00300", "/root/source", "/root/send");
-
- ]]>
- </script>
- </button>
- <button id="btn_actingck" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter7.gif" style="left:947px; top:31px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter7.gif; ">
- <caption>Acting Check</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- /* 차현철 대리님 로직으로 변경
- var cnfmflag = "A";
- var fromdd = model.getValue("/root/date/minDate");
- var todd = model.getValue("/root/date/maxDate");
-
- if(fromdd != "" && todd != ""){
- setParameter("cnfmflag", cnfmflag);
- setParameter("fromdd", fromdd);
- setParameter("todd", todd);
- }
- open("SMMNW00800","1","15","128", "SMMNW00800", "/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]", "/root/temp/patinfo");
- */
-
- // 변경로직
- var fromdd = model.getValue("/root/date/minDate");
- var todd = model.getValue("/root/date/maxDate");
-
- /*
- if (cnfm_color != "#ffffff") {
- cnfmflag = "A";
- fromdd = model.getValue("/root/main_om/ominfo/prcpddinfo/prcpappddlist[" + grd_prcpappddlist.row + "]/prcpdd");
- todd = model.getValue("/root/main_om/ominfo/prcpddinfo/prcpappddlist[" + grd_prcpappddlist.row + "]/prcpdd");
-
- } else if (uncnfm_color != "#ffffff") {
- cnfmflag = "N";
- fromdd = model.getValue("/root/main_om/ominfo/prcpddinfo/uncnfmprcpddlist[" + grd_uncnfmprcpddlist.row + "]/prcpdd");
- todd = model.getValue("/root/main_om/ominfo/prcpddinfo/uncnfmprcpddlist[" + grd_uncnfmprcpddlist.row + "]/prcpdd");
- }
- */
- if( grd_patlist.row < 1){
- messageBox("환자를 선택하지 않았습니다","E");
- }else{
- //setParameter("wardcd", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/wardcd"));
- setParameter("wardcd", "2280200000");
- }
-
- if(model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/pid") !=""){
- setParameter("pid", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/pid"));
- // setParameter("fromdd", fromdd);
- // setParameter("todd", todd);
- }
- setParameter("unitflag", "emc");
-
-
- open("SMMNW10700","1","15","128", "SMMNW10700");
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:0px; top:29px; width:57px; height:22px; text-align:center; vertical-align:middle; ">퇴실일시</caption>
- <input id="ipt_outrddd" ref="/root/main/condition/outrmdd" class="input_default" inputtype="date" style="left:58px; top:31px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkOutrmdd();
- model.setValue("/root/main/condition/t_calctm", fCalcChosOut());
- output4.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_outrmtm" ref="/root/main/condition/outrmtm" class="input_default" format="hh:nn" style="left:155px; top:31px; width:40px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fChkOutrmdd();
- model.setValue("/root/main/condition/t_calctm", fCalcChosOut());
- output4.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_antimv" class="btn_sw" visibility="hidden" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:376px; top:84px; width:58px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>마약</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- ]]>
- </script>
- </button>
- <button id="btn_ingmv" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:313px; top:84px; width:63px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>약/주사</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSelectInddPatList("S"); //검사, 약주사, 마약 조회
- if(grd_narcoticlist.rows != '1') {
- btn_antimv.visible = true;
- messageBox("미정리된 마약처방이 존재합니다.", "I");
- }
- else {
- btn_antimv.visible = false;
- }
- model.toggle("case2");
- ]]>
- </script>
- </button>
- <button id="btn_testmv" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:255px; top:84px; width:58px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>검사</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_antimv.visible = false;
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <switch id="swt_outrmmenu" style="left:255px; top:105px; width:938px; height:635px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:935px; height:633px; border-top-color:#ffffff; ">
- <datagrid id="grd_testlist" nodeset="/root/main/incplist/testinfo" class="datagrid2" caption="시행여부^상태^처방일자^처방상태^처방코드^처방명^1일용량/1일수량/횟수/일수^1일용량/1일수량/횟수/일수^1일용량/1일수량/횟수/일수^1일용량/1일수량/횟수/일수^Remark^적용일자^prcpno^prcphistno^pid^poddd^cretno^instcd" colsep="^" colwidth="70, 60, 70, 90, 80, 256, 45, 45, 45, 45, 173, 80, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="32" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:3px; top:30px; width:929px; height:601px; ">
- <col disabled="true" ref="execyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/execflag/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="viewstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/statclist/statinfo">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="prcpstatcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/M0011list/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpcd" style="text-align:left; border-right-width:0; "/>
- <col ref="prcpnm" style="text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpvol" style="text-align:center; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpqty" style="text-align:center; border-left-width:0; border-right-width:0; "/>
- <col ref="prcptims" style="text-align:center; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpdayno" style="text-align:center; border-left-width:0; "/>
- <col ref="clinccmtcnts"/>
- <col ref="prcphopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpno"/>
- <col ref="prcphistno"/>
- <col ref="pid"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="instcd"/>
- <col ref="selectyn"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- // window.setPopupMenu( true, "/root/codedata/popupmenu/grid01/item", "name", "func", true);
- fPopupMenuInfo("T");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- fSelectGridRowCtrl("/root/main/incplist/testinfo","T");
- ]]>
- </script>
- </datagrid>
- <caption id="caption21" class="tit_2" style="left:6px; top:10px; width:111px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사</caption>
- <line id="line11" class="line_1" style="x1:3px; y1:26px; x2:932px; y2:26px; "/>
- <button id="button3" class="btn2_letter6" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:843px; top:5px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>검사상태저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveTestPrcpAll();
-
- ]]>
- </script>
- </button>
- </case>
- <case id="case2" style="left:0px; top:0px; width:935px; height:633px; ">
- <datagrid id="grd_inglist" nodeset="/root/main/incplist/inginfo" class="datagrid2" caption="시행여부^적용일자^진료과^처방의^처방상태^처방코드^처방명^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^약국
출력^선처
치^Mix
No^Seq^Remark^투약
번호^투약일자^처방일자^prcpkindcdyn^prcpno^pid^orddd^cretno^instcd" colsep="^" colwidth="70, 75, 50, 55, 80, 80, 260, 42, 30, 30, 35, 25, 25, 30, 30, 30, 30, 200, 50, 80, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="32" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:3px; top:30px; width:929px; height:601px; ">
- <col disabled="true" ref="execyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/execflag/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcphopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="orddrid" style="text-align:center; "/>
- <col disabled="true" ref="prcpstatcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/M0011list/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpcd" style="text-align:left; border-right-width:0; "/>
- <col ref="prcpnm" style="text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpvol" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpvolunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpqty" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpqtyunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcptims" style="text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpdayno" style="text-align:left; border-left-width:0; "/>
- <col ref="pharmprnt" style="text-align:center; "/>
- <col ref="precureprcpflag" style="text-align:center; "/>
- <col ref="prcpmixno" style="text-align:center; "/>
- <col ref="prcphistno" style="text-align:center; "/>
- <col ref="clinccmtcnts"/>
- <col ref="drugno" style="text-align:right; "/>
- <col ref="drugdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpkindcdyn"/>
- <col ref="prcpno"/>
- <col ref="pid"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="instcd"/>
- <col ref="prcpclscd"/>
- <col ref="prcpgenrflag"/>
- <col ref="wardcd"/>
- <col ref="hosinhosoutflag"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fPopupMenuInfo("I");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- fSelectGridRowCtrl("/root/main/incplist/inginfo","I" );
- ]]>
- </script>
- </datagrid>
- <caption id="caption17" class="tit_2" style="left:6px; top:10px; width:111px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">약/주사</caption>
- <line id="line7" class="line_1" style="x1:3px; y1:26px; x2:932px; y2:26px; "/>
- <button id="btn_drugreturn" class="btn2_letter6" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:766px; top:5px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>투약저장확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //fSelectInddPatList("R");
- //model.setValue("/root/main/condition/pid","/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/pid");
- ]]>
- </script>
- </button>
- <button id="btn_drugsave" class="btn5_letter5" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:855px; top:5px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
- <caption>퇴원약확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSaveDrugTret();
- ]]>
- </script>
- </button>
- </case>
- <case id="case3" style="left:0px; top:0px; width:935px; height:633px; border-top-color:#ffffff; ">
- <datagrid id="grd_narcoticlist" nodeset="/root/main/incplist/narcoticlist" class="datagrid2" caption="불출상태^반환상태^잔량반납상태^적용일자^처방코드^처방명^prcpno^prcphistno^pid^poddd^cretno^instcd" colsep="^" colwidth="128, 128, 128, 128, 128, 286, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="32" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:3px; top:30px; width:929px; height:601px; ">
- <col ref="narcstat"/>
- <col ref="cnclstat"/>
- <col ref="rtnstat"/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:6px; top:10px; width:111px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사</caption>
- <line id="line2" class="line_1" style="x1:3px; y1:26px; x2:932px; y2:26px; "/>
- <button id="button2" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:865px; top:5px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>마약관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMADT30400","1","15","128");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <caption id="caption35" class="tit_2" style="left:5px; top:10px; width:120px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">응급실 퇴실정리</caption>
- <button id="btn_refresh" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:828px; top:31px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInitSettingTop("A");
- fInitialize();
- ]]>
- </script>
- </button>
- <select1 id="rdo_outrmflag" ref="/root/main/condition/outrmtp" appearance="full" cols="9" overflow="visible" style="left:257px; top:31px; width:180px; height:16px; 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>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("root/main/condition/typedetl", "");
-
- //ipt_outrmetc.attribute("left") = "442";
- fSelectOutRmCnts();
- fChangeOutRm(rdo_outrmflag.value);
- ]]>
- </script>
- </select1>
- <line id="line4" class="line_1" style="x1:0px; y1:108px; x2:252px; y2:108px; "/>
- <caption id="caption2" class="cell_1" visibility="hidden" style="left:590px; top:54px; width:61px; height:22px; text-align:center; vertical-align:middle; ">전원병원</caption>
- <select1 id="cmb_outrmcd" ref="/root/main/condition/outrmcd" visibility="hidden" appearance="minimal" style="left:256px; top:56px; width:233px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sInstcd = getUserInfo("dutplceinstcd");
- model.setValue(cap_typedetl.attribute("ref"), model.getValue("/root/init/erbaselist/outrminfo[basetypecd='"+cmb_outrmcd.value+"']/typedetl"));
- cap_typedetl.refresh();
-
- ipt_outrmetc.visible = false; // 기타사유
- if(cmb_outrmcd.value =="28") {
- ipt_chnghospchoi.visible = true;
-
- }else if(cmb_outrmcd.value == "41"){
- if( model.getValue("/root/main/condition/t_chosdt") < ipt_dethdd.value + ipt_dethtm.value ){
- messageBox("DOA 환자는 사망일시가 입실일시보다 이후 일 수 없습니다.","E");
- ipt_dethdd.value = model.getValue("/root/main/condition/t_chosdt").substr(0,8);
- ipt_dethtm.value = model.getValue("/root/main/condition/t_chosdt").substr(8,4);
- return;
- }
- } else if(cmb_outrmcd.value == "18"){
- ipt_outrmetc.visible = true; // 기타사유
- cmb_etc.visible = true;
- } else if(cmb_outrmcd.value == "31" || cmb_outrmcd.value == "33"){
- // 161019_칠곡 센터 승격으로 인한 수정_AYS
- fSelctionInRmCombo("EMRT1");
- // if(sInstcd == "031"){
- // fSelctionInRmCombo("EMRT1");
- // }
- } else if(cmb_outrmcd.value == "32" || cmb_outrmcd.value == "34"){
- // 161019_칠곡 센터 승격으로 인한 수정_AYS
- fSelctionInRmCombo("EMRT2");
- // if(sInstcd == "031"){
- // fSelctionInRmCombo("EMRT2");
- // }
- } else if(cmb_outrmcd.value == "38"){
- // 161019_칠곡 센터 승격으로 인한 수정_AYS
- fSelctionInRmCombo("EMRT3");
- // if(sInstcd == "031"){
- // fSelctionInRmCombo("EMRT3");
- // }
- } else{
- ipt_outrmetc.visible = false; // 기타사유
- cmb_etc.visible = false;
- ipt_outrmetc.value = "";
- cmb_etc.value = "";
- ipt_chnghospchoi.visible = false;
- ipt_chnghospchoi.value = "" ;
-
- }
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- //cap_typedetl.visible = true;
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- //cap_typedetl.visible = false;
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="cell_1" visibility="hidden" style="left:198px; top:54px; width:57px; height:22px; text-align:center; vertical-align:middle; ">세부사항</caption>
- <caption id="caption4" class="cell_1" visibility="hidden" style="left:589px; top:54px; width:61px; height:22px; text-align:center; vertical-align:middle; ">사망일시</caption>
- <input id="ipt_dethdd" ref="/root/main/condition/dethdd" class="input_default" visibility="hidden" inputtype="date" style="left:653px; top:56px; width:86px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_dethtm.value = getCurrentTime().substr(0,4);
- if(cmb_outrmcd.value == "41"){
- if( model.getValue("/root/main/condition/t_chosdt") < ipt_dethdd.value + ipt_dethtm.value ){
- messageBox("DOA 환자는 사망일시가 입실일시보다 이후 일 수 없습니다.","E");
- ipt_dethdd.value = model.getValue("/root/main/condition/t_chosdt").substr(0,8);
- ipt_dethtm.value = model.getValue("/root/main/condition/t_chosdt").substr(8,4);
- return;
- }
- }
- // var d, s= "" ,t;
- // d = new Date();
- //
- // if( d.getMinutes() > 10 ) {
- // if(d.getHours() >10 ) {
- // t = d.getHours() + "" + d.getMinutes();
- // } else {
- // t = "0" + d.getHours() + "" + d.getMinutes();
- // }
- // } else {
- // if(d.getHours() >10 ) {
- // t = d.getHours() + "0" + d.getMinutes();
- // } else {
- // t = "0" + d.getHours() + "0" + d.getMinutes();
- // }
- // }
- // ipt_dethtm.value = t;
- ]]>
- </script>
- </input>
- <input id="ipt_dethtm" ref="/root/main/condition/dethtm" class="input_default" visibility="hidden" format="hh:nn" style="left:741px; top:56px; width:35px; height:19px; "/>
- <input id="ipt_chnghosnm" ref="/root/main/condition/chnghospnm" disabled="true" visibility="hidden" style="left:852px; top:56px; width:123px; height:19px; "/>
- <select id="chk_proceraprvyn" ref="/root/main/condition/proceraprvyn" visibility="hidden" overflow="visible" appearance="full" style="left:590px; top:32px; width:79px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>보호자동의</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_healcaretgdyn" ref="/root/main/condition/healcaretgdyn" visibility="hidden" overflow="visible" appearance="full" style="left:671px; top:32px; width:91px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>의료인력동승</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button4" class="btn2_letter4" style="left:882px; top:31px; width:64px; height:19px; ">
- <caption>투약기록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMNR00600","1","15","128");
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/main/condition/t_patinfo" style="left:240px; top:4px; width:225px; height:19px; font-weight:bold; color:#0000ff; text-align:right; "/>
- <caption id="caption5" style="left:475px; top:4px; width:58px; height:20px; ">입실일시 :</caption>
- <caption id="caption8" style="left:660px; top:4px; width:58px; height:20px; ">퇴실일시 :</caption>
- <caption id="caption11" style="left:842px; top:4px; width:58px; height:20px; ">재실시간 :</caption>
- <caption id="caption12" style="left:1022px; top:4px; width:58px; height:20px; ">예정병실 :</caption>
- <output id="output2" ref="/root/main/condition/t_chosdt" format="yyyy-mm-dd hh:nn" style="left:535px; top:4px; width:120px; height:19px; font-weight:bold; color:#0000ff; "/>
- <output id="output4" ref="/root/main/condition/t_calctm" style="left:901px; top:4px; width:110px; height:19px; font-weight:bold; color:#0000ff; "/>
- <output id="output5" ref="/root/main/condition/t_assgroom" style="left:1080px; top:4px; width:70px; height:19px; font-weight:bold; color:#0000ff; "/>
- <output id="output3" ref="/root/main/condition/t_outrmdt" format="yyyy-mm-dd hh:nn" style="left:718px; top:4px; width:120px; height:19px; font-weight:bold; color:#0000ff; "/>
- <input id="ipt_chnghospchoi2" ref="/root/main/condition/chnghospchoi" visibility="hidden" style="left:256px; top:56px; width:233px; height:19px; text-align:center; "/>
- <input id="ipt_chnghospchoi1" ref="/root/main/condition/chnghospchoi" visibility="hidden" style="left:490px; top:56px; width:97px; height:19px; "/>
- <select1 id="ipt_chnghospchoi" ref="/root/main/condition/chnghospchoi" visibility="hidden" appearance="minimal" style="left:490px; top:56px; width:97px; height:19px; ">
- <choices>
- <item>
- <label>보호자원해서</label>
- <value>보호자원해서</value>
- </item>
- <item>
- <label>의사권유로</label>
- <value>의사권유로</value>
- </item>
- <item>
- <label>연고지관계로</label>
- <value>연고지관계로</value>
- </item>
- </choices>
- </select1>
- <caption id="caption20" class="cell_1" visibility="hidden" style="left:778px; top:54px; width:72px; height:22px; text-align:center; vertical-align:middle; ">전원병원명</caption>
- <select1 id="cmb_dschhosptype" ref="/root/main/condition/dschhosptype" visibility="hidden" appearance="minimal" style="left:653px; top:56px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0535list/M0535">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/condition/chnghospnm","");
- model.setValue("/root/main/condition/chnghospcd","");
-
- ipt_chnghosnm.refresh();
- input1.refresh();
- ]]>
- </script>
- </select1>
- <line id="line5" class="line_3" style="x1:0px; y1:135px; x2:252px; y2:135px; "/>
- <button id="button5" class="btn2_letter4" visibility="hidden" style="left:829px; top:71px; width:64px; height:19px; ">
- <caption>수혈기록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_patlist.row;
- var SMMNR010_Param = "OPRC2";
-
- setParameter("SMMNR010_Param", SMMNR010_Param);
- if (model.getvalue("/root/main/inddpatlist/inddpatinfo["+iRow+"]/pid") != "") {
- modal("SMMNR01000","","","","SMMNR01000","",""); // 수혈간호기록 오픈
- fInitialize();
- }
- ]]>
- </script>
- </button>
- <output id="output12" ref="/root/temp/patinforesrch/bloodinfo/bloodcomment" class="output_fix" visibility="hidden" style="left:895px; top:71px; width:233px; height:19px; "/>
- <button id="button6" class="btn2_letter6" visibility="hidden" style="left:1099px; top:85px; width:86px; height:19px; ">
- <caption>입퇴원확인서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/temp/printinfo/erordeptnm" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("erordeptnm" )));
- model.makeValue("/root/temp/printinfo/patnm" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("patnm" )));
- model.makeValue("/root/temp/printinfo/pid" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid" )));
- model.makeValue("/root/temp/printinfo/chosdt" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("chosdt" )));
- model.makeValue("/root/temp/printinfo/dschdclrdt" , ipt_outrddd.value + ipt_outrmtm.value);
- model.makeValue("/root/temp/printinfo/outdt" , ipt_outrddd.value + ipt_outrmtm.value);
- model.makeValue("/root/temp/printinfo/ermedispclnm", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("ermedispclnm")));
- model.makeValue("/root/temp/printinfo/nursnm" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("nursnm" )));
-
- exeReportPreview("RPMNE00120","XMLSTR","/root/temp/printinfo");
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter4" style="left:440px; top:30px; width:64px; height:19px; ">
- <caption>전동기록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid"));
- var indd = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd"));
- var cretno = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno"));
- var wardcd = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("wardcd"));
-
-
-
- if(wardcd == null || wardcd == "") {
- messageBox("입원승인이 나지 않아 전동기록을 할수 없습니다.", "E");
- return;
- } else {
-
- model.makeValue("/root/send/reqdata/pid", pid);
- model.makeValue("/root/send/reqdata/indd", indd);
- model.makeValue("/root/send/reqdata/cretno", cretno);
- model.makeValue("/root/send/reqdata/wardcd", wardcd);
-
- model.makeValue("/root/send/reqdata/flag", "Y");
-
-
- submit("TRMNB00210");
-
- if(grd_translist.rows > grd_translist.fixedRows) {
-
- setParameter("SMMNW01301_PID" , grd_translist.valueMatrix(1,grd_translist.colRef("pid")) );
- setParameter("SMMNW01301_INDD" , grd_translist.valueMatrix(1,grd_translist.colRef("indd")) );
- setParameter("SMMNW01301_CRETNO" , grd_translist.valueMatrix(1,grd_translist.colRef("cretno"))) ;
- setParameter("SMMNW01301_APPDD" , grd_translist.valueMatrix(1,grd_translist.colRef("appdd")) );
- setParameter("SMMNW01301_APPTM" , grd_translist.valueMatrix(1,grd_translist.colRef("apptm")) );
- setParameter("SMMNW01301_INSTCD" , grd_translist.valueMatrix(1,grd_translist.colRef("instcd"))) ;
- setParameter("SMMNW01301_SEQNO" , grd_translist.valueMatrix(1,grd_translist.colRef("seqno"))) ;
- open("SMMNW01301");
-
- } else {
- messageBoX("입원승인이 나지 않아 전동기록을 할수 없습니다.");
- return;
- }
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_translist" nodeset="/root/temp/transinfo/translist" visibility="hidden" caption="기관^등록번호^입원일자^생성번호^적용일자^적용시간^caption1" colsep="^" colwidth="38, 70, 55, 47, 55, 54, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:540px; top:305px; width:340px; height:150px; ">
- <col ref="instcd"/>
- <col ref="pid"/>
- <col ref="indd"/>
- <col ref="cretno"/>
- <col ref="appdd"/>
- <col ref="apptm"/>
- <col ref="seqno"/>
- </datagrid>
- <button id="button8" class="btn5_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:763px; top:31px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>전원SMS</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fTransferSMS();
- ]]>
- </script>
- </button>
- <input id="ipt_outrmetc" ref="/root/main/condition/outrmetc" disabled="false" visibility="hidden" style="left:445px; top:80px; width:382px; height:19px; "/>
- <caption id="cap_typedetl" ref="/root/main/condition/typedetl" style="left:385px; top:75px; width:610px; height:35px; "/>
- <button id="btn_hossear" class="icon_search" visibility="hidden" style="left:978px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMMO07400");
- model.setValue("/root/main/condition/dschhosptype", getParameter("SPMMO07400_rtnfhkind")); //의료기관 코드
- model.setValue("/root/main/condition/chnghospnm", getParameter("SPMMO07400_rtnfhcdnm")); //의료기관명
- //model.setValue("/root/main/condition/chnghospcd", getParameter("SPMMO07400_rtnfhcd")); //의료기관명
- model.setValue("/root/main/condition/chnghospcd", getParameter("SPMMO07400_rtnfhhscd")); //의료기관명
-
-
- cmb_dschhosptype.refresh();
- ipt_chnghosnm.refresh();
-
- if (model.getValue("/root/main/condition/chnghospnm") == "기타") {
- ipt_chnghosnmetc.visible = true;
- } else {
- ipt_chnghosnmetc.visible = false;
- }
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter7" style="left:1001px; top:85px; width:97px; height:19px; ">
- <caption>응급간호요약지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- clearParameter("SMMNE09300_pid");
- clearParameter("SMMNE09300_orddd");
- clearParameter("SMMNE09300_cretno");
- clearParameter("SMMNE09300_visitno");
- clearParameter("SMMNE09300_outrmcd");
- clearParameter("SMMNE09300_outrmdt");
-
- // 15.07.29_추가
- clearParameter("SMMNE09300_dschhosptype");
- clearParameter("SMMNE09300_chnghospnm");
- // 15.07.29_추가
-
- setParameter("SMMNE09300_pid", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid")) );
- setParameter("SMMNE09300_orddd", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd")) );
- setParameter("SMMNE09300_cretno", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno")) );
- setParameter("SMMNE09300_visitno", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("visitno")) );
- setParameter("SMMNE09300_outrmcd", cmb_outrmcd.label );
- setParameter("SMMNE09300_outrmdt", model.getValue("/root/main/condition/outrmdd") + model.getValue("/root/main/condition/outrmtm") );
-
- // 15.07.29_추가
- setParameter("SMMNE09300_dschhosptype", cmb_dschhosptype.label);
- setParameter("SMMNE09300_chnghospnm", model.getValue("/root/main/condition/chnghospnm"));
- // 15.07.29_추가
-
- open("SMMNE09300");
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/condition/chnghospcd" disabled="true" visibility="hidden" style="left:915px; top:65px; width:123px; height:19px; "/>
- <button id="button10" class="btn2_letter9" style="left:120px; top:4px; width:119px; height:19px; ">
- <caption>진료재료 부서 이관</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var instcd = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/instcd" );
- var pid = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/pid" );
- var indd = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/indd" );
- var cretno = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/cretno" );
- var prewardcd = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/prewardcd" );
- var chngwardcd = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/wardcd" );
- var patnm = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/patnm" );
-
- if( pid == "" ){
- messageBox("환자가 선택되지 않았습니다.", "E");
- return;
- }
-
- setParameter("PARAM1", instcd);
- setParameter("PARAM2", pid);
- setParameter("PARAM3", indd);
- setParameter("PARAM4", cretno);
- setParameter("PARAM5", prewardcd);
- setParameter("PARAM6", chngwardcd);
-
- open("SPMNW19001","1", "900", "450");
-
- ]]>
- </script>
- </button>
- <caption id="caption23" class="cell_1" style="left:0px; top:54px; width:79px; height:22px; text-align:center; vertical-align:middle; ">최종진료구역</caption>
- <select1 id="cmb_outarea" ref="/root/main/condition/outarea" appearance="minimal" style="left:81px; top:56px; width:114px; height:19px; ">
- <choices>
- <item>
- <label>일반격리병상</label>
- <value>1</value>
- </item>
- <item>
- <label>음압격리병상</label>
- <value>2</value>
- </item>
- <item>
- <label>중증응급환자 진료구역</label>
- <value>3</value>
- </item>
- <item>
- <label>응급환자 진료구역</label>
- <value>4</value>
- </item>
- <item>
- <label>소생실</label>
- <value>5</value>
- </item>
- <item>
- <label>처치실</label>
- <value>6</value>
- </item>
- <item>
- <label>기타(1~6을 제외한 모든 구역)</label>
- <value>8</value>
- </item>
- <item>
- <label>미상(구역을 모를 경우)</label>
- <value>9</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_outhsrt" ref="/root/main/condition/outhsrt" visibility="hidden" appearance="minimal" style="left:653px; top:56px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden2/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption24" class="cell_1" visibility="hidden" style="left:589px; top:54px; width:61px; height:22px; text-align:center; vertical-align:middle; ">입원경로</caption>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">퇴실정리</caption>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <shape id="roundrect2" class="roundrect_example" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:24px; background-color:#fffbf2; border-color:#7cbbdd; "/>
- <caption id="caption28" style="left:14px; top:4px; width:17px; height:17px; background-color:#ffd3ff; "/>
- <caption id="caption29" style="left:35px; top:6px; width:91px; height:15px; ">퇴원 예고 환자</caption>
- <caption id="caption13" style="left:130px; top:4px; width:17px; height:17px; background-color:#00cc66; "/>
- <caption id="caption14" style="left:150px; top:6px; width:122px; height:15px; ">선택된 퇴원 예고 환자</caption>
- <caption id="caption15" style="left:289px; top:4px; width:17px; height:17px; background-color:#ccffff; "/>
- <caption id="caption16" style="left:310px; top:6px; width:58px; height:15px; color:#000000; vertical-align:middle; ">퇴원처방</caption>
- <caption id="caption18" style="left:460px; top:6px; width:517px; height:15px; color:#000000; vertical-align:middle; ">Y : 실시완료 / N : 미수행 / 반환요청 : 투약기록반환요청 / 퇴원후 : 응급실 퇴실 후 외래 검사</caption>
- <caption id="caption19" style="left:385px; top:6px; width:78px; height:15px; color:#0000ff; vertical-align:middle; ">*시행여부 -</caption>
- </group>
- <script type="javascript" ev:event="onmenu">
- <![CDATA[
- fChagnePrcpStat(event.description);
- //fPrcpDC(event.description);
- ]]>
- </script>
- <caption id="caption22" style="left:1164px; top:760px; width:30px; height:20px; text-align:right; ">[표]</caption>
- </xhtml:body>
- </xhtml:html>
|