123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281 |
- <?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>
- <paramdata>
- <param>
- <pid/>
- <orddd/>
- <cretno/>
- <orddeptcd/>
- <orddrid/>
- <prcpdd/>
- <drugdd/>
- <drugno/>
- </param>
- </paramdata>
- <prcpdata>
- <patinfo/>
- <diaginfo/>
- <sumlist/>
- </prcpdata>
- <barcdprntsetup>
- </barcdprntsetup>
- </main>
- <send>
- <paramsrch/>
- <prcpsrch>
- <pid/>
- <orddd/>
- <cretno/>
- <orddeptcd/>
- <orddrid/>
- <prcpdd/>
- <drugdd/>
- <drugno/>
- <hosinmpsflag/>
- <hosoutmpsflag/>
- <lblflag/>
- <prntflag/>
- <autoinprntyn/>
- <autooutprntyn/>
- </prcpsrch>
- <deptinfo>
- <deptflag/>
- </deptinfo>
- <atcinfo>
- <drugdd/>
- <drugflag>O</drugflag>
- <instcd/>
- </atcinfo>
- <openflag/>
- <suminfo>
- <orddd/>
- </suminfo>
- <scrnid/>
- </send>
- <init>
- <barcdprntsetup>
- <setupinfo/>
- </barcdprntsetup>
- <misdeptlist>
- <deptlist>
- <deptnm/>
- <deptcd/>
- </deptlist>
- </misdeptlist>
- <mdrugflags>
- <mdrugflags/>
- </mdrugflags>
- </init>
- <hidden>
- <prcpsrch>
- <drugdd/>
- <drugno/>
- <hosinyn/>
- <hosinmpsflag/>
- <hosoutyn/>
- <hosoutmpsflag/>
- <lblyn/>
- <lblflag/>
- <prntflag/>
- <autoinprntyn/>
- <autooutprntyn/>
- <instcd>012</instcd>
- <autoprcp/>
- <reprintyn/>
- <autoatcyn/>
- <stocdeptcd/>
- <digcdskipyn/>
- </prcpsrch>
- <deptlist>
- <dept>
- <deptcd/>
- <deptnm/>
- </dept>
- </deptlist>
- <popupinfo>
- <drugdd/>
- <drugno/>
- </popupinfo>
- </hidden>
- <temp>
- <ret/>
- <drugno/>
- <stocdeptcd/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/pharmacyweb/js/SMADT01102.js"/>
- <script type="javascript">
- <![CDATA[
- //프린터 설정
- function fSetPrint() {
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
- open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //2009-05-07 원무의 트레이 번호를 가져와야 하나.. 현재는 기본을 '2' Setting ==>
- model.makeValue("/root/hidden/prcpsrch/printer", "2" );
-
- setParameter("opener_ID" , "SMADT01102_원외처방전출력(약력조회)");
-
- // 20100122_laboru
- model.setValue("/root/hidden/prcpsrch/drugno", "/root/temp/drugno");
-
- fInit();
- ]]>
- </script>
- <submission id="TRADT01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paramsrch" replace="instance" resultref="/root/main/paramdata"/>
- <submission id="TRADT01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcpsrch" replace="instance" resultref="/root/main/prcpdata"/>
- <submission id="TRADT01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/>
- <submission id="TRADT01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paramsrch" replace="instance" resultref="/root/main/paramdata"/>
- <submission id="TXADT10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/atcinfo" replace="instance" add="bottom" resultref="/root/temp/ret"/>
- <submission id="TXADT01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/suminfo" replace="instance" resultref="/root/temp/ret"/>
- <!-- 프린터 설정-->
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- if (gTimer != null) {
- window.clearinterval(gTimer);
- gTimer = null;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- if (gTimer != null) {
- window.clearinterval(gTimer);
- gTimer = null;
- }
- ]]>
- </script>
- <submission id="TRADT01105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRADT01106" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/misdeptlist"/>
- <submission id="TRADT01108" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/mdrugflags"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="604" pageheight="200" guideline="1,1195;1,0;1,1327;2,783;2,756;1,0;1,571;2,164;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode==121){
- checkbox12.visible=true;
- }
- ]]>
- </script>
- <datagrid id="grd_param" nodeset="/root/main/paramdata/param" visibility="hidden" caption="pid^orddd^cretno^orddeptcd^orddrid^prcpdd^drugdd^drugno^caption1^caption2" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:181px; top:40px; width:390px; height:65px; ">
- <col ref="pid"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="orddeptcd" style="left:300px; top:23px; width:100px; height:23px; "/>
- <col ref="orddrid"/>
- <col ref="prcpdd"/>
- <col ref="drugdd"/>
- <col ref="drugno"/>
- <col ref="prntdt"/>
- <col ref="lblprntdt"/>
- </datagrid>
- <group id="group1" style="left:0px; top:0px; width:570px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:500px; height:14px; ">외래처방전출력(Ver 1230)</caption>
- </group>
- <line id="line6" class="line_2" style="x1:0px; y1:78px; x2:570px; y2:78px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:128px; x2:570px; y2:128px; "/>
- <select id="checkbox1" ref="/root/hidden/prcpsrch/hosoutmpsflag" overflow="visible" appearance="full" cellspacing="10" cols="3" rows="1" sep="|" style="left:85px; top:107px; width:225px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>처방전(약국용)</label>
- <value>1</value>
- </item>
- <item>
- <label>처방전(환자용)</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <line id="line14" class="line_2" style="x1:0px; y1:133px; x2:570px; y2:133px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:80px; width:80px; height:23px; vertical-align:middle; ">투약번호</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:55px; width:80px; height:23px; vertical-align:middle; ">투약일자</caption>
- <input id="input14" ref="/root/hidden/prcpsrch/drugno" class="input_search" autonext="false" maxlength="5" format="99999" style="left:85px; top:81px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- fPrcpMPSPrint();
- }
- ]]>
- </script>
- </input>
- <caption id="caption27" class="cell_1" style="left:0px; top:105px; width:80px; height:23px; vertical-align:middle; "/>
- <line id="line15" class="line_3" style="x1:0px; y1:133px; x2:570px; y2:133px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:103px; x2:570px; y2:103px; "/>
- <line id="line17" class="line_1" style="x1:0px; y1:50px; x2:570px; y2:50px; "/>
- <input id="input7" ref="/root/hidden/prcpsrch/drugdd" class="input_default" inputtype="date" style="left:85px; top:56px; width:105px; height:19px; "/>
- <select id="checkbox3" ref="/root/hidden/prcpsrch/hosoutyn" overflow="visible" appearance="full" style="left:5px; top:110px; width:65px; height:15px; background-color:#d8ebfa; border-style:none; ">
- <choices>
- <item>
- <label>원외</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkHosout_YN();
- ]]>
- </script>
- </select>
- <select id="checkbox6" visibility="hidden" overflow="visible" appearance="full" style="left:485px; top:83px; width:85px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>HD환자포함</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <button id="btn_prt" class="btn6_letter2" style="left:515px; top:138px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrcpMPSPrint();
-
- ]]>
- </script>
- </button>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:18px; width:571px; height:30px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
- <caption id="caption47" class="cell_2" style="left:9px; top:23px; width:70px; height:20px; ">범 례</caption>
- <caption id="caption1" style="left:90px; top:23px; width:485px; height:20px; ">원내투약번호(1~10000) 원외투약번호(10001~20000) 응급실원외투약번호(90001~)</caption>
- <select id="checkbox11" ref="/root/hidden/prcpsrch/reprintyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" vcellspacing="8" style="left:512px; top:105px; width:59px; height:23px; border-style:none; ">
- <choices>
- <item>
- <label>재출력</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/hidden/prcpsrch/digcdskipyn" visibility="visible" overflow="visible" appearance="full" style="left:451px; top:60px; width:120px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>질병분류기호 생략</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </xhtml:body>
- </xhtml:html>
|