123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLR90300_현장검사결과등록.xrw
- * 설 명 : 현장검사결과등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.06.19
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <spcinfo>
- <eqmtcd/>
- <bcno/>
- <pid/>
- <patnm/>
- <orddeptnm/>
- <wardroom/>
- <rsltstat/>
- <execdeptcd/>
- </spcinfo>
- <testlist>
- <chk/>
- <tclscd/>
- <tclsscrnnm/>
- <inptrslt/>
- <bcno/>
- <spcstat/>
- </testlist>
- </main>
- <send>
- <data1/>
- <data2/>
- </send>
- <init>
- </init>
- <hidden>
- <refparam>
- <bcno/>
- <eqmtcd/>
- </refparam>
- <default/>
- <refflag>
- <bcno/>
- <rsltstat/>
- <testlrgkind/>
- <p_isedit/>
- <execdeptcd/>
- </refflag>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <submission id="TRLLR90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <submission id="TXLLR90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fExeCancel() {
- window.close();
- }
-
- function fOnclickTest(){
-
- model.copyNode("/root/send/data1" , "/root/hidden/refparam");
- submit("TRLLR90301" , false);
- model.copyNode("/root/send/data1" , "/root/hidden/default");
- model.refresh();
- }
-
- function fSpcInfoRef(){
- if(event.keyCode == "13"){
- if(event.target == "ipt_bcno"){
- model.setvalue("/root/hidden/refparam/bcno",ipt_bcno.currentText);
- model.refresh();
-
- fOnclickTest();
-
- ipt_bcno.selBegin = 0;
- ipt_bcno.selEnd = ipt_bcno.currentText.length;
-
-
- }
- }
-
- }
-
- function fResultSave(){
- var tfSave = false;
-
- for(i=1;i<datagrid1.rows;i++){
- if(model.getvalue("/root/main/testlist["+i+"]/chk") == "true" && model.getvalue("/root/main/testlist["+i+"]/inptrslt") != ""){
- datagrid1.addStatus(i, "update");
- tfSave = true;
- }
- }
-
- if(tfSave){
- model.setvalue("/root/send/data1" , datagrid1.getUpdateData());
-
- model.setvalue("/root/hidden/refflag/bcno",model.getvalue("/root/hidden/refparam/bcno"));
- model.setvalue("/root/hidden/refflag/rsltstat",model.getvalue("/root/main/spcinfo/rsltstat"));
- model.setvalue("/root/hidden/refflag/testlrgkind","-");
- model.setvalue("/root/hidden/refflag/execdeptcd" , model.getvalue("/root/main/spcinfo/execdeptcd"));
-
- model.copyNode("/root/send/data2" , "/root/hidden/refflag");
-
- submit("TXLLR90301" , false);
-
- model.resetInstanceNode("/root/main/spcinfo");
- model.removeNodeset("/root/main/testlist");
- model.copyNode("/root/send/data1" , "/root/hidden/default");
-
- model.refresh()
- }
-
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:571px; height:270px; ">
- <caption id="caption1" class="tit_2" style="left:245px; top:11px; width:95px; height:13px; ">검사결과</caption>
- <caption id="caption2" class="tit_2" style="left:5px; top:11px; width:95px; height:14px; ">검체정보</caption>
- <line id="line1" class="line_1" style="x1:240px; y1:26px; x2:570px; y2:26px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:235; y2:26px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/testlist" caption="^검사코드^검사명^결과^검체번호^검체상태" colsep="^" colwidth="20, 74, 140, 50, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:240px; top:31px; width:330px; height:232; ">
- <col ref="chk" type="checkbox"/>
- <col ref="tclscd"/>
- <col ref="tclsscrnnm"/>
- <col ref="inptrslt" type="input"/>
- <col ref="bcno"/>
- <col ref="spcstat"/>
- </datagrid>
- <caption id="caption5" class="cell_1" style="left:0px; top:-140px; width:72px; height:23px; vertical-align:middle; ">환자명</caption>
- <output id="output2" ref="/root/main/spcinfo/pid" class="output_fix" style="left:75px; top:80px; width:160px; height:19px; "/>
- <output id="output3" ref="/root/main/spcinfo/patnm" class="output_fix" style="left:75px; top:104px; width:160px; height:19px; "/>
- <output id="output4" ref="/root/main/spcinfo/orddeptnm" class="output_fix" style="left:75px; top:128px; width:160px; height:19px; "/>
- <output id="output5" ref="/root/main/spcinfo/wardroom" class="output_fix" style="left:75px; top:152px; width:160px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:77px; x2:235px; y2:77px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:101px; x2:235px; y2:101px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:125px; x2:235px; y2:125px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:149px; x2:235px; y2:149px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:173px; x2:235px; y2:173px; "/>
- <select1 id="combo1" ref="/root/hidden/refparam/eqmtcd" class="combo_default" appearance="minimal" style="left:75px; top:33px; width:160px; height:19px; ">
- <choices>
- <item>
- <label>HCG</label>
- <value>01</value>
- </item>
- </choices>
- </select1>
- <line id="line3" class="line_2" style="x1:0px; y1:53px; x2:235px; y2:53px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:151px; width:72px; height:23px; vertical-align:middle; ">병동/병실</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:31px; width:72px; height:23px; vertical-align:middle; ">검사그룹</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:79px; width:72px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption6" class="cell_1" style="left:0px; top:103px; width:72px; height:23px; vertical-align:middle; ">환자명</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:127px; width:72px; height:23px; vertical-align:middle; ">진료과</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:55px; width:72px; height:23px; vertical-align:middle; ">검체번호</caption>
- <input id="ipt_bcno" ref="/root/hidden/refparam/bcno" class="input_button" inputtype="button" style="left:75px; top:56px; width:160px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fOnclickTest();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fSpcInfoRef();
- ]]>
- </script>
- </input>
- </group>
- <group id="group2" style="left:0px; top:270px; width:571px; height:27px; ">
- <line id="line9" class="line_6" style="x1:0px; y1:0px; x2:570px; y2:0px; "/>
- <button id="button4" class="btn4_letter2" style="left:455px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fResultSave();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:514px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeCancel();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|