|
|
|
|
@ -412,14 +412,18 @@ class _AppointmentActionsState extends State<AppointmentActions> {
|
|
|
|
|
.then((res) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
print(res['FinalRadiologyList']);
|
|
|
|
|
finalRadiology =
|
|
|
|
|
new FinalRadiology.fromJson(res['FinalRadiologyList'][0]);
|
|
|
|
|
print(finalRadiology.reportData);
|
|
|
|
|
navigateToRadiologyDetails(finalRadiology);
|
|
|
|
|
if (res['FinalRadiologyList'] != null) {
|
|
|
|
|
finalRadiology =
|
|
|
|
|
new FinalRadiology.fromJson(res['FinalRadiologyList'][0]);
|
|
|
|
|
print(finalRadiology.reportData);
|
|
|
|
|
navigateToRadiologyDetails(finalRadiology);
|
|
|
|
|
} else {
|
|
|
|
|
AppToast.showErrorToast(message: res['ErrorEndUserMessage']);
|
|
|
|
|
}
|
|
|
|
|
}).catchError((err) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
print(err);
|
|
|
|
|
AppToast.showErrorToast(message: err);
|
|
|
|
|
// AppToast.showErrorToast(message: err);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|