123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLBT10200_혈액준비관리.xrw
- * 설 명 : 혈액준비관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.05.30
- * 수정이력 : 2007.08.31 printer
- * 기 타 :
- -->
- <?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>
- <send>
- <fromdd/>
- <todd/>
- <fromtm/>
- <totm/>
- <testpsnid/>
- <pid/>
- <blodno/>
- <tnsreqacptno/>
- <spclyn/>
- </send>
- <init>
- </init>
- <hidden2>
- <ref>
- <reffromdd/>
- <reffromtm/>
- <reftodd/>
- <reftotm/>
- <testpsnid/>
- <testpsnnm/>
- <pid/>
- <bloodno/>
- <spclblood/>
- <alarmyn/>
- <tmptestpsnid/>
- </ref>
- <autoref>1</autoref>
- <keepnoblodcnt>
- <bno/>
- <keepno/>
- </keepnoblodcnt>
- <autom>5</autom>
- <popupyn/>
- <temp>
- <totalInsCnt>
- <totalinscnt/>
- </totalInsCnt>
- </temp>
- </hidden2>
- </root>
- </instance>
- <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="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //var dd= today.getAddDate(2, "D");
- //getDateInterval();
-
- fTimer();
- group2.refresh();
- model.setFocus("ipt_testpsn");
- fSetPrepImport("SAME");
- model.removeNodeset("/root/main/getbloodinfo");
- model.removeNodeset("/root/main/blod/getprepbloodlist");
-
- //grd_prepblood.refresh();
- grd_prcplist.refresh(); // 처방목록
- grd_detllist.refresh(); // 수혈내역
- grd_com.refresh(); // 혈액성분
- grd_prepblood.refresh(); // 준비혈액
-
- model.makeValue("/root/send/scrnid", getScreenID());
- submit("TRLLC90101");
-
- fAutoAcpt("Y"); // 준비화면열때 자동접수랑 자동조회되도록 -2008-10-09 정은추가
-
- ]]>
- </script>
- <submission id="TXLBT10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden2/ref" replace="instance" resultref="/root/hidden2/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- iCnt = 1;
- var gTimerID;
-
- function fTimer(){
-
- iCnt ++;
-
- if(iCnt%2 == 0){
- m = model.getvalue("/root/hidden2/autom");
- gTimerID = window.setInterval( "fAutoAcpt('Y')", m * 60000 );
-
- button89.attribute("text") = "자동접수 On";
- input1.disabled = true;
-
- }
- else{
- model.setvalue("/root/hidden2/autoref" , "2");
- button89.attribute("text") = "자동접수 Off";
- input1.disabled = false;
- window.clearInterval(gTimerID) ;
- }
-
- }
-
-
- function fSettingDate(){
- var today = getCurrentDate();
- var ttime = getCurrentTime();
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
- var mTime = (getCurrentDate()+getCurrentTime()).toDate("YYYYMMDDhhmm").getAddDate(8, "h");
-
- model.setValue("/root/hidden2/ref/reffromdd" , mDate.getDateFormat("YYYYMMDD")); // -5일
- model.setValue("/root/hidden2/ref/reftodd" , mTime.getDateFormat("YYYYMMDD")); // 현재일시 +8시간 더한 날짜
- model.setValue("/root/hidden2/ref/reffromtm" , ttime.substring(0,4)); // 현재시간
- model.setValue("/root/hidden2/ref/reftotm" , mTime.getDateFormat("hhmm")); // +8시간
-
- model.refresh();
- }
-
- function fAutoAcpt(ref){
- //자동접수,화면로딩시에만 현재시간으로 셋팅.
- if(ref == "Y"){
- fSettingDate();
- }
- submit("TXLBT10202");
-
- model.setValue("/root/send/dispflag", "A"); //준비관리, 이형준비관리 구분인가?? 2008.09.04 김성희
- if(ref == "Y"){
- fGetBloodPrcpList("btn"); // 2008-10-05 정은 추가 자동접수후 재조회하기
-
- //자동접수후 신규 접수내역이 있고, 알람사용이 체크되어 있으면 알람 띠링띠링. 2009.04.29 김성희
- if(model.getValue("/root/hidden2/ref/alarmyn") == "Y" && model.getValue("/root/hidden2/temp/totalInsCnt/totalinscnt") > 0){
-
- snd ="c:\\windows\\media\\" + model.getValue("/root/init/LB1201/cd");
- MediaPlayer.settings.playCount = model.getValue("/root/init/LB1201/etc01");
- MediaPlayer.url = snd;
- }
- }
- }
-
- // 초기화 버튼
- function fSetClear(){
- model.reset();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:13px; ">혈액준비관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:5px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:3px; top:9px; width:91px; height:17px; ">조회일자 :</caption>
- <line id="line13" class="line_4" style="x1:1124px; y1:5px; x2:1124px; y2:27px; "/>
- <caption id="caption4" class="search_name" style="left:365px; top:10px; width:75px; height:17px; ">접수자 :</caption>
- <caption id="caption5" class="search_name" style="left:737px; top:9px; width:91px; height:17px; ">혈액번호 :</caption>
- <caption id="caption16" class="search_name" style="left:571px; top:9px; width:93px; height:17px; ">등록번호 :</caption>
- <caption id="caption3" class="search_no_b" style="left:217px; top:9px; width:15px; height:17px; ">~</caption>
- <button id="btn_ref" class="btn1_letter2" style="left:1136px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAutoAcpt("N");
- fGetBloodPrcpList("btn");
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/hidden2/ref/reffromdd" class="input_s_essential" inputtype="date" style="left:89px; top:8px; width:91px; height:19px; "/>
- <input id="ipt_todd" ref="/root/hidden2/ref/reftodd" class="input_s_essential" inputtype="date" style="left:232px; top:8px; width:91px; height:19px; "/>
- <input id="ipt_fromtm" ref="/root/hidden2/ref/reffromtm" class="input_search" format="hh:nn" style="left:179px; top:8px; width:35px; height:19px; "/>
- <input id="ipt_totm" ref="/root/hidden2/ref/reftotm" class="input_search" format="hh:nn" style="left:322px; top:8px; width:35px; height:19px; "/>
- <input id="ipt_testpsn" ref="/root/hidden2/ref/testpsnid" class="input_search" style="left:438px; top:9px; width:64px; height:19px; "/>
- <input id="ipt_pid" ref="/root/hidden2/ref/pid" class="input_search" style="left:662px; top:8px; width:68px; height:19px; "/>
- <input id="ipt_bloodno" ref="/root/hidden2/ref/bloodno" class="input_search" style="left:827px; top:8px; width:68px; height:19px; "/>
- <output id="opt_testpsn" ref="/root/hidden2/ref/testpsnnm" class="output_fix" style="left:503px; top:9px; width:61px; height:19px; "/>
- <select id="chk_spclblod" ref="/root/hidden2/ref/spclblood" overflow="visible" appearance="full" style="left:901px; top:10px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>특수혈액</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- // 간호부전송 버튼 설정
- fSetNurseBtn();
- ]]>
- </script>
- </select>
- <button id="button89" class="btn5_letter7" style="left:978px; top:8px; width:97px; height:19px; ">
- <caption>자동접수 On</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fTimer();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/hidden2/autom" class="input_search" style="left:1076px; top:8px; width:24px; height:19px; "/>
- <caption id="caption8" class="search_no_b" style="left:1100px; top:8px; width:15px; height:17px; ">분</caption>
- </group>
- <import id="import1" src="../../../lis\tnsmngtweb\xrw\SMLBT80200_혈액준비관리상세.xrw" style="left:0px; top:45px; width:1193px; height:695px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_prnt" class="btn3_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>프린터선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
- modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- ]]>
- </script>
- </button>
- <button id="button8" class="btn3_letter4" style="left:94px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>이력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //setParameter ( "SMMMO02500_cond", model.getvalue("/root/hidden2/ref/pid")+ "▩");
- //open ( "SMMMO02500" );
- if(model.getvalue("/root/hidden2/ref/pid") == ""){
- setParameter ( "SMMMO02500_cond", getPatientInfo("pid"));
- }else{
- setParameter ( "SMMMO02500_cond", model.getvalue("/root/hidden2/ref/pid"));
- }
- open ( "SMMMO02500" );
- ]]>
- </script>
- </button>
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetClear();
- ]]>
- </script>
- </button>
- <button id="btn_prep" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>준비완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetReady();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter8" visibility="visible" style="left:913px; top:3px; width:128px; height:22px; ">
- <caption>이형혈액준비관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden2/popupyn", "Y");
- open("SMLBT10500_이형혈액준비관리.xrw", "", "", "", "", "/root/hidden2/popupyn", "/root/hidden2/popupyn");
-
- ]]>
- </script>
- </button>
- <select id="chk_alarmyn" ref="/root/hidden2/ref/alarmyn" appearance="full" voverflow="visible" style="left:835px; top:5px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>알람사용</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <object id="MediaPlayer" clsid="{6bf52a52-394a-11d3-b153-00c04f79faa6}" visibility="hidden" playCount="-1" style="left:750px; top:0px; width:40px; height:25px; border-style:none; "/>
- <button id="button1" class="btn3_letter5" style="left:176px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>수혈혈액형</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open ( "SPLBT90500" );
- ]]>
- </script>
- </button>
- </group>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- <caption id="caption1" style="left:275px; top:12px; width:55px; height:25px; font-size:12pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">보검</caption>
- <caption id="caption7" style="left:460px; top:12px; width:55px; height:25px; font-size:12pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">재고</caption>
- <caption id="cap_keep" ref="/root/hidden2/keepnoblodcnt/keepno" style="left:340px; top:12px; width:85px; height:25px; font-size:14pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">1</caption>
- <caption id="cap_blodcnt" ref="/root/hidden2/keepnoblodcnt/bno" style="left:525px; top:12px; width:65px; height:25px; font-size:14pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">1</caption>
- <caption id="caption9" style="left:903px; top:40px; width:183px; height:12px; font-size:8pt; color:#0000ff; vertical-align:top; ">▼ PC, LRSDP 는 체크하고 조회</caption>
- </xhtml:body>
- </xhtml:html>
|