123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <cnstpatinfo>
- <cnstpatinfo>
- <genrdd/>
- <genrno/>
- <status/>
- <pid/>
- <hngnm/>
- <sa/>
- <valifromdd/>
- <valitodd/>
- <cnstorddeptcd/>
- <cnstorddrnm/>
- <cnstteamseq/>
- <coopteamcd/>
- <coopteamnm/>
- <orddd/>
- <cretno/>
- <ioflag/>
- <roomcd/>
- </cnstpatinfo>
- </cnstpatinfo>
- <cnstpathistlist>
- <cnstpathistlist>
- <genrdd/>
- <genrno/>
- <cnsttypecd/>
- <cnsttrgtcd/>
- <valitodd/>
- <cnstorddeptcd/>
- <cnstorddrid/>
- <pid/>
- <hngnm/>
- <sa/>
- <cnsttypenm/>
- <cnstdeptnm/>
- <valifromdd/>
- </cnstpathistlist>
- </cnstpathistlist>
- <cnstconfreclist>
- <cnstconfreclist>
- <genrdd/>
- <genrno/>
- <confrecno/>
- <confdt/>
- <conftitl/>
- </cnstconfreclist>
- </cnstconfreclist>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <tmpcnstpatinfo/>
- </hidden>
- <init>
- <cnsttypecombo/>
- <orddept/>
- <userlist/>
- <status/>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
- <submission id="TRMMO03602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
- <submission id="TRMMO03603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnstpathistlist"/>
- <submission id="TXMMO03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/tmp"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO03604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnstconfreclist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SPMMO03600();
- fChkStatus();
- ]]>
- </script>
- </model>
- <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"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO03600.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO04100.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="901" pageheight="510" guideline="2,784;1,885;1,901;2,490;2,154;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption18" class="tit_2" style="left:472px; top:8px; width:121px; height:13px; ">협진내역</caption>
- <line id="line17" class="line_1" style="x1:469px; y1:24px; x2:885px; y2:24px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:24px; x2:466px; y2:24px; "/>
- <caption id="caption1" class="tit_2" style="left:3px; top:9px; width:121px; height:14px; ">협진환자등록</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:29px; width:70px; height:24px; ">등록번호</caption>
- <caption id="caption4" class="cell_1" style="left:214px; top:29px; width:70px; height:24px; ">환자명</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:55px; width:70px; height:24px; ">성별/나이</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:81px; width:70px; height:23px; ">적용기간</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:131px; width:70px; height:23px; ">협진분류</caption>
- <button id="button37" class="btn2_letter2" style="left:378px; top:3px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnDel();
- fChkStatus();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter2" style="left:421px; top:3px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqExeSaveCnstPatInfo();
- fChkStatus();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" style="left:215px; top:133px; width:64px; height:19px; ">
- <caption>분류등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMMO03900");
- //분류등록 팝업 호출 후, 협진분류콤보 재조회
- var cnstorddeptcd = model.getValue(sCNSTPATINFO_PATH + "/cnstorddeptcd");
- //mmofReqGetCnstTypeComboList("/root/send/reqdata", "/root/init/cnsttypecombo", cnstorddeptcd);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter3" style="left:324px; top:3px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitCnstPatInfo();
- fChkStatus();
- ]]>
- </script>
- </button>
- <caption id="caption10" style="left:172px; top:85px; width:15px; height:20px; ">~</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:177px; x2:885px; y2:177px; "/>
- <caption id="caption11" class="tit_2" style="left:0px; top:162px; width:121px; height:13px; ">협진회의록</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:106px; width:70px; height:23px; ">상정과</caption>
- <caption id="caption13" class="cell_1" style="left:214px; top:107px; width:70px; height:23px; ">진료의</caption>
- <input id="cmb_cnstorddrid" ref="/root/main/cnstpatinfo/cnstpatinfo/cnstorddrnm" disabled="true" appearance="minimal" style="left:287px; top:109px; width:113px; height:19px; "/>
- <button id="btn_spctcle" class="icon_search" style="left:192px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- var pid = model.getValue(sCNSTPATINFO_PATH + "/pid");
- var hngnm = model.getValue(sCNSTPATINFO_PATH + "/hngnm");
- if((pid =="")&&(hngnm !="")){
- fPatSrch(hngnm, "2");
- } else if((pid !="")){
- fPatSrch(pid, "1");
- } else {
- modal("SPPMC02500")
- }
-
- model.setValue(sCNSTPATINFO_PATH +"/pid" ,model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue(sCNSTPATINFO_PATH +"/hngnm" ,model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- var age = model.getValue("/root/main/patinfo/patinfolist/age");
- var sex = model.getValue("/root/main/patinfo/patinfolist/sex");
- model.setValue(sCNSTPATINFO_PATH + "/sa", sex.concat("/").concat(age));
- */
- fPidTrim(sCNSTPATINFO_PATH + "/pid");
- setParameter("SPMMO017300_pid", model.getValue(sCNSTPATINFO_PATH + "/pid"));
- modal("SPMMO173000");
- var pid = getParameter("SPMMO017300_pid");
- var hngnm = getParameter("SPMMO017300_hngnm");
- var sa = getParameter("SPMMO017300_sa");
- var cretno = getParameter("SPMMO017300_cretno");
- var orddd = getParameter("SPMMO017300_orddd");
- var cnstdeptcd = getParameter("SPMMO017300_cnstdeptcd");
- var coopteamcd = getParameter("SPMMO017300_coopteamcd");
- var orddrnm = getParameter("SPMMO017300_orddrnm");
- var ioflag = getParameter("SPMMO017300_ioflag");
- fReqGetCnstPatHistList(); // 협진환자 이력조회
- model.setValue(sCNSTPATINFO_PATH + "/pid" , pid);
- model.setValue(sCNSTPATINFO_PATH + "/hngnm" , hngnm);
- model.setValue(sCNSTPATINFO_PATH + "/sa" , sa);
- model.setValue(sCNSTPATINFO_PATH + "/cretno" , cretno);
- model.setValue(sCNSTPATINFO_PATH + "/orddd" , orddd);
- model.setValue(sCNSTPATINFO_PATH + "/cnstorddeptcd", cnstdeptcd);
- model.setValue(sCNSTPATINFO_PATH + "/coopteamcd" , coopteamcd);
- model.setValue(sCNSTPATINFO_PATH + "/cnstorddrnm" , orddrnm);
- model.setValue(sCNSTPATINFO_PATH + "/ioflag" , ioflag);
-
- fReqGetCnstConfRecList(pid);
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_cnsttypecd" ref="/root/main/cnstpatinfo/cnstpatinfo/coopteamcd" appearance="minimal" style="left:74px; top:133px; width:138px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cnsttypecombo/M0525">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var coopteamcd = cmb_cnsttypecd.value;
- var coopteamnm = cmb_cnsttypecd.label;
- var cnsttrgtcd = model.getValue("/root/init/cnsttypecombo/cnsttypecombo[cnsttypecd='" + coopteamcd + "']/cnsttrgtcd");
- model.setValue(sCNSTPATINFO_PATH + "/coopteamcd" , coopteamcd);
- model.setValue(sCNSTPATINFO_PATH + "/coopteamnm" , coopteamnm);
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_pid" ref="/root/main/cnstpatinfo/cnstpatinfo/pid" navindex="1" autonext="false" imemode="disabled" maxlength="10" style="left:73px; top:31px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_spctcle", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/main/cnstpatinfo/cnstpatinfo/hngnm" navindex="2" autonext="false" imemode="hangul" style="left:287px; top:31px; width:113px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_spctcle", "DOMActivate");
- ]]>
- </script>
- </input>
- <output id="opt_sa" ref="/root/main/cnstpatinfo/cnstpatinfo/sa" class="output_fix" style="left:74px; top:57px; width:66px; height:19px; text-align:center; "/>
- <input id="ipt_valitodd" ref="/root/main/cnstpatinfo/cnstpatinfo/valitodd" class="input_s_essential" navindex="1" autonext="false" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:187px; top:84px; width:93px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_valifromdd.value > ipt_valitodd.value){
- messageBox("종료일이 시작일보다 작을 수", "I004");
- ipt_valifromdd.value = ipt_valitodd.value;
- model.refresh();
- return;
- }
- ]]>
- </script>
- </input>
- <input id="ipt_valifromdd" ref="/root/main/cnstpatinfo/cnstpatinfo/valifromdd" class="input_s_essential" navindex="1" autonext="false" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:74px; top:84px; width:93px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_valifromdd.value > ipt_valitodd.value){
- messageBox("시작일이 종요일보다 클 수", "I004");
- ipt_valitodd.value = ipt_valifromdd.value;
- model.refresh();
- return;
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_cnstorddeptcd" ref="/root/main/cnstpatinfo/cnstpatinfo/cnstorddeptcd" appearance="minimal" style="left:74px; top:109px; width:138px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <!-- // 상정과와 진료의는 상관관계 없음. : 2009. 02. 05 김영학
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- mmbfGetUserComboList("/root/send/reqdata" ,"/root/init/userlist", cmb_cnstorddeptcd.value, "0330");
- if(cmb_cnstorddrid.label == ""){cmb_cnstorddrid.select(0);} //진료의가 없는 경우, default로 첫번째 combo select
- mmofReqGetCnstTypeComboList("/root/send/reqdata", "/root/init/cnsttypecombo", cmb_cnstorddeptcd.value);
- model.refresh();
- ]]>
- </script>
- -->
- </select1>
- <datagrid id="grd_cnstpathistinfo" nodeset="/root/main/cnstpathistlist/cnstpathistlist" caption="genrdd^genrno^cnsttypecd^cnsttrgtcd^valitodd^cnstorddeptcd^cnstorddrid^pid^orddd^cretno^hngnm^sa^협진팀명^상정과^적용일" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 119, 96" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:470px; top:29px; width:415px; height:124px; ">
- <col ref="genrdd"/>
- <col ref="genrno"/>
- <col ref="coopteamcd"/>
- <col ref="cnstteamseq"/>
- <col ref="valitodd"/>
- <col ref="cnstorddeptcd"/>
- <col ref="cnstorddrid"/>
- <col ref="pid"/>
- <col ref="cretno"/>
- <col ref="orddd"/>
- <col ref="hngnm"/>
- <col ref="sa"/>
- <col ref="coopteamnm" style="text-align:center; "/>
- <col ref="cnstdeptnm" style="text-align:center; "/>
- <col ref="valifromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(isDataCell()==true){
- fClkCnstPatHistListGrid();
- fChkStatus();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button3" class="btn2_letter5" style="left:808px; top:156px; width:75px; height:19px; ">
- <caption>회의록작성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnCnstConfRec();
- ]]>
- </script>
- </button>
- <datagrid id="grd_cnstconflist" nodeset="/root/main/cnstconfreclist/cnstconfreclist" caption="genrdd^genrno^confrecno^회의일시^협진분류명^회의제목" colsep="^" colwidth="0, 0, 0, 100, 100, 659" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:182px; width:885px; height:308px; ">
- <col ref="genrdd"/>
- <col ref="genrno"/>
- <col ref="confrecno"/>
- <col ref="confdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="coopteamnm"/>
- <col ref="conftitl"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()){
- fDbClkGrdCnstConfRec();
-
- }
- ]]>
- </script>
- </datagrid>
- <output id="opt_status" ref="/root/init/status" style="left:325px; top:84px; width:75px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|