|
|
|
|
@ -1,18 +1,17 @@
|
|
|
|
|
import 'package:doctor_app_flutter/config/size_config.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/models/patient/radiology_req_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
import '../../../../config/shared_pref_kay.dart';
|
|
|
|
|
import '../../../../models/patient/vital_sign_req_model.dart';
|
|
|
|
|
import '../../../../config/size_config.dart';
|
|
|
|
|
import '../../../../models/patient/patiant_info_model.dart';
|
|
|
|
|
import '../../../../models/patient/radiology_req_model.dart';
|
|
|
|
|
import '../../../../providers/patients_provider.dart';
|
|
|
|
|
|
|
|
|
|
import '../../../../util/dr_app_shared_pref.dart';
|
|
|
|
|
import '../../../../widgets/shared/app_scaffold_widget.dart';
|
|
|
|
|
import '../../../../widgets/shared/app_texts_widget.dart';
|
|
|
|
|
import '../../../../widgets/shared/card_with_bg_widget.dart';
|
|
|
|
|
import '../../../../widgets/shared/dr_app_circular_progress_Indeicator.dart';
|
|
|
|
|
import '../../../../widgets/shared/profile_image_widget.dart';
|
|
|
|
|
|
|
|
|
|
DrAppSharedPreferances sharedPref = new DrAppSharedPreferances();
|
|
|
|
|
|
|
|
|
|
@ -51,12 +50,12 @@ class _RadiologyScreenState extends State<RadiologyScreen> {
|
|
|
|
|
}
|
|
|
|
|
print(type);
|
|
|
|
|
RadiologyReqModel radiologyReqModel = RadiologyReqModel(
|
|
|
|
|
patientID: patient.patientId,
|
|
|
|
|
projectID: patient.projectId,
|
|
|
|
|
tokenID: token,
|
|
|
|
|
patientTypeID: patient.patientType,
|
|
|
|
|
languageID: 2,
|
|
|
|
|
);
|
|
|
|
|
patientID: patient.patientId,
|
|
|
|
|
projectID: patient.projectId,
|
|
|
|
|
tokenID: token,
|
|
|
|
|
patientTypeID: patient.patientType,
|
|
|
|
|
languageID: 2,
|
|
|
|
|
);
|
|
|
|
|
patientsProv.getPatientRadiology(radiologyReqModel.toJson());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -108,16 +107,10 @@ class _RadiologyScreenState extends State<RadiologyScreen> {
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
CircleAvatar(
|
|
|
|
|
radius:
|
|
|
|
|
SizeConfig.imageSizeMultiplier *
|
|
|
|
|
12,
|
|
|
|
|
backgroundImage: NetworkImage(
|
|
|
|
|
patientsProv
|
|
|
|
|
.patientRadiologyList[index]
|
|
|
|
|
.doctorImageURL),
|
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
|
),
|
|
|
|
|
ProfileImageWidget(
|
|
|
|
|
url: patientsProv
|
|
|
|
|
.patientRadiologyList[index]
|
|
|
|
|
.doctorImageURL),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.fromLTRB(
|
|
|
|
|
|