123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500 |
- <?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>표준간호과정 SET 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <dnar/>
- <stmtnm/>
- <tooltipvw/>
- <setyn/>
- <nursdiagstmtcd/>
- </cond>
- <stmtlist>
- <stmtinfo>
- <dnar/>
- <stmtcnts/>
- <rgstyn/>
- <stmtcd/>
- <dnarflag/>
- <attrcnt/>
- </stmtinfo>
- </stmtlist>
- <stmtclslist>
- <stmtclsinfo>
- <status/>
- <dnarflag/>
- <stmtcnts/>
- <fstrgstdt/>
- <stmtcd/>
- <nursdiagstmtcd/>
- <todd/>
- <attrcnt/>
- </stmtclsinfo>
- </stmtclslist>
- <nursdiaginfo>
- <nursdiagstmtcnts/>
- <nursdiagstmtcd/>
- </nursdiaginfo>
- <setstmtinfo>
- <laggrupnm/>
- <mdlgrupnm/>
- <smlgrupnm/>
- <smlgrupcd/>
- </setstmtinfo>
- <grupstmtsetinfo>
- <lrggrupinfo>
- <lrggruplist>
- <hngnm/>
- <grupcd/>
- <grupflag/>
- </lrggruplist>
- </lrggrupinfo>
- <detlgrupinfo>
- <detlgruplist>
- <hngnm/>
- <grupcd/>
- <depth/>
- <deptcd/>
- <grupflag/>
- </detlgruplist>
- </detlgrupinfo>
- <stmtsetinfo>
- <stmtsetlist>
- <status/>
- <dnar/>
- <stmtcnts/>
- <lnkdiag/>
- <stmtcd/>
- <grupcd/>
- <dnarflag/>
- <todd/>
- <nursdiaginfo/>
- <rownum/>
- <attrcnt/>
- </stmtsetlist>
- </stmtsetinfo>
- </grupstmtsetinfo>
- </main>
- <send/>
- <hidden>
- <refinfo>
- <retpath/>
- </refinfo>
- <retinfo>
- <stmtinfo/>
- </retinfo>
- </hidden>
- <init>
- <status>
- <item>
- <value>I</value>
- <label>신규</label>
- </item>
- <item>
- <value>D</value>
- <label>삭제</label>
- </item>
- <item>
- <value>-</value>
- <label>-</label>
- </item>
- </status>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //fInit();
- chkInstMG(); // 추가 2010-06-25 안도영
- ]]>
- </script>
- <submission id="TRMNR02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/stmtlist"/>
- <submission id="TRMNR02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/stmtclslist"/>
- <bind id="stmtclsinfo_status" ref="/root/main/stmtclslist/stmtclsinfo/status" readonly=""true""/>
- <submission id="TRMNR02003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grupstmtsetinfo/lrggrupinfo"/>
- <submission id="TRMNR02004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grupstmtsetinfo/detlgrupinfo"/>
- <submission id="TXMNR02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/stmtclslist"/>
- <submission id="TXMNR02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grupstmtsetinfo/stmtsetinfo"/>
- <submission id="TRMNR02005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grupstmtsetinfo/stmtsetinfo"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- <bind id="stmtsetinfo_dnar" ref="/root/main/grupstmtsetinfo/stmtsetinfo/stmtsetlist/dnar" readonly=""true""/>
- <bind id="stmtclsinfo_dnarflag" ref="/root/main/stmtclslist/stmtclsinfo/dnarflag" readonly=""true""/>
- <bind id="stmtsetlist_status" ref="/root/main/grupstmtsetinfo/stmtsetinfo/stmtsetlist/status" readonly=""true""/>
- <submission id="TRMNR02006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/stmtlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../emr/carerecweb/js/SMMNR02000.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;1,465;" 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:160px; height:14px; ">표준간호과정 set관리</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
- <caption id="caption42" class="tit_2" style="left:5px; top:80px; width:131px; height:13px; ">표준간호진술문</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:95px; x2:461px; y2:95px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:461px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:461px; height:60px; "/>
- <caption id="caption4" class="search_name" style="left:16px; top:9px; width:92px; height:17px; ">타입분류 :</caption>
- <line id="line17" class="line_4" style="x1:387px; y1:20px; x2:387px; y2:42px; "/>
- <caption id="caption53" class="search_name" style="left:16px; top:34px; width:100px; height:17px; ">진술문조건 :</caption>
- <button id="button61" class="icon_search" style="left:325px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue(xCondPath+"/setyn") == "Y"){
- modal("SPMNR02900");
- model.setValue(xCondPath+"/nursdiagstmtcd", model.getValue(xRetPath+"/stmtinfo/stmtcd"));
- fSearchStmtInfo();
- }else{
- messageBox("SET을 먼저","C002");
- return;
- }
- ]]>
- </script>
- </button>
- <select1 id="rdo_dnar" ref="/root/main/cond/dnar" class="radio_search" navindex="1" appearance="full" cols="5" overflow="visible" style="left:105px; top:10px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>ALL</label>
- <value>%</value>
- </item>
- <item>
- <label>D</label>
- <value>1D</value>
- </item>
- <item>
- <label>N</label>
- <value>2N</value>
- </item>
- <item>
- <label>A</label>
- <value>3A</value>
- </item>
- <item>
- <label>R</label>
- <value>4R</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_srchnm" ref="/root/main/cond/stmtnm" class="input_search" navindex="2" style="left:120px; top:34px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select id="chk_tooltipview" ref="/root/main/cond/tooltipvw" class="checkbox_search" navindex="3" overflow="visible" appearance="full" style="left:249px; top:37px; width:129px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>작성자 ToolTip 보기</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:398px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchStmtInfo();
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/main/cond/setyn" overflow="visible" appearance="full" style="left:271px; top:11px; width:54px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>SET</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue(xCondPath+"/setyn") == "Y"){
- fSearchStmtInfo();
- }else{
- model.setValue(xCondPath+"/nursdiagstmtcd","");
- model.removenodeset(xStmtListPath);
- grd_stmtlist.rebuild();
- }
- ]]>
- </script>
- </select>
- </group>
- <datagrid id="grd_stmtlist" nodeset="/root/main/stmtlist/stmtinfo" autoresize="true" caption="DNAR^진술문장^등록여부^stmtcd^dnarflag^attrcnt" colsep="^" colwidth="41, 319, 55, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:100px; width:461px; height:633px; ">
- <col ref="dnar" style="text-align:center; vertical-align:top; "/>
- <col ref="stmtcnts"/>
- <col ref="rgstyn" style="text-align:center; "/>
- <col ref="stmtcd"/>
- <col ref="dnarflag"/>
- <col ref="attrcnt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSendStmtInfo();
- ]]>
- </script>
- </datagrid>
- <button id="btn_grupstmtset" class="btn_sw" group="tab" selected="true" style="left:616px; top:10px; width:151px; height:22px; ">
- <caption>진술문 분류 등록</caption>
- <toggle case="GrupStmtSet" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchGrupInfo();
- ]]>
- </script>
- </button>
- <button id="btn_stndcareset" class="btn_sw" group="tab" selected="true" style="left:465px; top:10px; width:151px; height:22px; ">
- <caption>표준간호과정 SET등록</caption>
- <toggle case="StndCareSet" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenodeset(xStmtClsListPath);
- model.setValue(xNursDiagInfoPath+"/nursdiagstmtcnts","");
- model.setValue(xNursDiagInfoPath+"/nursdiagstmtcd","");
- // 주석처리 2010-06-25 안도영
- /*
- if ( !isNull(getUserId())
- && !isNull(model.getValue(xHardCodeList + "[cdid='"+ getUserId() +"']/cdid"))
- ){
- gAuthYN = "Y";
- btn_select.disabled = false;
- btn_delstndcareset.disabled = false;
- btn_savestndcareset.disabled = false;
-
- }else{
- gAuthYN = "N";
- btn_select.disabled = true;
- btn_delstndcareset.disabled = true;
- btn_savestndcareset.disabled = true;
-
- }
- */
- model.refresh();
- ]]>
- </script>
- </button>
- <switch id="swt_stmtset" style="left:465px; top:32px; width:730px; height:703px; border-color:#c7a3cf; border-style:solid; ">
- <case id="StndCareSet" selected="true" style="left:0px; top:0px; width:730px; height:703px; ">
- <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:153px; height:14px; ">표준간호과정 SET등록</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:723px; y2:25px; "/>
- <caption id="caption13" class="cell_1" style="left:5px; top:30px; width:120px; height:23px; vertical-align:middle; ">Nursing Diagnosis</caption>
- <line id="line2" class="line_2" style="x1:5px; y1:52px; x2:723px; y2:52px; "/>
- <datagrid id="grd_stndcarestmtlist" nodeset="/root/main/stmtclslist/stmtclsinfo" autoresize="true" caption="상태^DNAR^진술문장^등록일자^stmtcd^nursdiagstmtcd^todd^attrcnt" colsep="^" colwidth="40, 44, 466, 116, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:54px; width:718px; height:645px; ">
- <col ref="status" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/status/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="dnarflag" type="combo" style="text-align:center; vertical-align:top; ">
- <choices>
- <item>
- <label>D</label>
- <value>1D</value>
- </item>
- <item>
- <label>N</label>
- <value>2N</value>
- </item>
- <item>
- <label>A</label>
- <value>3A</value>
- </item>
- <item>
- <label>R</label>
- <value>4R</value>
- </item>
- </choices>
- </col>
- <col ref="stmtcnts"/>
- <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="stmtcd"/>
- <col ref="nursdiagstmtcd"/>
- <col ref="todd"/>
- <col ref="attrcnt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fDelGridRow();
- ]]>
- </script>
- </datagrid>
- <input id="ipt_nursdiagstmtcnts" ref="/root/main/nursdiaginfo/nursdiagstmtcnts" class="input_default" disabled="true" style="left:128px; top:31px; width:572px; height:19px; "/>
- <button id="btn_nursdiagsearch" class="icon_search" style="left:705px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCallNursDiagInfo();
- ]]>
- </script>
- </button>
- <button id="btn_delstndcareset" class="btn2_letter2" style="left:636px; top:4px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelGridRow();
- ]]>
- </script>
- </button>
- <button id="btn_savestndcareset" class="btn5_letter2" style="left:681px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- </case>
- <case id="GrupStmtSet">
- <caption id="caption2" class="tit_2" style="left:10px; top:10px; width:153px; height:14px; ">대분류</caption>
- <line id="line3" class="line_1" style="x1:5px; y1:25px; x2:230px; y2:25px; "/>
- <caption id="caption3" class="tit_2" style="left:10px; top:190px; width:153px; height:14px; ">상세분류정보</caption>
- <line id="line4" class="line_1" style="x1:5px; y1:205px; x2:230px; y2:205px; "/>
- <caption id="caption5" class="tit_2" style="left:240px; top:10px; width:131px; height:13px; ">표준간호진술문</caption>
- <line id="line5" class="line_1" style="x1:235px; y1:25px; x2:722px; y2:25px; "/>
- <line id="line6" class="line_2" style="x1:235px; y1:50px; x2:722px; y2:50px; "/>
- <datagrid id="grd_lrggruplist" nodeset="/root/main/grupstmtsetinfo/lrggrupinfo/lrggruplist" caption="대분류^grupcd" colsep="^" colwidth="178, 0,0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:30px; width:225px; height:150px; ">
- <col ref="hngnm"/>
- <col ref="grupcd"/>
- <col ref="grupflag"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClickedGrid("lrggrup");
- /* 기관별관리자 접속시 버튼권한 차등 설정 2010-06-24 안도영*/
- setBtnAuth();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_detlgruplist" nodeset="/root/main/grupstmtsetinfo/detlgrupinfo/detlgruplist" caption="중/소분류^grupcd^depth^deptcd^grupflag" colsep="^" colwidth="184, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:210px; width:225px; height:488px; ">
- <col ref="hngnm"/>
- <col ref="grupcd"/>
- <col ref="depth"/>
- <col ref="deptcd"/>
- <col ref="grupflag"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClickedGrid("detlgrup");
- ]]>
- </script>
- </datagrid>
- <button id="btn_delgrupstmtset" class="btn2_letter2" style="left:636px; top:4px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelGridRow();
- ]]>
- </script>
- </button>
- <button id="btn_savegrupstmtset" class="btn5_letter2" style="left:681px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <datagrid id="grd_stmtsetlist" nodeset="/root/main/grupstmtsetinfo/stmtsetinfo/stmtsetlist" autoresize="true" caption="상태^DNAR^진술문장^연결진단^stmtcd^grupcd^dnarflag^todd^nursdiaginfo^rownum^attrcnt" colsep="^" colwidth="39, 42, 299, 60, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:235px; top:50px; width:487px; height:647px; ">
- <col ref="status" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/status/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="dnar" type="combo" style="text-align:center; vertical-align:top; ">
- <choices>
- <item>
- <label>N</label>
- <value>1N</value>
- </item>
- <item>
- <label>D</label>
- <value>2D</value>
- </item>
- <item>
- <label>A</label>
- <value>3A</value>
- </item>
- <item>
- <label>R</label>
- <value>4R</value>
- </item>
- </choices>
- </col>
- <col ref="stmtcnts"/>
- <col ref="lnkdiag"/>
- <col ref="stmtcd"/>
- <col ref="grupcd"/>
- <col ref="dnarflag"/>
- <col ref="todd"/>
- <col ref="nursdiaginfo"/>
- <col ref="rownum"/>
- <col ref="attrcnt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fDelGridRow();
- ]]>
- </script>
- </datagrid>
- <output id="opt_lrggrupnm" ref="/root/main/setstmtinfo/laggrupnm" class="output_fix" style="left:235px; top:30px; width:130px; height:19px; "/>
- <output id="opt_mdlgrupnm" ref="/root/main/setstmtinfo/mdlgrupnm" class="output_fix" style="left:368px; top:30px; width:130px; height:19px; "/>
- <output id="opt_smlgrupnm" ref="/root/main/setstmtinfo/smlgrupnm" class="output_fix" style="left:501px; top:30px; width:200px; height:19px; "/>
- <button id="btn_srchnursdiag" class="icon_search" style="left:704px; top:30px; width:16px; height:16px; ">
- <caption/>
- </button>
- <button id="button1" class="btn2_letter2" style="left:145px; top:185px; width:42px; height:19px; ">
- <caption>닫힘</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i = grd_detlgruplist.fixedRows; i < grd_detlgruplist.rows; i++) {
- grd_detlgruplist.iscollapsed(i)=true;
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" style="left:190px; top:185px; width:42px; height:19px; ">
- <caption>펼침</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i = grd_detlgruplist.fixedRows; i < grd_detlgruplist.rows; i++) {
- grd_detlgruplist.iscollapsed(i)=false;
- }
- ]]>
- </script>
- </button>
- <button id="btn_excelgrupstmtset" class="btn2_letter2" style="left:591px; top:4px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "표준간호진술문_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- //2013/01/03 Start
- if (fileName != ""){
- // var fileName = window.fileDialog("save", ",", false, "표준간호진술문_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_stmtsetlist.saveExcel(fileName, "SheetName", true, true, "", "", "false");
- }
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="btn_select" class="btn2_letter2" style="left:418px; top:74px; width:49px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSendStmtInfo();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|