|
|
|
|
@ -396,25 +396,22 @@ class _PatientsScreenNewState extends State<PatientsScreenNew> {
|
|
|
|
|
isInpatient:
|
|
|
|
|
isInpatient,
|
|
|
|
|
onTap: () {
|
|
|
|
|
// TODO change the parameter to daynamic
|
|
|
|
|
Navigator.of(context)
|
|
|
|
|
.pushNamed(
|
|
|
|
|
PATIENTS_PROFILE,
|
|
|
|
|
arguments: {
|
|
|
|
|
"patient": item,
|
|
|
|
|
"patientType":
|
|
|
|
|
patientType,
|
|
|
|
|
"from": patient
|
|
|
|
|
.getFrom,
|
|
|
|
|
"to": patient
|
|
|
|
|
.getTo,
|
|
|
|
|
"1",
|
|
|
|
|
"from": widget.patientSearchRequestModel.from,
|
|
|
|
|
"to": widget.patientSearchRequestModel.from,
|
|
|
|
|
"isSearch":
|
|
|
|
|
isSearch,
|
|
|
|
|
"isInpatient":
|
|
|
|
|
isInpatient,
|
|
|
|
|
"arrivalType":
|
|
|
|
|
arrivalType,
|
|
|
|
|
"isInpatient":
|
|
|
|
|
isInpatient
|
|
|
|
|
"7",
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
|