123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 혈액재고조회.xrw.xrw
- * 설 명 : 혈액재고조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 -
- * 작 성 일 : 2006.11.28
- * 수정이력 :
- * 기 타 :
- -->
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <transfusiontext>
- <formnm/>
- <stat/>
- <scanyn/>
- <formcd/>
- <cretno/>
- <pid/>
- <orddd/>
- <orddeptcd/>
- <patnm/>
- <ordtype/>
- <wardroom/>
- <prntdt/>
- </transfusiontext>
- </main>
- <send>
- <data1/>
- <iemr/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <startdd/>
- <enddd/>
- <pid/>
- </ref>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fSetInit();
- ]]>
- </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"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <submission id="TRLBP02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/transfusiontext"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetInit() {
- var Today = getCurrentDate();
- var BfDay = getCurrentDate().toDate("YYYYMMDD").getAddDate(-30)
- model.removeNodeset("/root/main/transfusiontext");
- model.setvalue("/root/hidden/ref/startdd",BfDay.getDateFormat("YYYYMMDD"));
- model.setvalue("/root/hidden/ref/enddd",Today);
- model.refresh();
-
- }
-
- function fGetTansfusionList(){
-
- model.removeNodeset("/root/main/transfusion");
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- submit("TRLBP02701");
-
- }
-
-
- function fOpenview(){
-
- //================================================================================================
- //pid : 환자번호
- //orddeptcd : 진료과 코드
- //indd : 입(내)원일
- //docucd : 서식코드
- //ioflag : 입원/외래
- //cmc_cretno : 생성번호
- //================================================================================================
- model.resetInstanceNode("/root/send/iemr");
-
- var prcpgenrflag = model.getValue("/root/main/transfusiontext[" + tRow + "]/prcpgenrflagcd");
-
-
-
- var tRow = transfusiontext.row;
-
- /* if((prcpgenrflag == "O") ||(prcpgenrflag == "S")) {
- prcpgenrflag = "O";
- } else {
- prcpgenrflag = "I";
- }*/
-
-
-
- model.makeValue("/root/send/iemr/pid", model.getValue("/root/main/transfusiontext[" + tRow + "]/pid"));
- model.makeValue("/root/send/iemr/orddeptcd", model.getValue("/root/main/transfusiontext[" + tRow + "]/orddeptcd"));
- model.makeValue("/root/send/iemr/indd", model.getValue("/root/main/transfusiontext[" + tRow + "]/orddd"));
- model.makeValue("/root/send/iemr/docucd", model.getValue("/root/main/transfusiontext[" + tRow + "]/formcd"));
- model.makeValue("/root/send/iemr/ioflag", prcpgenrflag);
- model.makeValue("/root/send/iemr/cmc_cretno", model.getValue("/root/main/transfusiontext[" + tRow + "]/cretno"));
- model.makeValue("/root/send/iemr/cmc_spcid", "");
- model.makeValue("/root/send/iemr/cmc_orddate", "");
- model.makeValue("/root/send/iemr/cmc_orderseqno", "");
-
- if(window.children.item("imgemrviewer") == null) {
- open("SSMRC03110", "", "", "", "imgemrviewer", "/root/send/iemr", "/root/hidden/temp");
- //window.load("SSMRC03110.xrw", "modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
- }
- else
- {
- // 팝업 EMR Viewer 사용중인 상태에서 리로드 기능 추가 - 20080416
- var iemrNode = instance1.selectSingleNode("/root/send/iemr");
- window.children.item("imgemrviewer").javascript.reloadChart(iemrNode);
- // 팝업 EMR Viewer 화면 맨 앞으로 가져오기
- window.children.item("imgemrviewer").modelesstopmost = true;
- window.children.item("imgemrviewer").modelesstopmost = false;
- }
- }
-
- function fKeyEvent(){
- //if(event.keyCode == "13"){
- if(event.target == "ipt_pid"){
- model.setvalue("/root/hidden/ref/pid", ipt_pid.currentText);
-
- fGetTansfusionList();
-
- ipt_pid.selBegin = 0;
- ipt_pid.selEnd = ipt_pid.currentText.length;
- }
- //}
- }
- ]]>
- </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; "/>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:99px; height:17px; ">진료일자 :</caption>
- <caption id="caption222" class="search_name" style="left:526px; top:9px; width:99px; height:17px; ">등록번호 :</caption>
- <input id="ipt_pid" ref="/root/hidden/ref/pid" accesskey="f1" class="input_button" inputtype="button" appearance="input" style="left:616px; top:9px; width:99px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- fKeyEvent();
- }
- ]]>
- </script>
- </input>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetTansfusionList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <input id="input26" ref="/root/hidden/ref/startdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:90px; height:19px; "/>
- <caption id="caption3" class="search_no_b" style="left:199px; top:9px; width:15px; height:17px; ">~</caption>
- <input id="input1" ref="/root/hidden/ref/enddd" class="input_s_essential" inputtype="date" style="left:216px; top:8px; width:90px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">수혈동의서 리스트</caption>
- <datagrid id="transfusiontext" nodeset="/root/main/transfusiontext" caption="동의서명^상태^출력여부^동의서코드^생성번호^등록번호^진료일^진료과^환자명^진료타입^진료과/병실^출력일시" colsep="^" colwidth="160, 85, 65, 40, 40, 100, 40, 40, 115, 40, 100, 135" dataheight="23" defaultrows="1" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:646px; ">
- <col ref="formnm" style="text-align:center; "/>
- <col ref="stat" style="text-align:center; "/>
- <col ref="scanyn" style="text-align:center; "/>
- <col ref="formcd" visibility="hidden" style="text-align:center; "/>
- <col ref="cretno" visibility="hidden" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="orddd" visibility="hidden" style="text-align:center; "/>
- <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="ordtype" visibility="hidden" style="text-align:center; "/>
- <col ref="wardroom" style="text-align:center; "/>
- <col ref="prntdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fOpenview();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <button id="button10" class="btn2_letter2" style="left:1152px; top:50px; width:44px; height:19px; ">
- <caption>엑셀</caption>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">수혈동의서조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|