public async void LoadMedicalCenters()
        {
            if (SpecialitySelected == null)
            {
                MedicalCenters.Clear();
                return;
            }

            if (SpecialitySelected.Type == "3")
            {
                await dialogService.ShowMessage(AppResources.TittleMedicalCenterCoordination, SpecialitySelected.Message);

                return;
            }

            if (SpecialitySelected.Type == "2")
            {
                await dialogService.ShowMessage(AppResources.TittleMedicalCenterCoordination, SpecialitySelected.Message);
            }

            dialogService.ShowProgress();
            RequestMedicalCenterSchedules requestMedicalCenterSchedules = new RequestMedicalCenterSchedules
            {
                SpecialityCode = SpecialitySelected.Code,
            };

            ResponseMedicalCenterSchedules responseMedicalCenterSchedules = await apiService.GetMedicalCenterSchedules(requestMedicalCenterSchedules);

            dialogService.HideProgress();
            ValidateMedicalCenterSchedules(responseMedicalCenterSchedules);
        }
        private async void ValidateMedicalCenterSchedules(ResponseMedicalCenterSchedules response)
        {
            MedicalCenters.Clear();
            if (response.Success && response.StatusCode == 0 && response.MedicalCenters != null)
            {
                if (response.MedicalCenters != null && response.MedicalCenters.Count == 0)
                {
                    await dialogService.ShowMessage(SpecialitySelected.Description, "La especialidad que estás solicitando no tiene agenda  disponible en las próximas 72 h hábiles. Por favor, inténtalo de nuevo a la brevedad o comunícate al 2487 3333 de 9 a 19 horas.");

                    return;
                }

                dialogService.ShowProgress();
                foreach (MedicalCenter medicalCenter in response.MedicalCenters)
                {
                    MedicalCenters.Add(medicalCenter);
                }
                dialogService.HideProgress();
            }
            else
            {
                await dialogService.ShowMessage(response.Title, response.Message);
            }
        }