2024 AORN Global Surgical Conference & Expo (2024)

Loading ...


  • All
  • Sun Mar, 10
  • Mon Mar, 11
  • Tue Mar, 12

Legend

Available Timeslot

Scheduled Appointment

Personal Appointments

Appointment Request

Blocked Timeslot

Restricted Timeslot

Cancelled

Declined

Loading ...

' //html += '

' + calEvent.start + ' to ' + calEvent.end + '

' // // //$('.modal-title', this._detailsPopup ).html(calEvent.title || 'Appointment Detail'); //$('.modal-body .date', this._detailsPopup ).html(calEvent.start.format('MMM DD YYYY')); //$('.modal-body .from', this._detailsPopup ).html(calEvent.start.format('HH:MM a')); //$('.modal-body .to', this._detailsPopup ).html(calEvent.end.format('HH:MM a')); ////$('.modal-body .from', this._detailsPopup ).html(calEvent.start.fromNow()); // //$('.modal-body .notes', this._detailsPopup ).html(calEvent.notes); ////$('.modal-body .notes', this._detailsPopup ).html(calEvent.notes); // // //if (calEvent.senderType == 'E' && calEvent.sender.key == -1 ) { // this._deleteBtn.attr('data-id', calEvent.id); // this._deleteBtn.show(); //} //else if (calEvent.senderType == 'A' && calEvent.sender.key == 0 ) { // this._deleteBtn.attr('data-id', calEvent.id); // this._deleteBtn.show(); //} //else { // this._deleteBtn.hide(); //} $('#ctl00_cph1_nnAppointment_apptCalendar_loading', this._detailsPopup).removeClass('hidden').show(); $('.modal-header', this._detailsPopup).hide(); $('.modal-body', this._detailsPopup).hide(); $('.modal-footer', this._detailsPopup).hide(); this._detailsPopup.on('shown.bs.modal', function () { $('#ctl00_cph1_nnAppointment_apptCalendar_hdnAppointmentId').val(calEvent.id); $('#ctl00_cph1_nnAppointment_apptCalendar_hdnAppointmentStatus').val(calEvent.status); $('#ctl00_cph1_nnAppointment_apptCalendar_hdnAppointmentType').val(calEvent.type); //50727 Fixed issue where _doPostBack in JQuery in Firefox can cause issues. setTimeout(function () { __doPostBack('ctl00_cph1_nnAppointment_apptCalendar_upnlAppointmentDetails', ''); }, 1); $(this).off('shown.bs.modal'); }).modal('show'); } this.hideAppointmentDetails = function (calEvent) { this._detailsPopup.modal('hide'); }; this.delete = function (id) { var msg = { appointmentCalendar: { command: 'delete', id : this._deleteBtn.attr('data-id') } }; appointmentCalendar.callServer( 'appointmentCalendar', JSON.stringify(msg), function (msg, context) { appointmentCalendar._detailsPopup.modal('hide'); appointmentCalendar.refresh(); }, function (msg, context) { alert('Error! could not delete appointment'); } ) } this.adjustVisibility = function(sender) { var pnlFiltersVisible = $('#ctl00_cph1_nnAppointment_apptCalendar_pnlFilters').is(':visible'); var chkAllAppointmentRequest = $('#ctl00_cph1_nnAppointment_apptCalendar_chkAllAppointmentRequest'); var chkNew = $('#ctl00_cph1_nnAppointment_apptCalendar_chkNew'); // new = open var chkScheduled = $('#ctl00_cph1_nnAppointment_apptCalendar_chkApprovedAppointments'); // scheduled = accepted var chkModified = $('#ctl00_cph1_nnAppointment_apptCalendar_chkModified'); var chkCancelled = $('#ctl00_cph1_nnAppointment_apptCalendar_chkCancelled'); var chkDeclined = $('#ctl00_cph1_nnAppointment_apptCalendar_chkDeclined'); var chkSessions = $('#ctl00_cph1_nnAppointment_apptCalendar_chkSessionsInMyItinerary'); var chkPersonalNotes= $('#ctl00_cph1_nnAppointment_apptCalendar_chkPersonalNotes'); var chkMobileAppointments = $('#ctl00_cph1_nnAppointment_apptCalendar_chkMobileAppointment'); ; // all appointments if(chkAllAppointmentRequest.attr('id') == $('input[type=checkbox]', sender).attr('id')) { var isChecked = chkAllAppointmentRequest.is(':checked'); chkNew.prop('checked', isChecked); chkScheduled.prop('checked', isChecked); chkModified.prop('checked', isChecked); chkCancelled.prop('checked', false); chkDeclined.prop('checked', false); } // personal notes if ( chkPersonalNotes.is(':not(:checked)') ) { $('.fc-personalNotes').hide(); } else { $('.fc-personalNotes').show(); } if ( pnlFiltersVisible && chkNew.is(':not(:checked)') ) { $('.fc-appointment.fc-status-open').hide(); } else { $('.fc-appointment.fc-status-open').show(); } if ( pnlFiltersVisible && chkScheduled.is(':not(:checked)') ) { $('.fc-appointment.fc-status-accepted').hide(); } else { $('.fc-appointment.fc-status-accepted').show(); } if ( pnlFiltersVisible && chkModified.is(':not(:checked)') ) { $('.fc-appointment.fc-status-modified').hide(); } else { $('.fc-appointment.fc-status-modified').show(); } if ( !pnlFiltersVisible || chkCancelled.is(':not(:checked)') ) { $('.fc-appointment.fc-status-cancelled').hide(); $('.fc-personalNotes.fc-status-cancelled').hide(); } else { $('.fc-appointment.fc-status-cancelled').show(); $('.fc-personalNotes.fc-status-cancelled').show(); } if ( !pnlFiltersVisible || chkDeclined.is(':not(:checked)') ) { $('.fc-appointment.fc-status-declined').hide(); } else { $('.fc-appointment.fc-status-declined').show(); } // mobile appointments if ( chkMobileAppointments.is(':not(:checked)') ) { $('.fc-mobileAppointment').hide(); } else { $('.fc-mobileAppointment').show(); } // sessions if ( chkSessions.is(':not(:checked)') ) { $('.fc-session').hide(); } else { $('.fc-session').show(); } } // event handlers $(this._detailsPopup) .on('click', '#ctl00_cph1_nnAppointment_apptCalendar_btnDeleteAppointment', function (e) { e.preventDefault(); appointmentCalendar.delete(); }) .on('click', '#ctl00_cph1_nnAppointment_apptCalendar_btnModifyAppointment', function (e) { e.preventDefault(); appointmentCalendar.hideAppointmentDetails(); var intAppointmentID = $('#ctl00_cph1_nnAppointment_apptCalendar_hdnAppointmentId').val(); var appointmentType = $('#ctl00_cph1_nnAppointment_apptCalendar_hdnAppointmentType').val(); if (intAppointmentID > 0) { switch (appointmentType) { case 'personalNotes': appointment.showPersonalNoteForm(intAppointmentID ); break; case 'appointment': appointment.showAppointmentForm(null, null, null, intAppointmentID); break; default: break; } } return false; }) ; $(document) .on('click', '.chkAdjustVisibility', function(e) { appointmentCalendar.adjustVisibility(this); }) .on('click', '#ctl00_cph1_nnAppointment_apptCalendar_btnPrint', function (e) { e.preventDefault(); var filter = '' if ($('#ctl00_cph1_nnAppointment_apptCalendar_chkNew').is(':checked')) filter += ',0'; if ($('#ctl00_cph1_nnAppointment_apptCalendar_chkApprovedAppointments').is(':checked')) filter += ',1'; if ($('#ctl00_cph1_nnAppointment_apptCalendar_chkDeclined').is(':checked')) filter += ',2'; if ($('#ctl00_cph1_nnAppointment_apptCalendar_chkCancelled').is(':checked')) filter += ',3'; if ($('#ctl00_cph1_nnAppointment_apptCalendar_chkModified').is(':checked')) filter += ',4'; if ($('#ctl00_cph1_nnAppointment_apptCalendar_chkPersonalNotes').is(':checked')) filter += ',6'; var frm = $('form#aspnetForm'); var url = frm.attr('action').replace(/\.aspx.*/ig, '.aspx?print=1&nav=0&filter=' + filter) //frm // .attr('action', url) // .attr('target', '_blank') // ; // //setTimeout(function(){ // frm // .attr('action', url.replace(/\.aspx.*/ig, '.aspx')) // .attr('target', '') // ; //}, 500); window.open(url); }) .on('click', '.btnPrint', function (e) { e.preventDefault(); window.print(); }) .on('click', '.btnClose', function (e) { e.preventDefault(); window.close(); }) ; //pagination $(document).on('click', '#ctl00_cph1_nnAppointment_apptCalendar_appointmentCalendarDatePagination .pagination a', function(e) { e.preventDefault(); var date = $(this).attr('data-date'); $('#ctl00_cph1_nnAppointment_apptCalendar_appointmentCalendarDatePagination .pagination li').removeClass('active'); $(this).parent().addClass('active'); switch (date) { case 'all': appointmentCalendar.showAllDays(); break; default: appointmentCalendar.showDay(date); } })}, true);

2024 AORN Global Surgical Conference & Expo (2024)

References

Top Articles
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 5764

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.