123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700 |
- <?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>
- <narclist>
- <narclist>
- <sel/>
- <prcpdd/>
- <pid/>
- <patnm/>
- <issdeptcdnm/>
- <roomcd/>
- <prcpcd/>
- <drugnm/>
- <totdrugqty/>
- <dayprcpqty/>
- <prcpqty/>
- <prcpqtyunit/>
- <prcptims/>
- <prcpdayno/>
- <rtnqty/>
- <returnqty/>
- <rtnunit/>
- <prcpdt/>
- <prcpidnm/>
- <drugdt/>
- <drugidnm/>
- <delivedt/>
- <deliveidnm/>
- <acptdt/>
- <acptidnm/>
- <rtnappdt/>
- <rtnappidnm/>
- <rtndt/>
- <rtnidnm/>
- <rtncnfmdt/>
- <rtncnfmidnm/>
- <rtnresn/>
- <spreqty/>
- <spredt/>
- <spreidnm/>
- <sprecnfmdt/>
- <sprecnfmidnm/>
- <prcpno/>
- <prcphistno/>
- <drugdd/>
- <drugno/>
- <ioflag/>
- <instcd/>
- <narcflag/>
- <narcstat/>
- <cnclstat/>
- <rtnstat/>
- <prntflag/>
- <returnflag/>
- <orddd/>
- <orddeptcd/>
- <prcpgenrflag/>
- <drugflag/>
- <drugkind/>
- <drugkindnm/>
- </narclist>
- </narclist>
- </main>
- <send>
- <srchinfo/>
- <srchcond>
- <deptflag/>
- <narcflag>M</narcflag>
- </srchcond>
- <prntinfo/>
- <narcinfo>
- <srchinfo/>
- <narclist/>
- <userinfo/>
- </narcinfo>
- <userinfo>
- <userid/>
- </userinfo>
- <lblskip/>
- </send>
- <init/>
- <hidden/>
- <temp>
- <srchinfo>
- <narcflag/>
- <timeflag>2</timeflag>
- <fst_dd/>
- <last_dd/>
- <pid/>
- <ward/>
- <srchdrugno/>
- <barcode/>
- <srchdrugkind/>
- <srchioflag>I</srchioflag>
- <drugflag>I</drugflag>
- <srchroot/>
- <narcstat/>
- <cnclflag/>
- <cnclstat/>
- <rtnflag/>
- <rtnstat/>
- <narctypeflag/>
- <narctype/>
- <srchid/>
- <narccd/>
- <barcode_2>drug</barcode_2>
- <phamid/>
- </srchinfo>
- <srchcond>
- <narclist>
- <sel/>
- <narcnm/>
- <narccd/>
- </narclist>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- </srchcond>
- <userinfo>
- <userinfo>
- <userid/>
- <usernm/>
- <userdeptcd/>
- <userdeptnm/>
- </userinfo>
- </userinfo>
- <chkcashinfo>
- <narclist/>
- </chkcashinfo>
- <ret/>
- </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="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/pharmacyweb/js/SMADT30600.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
-
- ]]>
- </script>
- <submission id="TRADT30101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchcond" replace="instance" resultref="/root/temp/srchcond"/>
- <submission id="TRADT30102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/narclist"/>
- <submission id="TRADT30103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prntinfo" replace="instance" resultref="/root/main/prntlist"/>
- <submission id="TRADT30104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/userinfo" replace="instance" resultref="/root/temp/userinfo"/>
- <submission id="TXADT30101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/narcinfo" replace="instance" resultref="/root/main/narclist"/>
- <submission id="TXADT30102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/narcinfo" replace="instance" resultref="/root/temp/ret"/>
- <bind id="bind1" ref="/root/main/narclist/narclist/narcstat" readonly="../pid != ''"/>
- <bind id="bind2" ref="/root/main/narclist/narclist/cnclstat" readonly="../pid != ''"/>
- <bind id="bind3" ref="/root/main/narclist/narclist/rtnstat" readonly="../pid != ''"/>
- <bind id="bind4" ref="/root/main/narclist/narclist/sel" readonly="../narcstat = '1'"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1192;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">마약/향정약 처방관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:0px; width:1195px; height:260px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:255px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input9" ref="/root/temp/srchinfo/barcode" class="font_ab" imemode="alpha" style="left:245px; top:120px; width:615px; height:75px; font-size:36pt; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- caption1.text="";
- input9.disabled=true;
- setInputNodeCurText();
- fChgBarcode();
- input9.disabled=false;
- model.setFocus("input9");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <caption id="caption7" class="font_ab" style="left:10px; top:120px; width:235px; height:75px; ">바코드 :</caption>
- <caption id="caption8" class="font_ab" style="left:10px; top:35px; width:235px; height:75px; ">담당자 :</caption>
- <output id="output1" ref="/root/temp/userinfo/userinfo/usernm" class="font_ab" style="left:595px; top:34px; width:265px; height:75px; border-width:1; border-style:solid; "/>
- <input id="input1" ref="/root/temp/srchinfo/srchid" class="font_ab" autonext="false" maxlength="8" style="left:245px; top:34px; width:340px; height:75px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- //setInputNodeCurText();
- //fChgUserID();
- model.setFocus("input9");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- //setInputNodeCurText();
- //model.setValue("/root/temp/userinfo/userinfo/usernm", "");
- //model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //setInputNodeCurText();
- caption1.text="";
- if ( model.getValue("/root/temp/srchinfo/srchid") =="") {
- if(model.getValue("/root/temp/userinfo/userinfo/userid") == ""){
- //messageBox("사용자ID를 입력하십시오.","C999");
- caption1.text="사용자ID를 입력하십시오.";
- model.removeNodeset("/root/temp/userinfo/userinfo");
- model.makeNode("/root/temp/userinfo/userinfo");
- model.removeNodeset("/root/temp/userinfo/userinfo/userid");
- model.makeValue("/root/temp/userinfo/userinfo/userid", "");
- model.removeNodeset("/root/temp/userinfo/userinfo/usernm");
- model.makeValue("/root/temp/userinfo/userinfo/usernm", "");
-
- model.setValue("/root/temp/srchinfo/srchid","");
- model.setValue("/root/temp/userinfo/userinfo/usernm", "");
- model.refresh();
- model.setFocus("input1");
- } else {
- model.setValue("/root/temp/srchinfo/srchid","");
- //model.setFocus("input1");
- model.refresh();
- model.setFocus("input9");
- }
- } else {
- fChgUserID();
- }
-
- ]]>
- </script>
- </input>
- <button id="button1" class="btn4_letter4" visibility="hidden" style="left:1085px; top:80px; width:80px; height:22px; ">
- <caption>불출확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fNarcActing("Drug");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter4" style="left:1085px; top:135px; width:80px; height:22px; ">
- <caption>불출취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- caption1.text="";
- fNarcActing("DrugCncl");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1055px; y1:5px; x2:1055px; y2:245px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" style="left:240px; top:200px; width:620px; height:40px; font-size:16; font-weight:bold; color:#ff0000; ">사용자ID를 입력하십시오.</caption>
- </group>
- <switch id="switch1" style="left:4px; top:270px; width:1188px; height:450px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_narclist" nodeset="/root/main/narclist/narclist" class="datagrid2" backcoloralternate="#f0f0f0" caption="^불출상태^반환상태^반납상태^처방일자^투약번호^수행부서^병실^환자번호^환자명^약품코드^약품명^총량^총량^일수량^일수량^일용량^일용량^횟수^잔량^잔량^반환횟수^반환횟수^반환수량^반환수량^조제일시^조제
약사^투약일시^투약
약사^수령일시^수령
담당자^병동수령일시^부서확인
간호사^반환신청일시^반환신청
간호사^반환일시^반환
담당자^반환확인일시^반환확인
약사^반환사유^잔량반납
신청일시^잔량반납신청
간호사^잔량반납
확인일시^잔량반납확인
약사^prcpno^prcphistno^drugdd^drugno^ioflag^instcd^narcflag^prntflag^orddd^orddeptcd^prcpgenrflag" colsep="^" colwidth="30, 56, 56, 56, 67, 41, 70, 40, 65, 50, 90, 150, 40, 27, 36, 27, 40, 28, 26, 32, 28, 28, 29, 32, 35, 8, 70, 6, 69, 8, 70, 9, 70, 9, 70, 9, 70, 7, 70, 100, 7, 85, 7, 85, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1177px; height:440px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox" style="left:20px; top:32px; width:30px; height:23px; "/>
- <col ref="narcstat" type="combo">
- <choices>
- <item>
- <label>미신청</label>
- <value>1</value>
- </item>
- <item>
- <label>불출신청</label>
- <value>2</value>
- </item>
- <item>
- <label>출력완료</label>
- <value>3</value>
- </item>
- <item>
- <label>조제완료</label>
- <value>4</value>
- </item>
- <item>
- <label>불출</label>
- <value>5</value>
- </item>
- <item>
- <label>부서확인</label>
- <value>6</value>
- </item>
- </choices>
- </col>
- <col ref="cnclstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>-</label>
- <value/>
- </item>
- <item>
- <label>반환대상</label>
- <value>0</value>
- </item>
- <item>
- <label>반환신청</label>
- <value>1</value>
- </item>
- <item>
- <label>반환확인</label>
- <value>2</value>
- </item>
- <item>
- <label>반환종료</label>
- <value>7</value>
- </item>
- </choices>
- </col>
- <col ref="rtnstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>-</label>
- <value/>
- </item>
- <item>
- <label>잔량대상</label>
- <value>0</value>
- </item>
- <item>
- <label>잔량신청</label>
- <value>1</value>
- </item>
- <item>
- <label>잔량확인</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="prcpdd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="drugno" style="text-align:center; "/>
- <col ref="issdeptcdnm" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="prcpcd"/>
- <col ref="drugnm"/>
- <col ref="totdrugqty" style="text-align:right; "/>
- <col ref="prcpqtyunit" style="text-align:left; "/>
- <col ref="dayprcpqty" style="text-align:right; "/>
- <col ref="prcpqtyunit" style="text-align:left; "/>
- <col ref="prcpvol" style="text-align:right; "/>
- <col ref="prcpvolunit" style="text-align:left; "/>
- <col ref="prcptims" style="text-align:center; "/>
- <col ref="spreqty" style="text-align:right; "/>
- <col ref="prcpvolunit" style="text-align:left; "/>
- <col ref="rtnqty" style="text-align:right; "/>
- <col ref="rtnunit" style="text-align:left; "/>
- <col ref="returnqty" style="text-align:right; "/>
- <col ref="prcpqtyunit" style="text-align:left; "/>
- <col ref="prcpdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="prcpidnm" style="text-align:center; "/>
- <col ref="drugdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="drugidnm" visibility="hidden" style="text-align:center; "/>
- <col ref="delivedt" visibility="hidden" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="deliveidnm" style="text-align:center; "/>
- <col ref="acptdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="acptidnm" style="text-align:center; "/>
- <col ref="rtnappdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="rtnappidnm" style="text-align:center; "/>
- <col ref="rtndt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="rtnidnm" style="text-align:center; "/>
- <col ref="rtncnfmdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="rtncnfmidnm" style="text-align:center; "/>
- <col ref="rtnresn"/>
- <col ref="spredt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="spreidnm" style="text-align:center; "/>
- <col ref="sprecnfmdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="sprecnfmidnm" style="text-align:center; "/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="prcphistno" visibility="hidden"/>
- <col ref="drugdd" visibility="hidden"/>
- <col ref="drugno" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="narcflag" visibility="hidden"/>
- <col ref="prntflag" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="prcpgenrflag" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_narclist.iscell(event.target) ){
- model.setValue("/root/temp/srchinfo/pid",model.getValue("/root/main/narclist/narclist["+grd_narclist.row+"]/pid"));
- //model.refresh();
- fGetNarcData();
- //환자별 조회라면 체크 표시
- fChkPatSearch(grd_narclist);
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_sprelist" nodeset="/root/main/narclist/narclist" class="datagrid2" backcoloralternate="#f0f0f0" caption="^상태^처방일자^환자번호^환자명^약품코드^약품명^총량^총량^일수량^일수량^일용량^일용량^횟수^잔량^잔량^반납신청일시^반납신청
담당자^반납확인일시^반납확인
담당자^prcpno^prcphistno^drugdd^drugno^ioflag^instcd^narcflag^prntflag^orddd^orddeptcd^prcpgenrflag" colsep="^" colwidth="29, 60, 80, 65, 58, 90, 150, 50, 33, 50, 26, 50, 29, 34, 50, 34, 100, 65, 100, 62, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1177px; height:440px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="narcstat" type="combo">
- <choices>
- <item>
- <label>미신청</label>
- <value>1</value>
- </item>
- <item>
- <label>불출신청</label>
- <value>2</value>
- </item>
- <item>
- <label>출력완료</label>
- <value>3</value>
- </item>
- <item>
- <label>조제완료</label>
- <value>4</value>
- </item>
- <item>
- <label>불출</label>
- <value>5</value>
- </item>
- <item>
- <label>부서확인</label>
- <value>6</value>
- </item>
- <item>
- <label>반납신청</label>
- <value>7</value>
- </item>
- <item>
- <label>반납확인</label>
- <value>8</value>
- </item>
- <item>
- <label>반환신청</label>
- <value>9</value>
- </item>
- <item>
- <label>반환확인</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col ref="prcpdd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="prcpcd"/>
- <col ref="drugnm"/>
- <col ref="totdrugqty" style="text-align:right; "/>
- <col ref="prcpqtyunit" style="text-align:left; "/>
- <col ref="dayprcpqty" style="text-align:right; "/>
- <col ref="prcpqtyunit" style="text-align:left; "/>
- <col ref="prcpvol" style="text-align:right; "/>
- <col ref="prcpvolunit" style="text-align:left; "/>
- <col ref="prcptims" style="text-align:right; "/>
- <col ref="spreqty" style="text-align:right; "/>
- <col ref="prcpvolunit" style="text-align:left; "/>
- <col ref="spredt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="spreidnm" style="text-align:center; "/>
- <col ref="sprecnfmdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="sprecnfmidnm" style="text-align:center; "/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="prcphistno" visibility="hidden"/>
- <col ref="drugdd" visibility="hidden"/>
- <col ref="drugno" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="narcflag" visibility="hidden"/>
- <col ref="prntflag" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="prcpgenrflag" visibility="hidden"/>
- </datagrid>
- <object id="CommAX" clsid="{87A84390-EB86-424F-97B9-45E53A5EFE28}" style="left:270px; top:155px; width:45px; height:45px; "/>
- </case>
- <case id="case3">
- <datagrid id="grd_outnarc" nodeset="/root/main/narclist/narclist" class="datagrid2" autoresize="true" backcoloralternate="#f0f0f0" caption="^불출상태^반환상태^반납상태^약품
구분^투약번호^수행부서^처방일자^환자번호^환자명^약품코드^약품명^총량^총량^일수량^일수량^일용량^일용량^횟수^일수^잔량^잔량^반환횟수^반환횟수^반환용량^반환용량^조제일시^조제약사^투약일시^투약약사^수령일시^수령
담당자^부서확인
일시^부서확인
간호사^반환신청일시^반환신청
간호사^반환확인일시^반환확인
약사^반환사유^반납신청
일시^잔량반납신청
간호사^반납확인
일시^잔량반납확인
약사^prcpno^prcphistno^drugdd^drugno^ioflag^instcd^narcflag^prntflag^orddd^orddeptcd^prcpgenrflag^drugkind" colsep="^" colwidth="27, 65, 70, 70, 53, 50, 70, 80, 65, 61, 90, 150, 40, 35, 40, 35, 40, 35, 30, 30, 40, 35, 55, 35, 40, 35, 6, 70, 9, 69, 6, 70, 7, 70, 10, 70, 10, 70, 100, 6, 85, 7, 85, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1177px; height:440px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="narcstat" type="combo">
- <choices>
- <item>
- <label>미신청</label>
- <value>1</value>
- </item>
- <item>
- <label>불출신청</label>
- <value>2</value>
- </item>
- <item>
- <label>출력완료</label>
- <value>3</value>
- </item>
- <item>
- <label>조제완료</label>
- <value>4</value>
- </item>
- <item>
- <label>불출</label>
- <value>5</value>
- </item>
- <item>
- <label>부서확인</label>
- <value>6</value>
- </item>
- <item>
- <label>반납신청</label>
- <value>7</value>
- </item>
- <item>
- <label>반납확인</label>
- <value>8</value>
- </item>
- <item>
- <label>반환신청</label>
- <value>9</value>
- </item>
- <item>
- <label>반환확인</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col ref="cnclstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>-</label>
- <value/>
- </item>
- <item>
- <label>반환대상</label>
- <value>0</value>
- </item>
- <item>
- <label>반환신청</label>
- <value>1</value>
- </item>
- <item>
- <label>반환확인</label>
- <value>2</value>
- </item>
- <item>
- <label>반환종료</label>
- <value>7</value>
- </item>
- </choices>
- </col>
- <col ref="rtnstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>-</label>
- <value/>
- </item>
- <item>
- <label>반납대상</label>
- <value>0</value>
- </item>
- <item>
- <label>반납신청</label>
- <value>1</value>
- </item>
- <item>
- <label>반납확인</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="drugkindnm" style="text-align:center; "/>
- <col ref="drugno" style="text-align:center; "/>
- <col ref="issdeptcdnm" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="prcpcd"/>
- <col ref="drugnm"/>
- <col ref="totdrugqty" style="text-align:right; "/>
- <col ref="prcpqtyunit" style="text-align:left; "/>
- <col ref="dayprcpqty" style="text-align:right; "/>
- <col ref="prcpqtyunit" style="text-align:left; "/>
- <col ref="prcpvol" style="text-align:right; "/>
- <col ref="prcpvolunit" style="text-align:left; "/>
- <col ref="prcptims" style="text-align:right; "/>
- <col ref="prcpdayno" style="text-align:right; "/>
- <col ref="spreqty" style="text-align:right; "/>
- <col ref="prcpvolunit" style="text-align:left; "/>
- <col class="gridinput" ref="rtnqty" type="input" style="text-align:right; "/>
- <col ref="rtnunit" style="text-align:center; "/>
- <col ref="returnqty" style="text-align:right; "/>
- <col ref="prcpvolunit" style="text-align:left; "/>
- <col ref="prcpdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="prcpidnm" style="text-align:center; "/>
- <col ref="drugdt" visibility="hidden" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="drugidnm" visibility="hidden" style="text-align:center; "/>
- <col ref="delivedt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="deliveidnm" style="text-align:center; "/>
- <col ref="acptdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="acptidnm" style="text-align:center; "/>
- <col ref="rtnappdt" visibility="visible" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="rtnappidnm" visibility="visible" style="text-align:center; "/>
- <col ref="rtncnfmdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="rtncnfmidnm" style="text-align:center; "/>
- <col ref="rtnresn"/>
- <col ref="spredt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="spreidnm" style="text-align:center; "/>
- <col ref="sprecnfmdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="sprecnfmidnm" style="text-align:center; "/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="prcphistno" visibility="hidden"/>
- <col ref="drugdd" visibility="hidden"/>
- <col ref="drugno" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="narcflag" visibility="hidden"/>
- <col ref="prntflag" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="prcpgenrflag" visibility="hidden"/>
- <col ref="drugkind" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fIptRtnCnts();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_outnarc.iscell(event.target) ){
- model.setValue("/root/temp/srchinfo/pid",model.getValue("/root/main/narclist/narclist["+grd_outnarc.row+"]/pid"));
- //model.refresh();
- fGetNarcData();
- //환자별 조회라면 체크 표시
- fChkPatSearch(grd_outnarc);
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- </group>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var keyPressed = event.keyCode ;
-
- if(keyPressed == 27 || keyPressed == 81) // 'ESC' or 'Q' 키가 눌려진 경우
- {
- var answer = messageBox("마약불출 프로그램 종료를 ", "Q004") ;
-
- if(answer == 6)
- {
- group4.visible = true;
- group2.disabled = true;
-
- }
- }
- ]]>
- </script>
- <group id="group4" class="cell_1" visibility="hidden" style="left:450px; top:390px; width:235px; height:70px; border-color:#3366ff; border-style:solid; ">
- <caption id="caption6" class="tit_2" style="left:9px; top:13px; width:105px; height:14px; ">약제담당자 ID</caption>
- <input id="input3" ref="/root/temp/srchinfo/phamid" style="left:120px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- fChgUserIDPharm();
- }
- ]]>
- </script>
- </input>
- <button id="button4" class="btn4_letter2" style="left:164px; top:34px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = false;
- group2.disabled = false;
- model.setFocus("input1");
- ]]>
- </script>
- </button>
- </group>
- <!-- (20091203) -->
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- //F10로 화면 초기화
- if(event.keyCode == "121") {
- model.setValue("/root/temp/srchinfo/srchid",""); //담당자
- model.setValue("/root/temp/userinfo/userinfo/usernm", ""); //담자자명
- model.setValue("/root/temp/srchinfo/barcode",""); //바코드
- model.removeNodeset("/root/main/narclist/narclist"); //내역
- model.refresh();
- model.setFocus("input9");
- }
- ]]>
- </script>
- <!-- (20091119) -->
- </xhtml:body>
- </xhtml:html>
|