123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : Irr처방관리.xrw
- * 설 명 : Irr처방관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2007.07.04
- * 수정이력 :
- * 기 타 :
- -->
- <?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>Irr처방관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <orddd/>
- <orddeptnm/>
- <orddrnm/>
- <ordgbn/>
- <orddeptcd/>
- <orddrid/>
- <pid/>
- <cretno/>
- </patinfo>
- <orderinfolist>
- <prcpcdlist>
- <chk/>
- <prcpcd/>
- <prcpnm/>
- <spccd/>
- </prcpcdlist>
- <rsltlist>
- <prcpdd/>
- <prcpcd/>
- <prcpnm/>
- <reptrslt/>
- </rsltlist>
- <toppatinfo>
- <pid/>
- <patnm/>
- <rrgstno1/>
- <rrgstno2/>
- <orddeptnm/>
- <orddd/>
- <sex/>
- <age/>
- </toppatinfo>
- </orderinfolist>
- </main>
- <send xmlns="">
- <patid/>
- <dbsend>
- <pid/>
- <orddd/>
- <orddrid/>
- <orddeptcd/>
- <cretno/>
- <data1/>
- </dbsend>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <searchtext/>
- </ref>
- </hidden>
- </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" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLBR00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfo"/>
- <submission id="TRLBR00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dbsend" replace="instance" resultref="/root/main/orderinfolist"/>
- <submission id="TXLBR00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dbsend" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSetInit(){
-
- }
-
- function fPidRef(){
-
- if(event.keyCode == "13"){
- if(event.target == "iptSearch"){
-
- model.setValue("/root/hidden/ref/searchtext",(iptSearch.currentText).toUpperCase());
-
- model.setValue("/root/send/patid", model.getValue("/root/hidden/ref/searchtext"));
-
- submit("TRLBR00501");
-
- iptSearch.selBegin = 0;
- iptSearch.selEnd = iptSearch.currentText.length;
-
- }
- }
- }
-
- function fClickResultList(){
-
- var grd_Row = grd_patinfo.row;
-
- model.setValue("/root/send/dbsend/orddd", model.getValue("/root/main/patinfo[" + grd_Row + "]/orddd"));
- model.setValue("/root/send/dbsend/orddeptcd", model.getValue("/root/main/patinfo[" + grd_Row + "]/orddeptcd"));
- model.setValue("/root/send/dbsend/orddrid", model.getValue("/root/main/patinfo[" + grd_Row + "]/orddrid"));
- model.setValue("/root/send/dbsend/pid", model.getValue("/root/main/patinfo[" + grd_Row + "]/pid"));
- model.setValue("/root/send/dbsend/cretno", model.getValue("/root/main/patinfo[" + grd_Row + "]/cretno"));
-
- submit("TRLBR00502");
-
- }
-
-
- function fInsRsltSave(){
-
- var prcpRows = grd_prcpcdlist.rows;
- var saveflag = "N";
-
- for(var iRow = 1 ; iRow < prcpRows ; iRow++){
-
- if(model.getValue("/root/main/orderinfolist/prcpcdlist["+ iRow +"]/chk") == "true"){
- grd_prcpcdlist.rowStatus(iRow) = 2;
- saveflag = "Y";
-
- }else{
- grd_prcpcdlist.rowStatus(iRow) = 0;
-
- }
- }
-
- if(saveflag == "N"){
- alert("저장할 처방이 없습니다.");
- return;
- }
- model.setValue("/root/send/dbsend/data1", grd_prcpcdlist.getUpdateData());
-
- submit("TXLBR00501");
-
- fClickResultList();
-
- }
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:435px; y2:70px; "/>
- <group id="group1" style="left:0px; top:10px; width:435px; height:35px; font-weight:bold; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:435px; height:35px; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="iptSearch" ref="/root/hidden/ref/searchtext" style="left:110px; top:8px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fPidRef();
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption3" class="tit_2" style="left:0px; top:55px; width:134px; height:13px; ">환자수진내역</caption>
- <datagrid id="grd_patinfo" nodeset="/root/main/patinfo" caption="진료일^진료과^진료의^진료구분^진료과코드^진료의ID" colsep="^" colwidth="100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:76px; width:435px; height:659px; ">
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="ordgbn"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_patinfo.isCell(event.target) && grd_patinfo.row >= grd_patinfo.fixedRows ){
- fClickResultList();
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_wbc" ref="/root/main/orderinfolist/toppatinfo/pid" class="input_default" disabled="true" navindex="2" appearance="input" style="left:525px; top:31px; width:120px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:450px; top:55px; width:72px; height:23px; ">진 료 과</caption>
- <line id="line2" class="line_1" style="x1:450px; y1:25px; x2:1175px; y2:25px; "/>
- <input id="input2" ref="/root/main/orderinfolist/toppatinfo/patnm" class="input_default" disabled="true" navindex="2" appearance="input" style="left:725px; top:31px; width:120px; height:19px; "/>
- <caption id="cpt_wbc" class="cell_1" style="left:450px; top:30px; width:72px; height:23px; ">등록번호</caption>
- <input id="input4" ref="/root/main/orderinfolist/toppatinfo/orddeptnm" class="input_default" disabled="true" navindex="2" appearance="input" style="left:525px; top:56px; width:120px; height:19px; "/>
- <input id="input5" ref="/root/main/orderinfolist/toppatinfo/orddd" class="input_default" disabled="true" navindex="2" appearance="input" style="left:725px; top:56px; width:120px; height:19px; "/>
- <caption id="caption2" class="tit_2" style="left:450px; top:10px; width:100px; height:13px; ">환자정보</caption>
- <caption id="caption5" class="cell_1" style="left:650px; top:30px; width:72px; height:23px; ">성 명</caption>
- <caption id="caption7" class="cell_1" style="left:650px; top:55px; width:72px; height:23px; ">진 료 일</caption>
- <input id="input7" ref="/root/main/orderinfolist/toppatinfo/age" class="input_default" disabled="true" navindex="2" appearance="input" style="left:968px; top:56px; width:37px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:850px; top:30px; width:72px; height:23px; ">주민번호</caption>
- <caption id="caption9" class="cell_1" style="left:850px; top:55px; width:72px; height:23px; ">성별/나이</caption>
- <input id="input3" ref="/root/main/orderinfolist/toppatinfo/rrgstno1" class="input_default" disabled="true" navindex="2" appearance="input" style="left:925px; top:31px; width:60px; height:19px; "/>
- <input id="input6" ref="/root/main/orderinfolist/toppatinfo/rrgstno2" class="input_default" disabled="true" navindex="2" appearance="input" style="left:987px; top:31px; width:70px; height:19px; "/>
- <input id="input8" ref="/root/main/orderinfolist/toppatinfo/sex" class="input_default" disabled="true" navindex="2" appearance="input" style="left:925px; top:56px; width:40px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:450px; y1:53px; x2:1175px; y2:53px; "/>
- <line id="line6" class="line_2" style="x1:450px; y1:78px; x2:1175px; y2:78px; "/>
- <datagrid id="grd_prcpcdlist" nodeset="/root/main/orderinfolist/prcpcdlist" caption="^처방코드^처방명^검체코드^진료과코드^진료의ID" colsep="^" colwidth="30, 125, 340" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:450px; top:115px; width:725px; height:120px; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="spccd" visibility="hidden"/>
- </datagrid>
- <caption id="caption10" class="tit_2" style="left:450px; top:95px; width:134px; height:13px; ">처방리스트</caption>
- <line id="line3" class="line_1" style="x1:450px; y1:110px; x2:1175px; y2:110px; "/>
- <caption id="caption11" class="tit_2" style="left:450px; top:245px; width:134px; height:14px; ">완료처방리스트</caption>
- <line id="line4" class="line_1" style="x1:450px; y1:260px; x2:1175px; y2:260px; "/>
- <datagrid id="grd_rsltlist" nodeset="/root/main/orderinfolist/rsltlist" caption="처방일자^처방코드^처방명^검사결과^진료구분^진료과코드^진료의ID" colsep="^" colwidth="100, 110, 300, 130" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:450px; top:265px; width:725px; height:470px; ">
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="reptrslt"/>
- </datagrid>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">Irr 처방관리</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter4" style="left:1112px; top:3px; width:80px; height:22px; ">
- <caption>처방저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|