Esempio n. 1
0
 /// <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));
 }
Esempio n. 2
0
 /// <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 ) );
 }
Esempio n. 3
0
 /// <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);
 }
Esempio n. 4
0
 /// <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;
 }