123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 혈액재고조회.xrw.xrw
- * 설 명 : 혈액재고조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.06.20
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <main>
- <blodinfo>
- <bloodinfo>
- <blodkind/>
- <blodbasevol/>
- <newElement/>
- <dondt/>
- <aborh/>
- </bloodinfo>
- <blodcomlist>
- <blodcomnm/>
- <windt/>
- <validt/>
- <blodcomcd/>
- <blodbarcd/>
- <blodno/>
- </blodcomlist>
- </blodinfo>
- <blodhist>
- <doninfo>
- <rrgstno/>
- <patnm/>
- <sexage/>
- </doninfo>
- <tnsinfo>
- <patnm/>
- <sexage/>
- <orddeptnm/>
- <orddrnm/>
- <wardroom/>
- <prcphopedt/>
- </tnsinfo>
- <blodhistlist>
- <blodcomnm/>
- <state/>
- <execdt/>
- <execnm/>
- <acptid/>
- <acptnm/>
- <gbn/>
- <pid/>
- <patnm/>
- <prcphopedt/>
- <abo/>
- <rh/>
- <rtnabnresn/>
- </blodhistlist>
- </blodhist>
- </main>
- <send>
- <data1/>
- <blodno/>
- <blodno2/>
- </send>
- <init>
- </init>
- <hidden>
- <refparam>
- <blodno/>
- </refparam>
- </hidden>
- </root>
- </instance>
- <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/tfHelper.js"/>
- <submission id="TRLBP01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/blodinfo"/>
- <submission id="TRLBP01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/blodhist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetInit() {
- model.resetInstanceNode("/root/main/blodhist/blodhistlist");
- model.resetInstanceNode("/root/main/blodhist/tnsinfo");
- model.resetInstanceNode("/root/main/blodhist/doninfo");
- model.resetInstanceNode("/root/main/blodinfo/blodcomlist");
- model.resetInstanceNode("/root/main/blodinfo/bloodinfo");
-
- model.refresh();
- model.setFocus("ipt_blodno");
- }
-
- function fBloodHistRef(){
-
- //model.setValue("/root/send/blodno" , model.getvalue("/root/hidden/refparam/blodno"));
- model.setValue("/root/send/blodno2", model.getvalue("/root/hidden/refparam/blodno"));
- submit("TRLBP01201");
-
- if(getNodesetCount("/root/main/blodinfo/blodcomlist") > 0) fBlodHistList("1");
-
- }
-
- function fKeyEvent(){
- if(event.keyCode == "13"){
- if(event.target == "ipt_blodno"){
- model.setvalue("/root/hidden/refparam/blodno", ipt_blodno.currentText);
- model.refresh();
-
- fBloodHistRef();
-
- ipt_blodno.selBegin = 0;
- ipt_blodno.selEnd = ipt_blodno.currentText.length;
-
- }
- }
- }
-
- function fBlodHistList(gbn){
-
-
- if(gbn == "1") {
- var row = 1;
- }
- else {
- if(datagrid3.isCell(event.target) && datagrid3.row >= datagrid3.fixedRows ){
- var row = datagrid3.row;
- }
- else return;
-
- }
-
- model.copyNode("/root/send/data1" , "/root/main/blodinfo/blodcomlist["+row+"]");
-
- submit("TRLBP01202");
- }
- ]]>
- </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:8px; width:99px; height:17px; ">혈액번호 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <input id="ipt_blodno" ref="/root/hidden/refparam/blodno" class="input_s_button" inputtype="button" style="left:113px; top:8px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fBloodHistRef();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">혈액정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:500px; y2:70px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:325px; width:131px; height:13px; ">혈액 이력 리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:340px; x2:1194px; y2:340px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/blodhist/blodhistlist" caption="성분제제^작업구분^작업일시^작업자^수령자ID^수령자 성명^구분^등록번호^성명^수혈희망일시^ABO^Rh^반납/폐기사유" colsep="^" colwidth="100, 80, 120, 80, 80, 90, 90, 90, 90, 120, 60, 40, 215" dataheight="23" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:345px; width:1194px; height:393px; ">
- <col ref="blodcomnm"/>
- <col ref="state"/>
- <col ref="execdt" format="9999-99-99 99:99"/>
- <col ref="execnm"/>
- <col ref="acptid"/>
- <col ref="acptnm"/>
- <col ref="gbn"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="prcphopedt" format="9999-99-99 99:99"/>
- <col ref="abo"/>
- <col ref="rh"/>
- <col ref="rtnabnresn"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid2.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:225px; width:131px; height:14px; ">헌혈자 정보</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:240px; x2:500px; y2:240px; "/>
- <datagrid id="datagrid3" nodeset="/root/main/blodinfo/blodcomlist" caption="성분제제^입고일시^유효일시^성분제제코드^혈액바코드^혈액번호" colsep="^" colwidth="173, 120, 120, 80, 80, 90" dataheight="23" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:505px; top:75px; width:689px; height:140px; ">
- <col ref="blodcomnm"/>
- <col ref="windt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="validt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="blodcomcd"/>
- <col ref="blodbarcd"/>
- <col ref="blodno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodHistList();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid3.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <output id="output4" ref="/root/main/blodhist/doninfo/rrgstno" class="output_fix" style="left:203px; top:246px; width:297px; height:19px; "/>
- <output id="output1" ref="/root/main/blodhist/doninfo/patnm" class="output_fix" style="left:203px; top:270px; width:297px; height:19px; "/>
- <output id="output2" ref="/root/main/blodhist/doninfo/sexage" class="output_fix" style="left:203px; top:294px; width:297px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:267px; x2:449px; y2:267px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:291px; x2:449px; y2:291px; "/>
- <output id="output17" ref="/root/main/blodinfo/bloodinfo/newElement" class="output_fix" style="left:153px; top:124px; width:150px; height:19px; "/>
- <output id="output18" ref="/root/main/blodinfo/bloodinfo/dondt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" style="left:153px; top:148px; width:150px; height:19px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:97px; x2:303px; y2:97px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:121px; x2:303px; y2:121px; "/>
- <line id="line14" class="line_2" style="x1:0px; y1:145px; x2:303px; y2:145px; "/>
- <caption id="caption57" ref="/root/main/blodinfo/bloodinfo/aborh" class="font_ab" style="left:335px; top:85px; width:150px; height:70px; font-size:48pt; text-align:center; vertical-align:middle; ">AB</caption>
- <caption id="caption26" class="tit_2" style="left:510px; top:55px; width:131px; height:13px; ">성분제제 리스트</caption>
- <line id="line16" class="line_1" style="x1:505px; y1:70px; x2:1194px; y2:70px; "/>
- <output id="output19" ref="/root/main/blodhist/tnsinfo/patnm" class="output_fix" style="left:668px; top:246px; width:180px; height:19px; "/>
- <caption id="caption27" class="tit_2" style="left:510px; top:225px; width:131px; height:13px; ">수혈자 정보</caption>
- <line id="line17" class="line_1" style="x1:505px; y1:240px; x2:1194px; y2:240px; "/>
- <output id="output20" ref="/root/main/blodhist/tnsinfo/sexage" class="output_fix" style="left:668px; top:270px; width:180px; height:19px; "/>
- <output id="output21" ref="/root/main/blodhist/tnsinfo/orddeptnm" class="output_fix" style="left:668px; top:294px; width:180px; height:19px; "/>
- <output id="output3" ref="/root/main/blodhist/tnsinfo/wardroom" class="output_fix" style="left:1013px; top:270px; width:180px; height:19px; "/>
- <output id="output5" ref="/root/main/blodhist/tnsinfo/prcphopedt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" style="left:1013px; top:294px; width:180px; height:19px; "/>
- <output id="output6" ref="/root/main/blodhist/tnsinfo/orddrnm" class="output_fix" style="left:1013px; top:246px; width:180px; height:19px; "/>
- <caption id="caption23" class="cell_1" style="left:0px; top:123px; width:150px; height:23px; text-align:left; vertical-align:middle; ">입고장소</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:99px; width:150px; height:23px; text-align:left; vertical-align:middle; ">용량</caption>
- <caption id="caption24" class="cell_1" style="left:0px; top:75px; width:150px; height:23px; text-align:left; vertical-align:middle; ">구분</caption>
- <caption id="caption25" class="cell_1" style="left:0px; top:147px; width:150px; height:23px; text-align:left; vertical-align:middle; ">헌혈일시</caption>
- <line id="line18" class="line_3" style="x1:0px; y1:169px; x2:500px; y2:169px; "/>
- <line id="line20" class="line_2" style="x1:505px; y1:267px; x2:1194px; y2:267px; "/>
- <line id="line21" class="line_2" style="x1:505px; y1:291px; x2:1194px; y2:291px; "/>
- <caption id="caption30" class="cell_1" style="left:505px; top:245px; width:160px; height:23px; text-align:left; vertical-align:middle; ">성명</caption>
- <caption id="caption10" class="cell_1" style="left:850px; top:269px; width:160px; height:23px; text-align:left; vertical-align:middle; ">병동병실</caption>
- <caption id="caption11" class="cell_1" style="left:850px; top:293px; width:160px; height:23px; text-align:left; vertical-align:middle; ">수혈희망일시</caption>
- <caption id="caption28" class="cell_1" style="left:505px; top:269px; width:160px; height:23px; text-align:left; vertical-align:middle; ">Sex/Age</caption>
- <caption id="caption9" class="cell_1" style="left:850px; top:245px; width:160px; height:23px; text-align:left; vertical-align:middle; ">의뢰의사</caption>
- <caption id="caption29" class="cell_1" style="left:505px; top:293px; width:160px; height:23px; text-align:left; vertical-align:middle; ">진료과</caption>
- <line id="line19" class="line_3" style="x1:505px; y1:315px; x2:1194px; y2:315px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:269px; width:200px; height:23px; text-align:left; vertical-align:middle; ">성명</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:293px; width:200px; height:23px; text-align:left; vertical-align:middle; ">Sex/Age</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:245px; width:200px; height:23px; text-align:left; vertical-align:middle; ">주민등록번호</caption>
- <line id="line10" class="line_3" style="x1:0px; y1:315px; x2:500px; y2:315px; "/>
- <select1 id="radio1" ref="/root/main/blodinfo/bloodinfo/blodkind" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:159px; top:78px; width:160px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>혈액원</label>
- <value>0</value>
- </item>
- <item>
- <label>헌혈</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/main/blodinfo/bloodinfo/blodbasevol" appearance="full" cellspacing="22" cols="2" overflow="visible" style="left:159px; top:102px; width:160px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>400 ml</label>
- <value>400</value>
- </item>
- <item>
- <label>320 ml</label>
- <value>320</value>
- </item>
- </choices>
- </select1>
- </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>
|