private async void ValidateResponseCoordinationPaymentMethod(ResponseCoordinationPaymentMethod response)
        {
            dialogService.HideProgress();
            if (response.Success)
            {
                PaymentMethods.Clear();
                CoordinationPaymentMethod ExternalMethod = response.CoordinationPaymentMethods.Where(x => x.ExternalMethod).FirstOrDefault();

                if (ExternalMethod != null)
                {
                    ExternalMethod.IconApp                  = "pasarela";
                    ExternalMethod.PaymentMethodName        = "Pago en línea";
                    ExternalMethod.PaymentMethodDescription = string.Empty;
                    SetCoordination(ExternalMethod);
                }

                foreach (CoordinationPaymentMethod item in response.CoordinationPaymentMethods)
                {
                    if (item.ExternalMethod == false)
                    {
                        SetCoordination(item);
                    }
                }
                await navigationService.Navigate(AppPages.CoordinationPaymentMethodPage);
            }
            else
            {
                await dialogService.ShowMessage(response.Title, response.Message);
            }
        }
        public async void GetPaymentMethods()
        {
            RequestCoordinationPaymentMethod request = new RequestCoordinationPaymentMethod
            {
                ClinicCode     = MedicalCenterSelected.ClinicCode,
                DocumentType   = PersonSelected.DocumentType,
                Email          = PersonSelected.Email,
                IdReference    = ServiceLocator.Current.GetInstance <ILoginViewModel>().User.IdReference,
                LocalCode      = MedicalCenterSelected.LocalCode,
                Number         = PersonSelected.Document,
                PatientCode    = responsePreConfirmation.PreConfirm.PatientCode,
                Phone          = PersonSelected.Phone,
                Price          = responsePreConfirmation.PreConfirm.Price,
                ProductCode    = responsePreConfirmation.PreConfirm.ProductCode,
                RDACode        = medicalCenterSelected.RDACode,
                SpecialityCode = specialitySelected.Code,
                Time           = ScheduleSelected.Time,
                YearMonthDay   = ScheduleSelected.YearMonthDay
            };

            dialogService.ShowProgress();
            ResponseCoordinationPaymentMethod response = await apiService.GetPaymentMethods(request);

            ValidateResponseCoordinationPaymentMethod(response);
        }