// models/referral_models.dart
import 'package:hmg_patient_app_new/core/enums.dart';
import 'package:hmg_patient_app_new/features/hmg_services/models/req_models/create_e_referral_model.dart';
import 'package:hmg_patient_app_new/features/hmg_services/models/resq_models/get_all_cities_resp_model.dart';
import 'package:hmg_patient_app_new/features/hmg_services/models/resq_models/relationship_type_resp_mode.dart';
import 'package:hmg_patient_app_new/features/my_appointments/models/resp_models/hospital_model.dart';

class ReferralFormData {
  String requesterName = '';
  String requesterPhone = '';
  String searchPhone ='';
  CountryEnum countryEnum = CountryEnum.saudiArabia;
  CountryEnum patientCountryEnum = CountryEnum.saudiArabia;

  GetAllRelationshipTypeResponseModel? relationship;
  String otherRelationshipName = '';

  String patientIdentification = '';
  String patientName = '';
  String patientPhone = '';
  GetAllCitiesResponseModel? patientCity;

  List<EReferralAttachment> medicalReportImages = [];
  HospitalsModel? branch;
  bool isPatientInsured = false;
  List<EReferralAttachment> insuredPatientImages = [];
}

class FormValidationErrors {
  String? requesterName;
  String? requesterPhone;
  String? relationship;
  String? otherRelationshipName;

  String? patientIdentification;
  String? patientName;
  String? patientCity;
  String? patientPhone;


  String? medicalReport;
  String? branch;
  String? insuredDocument;

  String? searchValue;
  String? searchPhone;
}