public override void OnNavigatedTo(INavigationParameters parameters)
        {
            var specialty = parameters["Major"] as string;

            Major         = specialty;
            DocsWithMajor = new ObservableCollection <DoctorsAndSpecializationsModel>(Triage.Where(x => x.Specialization.Equals(specialty)));
        }
        public override void OnNavigatedTo(INavigationParameters parameters)
        {
            Loading     = true;
            ViewsLoaded = false;
            var specialty = parameters["Major"] as string;

            Major         = $"Let's look for a doctor with specialty in {Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(specialty)}";
            DocsWithMajor = new ObservableCollection <DoctorsAndSpecializationsModel>(Triage.Where(x => x.Specialization.Equals(specialty)));
            AssignAvailabilityAndHospital();

            Loading     = false;
            ViewsLoaded = true;

            Microsoft.AppCenter.Analytics.Analytics.TrackEvent("DoctorPage", new Dictionary <string, string>
            {
                { "Value", "DoctorPageVisits" }
            });
        }