import 'package:doctor_app_flutter/core/service/patient/out_patient_service.dart';
import 'package:doctor_app_flutter/core/service/patient/patientInPatientService.dart';
import 'package:doctor_app_flutter/core/service/special_clinics/special_clinic_service.dart';
import 'package:doctor_app_flutter/core/model/dashboard/get_special_clinical_care_mapping_List_Respose_Model.dart';
import 'package:doctor_app_flutter/core/model/patient/patiant_info_model.dart';
import '../../../locator.dart';
import '../base_view_model.dart';



class PharmacyInterventionViewModel extends BaseViewModel {
  OutPatientService _outPatientService = locator<OutPatientService>();
  SpecialClinicsService _specialClinicsService =
  locator<SpecialClinicsService>();

  List<PatiantInformtion> get patientList => _outPatientService.patientList;

  List<GetSpecialClinicalCareMappingListResponseModel>
  get specialClinicalCareMappingList =>
      _specialClinicsService.specialClinicalCareMappingList;

  List<PatiantInformtion> filterData = [];

  DateTime? selectedFromDate;
  DateTime? selectedToDate;

  int firstSubsetIndex = 0;
  int inPatientPageSize = 20;
  int lastSubsetIndex = 20;

  List<String> InpatientClinicList = [];


  PatientInPatientService _inPatientService =
  locator<PatientInPatientService>();

  List<PatiantInformtion> get inPatientList => _inPatientService.inPatientList;

  List<PatiantInformtion> get myIinPatientList =>
      _inPatientService.myInPatientList;

  List<PatiantInformtion> filteredInPatientItems = [];
  List<PatiantInformtion> filteredMyInPatientItems = [];

}
