123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <?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>
- <drugmthdlist>
- <drugmthdlist>
- <mthdcd/>
- <drugmthdday/>
- <drugmthdtime/>
- <c_drugmthdday/>
- <c_drugmthdtime/>
- <medrexecflag/>
- </drugmthdlist>
- </drugmthdlist>
- <drugmthdinfo>
- <tims/>
- <abbrnm/>
- <s_interval/>
- <h_interval/>
- <m_interval/>
- <change_flag/>
- <drugtmspec/>
- <abbrcd/>
- <prcphopedd/>
- <indd/>
- <calctims/>
- </drugmthdinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <init/>
- <hidden>
- <param1/>
- <param2/>
- <rtn_param/>
- <mthdinfo>
- <pid/>
- <prcpdd/>
- <prcpno/>
- <prcphistno/>
- <execprcpno/>
- <carebasedd/>
- <carebasetm/>
- <prcpcd/>
- <execprcptims/>
- <carebasetmspec/>
- <status/>
- <execprcpuniqno/>
- </mthdinfo>
- </hidden>
- <temp>
- <timeinfo>
- <timelist>
- <timecd/>
- <timenm/>
- </timelist>
- </timeinfo>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TXMNR03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden/message"/>
- <submission id="TRMNR03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/timeinfo"/>
- </model>
- <script type="javascript" src="../../../emr/caremedirecweb/js/SPMNR03300.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.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"/>
- </xhtml:head>
- <xhtml:body pagewidth="650" pageheight="510" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption22" class="tit_2" style="left:5px; top:16px; width:100px; height:13px; ">투약시간 관리</caption>
- <caption id="caption13" class="cell_1" style="left:275px; top:337px; width:55px; height:23px; vertical-align:middle; ">시작</caption>
- <caption id="caption4" class="tit_2" style="left:280px; top:317px; width:100px; height:13px; ">Interval 지정</caption>
- <caption id="caption5" class="cell_1" style="left:397px; top:337px; width:55px; height:23px; vertical-align:middle; ">Interval</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:266px; x2:270px; y2:266px; "/>
- <caption id="caption7" style="left:487px; top:338px; width:30px; height:20px; vertical-align:middle; ">시간</caption>
- <caption id="caption8" style="left:572px; top:338px; width:13px; height:20px; vertical-align:middle; ">분</caption>
- <line id="line4" class="line_1" style="x1:275px; y1:332px; x2:585px; y2:332px; "/>
- <line id="line5" class="line_3" style="x1:275px; y1:360px; x2:625px; y2:360px; "/>
- <caption id="caption1" style="left:554px; top:338px; width:23px; height:20px; vertical-align:middle; ">분</caption>
- <datagrid id="grd_mthd" nodeset="/root/main/drugmthdlist/drugmthdlist" caption="용법^기존^기존^변경^변경^구
분|용법^Day^기준시간^Day^기준시간^구
분" colsep="^" colwidth="0, 40, 70, 40, 70, 27" defaultrows="0" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" navindex="1" style="left:0px; top:270px; width:270px; height:220px; ">
- <col ref="mthdcd" type="output" visibility="hidden" style="text-align:center; "/>
- <col ref="drugmthdday" type="output" style="text-align:center; "/>
- <col ref="drugmthdtime" type="output" format="hh:nn" maxlength="4" style="text-align:center; "/>
- <col imemode="alpha" ref="c_drugmthdday" type="input" style="text-align:center; "/>
- <col autonext="false" imemode="alpha" ref="c_drugmthdtime" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
- <col ref="medrexecflag" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- //----------------------------------------(20080927)
- // Day : -3~3
- // 기준시간 : 0~2400까지
- var pGrd = grd_mthd;
- var col = pGrd.col;
- var row = pGrd.row;
- //alert(pGrd.row);
-
- //시간
- if (col == pGrd.colRef("c_drugmthdday") ) {
- if ( pGrd.valueMatrix(row,col) < -3 ) {
- alert("Day는 -3 ~ 3 일 사이에 변경가능합니다");
- pGrd.valueMatrix(row,col) = "-3";
- model.refresh();
- return;
- }
- if ( pGrd.valueMatrix(row,col) > 3) {
- alert("Day는 -3 ~ 3 일 사이에 변경가능합니다");
- pGrd.valueMatrix(row,col) = "3";
- model.refresh();
- return;
- }
- }
- //time
- if (col == pGrd.colRef("c_drugmthdtime") ) {
- if ( pGrd.valueMatrix(row,col) < 0 ) {
- alert("기준시간은 0 ~ 2400 시간 사이에 변경가능합니다");
- pGrd.valueMatrix(row,col) = "0001";
- model.refresh();
- return;
- }
- // if (pGrd.valueMatrix(row,col) = "0000")
- // pGrd.valueMatrix(row,col) = "0001";
- if ( pGrd.valueMatrix(row,col) > 2400 ) {
- alert("기준시간은 0 ~ 2400 시간 사이에 변경가능합니다");
- pGrd.valueMatrix(row,col) = "2400";
- model.refresh();
- return;
- }
- }
- //----------------------------------------(20080927)
- grd_mthd.row = grd_mthd.row + 1;
- grd_mthd.dispatch("onentercell")
-
- ]]>
- </script>
- </datagrid>
- <output id="opt_tims" ref="/root/main/drugmthdinfo/tims" style="left:57px; top:38px; width:25px; height:19px; text-align:left; vertical-align:middle; "/>
- <output id="opt_mthd" ref="/root/main/drugmthdinfo/abbrnm" visibility="hidden" style="left:460px; top:65px; width:168px; height:19px; text-align:left; vertical-align:middle; "/>
- <input id="ipt_hinterval" ref="/root/main/drugmthdinfo/h_interval" class="input_default" navindex="3" imemode="alpha" maxlength="2" style="left:455px; top:338px; width:30px; height:19px; text-align:center; "/>
- <input id="ipt_sinterval" ref="/root/main/drugmthdinfo/s_interval" class="input_default" navindex="2" imemode="alpha" format="hh:nn" style="left:333px; top:338px; width:60px; height:19px; text-align:center; "/>
- <input id="ipt_minterval" ref="/root/main/drugmthdinfo/m_interval" class="input_default" navindex="4" imemode="alpha" maxlength="2" style="left:520px; top:338px; width:30px; height:19px; text-align:center; "/>
- <button id="btn_save" class="btn5_letter2" navindex="7" style="left:225px; top:245px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveDrugmthd();
- ]]>
- </script>
- </button>
- <button id="btn_interval" class="btn2_letter2" navindex="7" style="left:580px; top:312px; width:42px; height:19px; ">
- <caption>반영</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveInterval();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:280px; top:317px; width:100px; height:13px; ">Interval 지정</caption>
- <line id="line2" class="line_1" style="x1:275px; y1:332px; x2:625px; y2:332px; "/>
- <button id="button1" class="btn2_letter2" navindex="7" style="left:580px; top:245px; width:42px; height:19px; ">
- <caption>반영</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fTimeApply();
-
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:275px; y1:265px; x2:625px; y2:265px; "/>
- <select1 id="cmb_mthd" ref="/root/main/drugmthdinfo/drugtmspec" class="combo_search" navindex="1" appearance="minimal" style="left:276px; top:271px; width:305px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/timeinfo/timelist">
- <label ref="timenm"/>
- <value ref="timecd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption9" class="cell_1" style="left:0px; top:37px; width:55px; height:23px; vertical-align:middle; ">횟수 :</caption>
- <output id="output1" ref="/root/main/drugmthdinfo/abbrcd" visibility="hidden" style="left:280px; top:65px; width:90px; height:19px; text-align:left; vertical-align:middle; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:60px; x2:625px; y2:60px; "/>
- <line id="line7" class="line_3" style="x1:277px; y1:291px; x2:625px; y2:291px; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:32px; x2:625px; y2:32px; "/>
- <output id="out_prcphopedd" ref="/root/main/drugmthdinfo/prcphopedd" visibility="hidden" style="left:372px; top:65px; width:85px; height:19px; text-align:left; vertical-align:middle; "/>
- <caption id="caption10" class="cell_1" style="left:105px; top:37px; width:49px; height:23px; vertical-align:middle; ">입원일</caption>
- <output id="out_indd" ref="/root/main/drugmthdinfo/indd" visibility="visible" style="left:155px; top:38px; width:90px; height:19px; text-align:left; vertical-align:middle; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:250px; width:100px; height:13px; ">시간대 정보</caption>
- <caption id="caption11" class="tit_2" style="left:0px; top:83px; width:100px; height:13px; ">처방리스트</caption>
- <line id="line10" class="line_1" style="x1:0px; y1:98px; x2:625px; y2:98px; "/>
- <datagrid id="grd_prcplist" nodeset="/root/hidden/param1/list" caption="처방코드^처방명^용법명^처방적용일^" colsep="^" colwidth="93, 258, 172, 77" defaultrows="0" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" navindex="1" style="left:0px; top:103px; width:625px; height:130px; ">
- <col ref="prcpcd" type="output" style="text-align:left; "/>
- <col ref="prcpnm" type="output" style="text-align:left; "/>
- <col ref="drugmthdspccd" type="output" style="text-align:left; "/>
- <col ref="prcphopedd" type="output" style="text-align:center; "/>
- </datagrid>
- <line id="line9" class="line_3" style="x1:270px; y1:269px; x2:270px; y2:491px; "/>
- <caption id="caption12" class="tit_2" style="left:278px; top:249px; width:100px; height:13px; ">공통 지정</caption>
- </xhtml:body>
- </xhtml:html>
|