123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544 |
- <?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>TPN기준정보</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <tpnbaseinfo>
- <ordinfo>
- <todd>99991231</todd>
- <fromdd/>
- <traceeledrugcd/>
- <traceeledrugnm/>
- <dexdrugcd/>
- <nadrugcd/>
- <kdrugcd/>
- <cadrugcd/>
- <pdrugcd/>
- <mgdrugcd/>
- <multivitadrugcd/>
- <heparindrugcd/>
- <zndrugcd/>
- <orddexvol/>
- <ordnavol/>
- <ordkvol/>
- <ordcavol/>
- <ordpvol/>
- <ordmgvol/>
- <calcdexvol/>
- <calcnavol/>
- <calckvol/>
- <calccavol/>
- <calcpvol/>
- <calcmgvol/>
- <znvol/>
- <cuvol/>
- <mnvol/>
- <crvol/>
- <ordznplusvol/>
- <ordheparinvol/>
- <calcznplusvol/>
- <calcheparinvol/>
- </ordinfo>
- <tpndruginfo>
- <startvol/>
- <endvol/>
- <tpnprcpcd/>
- </tpndruginfo>
- <aminoinfo>
- <tpndrugcd/>
- <ordvol/>
- <calcvol/>
- </aminoinfo>
- <lipidinfo>
- <tpndrugcd/>
- <ordvol/>
- <calcvol/>
- </lipidinfo>
- </tpnbaseinfo>
- </main>
- <send>
- <data>
- <tpndata/>
- <tpnkind>C</tpnkind>
- <tpndruginfo/>
- <aminoinfo/>
- <lipidinfo/>
- </data>
- <srchinfo>
- <srchdrugcd/>
- </srchinfo>
- </send>
- <init/>
- <hidden>
- <drugitem>
- <drugnm/>
- <drugcd/>
- </drugitem>
- </hidden>
- <temp>
- <ret/>
- <receivedata>
- <drugcd/>
- <receiveref>/root/temp/receivedata/drugcd</receiveref>
- </receivedata>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- function fView(){
- model.copyNode("/root/send/data/tpndata","/root/main/tpnbaseinfo/ordinfo");
- submit("TRADB02901");
- model.refresh();
- }
- function fSave(){
- model.copyNode("/root/send/data/tpndata","/root/main/tpnbaseinfo/ordinfo");
- model.setValue("/root/send/data/tpndruginfo", grd_tpndrugcd.getUpdateData());
- model.setValue("/root/send/data/aminoinfo", grd_aminoinfo.getUpdateData());
- model.setValue("/root/send/data/lipidinfo", grd_lipidinfo.getUpdateData());
- submit("TXADB02901");
- submit("TRADB02901");
-
- }
-
- ]]>
- </script>
- <submission id="TRADB02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/tpnbaseinfo"/>
- <submission id="TXADB02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/temp/ret"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fView();
- ]]>
- </script>
- <submission id="TRADB02604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/hidden/drugitem"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,784;2,786;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:185px; height:14px; ">TPN기준정보</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:45px; width:1195px; height:739px; ">
- <input id="output4" ref="/root/main/tpnbaseinfo/ordinfo/calcpvol" class="input_default" maxlength="11" format="######.#####" appearance="input" style="left:435px; top:420px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption60" style="left:393px; top:370px; width:27px; height:25px; vertical-align:middle; ">ml</caption>
- <input id="output5" ref="/root/main/tpnbaseinfo/ordinfo/calccavol" class="input_default" maxlength="11" format="######.#####" appearance="input" style="left:435px; top:395px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption50" class="cell_1" style="left:10px; top:345px; width:139px; height:23px; vertical-align:middle; ">Na+</caption>
- <caption id="caption72" class="cell_1" style="left:10px; top:420px; width:139px; height:23px; vertical-align:middle; ">K+,P</caption>
- <line id="line20" class="line_2" style="x1:5px; y1:518px; x2:570px; y2:518px; "/>
- <input id="output6" ref="/root/main/tpnbaseinfo/ordinfo/calckvol" class="input_default" maxlength="11" format="######.#####" appearance="input" style="left:435px; top:370px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption40" class="cell_1" style="left:10px; top:320px; width:139px; height:23px; vertical-align:middle; ">Dextrose</caption>
- <line id="line21" class="line_3" style="x1:5px; y1:528px; x2:570px; y2:528px; "/>
- <caption id="caption105" class="cell_1" visibility="visible" style="left:10px; top:470px; width:139px; height:23px; vertical-align:middle; ">Heparin</caption>
- <input id="output7" ref="/root/main/tpnbaseinfo/ordinfo/calcnavol" class="input_default" maxlength="11" format="######.#####" appearance="input" style="left:435px; top:345px; width:91px; height:19px; text-align:right; "/>
- <line id="line11" class="line_2" style="x1:5px; y1:343px; x2:570px; y2:343px; "/>
- <caption id="caption63" style="left:393px; top:395px; width:27px; height:25px; vertical-align:middle; ">ml</caption>
- <input id="input32" ref="/root/main/tpnbaseinfo/ordinfo/ordpvol" class="input_default" maxlength="11" format="######.####" style="left:297px; top:420px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption20" style="left:418px; top:450px; width:15px; height:15px; vertical-align:middle; ">=</caption>
- <caption id="caption31" style="left:530px; top:370px; width:30px; height:25px; vertical-align:middle; ">mEq</caption>
- <input id="output9" ref="/root/main/tpnbaseinfo/ordinfo/calcdexvol" class="input_default" maxlength="11" format="######.#####" appearance="input" style="left:435px; top:320px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption43" style="left:393px; top:320px; width:27px; height:25px; vertical-align:middle; ">%</caption>
- <caption id="caption54" style="left:393px; top:345px; width:27px; height:25px; vertical-align:middle; ">ml</caption>
- <caption id="caption87" class="cell_1" style="left:10px; top:495px; width:139px; height:23px; vertical-align:middle; ">MultiVitamin</caption>
- <caption id="caption10" class="cell_1" style="left:231px; top:118px; width:50px; height:23px; vertical-align:middle; ">Cu</caption>
- <caption id="caption32" style="left:530px; top:345px; width:30px; height:25px; vertical-align:middle; ">mEq</caption>
- <line id="line14" class="line_2" style="x1:5px; y1:368px; x2:570px; y2:368px; "/>
- <input id="input23" ref="/root/main/tpnbaseinfo/ordinfo/ordnavol" class="input_default" maxlength="11" format="######.#####" style="left:297px; top:345px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption66" class="cell_1" style="left:10px; top:395px; width:139px; height:23px; vertical-align:middle; ">Ca++</caption>
- <caption id="caption77" class="cell_1" style="left:10px; top:445px; width:139px; height:23px; vertical-align:middle; ">Mg++</caption>
- <caption id="caption2" class="tit_2" style="left:10px; top:98px; width:260px; height:13px; ">미량원소 상세내역(1ml당 mg)</caption>
- <caption id="caption11" class="cell_1" style="left:231px; top:143px; width:50px; height:23px; vertical-align:middle; ">Cr</caption>
- <line id="line15" class="line_2" style="x1:5px; y1:393px; x2:570px; y2:393px; "/>
- <input id="input35" ref="/root/main/tpnbaseinfo/ordinfo/ordmgvol" class="input_default" maxlength="11" format="######.####" style="left:297px; top:445px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption12" style="left:376px; top:143px; width:45px; height:20px; vertical-align:middle; ">mg/ml</caption>
- <caption id="caption34" style="left:530px; top:320px; width:30px; height:25px; vertical-align:middle; ">ml</caption>
- <caption id="caption57" class="cell_1" style="left:10px; top:370px; width:139px; height:23px; vertical-align:middle; ">K+</caption>
- <line id="line16" class="line_2" style="x1:5px; y1:418px; x2:570px; y2:418px; "/>
- <input id="input26" ref="/root/main/tpnbaseinfo/ordinfo/ordkvol" class="input_default" maxlength="11" format="######.#####" style="left:297px; top:370px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption69" style="left:393px; top:420px; width:27px; height:25px; vertical-align:middle; ">ml</caption>
- <line id="line17" class="line_2" style="x1:5px; y1:443px; x2:570px; y2:443px; "/>
- <caption id="caption5" style="left:160px; top:118px; width:45px; height:20px; vertical-align:middle; ">mg/ml</caption>
- <caption id="caption14" style="left:418px; top:325px; width:15px; height:15px; vertical-align:middle; ">=</caption>
- <input id="input16" ref="/root/main/tpnbaseinfo/ordinfo/orddexvol" class="input_default" maxlength="11" format="######.#####" style="left:297px; top:320px; width:91px; height:19px; text-align:right; "/>
- <line id="line18" class="line_2" style="x1:5px; y1:468px; x2:570px; y2:468px; "/>
- <caption id="caption6" class="cell_1" style="left:10px; top:118px; width:50px; height:23px; vertical-align:middle; ">Zn</caption>
- <input id="input1" ref="/root/main/tpnbaseinfo/ordinfo/znvol" class="input_default" maxlength="11" format="######.#####" style="left:64px; top:118px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption26" style="left:530px; top:445px; width:30px; height:25px; vertical-align:middle; ">mEq</caption>
- <caption id="caption27" class="tit_2" style="left:10px; top:300px; width:144px; height:13px; ">처방내용</caption>
- <line id="line3" class="line_1" style="x1:5px; y1:113px; x2:570px; y2:113px; "/>
- <caption id="caption7" style="left:161px; top:143px; width:45px; height:20px; vertical-align:middle; ">mg/ml</caption>
- <input id="input2" ref="/root/main/tpnbaseinfo/ordinfo/mnvol" class="input_default" maxlength="11" format="######.#####" style="left:64px; top:143px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption16" style="left:418px; top:350px; width:15px; height:15px; vertical-align:middle; ">=</caption>
- <input id="input29" ref="/root/main/tpnbaseinfo/ordinfo/ordcavol" class="input_default" maxlength="11" format="######.#####" style="left:297px; top:395px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption8" class="cell_1" style="left:10px; top:143px; width:50px; height:23px; vertical-align:middle; ">Mn</caption>
- <input id="input3" ref="/root/main/tpnbaseinfo/ordinfo/cuvol" class="input_default" maxlength="11" format="######.#####" style="left:285px; top:118px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption17" style="left:418px; top:375px; width:15px; height:15px; vertical-align:middle; ">=</caption>
- <caption id="caption28" style="left:530px; top:420px; width:30px; height:25px; vertical-align:middle; ">mM</caption>
- <caption id="caption9" style="left:376px; top:118px; width:45px; height:20px; vertical-align:middle; ">mg/ml</caption>
- <input id="input4" ref="/root/main/tpnbaseinfo/ordinfo/crvol" class="input_default" maxlength="11" format="######.#####" style="left:285px; top:143px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption18" style="left:418px; top:400px; width:15px; height:15px; vertical-align:middle; ">=</caption>
- <caption id="caption29" style="left:530px; top:395px; width:30px; height:25px; vertical-align:middle; ">mEq</caption>
- <caption id="caption80" style="left:418px; top:425px; width:15px; height:15px; vertical-align:middle; ">=</caption>
- <input id="output2" ref="/root/main/tpnbaseinfo/ordinfo/calcmgvol" class="input_default" maxlength="11" format="######.#####" appearance="input" style="left:435px; top:445px; width:91px; height:19px; text-align:right; "/>
- <line id="line7" class="line_1" style="x1:5px; y1:315px; x2:570px; y2:315px; "/>
- <caption id="caption91" style="left:393px; top:445px; width:27px; height:25px; vertical-align:middle; ">ml</caption>
- <caption id="caption13" class="tit_2" style="left:10px; top:50px; width:260px; height:13px; ">미량원소 약품코드</caption>
- <line id="line32" class="line_1" style="x1:5px; y1:65px; x2:570px; y2:65px; "/>
- <output id="opt_ordnm" ref="/root/main/codedetlinfo/ordnm" class="output_search" style="left:230px; top:70px; width:335px; height:19px; "/>
- <input id="ipt_drugcd" ref="/root/main/codedetlinfo/drugcd" class="input_essential" style="left:85px; top:70px; width:120px; height:19px; "/>
- <button id="button61" class="icon_search" style="left:210px; top:70px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- //model.setValue("/root/temp/receivedata/receiveref", model.getValue("/root/hidden/receivedrugcd"));
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- model.setValue("/root/main/codedetlinfo/drugcd", model.getValue("/root/temp/receivedata/drugcd"));
- drugcode = model.getValue("/root/main/codedetlinfo/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/send/srchinfo/srchdrugcd",drugcode);
- submit("TRADB02604");
- model.setValue("/root/main/codedetlinfo/ordnm",model.getValue("/root/hidden/drugitem/drugnm"));
-
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption64" class="cell_1" style="left:10px; top:70px; width:67px; height:23px; text-align:center; vertical-align:middle; ">약품코드</caption>
- <input id="input5" ref="/root/main/tpnbaseinfo/ordinfo/dexdrugcd" class="input_essential" maxlength="12" style="left:150px; top:320px; width:120px; height:19px; "/>
- <button id="button1" class="icon_search" style="left:275px; top:320px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/ordinfo/dexdrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="icon_search" style="left:275px; top:345px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/ordinfo/nadrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input7" ref="/root/main/tpnbaseinfo/ordinfo/nadrugcd" class="input_essential" maxlength="12" style="left:150px; top:345px; width:120px; height:19px; "/>
- <input id="input8" ref="/root/main/tpnbaseinfo/ordinfo/kdrugcd" class="input_essential" maxlength="12" style="left:150px; top:370px; width:120px; height:19px; "/>
- <button id="button4" class="icon_search" style="left:275px; top:370px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/ordinfo/kdrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input9" ref="/root/main/tpnbaseinfo/ordinfo/cadrugcd" class="input_essential" maxlength="12" style="left:150px; top:395px; width:120px; height:19px; "/>
- <button id="button5" class="icon_search" style="left:275px; top:395px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/ordinfo/cadrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input10" ref="/root/main/tpnbaseinfo/ordinfo/pdrugcd" class="input_essential" maxlength="12" style="left:150px; top:420px; width:120px; height:19px; "/>
- <button id="button6" class="icon_search" style="left:275px; top:420px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/ordinfo/pdrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input11" ref="/root/main/tpnbaseinfo/ordinfo/mgdrugcd" class="input_essential" maxlength="12" style="left:150px; top:445px; width:120px; height:19px; "/>
- <button id="button7" class="icon_search" style="left:275px; top:445px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/ordinfo/mgdrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input12" ref="/root/main/tpnbaseinfo/ordinfo/multivitadrugcd" class="input_essential" maxlength="12" style="left:150px; top:495px; width:120px; height:19px; "/>
- <button id="button8" class="icon_search" style="left:275px; top:495px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/ordinfo/multivitadrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input14" ref="/root/main/tpnbaseinfo/ordinfo/heparindrugcd" class="input_essential" visibility="visible" maxlength="12" style="left:150px; top:470px; width:120px; height:19px; "/>
- <button id="button10" class="icon_search" visibility="visible" style="left:275px; top:470px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/ordinfo/heparindrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_2" style="x1:5px; y1:141px; x2:570px; y2:141px; "/>
- <line id="line4" class="line_3" style="x1:5px; y1:166px; x2:570px; y2:166px; "/>
- <line id="line5" class="line_3" style="x1:5px; y1:93px; x2:570px; y2:93px; "/>
- <line id="line2" class="line_1" style="x1:5px; y1:65px; x2:570px; y2:65px; "/>
- <caption id="caption3" class="cell_1" style="left:10px; top:70px; width:67px; height:23px; text-align:center; vertical-align:middle; ">약품코드</caption>
- <output id="output1" ref="/root/main/tpnbaseinfo/ordinfo/traceeledrugnm" class="output_search" style="left:230px; top:70px; width:335px; height:19px; "/>
- <input id="input15" ref="/root/main/tpnbaseinfo/ordinfo/traceeledrugcd" class="input_essential" maxlength="12" style="left:85px; top:70px; width:120px; height:19px; "/>
- <button id="button11" class="icon_search" style="left:210px; top:70px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drugcode = "";
-
- //model.setValue("/root/temp/receivedata/receiveref", "/root/main/tpnbaseinfo/ordinfo/traceeledrugcd");
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- model.setValue("/root/main/tpnbaseinfo/ordinfo/traceeledrugcd", model.getValue("/root/temp/receivedata/drugcd"));
- drugcode = model.getValue("/root/main/tpnbaseinfo/ordinfo/traceeledrugcd");
-
- if (drugcode != "") {
- model.setValue("/root/send/srchinfo/srchdrugcd",drugcode);
- submit("TRADB02604");
- model.setValue("/root/main/tpnbaseinfo/ordinfo/traceeledrugnm",model.getValue("/root/hidden/drugitem/drugnm"));
-
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="tit_2" style="left:10px; top:50px; width:260px; height:13px; ">미량원소 약품코드</caption>
- <line id="line6" class="line_3" style="x1:5px; y1:93px; x2:570px; y2:93px; "/>
- <line id="line8" class="line_1" style="x1:5px; y1:17px; x2:570px; y2:17px; "/>
- <caption id="caption21" class="cell_1" style="left:215px; top:22px; width:67px; height:23px; text-align:center; vertical-align:middle; ">시작일자</caption>
- <caption id="caption24" class="tit_2" style="left:10px; top:2px; width:200px; height:13px; ">적용일자</caption>
- <line id="line10" class="line_3" style="x1:5px; y1:45px; x2:570px; y2:45px; "/>
- <input id="input17" ref="/root/main/tpnbaseinfo/ordinfo/fromdd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:285px; top:23px; width:100px; height:19px; "/>
- <caption id="caption22" class="cell_1" style="left:390px; top:22px; width:67px; height:23px; text-align:center; vertical-align:middle; ">종료일자</caption>
- <input id="input18" ref="/root/main/tpnbaseinfo/ordinfo/todd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:460px; top:23px; width:100px; height:19px; "/>
- <caption id="caption23" class="tit_2" style="left:590px; top:50px; width:260px; height:13px; ">TPN처방 약품코드</caption>
- <line id="line9" class="line_1" style="x1:585px; y1:65px; x2:1030px; y2:65px; "/>
- <line id="line13" class="line_3" style="x1:585px; y1:518px; x2:980px; y2:518px; "/>
- <select1 id="radio10" ref="/root/send/data/tpnkind" appearance="full" cellspacing="5" cols="5" rows="1" overflow="visible" style="left:81px; top:25px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>소아</label>
- <value>C</value>
- </item>
- <item>
- <label>성인</label>
- <value>A</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.copyNode("/root/send/data/tpndata","/root/main/tpnbaseinfo/ordinfo");
- submit("TRADB02901");
- ]]>
- </script>
- </select1>
- <caption id="caption25" class="cell_1" style="left:11px; top:22px; width:65px; height:23px; vertical-align:middle; ">구분</caption>
- <button id="btn_grddel" class="btn2_letter3" style="left:980px; top:75px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_tpndrugcd.addStatus(grd_tpndrugcd.row,"delete");
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:925px; top:75px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_tpndrugcd.addRow();
- grd_tpndrugcd.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_tpndrugcd" nodeset="/root/main/tpnbaseinfo/tpndruginfo" caption="Amino Acid용량^Amino Acid용량^약품코드^Lipid 코드" colsep="^" colwidth="90, 90, 141, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:585px; top:95px; width:450px; height:420px; ">
- <col autonext="false" ref="startvol" type="input" format="9999999999" maxlength="10" style="text-align:right; "/>
- <col autonext="false" ref="endvol" type="input" format="9999999999" maxlength="10" style="text-align:right; "/>
- <col autonext="false" ref="tpnprcpcd" type="inputbutton" maxlength="12"/>
- <col autonext="false" ref="lipidcd" type="input" maxlength="12"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var drugcode = "";
-
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- drugcode = model.getValue("/root/temp/receivedata/drugcd");
-
- if (drugcode != "") {
- model.setValue("/root/main/tpnbaseinfo/tpndruginfo["+(grd_tpndrugcd.row)+"]/tpnprcpcd",drugcode);
- model.refresh();
- }
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption30" class="tit_2" style="left:10px; top:180px; width:144px; height:13px; ">Amino Acid</caption>
- <line id="line22" class="line_1" style="x1:5px; y1:195px; x2:280px; y2:195px; "/>
- <line id="line23" class="line_3" style="x1:5px; y1:285px; x2:280px; y2:285px; "/>
- <caption id="caption35" class="tit_2" style="left:295px; top:180px; width:144px; height:13px; ">Lipid</caption>
- <line id="line24" class="line_1" style="x1:290px; y1:195px; x2:565px; y2:195px; "/>
- <line id="line25" class="line_3" style="x1:290px; y1:285px; x2:565px; y2:285px; "/>
- <button id="button2" class="btn2_letter3" style="left:225px; top:175px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_aminoinfo.addStatus(grd_aminoinfo.row,"delete");
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter3" style="left:170px; top:175px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_aminoinfo.addRow();
- grd_aminoinfo.refresh();
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter3" style="left:510px; top:175px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_lipidinfo.addStatus(grd_lipidinfo.row,"delete");
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter3" style="left:455px; top:175px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_lipidinfo.addRow();
- grd_lipidinfo.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_aminoinfo" nodeset="/root/main/tpnbaseinfo/aminoinfo" caption="약품코드^ml^g" colsep="^" colwidth="100, 74, 57" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:200px; width:275px; height:80px; ">
- <col ref="tpndrugcd" type="inputbutton"/>
- <col autonext="false" ref="ordvol" type="input" format="######.#####" maxlength="11"/>
- <col autonext="false" ref="calcvol" type="input" format="######.#####" maxlength="11"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var drugcode = "";
-
- //model.setValue("/root/temp/receivedata/receiveref", "/root/main/tpnbaseinfo/aminoinfo["+(grd_aminoinfo.row)+"]/aminodrugcd");
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- model.setValue("/root/main/tpnbaseinfo/aminoinfo["+(grd_aminoinfo.row)+"]/tpndrugcd", model.getValue("/root/temp/receivedata/drugcd"));
- drugcode = model.getValue("/root/main/tpnbaseinfo/aminoinfo["+(grd_aminoinfo.row)+"]/tpndrugcd");
-
- if (drugcode != "") {
- model.setValue("/root/send/srchinfo/srchdrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_lipidinfo" nodeset="/root/main/tpnbaseinfo/lipidinfo" caption="약품코드^ml^g" colsep="^" colwidth="100, 74, 57" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:290px; top:200px; width:275px; height:80px; ">
- <col ref="tpndrugcd" type="inputbutton"/>
- <col autonext="false" ref="ordvol" type="input" format="######.#####" maxlength="11"/>
- <col autonext="false" ref="calcvol" type="input" format="######.#####" maxlength="11"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var drugcode = "";
-
- //model.setValue("/root/temp/receivedata/receiveref", "/root/main/tpnbaseinfo/lipidinfo["+(grd_lipidinfo.row)+"]/lipiddrugcd");
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- model.setValue("/root/main/tpnbaseinfo/lipidinfo["+(grd_lipidinfo.row)+"]/tpndrugcd", model.getValue("/root/temp/receivedata/drugcd"));
- drugcode = model.getValue("/root/main/tpnbaseinfo/lipidinfo["+(grd_lipidinfo.row)+"]/tpndrugcd");
-
- if (drugcode != "") {
- model.setValue("/root/send/srchinfo/srchdrugcd",drugcode);
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line19" class="line_2" style="x1:5px; y1:493px; x2:575px; y2:493px; "/>
- <caption id="caption37" style="left:530px; top:470px; width:30px; height:25px; vertical-align:middle; ">IU</caption>
- <input id="input20" ref="/root/main/tpnbaseinfo/ordinfo/ordheparinvol" class="input_default" maxlength="11" format="######.####" style="left:297px; top:470px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption38" style="left:393px; top:470px; width:27px; height:25px; vertical-align:middle; ">ml</caption>
- <caption id="caption39" style="left:418px; top:475px; width:15px; height:15px; vertical-align:middle; ">=</caption>
- <input id="input21" ref="/root/main/tpnbaseinfo/ordinfo/calcheparinvol" class="input_default" maxlength="11" format="######.#####" appearance="input" style="left:435px; top:470px; width:91px; height:19px; text-align:right; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1194px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:922px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|