12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>NST 의뢰</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <pid/>
- <sna/>
- <hngnm/>
- <roomcd/>
- <reqdeptnm/>
- <requsernm/>
- <prcpflag/>
- <recvdeptnm/>
- <recvusernm/>
- </patinfo>
- <cnstinfo>
- <cnstkind>4</cnstkind>
- <cnstseqno/>
- <cretno/>
- <formrecseq/>
- <formcd>0000000770</formcd>
- <cnststat/>
- <reqdd/>
- <reqhm/>
- <chosflag/>
- <orddd/>
- <eryn>N</eryn>
- <reqdeptcd/>
- <requserid/>
- <cnstcnts1>1</cnstcnts1>
- <cnstcnts2/>
- <cnstcnts3/>
- <cnstcnts4/>
- <cnstcnts5/>
- <cnstcnts6/>
- <cnstcnts7/>
- <cnstcnts8/>
- <cnstcnts9/>
- <cnstcnts10/>
- <cnstcnts11/>
- <cnstcnts12/>
- <cnstcnts13/>
- <cnstflag>3</cnstflag>
- <recvdeptcd>3240000000</recvdeptcd>
- <prcpcd/>
- <prcpdd/>
- <prcpno/>
- <prcphistno/>
- </cnstinfo>
- </main>
- <send>
- <srchinfo/>
- <pidformcd>
- <pid/>
- <orddd/>
- <formcd/>
- </pidformcd>
- </send>
- <init>
- <init2d3d/>
- <initposition/>
- <initorientation/>
- <initpillow/>
- <initimmobiliz/>
- <initprotocol/>
- <initthickness/>
- </init>
- <hidden>
- <reqfrminfo>
- <pid/>
- <prcpcd/>
- <prcpnm/>
- <opnm/>
- <spccd/>
- <spcnm/>
- <reqno/>
- <reqhistno/>
- <prcpstatcd/>
- </reqfrminfo>
- <item>
- <cnstkind/>
- <cnstseqno/>
- </item>
- <cnststatinfo>
- <cnststat/>
- </cnststatinfo>
- </hidden>
- <temp>
- <SMMMR03600_modalif>
- <openmode>OneImge</openmode>
- <imgecd/>
- <base64/>
- <shape/>
- </SMMMR03600_modalif>
- <cnstinfo/>
- <cnstcnst4_sel/>
- <nst_title/>
- <endstatepid>
- <stateflag/>
- </endstatepid>
- <nstfinishyn>
- <finishyn/>
- </nstfinishyn>
- </temp>
- <paminfo>
- </paminfo>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //zbcfGetCodeList( new Array("A0405","A0406", "A0407", "A0408", "A0409", "A0410", "A0412"), new Array("/root/init/init2d3d", "/root/init/initposition", "/root/init/initorientation", "/root/init/initpillow", "/root/init/initimmobiliz", "/root/init/initprotocol", "/root/init/initthickness") );
- //submit("TRZBC00101");
- finit();
- //fExeInitialize();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TXADC61701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cnstinfo" replace="instance" resultref="/root/hidden/item"/>
- <submission id="TRADC61701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main"/>
- <submission id="TXADC61702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/hidden"/>
- <submission id="TRADC62202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cnstinfo" replace="instance" resultref="/root/hidden/cnststatinfo"/>
- <submission id="TRADC62203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/pidformcd" resultref="/root/temp/endstatepid"/>
- <submission id="TRADC62204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/pidformcd" resultref="/root/temp/nstfinishyn"/>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
-
- var temp1 = new Array(); // nst자문의뢰 이유 선택값 임시저장
- var temp2 = new Array(); // 열량요구량 선택값 임시저장
-
- function finit(){
- if(fCnstType()){
- model.toggle("case4");
- model.toggle("case6");
- fSetPatinfo();
- fSetCnstDiv("/root/temp/cnstinfo/formcd");
- }else{
- model.toggle("case3");
- var pamInfoCvs = getGlobalVariable("paminfo");
-
- if(!isNull(pamInfoCvs)){ //cvs가 null이 아닌 경우에만 처리함.
- model.removeNodeSet ( "/root/paminfo/list" ); //상단화면 정보 초기화
- setCSVToNode ( "/root/paminfo", pamInfoCvs );
-
- model.setValue("/root/main/patinfo/pid",model.getValue("/root/paminfo/list/pid"));
- var sna = model.getValue("/root/paminfo/list/sex") +"/"+ model.getValue("/root/paminfo/list/age");
- model.setValue("/root/main/patinfo/sna", sna);
- model.setValue("/root/main/patinfo/hngnm", model.getValue("/root/paminfo/list/hngnm"));
- model.setValue("/root/main/patinfo/roomcd", model.getValue("/root/paminfo/list/roomcd"));
- model.setValue("/root/main/patinfo/reqdeptnm", getUserInfo("dutplcenm"));
- model.setValue("/root/main/cnstinfo/reqdeptcd", getUserInfo("dutplcecd"));
- model.setValue("/root/main/patinfo/requsernm", getUserName());
- model.setValue("/root/main/cnstinfo/requserid", getUserId());
- var prcpflag ="";
- var ioflag = model.getValue("/root/paminfo/list/ioflag");
- if(ioflag == "O" || ioflag == "S"){
- prcpflag = "외래";
- model.setValue("/root/main/cnstinfo/orddd", model.getValue("/root/paminfo/list/orddd"));
- }else {
- prcpflag = "입원";
- model.setValue("/root/main/cnstinfo/orddd", model.getValue("/root/paminfo/list/indd"));
- }
- if(model.getValue("/root/paminfo/list/fsexamflag") == "F"){
- prcpflag += "/초진";
- }else if(model.getValue("/root/paminfo/list/fsexamflag") =="R"){
- prcpflag += "/재진";
- }
- model.setValue("/root/main/patinfo/prcpflag", prcpflag);
-
- model.setValue("/root/main/cnstinfo/chosflag", model.getValue("/root/paminfo/list/ioflag"));
- model.setValue("/root/main/cnstinfo/cretno", model.getValue("/root/paminfo/list/cretno"));
- //2008-11-01 진료와연동처리 추가 Start
- if (model.getValue("/root/temp/cnstinfo/prcpcd") != "" ) {
- model.setValue("/root/main/cnstinfo/prcpcd", model.getValue("/root/temp/cnstinfo/prcpcd")); //처방코드
- model.setValue("/root/temp/cnstinfo","0000000770" ); //처방창 연결시 의뢰창 기본셋팅 TPN으로 처리하기 위함.
- }
- if (model.getValue("/root/temp/cnstinfo/prcpdd") != "" ) {
- model.setValue("/root/main/cnstinfo/prcpdd", model.getValue("/root/temp/cnstinfo/prcpdd")); //처방일자
- }
- // if (model.getValue("/root/temp/cnstinfo/prcpno") != "" ) {
- // model.setValue("/root/main/cnstinfo/prcpno", model.getValue("/root/temp/cnstinfo/prcpno")); //처방번호
- // }
- // if (model.getValue("/root/temp/cnstinfo/prcphistno") != "" ) {
- // model.setValue("/root/main/cnstinfo/prcphistno", model.getValue("/root/temp/cnstinfo/prcphistno")); //처방이력번호
- // }
- //2008-11-01 진료와연동처리 추가 End
-
- fSetCnstDiv("/root/temp/cnstinfo");
- }else{
- var msg = messageBox("환자를 ", "C002");
- btn_cnst.disabled = true;
- return false;
- }
- }
- model.refresh();
- }
- function fCnstType(){
- if(model.getValue("/root/temp/cnstinfo/formrecseq") == ""){
- return false;
- }else return true;
- }
-
- function fSetPatinfo(){
-
- model.setValue("/root/main/patinfo/pid", model.getValue("/root/temp/cnstinfo/pid"));
- model.setValue("/root/main/patinfo/hngnm", model.getValue("/root/temp/cnstinfo/pidnm"));
- model.setValue("/root/main/patinfo/reqdeptnm", model.getValue("/root/temp/cnstinfo/reqdeptnm"));
- model.setValue("/root/main/patinfo/requsernm", model.getValue("/root/temp/cnstinfo/requsernm"));
- model.setValue("/root/main/patinfo/recvdeptnm", model.getValue("/root/temp/cnstinfo/recvdeptnm"));
- model.setValue("/root/main/patinfo/recvusernm", model.getValue("/root/temp/cnstinfo/recvusernm"));
-
- model.copyNode("/root/send/srchinfo", "/root/temp/cnstinfo");
- submit("TRADC61701");
-
- if(model.getValue("/root/main/cnstinfo/cnststat") >= 20) {
- btn_cnstcancel.visible = false;
- btn_cnstcancel.refresh();
- }
- }
-
- function fSetCnstDiv(path){
- // EN, PN 의뢰구분
- if(model.getValue(path) == "0000000770"){
- fSetEnPnCntl("PN");
- model.setValue("/root/main/cnstinfo/cnstcnts8","2");
- model.setValue("/root/main/cnstinfo/cnstcnts9",""); //2010-04-12 의뢰영역 EN선택시 의뢰유형 ‘영양평가’를 Default 지정
- rdo_cnstcnts2.visible = "false";
- radio2.visible = "true";
- model.setValue("/root/temp/nst_title","영양지원의뢰(영양평가)");
- }else{
- /////2016.8.3. 김치국
- messageBox("경장영앙지원의뢰(EN)은 입력불가합니다","I");
- event.preventDefault();
- window.close();
- return false;
- model.setValue("/root/main/cnstinfo/formcd","0000003019"); // 경장영양지원의뢰(EN) formcd
- model.setValue("/root/main/cnstinfo/recvdeptcd","3250100000"); // 수신부서 --> 영양팀(3250100000)
- model.setValue("/root/main/cnstinfo/cnstcnts8","1");
- model.setValue("/root/main/cnstinfo/cnstcnts9","1"); //2010-04-12 의뢰영역 EN선택시 의뢰유형 ‘영양평가’를 Default 지정
- rdo_cnstcnts2.visible = "true";
- radio2.visible = "false";
- model.setValue("/root/temp/nst_title","경장영양지원의뢰(Tube feeding)");
- }
- rdo_cnstcnts8.disabled = "true";
- }
-
- // 현재시간 구하기 : 시간 분
- function astgetCurrentTime()
- {
- var sDate = getNewDate();
-
- rtnTime = (( sDate.getHours() > 9 ) ? sDate.getHours() : "0" + sDate.getHours());
- rtnTime = rtnTime.toString() + (( sDate.getMinutes() > 9 ) ? sDate.getMinutes() : "0" + sDate.getMinutes());
-
- return rtnTime;
- }
-
- // TPN 자문의뢰 정보 저장
- function fSaveCnst(){
- if(model.getValue("/root/main/patinfo/pid") != ""){
- model.makeNode("/root/main/cnstinfo/pid");
- model.setValue("/root/main/cnstinfo/pid", model.getValue("/root/main/patinfo/pid"));
-
- submit("TXADC61701");
-
- model.refresh();
- }
- }
- function fInitCnstCnts(){
- model.setValue("/root/main/cnstinfo/cnstcnts8", "");
- model.setValue("/root/main/cnstinfo/cnstcnts9", "");
- model.setValue("/root/main/cnstinfo/cnstcnts10", "");
- model.setValue("/root/main/cnstinfo/cnstcnts11", "");
- model.setValue("/root/main/cnstinfo/cnstcnts12", "");
- model.setValue("/root/main/cnstinfo/cnstcnts13", "");
- }
-
- function fInitControl(){
- ipt_needcalr1.attribute("editable") = "false";
- ipt_needcalr4.attribute("editable") = "false";
- ipt_needcalr5.attribute("editable") = "false";
- ipt_needcalr7.attribute("editable") = "false";
- ipt_needcalr9.attribute("editable") = "false";
- ipt_needcalr10.attribute("editable") = "false";
- ipt_needcalr11.attribute("editable") = "false";
- ipt_needcalr15.attribute("editable") = "false";
-
- ipt_needcalr1.attribute("ref") = "";
- cmb_needcalr2.attribute("ref") = "";
- cmb_needcalr3.attribute("ref") = "";
- ipt_needcalr4.attribute("ref") = "";
- ipt_needcalr5.attribute("ref") = "";
- cmb_needcalr6.attribute("ref") = "";
- ipt_needcalr7.attribute("ref") = "";
- cmb_needcalr8.attribute("ref") = "";
- ipt_needcalr9.attribute("ref") = "";
- ipt_needcalr10.attribute("ref") = "";
- ipt_needcalr11.attribute("ref") = "";
- cmb_needcalr12.attribute("ref") = "";
- cmb_needcalr13.attribute("ref") = "";
- cmb_needcalr14.attribute("ref") = "";
- ipt_needcalr15.attribute("ref") = "";
- }
-
- // PN 의뢰시 버튼 비활성화
- function fSetEnPnCntl(control){
- if(control == "PN"){
- rdo_cnstcnts5.disabled = "true"; // EN Tube 종류
- rdo_cnstcnts9.disabled = "true"; // 의뢰유형
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="800" pageheight="600" guideline="1,1195;2,757;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:770px; height:555px; ">
- <line id="line3" class="line_3" style="x1:0px; y1:554px; x2:770px; y2:554px; "/>
- <switch id="switch1" style="left:0px; top:79px; width:770px; height:476px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:768px; height:470px; ">
- <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:391px; height:14px; ">NST 자문의뢰 이유</caption>
- <line id="line1" class="line_1" style="x1:6px; y1:28px; x2:764px; y2:28px; "/>
- <caption id="caption97" class="cell_1" style="left:6px; top:140px; width:95px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">투여경로</caption>
- <caption id="caption2" class="cell_1" style="left:6px; top:416px; width:95px; height:23px; text-align:center; vertical-align:middle; ">임상정보</caption>
- <textarea id="tar_cnstcnts7" ref="/root/main/cnstinfo/cnstcnts7" navindex="6" scroll="auto" maxlength="33" autonext="false" style="left:6px; top:442px; width:754px; height:23px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능한 글자수를", "E003");
- ]]>
- </script>
- </textarea>
- <caption id="caption3" class="cell_1" style="left:6px; top:190px; width:95px; height:20px; text-align:center; vertical-align:middle; ">예상투여기간</caption>
- <caption id="caption4" class="cell_1" style="left:6px; top:242px; width:95px; height:23px; text-align:center; vertical-align:middle; ">의뢰사유</caption>
- <caption id="caption5" class="cell_1" style="left:6px; top:335px; width:95px; height:20px; text-align:center; vertical-align:middle; ">EN Tube 종류</caption>
- <caption id="caption6" class="cell_1" style="left:6px; top:390px; width:95px; height:23px; text-align:center; vertical-align:middle; ">C-LINE</caption>
- <textarea id="tar_cnstcnts4" ref="/root/main/cnstinfo/cnstcnts4" class="text_essential" navindex="3" scroll="auto" maxlength="166" autonext="false" style="left:6px; top:268px; width:754px; height:62px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능한 글자수를", "E003");
- ]]>
- </script>
- </textarea>
- <shape id="rectangle2" appearance="rectangle" style="left:6px; top:358px; width:559px; height:25px; border-color:#c0c0c0; "/>
- <shape id="rectangle1" appearance="rectangle" style="left:6px; top:213px; width:474px; height:25px; border-color:#c0c0c0; "/>
- <shape id="rectangle3" appearance="rectangle" style="left:6px; top:162px; width:754px; height:25px; border-color:#c0c0c0; "/>
- <select1 id="rdo_cnstcnts6" ref="/root/main/cnstinfo/cnstcnts6" navindex="5" appearance="full" cellspacing="40" cols="5" rows="1" vcellspacing="5" overflow="visible" style="left:114px; top:392px; width:126px; height:20px; border-color:#c0c0c0; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>1</value>
- </item>
- <item>
- <label>무</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <shape id="rectangle4" appearance="rectangle" style="left:104px; top:391px; width:141px; height:23px; border-color:#c0c0c0; "/>
- <caption id="caption13" class="cell_1" style="left:5px; top:35px; width:95px; height:20; text-align:center; vertical-align:middle; border-style:none; ">의뢰영역</caption>
- <caption id="caption14" class="cell_1" style="left:5px; top:85px; width:95px; height:20; text-align:center; vertical-align:middle; border-style:none; ">의뢰유형</caption>
- <shape id="rectangle5" appearance="rectangle" style="left:6px; top:58px; width:759px; height:25px; border-color:#c0c0c0; "/>
- <shape id="rectangle6" appearance="rectangle" style="left:5px; top:108px; width:105px; height:25px; border-color:#c0c0c0; "/>
- <select1 id="rdo_cnstcnts9" ref="/root/main/cnstinfo/cnstcnts9" navindex="5" appearance="full" cellspacing="20" cols="5" rows="1" vcellspacing="5" overflow="visible" style="left:17px; top:110px; width:83px; height:20px; border-color:#c0c0c0; border-style:none; ">
- <choices>
- <item>
- <label>영양평가</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_title" ref="/root/temp/nst_title" style="left:105px; top:35px; width:525px; height:20px; font-size:12pt; font-weight:bold; color:#ff0000; ">caption23</caption>
- <select1 id="rdo_cnstcnts8" ref="/root/main/cnstinfo/cnstcnts8" navindex="5" appearance="full" cellspacing="330" cols="5" rows="1" vcellspacing="5" overflow="visible" style="left:17px; top:60px; width:503px; height:20px; border-color:#c0c0c0; border-style:none; ">
- <choices>
- <item>
- <label>EN</label>
- <value>1</value>
- </item>
- <item>
- <label>TPN</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/main/cnstinfo/cnstcnts2" navindex="1" appearance="full" cellspacing="42" cols="5" rows="2" vcellspacing="5" overflow="visible" style="left:19px; top:164px; width:731px; height:20px; border-color:#c0c0c0; border-style:none; ">
- <choices>
- <item>
- <label>EN(Tube Feeding)</label>
- <value>1</value>
- </item>
- <item>
- <label>TPN(Central)</label>
- <value>2</value>
- </item>
- <item>
- <label>PPN(Peripheral)</label>
- <value>3</value>
- </item>
- <item>
- <label>EN + TPN</label>
- <value>4</value>
- </item>
- <item>
- <label>EN + PPN</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_cnstcnts2" ref="/root/main/cnstinfo/cnstcnts2" navindex="1" appearance="full" cellspacing="50" cols="3" rows="2" vcellspacing="5" overflow="visible" style="left:20px; top:164px; width:523px; height:20px; border-color:#c0c0c0; border-style:none; ">
- <choices>
- <item>
- <label>EN(Tube Feeding)</label>
- <value>1</value>
- </item>
- <item>
- <label>EN + TPN</label>
- <value>4</value>
- </item>
- <item>
- <label>EN + PPN</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_cnstcnts3" ref="/root/main/cnstinfo/cnstcnts3" navindex="2" appearance="full" cellspacing="60" cols="4" rows="1" vcellspacing="5" overflow="visible" style="left:21px; top:216px; width:449px; height:20px; border-color:#c0c0c0; border-style:none; ">
- <choices>
- <item>
- <label>1주 이내</label>
- <value>1</value>
- </item>
- <item>
- <label>1~2주</label>
- <value>2</value>
- </item>
- <item>
- <label>2~4주</label>
- <value>3</value>
- </item>
- <item>
- <label>4주이상</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo1" ref="/root/temp/cnstcnst4_sel" appearance="minimal" style="left:188px; top:244px; width:445px; height:19px; ">
- <choices>
- <item>
- <label>적절한 영양평가 및 관리위해 의뢰합니다.</label>
- <value>적절한 영양평가 및 관리위해 의뢰합니다.</value>
- </item>
- <item>
- <label>NPO하면서 TPN중인환자로 영양평가 의뢰합니다.</label>
- <value>NPO하면서 TPN중인환자로 영양평가 의뢰합니다.</value>
- </item>
- <item>
- <label>Tube feeding중인 환자로 영양평가 의뢰합니다.</label>
- <value>Tube feeding중인 환자로 영양평가 의뢰합니다.</value>
- </item>
- <item>
- <label>TPN과 feeding병행 공급 중인 환자로 영양적절성 평가, 관리위해 의뢰합니다.</label>
- <value>TPN과 feeding병행 공급 중인 환자로 영양적절성 평가, 관리위해 의뢰합니다.</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cnst4_sel = model.getValue("/root/temp/cnstcnst4_sel");
- model.setValue("/root/main/cnstinfo/cnstcnts4", cnst4_sel);
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_cnstcnts5" ref="/root/main/cnstinfo/cnstcnts5" navindex="4" appearance="full" cellspacing="55" cols="5" rows="1" vcellspacing="5" overflow="visible" style="left:21px; top:361px; width:539px; height:20px; border-color:#c0c0c0; border-style:none; ">
- <choices>
- <item>
- <label>NG</label>
- <value>1</value>
- </item>
- <item>
- <label>NJ</label>
- <value>2</value>
- </item>
- <item>
- <label>PEG</label>
- <value>3</value>
- </item>
- <item>
- <label>Gastrotomy</label>
- <value>4</value>
- </item>
- <item>
- <label>Jejunostomy</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption15" style="left:110px; top:245px; width:75px; height:20px; text-align:right; ">사유선택:</caption>
- </case>
- <case id="case2" style="left:0px; top:0px; width:768px; height:333px; ">
- <input id="ipt_mbasembolcm" class="input_default" navindex="8" autonext="false" maxlength="10" format="####.##" style="left:215px; top:35px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption257" class="tit_2" style="left:9px; top:97px; width:391px; height:13px; ">필요열량(Total Caloric Need : TCN)</caption>
- <caption id="caption268" style="left:200px; top:147px; width:35px; height:20px; vertical-align:middle; ">(AF)x</caption>
- <caption id="caption323" style="left:391px; top:173px; width:20px; height:20px; vertical-align:middle; ">=</caption>
- <caption id="caption269" style="left:290px; top:147px; width:35px; height:20px; vertical-align:middle; ">(IF) =</caption>
- <caption id="caption324" style="left:38px; top:194px; width:59px; height:23px; vertical-align:middle; ">1784-11*(</caption>
- <caption id="caption149" style="left:4px; top:34px; width:112px; height:23px; vertical-align:middle; ">남자 : 66.5 + 13.7 x</caption>
- <input id="ipt_wbasembolcm" class="input_default" navindex="12" autonext="false" maxlength="10" format="######.####" style="left:215px; top:60px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption226" style="left:155px; top:59px; width:65px; height:23px; text-align:center; vertical-align:middle; ">Kg + 1.9 x</caption>
- <caption id="caption259" style="left:383px; top:59px; width:23px; height:23px; text-align:center; vertical-align:middle; ">yr =</caption>
- <caption id="caption325" style="left:129px; top:194px; width:74px; height:23px; vertical-align:middle; ">
- <![CDATA[->나이)+5*(]]>
- </caption>
- <input id="ipt_needcalr7" class="input_default" navindex="23" autonext="false" editable="false" maxlength="10" format="######.####" style="left:235px; top:172px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption326" style="left:240px; top:194px; width:74px; height:23px; vertical-align:middle; ">
- <![CDATA[->체중)+244(]]>
- </caption>
- <input id="ipt_mbasembolyy" class="input_default" navindex="9" autonext="false" maxlength="10" format="####.##" style="left:340px; top:35px; width:40px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <input id="ipt_mbasembolcalc" class="input_default" navindex="10" autonext="false" maxlength="10" format="######.####" style="left:408px; top:35px; width:55px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <input id="ipt_needcalr10" class="input_default" navindex="26" autonext="false" editable="false" maxlength="10" format="######.####" style="left:92px; top:195px; width:36px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption327" style="left:362px; top:194px; width:45px; height:23px; vertical-align:middle; ">)+239*</caption>
- <input id="ipt_mbasembolkg" class="input_default" navindex="7" autonext="false" maxlength="10" format="######.####" style="left:114px; top:35px; width:41px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <input id="ipt_needcalr4" class="input_default" navindex="20" autonext="false" editable="false" maxlength="10" format="######.####" style="left:325px; top:147px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption306" style="left:630px; top:173px; width:90px; height:23px; vertical-align:middle; ">(+ W. F. : 20%)</caption>
- <input id="ipt_needcalr9" class="input_default" navindex="25" autonext="false" editable="false" maxlength="10" format="######.####" style="left:405px; top:172px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <input id="ipt_needcalr15" class="input_default" navindex="31" autonext="false" editable="false" maxlength="10" format="######.####" style="left:558px; top:195px; width:50px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption328" style="left:454px; top:194px; width:47px; height:23px; vertical-align:middle; ">)+804*(</caption>
- <input id="input66" ref="/root/main/cnstinfo/cnstcnts6" class="input_default" navindex="15" autonext="false" maxlength="10" format="######.####" style="left:90px; top:122px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption108" class="cell_2" style="left:5px; top:120px; width:83px; height:23px; vertical-align:middle; ">보정열량</caption>
- <caption id="caption180" style="left:155px; top:33px; width:50px; height:24px; text-align:center; vertical-align:middle; ">Kg + 5 x</caption>
- <input id="ipt_wbasembolkg" class="input_default" navindex="11" autonext="false" maxlength="10" format="######.####" style="left:114px; top:60px; width:40px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <input id="ipt_needcalr1" class="input_default" navindex="17" autonext="false" editable="false" maxlength="10" format="######.####" style="left:40px; top:147px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <select1 id="cmb_needcalr6" class="combo_search" navindex="22" appearance="minimal" style="left:145px; top:172px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>(1.2) confined to bed</label>
- <value>1.2</value>
- </item>
- <item>
- <label>(1.3) out of bed</label>
- <value>1.3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption329" style="left:544px; top:194px; width:20px; height:23px; vertical-align:middle; ">)=</caption>
- <line id="line162" class="line_2" style="x1:5px; y1:192px; x2:763px; y2:192px; "/>
- <line id="line47" class="line_2" style="x1:5px; y1:142px; x2:763px; y2:142px; "/>
- <line id="line141" class="line_2" style="x1:5px; y1:57px; x2:763px; y2:57px; "/>
- <select1 id="cmb_needcalr2" class="combo_search" navindex="18" appearance="minimal" style="left:145px; top:147px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>(1.2) confined to bed</label>
- <value>1.2</value>
- </item>
- <item>
- <label>(1.3) out of bed</label>
- <value>1.3</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_needcalr11" class="input_default" navindex="27" autonext="false" editable="false" maxlength="10" format="######.####" style="left:196px; top:195px; width:44px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <line id="line163" class="line_3" style="x1:5px; y1:217px; x2:763px; y2:217px; "/>
- <caption id="caption182" style="left:275px; top:32px; width:63px; height:23px; text-align:center; vertical-align:middle; ">cm - 6.8 x</caption>
- <caption id="caption270" style="left:395px; top:147px; width:55px; height:20px; vertical-align:middle; ">kcal/day</caption>
- <select1 id="cmb_needcalr8" class="combo_search" navindex="24" appearance="minimal" style="left:335px; top:172px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>(0.2) T.F. : 20~30%</label>
- <value>0.2</value>
- </item>
- <item>
- <label>(0.3) W.F. : 20%</label>
- <value>0.3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption292" style="left:505px; top:173px; width:116px; height:23px; vertical-align:middle; ">( + T.F. : 20 ~ 30 %)</caption>
- <input id="ipt_wbasembolcalc" class="input_default" navindex="14" autonext="false" maxlength="10" format="######.####" style="left:408px; top:60px; width:55px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <line id="line143" class="line_3" style="x1:5px; y1:81px; x2:763px; y2:81px; "/>
- <select1 id="radio1" ref="/root/main/cnstinfo/cnstcnts7" navindex="16" appearance="full" cols="1" rows="3" vcellspacing="8" overflow="visible" style="left:5px; top:143px; width:35px; height:72px; border-style:none; ">
- <choices>
- <item>
- <label>=</label>
- <value>1</value>
- </item>
- <item>
- <label>=</label>
- <value>2</value>
- </item>
- <item>
- <label>=</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInitControl();
- fInitCnstCnts();
-
- model.refresh();
- if(model.getValue("/root/main/cnstinfo/cnstcnts7") == 1){
- ipt_needcalr1.attribute("ref") = "/root/main/cnstinfo/cnstcnts8";
- cmb_needcalr2.attribute("ref") = "/root/main/cnstinfo/cnstcnts9";
- cmb_needcalr3.attribute("ref") = "/root/main/cnstinfo/cnstcnts10";
- ipt_needcalr4.attribute("ref") = "/root/main/cnstinfo/cnstcnts11";
-
- ipt_needcalr1.attribute("editable") = "true";
- ipt_needcalr4.attribute("editable") = "true";
- }else if(model.getValue("/root/main/cnstinfo/cnstcnts7") == 2){
- ipt_needcalr5.attribute("ref") = "/root/main/cnstinfo/cnstcnts8";
- cmb_needcalr6.attribute("ref") = "/root/main/cnstinfo/cnstcnts9";
- ipt_needcalr7.attribute("ref") = "/root/main/cnstinfo/cnstcnts10";
- cmb_needcalr8.attribute("ref") = "/root/main/cnstinfo/cnstcnts11";
- ipt_needcalr9.attribute("ref") = "/root/main/cnstinfo/cnstcnts12";
-
- ipt_needcalr5.attribute("editable") = "true";
- ipt_needcalr7.attribute("editable") = "true";
- ipt_needcalr9.attribute("editable") = "true";
- }else if(model.getValue("/root/main/cnstinfo/cnstcnts7") == 3){
- ipt_needcalr10.attribute("ref") = "/root/main/cnstinfo/cnstcnts8";
- ipt_needcalr11.attribute("ref") = "/root/main/cnstinfo/cnstcnts9";
- cmb_needcalr12.attribute("ref") = "/root/main/cnstinfo/cnstcnts10";
- cmb_needcalr13.attribute("ref") = "/root/main/cnstinfo/cnstcnts11";
- cmb_needcalr14.attribute("ref") = "/root/main/cnstinfo/cnstcnts12";
- ipt_needcalr15.attribute("ref") = "/root/main/cnstinfo/cnstcnts13";
-
- ipt_needcalr10.attribute("editable") = "true";
- ipt_needcalr11.attribute("editable") = "true";
- ipt_needcalr15.attribute("editable") = "true";
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_needcalr3" class="combo_search" navindex="19" appearance="minimal" style="left:235px; top:147px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>(1.1) minor</label>
- <value>1.1</value>
- </item>
- <item>
- <label>(1.2) mild</label>
- <value>1.2</value>
- </item>
- <item>
- <label>(1.35) sleltal</label>
- <value>1.35</value>
- </item>
- <item>
- <label>(1.5) 40% BSA</label>
- <value>1.5</value>
- </item>
- <item>
- <label>(1.4) mod</label>
- <value>1.4</value>
- </item>
- <item>
- <label>(1.6) head with steroid Tx</label>
- <value>1.6</value>
- </item>
- <item>
- <label>(1.8) severe</label>
- <value>1.8</value>
- </item>
- <item>
- <label>(1.95) 100% BSA</label>
- <value>1.95</value>
- </item>
- </choices>
- </select1>
- <caption id="caption282" style="left:135px; top:173px; width:10px; height:20px; vertical-align:middle; ">x</caption>
- <caption id="caption195" style="left:383px; top:32px; width:23px; height:23px; text-align:center; vertical-align:middle; ">yr =</caption>
- <caption id="caption261" style="left:100px; top:148px; width:43px; height:20px; vertical-align:middle; ">(BEE)</caption>
- <line id="line145" class="line_1" style="x1:5px; y1:115px; x2:763px; y2:115px; "/>
- <select1 id="cmb_needcalr12" class="combo_search" navindex="28" appearance="minimal" style="left:312px; top:195px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>male</label>
- <value>1</value>
- </item>
- <item>
- <label>female</label>
- <value>0</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_wbasembolyy" class="input_default" navindex="13" autonext="false" maxlength="10" format="######.####" style="left:340px; top:60px; width:40px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption263" style="left:135px; top:148px; width:10px; height:20px; vertical-align:middle; ">x</caption>
- <input id="ipt_needcalr5" class="input_default" navindex="21" autonext="false" editable="false" maxlength="10" format="######.####" style="left:40px; top:172px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능 범위를", "E003");
- ]]>
- </script>
- </input>
- <caption id="caption285" style="left:295px; top:173px; width:40px; height:19px; vertical-align:middle; ">(BEE)</caption>
- <select1 id="cmb_needcalr13" class="combo_search" navindex="29" appearance="minimal" style="left:405px; top:195px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>present</label>
- <value>1</value>
- </item>
- <item>
- <label>absent</label>
- <value>0</value>
- </item>
- </choices>
- </select1>
- <caption id="caption275" style="left:200px; top:173px; width:35px; height:20px; vertical-align:middle; ">(AF)+</caption>
- <caption id="caption330" style="left:610px; top:194px; width:155px; height:23px; vertical-align:middle; ">kcal/day(Ventilator care시)</caption>
- <select1 id="cmb_needcalr14" class="combo_search" navindex="30" appearance="minimal" style="left:495px; top:195px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>present</label>
- <value>1</value>
- </item>
- <item>
- <label>absent</label>
- <value>0</value>
- </item>
- </choices>
- </select1>
- <line id="line137" class="line_1" style="x1:5px; y1:30px; x2:763px; y2:30px; "/>
- <caption id="caption133" class="tit_2" style="left:9px; top:15px; width:391px; height:13px; ">기초대사량(BAsal Energy Expenditure : BEE)</caption>
- <caption id="caption210" style="left:275px; top:59px; width:65px; height:23px; text-align:center; vertical-align:middle; ">cm - 4.7 x</caption>
- <caption id="caption276" style="left:100px; top:173px; width:40px; height:19px; vertical-align:middle; ">(BEE)</caption>
- <caption id="caption331" style="left:399px; top:196px; width:15px; height:20px; vertical-align:middle; ">(</caption>
- <caption id="caption211" style="left:4px; top:59px; width:106px; height:23px; vertical-align:middle; ">여자 : 665 + 9.6 x</caption>
- <line id="line149" class="line_2" style="x1:5px; y1:168px; x2:763px; y2:168px; "/>
- </case>
- </switch>
- <button id="button6" class="btn_sw" group="tab" selected="true" style="left:0px; top:58px; width:65px; height:22px; ">
- <caption>NST의뢰</caption>
- <!--<toggle case="case1" ev:event="onclick"/>-->
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/main/cnstinfo/cnstcnts1") == 2){
- for(var i = 0; i < 12; i++){
- temp2[i] = model.getValue("/root/main/cnstinfo/cnstcnts"+ (i+2));
- }
- model.setValue("/root/main/cnstinfo/cnstcnts1", "1");
- model.setValue("/root/main/cnstinfo/cnstcnts2", temp1[0]);
- model.setValue("/root/main/cnstinfo/cnstcnts3", temp1[1]);
- model.setValue("/root/main/cnstinfo/cnstcnts4", temp1[2]);
- model.setValue("/root/main/cnstinfo/cnstcnts5", temp1[3]);
- model.setValue("/root/main/cnstinfo/cnstcnts6", temp1[4]);
- model.setValue("/root/main/cnstinfo/cnstcnts7", temp1[5]);
- model.setValue("/root/main/cnstinfo/cnstcnts8", temp1[6]);
- model.setValue("/root/main/cnstinfo/cnstcnts9", temp1[7]);
- model.setValue("/root/main/cnstinfo/cnstcnts10", "");
- model.setValue("/root/main/cnstinfo/cnstcnts11", "");
- model.setValue("/root/main/cnstinfo/cnstcnts12", "");
- model.setValue("/root/main/cnstinfo/cnstcnts13", "");
- model.toggle("case1");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn_sw" visibility="hidden" group="tab" style="left:64px; top:58px; width:96px; height:22px; ">
- <caption>열량요구량계산</caption>
- <!--<toggle case="case2" ev:event="onclick"/>-->
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/main/cnstinfo/cnstcnts1") == 1){
- for(var i = 0; i < 8; i++){
- temp1[i] = model.getValue("/root/main/cnstinfo/cnstcnts"+ (i+2));
- }
- model.setValue("/root/main/cnstinfo/cnstcnts1", "2");
- model.setValue("/root/main/cnstinfo/cnstcnts2", temp2[0]);
- model.setValue("/root/main/cnstinfo/cnstcnts3", temp2[1]);
- model.setValue("/root/main/cnstinfo/cnstcnts4", temp2[2]);
- model.setValue("/root/main/cnstinfo/cnstcnts5", temp2[3]);
- model.setValue("/root/main/cnstinfo/cnstcnts6", temp2[4]);
- model.setValue("/root/main/cnstinfo/cnstcnts7", temp2[5]);
- model.setValue("/root/main/cnstinfo/cnstcnts8", temp2[6]);
- model.setValue("/root/main/cnstinfo/cnstcnts9", temp2[7]);
- model.setValue("/root/main/cnstinfo/cnstcnts10", temp2[8]);
- model.setValue("/root/main/cnstinfo/cnstcnts11", temp2[9]);
- model.setValue("/root/main/cnstinfo/cnstcnts12", temp2[10]);
- model.setValue("/root/main/cnstinfo/cnstcnts13", temp2[11]);
- model.toggle("case2");
- }
- if(isSearchString(model.getValue("/root/main/patinfo/sna"), "M")){
- ipt_wbasembolkg.attribute("editable") = "false";
- ipt_wbasembolcm.attribute("editable") = "false";
- ipt_wbasembolyy.attribute("editable") = "false";
- ipt_wbasembolcalc.attribute("editable") = "false";
- ipt_mbasembolkg.attribute("ref") = "/root/main/cnstinfo/cnstcnts2";
- ipt_mbasembolcm.attribute("ref") = "/root/main/cnstinfo/cnstcnts3";
- ipt_mbasembolyy.attribute("ref") = "/root/main/cnstinfo/cnstcnts4";
- ipt_mbasembolcalc.attribute("ref") = "/root/main/cnstinfo/cnstcnts5";
- }else if(isSearchString(model.getValue("/root/main/patinfo/sna"), "F")){
- ipt_mbasembolkg.attribute("editable") = "false";
- ipt_mbasembolcm.attribute("editable") = "false";
- ipt_mbasembolyy.attribute("editable") = "false";
- ipt_mbasembolcalc.attribute("editable") = "false";
- ipt_wbasembolkg.attribute("ref") = "/root/main/cnstinfo/cnstcnts2";
- ipt_wbasembolcm.attribute("ref") = "/root/main/cnstinfo/cnstcnts3";
- ipt_wbasembolyy.attribute("ref") = "/root/main/cnstinfo/cnstcnts4";
- ipt_wbasembolcalc.attribute("ref") = "/root/main/cnstinfo/cnstcnts5";
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_3" style="x1:5px; y1:216px; x2:765px; y2:216px; "/>
- <switch id="switch2" class="sw_no_border" style="left:0px; top:0px; width:770px; height:56px; ">
- <case id="case3" selected="true" style="border-color:ff0000; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:765px; height:55px; "/>
- <output id="output1" ref="/root/main/patinfo/sna" class="output_search" style="left:710px; top:30px; width:45px; height:19px; "/>
- <output id="output2" ref="/root/main/patinfo/requsernm" class="output_search" appearance="output" style="left:295px; top:30px; width:90px; height:19px; "/>
- <output id="output3" ref="/root/main/patinfo/hngnm" class="output_search" style="left:500px; top:30px; width:90px; height:19px; "/>
- <caption id="caption16" class="search_name" style="left:610px; top:30px; width:95px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">성별/나이 :</caption>
- <caption id="caption17" class="search_name" style="left:5px; top:5px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">처방구분 :</caption>
- <caption id="caption18" class="search_name" style="left:200px; top:5px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">진료과 :</caption>
- <output id="output4" ref="/root/main/patinfo/pid" class="output_search" appearance="output" maxlength="10" style="left:500px; top:5px; width:90px; height:19px; "/>
- <caption id="caption19" class="search_name" style="left:400px; top:30px; width:65px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">이름 :</caption>
- <caption id="caption20" class="search_name" style="left:5px; top:30px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">병실 :</caption>
- <caption id="caption21" class="search_name" style="left:400px; top:5px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
- <caption id="caption22" class="search_name" style="left:200px; top:30px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">처방의사 :</caption>
- <output id="output5" ref="/root/main/patinfo/reqdeptnm" class="output_search" appearance="output" style="left:295px; top:5px; width:90px; height:19px; "/>
- <output id="output7" ref="/root/main/patinfo/prcpflag" class="output_search" style="left:100px; top:5px; width:90px; height:19px; "/>
- <output id="output8" ref="/root/main/patinfo/roomcd" class="output_search" style="left:100px; top:30px; width:90px; height:19px; "/>
- </case>
- <case id="case4">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:765px; height:55px; "/>
- <caption id="caption7" class="search_name" style="left:280px; top:5px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">의뢰부서 :</caption>
- <caption id="caption8" class="search_name" style="left:280px; top:30px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">의뢰자 :</caption>
- <caption id="caption9" class="search_name" style="left:520px; top:5px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">수신부서 :</caption>
- <caption id="caption10" class="search_name" style="left:520px; top:30px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">수신자:</caption>
- <caption id="caption11" class="search_name" style="left:15px; top:5px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
- <caption id="caption12" class="search_name" style="left:15px; top:30px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">성명 :</caption>
- <output id="input1" ref="/root/temp/cnstinfo/pid" class="output_search" appearance="output" style="left:110px; top:4px; width:105px; height:19px; "/>
- <output id="output6" ref="/root/temp/cnstinfo/pidnm" class="output_search" appearance="output" style="left:110px; top:28px; width:105px; height:19px; "/>
- <output id="output9" ref="/root/temp/cnstinfo/requsernm" class="output_search" appearance="output" style="left:370px; top:30px; width:105px; height:19px; "/>
- <output id="output10" ref="/root/temp/cnstinfo/reqdeptnm" class="output_search" appearance="output" style="left:370px; top:6px; width:105px; height:19px; "/>
- <output id="output11" ref="/root/temp/cnstinfo/recvdeptnm" class="output_search" appearance="output" style="left:610px; top:6px; width:105px; height:19px; "/>
- <output id="output12" ref="/root/temp/cnstinfo/recvusernm" class="output_search" appearance="output" style="left:610px; top:30px; width:105px; height:19px; "/>
- </case>
- </switch>
- </group>
- <switch id="switch3" class="sw_no_border" style="left:0px; top:555px; width:770px; height:30px; ">
- <case id="case5" selected="true">
- <button id="btn_cnst" class="btn4_letter2" style="left:650px; top:5px; width:56px; height:22px; ">
- <caption>의뢰</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getValue("/root/main/cnstinfo/cnstcnts4") == ""){
- messageBox("의뢰사유는","I003");
- model.setFocus("tar_cnstcnts4");
- }else{
- if ( messageBox("의뢰내용을","Q002")==6 ){
- model.setValue("/root/main/cnstinfo/cnststat", "12");
- model.setValue("/root/main/cnstinfo/reqdd", getCurrentDate());
- model.setValue("/root/main/cnstinfo/reqhm", astgetCurrentTime());
- //////////// 2016년 5월2일 김치국 신청시 기존 등록된 의뢰현황 종료유무 체크
- model.setValue("/root/send/pidformcd/pid",model.getValue("/root/main/patinfo/pid"));
- model.setValue("/root/send/pidformcd/orddd", model.getValue("/root/main/cnstinfo/orddd"));
- model.setValue("/root/send/pidformcd/formcd", model.getValue("root/main/cnstinfo/formcd"));
- submit("TRADC62204");
- //alert(model.getValue("/root/temp/nstfinishyn/finishyn"));
- if(model.getValue("/root/temp/nstfinishyn/finishyn") == "N"){
- messageBox("등록된 NST 의뢰가 종료되지 않아, 의뢰은 할수없습니다.","");
- return ;
- }
- ////////////
- fSaveCnst();
- /*
- //2008-11-01 의뢰후 진료처방으로 Return Start -- 진료오류발생되어 임시 막기.
- var tdm_tpn_key = model.getValue("/root/hidden/item/cnstkind") + model.getValue("/root/hidden/item/cnstseqno");
- opener.model.removeNodeset("/root/hidden/reqfrminfo/reqno");
- opener.model.makeValue ( "/root/hidden/reqfrminfo/reqno" , tdm_tpn_key );
- //2008-11-01 의뢰후 진료처방으로 Return End
- */
- model.close();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:710px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" visibility="hidden" style="left:410px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cnstinfo/cnststat", "11");
- fSaveCnst();
- ]]>
- </script>
- </button>
- </case>
- <case id="case6">
- <button id="btn_cnstcancel" class="btn4_letter4" style="left:627px; top:5px; width:80px; height:22px; ">
- <caption>의뢰취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TRADC62202")){
- var cnststat = model.getValue("/root/hidden/cnststatinfo/cnststat");
- if(cnststat == "22"){
- messageBox("[회신] 의뢰를 취소할 수","I004");
- }else if(cnststat == "21"){
- messageBox("[임시회신] 의뢰를 취소할 수","I004");
- }else if(cnststat == "20"){
- messageBox("[의뢰확정] 의뢰를 취소할 수","I004");
- }else if(messageBox("의뢰를","Q007") == 6){
- model.setValue("/root/send/srchinfo/cnststat", "04");
- if(submit("TXADC61702")){
- messageBox("요청하신 작업이","I001");
- window.close();
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel1" class="btn4_letter2" style="left:710px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </case>
- </switch>
- </xhtml:body>
- </xhtml:html>
|