private void ToolbarItem_Clicked(object sender, EventArgs e)
 {
     _patient.Surveys = CaritaUATdb.GetPatientSurveys(_patient);
     Items            = new ObservableCollection <Survey>();
     foreach (var sur in _patient.Surveys)
     {
         Items.Add(sur);
     }
     radListViewSurveys.ItemsSource = Items;
 }
        private void radListViewSurveys_RefreshRequested(object sender, Telerik.XamarinForms.DataControls.ListView.PullToRefreshRequestedEventArgs e)
        {
            _patient.Surveys = CaritaUATdb.GetPatientSurveys(_patient);


            Items = new ObservableCollection <Survey>();
            foreach (var sur in _patient.Surveys)
            {
                Items.Add(sur);
            }

            radListViewSurveys.ItemsSource = Items;
            radListViewSurveys.EndRefresh();
        }
        public HealthCardPatientPage(Patient patient)
        {
            _patient = patient;
            if (_patient.Surveys == null)
            {
                _patient.Surveys = CaritaUATdb.GetPatientSurveys(_patient);
            }

            Items = new ObservableCollection <Survey>();
            foreach (var sur in _patient.Surveys)
            {
                Items.Add(sur);
            }


            InitializeComponent();

            this.Title = _patient.Dsc + " " + _patient.PNR;
        }