123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?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>
- <drugdschinfo>
- <drugdschlist>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitflag/>
- <prcpqty/>
- <prcpqtyunitflag/>
- <prcptims/>
- <prcpdayno/>
- <payflagcd/>
- </drugdschlist>
- <excudschlist>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitflag/>
- <prcpqty/>
- <prcpqtyunitflag/>
- <prcptims/>
- <prcpdayno/>
- <payflagcd/>
- <prcphopedd/>
- </excudschlist>
- <inexcudschlist>
- <prcpcd/>
- <prcpkindcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitflag/>
- <prcpqty/>
- <prcpqtyunitflag/>
- <prcptims/>
- <prcpdayno/>
- <payflagcd/>
- <prcphopedd/>
- </inexcudschlist>
- </drugdschinfo>
- </main>
- <send>
- <dschdclrdt/>
- <pid/>
- <orddd/>
- </send>
- <target>
- <pidinfo>
- <dschdclrdt/>
- <pid/>
- <orddd/>
- <hngnm/>
- </pidinfo>
- </target>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/drugdschinfo"); // 퇴원약 그리드 초기화
- model.removeNodeset("/root/main/drugdschinfo"); // 퇴원 후 외래 검사처방 그리드 초기화
- model.removeNodeset("/root/main/drugdschinfo"); // 입원전 검사처방 그리드 초기화
- grd_drugdschlist.refresh();
- grd_excudschlist.refresh();
- grd_inexcudschlist.refresh();
- if (model.getvalue("/root/target/pidinfo/pid") != "") {
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/pid" , model.getValue("/root/target/pidinfo/pid" ));
- model.makeValue("/root/send/dschdclrdt", model.getValue("/root/target/pidinfo/dschdclrdt"));
- model.makeValue("/root/send/orddd" , model.getValue("/root/target/pidinfo/orddd" ));
- model.makeValue("/root/send/cretno" , model.getValue("/root/target/pidinfo/cretno" ));
- model.makeValue("/root/send/wardcd" , model.getValue("/root/target/pidinfo/wardcd" ));
-
- submit("TRMNW01301");
- } else {
- messageBox("선택된 환자가 없습니다.", "E");
- }
- ]]>
- </script>
- <submission id="TRMNW01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drugdschinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="750" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:960px; height:735px; ">
- <button id="btn_excudsch" class="btn2_letter6" style="left:859px; top:263px; width:86px; height:19px; ">
- <caption>ZOOM IN</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_excudsch.attribute("text") == "ZOOM IN"){
- btn_drugdsch.attribute("text") = "ZOOM OUT"
- grd_excudschlist.attribute("left") = "5";
- grd_excudschlist.attribute("height") = "675";
- grd_excudschlist.attribute("top") = "55";
- cpt_zoomtitle.attribute("text") = "퇴원후 외래 검사처방";
- grd_drugdschlist.attribute("width") = "0";
- grd_drugdschlist.attribute("height") = "0";
- grd_inexcudschlist.attribute("width") = "0";
- grd_inexcudschlist.attribute("height") = "0";
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_inexcudsch" class="btn2_letter6" style="left:859px; top:498px; width:86px; height:19px; ">
- <caption>ZOOM IN</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_inexcudsch.attribute("text") == "ZOOM IN"){
- btn_drugdsch.attribute("text") = "ZOOM OUT"
- grd_inexcudschlist.attribute("left") = "5";
- grd_inexcudschlist.attribute("height") = "675";
- grd_inexcudschlist.attribute("top") = "55";
- cpt_zoomtitle.attribute("text") = "입원전 검사처방";
- grd_drugdschlist.attribute("width") = "0";
- grd_drugdschlist.attribute("height") = "0";
- grd_excudschlist.attribute("width") = "0";
- grd_excudschlist.attribute("height") = "0";
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:5px; y1:520px; x2:945px; y2:520px; "/>
- <line id="line2" class="line_1" style="x1:5px; y1:285px; x2:945px; y2:285px; "/>
- <caption id="caption3" class="tit_2" style="left:10px; top:505px; width:113px; height:13px; ">입원전 검사처방</caption>
- <caption id="caption2" class="tit_2" style="left:10px; top:270px; width:144px; height:14px; ">퇴원후 외래 처방</caption>
- <caption id="cpt_zoomtitle" class="tit_2" style="left:10px; top:35px; width:205px; height:13px; ">퇴원약</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:50px; x2:945px; y2:50px; "/>
- <output id="out_pid" ref="/root/target/pidinfo/pid" class="output_fix" style="left:67px; top:5px; width:85px; height:19px; text-align:right; "/>
- <caption id="caption20" class="cell_1" style="left:5px; top:3px; width:60px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <caption id="caption21" class="cell_1" style="left:155px; top:3px; width:60px; height:23px; text-align:center; vertical-align:middle; ">환자명</caption>
- <output id="out_hnnm" ref="/root/target/pidinfo/hngnm" class="output_fix" style="left:217px; top:5px; width:85px; height:19px; text-align:center; "/>
- <line id="line4" class="line_1" style="x1:5px; y1:0px; x2:303px; y2:0px; "/>
- <line id="line5" class="line_3" style="x1:5px; y1:25px; x2:303px; y2:25px; "/>
- <button id="btn_drugdsch" class="btn2_letter6" style="left:859px; top:28px; width:86px; height:19px; ">
- <caption>ZOOM IN</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_drugdsch.attribute("text") == "ZOOM IN"){
- btn_drugdsch.attribute("text") = "ZOOM OUT"
- grd_drugdschlist.attribute("top") = "55";
- grd_drugdschlist.attribute("height") = "675";
- cpt_zoomtitle.attribute("text") = "퇴원약";
- grd_excudschlist.attribute("width") = "0";
- grd_excudschlist.attribute("height") = "0";
- grd_inexcudschlist.attribute("width") = "0";
- grd_inexcudschlist.attribute("height") = "0";
- } else{
- btn_drugdsch.attribute("text") = "ZOOM IN"
- cpt_zoomtitle.attribute("text") = "퇴원약"
-
- grd_drugdschlist.attribute("top") = "55"; // 퇴원약
- grd_drugdschlist.attribute("width") = "940";
- grd_drugdschlist.attribute("height") = "205";
- grd_excudschlist.attribute("top") = "290"; // 퇴원후 외래 검사처방
- grd_excudschlist.attribute("width") = "940";
- grd_excudschlist.attribute("height") = "205";
- grd_inexcudschlist.attribute("top") = "525"; // 입원전 검사처방
- grd_inexcudschlist.attribute("width") = "940";
- grd_inexcudschlist.attribute("height") = "205";
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_drugdschlist" nodeset="/root/main/drugdschinfo/drugdschlist" scroll="autovscroll" autoresize="true" caption="처방코드^처방명[* : 혼동주의/고위험 약제]^용량^용량^수량^수량^횟수^일수^급^처방상태^약국집계상태" colsep="^" colwidth="114, 283, 64, 50, 63, 50, 51, 50, 30, 70, 80" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:55px; width:940px; height:205px; ">
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="prcpvol" style="text-align:right; "/>
- <col ref="prcpvolunitflag"/>
- <col ref="prcpqty" style="text-align:right; "/>
- <col ref="prcpqtyunitflag"/>
- <col ref="prcptims" style="text-align:center; "/>
- <col ref="prcpdayno" style="text-align:center; "/>
- <col ref="payflagcd" style="text-align:center; "/>
- <col ref="prcpstatcd" style="text-align:center; "/>
- <col ref="drugstat" style="text-align:center; "/>
- </datagrid>
- <datagrid id="grd_inexcudschlist" nodeset="/root/main/drugdschinfo/inexcudschlist" autoresize="true" caption="처방코드^구분^처방명^용량^용량^수량^수량^횟수^일수^급^의사희망일" colsep="^" colwidth="100, 104, 257, 30, 30, 30, 30, 31, 31, 30, 82" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:525px; width:940px; height:205px; ">
- <col ref="prcpcd" style="left:20px; top:23px; width:90px; height:23px; "/>
- <col ref="prcpkindcd" style="left:120px; top:23px; width:94px; height:23px; "/>
- <col ref="prcpnm" style="left:224px; top:23px; width:230px; height:23px; "/>
- <col ref="prcpvol" style="left:464px; top:23px; width:20px; height:23px; text-align:right; "/>
- <col ref="prcpvolunitflag" style="left:494px; top:23px; width:20px; height:23px; "/>
- <col ref="prcpqty" style="left:524px; top:23px; width:20px; height:23px; text-align:right; "/>
- <col ref="prcpqtyunitflag" style="left:554px; top:23px; width:20px; height:23px; "/>
- <col ref="prcptims" style="left:584px; top:23px; width:23px; height:23px; text-align:center; "/>
- <col ref="prcpdayno" style="left:617px; top:23px; width:23px; height:23px; text-align:center; "/>
- <col ref="payflagcd" style="left:650px; top:23px; width:33px; height:23px; text-align:center; "/>
- <col ref="prcphopedd" format="yyyy-mm-dd" style="left:693px; top:23px; width:72px; height:23px; text-align:center; "/>
- </datagrid>
- <datagrid id="grd_excudschlist" nodeset="/root/main/drugdschinfo/excudschlist" autoresize="true" caption="처방코드^처방명^용량^용량^수량^수량^횟수^일수^급^의사희망일" colsep="^" colwidth="113, 252, 52, 35, 52, 35, 50, 51, 30, 85" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:290px; width:940px; height:205px; ">
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="prcpvol" style="text-align:right; "/>
- <col ref="prcpvolunitflag"/>
- <col ref="prcpqty" style="text-align:right; "/>
- <col ref="prcpqtyunitflag"/>
- <col ref="prcptims" style="text-align:center; "/>
- <col ref="prcpdayno" style="text-align:center; "/>
- <col ref="payflagcd" style="text-align:center; "/>
- <col ref="prcphopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|