private async void prosesSimpan()
        {
            using (await MaterialDialog.Instance.LoadingDialogAsync(message: "Proses Simpan Pasien"))
            {
                try
                {
                    newPatientResults = new NewPatientResults();
                    newPatientResults = await patientServices.postNewPatient(newPatient4);
                }
                catch (Exception ex)
                {
                    await PopupNavigation.Instance.PushAsync(new DialogAlertCustom("Error", ex.Message));
                }

                if (!string.IsNullOrEmpty(newPatientResults.response))
                {
                    if (newPatientResults.response.ToString() == "gagal")
                    {
                        await PopupNavigation.Instance.PushAsync(new DialogAlertCustom("Warning", newPatientResults.deskripsiresponse));
                    }
                    else
                    {
                        registrationResults = new RegistrationResults();
                        registrationResults = await registrationServices.postRegistrationNewPatient(newRegistration);

                        if (registrationResults.response.ToString() == ("ok"))
                        {
                            await Navigation.PushAsync(new RegistrationSuccessNewPatientForm(registrationResults, newPatientResults));

                            Navigation.RemovePage(this);
                        }
                        else
                        {
                            await PopupNavigation.Instance.PushAsync(new DialogAlertCustom("Peringatan", registrationResults.deskripsiresponse));
                        }
                    }
                }
                else
                {
                    await PopupNavigation.Instance.PushAsync(new DialogAlertCustom("Warning", "Maaf Terjadi Kegagalan saat simpan, Mohon Dicoba Kembali"));
                }
            }
        }