123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580 |
- <?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>
- <fromdd/>
- <todd/>
- <title/>
- <careaim/>
- <statservice/>
- <needservice/>
- <data/>
- <cnt/>
- </cond>
- <confinfo>
- <conflist>
- <confseq/>
- <confdd/>
- <title/>
- </conflist>
- </confinfo>
- <confdetlinfo>
- <confdetllist>
- <confseq/>
- <confdd/>
- <starttm/>
- <endtm/>
- <confplce/>
- <cmt/>
- <title/>
- <confcontent/>
- </confdetllist>
- <confatdlist>
- <attendnm/>
- <attendid/>
- <instcd/>
- <deptnm/>
- </confatdlist>
- <confpatlist>
- <roomcd/>
- <pid/>
- <patnm/>
- <sa/>
- <orddeptnm/>
- <orddrnm/>
- <diagnm/>
- </confpatlist>
- </confdetlinfo>
- </main>
- <send/>
- <init>
- <confdetllist>
- <confseq/>
- <confdd/>
- <starttm/>
- <endtm/>
- <confplce/>
- <cmt/>
- <title/>
- <confcontent/>
- </confdetllist>
- </init>
- <temp>
- <confdetlinfo/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var pCode = "'H01'"; // 조회할 CdGrupID 코드정보
- var dt = getCurrentDate();
-
- var sChkdd = getCurrentDate();
- var sCalcdd = fCalcdate(-30, dt);
-
- model.setValue(ipt_fromdd.attribute("ref"),sCalcdd );
- model.setValue(ipt_todd.attribute("ref"), dt);
-
- model.removeNodeset(grd_confatdlist.nodeset);
- model.removeNodeset(grd_confpatlist.nodeset);
-
- fDisabledCntrl(true);
-
- fSearch() ;
-
- ]]>
- </script>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmblist"/>
- <submission id="TRMNH07101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/confinfo"/>
- <submission id="TRMNH07102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata2" resultref="/root/main/confdetlinfo"/>
- <submission id="TRMNH07104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata2" resultref="/root/main/confdetlinfo"/>
- <submission id="TXMNH07101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- <submission id="TXMNH07102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.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/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- var curRow = -1;
- //조회버튼 눌렀을 때.
- function fSearch() {
- if(model.getValue("/root/main/cond/fromdd") == "" || model.getValue("/root/main/cond/todd") == ""){
- messageBox("조회기간을 입력해주십시오.", "I");
- return;
- }
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNH07101");
-
- grd_conflist.row = curRow;
-
- }
-
- //상세조회(회의내역 선택시)
- function fSearchDetl() {
- model.makeNode("/root/send/reqdata2");
- model.makeValue("/root/send/reqdata2/confseq", grd_conflist.valueMatrix(grd_conflist.row, grd_conflist.colRef("confseq")));
-
- submit("TRMNH07102");
- }
-
- //저장
- function fSave() {
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/main/confdetlinfo/confdetllist");
- model.makeValue("/root/send/savedata/confatdlist", getGridUpdateData(grd_confatdlist));
- model.makeValue("/root/send/savedata/confpatlist", getGridUpdateData(grd_confpatlist));
-
- submit("TXMNH07101");
- fSearch();
-
- if(curRow >= grd_conflist.fixedRows) {
- fSearchDetl();
- }
- }
-
-
- //초기화
- function fClear(){
-
- model.removeNodeset("/root/main/confdetlinfo");
- model.makeNode("/root/main/confdetlinfo/confdetllist");
-
- model.copyNode("/root/main/confdetlinfo/confdetllist", "/root/init/confdetllist");
-
- curRow = -1;
-
- model.refresh();
- }
-
- function fDisabledCntrl(flag) {
- ipt_confdd.disabled = flag;
- ipt_starttm.disabled = flag;
- ipt_endtm.disabled = flag;
- ipt_confplce.disabled = flag;
- tar_cmt.disabled = flag;
- ipt_title.disabled = flag;
-
- tar_confcontent.disabled = flag;
-
- btn_addattd.disabled = flag;
- btn_delattd.disabled = flag;
- btn_addpat.disabled = flag;
- btn_delpat.disabled = flag;
-
- btn_chngsize.disabled = flag;
-
- grd_confatdlist.disabled = flag;
- grd_confpatlist.disabled = flag;
- }
-
- function fCalcdate(calcn, calcd){
-
- calcd = calcd.toDate("YYYYMMDD");
- calcd = calcd.getAddDate(calcn , "D");
- calcd = calcd.getDateFormat("YYYYMMDD");
-
- return calcd;
- }
- function LPAD(s, c, n) {
- if (! s || ! c || s.length >= n) {
- return s;
- }
- var max = (n - s.length)/c.length;
-
- for (var i = 0; i < max; i++) {
- s = c + s;
- }
- return s;
- }
-
-
- function Getpatlist(){
- model.makeNode("/root/send/reqdata2");
- model.makeValue("/root/send/reqdata2/confseq", grd_conflist.valueMatrix(1, grd_conflist.colRef("confseq")));
- model.makeValue("/root/send/reqdata2/newflag", "Y");
-
- submit("TRMNH07104");
- model.makeNode("/root/main/confdetlinfo/confdetllist");
- model.copyNode("/root/main/confdetlinfo/confdetllist", "/root/init/confdetllist");
- model.setValue("/root/main/confdetlinfo/confdetllist/confdd", getCurrentDate());
- model.refresh();
- curRow = 1;
- for(var i = grd_confpatlist.fixedRows; i < grd_confpatlist.rows; i++) {
- grd_confpatlist.addStatus(i, "insert");
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="font-family:돋움체; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" style="left:0px; top:0px; width:1195px; height:776px; font-family:굴림; vertical-align:middle; ">
- <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; font-family:돋움체; vertical-align:middle; ">다학제간치료계획</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:110px; x2:495px; y2:110px; font-family:돋움체; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:96px; width:135px; height:13px; font-family:돋움체; ">회의내역</caption>
- <datagrid id="grd_conflist" nodeset="/root/main/confinfo/conflist" caption="순번^일자^제목" colsep="^" colwidth="0, 91, 383" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:115px; width:495px; height:660px; font-family:돋움체; ">
- <col ref="confseq" visibility="hidden"/>
- <col ref="confdd" type="inputdate" style="text-align:center; "/>
- <col ref="title"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_conflist.isCell(event.target) && grd_conflist.mouseRow >= grd_conflist.fixedrows ) {
- fDisabledCntrl(false);
- fSearchDetl();
- curRow = grd_conflist.row;
-
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:20px; width:495px; height:65px; font-family:돋움체; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:495px; height:65px; font-family:굴림; "/>
- <caption id="caption3" class="search_name" style="left:5px; top:10px; width:85px; height:17px; font-family:돋움체; ">조회기간:</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:90px; top:10px; width:95px; height:19px; font-family:굴림; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:200px; top:10px; width:95px; height:19px; font-family:굴림; "/>
- <caption id="caption4" style="left:183px; top:14px; width:20px; height:15px; font-family:굴림; text-align:center; ">~</caption>
- <line id="line13" class="line_4" style="x1:416px; y1:19px; x2:416px; y2:41px; "/>
- <button id="button3" class="btn1_letter2" style="left:430px; top:20px; width:56px; height:22px; font-family:굴림; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDisabledCntrl(true);
- curRow = -1;
- fSearch() ;
- fClear();
-
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:5px; top:35px; width:92px; height:17px; font-family:돋움체; ">제 목:</caption>
- <input id="ipt_patnm" ref="/root/main/cond/title" class="input_search" style="left:90px; top:35px; width:270px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption5" class="tit_2" style="left:505px; top:21px; width:135px; height:13px; font-family:돋움체; ">회의 및 계획내역</caption>
- <line id="line2" class="line_1" style="x1:505px; y1:35px; x2:1190px; y2:35px; font-family:돋움체; "/>
- <button id="button1" class="btn4_letter2" style="left:1078px; top:13px; width:56px; height:22px; font-family:돋움체; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:1021px; top:13px; width:56px; height:22px; font-family:돋움체; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = messageBox("팀회의 및 다학제간 치료계획내역을 정말로 삭제하시겠습니까?", "Q");
- if(rtn == "6") {
- model.makeValue("/root/send/savedata/confseq", ipt_confseq.value);
- model.makeValue("/root/send/savedata/delyn", "Y");
- submit("TXMNH07102");
-
- button3.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:963px; top:13px; width:56px; height:22px; font-family:돋움체; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClear();
- fDisabledCntrl(false);
- Getpatlist();
- ]]>
- </script>
- </button>
- <line id="line8" class="line_2" style="x1:505px; y1:244px; x2:1188px; y2:244px; font-family:돋움체; "/>
- <button id="btn_addattd" class="btn2_letter2" style="left:1103px; top:43px; width:42px; height:19px; font-family:돋움체; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_confatdlist.addRow();
- ]]>
- </script>
- </button>
- <button id="btn_delattd" class="btn2_letter2" style="left:1147px; top:43px; width:42px; height:19px; font-family:돋움체; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var status = grd_confatdlist.rowStatus(grd_confatdlist.row);
-
- if(status == "1" || status =="3") {
- grd_confatdlist.deleteRow(grd_confatdlist.row);
- } else {
- grd_confatdlist.rowStatus(grd_confatdlist.row) = "4";
- }
- ]]>
- </script>
- </button>
- <input id="ipt_confplce" ref="/root/main/confdetlinfo/confdetllist/confplce" navindex="4" style="left:592px; top:89px; width:278px; height:19px; font-family:돋움체; "/>
- <input id="ipt_starttm" ref="/root/main/confdetlinfo/confdetllist/starttm" navindex="2" format="hh:nn" validateformat="true" style="left:592px; top:65px; width:95px; height:19px; font-family:돋움체; "/>
- <textarea id="tar_cmt" ref="/root/main/confdetlinfo/confdetllist/cmt" navindex="5" style="left:592px; top:113px; width:278px; height:105px; font-family:돋움체; vertical-align:top; "/>
- <caption id="caption11" class="tit_2" style="left:877px; top:49px; width:135px; height:13px; font-family:돋움체; ">참석자 명단</caption>
- <textarea id="tar_confcontent" ref="/root/main/confdetlinfo/confdetllist/confcontent" navindex="7" style="left:592px; top:247px; width:598px; height:108px; font-family:돋움체; vertical-align:top; "/>
- <caption id="caption12" class="cell_1" style="left:505px; top:222px; width:84px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">제 목</caption>
- <datagrid id="grd_confatdlist" nodeset="/root/main/confdetlinfo/confatdlist" caption="참석자^부서^부서^caption1^caption2^caption3^confseq" colsep="^" colwidth="77, 51, 152, 100, 100, 100, 1" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:875px; top:65px; width:315px; height:153px; font-family:돋움체; ">
- <col ref="attendnm" type="inputbutton" style="text-align:center; "/>
- <col ref="inst" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>본원</label>
- <value>031</value>
- </item>
- <item>
- <label>칠곡</label>
- <value>032</value>
- </item>
- </choices>
- </col>
- <col ref="deptnm" type="input" style="margin-left:5; "/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="attendid" visibility="hidden"/>
- <col ref="attendseq" visibility="hidden"/>
- <col ref="confseq" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- modal("SPZSU10103");
-
- var iParam = getParameter("SPZSU10103_");
- if(iParam != ""){
- model.removeNodeset("/root/hidden/onerowselect");
- model.makeNode("/root/hidden/onerowselect");
- setCSVToNode("/root/hidden/onerowselect", iParam);
-
- var row = grd_confatdlist.rows-grd_confatdlist.fixedRows;
- var nodePath = grd_confatdlist.nodeset;
-
- for(var i=1; i<=instance1.selectNodes("/root/hidden/onerowselect/list").length;i++){
-
- if(instance1.selectNodes(nodePath + "[attendnm='"+model.getValue("/root/hidden/onerowselect/list["+i+"]/usernm")+"']").length > 0){
- continue;
- }
-
- if(!isNull(grd_confatdlist.valueMatrix(row,grd_confatdlist.colRef("attendnm")))){
- grd_confatdlist.addRow();
- row++;
- }
-
- model.makeValue(nodePath + "["+row+"]/attendid", model.getValue("/root/hidden/onerowselect/list["+i+"]/userid") );
- model.setValue(nodePath + "["+row+"]/attendnm", model.getValue("/root/hidden/onerowselect/list["+i+"]/usernm") );
- model.setValue(nodePath + "["+row+"]/inst", model.getValue("/root/hidden/onerowselect/list["+i+"]/dutplceinstcd") );
- model.setValue(nodePath + "["+row+"]/deptcd", model.getValue("/root/hidden/onerowselect/list["+i+"]/dutplcecd") );
- model.setValue(nodePath + "["+row+"]/deptnm", model.getValue("/root/hidden/onerowselect/list["+i+"]/dutplcenm") );
- }
-
- clearParameter("SPZSU10103_");
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption13" class="cell_1" style="left:505px; top:246px; width:84px; height:112px; font-family:돋움체; text-align:center; vertical-align:middle; ">회의내용</caption>
- <input id="ipt_confdd" ref="/root/main/confdetlinfo/confdetllist/confdd" navindex="1" inputtype="date" style="left:592px; top:41px; width:95px; height:19px; font-family:돋움체; "/>
- <input id="ipt_confseq" ref="/root/main/confdetlinfo/confdetllist/confseq" visibility="hidden" style="left:775px; top:41px; width:95px; height:19px; font-family:돋움체; "/>
- <line id="line3" class="line_2" style="x1:505px; y1:62px; x2:870px; y2:62px; font-family:돋움체; "/>
- <line id="line4" class="line_2" style="x1:505px; y1:86px; x2:870px; y2:86px; font-family:돋움체; "/>
- <caption id="caption8" class="cell_1" style="left:690px; top:64px; width:84px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">종료시간</caption>
- <input id="ipt_endtm" ref="/root/main/confdetlinfo/confdetllist/endtm" navindex="3" format="hh:nn" validateformat="true" style="left:775px; top:65px; width:95px; height:19px; font-family:돋움체; "/>
- <line id="line5" class="line_2" style="x1:505px; y1:110px; x2:870px; y2:110px; font-family:돋움체; "/>
- <line id="line6" class="line_2" style="x1:505px; y1:220px; x2:1188px; y2:220px; font-family:돋움체; "/>
- <line id="line7" class="line_3" style="x1:875px; y1:63px; x2:1190px; y2:63px; font-family:돋움체; "/>
- <input id="ipt_title" ref="/root/main/confdetlinfo/confdetllist/title" navindex="6" style="left:592px; top:223px; width:598px; height:19px; font-family:돋움체; "/>
- <caption id="caption6" class="cell_1" style="left:505px; top:40px; width:84px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">일 자</caption>
- <caption id="caption7" class="cell_1" style="left:505px; top:64px; width:84px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">시작시간</caption>
- <caption id="caption9" class="cell_1" style="left:505px; top:88px; width:84px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; ">장 소</caption>
- <caption id="caption10" class="cell_1" style="left:505px; top:112px; width:84px; height:109px; font-family:돋움체; text-align:center; vertical-align:middle; ">비 고</caption>
- <line id="line9" class="line_1" style="x1:505px; y1:380px; x2:1190px; y2:380px; font-family:돋움체; "/>
- <datagrid id="grd_confpatlist" nodeset="/root/main/confdetlinfo/confpatlist" class="datagrid2" caption="병실^등록번호^환자명^S/A^진료과^주치의^진단명^치료목표^상태
/제공서비스^향후 계획
/필요서비스^caption1^caption2^caption3" colsep="^" colwidth="40, 60, 60, 41, 84, 61, 185, 120, 200, 200, 100, 100, 100" explorerbar="sort" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:505px; top:385px; width:685px; height:390px; font-family:돋움체; ">
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="diagnm"/>
- <col ref="careaim" type="inputbutton"/>
- <col ref="statservice" type="inputbutton"/>
- <col ref="needservice" type="inputbutton"/>
- <col ref="cretdd" visibility="hidden"/>
- <col ref="crettm" visibility="hidden"/>
- <col ref="confseq" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_confpatlist.mouseRow >= grd_confpatlist.fixedrows ) {
- var careaim = grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("careaim"));
- var statservice = grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("statservice"));
- var needservice = grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("needservice"));
-
- model.setValue("/root/main/cond/careaim", careaim);
- model.setValue("/root/main/cond/statservice", statservice);
- model.setValue("/root/main/cond/needservice", needservice);
-
- tar_careaim.refresh();
- tar_statservice.refresh();
- tar_needservice.refresh();
- group1.visible = true;
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var col = grd_confpatlist.col;
-
- if(grd_confpatlist.isCell(event.target) && grd_confpatlist.mouseRow >= grd_confpatlist.fixedrows ) {
- if(col != grd_confpatlist.colRef("careaim") && col != grd_confpatlist.colRef("statservice") && col != grd_confpatlist.colRef("needservice") ) {
- var careaim = grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("careaim"));
- var statservice = grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("statservice"));
- var needservice = grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("needservice"));
-
- model.setValue("/root/main/cond/careaim", careaim);
- model.setValue("/root/main/cond/statservice", statservice);
- model.setValue("/root/main/cond/needservice", needservice);
-
- tar_careaim.refresh();
- tar_statservice.refresh();
- tar_needservice.refresh();
- group1.visible = true;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_confpatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_addpat" class="btn2_letter2" style="left:1101px; top:360px; width:42px; height:19px; font-family:돋움체; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMNH07100", "", event.clientX-539, event.clientY - 350);
- ]]>
- </script>
- </button>
- <button id="btn_chngsize" class="btn2_letter5" visibility="hidden" style="left:1024px; top:360px; width:75px; height:19px; font-family:돋움체; ">
- <caption>확대/축소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <caption id="caption14" class="tit_2" style="left:505px; top:366px; width:135px; height:14px; font-family:돋움체; ">호스피스 환자명단</caption>
- <button id="btn_delpat" class="btn2_letter2" style="left:1145px; top:360px; width:42px; height:19px; font-family:돋움체; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var status = grd_confpatlist.rowStatus(grd_confpatlist.row);
-
- if(status == "1" || status =="3") {
- grd_confpatlist.deleteRow(grd_confpatlist.row);
- } else {
- grd_confpatlist.rowStatus(grd_confpatlist.row) = "4";
- }
- ]]>
- </script>
- </button>
- <button id="button7" class="btn4_letter2" style="left:1135px; top:13px; width:56px; height:22px; font-family:돋움체; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var attendnm;
- var inst;
- var deptnm;
- var attlist = "";
- var rows = grd_confatdlist.rows - grd_confatdlist.fixedRows;
-
-
- for(var i = grd_confatdlist.fixedRows; i < grd_confatdlist.rows; i++) {
- attendnm = grd_confatdlist.valueMatrix(i, grd_confatdlist.colRef("attendnm"));
- inst = grd_confatdlist.labelMatrix(i, grd_confatdlist.colRef("inst"));
- deptnm = grd_confatdlist.valueMatrix(i, grd_confatdlist.colRef("deptnm"));
-
- //공백 특수문자처리함.(자리수 맞추기위해);
- attlist += LPAD(attendnm, " ", 3) + " " + LPAD(inst, " " , 2) + " " + deptnm;
- if(i != grd_confatdlist.rows - 1) {
- attlist += "\n";
- }
- }
-
- model.makeValue("/root/main/confdetlinfo/confdetllist/attdlist", attlist);
-
- exeReportPreview("RPMNH07100", "XMLSTR");
-
- ]]>
- </script>
- </button>
- <line id="line10" class="line_3" style="x1:505px; y1:357px; x2:1190px; y2:357px; font-family:돋움체; "/>
- <group id="group1" visibility="hidden" style="left:505px; top:140px; width:685px; height:620px; border-style:solid; ">
- <textarea id="tar_careaim" ref="/root/main/cond/careaim" style="left:85px; top:30px; width:595px; height:133px; vertical-align:top; "/>
- <textarea id="tar_statservice" ref="/root/main/cond/statservice" style="left:85px; top:168px; width:595px; height:282px; vertical-align:top; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:454px; width:84px; height:139px; font-family:돋움체; text-align:center; vertical-align:middle; ">
- <![CDATA[향후계획/
- 필요서비스]]>
- </caption>
- <textarea id="tar_needservice" ref="/root/main/cond/needservice" style="left:85px; top:455px; width:595px; height:135px; vertical-align:top; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:165px; x2:680px; y2:165px; font-family:돋움체; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:30px; width:84px; height:136px; font-family:돋움체; text-align:center; vertical-align:middle; ">치료목표</caption>
- <line id="line12" class="line_2" style="x1:0px; y1:452px; x2:680px; y2:452px; font-family:돋움체; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:592px; x2:680px; y2:592px; font-family:돋움체; "/>
- <caption id="caption16" class="cell_1" style="left:0px; top:167px; width:84px; height:286px; font-family:돋움체; text-align:center; vertical-align:middle; ">
- <![CDATA[상태/
- 제공서비스]]>
- </caption>
- <button id="button5" class="btn4_letter2" style="left:570px; top:595px; width:56px; height:22px; font-family:돋움체; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var careaim = model.getValue(tar_careaim.attribute("ref"));
- var statservice = model.getValue(tar_statservice.attribute("ref"));
- var needservice = model.getValue(tar_needservice.attribute("ref"));
- grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("careaim")) = careaim;
- grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("statservice")) = statservice;
- grd_confpatlist.valueMatrix(grd_confpatlist.row, grd_confpatlist.colRef("needservice")) = needservice;
-
- var status = grd_confpatlist.rowStatus(grd_confpatlist.row);
-
- if(status == "0") {
- grd_confpatlist.rowStatus(grd_confpatlist.row) = "2";
- }
-
- group1.visible = false;
- ]]>
- </script>
- </button>
- <button id="button6" class="btn4_letter2" style="left:625px; top:595px; width:56px; height:22px; font-family:돋움체; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.visible = false;
- ]]>
- </script>
- </button>
- <line id="line15" class="line_1" style="x1:-1px; y1:25px; x2:679px; y2:25px; font-family:돋움체; "/>
- <caption id="caption18" class="tit_2" style="left:-1px; top:11px; width:205px; height:15px; ">치료목표/제공서비스/필요서비스</caption>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|