123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?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>
- <prcp>
- <prcplist/>
- </prcp>
- <cond>
- <checkflag/>
- </cond>
- </main>
- <init>
- <prcpkindcd/>
- <prcpclscd/>
- <prcpstatcd/>
- <hosinprcpresncd/>
- <payflagcd/>
- <orddept/>
- </init>
- <prcptemp/>
- <temp/>
- <send>
- <instcd/>
- <pid/>
- <indd/>
- <cretno/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- zbcfGetCodeList(new Array("M0003",
- "M0005",
- "M0011",
- "M0037",
- "M0029"),
- new Array("/root/init/prcpkindcd",
- "/root/init/prcpclscd",
- "/root/init/prcpstatcd",
- "/root/init/hosinprcpresncd",
- "/root/init/payflagcd"));
-
- submit("TRMMO00711");
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO00711" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcp"/>
- <submission id="TXMMO00711" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/prcp/prcplist" resultref="/root/temp"/>
- </model>
- <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="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1000" pageheight="460" guideline="2,314;">
- <datagrid id="grd_prcplist" nodeset="/root/main/prcp/prcplist" dragmode="true" dropmode="true" caption="^처방일시^처방의^입력자^환자번호^환자명^처방코드^처방명^1회용량^1회용량^1회수량^1회수량^횟수^일수^용법/검체^전달^상태^진료과^전문의" colsep="^" colwidth="35, 120, 70, 70, 70, 70, 80, 250, 40, 35, 35, 35, 40, 40, 106, 40, 60, 120, 70" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="1" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="byrow" tooltip="true" navindex="1" style="left:7px; top:21px; width:986px; height:409px; focus-rect:hidden; ">
- <col checkvalue="Y,N" ref="ableyn" type="checkbox" style="left:0px; top:23px; width:38px; height:23px; text-align:center; word-wrap:word; "/>
- <col ref="rgstdt" format="yyyy-mm-dd hh:mm:ss" style="left:1163px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="rgstridnm" style="left:1263px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="fstrgstrnm" style="left:1263px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="pid" style="left:468px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col ref="hngnm" style="left:468px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col ref="prcpcd" type="output" style="left:93px; top:23px; width:80px; height:23px; text-align:left; "/>
- <col ref="prcpnm" style="left:173px; top:23px; width:250px; height:23px; text-align:left; "/>
- <col ref="drprcpetc7" style="left:423px; top:23px; width:45px; height:23px; text-align:center; "/>
- <col ref="prcpvolunitnm" style="left:468px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col ref="drprcpetc8" style="left:423px; top:23px; width:45px; height:23px; text-align:center; "/>
- <col ref="prcpqtyunitnm" style="left:542px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col ref="prcptims" style="left:579px; top:23px; width:40px; height:23px; text-align:center; "/>
- <col ref="prcpdayno" style="left:619px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col checkvalue="Y,N" ref="drugmthdspccdnm" type="output" style="left:656px; top:23px; width:75px; height:23px; "/>
- <col ref="prcpdelivefact" style="left:813px; top:23px; width:40px; height:23px; "/>
- <col disabled="true" ref="prcpstatcd" type="combo" style="left:38px; top:23px; width:55px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/prcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm" style="left:173px; top:23px; width:250px; height:23px; text-align:left; "/>
- <col ref="orddrnm" style="left:468px; top:23px; width:37px; height:23px; text-align:center; "/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- //back 버튼 누르면 닫힘
- if ( event.keyCode == 8 ) {
- window.close();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_1" style="x1:7px; y1:17px; x2:992px; y2:18px; "/>
- <caption id="caption1" class="tit_2" style="left:12px; top:0px; width:171px; height:13px; ">구두처방확인</caption>
- <button id="btn_conf" class="btn4_letter8" visibility="visible" style="left:809px; top:435px; width:128px; height:22px; ">
- <caption>구두처방 인증저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodeConf = instance1.selectSingleNode("/root/main/prcp/prcplist[ableyn='Y']/prcpdd");
- if(nodeConf == null) {
- messageBox ( "선택 된 구두처방이 없습니다.", "E999" );
- return;
- }
-
- submit("TXMMO00711")
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" visibility="visible" style="left:939px; top:435px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <bool id="bool1" visibility="visible" checkvalue="Y,N" ref="/root/main/cond/checkflag" style="left:11px; top:24px; width:30px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var ableyn = "";
- var checkflag = model.getValue("/root/main/cond/checkflag");
- if(checkflag == "Y"){
- for(var i = 1; i <= grd_prcplist.rows-1; i++){
- ableyn = model.getValue("/root/main/prcp/prcplist[" + i + "]/ableyn");
- if(ableyn != "Y"){
- model.setValue("/root/main/prcp/prcplist[" + i + "]/ableyn", "Y");
- }
- }
- } else {
- for(var i = 1; i <= grd_prcplist.rows-1; i++){
- ableyn = model.getValue("/root/main/prcp/prcplist[" + i + "]/ableyn");
- if(ableyn != "N"){
- model.setValue("/root/main/prcp/prcplist[" + i + "]/ableyn", "N");
- }
- }
- }
- grd_prcplist.refresh();
- ]]>
- </script>
- </bool>
- </xhtml:body>
- </xhtml:html>
|