public void PatientReception(IPatient patient) { this.patient = patient; this.insurances = patient.Insurance; insurances.Report += insurances_Report; PrimaryExamination(); }
public Patient(string name, int age, string symptom, IInsurance insurance) { Name = name; Age = age; Symptom = symptom; Insurance = insurance; }
public Policy(string series, string number, IInsurance insurance, List <IServiceType> serviceList, IPatient patient) { _series = series; _number = number; _insurance = insurance; _serviceList = serviceList; _patient = patient; }
public Policy(string series, string number, IInsurance insurance, List<IServiceType> serviceList, IPatient patient) { _series = series; _number = number; _insurance = insurance; _serviceList = serviceList; _patient = patient; }
public static void OnDeleting(IInsurance insurance, IObjectSpace objectSpace) { if (insurance.allowTodel == false) { throw new UserFriendlyException(DevExpress.ExpressApp.Utils.CaptionHelper.GetLocalizedText("Exceptions", "SecuredObjectDelAttempt")); } var patients = Get_Patients(insurance, objectSpace); if (patients != null) { if (patients.Count>0) { throw new UserFriendlyException(DevExpress.ExpressApp.Utils.CaptionHelper.GetLocalizedText("Messages", "RelatedObjectsDelWarning")); } } }
internal PrivateComprehensive(IInsurance insurance) : base(insurance) { }
public InsuranceDecorator(IInsurance insurance) { this.insurance = insurance; }
internal CompanyComprehensive(IInsurance insurance) : base(insurance) { }
public IInsurance Update(IInsurance insuranceId) { throw new NotImplementedException(); }
public static IList<IPatient> Get_Patients(IInsurance insurance, IObjectSpace objectSpace) { var criteria = CriteriaOperator.Parse("[Insurance] = ?", insurance); return objectSpace.GetObjects<IPatient>(criteria); }
public static void AfterConstruction(IInsurance insurance) { insurance.allowTodel = true; }
public static IInsurance StealInsurance(this IInsuranceAccident stealInsuranceAccident, IInsurance Insurance) { return(Insurance); }
public static IInsurance RoadSideAsistanceInsurance(this IInsuranceAccidentPlus insuranceAccidentPlus, IInsurance insurance) { return(insurance); }