123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <?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="">
- <init>
- <comcd/>
- </init>
- <send>
- <etcclrflag/>
- <etcclrresn/>
- <target/>
- <seqno/>
- </send>
- <target>
- <list/>
- </target>
- <main/>
- <temp>
- </temp>
- <prcpnm/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList( new Array("P0434"), new Array("/root/init/comcd"));
- radio1.refresh();
- input1.disabled= true;
- submit("TRPAS03001");
- output1.attribute("ref")="/root/temp/prcp/pid";
- output2.attribute("ref")="/root/temp/prcp/patnm";
- output3.attribute("ref")="/root/temp/prcp/orddeptnm";
- output4.attribute("ref")="/root/temp/prcp/medispclnm";
- var cnt = getNodesetCount("/root/target/list");
- var prcpnm = model.getValue("/root/temp/prcp/prcpnm");
- if(cnt >1 && output1.value != "")
- {
- prcpnm = prcpnm + " 외 " + (cnt-1) + "건";
- }
- model.setValue("/root/prcpnm", prcpnm);
- output1.refresh();
- output2.refresh();
- output3.refresh();
- output4.refresh();
- output5.refresh();
-
- model.copyNode("/root/send/seqno", "/root/temp/rtn");
- model.copyNode("/root/send/target", "/root/target");
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAS03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/target/list" resultref="/root/temp"/>
- <submission id="TXPAS03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/target/list" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="480" pageheight="480" guideline="2,548;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:10px; top:35px; width:448px; height:411px; ">
- <group id="group2" style="left:0px; top:0px; width:443px; height:145px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:442px; height:135px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption4" class="search_name" style="left:15px; top:35px; width:86px; height:17px; ">성 명 :</caption>
- <caption id="caption5" class="search_name" style="left:15px; top:60px; width:86px; height:17px; ">진 료 과 :</caption>
- <caption id="caption6" class="search_name" style="left:15px; top:85px; width:86px; height:17px; ">진료의사 :</caption>
- <caption id="caption7" class="search_name" style="left:15px; top:110px; width:86px; height:17px; ">처 방 명 :</caption>
- <output id="output1" style="left:105px; top:10px; width:300px; height:19px; "/>
- <output id="output2" style="left:105px; top:35px; width:300px; height:19px; "/>
- <output id="output3" style="left:105px; top:60px; width:300px; height:19px; "/>
- <output id="output4" style="left:105px; top:85px; width:300px; height:19px; "/>
- <output id="output5" ref="/root/prcpnm" style="left:105px; top:110px; width:300px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:160px; width:100px; height:13px; ">처방 반환사유</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:175px; x2:442px; y2:175px; "/>
- <select1 id="radio1" ref="/root/send/etcclrflag" appearance="full" itemheight="20" overflow="visible" style="left:15px; top:185px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/comcd/P0434">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(radio1.value == "99")
- {
- input1.disabled= false;
- }
- else if(radio1.value != "99")
- {
- input1.value = "";
- input1.disabled= true;
- }
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/send/etcclrresn" style="left:10px; top:375px; width:430px; height:19px; "/>
- </group>
- <group id="group1" scroll="auto" style="left:390px; top:186px; width:63px; height:22px; ">
- <button id="btn_confirm" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:7px; top:0px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(radio1.value == "")
- {
- messageBox("처방 반환사유를 ", "C002");
- }
- else if(radio1.value=="99" && input1.value=="")
- {
- messageBox("기타 사유를 ", "C001");
- }
- else
- {
- var etcclrflag = model.getValue("/root/send/etcclrflag");
- var etcclrresn = model.getValue("/root/send/etcclrresn");
- var nodeCnt = getNodesetCount("/root/target/list");
- for(var i = 1; i <= nodeCnt; i++){
- model.makeValue("/root/target/list[" + i + "]/etcclrflag", etcclrflag);
- model.makeValue("/root/target/list[" + i + "]/etcclrresn", etcclrresn);
- }
- if(submit("TXPAS03001"))
- {
- window.close();
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption3" class="tit_2" style="left:5px; top:15px; width:113px; height:14px; ">마감후 처방반환</caption>
- </xhtml:body>
- </xhtml:html>
|