123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- <?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>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <cond>
- <tnslist>
- <pid/>
- <patnm/>
- <roomcd/>
- <orddeptcd/>
- <rgstrid/>
- <tnsstrddtm/>
- <tnsendddtm/>
- <tnsstrnursenm/>
- <tnsendnursenm/>
- <prcpnm/>
- <blod/>
- <reptrslt/>
- <tnssideeffect/>
- <discontinuyn/>
- </tnslist>
- </cond>
- </main>
- <send>
- <reqdata/>
- <cond>
- <fromdd/>
- <todd/>
- <pid/>
- <patnm/>
- </cond>
- </send>
- <tmp/>
- </root>
- </instance>
- <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" ev:event="xforms-ready">
- <![CDATA[
- ipt_fromdd.value = getCurrentDate().substring(0,6).concat("01");
- ipt_todd.value = getCurrentDate();
- //test
- ]]>
- </script>
- <submission id="TRMQR02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/cond/tnslist"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="2,-3;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:1px; y1:68px; x2:1195px; y2:68px; "/>
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption8" class="search_name" style="left:12px; top:7px; width:91px; height:17px; ">조회기간</caption>
- <caption id="caption7" class="search_no_b" style="left:188px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/cond/fromdd" class="input_search" inputtype="date" style="left:101px; top:7px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/cond/todd" class="input_search" inputtype="date" style="left:201px; top:7px; width:85px; height:19px; "/>
- <line id="line2" style="x1:1122px; y1:5px; x2:1122px; y2:26px; border-color:#ffcc99; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRMQR02500");
- ]]>
- </script>
- </button>
- <button id="button7" class="icon_search" style="left:479px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //팝업을 사용하여 환자 기본정보 검색
- modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/temp", "/root/send");
- model.setValue("/root/send/cond/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/send/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:305px; top:7px; width:81px; height:17px; ">환자ID :</caption>
- <input id="ipt_trgtid" ref="/root/send/cond/pid" class="input_default" format="99999999999999" appearance="input" style="left:385px; top:7px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- model.resetInstanceNode("/root/tmp");
- model.makeValue("/root/tmp/pid", ipt_trgtid.currentText );
- model.makeValue("/root/tmp/srchcond","1");
- model.makeValue("/root/tmp/autoflag","Y"); // 1건인경우 자동으로닫힘
- model.refresh();
-
- modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/tmp", "/root/send");
- model.setValue("/root/send/cond/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/send/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var patid = ipt_trgtid.currentText;
- if(patid == ""){
- model.setValue("/root/send/cond/patnm", "");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="output1" ref="/root/send/cond/patnm" class="output_fix" appearance="output" style="left:500px; top:7px; width:95px; height:19px; "/>
- </group>
- <button id="btn_excel" class="btn2_letter4" style="left:1127px; top:47px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "수혈부작용_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- grd_list.saveExcel(fileName, "SheetName", true, true, "", "", "false");
- }
- ]]>
- </script>
- </button>
- <caption id="caption4" class="tit_2" style="left:5px; top:50px; width:113px; height:14px; ">수혈부작용 목록</caption>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">수혈부작용</caption>
- <datagrid id="grd_list" nodeset="/root/main/cond/tnslist" caption="등록번호^환자명^병실^진료과^처방의^수혈 시작일시^수혈 종료일시^수혈시작 간호사^수혈종료 간호사^혈액명^혈액형(ABORh)^AB screening 결과^수혈부작용^수혈중단 여부" colsep="^" colwidth="68, 53, 52, 128, 58, 121, 120, 100, 100, 149, 95, 129, 100, 119" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:86px; width:1193px; height:668px; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="roomcd"/>
- <col ref="orddeptcd"/>
- <col ref="rgstrid"/>
- <col ref="tnsstrddtm" format="yyyy-mm-dd hh:mm"/>
- <col ref="tnsendddtm" format="yyyy-mm-dd hh:mm"/>
- <col ref="tnsstrnursenm"/>
- <col ref="tnsendnursenm"/>
- <col ref="prcpnm"/>
- <col ref="blod"/>
- <col ref="reptrslt"/>
- <col ref="tnssideeffect"/>
- <col ref="discontinuyn"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_list.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|