123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443 |
- <?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>
- <matnflag/>
- <dialflag/>
- <hngnm/>
- <pid/>
- <maintepatrgstdd1/>
- <maintepatrgstdd2/>
- <allsearchyn/>
- </cond>
- <dialhdmpglist>
- <dialhdmpginfo>
- <status/>
- <pid/>
- <hngnm/>
- <sexage/>
- <dialflag/>
- <memo/>
- <matnflag/>
- <maintepatrgstdd/>
- <fstdialdd/>
- <roomhospdialdd/>
- <rectdialdd/>
- <chhos/>
- <chnghospdd/>
- <chnghosphosp/>
- <endresnflag/>
- <fstrgstrid/>
- <fstrgstdt/>
- <viralmarker/>
- <histstat/>
- <olddialflag/>
- <indd/>
- <newElement/>
- <cassickkind/>
- <cassick/>
- </dialhdmpginfo>
- </dialhdmpglist>
- <paminfo/>
- <chklist>
- <chkinfo>
- <rsrvexistyn/>
- <dialflag/>
- </chkinfo>
- </chklist>
- </main>
- <send>
- <matnflag/>
- <dialflag/>
- <hngnm/>
- <pid/>
- <maintepatrgstdd1/>
- <maintepatrgstdd2/>
- <savedata/>
- <reqdata/>
- </send>
- <init>
- <mlist>
- <M0079>
- <cdid/>
- <cdnm/>
- </M0079>
- </mlist>
- </init>
- <hidden/>
- <temp>
- <gettoplist>
- <gettopinfo>
- <pid/>
- <cretno/>
- <seqno/>
- <instcd/>
- <indd/>
- <orddd/>
- <acptseqno/>
- <orgorddd/>
- </gettopinfo>
- </gettoplist>
- <paminfo/>
- </temp>
- </root>
- </instance>
- <submission id="TRMND01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dialhdmpglist"/>
- <submission id="TXMND01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- <submission id="TRMND00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/gettopinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //그래드 초기화
- model.removeNodeset("/root/main/dialhdmpglist/dialhdmpginfo");
- setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
- fDone();
-
- //20141215 kya 원인질환
- zbcfGetCodeList( new Array("M0079"), new Array("/root/init/mlist") ); //원인질환
- fSelect_dialhdmpglist();
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRMND01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chkinfo"/>
- </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" src="../../../emr/dialroomweb/js/SMMND01200.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">투석유지환자관리</caption>
- </group>
- <group id="grp_biz" scroll="l" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">유지구분 :</caption>
- <button id="btn_srchpatlist" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSelect_dialhdmpglist(); // 투석유지환자 리스트 조회
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <select1 id="cmb_matnFlag" ref="/root/main/cond/matnflag" class="combo_search" appearance="minimal" style="left:107px; top:7px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>유지</label>
- <value>1</value>
- </item>
- <item>
- <label>전원</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>
- <item>
- <label>중단</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //20100401-kys-유지구분이 유지일 경우 전체조회 체크 박스 활성화
- if(model.getValue("/root/main/cond/matnflag") == "1"){
- bol_allsearch.disabled = false;
- }else{
- bol_allsearch.disabled = true;
- ipt_maintepatrgstdd1.disabled = false;
- ipt_maintepatrgstdd2.disabled = false;
- model.makeValue("/root/main/cond/allsearchyn", "N");
- }
- fSelect_dialhdmpglist(); // 투석유지환자 리스트 조회
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dialFlag" ref="/root/main/cond/dialflag" class="combo_search" appearance="minimal" style="left:297px; top:8px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>HD</label>
- <value>H</value>
- </item>
- <item>
- <label>PD</label>
- <value>P</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSelect_dialhdmpglist(); // 투석유지환자 리스트 조회
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:205px; top:9px; width:87px; height:17px; ">투석구분 :</caption>
- <caption id="caption3" class="search_name" style="left:557px; top:10px; width:84px; height:17px; ">환 자 명 :</caption>
- <caption id="caption4" class="search_name" style="left:379px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption7" class="search_name" style="left:735px; top:10px; width:86px; height:17px; ">등록일자 :</caption>
- <caption id="caption8" style="left:914px; top:12px; width:17px; height:14px; font-weight:bold; ">~</caption>
- <input id="ipt_hngNm" ref="/root/main/cond/hngnm" class="input_search" style="left:644px; top:8px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchpatlist", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" maxlength="10" style="left:468px; top:8px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchpatlist", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_maintepatrgstdd1" ref="/root/main/cond/maintepatrgstdd1" class="input_search" inputtype="date" style="left:825px; top:8px; width:85px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fSelect_dialhdmpglist(); // 투석유지환자 리스트 조회
- ]]>
- </script>
- </input>
- <input id="ipt_maintepatrgstdd2" ref="/root/main/cond/maintepatrgstdd2" class="input_search" inputtype="date" style="left:930px; top:8px; width:85px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fSelect_dialhdmpglist(); // 투석유지환자 리스트 조회
- ]]>
- </script>
- </input>
- <bool id="bol_allsearch" checkvalue="Y,N" ref="/root/main/cond/allsearchyn" style="left:1030px; top:10px; width:25px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/cond/allsearchyn") == "Y"){
- ipt_maintepatrgstdd1.disabled = true;
- ipt_maintepatrgstdd2.disabled = true;
- }else{
- ipt_maintepatrgstdd1.disabled = false;
- ipt_maintepatrgstdd2.disabled = false;
- }
- ]]>
- </script>
- </bool>
- <caption id="cap_allsearch" style="left:1055px; top:10px; width:30px; height:15px; ">전체</caption>
- </group>
- <line id="line1" class="line_1" style="x1:1px; y1:65px; x2:1195px; y2:65px; "/>
- <button id="btn_delLine" class="btn2_letter3" style="left:1028px; top:43px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_dialhdmpglist.row > 0) {
- fSetstatusDel();
- }
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" style="left:5px; top:50px; width:135px; height:13px; vertical-align:middle; ">투석유지환자리스트</caption>
- <button id="button3" class="btn2_letter4" style="left:1084px; top:43px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveToExcel();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:961px; top:43px; width:64px; height:19px; ">
- <caption>도관기록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_dialhdmpglist.row > 0) {
- fPopup();
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn5_letter2" style="left:1151px; top:43px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSavelist();
- ]]>
- </script>
- </button>
- <datagrid id="grd_dialhdmpglist" nodeset="/root/main/dialhdmpglist/dialhdmpginfo" class="datagrid2" autoresize="false" caption="status^등록번호^환자명^S/A^투석
구분^비고^유지구분^유지환자
등록일자^최초투석일^본원투석
시작일^최종투석일^원인질환^원인질환^의뢰병원^Out일^전원병원^종료사유^최초등록자^최초등록일시^감염구분^최종입원일자^hisstat^olddialflag" colsep="^" colwidth="0, 66, 62, 53, 41, 72, 60, 75, 75, 76, 75, 67, 101, 110, 85, 100, 94, 0, 0, 101, 80, 0, 0" ellipsis="true" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:70px; width:1194px; height:674px; ">
- <col ref="status" style="text-align:right; "/>
- <col ref="pid"/>
- <col ref="hngnm" style="left:180px; top:32px; width:80px; height:20px; "/>
- <col ref="sexage" style="left:260px; top:32px; width:40px; height:20px; "/>
- <col disabled="true" ref="dialflag" type="combo">
- <choices>
- <item>
- <label>HD</label>
- <value>H</value>
- </item>
- <item>
- <label>PD</label>
- <value>P</value>
- </item>
- </choices>
- </col>
- <col ref="memo" type="input"/>
- <col ref="matnflag" type="combo" style="left:337px; top:23px; width:60px; height:23px; ">
- <choices>
- <item>
- <label>유지</label>
- <value>1</value>
- </item>
- <item>
- <label>전원</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>
- <item>
- <label>중단</label>
- <value>6</value>
- </item>
- </choices>
- </col>
- <col ref="maintepatrgstdd" format="yyyy-mm-dd"/>
- <col ref="fstdialdd" format="yyyy-mm-dd"/>
- <col ref="roomhospdialdd" format="yyyy-mm-dd"/>
- <col ref="rectdialdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="cassickkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0079">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="cassick"/>
- <col ref="chhos" type="input"/>
- <col ref="chnghospdd" type="inputdate"/>
- <col ref="chnghosphosp" type="input"/>
- <col ref="endresnflag" type="input" maxlength="30"/>
- <col ref="fstrgstrid"/>
- <col ref="fstrgstdt" type="combo">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- <item>
- <label>HBsAg</label>
- <value>2</value>
- </item>
- <item>
- <label>HBeAg</label>
- <value>3</value>
- </item>
- <item>
- <label>HCVAb</label>
- <value>4</value>
- </item>
- <item>
- <label>HIV</label>
- <value>5</value>
- </item>
- <item>
- <label>VDRL</label>
- <value>6</value>
- </item>
- <item>
- <label>기타</label>
- <value>7</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="viralmarker"/>
- <col ref="indd"/>
- <col ref="histstat"/>
- <col ref="olddialflag"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_dialhdmpglist.row;
- var iCol = grd_dialhdmpglist.col;
- var sMatnFlag = model.getValue("/root/main/dialhdmpglist/dialhdmpginfo[" +iRow+ "]/matnflag");
- var sDialFalgYN = "N"; // HD=>PD,PD=>HD로 투석구분 변경 시("Y")
- //** 투석구분, 유지구분 변경시 **//
- // if (iCol==5 || iCol==7) {
- // fChkRsrvExistYN(iRow, iCol); // 미래예약정보 존재여부 확인
- // }
- //** 투석구분 변경시 (전환) **//
- //if (iCol==5){
- // fChkRsrvExistYN(iRow, iCol); // 미래예약정보 존재여부 확인
- // sDialFalgYN = "Y"; // HD=>PD,PD=>HD로 투석구분 변경 시("Y")
- //}
- //** 유지구분 변경시 20090223-kys**//
- if (iCol==7){
- if(sMatnFlag != "1"){
- fChkRsrvExistYN(iRow, iCol); // 미래예약정보 존재여부 확인
- }
- if(sMatnFlag == "5"){
- messageBox("전환을 계속 진행하시려면 상단의 [저장]버튼을 누르십시오.", "I");
- sDialFalgYN = "Y"; // HD=>PD,PD=>HD로 투석구분 변경 시("Y")
- }
- }
- fSetstatusUp(iRow, iCol, sMatnFlag, sDialFalgYN); // dialhdmpglist 입력시 상태값 지정
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var iRow = grd_dialhdmpglist.row;
- var iCol = grd_dialhdmpglist.col;
- if( iRow> 0) {
- if(iCol!=5 && iCol!=6 && iCol!=7 && iCol!=12 && iCol!=13 && iCol!=14 && iCol!=15){
- var iRow = grd_dialhdmpglist.row;
- fsetHngBaseInfo(); // 상단정보 설정
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn2_letter8" style="left:850px; top:43px; width:108px; height:19px; ">
- <caption>투석간호정보조사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var xpos = event.screenX - 620;
- var ypos = event.screenY ;
- modal("SMMND00300", 1, xpos, ypos, "SMMND00300", "", "");
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|