123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- <?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="">
- <send>
- <data>
- <pid/>
- <deptcd/>
- <fromDate/>
- <toDate/>
- <excuroomcd/>
- <term/>
- <rcpt>Y</rcpt>
- </data>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init>
- <cmb_info>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- </suppdept>
- </cmb_info>
- </init>
- <hidden>
- <source>
- <hngnm/>
- </source>
- </hidden>
- <main>
- <send/>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <booklist>
- <detail>
- <pid/>
- <hngnm/>
- <hometel/>
- <mpphontel/>
- <prcpdd/>
- <prcpcd/>
- <prcpnm/>
- <orddepthngnm/>
- <ioflag/>
- <rcpt/>
- <pno/>
- </detail>
- </booklist>
- </main>
- <init2>
- <cmb_info2>
- <initexcuroomcd>
- <excuroomcdnm/>
- <excuroomcdid/>
- </initexcuroomcd>
- </cmb_info2>
- </init2>
- </root>
- </instance>
- <!-- 예약조회-->
- <submission id="TRAEA00905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="root/main/booklist"/>
- <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/init2/cmb_info"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /*검색구분*/
- aezfSetSuppDeptcd();
- var _curDate = getCurrentDate();
- // ipt_date1.value = _curDate.toDate().getAddDate(-30,"D").getDateFormat("YYYYMMDD") ;
- //ipt_date2.value = getCurrentDate();
- ipt_date1.value = getCurrentDate();
- ipt_date2.value = getCurrentDate();
- submit("TRAEA01301"); // 검사치료실 가져오기
- if( instance1.selectSingleNode("/root/init/cmb_info/suppdept[suppdeptcd='" + model.getValue("/root/send/globalinstance/instance1") + "']") == null ){
- model.setValue("/root/send/globalinstance/instance1", "");
- }
- //*********************************************************************************************************************************************
- //담당 검사실 갖고오기
- submit("TRAEA01115",false);
-
- //담당 검사실 세팅
- model.setValue("/root/send/data/excuroomcd",model.getValue("/root/init2/cmb_info/initexcuroomcd[1]/excuroomcd"));
- //*********************************************************************************************************************************************
-
- var gv_pid = getGlobalVariable("gv_pid", "A"); //글로벌변수로 넘겨준 등록번호값
- if(gv_pid != "") { //글로벌변수(등록번호)가 있는경우
- model.setValue("/root/send/data/pid", gv_pid);
- }
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- <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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,802;2,784;">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">미예약자조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:65px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:10px; top:8px; width:94px; height:17px; ">처방일자 :</caption>
- <input id="ipt_date1" ref="/root/send/data/fromDate" class="input_default" inputtype="date" style="left:98px; top:6px; width:90px; height:19px; "/>
- <input id="ipt_date2" ref="/root/send/data/toDate" class="input_default" inputtype="date" style="left:210px; top:6px; width:90px; height:19px; "/>
- <line id="line13" class="line_4" style="x1:1116px; y1:6px; x2:1116px; y2:48px; "/>
- <caption id="caption1" style="left:191px; top:9px; width:25px; height:20px; ">~</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:1126px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var _fromdate = ipt_date1.value;
- var _todate = ipt_date2.value;
-
- if(_fromdate.length<8 && _todate.length<8){
- messageBox("날짜를","C001")
- }else{
- //model.setValue("root/send/data/deptcd","2160000000");
- model.setValue("/root/send/data/deptcd", model.getValue("/root/send/globalinstance/instance1"));
- submit("TRAEA00905");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/send/data/pid" class="input_search" style="left:98px; top:33px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- inputEnterKey("btn_sea","DOMActivate");
- }
- ]]>
- </script>
- </input>
- <output id="opt_patnm" ref="/root/hidden" class="output_fix" style="left:210px; top:33px; width:113px; height:19px; "/>
- <button id="button61" class="icon_search" style="left:189px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 환자조회
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data/pid","/root/main/send");
- model.setValue("/root/hidden/source/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/send/data/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:10px; top:34px; width:94px; height:17px; ">등록번호 :</caption>
- <caption id="caption12" class="search_name" style="left:726px; top:8px; width:106px; height:17px; ">검사/치료실 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/data/excuroomcd" class="combo_default" navindex="1" appearance="minimal" editmode="inputsearch" style="left:838px; top:6px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/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>
- <select1 id="cmb_deptcd" ref="/root/send/globalinstance/instance1" appearance="minimal" editmode="inputsearch" style="left:497px; top:6px; width:226px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdept">
- <label ref="depthngnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/globalinstance/instance1", cmb_deptcd.value);
- submit("TRAEA01301");
- //btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:408px; top:8px; width:86px; height:17px; ">지원부서 :</caption>
- <select1 id="cmb_term" ref="/root/send/data/term" class="combo_default" appearance="minimal" style="left:305px; top:6px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>일자선택</label>
- <value>0</value>
- </item>
- <item>
- <label>15일</label>
- <value>15</value>
- </item>
- <item>
- <label>30일</label>
- <value>30</value>
- </item>
- <item>
- <label>60일</label>
- <value>60</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- if(cmb_term.value == "0" )
- {
- ipt_date1.disabled = false;
- ipt_date2.disabled = false;
-
- }
- else
- {
- var date2 = ipt_date2.value;
- var term = cmb_term.value;
- ipt_date1.value = date2.toDate().getAddDate(-term,"D").getDateFormat("YYYYMMDD") ;
-
- ipt_date1.disabled = true;
- ipt_date2.disabled = true;
-
- }
-
-
-
-
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:408px; top:34px; width:86px; height:17px; ">수납여부 :</caption>
- <select1 id="radio1" ref="/root/send/data/rcpt" overflow="visible" appearance="full" cols="2" style="left:497px; top:34px; width:175px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>미수납포함</label>
- <value>N</value>
- </item>
- <item>
- <label>수납</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/booklist/detail" caption="등록번호^성명^주민번호^집전화^이동전화^처방일자^처방코드^처방명^처방의^입원/외래^수납^caption1^caption2" colsep="^" colwidth="87, 82, 69, 100, 100, 74, 95, 322, 139, 61, 45" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:90px; width:1195px; height:615px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="pno"/>
- <col ref="hometel"/>
- <col ref="mpphontel"/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="orddepthngnm"/>
- <col ref="ioflag"/>
- <col ref="rcpt"/>
- </datagrid>
- <caption id="caption10" class="tit_2" style="left:5px; top:70px; width:130px; height:13px; ">미예약자 현황</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:85px; x2:1194px; y2:85px; "/>
- </group>
- <button id="button89" class="btn6_letter2" style="left:0px; top:735px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPAEA03400", "XMLSTR", "/root/main/booklist/detail");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|