123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>Clinical Rule 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <toggle/>
- <inpttypecd/>
- <condbutton>THEN</condbutton>
- <alertcdflag/>
- <cpgno/>
- <cpghistseq/>
- <slipgrdnm/>
- <slipcondgrdnm/>
- </cond>
- </main>
- <send>
- <reqdata/>
- <savedata>
- <monlist>
- </monlist>
- </savedata>
- </send>
- <init>
- <M0505/>
- <M0506/>
- <M0507/>
- <M0517/>
- <M0508/>
- <M0509/>
- <M0510/>
- <M0513/>
- <M0514/>
- <M0606/>
- <P0313/>
- </init>
- <hidden>
- <target/>
- <target_desc>조건구분 병실 선택 시 리턴값</target_desc>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- zbcfGetCodeList(new Array("M0505", "M0506", "M0507", "M0517", "M0508", "M0509", "M0510", "M0513", "M0514", "M0606", "P0313")
- , new Array("/root/init/M0505", "/root/init/M0506", "/root/init/M0507", "/root/init/M0517", "/root/init/M0508", "/root/init/M0509", "/root/init/M0510", "/root/init/M0513", "/root/init/M0514", "/root/init/M0606", "/root/init/P0313"));
- //M0606에 대한 처리 임시 추가 by sonjy 20100721 추후 삭제 처리 필요
- var m0606lst = instance1.selectNodes("/root/init/M0606/M0606");
- if( m0606lst != null && m0606lst.length > 0 ){
- var cdnm = "";
- var cdid = "";
- for( var i = 1 ; i <= m0606lst.length ; i++ ){
- cdnm = model.getValue("/root/init/M0606/M0606["+i+ "]/cdnm");
- cdid = model.getValue("/root/init/M0606/M0606["+i+ "]/cdid");
- model.setValue( "/root/init/M0606/M0606["+i+ "]/cdnm" , cdid + "_" + cdnm );
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ]]>
- </script>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- var bDisableMode = "false" ; // by sonjy 20100705 grid delete 기능 조정 ( 오른쪽 마우스 )
-
- function fClose() {
- window.close();
- }
-
- /**
- * @group :
- * @ver : 2010.06.10
- * @by : sonjy
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 권한에 버튼 초기화 => master일 경우 개인 set은 수정 불가. master가 아닐 경우 필수set은 수정 불가.
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSetCtrlAuth(){
- button7.disabled = false ; //적용
- button1.disabled = false ; //삭제
-
- btn_multiorddept.disabled = false ;
- rdo_essnyn.disabled = false ;
- rdo_recvrflag.disabled = false ;
- rdo_alertgrde.disabled = false ;
- btn_addslipcond.disabled = false ;
- btn_delslipcond.disabled = false ;
- //grd_slipcondlist.disabled = false ;
- rdo_alertcondflag.disabled = false ;
- rdo_recvrflag.disabled = false ;
- btn_cpgmntrflag.disabled = false ;
- rdo_cpgmntrflag.disabled = false ;
- rdo_ifcondcnt.disabled = false ;
- btn_delalertcdflag.disabled= false ;
- txt_guidedocucnts.disabled= false ;
- cmb_comnusewrdcd.disabled= false ;
- rdo_sliptypecd.disabled= false ;
- bDisableMode = "false" ;
-
- var slipkindcd = model.getValue("/root/main/mntrheaderinfo/slipkindcd");
- if( (model.getValue("/root/hidden/userauthinfoflag" ) == "M" && slipkindcd == "P" ) ||
- (model.getValue("/root/hidden/userauthinfoflag" ) != "M" && slipkindcd != "P" ) ){
- // button7.disabled = true ;
- button1.disabled = true ;
- btn_multiorddept.disabled = true ;
- rdo_essnyn.disabled = true ;
- rdo_recvrflag.disabled = true ;
- rdo_alertgrde.disabled = true ;
- btn_addslipcond.disabled = true ;
- btn_delslipcond.disabled = true ;
- //grd_slipcondlist.disabled = true ;
- rdo_alertcondflag.disabled = true ;
- rdo_recvrflag.disabled = true ;
- btn_cpgmntrflag.disabled = true ;
- rdo_cpgmntrflag.disabled = true ;
- rdo_ifcondcnt.disabled = true ;
- btn_delalertcdflag.disabled= true ;
- if( grd_slipcondlist.rowStatus(grd_slipcondlist.rows) == 0) grd_slipcondlist.removeItem();
- bDisableMode = "true" ;
- txt_guidedocucnts.disabled= true ;
- cmb_comnusewrdcd.disabled= true ;
- rdo_sliptypecd.disabled= true;
-
- if( model.getValue("/root/hidden/userauthinfoflag" ) != "M" && slipkindcd != "P" && model.getValue("/root/main/mntrheaderinfo/essnyn") == "N" ) {
- button7.disabled = false ;
- } else {
- button7.disabled = true ; //적용
- }
-
- }
-
- if ( model.getValue("/root/hidden/userauthinfoflag" ) != "M" ) {
- btn_multiorddept.disabled = true ;
- rdo_essnyn.disabled = true ;
- rdo_sliptypecd.disabled = true ;
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="845" pageheight="635" guideline="2,629;">
- <group id="grp_btn" style="left:5px; top:600px; width:825px; height:30px; ">
- <button id="button7" navindex="6" class="btn4_letter2" style="left:708px; top:3px; width:56px; height:22px; ">
- <caption>적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveSlipMaster();
- ]]>
- </script>
- </button>
- <button id="button8" class="btn4_letter2" style="left:766px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <import id="import1" src="SPMMD06100_ClinicalRole관리.xrw" style="left:5px; top:38px; width:825px; height:560px; "/>
- <caption id="cap_slipinfo" class="tit_2" style="left:300px; top:22px; width:142px; height:13px; ">Rule 상세내역</caption>
- <caption id="cap_sliplist" class="tit_2" style="left:7px; top:22px; width:142px; height:13px; ">Rule 리스트</caption>
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:139px; height:14px; ">Clinical Rule 관리</caption>
- <button id="btn_addslipinfo" class="btn2_letter2" style="left:744px; top:17px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddSlipInfo();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter2" style="left:788px; top:17px; width:45px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelSlipInfo();
- ]]>
- </script>
- </button>
- <button id="btn_resizegrid" class="btn2_letter2" style="left:245px; top:18px; width:42px; height:19px; ">
- <caption>
- <![CDATA[>>]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetSlipListSizeEx();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|