123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>내시경실 마약관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <example>내시경실 마약관리</example>
- <send>
- <srchdata>
- <fstdd/>
- <lastdd/>
- <execdeptcd>2010302030</execdeptcd>
- <pid/>
- <gubun>A</gubun>
- </srchdata>
- <savedata>
- <bankdd/>
- <pid/>
- <drugdd/>
- <drugno/>
- <drugseqno/>
- <ioflag/>
- <bankid/>
- <bankresn/>
- <dataflag/>
- <bankiodd/>
- <prcpcd/>
- <drugnm/>
- </savedata>
- </send>
- <temp>
- <srchview>
- <sel/>
- <narcstat/>
- <prcpdd/>
- <drugno/>
- <pid/>
- <patnm/>
- <prcpcd/>
- <drugnm/>
- <totdrugqty/>
- <prcpqtyunit/>
- <dayprcpqty/>
- <prcpvol/>
- <prcpvolunit/>
- <prcptims/>
- <prcpqty/>
- <prcpdayno/>
- <bankinresn/>
- <bankoutresn/>
- <reqidnm/>
- <prcpidnm/>
- <drugidnm/>
- <deliveidnm/>
- <acptidnm/>
- <drugdt/>
- <delivedt/>
- <drugseqno/>
- <acptdt/>
- <drugflag/>
- <prcpno/>
- <prcphistno/>
- <drugdd/>
- <ioflag/>
- <narcflag/>
- <bankinid/>
- <bankindt/>
- <bankoutid/>
- <bankoutdt/>
- <orgprcpdd/>
- <engnm/>
- <prcpdt/>
- </srchview>
- <ret>
- <retdata/>
- </ret>
- <srchtong>
- <bankdd/>
- <drugcd/>
- <drugnm/>
- <cntall/>
- <cntin/>
- <cntout/>
- </srchtong>
- <workid>
- <cdnm/>
- <cdid/>
- </workid>
- <codetype>
- <code>NWOR</code>
- </codetype>
- <cmbworkid/>
- </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"/>
- <submission id="TRADT30991" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" resultref="/root/temp/srchview"/>
- <submission id="TRADT30992" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" resultref="/root/temp/srchtong"/>
- <submission id="TRADT30993" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/codetype" resultref="/root/temp/workid"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //조회날짜 초기화
- model.setValue("/root/send/srchdata/fstdd", getCurrentDate());
- model.setValue("/root/send/srchdata/lastdd", getCurrentDate());
- grd_narclist.fixedcellcheckbox(0,grd_narclist.colRef("sel")) = true;
- model.refresh();
- submit("TRADT30993");
- cmb_workid.select(0) ;
- model.refresh();
- ]]>
- </script>
- <submission id="TXADT30991" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp/ret/retdata"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,785;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group2" style="left:5px; top:25px; width:1184px; height:65px; font-weight:bold; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:560px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input8" ref="/root/send/srchdata/pid" class="input_search" navindex="16" autonext="false" maxlength="10" style="left:105px; top:40px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- fGetNarcData();
- }
- ]]>
- </script>
- </input>
- <line id="line13" class="line_4" style="x1:475px; y1:3px; x2:475px; y2:62px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:10px; top:40px; width:86px; height:17px; ">환자번호 :</caption>
- <button id="button61" class="icon_search" navindex="17" style="left:210px; top:40px; width:16px; height:16px; ">
- <caption/>
- </button>
- <caption id="caption4" style="left:210px; top:8px; width:20px; height:20px; vertical-align:middle; ">~</caption>
- <input id="ipt_lastdd" ref="/root/send/srchdata/lastdd" class="input_search" navindex="3" inputtype="date" style="left:230px; top:8px; width:100px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:6px; y1:32px; x2:336px; y2:32px; "/>
- <caption id="caption9" class="search_name" style="left:10px; top:8px; width:86px; height:17px; ">조회구간 :</caption>
- <input id="ipt_fstdd" ref="/root/send/srchdata/fstdd" class="input_search" navindex="2" inputtype="date" appearance="input" style="left:105px; top:8px; width:100px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="27" style="left:490px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRADT30991");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter4" style="left:780px; top:40px; width:80px; height:22px; ">
- <caption>입고승인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var Sbankdd = getCurrentDate() ;
- var Sbankid = cmb_workid.value; /// getUserId();
- for(var i = grd_narclist.fixedRows; i < grd_narclist.rows; i++){
- var sel = model.getValue("/root/temp/srchview["+i+"]/sel");
- var Spid = model.getValue("/root/temp/srchview["+i+"]/pid");
- var Sdrugdd = model.getValue("/root/temp/srchview["+i+"]/drugdd");
- var Sdrugno = model.getValue("/root/temp/srchview["+i+"]/drugno");
- var Sioflag = model.getValue("/root/temp/srchview["+i+"]/ioflag");
- var Sdrugseqno = model.getValue("/root/temp/srchview["+i+"]/drugseqno");
- var Sbankinid = model.getValue("/root/temp/srchview["+i+"]/bankinid");
- var Sbankoutid = model.getValue("/root/temp/srchview["+i+"]/bankoutid");
- var Sprcpcd = model.getValue("/root/temp/srchview["+i+"]/prcpcd");
- var Sdrugnm = model.getValue("/root/temp/srchview["+i+"]/drugnm");
- if(sel == 'Y'){
- model.setValue("/root/send/savedata/dataflag", "I" );
- model.setValue("/root/send/savedata/bankdd", Sbankdd);
- model.setValue("/root/send/savedata/pid", Spid );
- model.setValue("/root/send/savedata/drugdd", Sdrugdd );
- model.setValue("/root/send/savedata/drugno", Sdrugno );
- model.setValue("/root/send/savedata/drugseqno", Sdrugseqno );
- model.setValue("/root/send/savedata/ioflag", Sioflag );
- model.setValue("/root/send/savedata/bankid", Sbankid );
- model.setValue("/root/send/savedata/bankiodd", Sbankdd );
- model.setValue("/root/send/savedata/prcpcd", Sprcpcd );
- model.setValue("/root/send/savedata/drugnm", Sdrugnm );
- model.refresh();
- submit("TXADT30991");
- }
- }
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter4" style="left:860px; top:40px; width:80px; height:22px; ">
- <caption>입고취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var Sbankdd = getCurrentDate() ;
- var Sbankid = cmb_workid.value; /// getUserId();
- for(var i = grd_narclist.fixedRows; i < grd_narclist.rows; i++){
- var sel = model.getValue("/root/temp/srchview["+i+"]/sel");
- var Spid = model.getValue("/root/temp/srchview["+i+"]/pid");
- var Sdrugdd = model.getValue("/root/temp/srchview["+i+"]/drugdd");
- var Sdrugno = model.getValue("/root/temp/srchview["+i+"]/drugno");
- var Sioflag = model.getValue("/root/temp/srchview["+i+"]/ioflag");
- var Sdrugseqno = model.getValue("/root/temp/srchview["+i+"]/drugseqno");
- var Sbankinid = model.getValue("/root/temp/srchview["+i+"]/bankinid");
- var Sbankoutid = model.getValue("/root/temp/srchview["+i+"]/bankoutid");
- if(sel == 'Y'){
- model.setValue("/root/send/savedata/dataflag", "IC" );
- model.setValue("/root/send/savedata/bankdd", Sbankdd);
- model.setValue("/root/send/savedata/pid", Spid );
- model.setValue("/root/send/savedata/drugdd", Sdrugdd );
- model.setValue("/root/send/savedata/drugno", Sdrugno );
- model.setValue("/root/send/savedata/drugseqno", Sdrugseqno );
- model.setValue("/root/send/savedata/ioflag", Sioflag );
- model.setValue("/root/send/savedata/bankid", Sbankid );
- model.setValue("/root/send/savedata/bankiodd", Sbankdd );
- model.refresh();
- submit("TXADT30991");
- }
- }
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter4" style="left:940px; top:40px; width:80px; height:22px; ">
- <caption>출고승인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var Sbankdd = getCurrentDate() ;
- var Sbankid = cmb_workid.value; /// getUserId();
- for(var i = grd_narclist.fixedRows; i < grd_narclist.rows; i++){
- var sel = model.getValue("/root/temp/srchview["+i+"]/sel");
- var Spid = model.getValue("/root/temp/srchview["+i+"]/pid");
- var Sdrugdd = model.getValue("/root/temp/srchview["+i+"]/drugdd");
- var Sdrugno = model.getValue("/root/temp/srchview["+i+"]/drugno");
- var Sioflag = model.getValue("/root/temp/srchview["+i+"]/ioflag");
- var Sdrugseqno = model.getValue("/root/temp/srchview["+i+"]/drugseqno");
- var Sbankinid = model.getValue("/root/temp/srchview["+i+"]/bankinid");
- var Sbankoutid = model.getValue("/root/temp/srchview["+i+"]/bankoutid");
- var Sprcpcd = model.getValue("/root/temp/srchview["+i+"]/prcpcd");
- var Sdrugnm = model.getValue("/root/temp/srchview["+i+"]/drugnm");
-
- if(sel == 'Y'){
- model.setValue("/root/send/savedata/dataflag", "O" );
- model.setValue("/root/send/savedata/bankdd", Sbankdd);
- model.setValue("/root/send/savedata/pid", Spid );
- model.setValue("/root/send/savedata/drugdd", Sdrugdd );
- model.setValue("/root/send/savedata/drugno", Sdrugno );
- model.setValue("/root/send/savedata/drugseqno", Sdrugseqno );
- model.setValue("/root/send/savedata/ioflag", Sioflag );
- model.setValue("/root/send/savedata/bankid", Sbankid );
- model.setValue("/root/send/savedata/bankiodd", Sbankdd );
- model.setValue("/root/send/savedata/prcpcd", Sprcpcd );
- model.setValue("/root/send/savedata/drugnm", Sdrugnm );
- model.refresh();
- submit("TXADT30991");
- }
- }
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter4" style="left:1020px; top:40px; width:80px; height:22px; ">
- <caption>출고취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var Sbankdd = getCurrentDate() ;
- var Sbankid = cmb_workid.value; /// getUserId();
- for(var i = grd_narclist.fixedRows; i < grd_narclist.rows; i++){
- var sel = model.getValue("/root/temp/srchview["+i+"]/sel");
- var Spid = model.getValue("/root/temp/srchview["+i+"]/pid");
- var Sdrugdd = model.getValue("/root/temp/srchview["+i+"]/drugdd");
- var Sdrugno = model.getValue("/root/temp/srchview["+i+"]/drugno");
- var Sioflag = model.getValue("/root/temp/srchview["+i+"]/ioflag");
- var Sdrugseqno = model.getValue("/root/temp/srchview["+i+"]/drugseqno");
- var Sbankinid = model.getValue("/root/temp/srchview["+i+"]/bankinid");
- var Sbankoutid = model.getValue("/root/temp/srchview["+i+"]/bankoutid");
- if(sel == 'Y'){
- model.setValue("/root/send/savedata/dataflag", "OC" );
- model.setValue("/root/send/savedata/bankdd", Sbankdd);
- model.setValue("/root/send/savedata/pid", Spid );
- model.setValue("/root/send/savedata/drugdd", Sdrugdd );
- model.setValue("/root/send/savedata/drugno", Sdrugno );
- model.setValue("/root/send/savedata/drugseqno", Sdrugseqno );
- model.setValue("/root/send/savedata/ioflag", Sioflag );
- model.setValue("/root/send/savedata/bankid", Sbankid );
- model.setValue("/root/send/savedata/bankiodd", Sbankdd );
- model.refresh();
- submit("TXADT30991");
- }
- }
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn1_letter2" navindex="27" style="left:1120px; top:40px; width:56px; height:22px; ">
- <caption>통계</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRADT30992");
- exeReportPreview("RFADT30992", "XMLSTR", "", "", "false","","","","","false");
- ]]>
- </script>
- </button>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:595px; top:33px; width:170px; height:31px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="cmb_workid" ref="/root/temp/cmbworkid" appearance="minimal" style="left:665px; top:40px; width:91px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/workid">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" style="left:595px; top:38px; width:61px; height:20px; text-align:right; ">업무자:</caption>
- <group id="group1" style="left:345px; top:5px; width:130px; height:56px; background-color:#fffbf2; ">
- <select1 id="radio1" ref="/root/send/srchdata/gubun" appearance="full" cellspacing="20" cols="2" rows="4" vcellspacing="11" overflow="visible" style="left:4px; top:1px; width:126px; height:54px; font-size:9pt; background-color:#fffbf2; border-style:none; ">
- <choices>
- <item>
- <label>외래</label>
- <value>Y</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>기타</label>
- <value>O</value>
- </item>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- </choices>
- </select1>
- </group>
- </group>
- <caption id="caption19" class="tit_1" style="left:5px; top:0px; width:211px; height:13px; ">내시경실 마약관리</caption>
- <datagrid id="grd_narclist" nodeset="/root/temp/srchview" backcoloralternate="#f0f0f0" caption="^불출상태^처방일자^투약번호^환자번호^환자명^약품코드^약품명^총량^총량^1일수량^1일수량^1회용량^1회용량^횟수^일수^입고자^출고자^불출
신청자^조제
약사^투약
약사^수령
담당자^부서확인
간호사^간호투약
간호사^반환신청일시^반환신청
간호사^반환일시^반환
담당자^반환확인일시^반환확인
약사^반환사유^잔량반납
신청일시^잔량반납신청
간호사^잔량반납
확인일시^잔량반납확인
약사^prcpno^prcphistno^orddd^orddeptcd^prcpgenrflag^prntdt^caption1^반납반환
표시여부^투약기록
완료여부^간호
실시횟수^간호
반환횟수^투약x반환불가
횟수" colsep="^" colwidth="30, 58, 76, 55, 64, 71, 80, 193, 40, 34, 36, 33, 35, 28, 33, 30, 57, 56, 55, 47, 70, 70, 70, 70, 9, 70, 9, 70, 7, 70, 100, 100" explorerbar="sort" extendlastcol="scroll" frozencols="18" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="28" style="left:5px; top:96px; width:1181px; height:666px; ">
- <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="prcpdd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="drugno" 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="bankinresn" style="text-align:center; "/>
- <col ref="bankoutresn" style="text-align:center; "/>
- <col ref="reqidnm" style="text-align:center; "/>
- <col ref="prcpidnm" style="text-align:center; "/>
- <col ref="drugidnm" style="text-align:center; "/>
- <col ref="deliveidnm" style="text-align:center; "/>
- <col ref="acptidnm" style="text-align:center; "/>
- <col ref="drugdt" visibility="hidden" style="text-align:center; "/>
- <col ref="delivedt" style="text-align:center; "/>
- <col ref="drugseqno" style="text-align:center; "/>
- <col ref="acptdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="drugflag" style="text-align:center; "/>
- <col ref="prcpno" visibility="hidden" style="text-align:center; "/>
- <col ref="prcphistno" style="text-align:center; "/>
- <col ref="drugdd" style="text-align:left; "/>
- <col ref="prcpqty" style="text-align:right; "/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|