123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <altcalcscorcdlist>
- <cdlist/>
- </altcalcscorcdlist>
- </main>
- <send>
- <data>
- <calcscorcd/>
- </data>
- <data1>
- <excucd/>
- </data1>
- </send>
- <init>
- <inittitle>조영제 사용 동의서가 필요한 처방입니다.</inittitle>
- <inittitle2>처방의 대체 코드를 선택하여 주십시오.</inittitle2>
- <calcscorcdnmlist>
- <calcscorcdnm>
- <cdnm/>
- </calcscorcdnm>
- </calcscorcdnmlist>
- <calcscorcd/>
- <angioaltprcpcdlist>
- <angioaltprcpcd>
- <cdid/>
- </angioaltprcpcd>
- </angioaltprcpcdlist>
- <excucdnmlist>
- <excucdnm>
- <cdnm/>
- <cdid/>
- </excucdnm>
- </excucdnmlist>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- if( model.getValue("/root/init/calcscorcd") == "") {
- messageBox("조영제 사용 동의서가 필요한 처방코드가 존재하지 않습니다.", "I999");
- window.close();
- return;
- }
-
- model.setValue("/root/send/data1/excucd", model.getValue("/root/init/calcscorcd"));
- submit("TRAER01903");
- if ( model.getValue("/root/init/angioaltprcpcdlist/angioaltprcpcd/cdid") == "" ) {
- // alert('없당');
- return;
- }
-
- //alert(model.getValue("/root/init/angioaltprcpcdlist/angioaltprcpcd/cdid"));
-
- var angioaltprcpcd = model.getValue("/root/init/angioaltprcpcdlist/angioaltprcpcd/cdid");
- var str = angioaltprcpcd.split("^");
- var row = 1;
- model.makeValue("/root/init/excucdnmlist/excucdnm[1]/cdid", "");
- model.makeValue("/root/init/excucdnmlist/excucdnm[1]/cdnm", "선택");
- for(var i =0 ; i < str.length-1 ; i++ ) {
- var aa = str[i];
- //alert(aa);
- row++ ;
- model.makeValue("/root/init/excucdnmlist/excucdnm[" + row + "]/cdid", aa.getTrim());
- model.makeValue("/root/init/excucdnmlist/excucdnm[" + row + "]/cdnm", aa.getTrim());
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRAER01902" ref="/root/send/data/calcscorcd" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/init/calcscorcdnmlist"/>
- <submission id="TRAER01903" ref="/root/send/data1/excucd" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/init/angioaltprcpcdlist"/>
- </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/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="430" pageheight="220" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption2" class="tit_1" style="left:65px; top:20px; width:217px; height:13px; vertical-align:middle; ">조영제 대체처방 발행</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:122px; x2:400px; y2:122px; "/>
- <caption id="caption20" class="tit_2" style="left:6px; top:107px; width:118px; height:13px; ">대체 코드</caption>
- <caption id="caption1" ref="/root/init/inittitle" style="left:0px; top:25px; width:345px; height:25px; font-size:12pt; font-weight:bold; color:#0000ff; ">caption1</caption>
- <caption id="cpt_calcscorcd" ref="/root/init/calcscorcd" style="left:0px; top:60px; width:115px; height:25px; font-size:11pt; font-weight:bold; text-align:center; ">caption3</caption>
- <caption id="caption3" ref="/root/init/inittitle2" style="left:115px; top:60px; width:290px; height:25px; font-size:11pt; font-weight:bold; text-align:left; ">caption3</caption>
- <select1 id="cmb_altprcpcd" ref="/root/send/data/calcscorcd" navindex="29" class="combo_search" appearance="minimal" style="left:0px; top:130px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/excucdnmlist/excucdnm">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if ( cmb_altprcpcd.value == "" ) {
- model.setValue("/root/init/calcscorcdnmlist/calcscorcdnm/cdnm", "");
- model.refresh();
- return;
- }
-
- //alert(cmb_altprcpcd.value);
- model.setValue("/root/send/data/calcscorcd", cmb_altprcpcd.value);
- submit("TRAER01902");
-
- ]]>
- </script>
- </select1>
- <input id="ipt_hngnm" ref="/root/init/calcscorcdnmlist/calcscorcdnm/cdnm" style="left:0px; top:155px; width:400px; height:25px; font-weight:bold; "/>
- <button id="btn_cls" class="btn4_letter2" style="left:342px; top:180px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="button1" class="btn4_letter2" style="left:280px; top:180px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.javascript.setParameter("SPAER01901_prcpcd", model.getValue ( "/root/send/data/calcscorcd" ));
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|