123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <?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>
- </main>
- <init>
- <mthdkind/>
- </init>
- <send>
- <cond1>N</cond1>
- <cond2>1</cond2>
- </send>
- <rateprcpflag>N</rateprcpflag>
- <rateprcp>
- <rate1/>
- <rate2/>
- <rate3/>
- <rate4/>
- <rate5/>
- <rate6/>
- <rate7/>
- <rate8/>
- </rateprcp>
- <rateflag/>
- <tmedmthd>
- <tmedmthdlist>
- <status/>
- <abbrnm/>
- <mthdcnts/>
- <mthdcd/>
- <basecnt/>
- <adminpath/>
- <mealflag/>
- <drdirecyn/>
- </tmedmthdlist>
- </tmedmthd>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var mthdKind = "";
- var openerrow = 0;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_mthd.backcoloralternate = "transparent";
-
-
- zbcfGetCodeList(new Array("A0017"),new Array("/root/init/mthdkind"), true, new Array("dispseq") ,new Array("asc")); //용법종류
-
- if ( opener.grd_antibiodetaillist.row == -1) {
- openerrow = 1;
- } else {
- openerrow = opener.grd_antibiodetaillist.row;
- }
-
- submit ( "TRMMO01901" );
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- </model>
- <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"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="595" pageheight="480">
- <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:6px; top:5px; width:582px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="rdo_mthdkind" ref="/root/send/cond1" appearance="full" cols="5" rows="1" overflow="visible" style="left:117px; top:44px; width:460px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/mthdkind/A0017">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- submit ( "TRMMO01901" );
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn4_letter2" style="left:468px; top:448px; width:56px; height:22px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var drugmthdspccdnm = "";
- var drugmthdspccd = "";
- var cnt = 0;
-
- if ( grd_mthd.row > 0 ) {
-
- cnt++;
- opener.model.setValue ( "/root/main/antibiodetaillist/info[" + openerrow + "]/drugmthdspccd" ,
- model.getValue ( "/root/tmedmthd/tmedmthdlist[" +grd_mthd.row + "]/mthdcd") );
- opener.model.setValue ( "/root/main/antibiodetaillist/info[" + openerrow + "]/drugmthdspccdnm" ,
- model.getValue ( "/root/tmedmthd/tmedmthdlist[" +grd_mthd.row + "]/abbrnm") );
- }
-
- if ( cnt == 0 ) {
- model.alert ( "선택된 복용방법이 없습니다." );
- return;
- }
- window.close();
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:527px; top:448px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:7px; top:76px; width:171px; height:13px; ">복용방법 List</caption>
- <line id="line7" class="line_1" style="x1:7px; y1:91px; x2:588px; y2:91px; "/>
- <select1 id="rdo_baseqty" ref="/root/send/cond2" appearance="full" cols="6" overflow="visible" style="left:117px; top:16px; width:275px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>1회</label>
- <value>1</value>
- </item>
- <item>
- <label>2회</label>
- <value>2</value>
- </item>
- <item>
- <label>3회</label>
- <value>3</value>
- </item>
- <item>
- <label>4회</label>
- <value>4</value>
- </item>
- <item>
- <label>5회이상</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- submit ( "TRMMO01901" );
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:27px; top:15px; width:90px; height:17px; ">기본종류 :</caption>
- <caption id="caption5" class="search_name" style="left:27px; top:44px; width:86px; height:17px; ">용법종류 :</caption>
- <datagrid id="grd_mthd" nodeset="/root/tmedmthd/tmedmthdlist" caption="^복용방법코드^복용방법^횟수" colsep="^" colwidth="0, 84, 416, 60" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:7px; top:95px; width:581px; height:345px; ">
- <col checkvalue="Y,N" ref="status" type="checkbox"/>
- <col ref="mthdcd" style="text-align:center; "/>
- <col ref="abbrnm"/>
- <col ref="basecnt" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_mthd.isCell(event.target) && grd_mthd.row >= grd_mthd.fixedRows ){
- model.setValue ( "/root/tmedmthd/tmedmthdlist[" + grd_mthd.row + "]/status", "Y" );
- button1.dispatch ( "DOMActivate" );
- }
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|