/// <summary> /// Medications the changed event handler. /// </summary> /// <param name="obj">The <see cref="Rem.Ria.PatientModule.MedicationChangedEventArgs"/> instance containing the event data.</param> public void MedicationChangedEventHandler(MedicationChangedEventArgs obj) { Deployment.Current.InvokeIfNeeded(() => GetAllMedicationsByPatientAsync(_patientKey)); }
/// <summary> /// Medications the changed event handler. /// </summary> /// <param name="obj">The <see cref="Rem.Ria.PatientModule.MedicationChangedEventArgs"/> instance containing the event data.</param> public void MedicationChangedEventHandler( MedicationChangedEventArgs obj ) { Deployment.Current.InvokeIfNeeded ( () => GetAllMedicationsByPatientAsync ( _patientKey ) ); }
/// <summary> /// Filters the medication changed events. /// </summary> /// <param name="obj">The <see cref="Rem.Ria.PatientModule.MedicationChangedEventArgs"/> instance containing the event data.</param> /// <returns>A <see cref="System.Boolean"/></returns> public bool FilterMedicationChangedEvents(MedicationChangedEventArgs obj) { return(obj.PatientKey == _patientKey); }
/// <summary> /// Filters the medication changed events. /// </summary> /// <param name="obj">The <see cref="Rem.Ria.PatientModule.MedicationChangedEventArgs"/> instance containing the event data.</param> /// <returns>A <see cref="System.Boolean"/></returns> public bool FilterMedicationChangedEvents( MedicationChangedEventArgs obj ) { return obj.PatientKey == _patientKey; }