|
|
|
|
@ -589,24 +589,23 @@ class _PatientsScreenState extends State<PatientsScreen> {
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10.0,
|
|
|
|
|
),
|
|
|
|
|
if (int.parse(patientType) == 7)
|
|
|
|
|
Container(
|
|
|
|
|
padding: EdgeInsets.all(5),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
border: Border.all(
|
|
|
|
|
color: Colors.grey),
|
|
|
|
|
borderRadius:
|
|
|
|
|
BorderRadius.circular(
|
|
|
|
|
10)),
|
|
|
|
|
child: ClinicList(
|
|
|
|
|
clinicId: clinicId,
|
|
|
|
|
onClinicChange: (newValue) {
|
|
|
|
|
clinicId = newValue;
|
|
|
|
|
changeClinic(
|
|
|
|
|
newValue, context, model);
|
|
|
|
|
},
|
|
|
|
|
)),
|
|
|
|
|
// if (int.parse(patientType) == 7)
|
|
|
|
|
// Container(
|
|
|
|
|
// padding: EdgeInsets.all(5),
|
|
|
|
|
// decoration: BoxDecoration(
|
|
|
|
|
// color: Colors.white,
|
|
|
|
|
// border: Border.all(
|
|
|
|
|
// color: Colors.grey),
|
|
|
|
|
// borderRadius:
|
|
|
|
|
// BorderRadius.circular(10)),
|
|
|
|
|
// child: ClinicList(
|
|
|
|
|
// clinicId: clinicId,
|
|
|
|
|
// onClinicChange: (newValue) {
|
|
|
|
|
// clinicId = newValue;
|
|
|
|
|
// changeClinic(
|
|
|
|
|
// newValue, context, model);
|
|
|
|
|
// },
|
|
|
|
|
// )),
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
|
top: MediaQuery.of(context)
|
|
|
|
|
@ -616,7 +615,7 @@ class _PatientsScreenState extends State<PatientsScreen> {
|
|
|
|
|
// child: _locationBar(context)
|
|
|
|
|
child: SERVICES_PATIANT2[
|
|
|
|
|
int.parse(patientType)] ==
|
|
|
|
|
"patientArrivalList"
|
|
|
|
|
"List_MyOutPatient"
|
|
|
|
|
? _locationBar(context, model)
|
|
|
|
|
: Container(),
|
|
|
|
|
),
|
|
|
|
|
@ -657,7 +656,8 @@ class _PatientsScreenState extends State<PatientsScreen> {
|
|
|
|
|
isInpatient,
|
|
|
|
|
"arrivalType":
|
|
|
|
|
arrivalType,
|
|
|
|
|
"isInpatient":isInpatient
|
|
|
|
|
"isInpatient":
|
|
|
|
|
isInpatient
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
@ -903,13 +903,17 @@ class _PatientsScreenState extends State<PatientsScreen> {
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
int val2 = int.parse(patientType);
|
|
|
|
|
GetPatientArrivalListRequestModel getPatientArrivalListRequestModel;
|
|
|
|
|
if (val2 == 7) {
|
|
|
|
|
getPatientArrivalListRequestModel = GetPatientArrivalListRequestModel(
|
|
|
|
|
from: _patientSearchFormValues.From,
|
|
|
|
|
to: _patientSearchFormValues.To,
|
|
|
|
|
pageIndex: 0,
|
|
|
|
|
pageSize: 0,
|
|
|
|
|
patientMRN: patient.getPatientID);
|
|
|
|
|
if (val2 == 0) {
|
|
|
|
|
patient = PatientModel(
|
|
|
|
|
From: _patientSearchFormValues.From,
|
|
|
|
|
To: _patientSearchFormValues.To,
|
|
|
|
|
FirstName: "0",
|
|
|
|
|
MiddleName: "0",
|
|
|
|
|
LastName: "0",
|
|
|
|
|
PatientMobileNumber: "0",
|
|
|
|
|
PatientIdentificationID: "0",
|
|
|
|
|
PatientID: 0,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
model
|
|
|
|
|
|