123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- <?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>
- <stmtlist>
- <stmtinfo>
- <stmtcnts/>
- <stmtcd/>
- </stmtinfo>
- </stmtlist>
- <stmtmngt>
- <grupinfolist>
- <lrggrupnm/>
- <mdlgrupnm/>
- <smlgrupnm/>
- <grupcd/>
- </grupinfolist>
- </stmtmngt>
- <cond>
- <stmtnm/>
- <dnar/>
- </cond>
- <cond/>
- </main>
- <send/>
- <hidden>
- <refinfo/>
- <stmtinfo/>
- <stmtmngt/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSearchNursDiag();
- ]]>
- </script>
- <submission id="TRMNR05201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/stmtlist"/>
- <submission id="TRMNR05202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/stmtmngt"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- //노드 초기화
- model.removeNodeset("/root/main/stmtlist/stmtinfo");
- model.removeNodeset("/root/main/stmtmngt/grupinfolist");
- var sParamStmtcd = "";
-
- //진단리스트 셋팅
- function fSearchNursDiag(){
- model.setValue("/root/main/cond/dnar","2N");
- model.removenode("/root/send");
- model.makeNode("/root/send");
- model.copyNode("/root/send", "/root/main/cond");
- submit("TRMNR05201");
- sParamStmtcd = opener.javascript.getParameter("SPMNR05200_Param");
-
- if(sParamStmtcd == ""){
- grd_stmtinfo.row = 1;
- grd_stmtinfo.topRow = grd_stmtinfo.row;
- }else{
- var sChkRow = 0 ;
- for(var i = grd_stmtinfo.fixedRows ; i < grd_stmtinfo.rows - grd_stmtinfo.fixedRows ; i++) {
- if(sParamStmtcd == model.getValue("/root/main/stmtlist/stmtinfo["+ i +"]/stmtcd")){
- sChkRow = i;
- }
- }
- grd_stmtinfo.row = sChkRow;
- grd_stmtinfo.topRow = grd_stmtinfo.row;
- }
- OnDblClick();
- }
-
- //부모 창으로 데이터 전달
- function fSendStmtInfo(){
- var iRow = grd_stmtsetlist.row;
- if(iRow < 1) return;
- opener.javascript.setParameter("SPMNR05200_Return", model.getValue("/root/main/stmtmngt/grupinfolist["+iRow+"]/grupcd") );
- model.close();
- }
-
- //진단별 셋 정보 조회
- function OnDblClick(){
- var sRow = 0;
- sRow = grd_stmtinfo.row;
-
- if(sRow < 1) return;
- model.removenode("/root/send");
- //model.removenodeset(xTermInfoPath);
- var sToDate = getCurrentDate();
- var sToTime = getCurrentTime();
- model.makeValue("/root/send/stmtcd", model.getValue("/root/main/stmtlist/stmtinfo["+sRow+"]/stmtcd"));
- model.makeValue("/root/send/todd", sToDate + sToTime);
- if(submit("TRMNR05202")){
- model.copyNode("/root/hidden/stmtmngt","/root/main/stmtmngt");
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="890" pageheight="365" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:870px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:117px; height:14px; ">진단명 분류 찾기</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:870px; height:338px; ">
- <line id="line1" class="line_1" style="x1:500px; y1:10px; x2:865px; y2:10px; "/>
- <datagrid id="grd_stmtinfo" nodeset="/root/main/stmtlist/stmtinfo" class="datagrid1" caption="진단명^stmtcd" colsep="^" colwidth="474, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:15px; width:495px; height:322px; ">
- <col ref="stmtcnts" style="text-align:left; "/>
- <col ref="stmtcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // fSendStmtInfo();
- OnDblClick();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_stmtsetlist" nodeset="/root/main/stmtmngt/grupinfolist" caption="대분류^중분류^소분류" colsep="^" colwidth="110, 124, 111" mergecellsfixedrows="bycolrec" rowsep="|" style="left:500px; top:15px; width:365px; height:322px; ">
- <col ref="lrggrupnm"/>
- <col ref="mdlgrupnm"/>
- <col ref="smlgrupnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(sParamStmtcd != ""){
- fSendStmtInfo();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:10px; x2:495px; y2:10px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|