123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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 xmlns="">
- <main>
- <cond>
- <oppartrtndd/>
- </cond>
- <oppatlist>
- <oppatinfo>
- <roomcd/>
- <patnm/>
- <orddept/>
- <opstatnm/>
- <patposplcecd/>
- <oprsrvno/>
- <opstatcd/>
- </oppatinfo>
- <oppatlist1/>
- <oppatlist2/>
- <oppatlist3/>
- <oppatlist4/>
- <oppatlist5/>
- </oppatlist>
- <pregpatinfo>
- <pregpatlist>
- <roomcd/>
- <patnm/>
- <orddept/>
- <opstatnm/>
- <patposplcecd/>
- <oprsrvno/>
- <opstatcd/>
- </pregpatlist>
- </pregpatinfo>
- <menuitems>
- <gnrlmenu>
- <item>
- <name>종료</name>
- <func>fCloseBoard</func>
- </item>
- </gnrlmenu>
- </menuitems>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- </init>
- <hidden>
- <callmsg/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNV02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/msg"/>
- <submission id="TRMNV05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/msg"/>
- <submission id="TRMNV06301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/hidden/patlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- var IntervalTime = 5 * 1000 ; // 5초
- var DelTempFolderTime = 12 * 60 * 60 * 1000 ; // 12시간
- var showMsgTime = 10 * 1000 ; // 10초
- var msgintervalIDTop = "";
- var count = 0;
-
- function fInitialize() {
- DelTempFolderID = window.setInterval("fdelTempFolers();", DelTempFolderTime); //12시간
- msgintervalID = window.setInterval("fGetCallMessage();", IntervalTime); //5초
- ivw_patlist.src = "SMMNV01300_수술진행현황전광판.xrw";
- // ivw_preglist.src = "SMMNV02300_분만진행현황전광판.xrw";
- // ivw_patlist.src = "SMMNV03300_의정부그림.xrw";
- // ivw_patlist.window.javaScript.fInitialize();
-
- }
-
- //로그를 지우는 함수
- function fdelTempFolers()
- {
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var fldr = fso.GetFolder("C:\\Program Files\\himed\\components\\TrustForm\\TFViewer");
-
- var fc = new Enumerator(fldr.SubFolders);
-
- for(;!fc.atEnd(); fc.moveNext())
- {
- fc.item().Delete();
- }
- }
-
- function fPregInit() {
- ivw_patlist.src = "";
- ivw_piclist.src = "";
- ivw_patlist.visible = false;
- ivw_piclist.visible = false;
- ivw_preglist.visible = true;
- ivw_preglist.src = "SMMNV02300_분만진행현황전광판.xrw";
- }
-
- function fOpInit() {
- ivw_preglist.src = "";
- ivw_piclist.src = "";
- ivw_preglist.visible = false;
- ivw_piclist.visible = false;
- ivw_patlist.visible = true;
- ivw_patlist.src = "SMMNV01300_수술진행현황전광판.xrw";
- // ivw_patlist.window.javaScript.fInitialize();
- }
- function fPicInit() {
- ivw_preglist.src = "";
- ivw_patlist.src = "";
- ivw_preglist.visible = false;
- ivw_patlist.visible = false;
- ivw_piclist.visible = true;
- ivw_piclist.src = "SMMNV03300_의정부그림.xrw";
- }
-
- /**
- * @group :
- * @ver : 2007.10.09
- * @by : 문창곤
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 수술환자 보호자 호출메시지 조회.
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetCallMessage(){
- var sPath = "/root/main/msglist";
- if(getNodesetCount(sPath + "/msginfo") == 0) {
- // model.removenode("/root/main/msglist");
- model.removeNodeset(sPath);
- model.copyNode("/root/send/reqdata", "/root/main/cond") ;
- setErrorOff();
-
- submit("TRMNV05302",false);
-
- var msgCnt = getNodesetCount(sPath + "/msginfo") ;
- if (msgCnt > 0) {
- msgintervalIDTop = window.setInterval("fGetCallMessageSub1()", showMsgTime); //10초
- }else{
- model.setValue("/root/hidden/callmsg", "평일 PM 8:00 이후 수술종료시 집중치료실에서 마취회복이 이루어집니다.");
- tar_callmsg.refresh();
- }
- model.refresh();
- }
- }
- //-------------------------------
- // 수술환자 보호자 호출메시지 조회.
- //-------------------------------
- function fGetCallMessageSub1() {
- if (count > 0 ) {
- model.removenode("/root/main/msglist/msginfo[1]") ;
- }
- model.setValue("/root/hidden/callmsg", model.getValue("/root/main/msglist/msginfo[1]/callmsg")) ;
- count ++;
- model.refresh();
- if ( getNodesetCount("/root/main/msglist/msginfo") == 0) {
- count = 0;
- model.setValue("/root/hidden/callmsg", "평일 PM 8:00 이후 수술종료시 집중치료실에서 마취회복이 이루어집니다.");
- model.refresh() ;
- window.clearInterval(msgintervalIDTop);
- fGetCallMessage();
- }
- }
- function fCloseBoard(){
- if (msgintervalIDTop != "") window.clearInterval(msgintervalIDTop);
- if (DelTempFolderID != "") window.clearInterval(DelTempFolderID);
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1020" pageheight="730" guideline="2,726;2,486;1,1004;" style="margin-left:4; margin-top:0; margin-right:4; margin-bottom:0; ">
- <iviewer id="ivw_patlist" style="left:0px; top:0px; width:1005px; height:634px; background-color:#ffffff; border-color:transparent; border-style:none; "/>
- <iviewer id="ivw_preglist" style="left:0px; top:0px; width:1007px; height:634px; background-color:#ffffff; border-color:transparent; border-style:none; "/>
- <iviewer id="ivw_piclist" style="left:0px; top:0px; width:1006px; height:633px; background-color:#ffffff; border-color:transparent; border-style:none; "/>
- <textarea id="tar_callmsg" ref="/root/hidden/callmsg" overflow="visible" scroll="autovscroll" style="left:0px; top:639px; width:1005px; height:92px; font-family:HY각헤드라인M; font-size:32pt; font-weight:bold; color:#003366; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:634px; x2:1004px; y2:634px; "/>
- <!--
- <switch id="switch1" class="sw_no_border" style="left:0px; top:0px; width:1024px; height:641px; "/> <line id="line1" class="line_1" style="x1:0px; y1:636px; x2:1020px; y2:636px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:636px; x2:1020px; y2:636px; "/>
- <switch id="switch2" style="left:0px; top:0px; width:1018px; height:634px; ">
- <case id="OP">
- <import id="import1" src="C:\CMCOracle\application\webapps\emr\waitguideweb\xrw\SMMNV01300_수술진행현황전광판.xrw" style="left:0px; top:0px; width:1016px; height:633px; "/>
- </case>
- <case id="PREG" selected="true">
- <datagrid id="grd_preg" nodeset="/root/main/pregpatinfo/preginfo" class="datagrid_op" overflow="hidden" scroll="auto" caption="병실^환자명^성별^수술과^진행상태^caption1" colsep="^" colwidth="179, 183, 124, 265, 248,0" dataheight="64px" extendlastcol="noscroll" frozenrows="7" mergecellsfixedrows="bycolrec" rowheight="90" rowsep="|" style="left:0px; top:100px; width:1015px; height:530px; font-size:29pt; text-align:center; vertical-align:middle; ">
- <col ref="roomcd" style="left:0px; top:23px; width:196px; height:75px; font-family:휴먼둥근헤드라인; font-size:22pt; "/>
- <col ref="patnm" style="font-family:HY각헤드라인M; font-size:22pt; "/>
- <col ref="orddept" style="font-family:HY각헤드라인M; font-size:28pt; "/>
- <col ref="opstatnm" style="font-family:HY각헤드라인M; font-size:28pt; "/>
- <col ref="patposplcecd" style="font-family:HY각헤드라인M; font-size:28pt; "/>
- <col ref="opstatcd" visibility="hidden"/>
- </datagrid>
- <caption id="caption77" style="left:0px; top:0px; width:1010px; height:75px; font-family:HY헤드라인M; font-size:36pt; font-weight:bold; color:#000080; text-align:center; vertical-align:middle; ">분만 현황 안내</caption>
- <caption id="caption79" style="left:363px; top:69px; width:122px; height:54px; font-family:HY헤드라인M; font-size:29pt; color:#ffffff; text-align:center; background-color:#008080; border-color:#c0c0c0; border-style:solid; ">보호자</caption>
- <caption id="caption81" style="left:180px; top:70px; width:183px; height:54px; font-family:HY헤드라인M; font-size:29pt; color:#ffffff; text-align:center; background-color:#008080; border-color:#c0c0c0; border-style:solid; ">환자명</caption>
- <caption id="caption83" style="left:485px; top:70px; width:265px; height:54px; font-family:HY헤드라인M; font-size:29pt; color:#ffffff; text-align:center; background-color:#008080; border-color:#c0c0c0; border-style:solid; ">진행상태</caption>
- <caption id="caption85" style="left:180px; top:70px; width:183px; height:54px; font-family:HY헤드라인M; font-size:29pt; color:#ffffff; text-align:center; background-color:#008080; border-color:#c0c0c0; border-style:solid; ">산모명</caption>
- <caption id="caption87" style="left:0px; top:70px; width:180px; height:54px; font-family:HY헤드라인M; font-size:29pt; color:#ffffff; text-align:center; background-color:#008080; border-color:#c0c0c0; border-style:solid; ">병 실</caption>
- <caption id="caption88" style="left:750px; top:70px; width:260px; height:54px; font-family:HY헤드라인M; font-size:29pt; color:#ffffff; text-align:center; background-color:#008080; border-color:#c0c0c0; border-style:solid; ">분만내용</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:120px; x2:1015px; y2:120px; "/>
- <line id="line17" class="line_1" style="x1:0px; y1:68px; x2:1015px; y2:68px; "/>
- </case>
- <case id="PIC"/>
- </switch>
- -->
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3) {
- window.setPopupMenu(true, "/root/main/menuitems/gnrlmenu/item", "name", "func", false);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|