123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- <?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>
- <prcsprescondlist>
- <prcsprescond>
- <pid/>
- <hngnm/>
- <prcpdd/>
- <prcpdept/>
- <prcpcd/>
- <prcpnm/>
- <execprcpstatcd/>
- <state/>
- <excuroom/>
- <rsrvdt/>
- <updtaft/>
- <execdt/>
- <rsrvrid/>
- <cnclresncd/>
- <execprcpuniqno/>
- </prcsprescond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </prcsprescondlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- </main>
- <send>
- <ddflag>prcpdd</ddflag>
- <fromdd/>
- <todd/>
- <suppdeptcd/>
- <orddeptcd/>
- <wardcd/>
- <pid/>
- <juminno/>
- <patnm/>
- <gb/>
- <excuroomcd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init>
- <cmb_info>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- </suppdept>
- </cmb_info>
- <baseinfo>
- <initexecprcpstatcd/>
- </baseinfo>
- </init>
- <hidden/>
- <temp/>
- <init2>
- <cmb_info>
- <initexcuroomcd>
- </initexcuroomcd>
- </cmb_info>
- </init2>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- <!-- 예약변경리스트조회-->
- <!--공통코드 조회-->
- <submission id="TRAEA00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- model.setValue("/root/send/todd" , getCurrentDate());
- model.setValue("/root/send/fromdd" , getCurrentDate());
-
- //*********************************************************************************************************************************************
- //담당 검사실 갖고오기
- submit("TRAEA01115",false);
-
- //담당 검사실 세팅
- model.setValue("/root/send/excuroomcd",model.getValue("/root/init/cmb_info/initexcuroomcd[1]/excuroomcd"));
- //*********************************************************************************************************************************************
-
- var gv_pid = getGlobalVariable("gv_pid", "A"); //글로벌변수로 넘겨준 등록번호값
-
- if(gv_pid != "") { //글로벌변수(등록번호)가 있는경우
- model.setValue("/root/send/pid", gv_pid);
- }
-
- btn_sea.dispatch("DOMActivate");
- model.setFocus("ipt_pid");
- ]]>
- </script>
- <submission id="TRAEA03209" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/main/prcsprescondlist"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:242px; height:14px; ">예약변경 및 취소내역 조회 (기능검사)</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:762px; ">
- <group id="grp_sea" style="left:0px; top:7px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:32px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption4" class="search_name" style="left:630px; top:7px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:1121px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var _frdt = model.getValue("/root/send/fromdd");
- var _todt = model.getValue("/root/send/todd");
-
- if ( _frdt == "" && _todt != "") {
- messageBox("검색하실 날짜 범위의 시작 일자를 입력해 주십시오." , "I999");
- model.setFocus("ipt_startrsrvdd");
- return;
- }
- if ( _frdt != "" && _todt == "") {
- messageBox("검색하실 날짜 범위의 마지막 일자를 입력해 주십시오." , "I999");
- model.setFocus("ipt_endrsrvdd");
- return;
- }
- if ( getDateInterval(_frdt, _todt) < 0 ) {
- messageBox("입력하신 날짜 범위로는 검색할 수 없습니다. 기준일자를 확인해 주십시오." , "I999");
- model.setFocus("ipt_startrsrvdd");
- return;
- }
- /*
- if (model.getValue("/root/send/pid") == "" && model.getValue("/root/send/juminno") == ""){
- messageBox("등록번호나 주민번호를 입력한 후 조회하시기 바랍니다.", "E999", "");
- return;
- }
- */
-
- submit("TRAEA03209");
-
- for (var i = 1; i < grd_rsrvcnclprescond.rows; i++){
- if (model.getValue("/root/main/prcsprescondlist/prcsprescond[" + i + "]/state") == "최종"){
- grd_rsrvcnclprescond.rowstyle(i, "data", "background-color") = "#ffcc99";
- }else{
- grd_rsrvcnclprescond.rowstyle(i, "data", "background-color") = "#ffffff";
- }
- }
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/send/pid" navindex="3" style="left:720px; top:7px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- inputEnterKey("btn_sea","DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:870px; top:7px; width:86px; height:17px; ">주민번호 :</caption>
- <input id="input2" ref="/root/send/juminno" navindex="4" format="999999-9999999" style="left:960px; top:7px; width:125px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/juminno") != ""){
- model.setValue("/root/send/gb", "2");
- model.refresh();
- btn_sea.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:228px; top:9px; width:11px; height:20px; ">~</caption>
- <caption id="caption12" class="search_name" style="left:365px; top:7px; width:106px; height:17px; ">검사/치료실 :</caption>
- <button id="button61" class="icon_search" navindex="2" style="left:825px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* @group : 개인별 예약현황조회
- * @ver : 2007.7.25
- * @by : 조원영
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호를 통한 환자 이름 조회
- */
- modal("SPPMC02500", "", "200", "200", "SPPMC02500", "/root/send/pid", "/root/send");
-
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid") ); // 등록번호 설정
- model.setValue("/root/send/gb", "1");
- model.refresh();
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:9px; top:7px; width:120px; height:17px; ">122222222222 :</caption>
- <input id="ipt_endrsrvdd" ref="/root/send/todd" class="input_default" navindex="2" inputtype="date" style="left:241px; top:7px; width:93px; height:19px; text-align:center; "/>
- <select1 id="cmb_ddflag" ref="/root/send/ddflag" class="combo_search" appearance="minimal" style="left:30px; top:7px; width:86px; height:19px; ">
- <choices>
- <item>
- <label>처방일자</label>
- <value>prcpdd</value>
- </item>
- <item>
- <label>예약일자</label>
- <value>rsrvdd</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/send/ddflag") == "rsrvdd") {
- caption4.visible = false;
- ipt_pid.visible = false;
- button61.visible = false;
- input2.visible = false;
- caption1.visible = false;
- }
- else if( model.getValue("/root/send/ddflag") == "prcpdd") {
- caption4.visible = true;
- ipt_pid.visible = true;
- button61.visible = true;
- input2.visible = true;
- caption1.visible = true;
- }
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_default" navindex="1" appearance="minimal" editmode="inputsearch" style="left:475px; top:7px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="ipt_startrsrvdd" ref="/root/send/fromdd" class="input_default" navindex="2" inputtype="date" style="left:130px; top:7px; width:93px; height:19px; text-align:center; "/>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:96px; x2:1195px; y2:96px; "/>
- <datagrid id="grd_rsrvcnclprescond" nodeset="/root/main/prcsprescondlist/prcsprescond" autoresize="false" caption="등록번호^환자명^처방일자^진료과(진료의)^처방코드^처방명^처방상태^구분^검사실^예약일시^변경일시^실시일시^예약자^사유^치료사^execprcpuniqno" colsep="^" colwidth="84, 70, 76, 152, 89, 194, 61, 37, 106, 114, 114, 114, 64, 288, 70, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:99px; width:1195px; height:661px; text-align:center; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="prcpdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="prcpdept" format="yyyy-mm-dd hh:nn" style="text-align:left; "/>
- <col ref="prcpcd" format="yyyy-mm-dd hh:nn" style="text-align:left; "/>
- <col ref="prcpnm" style="text-align:left; "/>
- <col ref="execprcpstatcd" style="text-align:left; "/>
- <col ref="state"/>
- <col ref="excuroom" visibility="hidden"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="updtaft" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="rsrvrid"/>
- <col ref="cnclresncd"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col visibility="hidden"/>
- </datagrid>
- <caption id="caption9" class="tit_2" style="left:0px; top:79px; width:121px; height:13px; ">예약변경내역현황</caption>
- <input id="opt_addr" ref="/root/main/prcsprescondlist/patinfolist/addr" class="output_fix" disabled="true" style="left:612px; top:51px; width:583px; height:19px; "/>
- <input id="opt_sex" ref="/root/main/prcsprescondlist/patinfolist/sex" class="output_fix" disabled="true" style="left:208px; top:51px; width:20px; height:19px; text-align:center; "/>
- <line id="line12" class="line_1" style="x1:0px; y1:47px; x2:1195px; y2:46px; "/>
- <input id="opt_hngnm" ref="/root/main/prcsprescondlist/patinfolist/hngnm" class="output_fix" disabled="true" style="left:52px; top:51px; width:85px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:231px; top:49px; width:50px; height:23px; vertical-align:middle; ">집전화</caption>
- <input id="opt_hometel" ref="/root/main/prcsprescondlist/patinfolist/hometel" class="output_fix" disabled="true" style="left:283px; top:51px; width:95px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:49px; width:50px; height:23px; vertical-align:middle; ">환자명</caption>
- <input id="opt_mpphontel" ref="/root/main/prcsprescondlist/patinfolist/mpphontel" class="output_fix" disabled="true" style="left:433px; top:51px; width:124px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:140px; top:49px; width:43px; height:23px; vertical-align:middle; ">S/A</caption>
- <caption id="caption7" class="cell_1" style="left:560px; top:49px; width:50px; height:23px; vertical-align:middle; ">주소</caption>
- <input id="opt_age" ref="/root/main/prcsprescondlist/patinfolist/age" class="output_fix" disabled="true" style="left:184px; top:51px; width:25px; height:19px; text-align:center; "/>
- <caption id="caption8" class="cell_1" style="left:381px; top:49px; width:50px; height:23px; vertical-align:middle; ">핸드폰</caption>
- <line id="line18" class="line_3" style="x1:0px; y1:72px; x2:1195px; y2:72px; "/>
- </group>
- <line id="line13" class="line_4" style="x1:1102px; y1:28px; x2:1102px; y2:45px; "/>
- </xhtml:body>
- </xhtml:html>
|