123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLMR90400_항균제조회.xrw
- * 설 명 : 환자특이사항 관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.10.01
- * 수정력 :
- * 기 타 :
- -->
- <?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>
- <main>
- <Gram>
- <RsltCode>
- <cd1/>
- <cd2/>
- <cd3/>
- <cd4/>
- <cd5/>
- <cd6/>
- <cd7/>
- </RsltCode>
- </Gram>
- </main>
- <send>
- <data1/>
- </send>
- <init>
- <LB0109>
- <cd/>
- <nm/>
- </LB0109>
- </init>
- <hidden>
- <cultureParm>
- <bufParm/>
- <testcd/>
- </cultureParm>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- datagrid1.fixedRows =0;
- datagrid1.removeRow();
- datagrid1.rowHidden(0) = true;
- var base = model.getValue("/root/hidden/cultureParm/bufParm");
- object1.PutInString(base);
- //datagrid1.fixedCols = 5;
- fBaseInfoRef("0109|");
-
- fRsltCodeSet();
-
-
-
-
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fRsltCodeSet(){
-
-
-
- var testcd1 = model.getvalue("/root/hidden/cultureParm/testcd");
- //var testcd1 = "LMR102";
-
- var n = getNodesetCount("/root/init/LB0109[etc01='" + testcd1+ "' and etc03='N' and etc04='Y']");
- //var n = getNodesetCount("/root/init/LB0109[etc01='" + testcd1+ "' and etc03='N']");
- var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd1 + "' and etc03='N' ]/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd1 + "' and etc03='N' ]/nm");
- //var disYN = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd1 + "' and etc03='"+code+"' ]/etc03");
-
- var gridRow = 1;
- var seq =0;
- datagrid1.addRow();
- datagrid1.rowHeight(1) = 32;
- datagrid1.rowStyle(1,"all","background-color" ) = "#EEFFFF";
-
- datagrid1.refresh();
-
- for(i=1;i<= n;i++){
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
- //var dis = disYN.item(i - 1).text;
-
-
- //if(dis == "N"){
- seq++;
-
- model.setvalue("/root/main/Gram/RsltCode["+gridRow+"]/cd"+ seq , cd);
- datagrid1.tooltipText(gridRow ,seq - 1) = nm;
-
- if(i%5 == 0 && i !=n){
- seq = 0;
- gridRow++;
- datagrid1.addRow();
- datagrid1.rowHeight(gridRow) = 32;
- datagrid1.rowStyle(gridRow,"all","background-color" ) = "#EEFFFF";
- datagrid1.refresh();
-
- }
- //}
-
-
- }
-
-
-
- }
-
- function fRsltCodeClick(){
- var testcd1 = model.getvalue("/root/hidden/cultureParm/testcd");
- var row = datagrid1.row;
- var col = datagrid1.col;
-
- var code = datagrid1.valueMatrix(row,col);
-
- var nm = model.getvalue("/root/init/LB0109[etc01 = '"+testcd1+"' and cd='"+code+"']/nm") + " ";
-
- object1.PutInString(nm);
-
-
- }
-
- function fInput(){
- model.setValue("/root/hidden/cultureParm/bufParm", object1.GetString());
-
- opener.model.setvalue("/root/hidden/cultureParm/bufParm",model.getvalue("/root/hidden/cultureParm/bufParm"));
- window.close();
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="530" pageheight="650" guideline="1,1194;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:505px; height:615px; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:11px; width:145px; height:14px; ">배양검사 결과입력</caption>
- <button id="button9" class="btn4_letter2" style="left:445px; top:588px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:500px; y2:26px; "/>
- <button id="btn_cfm" class="btn4_letter2" style="left:389px; top:588px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInput();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter3" style="left:321px; top:588px; width:68px; height:22px; ">
- <caption>Clear</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- object1.Clear();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" style="left:6px; top:42px; width:111px; height:13px; ">결과예문</caption>
- <datagrid id="datagrid1" nodeset="/root/main/Gram/RsltCode" backcoloralternate="transparent" caption="caption1^caption2^caption3^caption5^caption4" colsep="^" colwidth="99, 99, 99, 99, 99" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" tooltip="true" style="left:0px; top:60px; width:500px; height:330px; font-size:16pt; ">
- <col ref="cd1"/>
- <col ref="cd2"/>
- <col ref="cd3"/>
- <col ref="cd4"/>
- <col ref="cd5"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fRsltCodeClick();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:4px; top:410px; width:111px; height:13px; ">검사결과</caption>
- <object id="object1" navindex="-1" clsid="{CC980D81-CB5E-46A3-94F8-6925747F95E4}" style="left:0px; top:430px; width:500px; height:145px; border-color:#999999; border-width:1px; border-style:solid; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|