|
|
|
|
@ -37,6 +37,8 @@ class InsurancePage extends StatelessWidget {
|
|
|
|
|
projectID: 15,
|
|
|
|
|
patientIdentificationID: model.user.patientIdentificationNo,
|
|
|
|
|
patientID: model.user.patientID,
|
|
|
|
|
parentID: 0,
|
|
|
|
|
isFamily: false,
|
|
|
|
|
name: model.user.firstName + " " + model.user.lastName,
|
|
|
|
|
context: context,
|
|
|
|
|
);
|
|
|
|
|
@ -90,6 +92,8 @@ class InsurancePage extends StatelessWidget {
|
|
|
|
|
setupID: '010266',
|
|
|
|
|
patientID: model.getAllSharedRecordsByStatusResponse.getAllSharedRecordsByStatusList[index].responseID,
|
|
|
|
|
name: model.getAllSharedRecordsByStatusResponse.getAllSharedRecordsByStatusList[index].patientName,
|
|
|
|
|
parentID: model.user.patientID,
|
|
|
|
|
isFamily: true,
|
|
|
|
|
context: context);
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
@ -138,9 +142,9 @@ class InsurancePage extends StatelessWidget {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getDetails({String setupID, int projectID, String patientIdentificationID, int patientID, String name, BuildContext context}) {
|
|
|
|
|
getDetails({String setupID, int projectID, String patientIdentificationID, int patientID, String name, bool isFamily, int parentID = 0, BuildContext context}) {
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
_insuranceCardService.getPatientInsuranceDetails(setupID: setupID, projectID: projectID, patientID: patientID, patientIdentificationID: patientIdentificationID).then((value) {
|
|
|
|
|
_insuranceCardService.getPatientInsuranceDetails(setupID: setupID, projectID: projectID, patientID: patientID, patientIdentificationID: patientIdentificationID, isFamily: isFamily, parentID: parentID).then((value) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
if (!_insuranceCardService.hasError && _insuranceCardService.isHaveInsuranceCard) {
|
|
|
|
|
Navigator.push(
|
|
|
|
|
|