|
|
|
@ -10,9 +10,11 @@ class ScanQrService extends BaseService {
|
|
|
|
Future getInPatient(
|
|
|
|
Future getInPatient(
|
|
|
|
PatientSearchRequestModel requestModel, bool isMyInpatient) async {
|
|
|
|
PatientSearchRequestModel requestModel, bool isMyInpatient) async {
|
|
|
|
hasError = false;
|
|
|
|
hasError = false;
|
|
|
|
await getDoctorProfile();
|
|
|
|
await getDoctorProfile(isGetProfile: true);
|
|
|
|
requestModel.loginDoctorID = doctorProfile!.doctorID;
|
|
|
|
requestModel.loginDoctorID = doctorProfile!.doctorID;
|
|
|
|
requestModel.doctorID = 0;
|
|
|
|
requestModel.doctorID = 0;
|
|
|
|
|
|
|
|
requestModel.from = "0";
|
|
|
|
|
|
|
|
requestModel.to = "0";
|
|
|
|
await baseAppClient.post(
|
|
|
|
await baseAppClient.post(
|
|
|
|
GET_PATIENT_IN_PATIENT_LIST,
|
|
|
|
GET_PATIENT_IN_PATIENT_LIST,
|
|
|
|
onSuccess: (dynamic response, int statusCode) {
|
|
|
|
onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|