/// <summary> /// Initializes a new instance of the <see cref="PatientAccountSynchronizationService"/> class. /// </summary> /// <param name="billingOfficeRepository">The billing office repository.</param> /// <param name="patientAccountRepository">The patient account repository.</param> /// <param name="patientAccountFactory">The patient account factory.</param> /// <param name="patientAccountPhoneTranslator">The patient phone to patient account phone translator.</param> /// <param name="payorCoverageRepository">The clinical payor coverage repository.</param> /// <param name="payorCoverageTranslator">The payor coverage translator.</param> public PatientAccountSynchronizationService( IBillingOfficeRepository billingOfficeRepository, IPatientAccountRepository patientAccountRepository, IPatientAccountFactory patientAccountFactory, IPatientAccountPhoneTranslator patientAccountPhoneTranslator, IClinicalPayorCoverageRepository payorCoverageRepository, IPayorCoverageTranslator payorCoverageTranslator) { _billingOfficeRepository = billingOfficeRepository; _patientAccountRepository = patientAccountRepository; _patientAccountFactory = patientAccountFactory; _patientAccountPhoneTranslator = patientAccountPhoneTranslator; _clinicalPayorCoverageRepository = payorCoverageRepository; _payorCoverageTranslator = payorCoverageTranslator; }
/// <summary> /// Initializes a new instance of the <see cref="PatientAccountFactory"/> class. /// </summary> /// <param name="patientAccountRepository">The patient account repository.</param> public PatientAccountFactory(IPatientAccountRepository patientAccountRepository) { _patientAccountRepository = patientAccountRepository; }
public PatientService(IPatientRepository patientRepository, IPatientAccountRepository patientAccountRepository) { _patientRepository = new RepositoryWrapper <IPatientRepository>(patientRepository); _patientAccountRepository = new RepositoryWrapper <IPatientAccountRepository>(patientAccountRepository); }