123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLLC90300_채취일시등록.xrw
- * 설 명 : 채취일시등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.2.26
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <extrdtreg>
- <getextrdtreg>
- <bcno/>
- <bcolldt/>
- <pid/>
- <patnm/>
- <orddeptnm/>
- <wardroom/>
- <spcstat/>
- </getextrdtreg>
- </extrdtreg>
- </main>
- <send>
- <data1/>
- </send>
- <init>
- </init>
- <hidden>
- <refflag>
- <extrdt/>
- <extrtm/>
- <bcno/>
- <autoreg>1</autoreg>
- </refflag>
- <default/>
- <extrdtreg>
- <getextrdtreg>
- <bcno/>
- <bcolldt/>
- <pid/>
- <patnm/>
- <orddeptnm/>
- <wardroom/>
- <spcstat/>
- </getextrdtreg>
- </extrdtreg>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_extrdtreg.removeItem();
- model.setvalue("/root/hidden/refflag/extrdt",getCurrentDate());
- model.setvalue("/root/hidden/refflag/extrtm",getCurrentTime())
-
- model.refresh();
- // model.setFocus("iptSearch");
- ]]>
- </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/dateHelper.js"/>
- <submission id="TXLLC90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/extrdtreg"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fGetpatinfo(){
- model.copyNode("/root/send/data1", "/root/hidden/refflag");
- var extrtm = model.getvalue("/root/send/data1/extrtm");
- if(extrtm.length == "4"){
-
- model.setvalue("/root/send/data1/extrtm" , extrtm + "00");
-
- }
-
- submit("TXLLC90301");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
-
- var gridRow = grd_extrdtreg.rows;
-
- var vInstance = document.models(0).instances(0);
- var cntHR = vInstance.selectNodes("/root/main/extrdtreg/getextrdtreg").length;
-
- if(cntHR > 0 && model.getvalue("/root/main/extrdtreg/getextrdtreg/bcno") != ""){
-
- model.makeNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow +"]");
- model.makeNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow+"]/bcno");
- model.makeNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow+"]/colldt");
- model.makeNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow+"]/pid");
- model.makeNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow +"]/patnm");
- model.makeNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow+"]/orddept");
- model.makeNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow+"]/wardroom");
- model.makeNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow+"]/spcstat");
- model.copyNode("/root/hidden/extrdtreg/getextrdtreg["+gridRow+"]" , "/root/main/extrdtreg/getextrdtreg");
-
- grd_extrdtreg.rebuild();
-
- grd_extrdtreg.select(gridRow,0,gridRow,grd_extrdtreg.cols-1) = true;
-
- grd_extrdtreg.topRow = gridRow;
- }
-
-
-
-
- }
-
- function fKeyEvent(){
- if(event.keyCode == "13"){
- if(event.target == "iptSearch"){
- model.setvalue("/root/hidden/refflag/bcno",(iptSearch.currentText).toUpperCase());
- model.refresh();
-
- fGetpatinfo();
-
- iptSearch.selBegin = 0;
- iptSearch.selEnd = iptSearch.currentText.length;
-
-
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="720" pageheight="490" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:13px; width:705px; height:422px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:121px; height:13px; ">환자정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:700px; y2:70px; "/>
- <group id="group2" style="left:0px; top:10px; width:700px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:700px; height:35px; "/>
- <caption id="caption8" class="search_name" style="left:386px; top:9px; width:90px; height:17px; ">채취일시 :</caption>
- <input id="input6" ref="/root/hidden/refflag/extrdt" class="input_s_essential" navindex="3" inputtype="date" style="left:478px; top:9px; width:97px; height:19px; "/>
- <input id="input1" ref="/root/hidden/refflag/extrtm" class="input_s_essential" format="99:99" style="left:578px; top:9px; width:65px; height:19px; "/>
- <select id="checkbox2" ref="/root/hidden/refflag/autoreg" class="checkbox_search" navindex="2" visibility="visible" overflow="visible" appearance="full" style="left:263px; top:10px; width:75px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>자동등록</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="caption10" class="search_name" style="left:10px; top:10px; width:99px; height:17px; ">바코드번호 :</caption>
- <input id="iptSearch" ref="/root/hidden/refflag/bcno" class="input_s_button" navindex="1" imemode="disabled" inputtype="button" style="left:115px; top:9px; width:144px; height:19px; "/>
- </group>
- <datagrid id="grd_extrdtreg" nodeset="/root/hidden/extrdtreg/getextrdtreg" caption="바코드번호^채취일시^등록번호^환자명^진료과^병동/병실^상태" colsep="^" colwidth="84, 100, 86, 90, 49, 63, 202" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:700px; height:347px; ">
- <col ref="bcno"/>
- <col ref="bcolldt" type="input" format="9999-99-99 99:99:99"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="orddeptnm" format="yyyy-mm-dd"/>
- <col ref="wardroom"/>
- <col ref="spcstat"/>
- </datagrid>
- </group>
- <caption id="caption9" class="tit_1" style="left:0px; top:0px; width:660px; height:14px; ">채취일시등록</caption>
- <group id="group3" style="left:0px; top:436px; width:705px; height:27px; ">
- <button id="button4" class="btn4_letter2" visibility="hidden" style="left:585px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- </button>
- <button id="button9" class="btn4_letter2" style="left:644px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:700px; y2:0px; "/>
- </group>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|