|
|
|
@ -278,7 +278,7 @@ class _BookConfirmState extends State<BookConfirm> {
|
|
|
|
|
widget.service.checkPatientNphiesEligibility(docObject.projectID).then((res) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
if (res["isNphiesMatchedWithVida"]) {
|
|
|
|
|
getPatientShare(context, res['AppointmentNo'], docObject.clinicID, docObject.projectID, docObject);
|
|
|
|
|
getPatientShare(context, appointmentNo, docObject.clinicID, docObject.projectID, docObject);
|
|
|
|
|
getToDoCount();
|
|
|
|
|
} else {
|
|
|
|
|
ConfirmDialog dialog = new ConfirmDialog(
|
|
|
|
@ -332,6 +332,8 @@ class _BookConfirmState extends State<BookConfirm> {
|
|
|
|
|
|
|
|
|
|
Future.delayed(new Duration(milliseconds: 500), () {
|
|
|
|
|
checkPatientNphiesEligibility(docObject, res['AppointmentNo'], context);
|
|
|
|
|
// getPatientShare(context, res['AppointmentNo'], docObject.clinicID, docObject.projectID, docObject);
|
|
|
|
|
// getToDoCount();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
widget.service.logDoctorFreeSlots(docObject.doctorID, docObject.clinicID, docObject.projectID, decodedLogs, res['AppointmentNo'], context).then((res) {
|
|
|
|
@ -435,6 +437,7 @@ class _BookConfirmState extends State<BookConfirm> {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getPatientShare(context, String appointmentNo, int clinicID, int projectID, DoctorList docObject) {
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
widget.service.getPatientShare(appointmentNo, clinicID, projectID, context).then((res) {
|
|
|
|
|
projectViewModel.selectedBodyPartList.clear();
|
|
|
|
|
projectViewModel.laserSelectionDuration = 0;
|
|
|
|
|