123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>항암제투여현황 및 투여단계주기관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <tempanad>
- <row>
- <genrdd/>
- <genrno/>
- <histno/>
- <instcd/>
- <pid/>
- <orddd/>
- <cretno/>
- <genrflagcd/>
- <histcd/>
- <prcpdd/>
- <drugthrpcd/>
- <drugtims/>
- <drugpridstartno/>
- <drugpridstartdayno/>
- <drugpridendno/>
- <drugpridenddayno/>
- <rgstdeptcd/>
- <rgstdd/>
- <rgsttm/>
- <rgstrid/>
- <updtdeptcd/>
- <updtdd/>
- <updttm/>
- <updtrid/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <tempcol1/>
- <tempcol2/>
- <tempcol3/>
- <status/>
- <rgstrnm/>
- <updtrnm/>
- <payflagcd/>
- <drprcpetc8/>
- <prcptims/>
- <prcpdayno/>
- <prcpstatcd/>
- </row>
- </tempanad>
- <tempstnm>
- <row>
- <genrdd/>
- <genrno/>
- <histno/>
- <instcd/>
- <histcd/>
- <pid/>
- <orddd/>
- <cretno/>
- <orddeptcd/>
- <genrflagcd/>
- <icd10cd/>
- <diagcd/>
- <stagecd/>
- <tnmcd1/>
- <tnmcd2/>
- <tnmcd3/>
- <stageflag/>
- <cncrflag1/>
- <cncrflagkind1/>
- <cncrflag2/>
- <cncrflagkind2/>
- <inptimpsiflag/>
- <inptimpsiresncd/>
- <rgstdeptcd/>
- <rgstdd/>
- <rgsttm/>
- <rgstrid/>
- <updtdeptcd/>
- <updtdd/>
- <updttm/>
- <updtrid/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <inptimpsietcresnnm/>
- <mataflag/>
- <cncrflag/>
- <diagnm/>
- <attackflag/>
- <tempcol1/>
- <tempcol2/>
- <tempcol3/>
- <status/>
- <displaystage/>
- <rgstrnm/>
- <updtrnm/>
- </row>
- </tempstnm>
- </main>
- <send>
- <param>
- <srchcond/>
- <hngnm/>
- </param>
- <temp/>
- </send>
- <hidden>
- <send_smppi01000>
- <pid/>
- <execdd/>
- <ioflag/>
- <instcd/>
- <dpcdlist/>
- </send_smppi01000>
- </hidden>
- <init>
- <srchcond>
- <pid/>
- <fromdd/>
- <todd/>
- <dcsrch>false</dcsrch>
- <hngnm/>
- <sa/>
- <serdiagno/>
- <serdiagfromdd/>
- <serdiagtodd/>
- <prcpyn>Y</prcpyn>
- </srchcond>
- <genrflagcd/>
- <inptimpsiresncd/>
- <cncrflagkind2/>
- <cncrflagkind1/>
- <stageflag/>
- <drugthrpcd/>
- <M0010list>
- <M0010>
- <cdid/>
- <cdnm/>
- </M0010>
- </M0010list>
- <M0011list>
- <M0011>
- <cdid/>
- <cdnm/>
- </M0011>
- </M0011list>
- <autoresizeyn>Y</autoresizeyn>
- <M5000list/>
- </init>
- <result>
- <savetnmlist/>
- <savecncrlist/>
- </result>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var vpid = opener.javascript.getParameter("pid");
- var vhngnm = opener.javascript.getParameter("hngnm");
-
- var dd = getCurrentDate();
- model.setValue("/root/init/srchcond/fromdd", (dd.toDate().getAddDate(-12, "M")).getDateFormat() );
- model.setValue("/root/init/srchcond/todd", dd);
- if ( getPatientInfo("pid") != '' ) {
- model.setValue("/root/init/srchcond/pid", getPatientInfo("pid") );
- model.setValue("/root/init/srchcond/hngnm", getPatientInfo("hngnm") );
- model.setValue("/root/init/srchcond/sa", getPatientInfo("sex") + '/' + getPatientInfo("age") );
-
- submit("TRPIJ02902", false);
- submit("TRPIJ02901", false);
- } else {
- model.setValue("/root/init/srchcond/pid", vpid);
- model.setValue("/root/init/srchcond/hngnm", vhngnm);
-
- submit("TRPIJ02902", false);
- submit("TRPIJ02901", false);
- }
- model.makeValue("/root/init/srchcond/prcpyn", "Y");
- model.refresh();
-
-
- fsetClolor();
-
- grd_anad.autoResize = true;
-
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fsetClolor(){
-
- var rowcnt = grd_anad.rows;
- var color = "4";
- var prcpdd2 = "";
- var color = "#EAEAEA";
- for(var i = 1 ; i < rowcnt ; i++ ) {
- var status = grd_anad.rowHidden(i);
-
- if (status == false) {
- var prcpdd = grd_anad.valueMatrix(i, grd_anad.colRef("prcpdd"));
- var payflagcd = grd_anad.valueMatrix(i, grd_anad.colRef("payflagcd"));
- var tempcol2 = grd_anad.valueMatrix(i, grd_anad.colRef("tempcol2"));
-
- if (prcpdd == prcpdd2) {
- grd_anad.rowStyle(i,"data","background-color") = color;
- } else {
- prcpdd2 = prcpdd;
- if (color == "#ffffff") {
- grd_anad.rowStyle(i,"data","background-color") = "#EAEAEA";
- color = "#EAEAEA";
- } else {
- grd_anad.rowStyle(i,"data","background-color") = "#ffffff";
- color = "#ffffff";
- }
- }
- if (payflagcd == "1") {
- grd_anad.cellStyle("background-color", i, grd_anad.colRef("payflagcd"), i, grd_anad.colRef("payflagcd")) = "#00ff00";
- } else if (payflagcd == "2") {
- grd_anad.cellStyle("background-color", i, grd_anad.colRef("payflagcd"), i, grd_anad.colRef("payflagcd")) = "#ff99cc";
- } else if (tempcol2 == "AP603"){
- grd_anad.rowStyle(i,"data","background-color") = "#7BE6B7";
- } else if (tempcol2 == "AP603-1"){
- grd_anad.rowStyle(i,"data","background-color") = "#fec34d";
- }
- }
- // var regmcdyn = grd_anad.valueMatrix(i, grd_anad.colRef("regmcdyn"));
- // if (regmcdyn == "Y") {
- // alert(0);
- // grd_anad.cellStyle("background-image",i,grd_anad.colRef("regmcdyn")) = "../../../com/commonweb/images/icon_btn_s.gif";
- //
- // }
- }
-
- if (model.getValue("/root/main/adjuvantlist/row/flag") == "A"){
- caption12.visible = true;
- } else {
- caption12.visible = false;
- }
- }
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIJ02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/srchcond" resultref="/root/main"/>
- <submission id="TXPIJ02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/temp" resultref="/root/result"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- zbcfGetCodeList(new Array( "M0010","M0326","M0327","M0328","M0329", "M0331", "M0011", "M5000"),
- new Array("/root/init/genrflagcd", "/root/init/inptimpsiresncd", "/root/init/cncrflagkind2", "/root/init/cncrflagkind1","/root/init/stageflag", "/root/init/drugthrpcd", "/root/init/M0011list", "/root/init/M5000list"));
-
-
- ]]>
- </script>
- <submission id="TRPIJ02902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/srchcond" resultref="/root/init/srchcond"/>
- </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"/>
- </xhtml:head>
- <xhtml:body pagewidth="1170" pageheight="780" guideline="1,1096;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1145px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:12px; top:12px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption2" class="search_name" style="left:528px; top:12px; width:86px; height:17px; ">내원일 :</caption>
- <caption id="caption3" class="tit_2" style="left:0px; top:79px; width:113px; height:13px; vertical-align:middle; ">Stage 분류</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1145px; y2:95px; "/>
- <input id="ipt_pid" ref="/root/init/srchcond/pid" class="input_search" style="left:104px; top:10px; width:66px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("button1", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" style="left:702px; top:5px; width:15px; height:30px; ">~</caption>
- <caption id="caption6" class="tit_2" style="left:0px; top:230px; width:118px; height:13px; vertical-align:middle; ">투여단계 및 주기</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:250px; x2:1145px; y2:250px; "/>
- <input id="ipt_fromprcpdd" ref="/root/init/srchcond/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:608px; top:10px; width:90px; height:19px; "/>
- <input id="ipt_toprcpdd" ref="/root/init/srchcond/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:720px; top:10px; width:90px; height:19px; "/>
- <button id="btn_srch" class="btn1_letter4" style="left:1035px; top:20px; width:80px; height:22px; ">
- <caption>이력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit ( "TRPIJ02901" , true);
- fsetClolor();
- ]]>
- </script>
- </button>
- <output id="opt_sa" ref="/root/init/srchcond/sa" class="output_search" style="left:423px; top:10px; width:51px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:11px; top:39px; width:117px; height:17px; ">중증등록번호 :</caption>
- <bool id="bool1" ref="/root/init/srchcond/dcsrch" style="left:609px; top:37px; width:25px; height:20px; "/>
- <caption id="caption7" style="left:630px; top:37px; width:55px; height:20px; ">
- <![CDATA[삭제포함]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( model.getValue("/root/init/srchcond/dcsrch") == "true" )
- model.setValue("/root/init/srchcond/dcsrch", "false");
- else
- model.setValue("/root/init/srchcond/dcsrch", "true");
- model.refresh();
- ]]>
- </script>
- </caption>
- <output id="output1" ref="/root/init/srchcond/serdiagno" class="output_search" style="left:128px; top:37px; width:132px; height:19px; "/>
- <input id="ipt_hngnm" ref="/root/init/srchcond/hngnm" class="input_search" style="left:312px; top:10px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_patsrch", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption8" class="search_name" style="left:231px; top:12px; width:86px; height:17px; ">환자명 :</caption>
- <button id="btn_patsrch" class="icon_search" navindex="3" style="left:396px; top:13px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/main/patinfo/patinfolist");
- model.setValue("/root/send/param/srchcond", "2");
- model.setValue("/root/send/param/hngnm", model.getValue("/root/init/srchcond/hngnm") );
- modal("SPPMC02500", "", "", "", "", "/root/send/param", "/root/send");
-
- model.setValue("/root/init/srchcond/pid", model.getValue("/root/main/patinfo/patinfolist/pid") );
- submit("TRPIJ02902", true);
-
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:283px; top:39px; width:92px; height:17px; ">중증기간 :</caption>
- <output id="output2" ref="/root/init/srchcond/serdiagfromdd" class="output_search" format="yyyy-mm-dd" style="left:377px; top:37px; width:85px; height:19px; "/>
- <output id="output3" ref="/root/init/srchcond/serdiagtodd" class="output_search" format="yyyy-mm-dd" style="left:487px; top:37px; width:85px; height:19px; "/>
- <caption id="caption10" style="left:470px; top:38px; width:15px; height:20px; ">~</caption>
- <datagrid id="grd_stnm" nodeset="/root/main/tempstnm/row" autosizemouse="true" caption="구분^입력일시^진단코드^진단명^구분^T^N^M^Stage^입력불가^입력불가사유^소세포암^난소암^입력자^수정자" colsep="^" colwidth="32, 66, 55, 326, 65, 35, 35, 35, 38, 103, 108, 55, 49, 45, 46" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:99px; width:1145px; height:126px; ">
- <col disabled="true" ref="genrflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/genrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rgstdd" format="yyyy-mm-dd"/>
- <col ref="icd10cd"/>
- <col ref="diagnm"/>
- <col disabled="true" ref="stageflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/stageflag/M0329">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="tnmcd1"/>
- <col ref="tnmcd2"/>
- <col ref="tnmcd3"/>
- <col ref="stagecd"/>
- <col disabled="true" ref="inptimpsiresncd" type="combo">
- <choices>
- <itemset nodeset="/root/init/inptimpsiresncd/M0326">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="inptimpsietcresnnm"/>
- <col disabled="true" ref="cncrflagkind1" type="combo">
- <choices>
- <itemset nodeset="/root/init/cncrflagkind1/M0328">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="cncrflagkind2" type="combo">
- <choices>
- <itemset nodeset="/root/init/cncrflagkind2/M0327">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rgstrnm"/>
- <col ref="updtrnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var currow = grd_stnm.row;
- var curcol = grd_stnm.col;
-
- if( grd_stnm.isCell(event.target) && grd_stnm.row >= grd_stnm.fixedRows ) {
- inputEnterKey("btn_savestnm", "DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_anad" nodeset="/root/main/tempanad/row" class="datagrid3" autosizemouse="true" caption="구분^항암
차수^항암
차수^프로토콜명^처방코드^처방명^진행
상황^BSA^체중
%^처방상태^처방일^시행일^급
비^사전
신청^비고^1회량^횟수^일수^투여목적^투여단계^투여주기1^투여주기2^입력자^수정자^caption1^caption2" colsep="^" colwidth="32, 17, 17, 150, 68, 173, 30, 35, 35, 55, 66, 66, 25, 43, 183, 48, 30, 30, 173, 68, 70, 73, 45, 45, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:255px; width:1145px; height:495px; ">
- <col disabled="true" ref="genrflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/genrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drugstage" type="input" style="text-align:center; "/>
- <col ref="drugcycle" type="input" style="text-align:center; "/>
- <col ref="tempcol1"/>
- <col ref="tempcol2"/>
- <col ref="tempcol3"/>
- <col ref="acptno" type="input" style="text-align:center; "/>
- <col ref="bsa" style="text-align:right; "/>
- <col ref="subtrvolrate" style="text-align:right; "/>
- <col disabled="true" ref="prcpstatcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/M0011list/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="execdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="payflagcd" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>급</label>
- <value>0</value>
- </item>
- <item>
- <label>100</label>
- <value>1</value>
- </item>
- <item>
- <label>비</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="regmcdyn" type="inputbutton"/>
- <col ref="bfjudgcmt" type="input" style="text-align:left; "/>
- <col ref="execprcpqty" style="text-align:right; "/>
- <col ref="execprcptims" style="text-align:right; "/>
- <col ref="execprcpdayno" style="text-align:right; "/>
- <col disabled="true" ref="drugthrpcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/M5000list/M5000">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="drugtims" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>1st-Line</label>
- <value>1</value>
- </item>
- <item>
- <label>2st-Line</label>
- <value>2</value>
- </item>
- <item>
- <label>3st-Line</label>
- <value>3</value>
- </item>
- <item>
- <label>4st-Line</label>
- <value>4</value>
- </item>
- <item>
- <label>5st-Line</label>
- <value>5</value>
- </item>
- <item>
- <label>6st-Line</label>
- <value>6</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="drugpridstartno" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>1st-cycle</label>
- <value>1</value>
- </item>
- <item>
- <label>2st-cycle</label>
- <value>2</value>
- </item>
- <item>
- <label>3st-cycle</label>
- <value>3</value>
- </item>
- <item>
- <label>4st-cycle</label>
- <value>4</value>
- </item>
- <item>
- <label>5st-cycle</label>
- <value>5</value>
- </item>
- <item>
- <label>6st-cycle</label>
- <value>6</value>
- </item>
- <item>
- <label>7st-cycle</label>
- <value>7</value>
- </item>
- <item>
- <label>8st-cycle</label>
- <value>8</value>
- </item>
- <item>
- <label>9st-cycle</label>
- <value>9</value>
- </item>
- <item>
- <label>10st-cycle</label>
- <value>10</value>
- </item>
- <item>
- <label>11st-cycle</label>
- <value>11</value>
- </item>
- <item>
- <label>12st-cycle</label>
- <value>12</value>
- </item>
- </choices>
- </col>
- <col disabled="true" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>1st-cycle</label>
- <value>1</value>
- </item>
- <item>
- <label>2st-cycle</label>
- <value>2</value>
- </item>
- <item>
- <label>3st-cycle</label>
- <value>3</value>
- </item>
- <item>
- <label>4st-cycle</label>
- <value>4</value>
- </item>
- <item>
- <label>5st-cycle</label>
- <value>5</value>
- </item>
- <item>
- <label>6st-cycle</label>
- <value>6</value>
- </item>
- <item>
- <label>7st-cycle</label>
- <value>7</value>
- </item>
- <item>
- <label>8st-cycle</label>
- <value>8</value>
- </item>
- <item>
- <label>9st-cycle</label>
- <value>9</value>
- </item>
- <item>
- <label>10st-cycle</label>
- <value>10</value>
- </item>
- <item>
- <label>11st-cycle</label>
- <value>11</value>
- </item>
- <item>
- <label>12st-cycle</label>
- <value>12</value>
- </item>
- </choices>
- </col>
- <col ref="rgstrnm"/>
- <col ref="updtrnm"/>
- <col ref="prcpno" visibility="hidden" style="text-align:right; "/>
- <col ref="drprcpetc8" visibility="hidden" style="text-align:right; "/>
- <col ref="prcptims" visibility="hidden" style="text-align:right; "/>
- <col ref="prcpdayno" visibility="hidden" style="text-align:right; "/>
- <col ref="execprcpno" visibility="hidden" style="text-align:right; "/>
- <col ref="pid" visibility="hidden"/>
- <col ref="prcpcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var currow = grd_anad.row;
- var curcol = grd_anad.col;
-
- if( grd_anad.isCell(event.target) && grd_anad.row >= grd_anad.fixedRows ) {
- inputEnterKey("btn_saveanad", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- /*
- if (event.keyCode == '13') {
- //model.setValue("/root/main/tempanad/row["+grd_anad.row+"]/bfjudgcmt", grd_anad.valueMatrix(grd_anad.row,grd_anad.colRef("bfjudgcmt")).currentText.removeMask('\n'));
- var rowno = grd_anad.row;
- model.makeNode("/root/hidden/prcpdd");
- model.makeNode("/root/hidden/prcpno");
- model.makeNode("/root/hidden/bfjudgcmt");
-
- model.setValue("/root/hidden/prcpdd", grd_anad.valueMatrix(rowno, grd_anad.colRef("prcpdd")));
- model.setValue("/root/hidden/prcpno", grd_anad.valueMatrix(rowno, grd_anad.colRef("prcpno")));
- model.setValue("/root/hidden/bfjudgcmt", grd_anad.valueMatrix(rowno, grd_anad.colRef("bfjudgcmt")));
-
- submit("TXPIJ02901");
- model.refresh();
- }
- */
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_anad.col == grd_anad.colRef("regmcdyn")) {
- var currow = grd_anad.row;
- model.setValue("/root/hidden/send_smppi01000/ioflag", grd_anad.valueMatrix(currow, grd_anad.colRef("genrflagcd")));
- model.setValue("/root/hidden/send_smppi01000/execdd", grd_anad.valueMatrix(currow, grd_anad.colRef("execdd")));
- model.setValue("/root/hidden/send_smppi01000/pid", grd_anad.valueMatrix(currow, grd_anad.colRef("pid")));
- model.setValue("/root/hidden/send_smppi01000/instcd", getUserInfo("dutplceinstcd"));
-
- modal("SMPPI01000", "1", "10", "10", "SMPPI01000","/root/hidden/send_smppi01000","/root/send");
-
- btn_srch.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_savestnm" class="btn2_letter2" style="left:1100px; top:75px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_stnm.row >= grd_stnm.fixedRows ) {
- model.resetInstanceNode("/root/result/savetnmlist");
- model.resetInstanceNode("/root/result/savecncrlist");
-
- copyNodeType("/root/result/savetnmlist", "/root/main/tempstnm/row[" + grd_stnm.row + "]", "replace");
- model.setValue("/root/result/savetnmlist/status", "U");
- modal ( "SPMMO08400", "", "", "", "prcpdetl", "/root/result", "/root/tempresult", "", false );
- submit ( "TRPIJ02901" , true);
- if ( getParameter ( "SPMMO08400_rtn1" ) != "Y" ){
- return false;
- }
-
- model.refresh();
- } else {
- messageBox("리스트에서 선택후 버튼을 눌러주시기 바랍니다.", "I")
- }
- ]]>
- </script>
- </button>
- <button id="button1" visibility="hidden" style="left:725px; top:70px; width:55px; height:20px; ">
- <caption>button1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPIJ02902", true);
- submit ( "TRPIJ02901" , true);
-
- fsetClolor();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter6" style="left:1013px; top:75px; width:86px; height:19px; ">
- <caption>신규이력생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_stnm.row >= grd_stnm.fixedRows ) {
- model.resetInstanceNode("/root/result/savetnmlist");
- model.resetInstanceNode("/root/result/savecncrlist");
-
- copyNodeType("/root/result/savetnmlist", "/root/main/tempstnm/row[" + grd_stnm.row + "]", "replace");
- var diagcd = model.getValue("/root/result/savetnmlist/diagcd");
- if ( diagcd.substr(diagcd.indexOf(".")+1, 3) == "444" ) {
- messageBox("선택된 행은 (구)OCS의 데이터이므로 2008/10/03일 이후 데이터를 선택하여 신규이력생성 하시기바랍니다.", "I");
- return false;
- }
- model.setValue("/root/result/savetnmlist/status", "I");
- modal ( "SPMMO08400", "", "", "", "prcpdetl", "/root/result", "/root/tempresult", "", false );
- submit ( "TRPIJ02901" , true);
- if ( getParameter ( "SPMMO08400_rtn1" ) != "Y" ){
- return false;
- }
-
- model.refresh();
- } else {
- messageBox("리스트에서 선택후 버튼을 눌러주시기 바랍니다.", "I")
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn5_letter2" style="left:1102px; top:230px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/temp");
- if ( messageBox("","Q002")==6 ) {
- var update = getGridUpdateData(grd_anad);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
- } else {
- model.setValue("/root/send/temp", update);
- submit("TXPIJ02901");
- }
- }
-
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter6" style="left:950px; top:230px; width:86px; height:19px; ">
- <caption>제외코드관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMPIJ02901")
- ]]>
- </script>
- </button>
- <bool id="bool2" checkvalue="Y,N" ref="/root/init/srchcond/prcpyn" style="left:694px; top:37px; width:25px; height:20px; "/>
- <caption id="caption11" style="left:715px; top:37px; width:105px; height:20px; ">
- <![CDATA[처방제외코드포함]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( bool2.value == "Y" )
- model.setValue("/root/init/srchcond/dcsrch", "N");
- else
- model.setValue("/root/init/srchcond/dcsrch", "Y");
- model.refresh();
- ]]>
- </script>
- </caption>
- <button id="btn_excelsave" class="btn2_letter4" _auth="P" style="left:1037px; top:230px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_anad.gridToInstance();
- if (grd_anad.rows > 1) {
- var fileName = window.fileDialog("save", "", false, caption6.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_anad.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;col_1:label;col_10:label;col_13:label;", true, true, "", "", true);
- } } else {
- messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- ]]>
- </script>
- </button>
- <caption id="caption12" ref="/root/main/adjuvantlist/row/flag" style="left:175px; top:10px; width:25px; height:19px; font-weight:bold; color:#ff0000; text-align:center; ">
- <![CDATA[]]>
- <hint>
- <![CDATA[Adjuvant 등록환자 입니다.]]>
- </hint>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (model.getValue("/root/main/adjuvantlist/row/flag") == "A"){
- open("SMPPI00800");
- }
- ]]>
- </script>
- </caption>
- </xhtml:body>
- </xhtml:html>
|