123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>NST관리대상검색</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <nstcntrllist>
- <mainlist>
- <cnststat/>
- <epgubun/>
- <nrsscore/>
- <roomcd/>
- <orddeptnm/>
- <pid/>
- <hngnm/>
- <sna/>
- <reqdd/>
- <sga/>
- <cfmsave/>
- <repldd/>
- <firstinfo/>
- <orddrnm/>
- <sau/>
- <prcpnm/>
- <cnstcnts20/>
- <prcpcd/>
- <jae/>
- <orddd/>
- <diagnm/>
- <formrecseq/>
- <rgstseqno/>
- <prcpgenrflag/>
- <cretno/>
- <formcd/>
- <cnstseqno/>
- <prcpno/>
- <dschyn/>
- <dschdd/>
- <cnstcnts9/>
- <pdano/>
- </mainlist>
- </nstcntrllist>
- </main>
- <send>
- <srchdd1/>
- <srchdd2/>
- <reqdrugcd/>
- <pid/>
- <orddeptcd/>
- <wardcd/>
- <statflag/>
- <nutrflag>A</nutrflag>
- <ioflag>I</ioflag>
- <reqflag>Y</reqflag>
- <repflag>A</repflag>
- <flag1/>
- <flag2/>
- <flag3/>
- <reqflagval/>
- <deptinfo>
- <deptflag/>
- </deptinfo>
- <cnstinfolist>
- <data1/>
- </cnstinfolist>
- <finishdd>Y</finishdd>
- </send>
- <init>
- <cmb_baseinfo>
- <initexecorddept>
- <execorddeptcdnm/>
- <execorddeptcdid/>
- </initexecorddept>
- <initward>
- <wardcd/>
- <wardnm/>
- </initward>
- </cmb_baseinfo>
- </init>
- <hidden>
- <deptlist>
- <dept>
- <deptcd/>
- <deptnm/>
- </dept>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- </deptlist>
- <cnststatinfo>
- <cnststat/>
- </cnststatinfo>
- <cnstinfolist/>
- </hidden>
- <temp>
- <cnstinfo>
- <formrecseq/>
- <pid/>
- <rgstseqno/>
- <cnstdd/>
- <prcpgenrflag/>
- <orddd/>
- <cretno/>
- <cnsttype/>
- <formcd/>
- <prcpcd/>
- <prcpno/>
- <cnstseqno/>
- <plusyn/>
- <sau/>
- <roomcd/>
- <cnstcnts9/>
- <cnststat/>
- <pdano/>
- <orddrnm/>
- <firstinfo/>
- </cnstinfo>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/srchdd1", getCurrentDate());
- model.setValue("/root/send/srchdd2", getCurrentDate());
-
- var reqflag = model.getValue("/root/send/reqflag");
-
- if ( reqflag == "A" || reqflag =="N" ) { // 의뢰구분 :전체 일경우
- rdo_repflag.disabled = true; // 회신구분 - 선택불가능하도록
- model.setValue("/root/send/repflag", "A");
- }else if ( reqflag =="Y" ) { // 의뢰구분 :의뢰일경우 // EN/PN 구분일경우는 의뢰구분만 Check가능하도록 처리
- rdo_nutrflag.disabled = false; // 의뢰영역 - 선택가능하도록
- rdo_repflag.disabled = false; // 회신구분 - 선택가능하도록
- }
-
- submit("TRADC00101");
- astfAddCombo("/root/hidden/deptlist", "dept", "deptcd,deptnm", ",");
- astfAddCombo("/root/hidden/deptlist", "ward", "wardcd,wardnm", ",");
-
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRADC02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/nstcntrllist"/>
- <submission id="TRADC02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_baseinfo"/>
- <submission id="TRADC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/>
- <submission id="TXADC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/cnstinfo" replace="instance" resultref="/root/hidden/cnststatinfo"/>
- <submission id="TXADC02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cnstinfolist/data1" replace="instance" resultref="/root/hidden/cnstinfolist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,767;" 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:800px; height:14px; ">NST관리 대상자 검색화면</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:760px; ">
- <group id="group2" style="left:0px; top:20px; width:1190px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1189px; height:59px; "/>
- <line id="line1" class="line_4" style="x1:1111px; y1:9px; x2:1111px; y2:26px; "/>
- <select1 id="combo10" ref="/root/hidden/deptlist/ward" class="combo_search" appearance="minimal" cols="2" style="left:880px; top:10px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/deptlist/ward">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:5px; top:9px; width:91px; height:17px; ">의뢰일시 :</caption>
- <caption id="caption5" class="search_name" style="left:790px; top:10px; width:86px; height:17px; ">병 동 :</caption>
- <select1 id="radio2" ref="/root/send/ioflag" class="radio_search" appearance="full" cellspacing="3" cols="3" rows="1" overflow="visible" style="left:380px; top:10px; width:153px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:290px; top:10px; width:85px; height:17px; ">구 분 :</caption>
- <caption id="caption1" class="search_name" style="left:240px; top:35px; width:90px; height:17px; ">의뢰구분 :</caption>
- <caption id="caption2" class="search_name" style="left:5px; top:35px; width:90px; height:17px; ">의뢰영역 :</caption>
- <select1 id="rdo_nutrflag" ref="/root/send/nutrflag" class="radio_search" appearance="full" cellspacing="3" cols="4" rows="1" overflow="visible" style="left:95px; top:35px; width:125px; height:21px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>EN</label>
- <value>E</value>
- </item>
- <item>
- <label>PN</label>
- <value>P</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if (model.getValue("/root/send/nutrflag") =='' ) { // EN/PN 구분일경우는 의뢰구분만 Check가능하도록 처리
- rdo_reqflag.disabled = true;
- rdo_reqflag.value='Y' ; //의뢰구분(의뢰)
- rdo_repflag.value='' ; //외뢰구분(전체)
- }else{ // EN/PN 구분일경우는 의뢰구분만 Check가능하도록 처리
- }
- inputEnterKey("rdo_reqflag","onclick");
- ]]>
- </script>
- </select1>
- <select1 id="combo1" ref="/root/hidden/deptlist/dept" class="combo_search" appearance="minimal" style="left:631px; top:9px; width:127px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/deptlist/dept">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue( "/root/send/reqdrugcd" , model.getValue("/root/send/reqdrugcd").toUpperCase() ); //2008-11-01 의뢰약품 대문자 처리
- model.setValue("/root/send/orddeptcd",model.getValue("/root/hidden/deptlist/dept")); // 의뢰과 선택
- model.setValue("/root/send/wardcd",model.getValue("/root/hidden/deptlist/ward")); // 병동 선택
- submit("TRADC02501");
- grd_nstmngt.rebuildStyle();
- setRowStyle("grd_nstmngt" , "1", "Y" , "dschyn", "equal" ); //그리드 특정 컬럼값을 비교하여 로우 백컬러 변경
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:1015px; top:10px; width:91px; height:17px; ">의뢰약품:</caption>
- <caption id="caption9" class="search_name" style="left:855px; top:35px; width:91px; height:17px; ">등록번호 :</caption>
- <input id="input5" ref="/root/send/reqdrugcd" class="input_search" style="left:1035px; top:35px; width:97px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <input id="input1" ref="/root/send/pid" class="input_search" style="left:940px; top:34px; width:89px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption10" class="search_name" style="left:540px; top:10px; width:90px; height:17px; ">의 뢰 과 :</caption>
- <select id="checkbox2" ref="/root/send/flag2" visibility="hidden" appearance="full" cols="2" style="left:1075px; top:35px; width:95px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>신규</label>
- <value>Y</value>
- </item>
- <item>
- <label>변경</label>
- <value/>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/send/flag3" visibility="hidden" appearance="full" cols="2" style="left:1040px; top:35px; width:140px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>Central</label>
- <value>Y</value>
- </item>
- <item>
- <label>Peripheral</label>
- <value/>
- </item>
- </choices>
- </select>
- <caption id="caption8" style="left:181px; top:10px; width:15px; height:20px; ">~</caption>
- <input id="ipt_srchdd1" ref="/root/send/srchdd1" class="input_search" inputtype="date" style="left:94px; top:8px; width:87px; height:19px; "/>
- <input id="ipt_srchdd2" ref="/root/send/srchdd2" class="input_search" inputtype="date" style="left:193px; top:8px; width:87px; height:19px; "/>
- <select id="checkbox4" ref="/root/send/flag1" visibility="hidden" appearance="full" cols="2" style="left:1055px; top:35px; width:125px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>처방</label>
- <value>Y</value>
- </item>
- <item>
- <label>Screening</label>
- <value/>
- </item>
- </choices>
- </select>
- <caption id="caption11" class="search_name" style="left:600px; top:35px; width:90px; height:17px; ">회신구분:</caption>
- <select1 id="rdo_reqflag" ref="/root/send/reqflag" class="radio_search" appearance="full" cellspacing="3" cols="4" rows="1" overflow="visible" style="left:325px; top:35px; width:155px; height:21px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>의뢰</label>
- <value>Y</value>
- </item>
- <item>
- <label>미의뢰</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ((model.getValue("/root/send/reqflag") == "A" ) || (model.getValue("/root/send/reqflag") =="N" )) { // 의뢰구분 :전체 일경우
- rdo_repflag.disabled = true; // 회신구분 - 선택불가능하도록
- rdo_repflag.value="A";
- }else if (model.getValue("/root/send/reqflag") =="Y" ) { // 의뢰구분 :의뢰일경우 // EN/PN 구분일경우는 의뢰구분만 Check가능하도록 처리
- rdo_nutrflag.disabled = false; // 의뢰영역 - 선택가능하도록
- rdo_repflag.disabled = false; // 회신구분 - 선택가능하도록
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_repflag" ref="/root/send/repflag" class="radio_search" appearance="full" cellspacing="3" cols="4" rows="1" overflow="visible" style="left:680px; top:35px; width:155px; height:21px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>회신</label>
- <value>Y</value>
- </item>
- <item>
- <label>미회신</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if ((model.getValue("/root/send/reqflag") =="A" ) || (model.getValue("/root/send/reqflag") =="Y" )) { // 의뢰구분 - A
- rdo_nutrflag.disabled = false;
- }else{ // EN/PN 구분일경우는 의뢰구분만 Check가능하도록 처리
- rdo_nutrflag.disabled = true;
- rdo_nutrflag.value="A";
- }
- model.refresh();
- //inputEnterKey("rdo_reqflag","onclick");
- ]]>
- </script>
- </select1>
- <select id="checkbox1" ref="/root/send/finishdd" overflow="visible" appearance="full" style="left:485px; top:35px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>종결자 제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <line id="line2" class="line_1" style="x1:2px; y1:107px; x2:1191px; y2:107px; "/>
- <button id="button51" class="btn2_letter4" style="left:1127px; top:87px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file_name = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- grd_nstmngt.saveExcel(file_name);
- ]]>
- </script>
- </button>
- <datagrid id="grd_nstmngt" nodeset="/root/main/nstcntrllist/mainlist" caption="상 태^투여경로^병실/외래^진료과^등록번호^환자명^S/A^의뢰일^회신일^종결일자^주치의/의뢰인^진료/입원일^상병^의뢰사유^비 고^퇴원일자^추천제형^formrecseq^rgstseqno^prcpgenrflag^cretno^formcd^cnstseqno^prcpno^퇴원예고/퇴원^퇴원일자^cnstcnts9^N-Zone|상 태^투여경로^병실/외래^진료과^등록번호^환자명^S/A^의뢰일^회신일^종결일자^주치의/의뢰인^진료/입원일^상병^의뢰사유^비 고^퇴원일자^추천제형^formrecseq^rgstseqno^prcpgenrflag^cretno^formcd^cnstseqno^prcpno^퇴원예고/퇴원^퇴원일자^cnstcnts9^N-Zone" colsep="^" colwidth="66, 114, 64, 102, 77, 71, 41, 80, 73, 74, 102, 78, 146, 294, 141, 100, 110, 99, 99, 100, 100, 100, 99, 100, 100, 100, 17, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:2px; top:110px; width:1189px; height:625px; text-align:center; ">
- <col ref="cnststat" style="text-align:center; "/>
- <col ref="prcpnm" style="text-align:left; "/>
- <col disabled="true" ref="roomcd"/>
- <col ref="orddeptnm" style="text-align:left; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sna"/>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="repldd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="firstinfo" type="input" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddrnm" style="left:515px; top:23px; width:53px; height:23px; "/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="diagnm" style="text-align:left; "/>
- <col ref="sau" style="text-align:left; "/>
- <col ref="cnstcnts20" type="input" style="text-align:left; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpcd" visibility="hidden"/>
- <col ref="jae" visibility="hidden"/>
- <col ref="epgubun" visibility="hidden" style="text-align:center; "/>
- <col ref="formrecseq" visibility="hidden"/>
- <col ref="rgstseqno" visibility="hidden"/>
- <col ref="prcpgenrflag" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="formcd" visibility="hidden"/>
- <col ref="cnstseqno" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden" style="left:2314px; top:43px; width:100px; height:23px; "/>
- <col ref="dschyn" visibility="hidden"/>
- <col ref="cnstcnts9" visibility="hidden"/>
- <col ref="pdano" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //2010-01-06 비고란 저장 가능하도록 처리 (미회신사유등록..)
- //if ( grd_nstmngt.isCell(event.target) && grd_nstmngt.row >= grd_nstmngt.fixedRows ) {
- var grdrow = grd_nstmngt.row - 1;
- if ( grd_nstmngt.isCell(event.target) && grd_nstmngt.row >= grd_nstmngt.fixedRows && grd_nstmngt.colRef("cnstcnts20") != grd_nstmngt.col) {
- //기록된 서식
- var cnstseqno = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/cnstseqno" );
- var formrecseq = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/formrecseq" );
- var formcd = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/formcd" );
- var pid = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/pid" );
- var cretno = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/cretno" );
- var prcpgenrflag = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/prcpgenrflag" );
- var rgstseqno = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/rgstseqno" );
- var reqdd = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/reqdd" );
- var orddd = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/orddd" );
- var prcpcd = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/prcpcd" );
- var prcpno = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/prcpno" );
- var plusyn = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/plusyn" );
- var sau = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/sau" ); //2009-12-03 회신서출력시 [의뢰사유] 출력요청
- var roomcd = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/roomcd" ); //2009-12-03 회신서출력시 [병실] 출력요청
- var cnstcnts9 = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/cnstcnts9" ); //2009-12-23 의뢰유형 추가 (1:영양평가 2:영양교육)
- var cnststat = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/cnststat" ) // 회신상태
- var pdano = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/pdano" ) // 의뢰인엔존
- var orddrnm = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/orddrnm" ) // 주치의/의뢰인
- var firstinfo = model.getValue("/root/main/nstcntrllist/mainlist["+grdrow+"]/firstinfo" ) // 종결일자
-
- if(prcpgenrflag!="E"){
- prcpgenrflag = "I";
- }
- var instcd = getUserInfo("dutplceinstcd");
- var param = prcpgenrflag + "▦" +
- pid + "▦" +
- orddd + "▦" +
- cretno + "▦" +
- instcd ;
- setParameter("condparam", param);
- modal("SPMMO08900", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
-
- setParameter("openmode", "reccnstform");
- setParameter("formrecseq", formrecseq); //서식기록테이블의 formrecseq(기록순번)
- setParameter("pid", pid);
- setParameter("rgstseqno", rgstseqno);
- model.setValue("/root/temp/cnstinfo/cnstseqno" , cnstseqno);
- model.setValue("/root/temp/cnstinfo/formrecseq" , formrecseq);
- model.setValue("/root/temp/cnstinfo/pid" , pid);
- model.setValue("/root/temp/cnstinfo/cretno" , cretno);
- model.setValue("/root/temp/cnstinfo/prcpgenrflag" , prcpgenrflag);
- model.setValue("/root/temp/cnstinfo/rgstseqno" , rgstseqno);
- model.setValue("/root/temp/cnstinfo/cnstdd" , reqdd);
- model.setValue("/root/temp/cnstinfo/orddd" , orddd);
- model.setValue("/root/temp/cnstinfo/cnsttype" ,"ast"); // 약품식별회신을 위한 변수 설정
- model.setValue("/root/temp/cnstinfo/plusyn" , plusyn); //추구관리가능여부
- model.setValue("/root/temp/cnstinfo/sau" , sau); //2009-12-03 회신서출력시 [의뢰사유] 출력요청
- model.setValue("/root/temp/cnstinfo/roomcd" , roomcd); //2009-12-03 회신서출력시 [병실] 출력요청
- model.setValue("/root/temp/cnstinfo/cnstcnts9" , cnstcnts9); //2009-12-23 의뢰유형 추가 (1:영양평가 2:영양교육)
- model.setValue("/root/temp/cnstinfo/cnststat" , cnststat); //회신상태
- model.setValue("/root/temp/cnstinfo/pdano" , pdano); //의뢰인엔존
- model.setValue("/root/temp/cnstinfo/orddrnm" , orddrnm); //주치의/의뢰인
- model.setValue("/root/temp/cnstinfo/firstinfo" , firstinfo); //종결일자
- //setParameter("userdeptcd", "3242100000");
- //setParameter("replcnts" , "");
- //setParameter("overwrite" , "false");
-
- //********************************* 해당 의뢰건을 의뢰확정 상태로 변경 *********************************
- if(formrecseq != ""){
- var success = submit("TXADC00101");
- if(success){
- if(model.getValue("/root/hidden/cnststatinfo/cnststat") == "04")
- messageBox("취소된 의뢰건","I009");
- }
- }
-
- if ( formcd =="0000000770" || formcd == "0000003019"){ //NST
- model.setValue("/root/temp/cnstinfo/formcd",formcd); // EN, PN구분을 위한 formcd 설정
-
- if(formrecseq == ""){
- model.setValue("/root/temp/cnstinfo/prcpcd",prcpcd);
- model.setValue("/root/temp/cnstinfo/prcpno",prcpno);
- }
- modal("SMADC02600", 1, 0, 0 ,"SMADC02600","/root/temp/cnstinfo", "/root/temp/cnstinfo");
- btn_sea.dispatch("DOMActivate");
-
- /*
- if(formrecseq != ""){
- modal("SMADC02600", 1, 0, 0 ,"SMADC02600","/root/temp/cnstinfo", "/root/temp/cnstinfo");
- btn_sea.dispatch("DOMActivate");
- }
- */
- }
- }
-
- //
- if (grd_nstmngt.colRef("cnstcnts20") == grd_nstmngt.col) {
- if ( model.getValue("/root/main/nstcntrllist/mainlist[" + grd_nstmngt.row + "]/cnststat") == "미의뢰" ) {
- messageBox("[미의뢰]건에 대해서 비고란을 입력할수 없습니다.", "I");
- model.setValue("/root/main/nstcntrllist/mainlist[" + grd_nstmngt.row + "]/cnstcnts20","");
- return;
- }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- // 소트 후 인스턴스 정리
- grd_nstmngt.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- // open("SPADC02500", "","","", "SPADC02500", "/root/send/popup", "/root/main/receivedata");
- clearParameter("SPADC02500_PARAM1");
- clearParameter("SPADC02500_PARAM2");
- clearParameter("SPADC02500_PARAM3");
- clearParameter("SPADC02500_PARAM4");
- clearParameter("SPADC02500_PARAM5");
- clearParameter("SPADC02500_PARAM6");
- clearParameter("SPADC02500_PARAM7");
- clearParameter("SPADC02500_PARAM8");
- setParameter("SPADC02500_PARAM1", model.getValue("/root/main/nstcntrllist/mainlist["+grd_nstmngt.row+"]/pid"));
- setParameter("SPADC02500_PARAM2", model.getValue("/root/main/nstcntrllist/mainlist["+grd_nstmngt.row+"]/hngnm"));
- setParameter("SPADC02500_PARAM3", model.getValue("/root/main/nstcntrllist/mainlist["+grd_nstmngt.row+"]/epgubun"));
- setParameter("SPADC02500_PARAM4", model.getValue("/root/main/nstcntrllist/mainlist["+grd_nstmngt.row+"]/orddeptnm"));
- setParameter("SPADC02500_PARAM5", model.getValue("/root/main/nstcntrllist/mainlist["+grd_nstmngt.row+"]/reqdd"));
- setParameter("SPADC02500_PARAM6", model.getValue("/root/main/nstcntrllist/mainlist["+grd_nstmngt.row+"]/roomcd"));
- setParameter("SPADC02500_PARAM7", model.getValue("/root/main/nstcntrllist/mainlist["+grd_nstmngt.row+"]/orddd"));
- setParameter("SPADC02500_PARAM8", model.getValue("/root/main/nstcntrllist/mainlist["+grd_nstmngt.row+"]/dschdd"));
-
- // open("SPADC02500");
- open("SPADC02500", "", "", "", "", "", "","width:660px; height:500px;resize:true; ");
- ]]>
- </script>
- </datagrid>
- <caption id="caption12" class="tit_1" style="left:0px; top:0px; width:132px; height:14px; ">NST관리대상자검색</caption>
- <caption id="caption13" class="tit_2" style="left:0px; top:93px; width:189px; height:14px; font-family:굴림체; ">NST관리대상자 리스트</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:740px; width:1195px; height:27px; ">
- <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:4px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="button1" class="btn3_letter9" style="left:0px; top:4px; width:80px; height:22px; ">
- <caption>NST추구관리대상자</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open ("SMADC03100");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter7" style="left:145px; top:4px; width:116px; height:22px; ">
- <caption>NST 코드관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open ("SMADC03200");
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="308" style="left:1130px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var update = getGridUpdateData(grd_nstmngt);
- // var update = model.getValue("/root/send/req/data");
- if(update == ""){
- messageBox("저장할 정보가 없습니다. 확인하여 주시기바랍니다", "I");
- return 0;
-
- } else {
- model.setValue( "/root/send/cnstinfolist/data1", grd_nstmngt.getUpdateData());
- submit("TXADC02501");
- }
-
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter8" style="left:265px; top:4px; width:117px; height:22px; ">
- <caption>EN 세부엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open ("SPADC62700");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|