Exemplo n.º 1
0
        /// <summary>
        /// Patients the changed event handler.
        /// </summary>
        /// <param name="patientChangedEventArgs">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
        public void PatientChangedEventHandler(PatientChangedEventArgs patientChangedEventArgs)
        {
            var requestDispatcher = _asyncRequestDispatcherFactory.CreateAsyncRequestDispatcher();

            requestDispatcher.Add(new GetDtoRequest <AppointmentDetailsDto> (EditingDto.Key));
            requestDispatcher.ProcessRequests(GetAppointmentDetailsRequestCompleted, HandleRequestDispatcherException);
        }
 /// <summary>
 /// Filters the patient changed events.
 /// </summary>
 /// <param name="patientChangedEventArgs">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 /// <returns>A <see cref="System.Boolean"/></returns>
 public bool FilterPatientChangedEvents ( PatientChangedEventArgs patientChangedEventArgs )
 {
     return ClinicianSchedule.ClinicianAppointments.Where ( ca => ca.PatientKey == patientChangedEventArgs.PatientKey ).Any ();
 }
 /// <summary>
 /// Filters the patient changed event handler.
 /// </summary>
 /// <param name="patientChangedEventArgs">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 public void FilterPatientChangedEventHandler ( PatientChangedEventArgs patientChangedEventArgs )
 {
     Deployment.Current.InvokeIfNeeded ( () => UpdateSchedule ( true ) );
 }
 /// <summary>
 /// Filters the patient changed events.
 /// </summary>
 /// <param name="patientChangedEventArgs">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 /// <returns>A <see cref="System.Boolean"/></returns>
 public bool FilterPatientChangedEvents(PatientChangedEventArgs patientChangedEventArgs)
 {
     return(ClinicianSchedule.ClinicianAppointments.Where(ca => ca.PatientKey == patientChangedEventArgs.PatientKey).Any());
 }
Exemplo n.º 5
0
 /// <summary>
 /// Filters the patient changed events.
 /// </summary>
 /// <param name="patientChangedEventArgs">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 /// <returns>A <see cref="System.Boolean"/></returns>
 public bool FilterPatientChangedEvents(PatientChangedEventArgs patientChangedEventArgs)
 {
     return(EditingDto.PatientKey == patientChangedEventArgs.PatientKey && EditingDto.Key > 0);
 }
 /// <summary>
 /// Filters the patient changed event handler.
 /// </summary>
 /// <param name="patientChangedEventArgs">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 public void FilterPatientChangedEventHandler(PatientChangedEventArgs patientChangedEventArgs)
 {
     Deployment.Current.InvokeIfNeeded(() => UpdateSchedule(true));
 }
Exemplo n.º 7
0
 /// <summary>
 /// Patients the changed event handler.
 /// </summary>
 /// <param name="obj">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 public void PatientChangedEventHandler( PatientChangedEventArgs obj )
 {
     Deployment.Current.InvokeIfNeeded ( () => LoadPatient ( PatientDto.Key ) );
 }
Exemplo n.º 8
0
 /// <summary>
 /// Filters the patient changed events.
 /// </summary>
 /// <param name="obj">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 /// <returns>A <see cref="System.Boolean"/></returns>
 public bool FilterPatientChangedEvents( PatientChangedEventArgs obj )
 {
     return PatientDto != null && PatientDto.Key == obj.PatientKey;
 }
Exemplo n.º 9
0
 /// <summary>
 /// Patients the changed event handler.
 /// </summary>
 /// <param name="obj">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 public void PatientChangedEventHandler(PatientChangedEventArgs obj)
 {
     Deployment.Current.InvokeIfNeeded(() => LoadPatient(PatientDto.Key));
 }
Exemplo n.º 10
0
 /// <summary>
 /// Filters the patient changed events.
 /// </summary>
 /// <param name="obj">The <see cref="Rem.Ria.PatientModule.PatientChangedEventArgs"/> instance containing the event data.</param>
 /// <returns>A <see cref="System.Boolean"/></returns>
 public bool FilterPatientChangedEvents(PatientChangedEventArgs obj)
 {
     return(PatientDto != null && PatientDto.Key == obj.PatientKey);
 }