123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708 |
- <?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>
- <ordfromdd/>
- <ordtodd/>
- <orddeptcd/>
- <orddr/>
- <pid/>
- <patnm/>
- <rsrvflag1>Y</rsrvflag1>
- <rsrvflag2>Y</rsrvflag2>
- <rsrvflag3>Y</rsrvflag3>
- <rsrvflag4>Y</rsrvflag4>
- <rsrvflag5>Y</rsrvflag5>
- <rsrvflag6>Y</rsrvflag6>
- <rsrvflag7/>
- <nursacptyn>Y</nursacptyn>
- <prntusge/>
- <prcpspecflag>Y</prcpspecflag>
- <orddeptnm/>
- <orddrnm/>
- <cnt>0</cnt>
- <ordclsdeptflag/>
- <supdeptcd/>
- <gettdayacptyn>N</gettdayacptyn>
- <chktdayacptyn>N</chktdayacptyn>
- <prntmthd/>
- <telyn/>
- <drmemoinclyn/>
- <rrgstyn/>
- </cond>
- <outrsrvpatlist>
- <outrsrvpatinfo>
- <orddd/>
- <ordtm/>
- <pid/>
- <patnm/>
- <sexage/>
- <rrgstno/>
- <centcdnm/>
- <orddeptnm/>
- <subdeptcdnm/>
- <usernm/>
- <fsexamflag/>
- <rsrvflag/>
- <calcyn/>
- <chrtflag/>
- <chrtflage/>
- <insukind/>
- <req/>
- <hometel/>
- <mpphontel/>
- <addr/>
- <careacpt/>
- <prcpiss/>
- <remfact/>
- </outrsrvpatinfo>
- </outrsrvpatlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <req/>
- <reqdata/>
- </send>
- <init>
- <comcd/>
- <orddept/>
- <orddr>
- <orddr/>
- </orddr>
- <menu>
- <item>
- <name>피부과출력</name>
- <func>fPrintSkin</func>
- <popval>-</popval>
- </item>
- <item>
- <name>안과출력</name>
- <func>fPrintEye</func>
- <popval>-</popval>
- </item>
- </menu>
- </init>
- <hidden>
- <zsd>
- <resultref/>
- </zsd>
- </hidden>
- <temp>
- <printdata/>
- <boarddata>
- <outrsrvpatlist>
- <outrsrvpatinfo/>
- </outrsrvpatlist>
- </boarddata>
- <tmpprntrsrvtm/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //11-28일 서미영선생님 요청(응급간호에서의 출력버튼 비활성화)
- var menu = getScreenMenuParameter();
- if( menu != 'N'){ //외래간호에서의 화면이 아니면..
- button4.disabled = true; //출력버튼 비활성화..
- }
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNO01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" add="bottom" resultref="/root/main/outrsrvpatlist"/>
- <submission id="TRMNO01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/temp/boarddata/outrsrvpatlist"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
- <submission id="TRMNO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/orddr"/>
- <submission id="TRMNO01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/outrsrvpatlist"/>
- <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- </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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/outcareweb/js/SMMNO01800.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript">
- <![CDATA[
- function fSubmitOnScroll() {
- if(grd_OutRsrvPatList.vscroll.attribute("max") == grd_OutRsrvPatList.vscroll.attribute("pos") && grd_OutRsrvPatList.rows == 1001) {
- model.setValue("/root/main/cond/offset", grd_OutRsrvPatList.rows - grd_OutRsrvPatList.fixedRows);
- fBtnRefClicked();
- }
- }
-
- function fPrintSkin() {
- //fSetPatInfos(); // 환자상단 올리기
-
- model.removeNodeset("/root/temp/printdata");
- model.makeNode("/root/temp/printdata");
-
- var orddd = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("orddd"));
- var pid = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("pid"));
- var sexage = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("sexage"));
- var usernm = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("usernm"));
- var patnm = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("patnm"));
- var rsrvflag = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("rsrvflag"));
- var ordtm = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("ordtm"));
- var fsexamflag = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("fsexamflag"));
- var rcptdd = grd_OutRsrvPatList.valueMatrix(grd_OutRsrvPatList.row,grd_OutRsrvPatList.colRef("rcptdd"));
-
-
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/orddd", orddd);
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/pid", pid);
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/sexage", sexage);
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/usernm", usernm);
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/patnm", patnm);
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/rsrvflag", rsrvflag);
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/ordtm", ordtm);
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/fsexamflag", fsexamflag);
- model.makeValue("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo/rcptdd", rcptdd);
-
- exeReportPreview("RPMNO01804", "XMLSTR", "", "", "true", "false", "", "", "", "true");
- }
-
- function fPrintEye() {
- model.removenode("/root/temp/printdata");
- //send 재구성
- //model.makeValue("/root/temp/printdata","");
- model.makeNode("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo");
-
-
- var selectedRows = grd_OutRsrvPatList.selectedRows;
- for (var i=0; i< selectedRows; i++) {
- copyNodesetType("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo" , "/root/main/outrsrvpatlist/outrsrvpatinfo["+ grd_OutRsrvPatList.selectedrow(i) +"]", "after");
- }
-
- model.removeNode("/root/temp/printdata/outrsrvpatlist/outrsrvpatinfo[pid = null]");
-
- exeReportPreview("RPMNO01803", "XMLSTR", "", "", "true", "", "", "", "", "true");//201100404_미리보기없이출력_kys
-
- }
- ]]>
- </script>
- </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:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">외래진료예약 환자 조회</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; font-family:돋움체; ">
- <shape id="roundrect3" class="roundrect_example" appearance="roundrect" style="left:5px; top:0px; width:1020px; height:24px; font-family:돋움체; background-color:#fffbf2; border-color:#7cbbdd; "/>
- <output id="opt_cnt" ref="/root/main/cond/cnt" style="left:5px; top:4px; width:35px; height:19px; font-family:돋움체; font-size:10pt; font-weight:bold; text-align:right; "/>
- <caption id="caption10" style="left:45px; top:4px; width:130px; height:20px; font-family:돋움체; font-weight:bold; vertical-align:middle; ">건이 조회되었습니다</caption>
- <caption id="caption32" style="left:175px; top:5px; width:20px; height:15px; font-family:돋움체; background-color:#999999; "/>
- <caption id="caption33" style="left:198px; top:6px; width:70px; height:15px; font-family:돋움체; ">사망환자</caption>
- <caption id="caption17" style="left:254px; top:5px; width:20px; height:15px; font-family:돋움체; background-color:#ffff00; "/>
- <caption id="caption18" style="left:280px; top:6px; width:55px; height:15px; font-family:돋움체; ">수납 VIP</caption>
- </group>
- <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
- <datagrid id="grd_OutRsrvPatList" nodeset="/root/main/outrsrvpatlist/outrsrvpatinfo" class="datagrid2" caption="진료일^예약
시간^등록번호^환자명^S/A^주민번호^센터^진료과^하위부서^진료의^초진^예약
구분^수납^재진
챠트^재진
챠트^기타
구분^보험유형^전화번호1^전화번호2^주소^caption1^caption2^caption3^caption4^remfact" colsep="^" colwidth="79, 53, 77, 78, 41, 107, 53, 109, 100, 59, 52, 70, 20, 15, 15, 61, 82, 105, 106, 340, 100, 100, 100, 100, 0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:1px; top:100px; width:1194px; height:605px; font-family:돋움체; ">
- <col ref="orddd" format="yyyy-mm-dd" style="font-family:돋움체; text-align:center; "/>
- <col ref="ordtm" format="hh:nn" style="font-family:돋움체; text-align:center; "/>
- <col ref="pid" style="font-family:돋움체; text-align:left; "/>
- <col ref="patnm" style="font-family:돋움체; text-align:left; "/>
- <col ref="sexage" style="font-family:돋움체; text-align:left; "/>
- <col ref="rrgstno" style="font-family:돋움체; text-align:center; "/>
- <col ref="centcdnm" style="font-family:돋움체; "/>
- <col ref="orddeptnm" style="font-family:돋움체; "/>
- <col ref="subdeptcdnm" style="font-family:돋움체; "/>
- <col ref="usernm" style="font-family:돋움체; text-align:center; "/>
- <col ref="fsexamflag" style="font-family:돋움체; text-align:center; "/>
- <col ref="rsrvflag" style="font-family:돋움체; text-align:center; "/>
- <col ref="calcyn" style="font-family:돋움체; text-align:center; "/>
- <col ref="chrtflag" style="font-family:돋움체; text-align:center; "/>
- <col ref="chrtflage" style="font-family:돋움체; text-align:center; "/>
- <col ref="req" style="font-family:돋움체; text-align:left; "/>
- <col ref="insukind" style="font-family:돋움체; text-align:center; "/>
- <col ref="hometel" style="font-family:돋움체; text-align:center; "/>
- <col ref="mpphontel" style="font-family:돋움체; text-align:center; "/>
- <col ref="addr" style="font-family:돋움체; "/>
- <col ref="specordyn" visibility="hidden"/>
- <col ref="eyedeptyn" visibility="hidden"/>
- <col ref="medamtpostyn" visibility="hidden"/>
- <col ref="rcptdd" visibility="hidden"/>
- <col ref="remfact" style="font-family:돋움체; "/>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- // fSubmitOnScroll();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_OutRsrvPatList.sortClear();
- grd_OutRsrvPatList.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(grd_OutRsrvPatList.isCell(event.target) && grd_OutRsrvPatList.mouseRow >= grd_OutRsrvPatList.fixedrows){
- if(event.button==3) {
- window.setPopupMenu(true, "/root/init/menu/item", "name", "func", false);
- }
- } else {
- window.setPopupMenu(false);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:1px; y1:95px; x2:1195px; y2:95px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:80px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:80px; font-family:돋움체; "/>
- <line id="line13" class="line_4" style="x1:1120px; y1:19px; x2:1120px; y2:61px; font-family:돋움체; "/>
- <caption id="caption3" class="search_name" style="left:6px; top:10px; width:86px; height:17px; font-family:돋움체; ">진료일자:</caption>
- <caption id="caption2" class="search_name" style="left:321px; top:10px; width:69px; height:17px; font-family:돋움체; ">진료과:</caption>
- <caption id="caption4" class="search_name" style="left:486px; top:10px; width:69px; height:17px; font-family:돋움체; ">진료의:</caption>
- <caption id="caption7" class="search_name" style="left:638px; top:10px; width:86px; height:17px; font-family:돋움체; ">등록번호:</caption>
- <button id="btn_pid" class="icon_search" style="left:789px; top:10px; width:16px; height:16px; font-family:돋움체; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fUseridPopup("/root/main/cond", "/pid", "", "", "", ipt_pid);
- // 원본 modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/main/cond");
- // 외래간호환자조회로 변경_20090218(ByJA)
- modal("../../../emr/outcareweb/xrw/SPMNO02400", "1","150", "150", "SPMNO02400", "/root/source", "/root/main/cond");
-
- //환자번호 copy
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.setValue("/root/main/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
-
- model.refresh();
- //model.setFocus("ipt_pid");
-
-
- //setInputNodeCurText();
- //var todd = getCurrentDate();
- var todd = "99991231";
- var fromdd = fCalcDate(-5, getCurrentDate());
-
- model.setValue("/root/main/cond/ordfromdd", fromdd);
- model.setValue("/root/main/cond/ordtodd", todd);
-
- ipt_ordfromdd.refresh();
- ipt_ordtodd.refresh();
-
- model.setValue("/root/main/cond/orddeptcd", "0000000000");
- model.setValue("/root/main/cond/pid", ipt_pid.value);
-
- //cmb_orddept.dispatch("xforms-value-changed");
-
- addComboInstance("/root/init/orddr", "userid^usernm", "00000000^전체의사", "orddr"); //진료의콤보 전체추가
- model.resetInstanceNode("/root/main/cond/orddr");
- model.setValue("/root/main/cond/orddr", "00000000");
- cmb_orddr.refresh();
- cmb_orddr.dispatch("xforms-value-changed");
-
- ipt_pid.value = "";
- model.setValue("/root/main/cond/ordfromdd", getCurrentDate());
- model.setValue("/root/main/cond/ordtodd", getCurrentDate());
- ipt_pid.refresh();
- model.refresh();
-
-
- }
-
- ]]>
- </script>
- </button>
- <button id="button4" class="btn1_letter2" navindex="9" style="left:1129px; top:42px; width:56px; height:22px; font-family:돋움체; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sPrntmthd = model.getValue("/root/main/cond/prntmthd");
- var sPrntusge = model.getValue("/root/main/cond/prntusge");
-
- if(sPrntmthd == "AAM" || sPrntmthd == "APM"){
- fGetRsrvTm(sPrntmthd, sPrntusge);
- }else{ //출력방식이 오전 혹은 오후일 경우 분기추가-kys-20100202
- fClickPrint();
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddr" ref="/root/main/cond/orddr" class="combo_s_essential" disabled="true" navindex="4" appearance="minimal" style="left:555px; top:9px; width:75px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/init/orddr/orddr">
- <label ref="userdepthngnm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fBtnRefClicked();
- //btn_ref.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_s_essential" navindex="3" appearance="minimal" style="left:390px; top:9px; width:90px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDeptDoctSearch();
- ]]>
- </script>
- </select1>
- <button id="btn_ref" class="btn1_letter2" navindex="8" style="left:1129px; top:17px; width:56px; height:22px; font-family:돋움체; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.setValue("/root/main/cond/offset", "0");
- fBtnRefClicked();
- ]]>
- </script>
- </button>
- <input id="ipt_ordfromdd" ref="/root/main/cond/ordfromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:107px; top:9px; width:90px; height:19px; font-family:돋움체; "/>
- <caption id="caption1" style="left:199px; top:10px; width:15px; height:20px; font-family:돋움체; font-weight:bold; ">~</caption>
- <input id="ipt_ordtodd" ref="/root/main/cond/ordtodd" class="input_s_essential" navindex="2" inputtype="date" style="left:212px; top:9px; width:90px; height:19px; font-family:돋움체; "/>
- <select id="checkbox2" ref="/root/main/cond/nursacptyn" class="checkbox_search" overflow="visible" appearance="full" style="left:90px; top:35px; width:78px; height:15px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>미접수포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption5" class="search_name" style="left:6px; top:34px; width:86px; height:17px; font-family:돋움체; ">조회조건:</caption>
- <caption id="caption8" class="search_name" style="left:396px; top:34px; width:86px; height:17px; font-family:돋움체; ">예약구분:</caption>
- <caption id="caption9" class="search_name" style="left:171px; top:34px; width:84px; height:17px; font-family:돋움체; ">출력방식:</caption>
- <button id="button10" class="icon_next" style="left:303px; top:11px; width:13px; height:15px; font-family:돋움체; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var oraDate = ipt_ordfromdd.value.toDate().getAddDate(1,"D");
- ipt_ordfromdd.value = oraDate.getDateFormat();
- ipt_ordtodd.value = oraDate.getDateFormat();
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_s_essential" navindex="5" style="left:720px; top:9px; width:65px; height:19px; font-family:돋움체; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- if(event.keyCode == 13) {
-
- setInputNodeCurText();
-
- if(ipt_pid.value == "") {
- messageBox("등록번호로 조회시 등록번호는 필수로 입력하셔야 합니다.", "E");
- return;
- }
- //var todd = getCurrentDate();
- var todd = "99991231";
-
- //기간제한 수정, 20081031, 차현철
- //var fromdd = fCalcDate(-5, getCurrentDate());
- var fromdd = "19000101";
-
- model.setValue("/root/main/cond/ordfromdd", fromdd);
- model.setValue("/root/main/cond/ordtodd", todd);
-
- ipt_ordfromdd.refresh();
- ipt_ordtodd.refresh();
-
- model.setValue("/root/main/cond/orddeptcd", "0000000000");
- model.setValue("/root/main/cond/pid", ipt_pid.value);
-
- //cmb_orddept.dispatch("xforms-value-changed");
-
- addComboInstance("/root/init/orddr", "userid^usernm", "00000000^전체의사", "orddr"); //진료의콤보 전체추가
- model.resetInstanceNode("/root/main/cond/orddr");
- model.setValue("/root/main/cond/orddr", "00000000");
- cmb_orddr.refresh();
- cmb_orddr.dispatch("xforms-value-changed");
-
- ipt_pid.value = "";
- model.setValue("/root/main/cond/ordfromdd", getCurrentDate());
- model.setValue("/root/main/cond/ordtodd", getCurrentDate());
- ipt_pid.refresh();
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="button1" class="icon_pre" style="left:92px; top:11px; width:13px; height:15px; font-family:돋움체; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var oraDate = ipt_ordfromdd.value.toDate().getAddDate(-1,"D");
- ipt_ordfromdd.value = oraDate.getDateFormat();
- ipt_ordtodd.value = oraDate.getDateFormat();
- ]]>
- </script>
- </button>
- <select id="checkbox5" ref="/root/main/cond/rsrvflag7" class="checkbox_search" navindex="6" overflow="visible" appearance="full" style="left:477px; top:34px; width:70px; height:15px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>기타포함</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(model.getValue("/root/main/cond/orddeptcd")=="0000000000"){
- messageBox("기타포함 조회시 전체진료과로 조회할 수 없습니다.","I","해당진료과 선택 후 다시 조회하십시오.");
- }
- ]]>
- </script>
- </select>
- <bool id="bol_tdayacptyn" checkvalue="Y,N" ref="/root/main/cond/chktdayacptyn" style="left:546px; top:33px; width:20px; height:20px; font-family:돋움체; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/cond/chktdayacptyn") == "Y" ){
- checkbox5.disabled = true;
- }else{
- checkbox5.disabled = false;
- }
- ]]>
- </script>
- </bool>
- <caption id="cap_tdayacptyn" style="left:565px; top:34px; width:65px; height:20px; font-family:돋움체; ">
- <![CDATA[당일접수만]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( model.getValue("/root/main/cond/chktdayacptyn") == "Y" ){
- bol_tdayacptyn.selected = false;
- }else{
- bol_tdayacptyn.selected = true;
- }
- ]]>
- </script>
- </caption>
- <caption id="caption11" class="search_name" style="left:6px; top:58px; width:84px; height:17px; font-family:돋움체; ">출력용도:</caption>
- <select1 id="radio1" ref="/root/main/cond/prntmthd" class="radio_search" navindex="7" appearance="full" cols="3" rows="1" overflow="visible" style="left:252px; top:35px; width:135px; height:15px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>오전</label>
- <value>AAM</value>
- </item>
- <item>
- <label>오후</label>
- <value>APM</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fBtnRefClicked();
- ]]>
- </script>
- </select1>
- <select1 id="radio2" ref="/root/main/cond/prntusge" class="radio_search" navindex="7" appearance="full" cols="8" rows="1" overflow="visible" style="left:90px; top:59px; width:920px; height:15px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>게시판부착용</label>
- <value>A</value>
- </item>
- <item>
- <label>게시판부착용(당일접수)</label>
- <value>E</value>
- </item>
- <item>
- <label>업무용(시간순)</label>
- <value>B</value>
- </item>
- <item>
- <label>업무용(등록번호순)</label>
- <value>C</value>
- </item>
- <item>
- <label>업무용(이름순)</label>
- <value>D</value>
- </item>
- <item>
- <label>라벨출력</label>
- <value>F</value>
- </item>
- <item>
- <label>라벨(안과전용)</label>
- <value>G</value>
- </item>
- <item>
- <label>피부과전용</label>
- <value>H</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //게시판용(당일접수)일 경우 당일접수만에 자동체크
- if(model.getValue("/root/main/cond/prntusge") == "E"){
- //model.setValue("/root/main/cond/chktdayacptyn", "Y");
- bol_tdayacptyn.selected = true;
- }else{
- bol_tdayacptyn.selected = false;
- }
- group2.attribute("visibility") = "hidden"; //20100202-kys-추가
- ]]>
- </script>
- </select1>
- <select id="checkbox6" ref="/root/main/cond/telyn" overflow="visible" appearance="full" style="left:634px; top:34px; width:70px; height:13px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>전화표시</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox8" ref="/root/main/cond/rrgstyn" overflow="visible" appearance="full" style="left:709px; top:34px; width:91px; height:13px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>생년월일표시</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption16" class="search_name" style="left:805px; top:35px; width:135px; height:17px; font-family:돋움체; ">의사메모포함여부:</caption>
- <select id="checkbox7" ref="/root/main/cond/drmemoinclyn" overflow="visible" appearance="full" style="left:940px; top:34px; width:135px; height:13px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>의사메모포함여부</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <select id="checkbox1" ref="/root/main/cond/rsrvflag5" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" style="left:478px; top:195px; width:95px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>가정간호제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/main/cond/rsrvflag2" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" style="left:369px; top:195px; width:105px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>인공신장실제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox4" ref="/root/main/cond/rsrvflag1" class="checkbox_search" navindex="6" visibility="hidden" overflow="visible" appearance="full" style="left:260px; top:195px; width:105px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>치료방사선제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="rdo_prntstat013" ref="/root/main/cond/prntusge" class="radio_search" navindex="7" visibility="hidden" appearance="full" cols="7" rows="1" overflow="visible" style="left:260px; top:250px; width:759px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>게시판용(전체)</label>
- <value>A</value>
- </item>
- <item>
- <label>게시판용(오전)</label>
- <value>AAM</value>
- </item>
- <item>
- <label>게시판용(오후)</label>
- <value>APM</value>
- </item>
- <item>
- <label>게시판용(당일접수)</label>
- <value>E</value>
- </item>
- <item>
- <label>업무용(시간순)</label>
- <value>B</value>
- </item>
- <item>
- <label>업무용(등록번호순)</label>
- <value>C</value>
- </item>
- <item>
- <label>업무용(이름순)</label>
- <value>D</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //게시판용(당일접수)일 경우 당일접수만에 자동체크
- if(model.getValue("/root/main/cond/prntusge") == "E"){
- //model.setValue("/root/main/cond/chktdayacptyn", "Y");
- bol_tdayacptyn.selected = true;
- }else{
- bol_tdayacptyn.selected = false;
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_prntstat" ref="/root/main/cond/prntusge" class="radio_search" navindex="7" visibility="hidden" appearance="full" cols="6" rows="1" overflow="visible" style="left:260px; top:230px; width:464px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>게시판부착용(전체)</label>
- <value>A</value>
- </item>
- <item>
- <label>업무용(시간순)</label>
- <value>B</value>
- </item>
- <item>
- <label>업무용(등록번호순)</label>
- <value>C</value>
- </item>
- <item>
- <label>업무용(이름순)</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <group id="group2" visibility="hidden" style="left:390px; top:280px; width:395px; height:100px; border-color:#adceff; border-width:5px; border-style:solid; ">
- <caption id="caption12" style="left:4px; top:7px; width:378px; height:20px; text-align:center; "/>
- <button id="button2" class="btn2_letter2" navindex="11" style="left:257px; top:42px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group2.attribute("visibility") = "hidden";
- fClickPrint();
- ]]>
- </script>
- </button>
- <caption id="caption13" style="left:192px; top:42px; width:50px; height:20px; "/>
- <caption id="caption14" style="left:32px; top:42px; width:55px; height:20px; ">예약시간</caption>
- <caption id="caption15" style="left:7px; top:70px; width:335px; height:20px; color:#ff0000; text-align:center; ">
- <![CDATA[오후시간입력시 오후1시->1300으로 입력해주시기 바랍니다.]]>
- </caption>
- <input id="ipt_prntrsrvtm" ref="/root/temp/tmpprntrsrvtm" navindex="10" format="hh:nn" style="left:97px; top:42px; width:90px; height:19px; text-align:center; "/>
- </group>
- </group>
- <button id="btn_excel" class="btn2_letter2" style="left:1153px; top:760px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExcel();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|