12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166 |
- <?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>
- <![CDATA[]]>
- <xhtml:title>인공신장실 메인</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <condition>
- <rsrvfromdd/>
- <rsrvtodd/>
- <ioflag/>
- <shift/>
- <mypid/>
- <method/>
- </condition>
- <hdschelist>
- <hdscheinfo>
- <acptyn/>
- <prcsflag/>
- <fnexamyn/>
- <vipyn/>
- <spcffactyn/>
- <pid/>
- <hngnm/>
- <sexage/>
- <ioflag/>
- <orddeptnm/>
- <maintepatrgstdd/>
- <drnm/>
- <prcpflag/>
- <roothospdialfromdd/>
- <rectdialdd/>
- <rsrvdd/>
- <shiftflag/>
- <dialseatflag/>
- <rcptflag/>
- <rcptdt/>
- <rcpttm/>
- <execyn/>
- <matnflag/>
- <inptrslt/>
- <inptrsltdt/>
- <insunm/>
- <histstat/>
- <indd/>
- <cretno/>
- <seqno/>
- <instcd/>
- <orddd/>
- <acptseqno/>
- <orgorddd/>
- <orddrid/>
- <elbulbodstat/>
- <nursacptyn/>
- <rooasignyn/>
- <rgstno/>
- <roomcd/>
- <shiftnm/>
- <acptresn/>
- <disp1/>
- <disp2/>
- <disp3/>
- <medamtpostyn/>
- </hdscheinfo>
- <table id="hdscheinfo" count_ref="hdscheinfo">
- <column id="fnexamyn" type="string" desc="신환여부" ref="hdscheinfo.fnexamyn"/>
- <column id="vipyn" type="string" desc="VIP구분" ref="hdscheinfo.vipyn"/>
- <column id="spcffactyn" type="string" desc="특이사항" ref="hdscheinfo.spcffactyn"/>
- <column id="pid" type="string" desc="등록번호" ref="hdscheinfo.pid"/>
- <column id="hngnm" type="string" desc="환자명" ref="hdscheinfo.hngnm"/>
- <column id="sexage" type="string" desc="성별/나이" ref="hdscheinfo.sexage"/>
- <column id="ioflag" type="string" desc="입원외래구분" ref="hdscheinfo.ioflag"/>
- <column id="rsrvdd" type="string" desc="예약일자" ref="hdscheinfo.rsrvdd"/>
- <column id="shiftflag" type="string" desc="shift구분" ref="hdscheinfo.shiftflag"/>
- <column id="dialseatflag" type="string" desc="투석자리구분" ref="hdscheinfo.dialseatflag"/>
- <column id="drnm" type="string" desc="진료의" ref="hdscheinfo.drnm"/>
- <column id="insunm" type="string" desc="보험구분" ref="hdscheinfo.insunm"/>
- <column id="indd" type="string" desc="입원일자" ref="hdscheinfo.indd"/>
- <column id="cretno" type="string" desc="생성번호" ref="hdscheinfo.cretno"/>
- <column id="seqno" type="string" desc="일련번호 " ref="hdscheinfo.seqno"/>
- <column id="histstat" type="string" desc="입원외래구분" ref="hdscheinfo.histstat"/>
- <column id="instcd" type="string" desc="기관코드 " ref="hdscheinfo.instcd"/>
- <column id="maintepatrgstdd" type="string" desc="유지환자등록일자" ref="hdscheinfo.maintepatrgstdd"/>
- <column id="matnflag" type="string" desc="유지구분" ref="hdscheinfo.matnflag"/>
- <column id="roothospdialfromdd" type="string" desc="본원투석일자" ref="hdscheinfo.roomhospdialdd"/>
- <column id="execyn" type="string" desc="시행여부" ref="hdscheinfo.execyn"/>
- <column id="prcpflag" type="string" desc="투석처방여부" ref="hdscheinfo.prcpflag"/>
- <column id="rectdialdd" type="string" desc="최근투석일" ref="hdscheinfo.rectdialdd"/>
- <column id="rcptflag" type="string" desc="수납여부" ref="hdscheinfo.rcptflag"/>
- <column id="rcptdt" type="string" desc="수납일자" ref="hdscheinfo.rcptdt"/>
- <column id="rcpttm" type="string" desc="수납시간" ref="hdscheinfo.rcpttm"/>
- <column id="inptrslt" type="string" desc="중증도군" ref="hdscheinfo.inptrslt"/>
- <column id="inptrsltdt" type="string" desc="중증도저장일시" ref="hdscheinfo.inptrsltdt"/>
- <column id="orddd" type="string" desc="진료일자" ref="hdscheinfo.orddd"/>
- <column id="acptseqno" type="string" desc="등록일련번호" ref="hdscheinfo.acptseqno"/>
- <column id="orgorddd" type="string" desc="원진료일자" ref="hdscheinfo.orgorddd"/>
- <column id="elbulbodstat" type="string" desc="전광판구분" ref="hdscheinfo.elbulbodstat"/>
- <column id="prcsflag" type="string" desc="진행상태" ref="hdscheinfo.prcsflag"/>
- <column id="acptyn" type="string" desc="외래간호접수여부" ref="hdscheinfo.acptyn"/>
- <column id="orddeptcd" type="string" desc="진료과코드" ref="hdscheinfo.orddeptcd"/>
- <column id="orddeptnm" type="string" desc="진료과명" ref="hdscheinfo.orddeptnm"/>
- <column id="orddrid" type="string" desc="진료의ID" ref="hdscheinfo.orddrid"/>
- <column id="nursacptyn" type="string" desc="진료의ID" ref="hdscheinfo.nursacptyn"/>
- <column id="ioflagvalue" type="string" desc="입원외래구분" ref="hdscheinfo.ioflagvalue"/>
- </table>
- <precondlist>
- <blodpreplist/>
- </precondlist>
- <blodprep>
- <patnm/>
- </blodprep>
- </hdschelist>
- <pdschelist>
- <pdscheinfo>
- <acptyn/>
- <prcsflag/>
- <fnexamyn/>
- <vipyn/>
- <spcffactyn/>
- <pid/>
- <hngnm/>
- <sexage/>
- <ioflag/>
- <orddeptnm/>
- <matnflag/>
- <maintepatrgstdd/>
- <drnm/>
- <prcpflag/>
- <roothospdialfromdd/>
- <rectdialdd/>
- <rsrvdd/>
- <rsrvcnts/>
- <rcptflag/>
- <dialkindflag/>
- <dialblodyn/>
- <catefixyn/>
- <dinfyn/>
- <pipeyn/>
- <edemacnfmyn/>
- <tsetyn/>
- <educnts/>
- <insunm/>
- <histstat/>
- <orddd/>
- <acptseqno/>
- <orgorddd/>
- <cretno/>
- <indd/>
- <seqno/>
- <orgorddd/>
- <orddrid/>
- <orddd/>
- <nursacptyn/>
- <elbulbodstat/>
- <rooasignyn/>
- <rgstno/>
- <roomcd/>
- <disp1/>
- <disp2/>
- <disp3/>
- <medamtpostyn/>
- </pdscheinfo>
- </pdschelist>
- <poplist>
- <hdpopinfo>
- <menu>
- <name>HD Scheduling</name>
- <func>OpenHDScheduling</func>
- </menu>
- <menu>
- <name>유지환자 관리</name>
- <func>OpenMatnPatMngt</func>
- </menu>
- <menu>
- <name>간호정보 조사</name>
- <func>OpenCareInfo</func>
- </menu>
- <menu>
- <name>혈액투석 간호기록</name>
- <func>OepnHDCareRec</func>
- </menu>
- <menu>
- <name>혈액투석 도관기록</name>
- <func>OepnHDPipeRec</func>
- </menu>
- <menu>
- <name>상담기록</name>
- <func>OepnCnstRec</func>
- </menu>
- <menu>
- <name>처방확인</name>
- <func>OepnSrchOrdInfo</func>
- </menu>
- <menu>
- <name>환자이름표출력</name>
- <func>fOpenNamePrint</func>
- </menu>
- <!--(20120306) 경북대 -->
- <menu>
- <name>환자라벨출력</name>
- <func>fOpenLabelPrint</func>
- </menu>
- <menu>
- <name>SMS 전송</name>
- <func>fSendSMS</func>
- </menu>
- </hdpopinfo>
- <pdpopinfo>
- <menu>
- <name>유지환자 관리</name>
- <func>OpenMatnPatMngt</func>
- </menu>
- <menu>
- <name>간호정보 조사</name>
- <func>OpenCareInfo</func>
- </menu>
- <menu>
- <name>복막투석 실시관리</name>
- <func>OepnPDExecRec</func>
- </menu>
- <menu>
- <name>복막투석 도관기록</name>
- <func>OepnPDPipeRec</func>
- </menu>
- <menu>
- <name>상담기록</name>
- <func>OepnCnstRec</func>
- </menu>
- <menu>
- <name>처방확인</name>
- <func>OepnSrchOrdInfo</func>
- </menu>
- <menu>
- <name>환자이름표출력</name>
- <func>fOpenNamePrint</func>
- </menu>
- </pdpopinfo>
- </poplist>
- <paminfo/>
- <ebulstat/>
- <wardpatinfo>
- <settingrn>
- <settingrnnm/>
- <settingrnid/>
- </settingrn>
- </wardpatinfo>
- <printcnt/>
- <barcdprntsetup/>
- <inptcnt>
- <inptcnt/>
- </inptcnt>
- </main>
- <send>
- <reqdata/>
- </send>
- <temp>
- <gettoplist>
- <gettopinfo>
- <pid/>
- <cretno/>
- <seqno/>
- <instcd/>
- <indd/>
- <orddd/>
- <acptseqno/>
- <orgorddd/>
- </gettopinfo>
- </gettoplist>
- </temp>
- <hidden/>
- <init/>
- </root>
- </instance>
- <submission id="TRMND00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hdscheinfo"/>
- <submission id="TRMND00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/pdscheinfo"/>
- <submission id="TRMND00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/gettopinfo"/>
- <submission id="TRMNO00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ebulstat"/>
- <submission id="TXMNO00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
- <submission id="TRMND03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/settingrn"/>
- <submission id="TRMND00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inptcnt"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
-
- //그리드 초기화
- model.removeNodeset("/root/main/hdschelist/hdscheinfo");
- model.removeNodeset("/root/main/pdschelist/pdscheinfo");
-
- var vincentinstcd;
- fGetNursHardCdInfo("'077'", getCurrentDate());
-
- for(var i=1; i<=getNodesetCount("/root/code/codeinfo/codelist"); i++){
- switch (model.getValue("/root/code/codeinfo/codelist["+i+"]/cdgrupid")){
- case "077":
- switch(model.getValue("/root/code/codeinfo/codelist["+i+"]/supcdid")){
- case "04": // (01:서울성모,02:의정부성모,03:부천성가, 04:수원빈센트)
- vincentinstcd = model.getValue("/root/code/codeinfo/codelist["+i+"]/cdid");
- break;
- }
- }
- }
-
- //빈센트 병원일때만 원무수납일시, 시간 추가
- var instcd = getUserInfo("dutplceinstcd");
- if (instcd == vincentinstcd){
- grd_hdschelist.attribute("frozencols") = "11";
- }
- else{
- grd_hdschelist.attribute("frozencols") = "0";
- grd_hdschelist.colhidden(22)=true;
- grd_hdschelist.colhidden(23)=true;
- }
-
- setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
- fDone();
- fSrchHDList(); //혈액투석 스케줄 조회
-
-
- //내환자 setting 간호사 load
- fLoadMyPatSetting();
-
-
- //var userid = getUserInfo('userid');
- //if(userid == 'ENR' || userid == 'enr' || userid == 'DEV512' || userid == 'dev512'){
- // btn_mypat.attribute('visibility') = "visible";
- // btn_mywork.attribute('visibility') = "visible";
- //}else{
- // btn_mypat.attribute('visibility') = "hidden";
- // btn_mywork.attribute('visibility') = "hidden";
- //}
-
-
- // 20141229 kya 재원중인 환자건수
- btn_jaewon.dispatch("onclick");
-
- ]]>
- </script>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/main/barcdprntsetup"/>
- <!-- 20091008-kys추가 환자라벨출력-->
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/dialroomweb/js/SMMND00100.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <!-- 20091008-kys추가 환자라벨출력-->
- </xhtml:head>
- <xhtml:body guideline="1,1194;1,1316;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">투석환자조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <button id="btn_pdlist" class="btn_sw" group="tab" selected="true" style="left:118px; top:10px; width:113px; height:22px; ">
- <caption>복막투석 스케줄</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchPDList(); //복막투석 스케줄 조회
- ]]>
- </script>
- </button>
- <button id="btn_hdlist" class="btn_sw" group="tab" selected="true" style="left:5px; top:10px; width:113px; height:22px; ">
- <caption>혈액투석 스케줄</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchHDList(); //혈책투석 스케줄 조회
- ]]>
- </script>
- </button>
- <switch id="switch1" class="sw_box" style="left:5px; top:30px; width:1189px; height:710px; border-style:solid; ">
- <case id="case1" selected="true">
- <datagrid id="grd_hdschelist" nodeset="/root/main/hdschelist/hdscheinfo" class="datagrid2" backcoloralternate="#ffffff" caption="Shift^투석
자리^특이^특이^특이^혈액^접촉^공기^등록번호^환자명^S/A^구분^진료과^진료의^처방^시행^희귀^중증도^중증도 저장일시^최근투석일자/
최근Hemoglobin 일자,수치^예약일자/
Hemodialysis수납^본원투석
시작일자^유지환자
등록일자^보험구분^수납일자^수납시간^특이사항^caption1^matnflag^histstat^acptyn^prcsflag^rcptflag^rcptdt^shiftflag" colsep="^" colwidth="30, 35, 35, 28, 28, 30, 30, 30, 75, 65, 35, 35, 97, 65, 30, 30, 30, 55, 100, 206, 107, 70, 70, 75, 76, 76, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:82px; width:1174px; height:588px; ">
- <col ref="shiftnm" style="text-align:center; "/>
- <col ref="dialseatflag" style="text-align:center; "/>
- <col ref="fnexamyn" style="text-align:center; "/>
- <col ref="vipyn" style="text-align:center; "/>
- <col ref="spcffactyn" style="text-align:center; "/>
- <col ref="disp1"/>
- <col ref="disp2"/>
- <col ref="disp3"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="orddeptnm"/>
- <col ref="drnm" style="text-align:center; "/>
- <col ref="prcpflag" style="text-align:center; "/>
- <col ref="execyn" style="text-align:center; "/>
- <col ref="rooasignyn" style="text-align:center; "/>
- <col ref="inptrslt" style="text-align:center; "/>
- <col ref="inptrsltdt" format="yyyy-mm-dd hh:mm" style="text-align:center; "/>
- <!-- (20110307) 경북대
- <col ref="rectdialdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsrvdd" format="yyyy-mm-dd" style="left:537px; top:32px; width:79px; height:23px; text-align:center; "/>
- -->
- <col ref="rectdialdd" style="text-align:left; "/>
- <col ref="rsrvdd" style="left:537px; top:32px; width:79px; height:23px; text-align:center; "/>
- <!-- (20110307) 경북대 -->
- <col ref="roothospdialfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="maintepatrgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="insunm" style="text-align:center; "/>
- <col ref="rcptdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
- <col/>
- <col ref="ioflagvalue" visibility="hidden"/>
- <col disabled="true" ref="matnflag" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>유지</label>
- <value>1</value>
- </item>
- <item>
- <label>전원</label>
- <value>2</value>
- </item>
- <item>
- <label>사망</label>
- <value>3</value>
- </item>
- <item>
- <label>신장이식</label>
- <value>4</value>
- </item>
- <item>
- <label>전환</label>
- <value>5</value>
- </item>
- <item>
- <label>취소</label>
- <value>X</value>
- </item>
- </choices>
- </col>
- <col ref="histstat" visibility="hidden"/>
- <col ref="acptyn" type="checkbox" visibility="hidden"/>
- <col ref="prcsflag" visibility="hidden" style="text-align:center; "/>
- <col ref="rcptflag" visibility="hidden" style="text-align:center; "/>
- <col ref="rcptdt" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="acptseqno" visibility="hidden"/>
- <col ref="orgorddd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="elbulbodstat" visibility="hidden"/>
- <col ref="nursacptyn" visibility="hidden"/>
- <col ref="histstat" visibility="hidden"/>
- <col ref="histstat" visibility="hidden"/>
- <col ref="histstat" visibility="hidden"/>
- <col ref="histstat" visibility="hidden"/>
- <col ref="rgstno" visibility="hidden"/>
- <col ref="roomcd" visibility="hidden"/>
- <col ref="shiftflag" visibility="hidden"/>
- <col ref="acptresn" visibility="hidden"/>
- <col ref="medamtpostyn" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_hdschelist.row;
- model.makeValue("/root/send/reqdata/pid" , model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/pid"));
- model.makeValue("/root/send/reqdata/orddd" , model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/orddd"));
- model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/orddeptcd"));
- model.makeValue("/root/send/reqdata/orddrid" , model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/orddrid"));
-
- if(submit("TRMNO00105")) {
- var ebulstat = model.getValue("/root/main/ebulstat/ebulstat/ebulstat");
-
- if(model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/elbulbodstat") == ebulstat) {
-
- if(ebulstat == "2" ) {
- messageBox("진료후에는 간호접수를 취소", "E001");
- model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/acptyn", "true");
- } else {
- var stat;
- var elbulbodstat;
- var curdd = getCurrentDate();
- var orddd = model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/orddd");
-
- if(ebulstat == "1") {
- if(curdd == orddd) {
- model.makeValue("/root/send/reqdata/elbulbodstat", "0");
- model.makeValue("/root/send/reqdata/nursacptyn", "N");
- stat = "";
- elbulbodstat = "0";
- } else {
- messageBox("과접수 취소를 ", "E001");
-
- model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/acptyn", "true");
- grd_hdschelist.rebuild();
- }
- } else {
- if(curdd == orddd) {
- model.makeValue("/root/send/reqdata/elbulbodstat", "1");
- model.makeValue("/root/send/reqdata/nursacptyn", "Y");
- stat ="대기";
- elbulbodstat = "1";
- } else if (orddd == ""){
- messageBox("과접수를 ", "E001", "외래예약여부를 확인하십시오.");
-
- model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/acptyn", "false");
- grd_hdschelist.rebuild();
- return;
- } else {
- messageBox("과접수를 ", "E001", "예약(진료)일자를 확인하십시오.");
-
- model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/acptyn", "false");
- grd_hdschelist.rebuild();
- return;
- }
-
- }
- model.makeValue("/root/send/reqdata/orddd", model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/orddd"));
- model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/orddeptcd"));
- model.makeValue("/root/send/reqdata/orddrid", model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/orddrid"));
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/pid"));
-
- if(submit("TXMNO00100")) {
- model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/prcsflag", stat);
- model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/elbulbodstat", elbulbodstat);
- }
- }
- }
- else {
- messageBox("다시조회하겠습니다. 현재 전광판의 상태가 ", "E004");
- btn_srchhdpatinfo.dispatch("DOMActivate");
- return;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_hdschelist.row > 0) {
- fsetHngBaseInfo(grd_hdschelist, "H");
- //2012.08.14 by kya, 감염상세정보 보여주기
- if (grd_hdschelist.col == grd_hdschelist.colRef("disp1")){
- model.makeValue("/root/send/infection", "B");
- open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
- }else if (grd_hdschelist.col == grd_hdschelist.colRef("disp2")){
- model.makeValue("/root/send/infection", "C");
- open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
- }else if (grd_hdschelist.col == grd_hdschelist.colRef("disp3")){
- model.makeValue("/root/send/infection", "A");
- open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(grd_hdschelist.mouseRow > 0) {
- fSubMenu("H"); // HD메인 오른쪽 버튼기능
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_hdschelist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- grd_hdschelist.tooltipText(grd_hdschelist.row, grd_hdschelist.colRef("spcffactyn")) = grd_hdschelist.valueMatrix(grd_hdschelist.row, grd_hdschelist.colRef("acptresn"));
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:5px; top:10px; width:1174px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1174px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:16px; top:9px; width:89px; height:17px; ">예약일자 :</caption>
- <button id="btn_srchhdpatinfo" class="btn1_letter2" style="left:1016px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchHDList(); //혈액투석 스케줄 조회
-
-
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption3" class="search_name" style="left:360px; top:9px; width:117px; height:17px; ">진료구분 :</caption>
- <input id="ipt_rsrvfromdd" ref="/root/main/condition/rsrvfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fSrchHDList(); //혈책투석 스케줄 조회
- ]]>
- </script>
- </input>
- <caption id="caption5" style="left:207px; top:10px; width:15px; height:17px; ">~</caption>
- <input id="ipt_rsrvtodd" ref="/root/main/condition/rsrvtodd" class="input_s_essential" inputtype="date" style="left:225px; top:8px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fSrchHDList(); //혈책투석 스케줄 조회
- ]]>
- </script>
- </input>
- <select1 id="cmb_ioflag" ref="/root/main/condition/ioflag" class="combo_search" appearance="minimal" nodeset="/root/main/condition/ioflag" style="left:450px; top:8px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSrchHDList(); //혈책투석 스케줄 조회
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_4" style="x1:1005px; y1:9px; x2:1005px; y2:26px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="button3" class="btn1_letter4" style="left:1075px; top:7px; width:80px; height:22px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel(grd_hdschelist);
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:552px; top:9px; width:77px; height:17px; ">SHIFT :</caption>
- <select1 id="rdo_shift" ref="/root/main/condition/shift" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:632px; top:10px; width:188px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- <item>
- <label>응급</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption10" class="search_name" style="left:830px; top:10px; width:77px; height:17px; ">내환자 :</caption>
- <select1 id="cmb_mypid" ref="/root/main/condition/mypid" class="combo_search" appearance="minimal" nodeset="/root/main/condition/ioflag" style="left:910px; top:8px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/settingrn/settingrnlist">
- <label ref="settingrnnm"/>
- <value ref="settingrnid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSrchHDList(); //혈책투석 스케줄 조회
- ]]>
- </script>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:5px; y1:77px; x2:1179px; y2:77px; "/>
- <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:674px; width:235px; height:29px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
- <caption id="caption4" style="left:15px; top:681px; width:34px; height:17px; background-color:#e1ffe1; "/>
- <caption id="caption8" style="left:60px; top:680px; width:172px; height:20px; ">: 입원/외래 전환이 필요한 경우</caption>
- <shape id="rectangle1" appearance="rectangle" style="left:15px; top:680px; width:36px; height:17px; "/>
- <textarea id="tar_blodprep" ref="/root/main/hdschelist/precondlist/blodpreplist" disabled="false" overflow="scroll" scroll="autovscroll" editable="false" style="left:106px; top:47px; width:764px; height:28px; vertical-align:middle; border-left-width:0; border-top-width:0; border-right-width:0; border-bottom-width:0; "/>
- <caption id="caption68" class="search_name" style="left:20px; top:52px; width:90px; height:17px; ">혈액준비 :</caption>
- <button id="btn_mywork" class="btn2_letter6" style="left:1085px; top:50px; width:86px; height:19px; ">
- <caption>HD worklist</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMND03400");
- ]]>
- </script>
- </button>
- <button id="btn_mypat" class="btn2_letter5" style="left:1005px; top:50px; width:75px; height:19px; ">
- <caption>내환자세팅</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal('SMMND03300');
- fLoadMyPatSetting();
- fSrchHDList();
- ]]>
- </script>
- </button>
- <output id="out_jeawon" ref="/root/main/inptcnt/inptcnt" class="output_fix" style="left:955px; top:50px; width:46px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- modal("SMMND05300"); //유지환자 중 입원환자리스트로 분기
- ]]>
- </script>
- </output>
- <button id="btn_jaewon" class="btn2_letter4" style="left:885px; top:50px; width:64px; height:19px; ">
- <caption>재원환자</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 20141229 kya 재원중인 환자건수
- var workdd = getCurrentDate();
- model.makeValue("/root/send/reqdata/workdd", workdd); //업무일자
- var startdd = workdd.toDate().getAddDate(-4,"D").getDateFormat("YYYYMMDD");
- model.makeValue("/root/send/reqdata/startdd", startdd); //업무일자
- submit("TRMND00106");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <group id="group7" visibility="hidden" style="left:290px; top:235px; width:470px; height:50px; background-color:#87CEFA; ">
- <caption id="caption12" class="tit_2" style="left:0px; top:5px; width:275px; height:13px; ">환자의 이동방법을 선택하십시오.</caption>
- <button id="button10" class="btn5_letter2" navindex="22" style="left:375px; top:25px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPatName();
- group1.visible = false;
- ]]>
- </script>
- </button>
- <button id="button11" class="btn5_letter2" navindex="22" style="left:420px; top:25px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group7.visible = false;
- ]]>
- </script>
- </button>
- <select1 id="radio3" ref="/root/main/condition/method" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:20px; top:26px; width:345px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>걸어서(Foot)</label>
- <value>Foot</value>
- </item>
- <item>
- <label>휠체어이용(Wheel)</label>
- <value>Wheel</value>
- </item>
- <item>
- <label>침대차이용(Car)</label>
- <value>Car</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- </group>
- </case>
- <case id="case2">
- <group id="group5" style="left:5px; top:10px; width:1174px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1174px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:89px; height:17px; ">업무일자 :</caption>
- <button id="button2" class="btn1_letter2" style="left:721px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchPDList(); //복막투석 스케줄 조회
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/condition/rsrvfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fSrchPDList(); //복막투석 스케줄 조회
- ]]>
- </script>
- </input>
- <caption id="caption7" style="left:207px; top:12px; width:15px; height:17px; ">~</caption>
- <input id="input4" ref="/root/main/condition/rsrvtodd" class="input_s_essential" inputtype="date" style="left:225px; top:8px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fSrchPDList(); //복막투석 스케줄 조회
- ]]>
- </script>
- </input>
- <line id="line5" class="line_4" style="x1:710px; y1:9px; x2:710px; y2:26px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="button4" class="btn1_letter4" style="left:1065px; top:7px; width:80px; height:22px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel(grd_pdschelist);
- ]]>
- </script>
- </button>
- <button id="button5" class="btn1_letter4" style="left:780px; top:7px; width:80px; height:22px; ">
- <caption>PD등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var xpos = event.screenX - 400;
- var ypos = event.screenY ;
-
- if(grd_pdschelist.row > 0 ) {
- // 상단정보 설정
- fsetHngBaseInfo(grd_pdschelist, "P");
- }
- // PD등록 팝업
- modal("SMMND02900", 1, xpos, ypos, "SMMND02900", "/root/main/paminfo/list", "/root/temp");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn1_letter4" style="left:863px; top:7px; width:80px; height:22px; ">
- <caption>예약정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var xpos = event.screenX - 400;
- var ypos = event.screenY ;
-
- if(grd_pdschelist.row > 0 ) {
- // 상단정보 설정
- fsetHngBaseInfo(grd_pdschelist, "P");
- }
-
- // 예약등록 팝업
- // modal("SMMND03000", "", xpos, ypos, "SMMND03000", "/root/main/paminfo/list", "/root/temp");
- modal("SMMND03000", 1, xpos, ypos, "SMMND03000", "", "");
-
- fSrchPDList(); //복막투석 스케줄 조회
- ]]>
- </script>
- </button>
- <button id="button1" class="btn1_letter7" style="left:946px; top:7px; width:116px; height:22px; ">
- <caption>T-Set관리현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // T-Set관리현황 팝업
- open("SMMND02600", 1, 1, 1, "SMMND02600", "", "");
- ]]>
- </script>
- </button>
- </group>
- <line id="line6" class="line_1" style="x1:5px; y1:55px; x2:1179px; y2:55px; "/>
- <datagrid id="grd_pdschelist" nodeset="/root/main/pdschelist/pdscheinfo" class="datagrid2" caption="접수^진행
상태^특이^특이^특이^혈액^접촉^공기^등록번호^환자명^S/A^구분^진료과^유지구분^유지환자
등록일자^진료의^처방^희귀^본원투석
시작일자^최근
투석일자^예약일자^예약내용^수납^투석종류^투석액
교환^카테터
고정^출구
소독^도관
길들이기^부종
확인^T-Set
교환^교육^보험구분^histstat^orddd^acptseqno^orgorddd^cretno^indd^seqno" colsep="^" colwidth="0, 0, 34, 21, 20, 30, 30, 30, 59, 70, 37, 32, 100, 59, 73, 65, 30, 30, 73, 70, 72, 91, 0, 68, 42, 43, 32, 54, 35, 43, 119, 54, 0, 0, 0, 0, 0, 0, 0, 0, 100" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:60px; width:1174px; height:639px; ">
- <col ref="acptyn" type="checkbox"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_pdschelist.row;
- model.makeValue("/root/send/reqdata/pid" , model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/pid"));
- model.makeValue("/root/send/reqdata/orddd" , model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/orddd"));
- model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/orddeptcd"));
- model.makeValue("/root/send/reqdata/orddrid" , model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/orddrid"));
-
- if(submit("TRMNO00105")) {
- var ebulstat = model.getValue("/root/main/ebulstat/ebulstat/ebulstat");
-
- if(model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/elbulbodstat") == ebulstat) {
-
- if(ebulstat == "2" ) {
- messageBox("진료후에는 간호접수를 취소", "E001");
- model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/acptyn", "true");
- } else {
- var stat;
- var elbulbodstat;
- var curdd = getCurrentDate();
- var orddd = model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/orddd");
-
- if(ebulstat == "1") {
- if(curdd == orddd) {
- model.makeValue("/root/send/reqdata/elbulbodstat", "0");
- model.makeValue("/root/send/reqdata/nursacptyn", "N");
- stat = "";
- elbulbodstat = "0";
- } else {
- messageBox("과접수 취소를 ", "E001");
-
- model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/acptyn", "true");
- grd_pdschelist.rebuild();
- }
- } else {
- if(curdd == orddd) {
- model.makeValue("/root/send/reqdata/elbulbodstat", "1");
- model.makeValue("/root/send/reqdata/nursacptyn", "Y");
- stat ="대기";
- elbulbodstat = "1";
- } else {
- messageBox("과접수를 ", "E001");
-
- model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/acptyn", "false");
- grd_pdschelist.rebuild();
- return;
- }
-
- }
- model.makeValue("/root/send/reqdata/orddd", model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/orddd"));
- model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/orddeptcd"));
- model.makeValue("/root/send/reqdata/orddrid", model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/orddrid"));
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/pid"));
-
- if(submit("TXMNO00100")) {
- model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/prcsflag", stat);
- model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/elbulbodstat", elbulbodstat);
- }
- }
- }
- else {
- messageBox("다시조회하겠습니다. 현재 전광판의 상태가 ", "E004");
- btn_srchhdpatinfo.dispatch("DOMActivate");
- return;
- }
- }
- ]]>
- </script>
- <col ref="prcsflag" style="text-align:center; "/>
- <col ref="fnexamyn" style="text-align:center; "/>
- <col ref="vipyn" style="text-align:center; "/>
- <col ref="spcffactyn" style="text-align:center; "/>
- <col ref="disp1"/>
- <col ref="disp2"/>
- <col ref="disp3"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="orddeptnm"/>
- <col disabled="true" ref="matnflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>유지</label>
- <value>1</value>
- </item>
- <item>
- <label>전원</label>
- <value>2</value>
- </item>
- <item>
- <label>사망</label>
- <value>3</value>
- </item>
- <item>
- <label>신장이식</label>
- <value>4</value>
- </item>
- <item>
- <label>전환</label>
- <value>5</value>
- </item>
- <item>
- <label>취소</label>
- <value>X</value>
- </item>
- </choices>
- </col>
- <col ref="maintepatrgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="drnm" style="text-align:center; "/>
- <col ref="prcpflag" style="text-align:center; "/>
- <col ref="rooasignyn" style="text-align:center; "/>
- <col ref="roothospdialfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rectdialdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsrvcnts" style="text-align:center; "/>
- <col ref="rcptflag" style="text-align:center; "/>
- <col ref="dialkindflag" style="text-align:center; "/>
- <col ref="dialblodyn" style="text-align:center; "/>
- <col ref="catefixyn" style="text-align:center; "/>
- <col ref="dinfyn" style="text-align:center; "/>
- <col ref="pipeyn" style="text-align:center; "/>
- <col ref="edemacnfmyn" style="text-align:center; "/>
- <col ref="tsetyn" style="text-align:center; "/>
- <col ref="educnts" style="text-align:center; "/>
- <col ref="insunm"/>
- <col ref="histstat"/>
- <col ref="orddd"/>
- <col ref="acptseqno"/>
- <col ref="orgorddd"/>
- <col ref="cretno"/>
- <col ref="indd"/>
- <col ref="seqno"/>
- <col ref="rgstno" visibility="hidden"/>
- <col ref="roomcd" visibility="hidden"/>
- <col ref="medamtpostyn" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_pdschelist.row > 0) {
- fsetHngBaseInfo(grd_pdschelist, "P");
- //2012.08.14 by kya, 감염상세정보 보여주기
- if (grd_pdschelist.col == grd_pdschelist.colRef("disp1")){
- model.makeValue("/root/send/infection", "B");
- open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
- }else if (grd_pdschelist.col == grd_pdschelist.colRef("disp2")){
- model.makeValue("/root/send/infection", "C");
- open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
- }else if (grd_pdschelist.col == grd_pdschelist.colRef("disp3")){
- model.makeValue("/root/send/infection", "A");
- open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (grd_pdschelist.mouseRow > 0) {
- fSubMenu("P"); // PD메인 오른쪽 버튼기능
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <group id="group8" visibility="hidden" style="left:290px; top:235px; width:470px; height:50px; background-color:#87CEFA; ">
- <caption id="caption13" class="tit_2" style="left:0px; top:5px; width:275px; height:13px; ">환자의 이동방법을 선택하십시오.</caption>
- <button id="button12" class="btn5_letter2" navindex="22" style="left:375px; top:25px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPatName();
- group1.visible = false;
- ]]>
- </script>
- </button>
- <button id="button13" class="btn5_letter2" navindex="22" style="left:420px; top:25px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group8.visible = false;
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/main/condition/method" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:20px; top:26px; width:345px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>걸어서(Foot)</label>
- <value>Foot</value>
- </item>
- <item>
- <label>휠체어이용(Wheel)</label>
- <value>Wheel</value>
- </item>
- <item>
- <label>침대차이용(Car)</label>
- <value>Car</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- </group>
- </case>
- </switch>
- <group id="group6" visibility="hidden" style="left:520px; top:5px; width:189px; height:50px; background-color:#87CEFA; ">
- <caption id="caption11" class="tit_2" style="left:0px; top:5px; width:188px; height:14px; ">출력할 장수를 입력하십시오.</caption>
- <input id="ipt_patcntctel" ref="/root/main/printcnt" class="input_default" navindex="9" maxlength="5" format="###" style="left:27px; top:25px; width:60px; height:19px; ">
- <!--
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keyCode == 13 ) {
- model.setFocus("btn_prtlabel");
- prtcnt = ipt_patcntctel.value;
- fCarePatLabel(pid, patnm, sexage, rgstno, orddd, prtcnt, scrnid, barcdRef);
- group1.visible = false;
-
- }else if( event.keyCode == 27) {
- group1.visible = false;
- }
- ]]>
- </script>
- -->
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_prtlabel", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_prtlabel" class="btn5_letter2" navindex="22" style="left:90px; top:25px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sDialFlag = model.getValue("/root/temp/dialflag");
- if(sDialFlag == "H"){ //혈액
- var pid = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/pid");
- var patnm = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/hngnm");
- var sexage = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/sexage");
- var rgstno = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/rgstno");
- var ioflag = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/histstat");
- var roomcd = "";
- if(ioflag == "O"){
- var orddd = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/orddd");
- }else{
- var orddd = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/indd");
- roomcd = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/roomcd");
- }
- var orddeptnm = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/orddeptnm");
- }else if(sDialFlag == "P"){ //복막
- var pid = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/pid");
- var patnm = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/hngnm");
- var sexage = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/sexage");
- var rgstno = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/rgstno");
- var ioflag = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/histstat");
- var roomcd = "";
- if(ioflag == "O"){
- var orddd = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/orddd");
- }else{
- var orddd = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/indd");
- roomcd = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/roomcd");
- }
- var orddeptnm = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/orddeptnm");
- }
- var prtcnt = ipt_patcntctel.value;
-
- // 환자 정보 라벨 출력
- // fCarePatLabel(pid, patnm, sexage, rgstno, orddd, prtcnt, scrnid, barcdRef); // CareCom.js
- if(prtcnt > 0){
- //1. 바코드 라벨 설정값 조회
- //var scrnid = "SMMNR00600";
- var scrnid = "SMMNR00600";
- model.removeNodeset("/root/main/barcdprntsetup");
- fGetBarCodeInfo(scrnid); // CareCom.js
-
- //2. 바코드 라벨 환경설정
- var barcdRef = "/root/main/barcdprntsetup/prntsetupinfo/setupinfo";
- lzzfMakeBrcdPrntObjHanDo("CommAX", barcdRef); //LZZ001.js
- var portOpenTF = fSetNursBarcdInfo(barcdRef); // CareCom.js 바코드프린터별 환경설정(Zebra,SATO)
-
- //3. 환자라벨출력
- fPrtCarePatNameLabel(barcdRef, pid,roomcd, patnm, sexage, rgstno, orddd, orddeptnm, prtcnt, portOpenTF); //CareCom.js
- }
- group6.visible = false;
- ]]>
- </script>
- </button>
- <button id="button9" class="btn5_letter2" navindex="22" style="left:135px; top:25px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main_nm/printcnt","1");
- group6.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- <shape id="rectangle3" appearance="rectangle" style="left:254px; top:25px; width:20px; height:15px; background-color:#ffff00; "/>
- <caption id="caption27" style="left:279px; top:25px; width:86px; height:15px; ">V 진료비후불</caption>
- </xhtml:body>
- </xhtml:html>
|