123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLMR90400_항균제조회.xrw
- * 설 명 : 환자특이사항 관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.07.22
- * 수정력 :
- * 기 타 :
- -->
- <?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>Gram Stain 결과입력</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>
- <GRAMParm>
- <bufParm/>
- </GRAMParm>
- </hidden>
- </root>
- </instance>
- <script ev:event="xforms-model-construct-done" type="javascript">
- <![CDATA[
-
- datagrid1.fixedRows =0;
- datagrid1.removeRow();
- datagrid1.rowHidden(0) = true;
- var gram = model.getValue("/root/hidden/GRAMParm/bufParm");
- object1.PutInString(gram);
- //datagrid1.fixedCols = 5;
- fBaseInfoRef("0109|");
-
- fRsltCodeSet();
-
-
-
-
- ]]>
- </script>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <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 = "LMR100";
-
-
- var n = getNodesetCount("/root/init/LB0109[etc01='" + testcd1+ "']");
- var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd1 + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd1 + "']/nm");
-
- 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;
- seq++;
-
- model.setvalue("/root/main/Gram/RsltCode["+gridRow+"]/cd"+ seq , cd);
- datagrid1.tooltipText(gridRow ,seq - 1) = nm;
-
- if(i%7 == 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 = "LMR100";
- 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 fSputumInput(code){
- var testcd2 = "LMR10001";
- var nm = model.getvalue("/root/init/LB0109[etc01 = '"+testcd2+"' and cd='"+code+"']/nm") + " ";
-
- object1.PutInString(nm);
-
- }
-
- function fInput(){
- model.setValue("/root/hidden/GRAMParm/bufParm", object1.GetString());
-
- opener.model.setvalue("/root/hidden/GRAMParm/bufParm",model.getvalue("/root/hidden/GRAMParm/bufParm"));
- window.close();
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="740" 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:720px; height:615px; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:11px; width:145px; height:14px; ">Gram Stain 결과입력</caption>
- <button id="button9" class="btn4_letter2" style="left:661px; top:590px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:720px; y2:26px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:31px; width:105px; height:23px; ">Sputum Grade</caption>
- <line id="line4" class="line_3" style="x1:0px; y1:53px; x2:720px; y2:53px; "/>
- <button id="btn_cfm" class="btn4_letter2" style="left:605px; top:590px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- fInput();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter3" style="left:537px; top:590px; width:68px; height:22px; ">
- <caption>Clear</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- object1.Clear();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" style="left:5px; top:60px; width:111px; height:14px; ">결과예문</caption>
- <button id="button2" class="btn2_letter2" style="left:108px; top:32px; width:42px; height:19px; ">
- <caption>1</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSputumInput("1");
- ]]>
- </script>
- <hint>
- <![CDATA[Group 1 ; WBC(<10), EP(>25)]]>
- </hint>
- </button>
- <button id="button3" class="btn2_letter2" style="left:151px; top:32px; width:42px; height:19px; ">
- <caption>2</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSputumInput("2");
- ]]>
- </script>
- <hint>
- <![CDATA[Group 2 ; WBC(10~25), EP(>25) ]]>
- </hint>
- </button>
- <button id="button4" class="btn2_letter2" style="left:194px; top:32px; width:42px; height:19px; ">
- <caption>3</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSputumInput("3");
- ]]>
- </script>
- <hint>
- <![CDATA[Group 3 ; WBC(>25), EP(>25) ]]>
- </hint>
- </button>
- <button id="button5" class="btn2_letter2" style="left:237px; top:32px; width:42px; height:19px; ">
- <caption>4</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSputumInput("4");
- ]]>
- </script>
- <hint>
- <![CDATA[Group 4 ; WBC(>25), EP(10~25) ]]>
- </hint>
- </button>
- <button id="button6" class="btn2_letter2" style="left:280px; top:32px; width:42px; height:19px; ">
- <caption>5</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSputumInput("5");
- ]]>
- </script>
- <hint>
- <![CDATA[Group 5 ; WBC(>25), EP(<10) ]]>
- </hint>
- </button>
- <button id="button7" class="btn2_letter2" style="left:323px; top:32px; width:42px; height:19px; ">
- <caption>6</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSputumInput("6");
- ]]>
- </script>
- <script ev:event="onmouseup" type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- <hint>
- <![CDATA[Group 6 ; WBC (<10), EP(<10) ]]>
- </hint>
- </button>
- <button id="button8" class="btn2_letter2" style="left:366px; top:32px; width:42px; height:19px; ">
- <caption>7</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSputumInput("7");
- ]]>
- </script>
- <hint>
- <![CDATA[WBC(10~25), EP (<10) ]]>
- </hint>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/Gram/RsltCode" backcoloralternate="transparent" caption="caption1^caption2^caption3^caption5^caption4^caption6^caption7" colsep="^" colwidth="99, 99, 99, 99, 99, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" tooltip="true" style="left:0px; top:80px; width:720px; height:310px; font-size:16pt; ">
- <col ref="cd1"/>
- <col ref="cd2"/>
- <col ref="cd3"/>
- <col ref="cd4"/>
- <col ref="cd5"/>
- <col ref="cd6"/>
- <col ref="cd7"/>
- <script ev:event="onclick" type="javascript">
- <![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:720px; height:140px; font-size:20; border-color:#999999; border-width:1px; border-style:solid; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|