123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134 |
- <?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>
- <curersrvinfo>
- <item>
- <flag/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <sex/>
- <age/>
- <hometel/>
- <mpphontel/>
- <curersrvdd/>
- <genrdd/>
- <genrno/>
- <suppdeptcd/>
- <statcd/>
- <cntctel/>
- <orddeptcd/>
- <orddrid/>
- <curedg1/>
- <curedgseq1/>
- <curedg2/>
- <curedgseq2/>
- <curedg3/>
- <curedgseq3/>
- <curedg4/>
- <curedgseq4/>
- <curedg5/>
- <curedgseq5/>
- <curedg6/>
- <curedgseq6/>
- <remfact/>
- <startdd/>
- <endcnts/>
- <curecfrmyn/>
- <drugqty/>
- <wardcd/>
- <roomcd/>
- </item>
- </curersrvinfo>
- <curersrvlist>
- <item>
- <curersrvdd/>
- <pid/>
- <hngnm/>
- <statcd/>
- <orddeptcd/>
- <orddrid/>
- <curecnfmyn/>
- <drugqty/>
- <roomcd/>
- <remfact/>
- </item>
- </curersrvlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <data>
- <rsrvdd/>
- <rsrvdate/>
- <excuroomgrpcdid>치료,투약실</excuroomgrpcdid>
- <srchpid/>
- <srchioflag/>
- <srchionm/>
- </data>
- <data2>
- <srchcond/>
- <pid/>
- </data2>
- </send>
- <hidden>
- <calendar>
- <year/>
- <month/>
- </calendar>
- </hidden>
- <init>
- <curerprescondlist>
- <rsrvcalendar/>
- </curerprescondlist>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // model.removeNodeset("/root/main/info/item");
- // model.removeNodeset("/root/main/curersrvinfo/item");
- model.removenode("/root/main/curersrvlist");
-
- // 부서코드 설정
- aezfSetSuppDeptcd();
-
- // 진료과/진료의 조회
- submit("TRPMOCOM01", false);
-
- var paminfo = getGlobalVariable("paminfo");
-
- if (paminfo != "") {
-
- model.removenode("/root/temp/paminfo");
- model.makeNode("/root/temp/paminfo");
- setCSVToNode("/root/temp/paminfo", paminfo);
-
- //상단 정보를 이용하여 프로그램 수행
- var pid = model.getValue("/root/temp/paminfo" + "/list/pid");
- var orddeptcd = model.getValue("/root/temp/paminfo" + "/list/orddeptcd");
- var wardcd = model.getValue("/root/temp/paminfo" + "/list/wardcd");
- var orddrid = model.getValue("/root/temp/paminfo" + "/list/orddrid");
- var hngnm = model.getValue("/root/temp/paminfo" + "/list/hngnm");
- var rrgstno1 = model.getValue("/root/temp/paminfo" + "/list/rrgstno1");
- var rrgstno2 = model.getValue("/root/temp/paminfo" + "/list/rrgstno2");
- var sex = model.getValue("/root/temp/paminfo" + "/list/sex");
- var age = model.getValue("/root/temp/paminfo" + "/list/age");
-
- model.setValue("/root/send/data/srchpid", pid);
-
- submit("TRAEA04501");
-
- pid = model.getValue("/root/main/curersrvinfo/item/pid");
- btn_rsrv.disabled = false;
-
- if (pid != "") {
- var flag = model.getValue("/root/main/curersrvinfo/item/flag");
- var srchorddeptcd = model.getValue("/root/main/curersrvinfo/item/orddeptcd");
-
- if (flag == "I") {
- if (srchorddeptcd == "") {
- model.setValue("/root/main/curersrvinfo/item/orddeptcd", orddeptcd);
- model.setValue("/root/main/curersrvinfo/item/orddrid", orddrid);
- } else {
- orddeptcd = srchorddeptcd;
- }
- cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ orddeptcd + "']";
-
- btn_can.disabled = true;
- } else {
- btn_can.disabled = false;
- }
- }
- }
- model.setValue("/root/send/data/srchioflag", "I");
- //model.setValue("/root/send/data/srchionm", "[입원+대기/입원예정]"); 20160609 필요없어 막음, 권영애
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grd_calendar);
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <submission id="TRMMO02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
- <submission id="TRAEA01416" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rsrvposstmlist"/>
- <submission id="TRAEA03203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/hidden/calendarinfo"/>
- <submission id="TRAEA02011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/curerprescondlist"/>
- <submission id="TRAEA04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/curersrvinfo"/>
- <submission id="TRAEA04502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/curersrvlist"/>
- <submission id="TRAEA04503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/curerprescondlist"/>
- <submission id="TXAEA04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/curersrvinfo/item" replace="instance" resultref="/root/main/curersrvinfo"/>
- </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/stringHelper.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"/>
- <script type="javascript">
- <![CDATA[
-
- function initCalendar() {
-
- var curDate = getCurrentDate().toDate();
- var curersrvdd = model.getValue("/root/main/curersrvinfo/item/curersrvdd");
-
- if (curersrvdd != "") {
- curDate = curersrvdd.toDate();
- }
-
- model.setValue("/root/hidden/calendar/year", curDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", curDate.getDateFormat('MM'));
- model.refresh();
- setCalendar(curDate);
- }
-
- function setCalendar(dateObj) {
-
- model.removenode("/root/main/curersrvlist");
-
- //서버로 자료 요청
- if ( fGetHospitalCalendar() != true ) {
- messageBox("병원일정 데이터를 가져올 수", "I004");
- }
-
- // 그리드 초기화
- model.removeNodeset("/root/hidden/calendar/weeklist/list");
-
- dateObj.setDate(1);
- var startDay = dateObj.getDay();
- var days = dateObj.getMonthDay();
-
- var rows = Math.ceil( ( startDay + days ) / 7 );
- for ( var i = 0; i < rows; i++ ) {
- grd_calendar.addRow(false);
-
- }
- grd_calendar.rebuild();
- grd_calendar.rebuildStyle();
-
- var rowIndex = grd_calendar.fixedRows;
- var colIndex = startDay;
- var dutflag = '';
-
- for ( var i = 1; i <= days; i++ ) {
-
- //write date
- grd_calendar.valueMatrix(rowIndex, colIndex) = i;
- grd_calendar.cellStyle("font-weight", rowIndex, colIndex) = "bold";
- //write memo
- grd_calendar.valueMatrix(rowIndex , colIndex + 7) = "0/0";
-
- dutflag = model.getValue("/root/hidden/calendarinfo/calendarinfolist[" + i +"]/dutflag");
-
- if( dutflag == '8' ){ //'0' 평일, '4' 토요일, '8' 휴일
- fSetTextColor(rowIndex, colIndex, '#ff0000');
- }
-
- colIndex++;
- if ( colIndex == 7 ) {
- colIndex = 0;
- rowIndex++;
- }
- }
-
- model.setValue("/root/send/data/rsrvdd",model.getValue("/root/hidden/calendar/year")+model.getValue("/root/hidden/calendar/month")+"01");
- setRsrvPresCondByMonth(dateObj);
-
- }
-
- /* @group : 예약
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 달력 폰트 색상을 변경한다.
- */
- function fSetTextColor(calRow, calCol, bgColor) {
-
- if ( calCol < 7 ) {
- grd_calendar.cellStyle("color", calRow, calCol) = bgColor;
- grd_calendar.cellStyle("color", calRow, calCol + 7) = bgColor;
- } else {
- grd_calendar.cellStyle("color", calRow, calCol) = bgColor;
- grd_calendar.cellStyle("color", calRow, calCol - 7) = bgColor;
- }
- }
- function setRsrvPresCondByMonth(dateObj) {
-
- //submit("TRAEA02011");
- submit("TRAEA04503");
-
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var startDay = dateObj.getDay();
-
- for (var i = 1; i < grd_temp.rows; i++) {
- var dd = model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/rsrvdd");
- var colidx = dd.toDate().getDay();
- var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 );
-
- var srchioflag = model.getValue("/root/send/data/srchioflag");
-
- if (srchioflag == "I") {
- grd_calendar.valueMatrix(rowidx, colidx+7) = model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/count") + "/" + model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/max") ;
- } else {
- grd_calendar.valueMatrix(rowidx, colidx+7) = model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/max") ;
- }
- }
- }
-
- function setCurrentDate() {
-
- var curDate = getCurrentDate().substr(6,2); //오늘날짜
- var curWeek = getCurrentDate().toDate().getDayOfWeek("E").toLowerCase(); //오늘요일
- var curersrvdd = model.getValue("/root/main/curersrvinfo/item/curersrvdd");
- if (curersrvdd != "") {
- curDate = curersrvdd.substr(6,2);
- curWeek = curersrvdd.toDate().getDayOfWeek("E").toLowerCase(); //오늘요일
- }
- if (curDate <10) {
- curDate= curDate.substr(1,1);
- }
- if (curWeek == "sun") {
- model.makeValue("/root/hidden/grdcellcolor/calcol",0);
- model.makeValue("/root/hidden/grdcellcolor/bfcalcol",0);
- } else if (curWeek == "mon") {
- model.makeValue("/root/hidden/grdcellcolor/calcol",1);
- model.makeValue("/root/hidden/grdcellcolor/bfcalcol",1);
- } else if (curWeek == "tue") {
- model.makeValue("/root/hidden/grdcellcolor/calcol",2);
- model.makeValue("/root/hidden/grdcellcolor/bfcalcol",2);
- } else if (curWeek == "wed") {
- model.makeValue("/root/hidden/grdcellcolor/calcol",3);
- model.makeValue("/root/hidden/grdcellcolor/bfcalcol",3);
- } else if (curWeek == "thu") {
- model.makeValue("/root/hidden/grdcellcolor/calcol",4);
- model.makeValue("/root/hidden/grdcellcolor/bfcalcol",4);
- } else if (curWeek == "fri") {
- model.makeValue("/root/hidden/grdcellcolor/calcol",5);
- model.makeValue("/root/hidden/grdcellcolor/bfcalcol",5);
- } else if (curWeek == "sat") {
- model.makeValue("/root/hidden/grdcellcolor/calcol",6);
- model.makeValue("/root/hidden/grdcellcolor/bfcalcol",6);
- }
-
- for (var i = 0 ; i <grd_calendar.rows; i++ ) {
- if(model.getValue("/root/hidden/calendar/weeklist/list["+i+"]/"+curWeek) ==curDate) {
- model.makeValue("/root/hidden/grdcellcolor/calrow",i);
- model.makeValue("/root/hidden/grdcellcolor/bfcalrow",i);
- }
- }
-
- model.makeValue("/root/hidden/grdcellcolor/color",1);
-
- setCellColor(grd_calendar);
- }
-
- function setCellColor(gridObj) {
-
- var calRow = 0; //현재선택
- var calCol = 0; //현재선택
- var bfcalRow = 0; //전에 선택
- var bfcalCol = 0; //전에 선택
-
- var white = 1; //#ffffff
- var green = 2; //#c4e693
-
- calRow = Number(model.getValue("/root/hidden/grdcellcolor/calrow"));
- calCol = Number(model.getValue("/root/hidden/grdcellcolor/calcol"));
-
- bfcalRow = Number(model.getValue("/root/hidden/grdcellcolor/bfcalrow"));
- bfcalCol = Number(model.getValue("/root/hidden/grdcellcolor/bfcalcol"));
-
- // 1. 원래 색으로 돌려놓기
- if (model.getValue("/root/hidden/grdcellcolor/color") == "1" ) {
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#ffffff";
-
- if ( bfcalCol < 7 ) {
- bfcalCol += 7;
- } else {
- bfcalCol -= 7;
- }
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#ffffff";
-
- } else if (model.getValue("/root/hidden/grdcellcolor/color") == "2" ) {
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#c4e693";
-
- if ( bfcalCol < 7 ) {
- bfcalCol += 7;
- } else {
- bfcalCol -= 7;
- }
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#c4e693";
- }
-
-
- // 2. bf 인스턴스에 선택한 원래 셀 담아두기
-
- if (gridObj.cellStyle("background-color", calRow, calCol) == "white" ) {
- model.makeValue("/root/hidden/grdcellcolor/color", "1");
- }
-
- if (gridObj.cellStyle("background-color", calRow, calCol) == "#c4e693" ) {
- model.makeValue("/root/hidden/grdcellcolor/color", "2");
- }
- model.makeValue("/root/hidden/grdcellcolor/bfcalrow",calRow);
- model.makeValue("/root/hidden/grdcellcolor/bfcalcol",calCol);
-
- // 3. 선택한 셀에 보라색 주기
- gridObj.cellStyle("background-color", calRow, calCol) = "#daa7d9";
-
- if ( calCol < 7 ) {
- calCol += 7;
- } else {
- calCol -= 7;
- }
- gridObj.cellStyle("background-color", calRow, calCol) = "#daa7d9";
- }
-
- /* @group :
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc :
- */
- function getRsrvPossTm(gridObj) {
-
- var calRow = model.getValue("/root/hidden/grdcellcolor/calrow");
- var calCol = model.getValue("/root/hidden/grdcellcolor/calcol");
- if ( calCol >= 7 ) {
- calCol -= 7;
- }
- var yyyy = model.getValue("/root/hidden/calendar/year");
- var mm = model.getValue("/root/hidden/calendar/month");
- var dd = model.getValue("/root/hidden/calendar/weeklist/list[" + calRow + "]/" + gridObj.colAttribute(calCol, "ref"));
-
- if (getStringLength(dd) == 1) {
- dd = "0" + dd;
- }
-
- model.setValue("/root/send/data/rsrvdd", yyyy + mm + dd);
- // model.setValue("/root/send/data/rsrvdate",model.getValue("/root/send/data/rsrvdd"));
- // model.makeValue("/root/send/data/grd_info/grid_data/prcpgenrflag", "");
-
- submit("TRAEA04502");
- }
-
- /* @group : 예약
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병원 기준의 달력 정보 조회
- */
- function fGetHospitalCalendar(){
-
- var dd = (model.getValue("/root/hidden/calendar/year")).concat(model.getValue("/root/hidden/calendar/month"));
- model.makeValue("/root/send/data3/date",dd);
- model.makeValue("/root/send/data3/suppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
-
- if (submit("TRAEA03203") == true) return true;
- else return false;
- }
-
- /* @group : 예약 가용일 체크
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc :
- */
- function fChkRsrvDD(rsrvdd){
-
- var rowCnt = getNodesetCount("/root/init/curerprescondlist/rsrvcalendar");
- var possYn = false;
- var chkrsrvdd = "";
- for (i=1; i<=rowCnt; i++) {
- chkrsrvdd = model.getValue("/root/init/curerprescondlist/rsrvcalendar[ " + i + "]/rsrvdd");
- if (rsrvdd == chkrsrvdd) {
- possYn = true;
- }
- }
- return possYn;
- }
-
- /* @group : 환자정보조회
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc :
- */
- function fGetInfo(){
-
- var pid = model.getValue("/root/main/curersrvinfo/item/pid");
- model.setValue("/root/send/data/srchpid", pid);
-
- submit("TRAEA04501");
-
- var flag = model.getValue("/root/main/curersrvinfo/item/flag");
- if (flag == "I") {
- btn_can.disabled = true;
- } else {
- btn_can.disabled = false;
- }
-
- var orddeptcd = model.getValue("/root/main/curersrvinfo/item/orddeptcd");
- cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ orddeptcd + "']";
- model.refresh();
- }
-
- //달력을 클릭(선택) 했을 때
- function fClickOnCalendar(){
- var calRow = grd_calendar.row;
- var calCol = grd_calendar.col;
- calCol = calCol % 7;
-
- var isDay = grd_calendar.valueMatrix(calRow, calCol);
- if( isDay != "" ){
- if( isDay.length == 1 ) isDay = "0" + isDay;
-
- var curersrvdd = ( (model.getValue("/root/hidden/calendar/year")).concat(model.getValue("/root/hidden/calendar/month")) ).concat(isDay);
- model.setValue("/root/main/curersrvinfo/item/curersrvdd", curersrvdd);
- model.refresh();
- }
- }
-
-
- function fRefresh(){
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grd_calendar);
- }
-
- /* @group : 예약 인원 달력에 표시
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc :
- */
- function fGetCalendar(isMonth){
-
- model.setValue("/root/hidden/calendar/month", isMonth);
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(0,'M');
-
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
- setCalendar(isDate);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1025" pageheight="600" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group2" scroll="auto" style="left:2px; top:203px; width:444px; height:66px; ">
- <shape id="rectangle2" class="calendar_header" appearance="rectangle" style="left:0px; top:2px; width:444px; height:62px; "/>
- <button id="button31" class="icon_next_year" style="left:315px; top:10px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_next_y.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'Y');
-
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
-
- setCalendar(isDate);
- // getCurerPresCond();
- ]]>
- </script>
- </button>
- <button id="button33" class="icon_pre_month" style="left:160px; top:10px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_pre_m.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'M');
-
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
-
- setCalendar(isDate);
- // getCurerPresCond();
- ]]>
- </script>
- </button>
- <button id="button35" class="icon_next_month" style="left:291px; top:10px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_next_m.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'M');
-
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
-
- setCalendar(isDate);
-
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/hidden/calendar/year" class="calendar_output" style="left:193px; top:9px; width:30px; height:19px; "/>
- <output id="opt_month" ref="/root/hidden/calendar/month" class="calendar_output" style="left:245px; top:9px; width:20px; height:19px; "/>
- <caption id="caption24" class="calendar_output" style="left:223px; top:9px; width:20px; height:19px; ">년</caption>
- <caption id="caption25" class="calendar_output" style="left:265px; top:9px; width:20px; height:19px; ">월</caption>
- <button id="button36" class="icon_pre_year" style="left:143px; top:10px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_pre_y.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'Y');
-
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
-
- setCalendar(isDate);
- // getCurerPresCond();
- ]]>
- </script>
- </button>
- <button id="button18" class="icon_month" style="left:285px; top:32px; width:27px; height:27px; ">
- <caption>9</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "09") {
- fGetCalendar("09");
- }
- ]]>
- </script>
- </button>
- <button id="button19" class="icon_month" style="left:315px; top:32px; width:27px; height:27px; ">
- <caption>10</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "10") {
- fGetCalendar("10");
- }
- ]]>
- </script>
- </button>
- <button id="button7" class="icon_month" style="left:45px; top:32px; width:27px; height:27px; ">
- <caption>1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "01") {
- fGetCalendar("01");
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="icon_month" style="left:75px; top:32px; width:27px; height:27px; ">
- <caption>2</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "02") {
- fGetCalendar("02");
- }
- ]]>
- </script>
- </button>
- <button id="button9" class="icon_month" style="left:105px; top:32px; width:27px; height:27px; ">
- <caption>3</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "03") {
- fGetCalendar("03");
- }
- ]]>
- </script>
- </button>
- <button id="button20" class="icon_month" style="left:345px; top:32px; width:27px; height:27px; ">
- <caption>11</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "11") {
- fGetCalendar("11");
- }
- ]]>
- </script>
- </button>
- <button id="button21" class="icon_month" style="left:375px; top:32px; width:27px; height:27px; ">
- <caption>12</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "12") {
- fGetCalendar("12");
- }
- ]]>
- </script>
- </button>
- <button id="button10" class="icon_month" style="left:135px; top:32px; width:27px; height:27px; ">
- <caption>4</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "04") {
- fGetCalendar("04");
- }
- ]]>
- </script>
- </button>
- <button id="button11" class="icon_month" style="left:165px; top:32px; width:27px; height:27px; ">
- <caption>5</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "05") {
- fGetCalendar("05");
- }
- ]]>
- </script>
- </button>
- <button id="button12" class="icon_month" style="left:195px; top:32px; width:27px; height:27px; ">
- <caption>6</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "06") {
- fGetCalendar("06");
- }
- ]]>
- </script>
- </button>
- <button id="button13" class="icon_month" style="left:225px; top:32px; width:27px; height:27px; ">
- <caption>7</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "07") {
- fGetCalendar("07");
- }
- ]]>
- </script>
- </button>
- <button id="button14" class="icon_month" style="left:255px; top:32px; width:27px; height:27px; ">
- <caption>8</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_month.value!== "08") {
- fGetCalendar("08");
- }
- ]]>
- </script>
- </button>
- </group>
- <multilinegrid id="grd_calendar" nodeset="/root/hidden/calendar/weeklist/list" class="gridcalendar" autoresize="true" caption="일^월^화^수^목^금^토" colsep="^" colwidth="63, 63, 63, 63, 63, 63, 63" extendlastcol="noscroll" focuscolor="transparent" rowsep="|" mergecellsfixedrows="bycolrec" style="left:2px; top:268px; width:444px; height:292px; ">
- <row>
- <col class="color_sun" ref="sun" style="border-bottom-width:0px; "/>
- <col ref="mon" style="border-bottom-width:0px; "/>
- <col ref="tue" style="border-bottom-width:0px; "/>
- <col ref="wed" style="border-bottom-width:0px; "/>
- <col ref="thu" style="border-bottom-width:0px; "/>
- <col ref="fri" style="border-bottom-width:0px; "/>
- <col class="color_sat" ref="sat" style="border-bottom-width:0px; "/>
- </row>
- <row>
- <col class="color_sun" ref="sun_memo" style="border-top-width:0px; "/>
- <col ref="mon_memo" style="border-top-width:0px; "/>
- <col ref="tue_memo" style="border-top-width:0px; "/>
- <col ref="wed_memo" style="border-top-width:0px; "/>
- <col ref="thu_memo" style="border-top-width:0px; "/>
- <col ref="fri_memo" style="border-top-width:0px; "/>
- <col class="color_sat" ref="sat_memo" style="border-top-width:0px; "/>
- </row>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var excuroomgrpcdid = "치료,투약실";
- model.setValue("/root/hidden/grdcellcolor/calrow",grd_calendar.row);
- model.setValue("/root/hidden/grdcellcolor/calcol",grd_calendar.col);
-
- setCellColor(grd_calendar);
- getRsrvPossTm(grd_calendar);
-
- fClickOnCalendar();
- ]]>
- </script>
- </multilinegrid>
- <datagrid id="grd_curersrvlist" nodeset="/root/main/curersrvlist/item" caption="치료일자^등록번호^성명^상태^진료과^진료의^치료
확정유무^참고사항^용량^병실|치료일자^등록번호^성명^상태^진료과^진료의^치료
확정유무^참고사항^용량^병실" colsep="^" colwidth="67, 55, 49, 39, 74, 76, 52, 106, 40, 40" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:450px; top:205px; width:555px; height:355px; ">
- <col ref="curersrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col disabled="true" ref="statcd" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="curecfrmyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>확정</label>
- <value>Y</value>
- </item>
- <item>
- <label>미확정</label>
- <value>N</value>
- </item>
- <item>
- <label>취소</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="remfact" style="text-align:left; "/>
- <col ref="drugqty" style="text-align:right; "/>
- <col ref="roomcd" style="left:585px; top:43px; width:38px; height:23px; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( grd_curersrvlist.row == 0 ) return;
-
- if ( grd_curersrvlist.isCell(event.target) && grd_curersrvlist.row >= grd_curersrvlist.fixedRows ) {
-
- var colidx = grd_curersrvlist.col;
- var rowidx = grd_curersrvlist.row;
- rowidx = rowidx - 1;
-
- copyNodesetType("/root/main/curersrvinfo/item", "root/main/curersrvlist/item[" + rowidx + "]", "replace");
-
- btn_can.disabled = false;
-
- model.refresh();
-
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_rsrv" class="btn2_letter2" disabled="false" style="left:360px; top:180px; width:42px; height:19px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var curDate = getCurrentDate().substr(0,8); //오늘날짜
- var rsrvdd = model.getValue("/root/main/curersrvinfo/item/curersrvdd"); //선택일자
- var curTm = getCurrentTime().substr(0,4); //
- var srchrsrvtm = rsrvdd + "0000";
- var statcd = model.getValue("/root/main/curersrvinfo/item/statcd");
- if (statcd == "") {
- messageBox("상태를 선택해 주십시오.","I999");
- return "0";
- }
-
- //당일예약
- if(curDate == rsrvdd) {
- srchrsrvtm = rsrvdd + curTm;
- } else if (curDate > rsrvdd) { //당일 이전 예약
- messageBox("예약일자가 과거일자", "E008");
- return;
- }
- model.makeValue("/root/main/curersrvinfo/item/srchrsrvtm", srchrsrvtm);
- model.makeValue("/root/main/curersrvinfo/item/curersrvdd", rsrvdd);
- var flag = model.getValue("/root/main/curersrvinfo/item/flag");
-
- if (flag == "U") {
- var message = messageBox( "\r\n신규로 스케줄을 등록","S001","\r\n예약(수정)를 취소하시려면 취소를 누르십시오.");
-
- if ( message == 6 ) { //예 = 신규
- model.setValue("/root/main/curersrvinfo/item/flag","I");
- model.setValue("/root/main/curersrvinfo/item/drugqty","0");
- model.setValue("/root/main/curersrvinfo/item/curecfrmyn","N");
- model.setValue("/root/main/curersrvinfo/item/wardcd","-");
- model.setValue("/root/main/curersrvinfo/item/roomcd","-");
-
- if (submit("TXAEA04501")) {
- initCalendar();
- setCellColor(grd_calendar);
- getRsrvPossTm(grd_calendar);
- model.resetInstanceNode("/root/main/curersrvinfo/item");
- model.refresh();
- }
-
- } else if ( message == 7 ) { // 아니오 = 수정
-
- if (submit("TXAEA04501")) {
- initCalendar();
- setCellColor(grd_calendar);
- getRsrvPossTm(grd_calendar);
- model.resetInstanceNode("/root/main/curersrvinfo/item");
- model.refresh();
- }
- }
-
- } else {
- if ( messageBox("예약을 ","Q014")==6 ) {
- if (submit("TXAEA04501")) {
- initCalendar();
- setCellColor(grd_calendar);
- getRsrvPossTm(grd_calendar);
- model.resetInstanceNode("/root/main/curersrvinfo/item");
- model.refresh();
- }
- }
- }
-
-
-
-
- // if ( messageBox("예약을 ","Q014")==6 ) {
- // if (submit("TXAEA04501")) {
- // initCalendar();
- // setCellColor(grd_calendar);
- // getRsrvPossTm(grd_calendar);
- // model.resetInstanceNode("/root/main/curersrvinfo/item");
- // model.refresh();
- // messageBox("예약이", "I002");
- // }
- // }
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_no_b" style="left:653px; top:27px; width:12px; height:17px; ">~</caption>
- <input id="ipt_mpphon" ref="/root/main/curersrvinfo/item/cntctel" class="input_default" style="left:630px; top:122px; width:120px; height:19px; "/>
- <line id="line9" class="line_1" style="x1:5px; y1:35px; x2:1009px; y2:35px; "/>
- <caption id="caption61" class="cell_1" style="left:507px; top:120px; width:120px; height:23px; vertical-align:middle; ">연락처</caption>
- <caption id="caption50" class="cell_1" style="left:507px; top:40px; width:120px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <caption id="caption62" class="cell_1" style="left:507px; top:66px; width:120px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <input id="ipt_rrgstno1" ref="/root/main/curersrvinfo/item/rrgstno1" class="output_fix" disabled="true" maxlength="6" format="999999" style="left:630px; top:41px; width:72px; height:19px; "/>
- <input id="ipt_rrgstno2" ref="/root/main/curersrvinfo/item/rrgstno2" class="output_fix" disabled="true" style="left:721px; top:41px; width:72px; height:19px; "/>
- <input id="ipt_pid" ref="/root/main/curersrvinfo/item/pid" class="input_default" navindex="1" style="left:128px; top:41px; width:102px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- setInputNodeCurText();
- if (ipt_pid.currentText != "") {
- fGetInfo(); //환자정보 조회
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption41" class="tit_2" style="left:5px; top:20px; width:120px; height:13px; ">기본정보</caption>
- <caption id="caption20" class="search_no_b" style="left:706px; top:42px; width:12px; height:17px; ">-</caption>
- <caption id="caption54" class="cell_1" style="left:256px; top:40px; width:120px; height:23px; vertical-align:middle; ">성명</caption>
- <input id="ipt_age" ref="/root/main/curersrvinfo/item/age" class="output_fix" disabled="true" maxlength="3" format="999" style="left:664px; top:69px; width:40px; height:19px; "/>
- <input id="ipt_hngnm" ref="/root/main/curersrvinfo/item/hngnm" class="output_fix" disabled="true" style="left:379px; top:41px; width:120px; height:19px; "/>
- <caption id="caption48" class="cell_1" style="left:5px; top:40px; width:120px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption49" class="cell_1" style="left:5px; top:66px; width:120px; height:23px; vertical-align:middle; ">집전화번호</caption>
- <output id="ipt_cntctel" ref="/root/main/curersrvinfo/item/hometel" class="output_fix" disabled="true" style="left:128px; top:69px; width:120px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:2px; y1:200px; x2:446px; y2:200px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:185px; width:120px; height:13px; ">예약현황</caption>
- <button id="btn_can" class="btn2_letter2" disabled="true" style="left:404px; top:180px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main/curersrvinfo/item/flag", "D");
-
- var curersrvdd = model.getValue("/root/main/curersrvinfo/item/curersrvdd");
- if ( messageBox("예약을 ","Q007")==6 ) {
- if (submit("TXAEA04501")) {
- model.makeValue("/root/main/curersrvinfo/item/curersrvdd", curersrvdd);
- initCalendar();
- setCellColor(grd_calendar);
- getRsrvPossTm(grd_calendar);
- // messageBox("예약 취소가", "I002");
- model.resetInstanceNode("/root/main/curersrvinfo/item");
- model.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:450px; top:185px; width:120px; height:13px; ">예약정보</caption>
- <line id="line2" class="line_1" style="x1:448px; y1:200px; x2:1008px; y2:200px; "/>
- <line id="line6" class="line_3" style="x1:5px; y1:90px; x2:1009px; y2:90px; "/>
- <line id="line3" class="line_2" style="x1:5px; y1:64px; x2:1004px; y2:64px; "/>
- <group id="group1" style="left:0px; top:565px; width:1005px; height:30px; ">
- <button id="btn_close" class="btn4_letter2" visibility="visible" style="left:940px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <line id="line4" class="line_1" style="x1:5px; y1:115px; x2:1009px; y2:115px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:100px; width:120px; height:13px; ">예약정보</caption>
- <caption id="caption37" class="cell_1" style="left:5px; top:120px; width:120px; height:23px; text-align:left; vertical-align:middle; ">진료과</caption>
- <select1 id="cmb_orddept" ref="/root/main/curersrvinfo/item/orddeptcd" appearance="minimal" style="left:128px; top:122px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/main/curersrvinfo/item/orddeptcd");
- cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ orddeptcd + "']";
-
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption16" class="cell_1" style="left:255px; top:120px; width:120px; height:23px; text-align:left; vertical-align:middle; ">진료의</caption>
- <select1 id="cmb_orddr" ref="/root/main/curersrvinfo/item/orddrid" appearance="minimal" style="left:379px; top:122px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption38" class="cell_1" style="left:255px; top:146px; width:120px; height:23px; text-align:left; vertical-align:middle; ">참고사항</caption>
- <input id="input2" ref="/root/main/curersrvinfo/item/remfact" class="input_default" appearance="input" style="left:379px; top:149px; width:626px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:5px; y1:144px; x2:1004px; y2:144px; "/>
- <line id="line7" class="line_3" style="x1:5px; y1:170px; x2:1009px; y2:170px; "/>
- <output id="opt_sex" ref="/root/main/curersrvinfo/item/sex" class="output_fix" appearance="output" style="left:630px; top:69px; width:30px; height:19px; "/>
- <button id="btn_getpatinfo" class="icon_search" style="left:233px; top:42px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/data2/srchcond", "2");
- model.setValue("/root/send/data2/pid", model.getValue("/root/main/curersrvinfo/item/pid"));
-
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data2","/root/send");
-
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/main/curersrvinfo/item/pid", sPid);
- if (sPid != "") {
- fGetInfo();
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">치료예약스케줄관리</caption>
- <select1 id="combo3" ref="/root/main/curersrvinfo/item/statcd" appearance="minimal" style="left:880px; top:122px; width:123px; height:19px; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:757px; top:120px; width:120px; height:23px; text-align:left; vertical-align:middle; ">상태</caption>
- <caption id="caption7" class="cell_1" style="left:5px; top:146px; width:120px; height:23px; vertical-align:middle; ">치료일</caption>
- <output id="output3" ref="/root/main/curersrvinfo/item/curersrvdd" class="output_fix" format="yyyy-mm-dd" disabled="true" style="left:128px; top:149px; width:120px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:256px; top:66px; width:120px; height:23px; vertical-align:middle; ">휴대전화번호</caption>
- <output id="output4" ref="/root/main/curersrvinfo/item/mpphontel" class="output_fix" disabled="true" style="left:379px; top:69px; width:120px; height:19px; "/>
- <button id="button1" class="btn2_letter8" style="left:897px; top:180px; width:108px; height:19px; ">
- <caption>치료예약상세정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMAEA04600", "","","", "SMAEA04600", "/root/main/curersrvinfo/item/pid","/root/hidden/pid");
- ]]>
- </script>
- </button>
- <datagrid id="grd_temp" nodeset="/root/init/curerprescondlist/rsrvcalendar" visibility="hidden" caption="일자(dd)^가용현황^max^caption3" colsep="^" colwidth="76, 62, 53" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:945px; top:20px; width:45px; height:40px; ">
- <col ref="rsrvdd"/>
- <col ref="count"/>
- <col ref="max"/>
- </datagrid>
- <select1 id="rdo_srchioflag" ref="/root/send/data/srchioflag" appearance="full" cols="2" overflow="visible" style="left:90px; top:183px; width:95px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var srchioflag = model.getValue("/root/send/data/srchioflag");
- if ( srchioflag == "I" ) {
- // model.setValue("/root/send/data/srchionm", "[입원+대기/입원예정]"); 20160609 필요없어 삭제, 권영애
- } else {
- model.setValue("/root/send/data/srchionm", "");
- }
-
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grd_calendar);
- ]]>
- </script>
- </select1>
- <output id="output5" ref="/root/send/data/srchionm" style="left:185px; top:182px; width:145px; height:19px; font-weight:bold; color:#0000ff; "/>
- </xhtml:body>
- </xhtml:html>
|