123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343 |
- <?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>
- <cond>
- <clsflag/>
- <recflag>1</recflag>
- <prestdt/>
- </cond>
- <detlgrup>
- <detlgruplist>
- <stat/>
- <clstlcd/>
- <hngnm/>
- <cnfmyn/>
- <timsinptyn/>
- <cmtinptyn/>
- <inptchkflag/>
- <engnm/>
- <desccnts/>
- <deptcd/>
- <refseq/>
- <supcd/>
- <todd/>
- <depth/>
- <grupflag/>
- <clsflag/>
- <recflag/>
- <sortseq/>
- <desccnts/>
- <basepnt/>
- </detlgruplist>
- </detlgrup>
- <lrggrup>
- <lrggruplist>
- <hngnm/>
- <clstlcd/>
- <grupflag/>
- </lrggruplist>
- </lrggrup>
- </main>
- <send/>
- <hidden>
- <detlgrup_sameinflevl_popmenu>
- <menu>
- <name>1차분류추가</name>
- <func>fAddRowLevelOne</func>
- </menu>
- <menu>
- <name>2차분류추가</name>
- <func>fAddRowLevelTwo</func>
- </menu>
- </detlgrup_sameinflevl_popmenu>
- <main/>
- </hidden>
- <asd/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- rdo_recflag.value="1";
- fShowSearchCombo(rdo_recflag.value, 'caption3', 'cmb_clsflag1', 'cmb_clsflag2');
- fSearch();
- ]]>
- </script>
- <!-- 중증도분류도구조회 -->
- <submission id="TRMNR02404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlgrup"/>
- <!-- 중증도분류도구저장 -->
- <submission id="TXMNR02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlgrup"/>
- </model>
- <!-- 중증도공통스크립트 -->
- <script type="javascript" src="../../../emr/carerecweb/js/SerDiag.js"/>
- <!-- 중증도분류도구에서사용되는스크립트 -->
- <script type="javascript" src="../../../emr/carerecweb/js/SMMNR024.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"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:320px; height:13px; ">중증도 및 위험사정 분류도구 관리</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:752px; ">
- <!-- 조회영역시작 -->
- <group id="grp_sea" style="left:1px; top:0px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; ">3</shape>
- <caption id="caption2" class="search_name" style="left:11px; top:9px; width:71px; height:17px; ">종 류 :</caption>
- <select1 id="rdo_recflag" ref="/root/main/cond/recflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:85px; top:9px; width:250px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>중증도</label>
- <value>1</value>
- </item>
- <item>
- <label>낙상 위험사정</label>
- <value>2</value>
- </item>
- <item>
- <label>욕창 위험사정</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fShowSearchCombo(rdo_recflag.value, 'caption3', 'cmb_clsflag1', 'cmb_clsflag2');
- fSearch();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:361px; top:9px; width:72px; height:17px; ">분 류 :</caption>
- <!-- 종류라디오버튼에서 중증도선택했을 때 보여줄 분류콤보 -->
- <select1 id="cmb_clsflag1" ref="/root/main/cond/clsflag" class="combo_search" appearance="minimal" style="left:436px; top:8px; width:109px; height:19px; ">
- <choices>
- <item>
- <label>일반병동</label>
- <value>1</value>
- </item>
- <item>
- <label>신생아 ICU</label>
- <value>2</value>
- </item>
- <item>
- <label>혈액투석</label>
- <value>3</value>
- </item>
- <item>
- <label>중환자실</label>
- <value>4</value>
- </item>
- <item>
- <label>정신과병동</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- <!-- 종류라디오버튼에서 낙상선택했을 때 보여줄 분류콤보 -->
- <select1 id="cmb_clsflag2" ref="/root/main/cond/clsflag" class="combo_search" appearance="minimal" style="left:436px; top:8px; width:109px; height:19px; ">
- <choices>
- <item>
- <!-- 낙상-아동 -> Humpty Dumpty Scale 변경 (2014.11.10)-->
- <label>Humpty Dumpty Scale</label>
- <value>1</value>
- </item>
- <item>
- <!-- 낙상-성인 -> Morse Scale 변경 (2011.03.17 ahn)-->
- <label>Morse Scale</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:559px; top:9px; width:86px; height:17px; ">기 준 일 :</caption>
- <input id="input5" ref="/root/main/cond/prestdt" class="input_search" inputtype="date" style="left:645px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </input>
- <line id="line13" class="line_4" style="x1:735px; y1:7px; x2:735px; y2:29px; "/>
- <button id="button1" class="btn1_letter2" style="left:740px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn1_letter6" style="left:799px; top:7px; width:104px; height:22px; ">
- <caption>1차분류추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRowLevelOne();
- //fAddSameLevlItemButton();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn1_letter6" style="left:906px; top:7px; width:104px; height:22px; ">
- <caption>2차분류추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRowLevelTwo();
- //fAddInfLevlItem();
- ]]>
- </script>
- </button>
- <button id="button8" class="btn1_letter2" style="left:1013px; top:7px; width:56px; height:22px; ">
- <caption>펼침</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenGroup();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn1_letter2" style="left:1072px; top:7px; width:56px; height:22px; ">
- <caption>닫침</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCloseGroup();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn1_letter2" style="left:1131px; top:7px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- </group>
- <!-- 조회영역종료 -->
- <!-- 그리드시작 -->
- <line id="line1" class="line_1" style="x1:1px; y1:37px; x2:1194px; y2:37px; "/>
- <datagrid id="grd_detlgrup" nodeset="/root/main/detlgrup/detlgruplist" visibility="visible" autoresize="true" caption="상태^분류코드^분류도구명^설명^점수^확인Y/N^횟수Y/N^서술Y/N^필수입력^정렬순서^시작일자^종료일자^영문이름^용도설명^부서코드^정렬^상위코드^종료일자^depth^grupflag^분류구분^기록구분" colsep="^" colwidth="40, 67, 232, 292, 42, 55, 55, 55, 55, 62, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:42px; width:1195px; height:708px; ">
- <col disabled="true" ref="stat" visibility="hidden"/>
- <col disabled="true" ref="clstlcd" style="text-align:center; "/>
- <col disabled="true" imemode="hangul" ref="hngnm" type="input" style="text-align:left; "/>
- <col imemode="hangul" ref="desccnts" type="input" style="text-align:left; "/>
- <col disabled="true" imemode="hangul" ref="basepnt" type="input" maxlength="3" style="text-align:center; "/>
- <col disabled="true" ref="cnfmyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="timsinptyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="cmtinptyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="inptchkflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="sortseq" type="input" maxlength="2" style="text-align:center; "/>
- <col disabled="true" ref="fromdd" type="inputdate" style="text-align:center; "/>
- <col ref="todd" type="inputdate" style="text-align:center; "/>
- <col ref="engnm" visibility="hidden"/>
- <col ref="desccnts" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="refseq" visibility="hidden"/>
- <col ref="supcd" visibility="hidden"/>
- <col ref="depth" visibility="hidden"/>
- <col ref="grupflag" visibility="hidden"/>
- <col ref="clsflag" visibility="hidden"/>
- <col ref="recflag" visibility="hidden"/>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- if(event.button == 3){ // RButton
- window.setPopupMenu(true, "/root/hidden/detlgrup_samelevl_popmenu/menu", "name", "func", false);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //그리드 변경되면 상태값을 변경한다.
- var curRow = grd_detlgrup.row;
- if(model.getValue('/root/main/detlgrup/detlgruplist[' + curRow + ']/stat') != 'i'){
- model.setValue('/root/main/detlgrup/detlgruplist[' + curRow + ']/stat', 'u');
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //상위분류를 선택하면 트리를 닫는다.
- var iRow = grd_detlgrup.row;
-
- if(model.getValue("/root/main/detlgrup/detlgruplist["+ iRow +"]/depth") == '1') {
- for(var i = iRow+1; i < grd_detlgrup.rows; i++){
- if(model.getValue("/root/main/detlgrup/detlgruplist["+ iRow +"]/depth") != model.getValue("/root/main/detlgrup/detlgruplist["+ i +"]/depth")) {
- if(grd_detlgrup.rowhidden(i)==true){
- grd_detlgrup.rowhidden(i)=false;
- }else {
- grd_detlgrup.rowhidden(i)=true;
- }
- } else {
- break;
- }
- }
- } else {
- return;
- }
- ]]>
- </script>
- </datagrid>
- <!-- 그리드종료 -->
- </group>
- </xhtml:body>
- </xhtml:html>
|