123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <?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>
- <chemoinfo>
- <instcd/>
- <pid/>
- <orddd/>
- <cretno/>
- <ioflag/>
- <prcpdd/>
- <prcpno/>
- <prcpcd/>
- <prcpnm/>
- <prcpdayno/>
- <appdd/>
- <appfrom/>
- <appto/>
- <appline/>
- <appcycle/>
- <purpose/>
- </chemoinfo>
- </main>
- <init>
- <purpose/>
- </init>
- <send>
- <savedata>
- </savedata>
- </send>
- </root>
- </instance>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMMO23001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/result"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- zbcfGetCodeList(new Array( "M0753"), new Array( "/root/init/purpose"));
-
- var sPrcpDd = model.getValue("/root/main/chemoinfo/prcpdd");
- if (isNull(sPrcpDd)) {
- model.makeValue("/root/main/chemoinfo/appdd" , getCurrentDate()); // 당일
- } else {
- model.makeValue("/root/main/chemoinfo/appdd" , sPrcpDd); //처방일
- }
-
- var sPrcpDayNo = model.getValue("/root/main/chemoinfo/prcpdayno"); //처방날수
- model.makeValue("/root/main/chemoinfo/appto" , sPrcpDayNo);
- model.makeValue("/root/main/chemoinfo/appfrom" , "1");
- model.makeValue("/root/main/chemoinfo/appline" , "1");
- //model.makeValue("/root/main/chemoinfo/appcycle" , "1");
- //model.makeValue("/root/main/chemoinfo/purpose" , "");
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="400" pageheight="280" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:370px; y2:15px; "/>
- <caption id="caption14" class="tit_2" style="left:0px; top:0px; width:152px; height:15px; vertical-align:middle; ">항암제 상세정보</caption>
- <caption id="caption26" class="cell_1" style="left:1px; top:20px; width:85px; height:23px; text-align:center; vertical-align:middle; ">처방코드</caption>
- <input id="ipt_prcpcd" ref="/root/main/chemoinfo/prcpcd" disabled="true" disable.background-color="#ffffff" style="left:90px; top:23px; width:280px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:1px; top:45px; width:85px; height:23px; text-align:center; vertical-align:middle; ">처방명칭</caption>
- <input id="ipt_prcpnm" ref="/root/main/chemoinfo/prcpnm" disabled="true" disable.background-color="#ffffff" style="left:90px; top:47px; width:280px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:1px; top:70px; width:85px; height:23px; text-align:center; vertical-align:middle; ">시작일</caption>
- <input id="ipt_appdd" ref="/root/main/chemoinfo/appdd" navindex="-1" inputtype="date" style="left:90px; top:71px; width:85px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:181px; top:70px; width:85px; height:23px; text-align:center; vertical-align:middle; ">적용선택</caption>
- <caption id="caption5" style="left:268px; top:72px; width:15px; height:20px; ">D</caption>
- <input id="input2" ref="/root/main/chemoinfo/appfrom" class="input_essential" maxlength="3" format="#,###" style="left:280px; top:71px; width:33px; height:19px; "/>
- <caption id="caption6" style="left:314px; top:72px; width:25px; height:20px; ">~ D</caption>
- <input id="input3" ref="/root/main/chemoinfo/appto" class="input_essential" maxlength="3" format="#,###" style="left:337px; top:71px; width:33px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:1px; top:95px; width:85px; height:23px; text-align:center; vertical-align:middle; ">Line</caption>
- <input id="ipt_appline" ref="/root/main/chemoinfo/appline" class="input_essential" maxlength="2" format="#,###" style="left:90px; top:95px; width:85px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:181px; top:95px; width:85px; height:23px; text-align:center; vertical-align:middle; ">Cycle</caption>
- <input id="ipt_appcycle" ref="/root/main/chemoinfo/appcycle" class="input_essential" maxlength="2" format="#,###" style="left:270px; top:95px; width:100px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:120px; width:85px; height:110px; text-align:center; vertical-align:middle; ">투여목적</caption>
- <select1 id="sel_purpose" ref="/root/main/chemoinfo/purpose" appearance="full" cols="1" rows="7" overflow="visible" style="left:90px; top:119px; width:280px; height:111px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/purpose/M0753">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_save" class="btn4_letter2" style="left:255px; top:235px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/send/savedata", "/root/main/chemoinfo");
-
- model.makeValue("/root/send/savedata/userid", getUserId());
-
- if(isNull(model.getValue("/root/send/savedata/appdd"))){
- messageBox ( "시작일은 필수 입력사항 입니다.", "I999" );
- return;
- }
-
- if(isNull(model.getValue("/root/send/savedata/appfrom")) || isNull(model.getValue("/root/send/savedata/appto")) ){
- messageBox ( "적용선택은 필수 입력사항 입니다.", "I999" );
- return;
- }
-
- if(isNull(model.getValue("/root/send/savedata/appline"))){
- messageBox ( "Line은 필수 입력사항 입니다.", "I999" );
- return;
- }
-
- if(isNull(model.getValue("/root/send/savedata/appcycle"))){
- messageBox ( "Cycle은 필수 입력사항 입니다.", "I999" );
- return;
- }
- if(isNull(model.getValue("/root/send/savedata/purpose"))){
- messageBox ( "사용목적은 필수 입력사항 입니다.", "I999" );
- return;
- }
-
- submit("TXMMO23001");
- opener.javascript.setParameter ( "SPMMO23000_rtn1", "Y" );
- window.close();
-
- ]]>
- </script>
- </button>
- <button id="btn_exit" class="btn4_letter2" style="left:315px; top:235px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|