예제 #1
0
        public AnthemCaResultPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager, IMediaRepository mediaRepository, ICustomSettingManager customSettingManager,
                                                     IUniqueItemRepository <CorporateAccount> corporateAccountRepository, IResultPdfDownloadPollingAgentHelper resultPdfDownloaderHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICustomerRepository customerRepository,
                                                     IEventRepository eventRepository, IResultPdfFileHelper resultPdfFileHelper, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer,
                                                     IXmlSerializer <ResultPdfNotPosted> resultPdfNotPostedSerializer, IResultPdfEmailNotificationHelper resultPdfEmailNotificationHelper)
        {
            _cutOfDate = settings.AnthemDownloadCutOfDate;
            _settings  = settings;
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;

            _resultPdfDownloaderHelper = resultPdfDownloaderHelper;
            _pgpFileEncryptionHelper   = pgpFileEncryptionHelper;
            _customerRepository        = customerRepository;
            _eventRepository           = eventRepository;
            _resultPostedToPlanPath    = settings.ResultPostedToPlanPath;
            _resultPdfFileHelper       = resultPdfFileHelper;
            _resultPdfPostedSerializer = resultPdfPostedSerializer;

            _logger = logManager.GetLogger("Anthem CA ResultPdf");

            _accountId                        = settings.AnthemAccountId;
            _customSettingFile                = settings.PcpResultPdfDownloadSettings;
            _destinationFolderPdfPath         = settings.PcpResultPdfDownloadPath;
            _resultPdfNotPostedSerializer     = resultPdfNotPostedSerializer;
            _resultPdfEmailNotificationHelper = resultPdfEmailNotificationHelper;
        }
예제 #2
0
        public BcbsMnPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager, IMediaRepository mediaRepository, ICustomSettingManager customSettingManager,
                                             IUniqueItemRepository <CorporateAccount> corporateAccountRepository, IResultPdfDownloadPollingAgentHelper resultPdfDownloaderHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICustomerRepository customerRepository,
                                             IEventRepository eventRepository, IResultPdfFileHelper resultPdfFileHelper, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer)
        {
            _cutOfDate = settings.PcpDownloadCutOfDate;
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _settings                   = settings;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;

            _resultPdfDownloaderHelper = resultPdfDownloaderHelper;
            _pgpFileEncryptionHelper   = pgpFileEncryptionHelper;
            _customerRepository        = customerRepository;
            _eventRepository           = eventRepository;
            _resultPdfFileHelper       = resultPdfFileHelper;
            _resultPdfPostedSerializer = resultPdfPostedSerializer;

            _logger = logManager.GetLogger("BCBS-Mn ResultPdf");

            _accountId                = settings.BcbsMnAccountId;
            _customSettingFile        = settings.PcpResultPdfDownloadSettings;
            _destinationFolderPdfPath = settings.PcpResultPdfDownloadPath;

            _bcbsMnSftpHost         = settings.BcbsMnSftpHost;
            _bcbsMnSftpUserName     = settings.BcbsMnSftpUserName;
            _bcbsMnSftpPassword     = settings.BcbsMnSftpPassword;
            _sendReportToBcbsMn     = settings.SendReportToBcbsMn;
            _bcbsSftpFolderPath     = settings.BcbsMnSftpResultReportDownloadPath;
            _resultPostedToPlanPath = settings.ResultPostedToPlanPath;
        }
예제 #3
0
        public PcpResultPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager, IMediaRepository mediaRepository, ICustomSettingManager customSettingManager,
                                                ICorporateAccountRepository corporateAccountRepository, IResultPdfDownloadPollingAgentHelper resultPdfDownloadHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICustomerRepository customerRepository, IZipHelper zipHelper,
                                                IEventRepository eventRepository, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer, IResultPdfFileHelper resultPdfFileHelper, ISftpCridentialManager sftpCridentialManager,
                                                IXmlSerializer <ResultPdfNotPosted> resultPdfNotPostedSerializer, IResultPdfEmailNotificationHelper resultPdfEmailNotificationHelper)
        {
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _settings                   = settings;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;
            _resultPdfDownloadHelper    = resultPdfDownloadHelper;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;
            _customerRepository         = customerRepository;
            _zipHelper                  = zipHelper;
            _eventRepository            = eventRepository;
            _resultPdfPostedSerializer  = resultPdfPostedSerializer;
            _resultPdfFileHelper        = resultPdfFileHelper;
            _sftpCridentialManager      = sftpCridentialManager;
            _logger = logManager.GetLogger("PCPResultPdf");

            _customSettingFile           = settings.PcpResultPdfDownloadSettings;
            _destinationFolderPdfSetting = settings.PcpResultPdfDownloadPath;
            _accountIds = settings.PcpResultPdfDownloadAccountIds;
            _cutOfDate  = settings.PcpDownloadCutOfDate;
            _martinsPointExclusiveAccountId   = settings.MartinsPointExclusiveAccountId;
            _resultPostedToPlanPath           = settings.ResultPostedToPlanPath;
            _resultPdfNotPostedSerializer     = resultPdfNotPostedSerializer;
            _resultPdfEmailNotificationHelper = resultPdfEmailNotificationHelper;
        }
        public NtspResultPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager,
                                                 IMediaRepository mediaRepository, ICustomSettingManager customSettingManager, IUniqueItemRepository <CorporateAccount> corporateAccountRepository, ICustomerRepository customerRepository,
                                                 IUniqueItemRepository <Event> eventRepository, IResultPdfDownloadPollingAgentHelper resultPdfDownloaderHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer, IResultPdfFileHelper resultPdfFileHelper)
        {
            _cutOfDate = settings.PcpDownloadCutOfDate;

            _eventCustomerResultRepository = eventCustomerResultRepository;
            _settings                   = settings;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;
            _customerRepository         = customerRepository;
            _eventRepository            = eventRepository;
            _resultPdfDownloaderHelper  = resultPdfDownloaderHelper;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;

            _logger = logManager.GetLogger("NTSP ResultPdf");

            _accountIds               = settings.NtspAccountIds;
            _customSettingFile        = settings.NtspResultPdfDownloadSettings;
            _destinationFolderPdfPath = settings.NtspResultPdfDownloadPath;

            _sftpHost                     = settings.NtspSftpHost;
            _sftpUserName                 = settings.NtspSftpUserName;
            _sftpPassword                 = settings.NtspSftpPassword;
            _sendReportToSftp             = settings.SendReportToNtspSftp;
            _destinationSftpFolderPdfPath = settings.NtspSftpResultReportDownloadPath;

            _resultPdfPostedSerializer = resultPdfPostedSerializer;
            _resultPdfFileHelper       = resultPdfFileHelper;
            _resultPostedToPlanPath    = settings.ResultPostedToPlanPath;

            _stopSendingPdftoHealthPlanDate = settings.StopSendingPdftoHealthPlanDate;
        }
        public FloridaBlueResultPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager,
                                                        IMediaRepository mediaRepository, ICustomSettingManager customSettingManager, IUniqueItemRepository <CorporateAccount> corporateAccountRepository, ICustomerRepository customerRepository,
                                                        IUniqueItemRepository <Event> eventRepository, IResultPdfDownloadPollingAgentHelper resultPdfDownloaderHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper, IZipHelper zipHelper,
                                                        IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer, IResultPdfFileHelper resultPdfFileHelper)
        {
            _cutOfDate = settings.PcpDownloadCutOfDate;

            _eventCustomerResultRepository = eventCustomerResultRepository;
            _settings                   = settings;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;
            _customerRepository         = customerRepository;
            _eventRepository            = eventRepository;
            _resultPdfDownloaderHelper  = resultPdfDownloaderHelper;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;
            _zipHelper                  = zipHelper;
            _resultPdfPostedSerializer  = resultPdfPostedSerializer;
            _resultPdfFileHelper        = resultPdfFileHelper;

            _logger = logManager.GetLogger("Florida Blue ResultPdf");

            _customSettingFile        = settings.PcpResultPdfDownloadSettings;
            _destinationFolderPdfPath = settings.PcpResultPdfDownloadPath;
            _dayOfWeek = _settings.FloridaBlueReportsDayOfWeek;
        }
예제 #6
0
        public AnthemResultPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager,
                                                   IMediaRepository mediaRepository, ICustomSettingManager customSettingManager, IUniqueItemRepository <CorporateAccount> corporateAccountRepository,
                                                   IResultPdfDownloadPollingAgentHelper resultPdfDownloaderHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICustomerRepository customerRepository,
                                                   IEventRepository eventRepository, ICorporateTagRepository corporateTagRepository, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer,
                                                   IResultPdfFileHelper resultPdfFileHelper, IXmlSerializer <ResultPdfNotPosted> resultPdfNotPostedSerializer,
                                                   IResultPdfEmailNotificationHelper resultPdfEmailNotificationHelper, ICustomerResultPosedService customerResultPosedService,
                                                   IMedicareApiService medicareApiService, IEventCustomerRepository eventCustomerRepository)
        {
            _cutOfDate = settings.AnthemDownloadCutOfDate;
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _settings                   = settings;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;

            _resultPdfDownloaderHelper = resultPdfDownloaderHelper;
            _pgpFileEncryptionHelper   = pgpFileEncryptionHelper;
            _customerRepository        = customerRepository;
            _eventRepository           = eventRepository;
            _corporateTagRepository    = corporateTagRepository;
            _resultPdfPostedSerializer = resultPdfPostedSerializer;
            _resultPostedToPlanPath    = settings.ResultPostedToPlanPath;
            _resultPdfFileHelper       = resultPdfFileHelper;

            _logger = logManager.GetLogger("Anthem_ResultPdf");

            _accountIds = settings.AnthemAccountIds;

            _customSettingFile                = settings.PcpResultPdfDownloadSettings;
            _resultPdfNotPostedSerializer     = resultPdfNotPostedSerializer;
            _resultPdfEmailNotificationHelper = resultPdfEmailNotificationHelper;

            _customerResultPosedService = customerResultPosedService;

            _medicareApiService      = medicareApiService;
            _eventCustomerRepository = eventCustomerRepository;

            _cutOfDateForSendingReport = settings.AnthemCutOfDateForSendingReport;

            _maxPagesinBatch = settings.BatchPageSize;

            _crosswalkFilePath = settings.CrosswalkFilePath;
            _crosswalkFileYear = settings.CrosswalkFileYear;
        }
예제 #7
0
        public BcbsMiResultPdfDownloadPdfAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager, IMediaRepository mediaRepository, ICustomSettingManager customSettingManager,
                                               IUniqueItemRepository <CorporateAccount> corporateAccountRepository, ICustomerRepository customerRepository, IResultPdfDownloadPollingAgentHelper resultPdfDownloadHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper,
                                               IZipHelper zipHelper, IUniqueItemRepository <Event> eventRepository, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer, IResultPdfFileHelper resultPdfFileHelper,
                                               IXmlSerializer <ResultPdfNotPosted> resultPdfNotPostedSerializer, IResultPdfEmailNotificationHelper resultPdfEmailNotificationHelper)
        {
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _settings                   = settings;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;
            _customerRepository         = customerRepository;

            _resultPdfDownloadHelper = resultPdfDownloadHelper;
            _pgpFileEncryptionHelper = pgpFileEncryptionHelper;
            _zipHelper                 = zipHelper;
            _eventRepository           = eventRepository;
            _resultPdfPostedSerializer = resultPdfPostedSerializer;
            _resultPdfFileHelper       = resultPdfFileHelper;

            _logger = logManager.GetLogger("BcbsMiResultPdf");

            _customSettingFile = settings.PcpResultPdfDownloadSettings;
            _destinationFolderResultReportPath = settings.BcbsMiResultReportDownloadPath;

            _destinationFolderResultPdfPath = settings.BcbsMiResultPdfDownloadPath;

            _cutOfDate = settings.PcpDownloadCutOfDate;

            _accountId             = settings.BcbsMiAccountId;
            _bcbsMiGapPatinetTags  = settings.BcbsMiGapPatinetTags;
            _bcbsMiRiskPatientTags = settings.BcbsMiRiskPatientTags;

            _fromDateForGapPatient            = settings.FromDateForGapPatient;
            _resultPostedToPlanPath           = settings.ResultPostedToPlanPath;
            _resultPdfNotPostedSerializer     = resultPdfNotPostedSerializer;
            _resultPdfEmailNotificationHelper = resultPdfEmailNotificationHelper;

            _stopSendingPdftoHealthPlanDate = settings.StopSendingPdftoHealthPlanDate;
        }
예제 #8
0
        public WellCareToWellmedResultPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager,
                                                              IMediaRepository mediaRepository, ICustomSettingManager customSettingManager, IUniqueItemRepository <CorporateAccount> corporateAccountRepository,
                                                              ICustomerRepository customerRepository, IUniqueItemRepository <Event> eventRepository, IResultPdfDownloadPollingAgentHelper resultPdfDownloadHelper,
                                                              IPgpFileEncryptionHelper pgpFileEncryptionHelper, IHostRepository hostRepository, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer,
                                                              IResultPdfFileHelper resultPdfFileHelper, IXmlSerializer <CustomerResultsFailedOnSftp> customerResultsFailedOnSftpSerializer)
        {
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;
            _customerRepository         = customerRepository;
            _eventRepository            = eventRepository;

            _resultPdfDownloadHelper               = resultPdfDownloadHelper;
            _pgpFileEncryptionHelper               = pgpFileEncryptionHelper;
            _hostRepository                        = hostRepository;
            _resultPdfPostedSerializer             = resultPdfPostedSerializer;
            _resultPdfFileHelper                   = resultPdfFileHelper;
            _customerResultsFailedOnSftpSerializer = customerResultsFailedOnSftpSerializer;
            _settings = settings;

            _logger = logManager.GetLogger("WellcareToWellMed");

            _customSettingFile            = settings.WellmedResultPdfDownloadSettings;
            _destinationFolderPdfPath     = settings.WellmedResultPdfDownloadPath;
            _destinationSftpFolderPdfPath = settings.WellmedSftpResultPdfDownloadPath;

            _cutOfDate = settings.PcpDownloadCutOfDate;

            _accountIds = settings.WellCareToWellmedAccountId;

            _sftpHost     = settings.WellmedSftpHost;
            _sftpUserName = settings.WellmedSftpUserName;
            _sftpPassword = settings.WellmedSftpPassword;

            _sendReportToSftp       = settings.SendReportToWellmedSftp;
            _resultPostedToPlanPath = settings.ResultPostedToPlanPath;
            _wellmedAccountId       = _settings.WellmedAccountId;
        }
        public MonarchResultPdfToWellmedDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager,
                                                             IMediaRepository mediaRepository, ICustomSettingManager customSettingManager, IUniqueItemRepository <CorporateAccount> corporateAccountRepository, ICustomerRepository customerRepository,
                                                             IResultPdfDownloadPollingAgentHelper resultPdfDownloadHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ISftpCridentialManager sftpCridentialManager, IZipHelper zipHelper,
                                                             IXmlSerializer <CustomerWithNoGmpiViewModel> customerWithNoGmpi, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer, IResultPdfFileHelper resultPdfFileHelper,
                                                             IEventRepository eventRepository)
        {
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _settings                   = settings;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;
            _customerRepository         = customerRepository;

            _resultPdfDownloadHelper = resultPdfDownloadHelper;
            _pgpFileEncryptionHelper = pgpFileEncryptionHelper;
            _sftpCridentialManager   = sftpCridentialManager;
            _zipHelper                 = zipHelper;
            _customerWithNoGmpi        = customerWithNoGmpi;
            _resultPdfPostedSerializer = resultPdfPostedSerializer;
            _resultPdfFileHelper       = resultPdfFileHelper;
            _eventRepository           = eventRepository;

            _logger = logManager.GetLogger("MonarchResultPdfToWellmed");

            _customSettingFile        = settings.PcpResultPdfDownloadSettings;
            _destinationFolderPdfPath = settings.MonarchWellmedPdfPath;

            _cutOfDate = settings.PcpDownloadCutOfDate;

            _accountIds = settings.MonarchAccountIds;

            _sftpCridentailPath     = settings.SftpResouceFilePath;
            _sftpPath               = settings.MonarchWelledPdfSfptPath;
            _customerWithNoGmpiPath = settings.CustomerWithNoGmpiPath;
            _sendPdfToWellmed       = settings.SendPdfToWellmed;
            _resultPostedToPlanPath = settings.ResultPostedToPlanPath;

            _stopSendingPdftoHealthPlanDate = settings.StopSendingPdftoHealthPlanDate;
        }
        public WellmedResultPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager, IMediaRepository mediaRepository, ICustomSettingManager customSettingManager,
                                                    IUniqueItemRepository <CorporateAccount> corporateAccountRepository, ICustomerRepository customerRepository, IUniqueItemRepository <Event> eventRepository, IConvertPdfToTiff convertPdfToTiff,
                                                    IResultPdfDownloadPollingAgentHelper resultPdfDownloadHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper, IHostRepository hostRepository, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer,
                                                    IResultPdfFileHelper resultPdfFileHelper, IXmlSerializer <CustomerResultsFailedOnSftp> customerResultsFailedOnSftpSerializer)
        {
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _mediaRepository                       = mediaRepository;
            _customSettingManager                  = customSettingManager;
            _corporateAccountRepository            = corporateAccountRepository;
            _customerRepository                    = customerRepository;
            _eventRepository                       = eventRepository;
            _convertPdfToTiff                      = convertPdfToTiff;
            _resultPdfDownloadHelper               = resultPdfDownloadHelper;
            _pgpFileEncryptionHelper               = pgpFileEncryptionHelper;
            _hostRepository                        = hostRepository;
            _resultPdfPostedSerializer             = resultPdfPostedSerializer;
            _resultPdfFileHelper                   = resultPdfFileHelper;
            _customerResultsFailedOnSftpSerializer = customerResultsFailedOnSftpSerializer;
            _settings = settings;

            _logger = logManager.GetLogger("WellmedResultPdf");

            _customSettingFile            = settings.WellmedResultPdfDownloadSettings;
            _destinationFolderPdfPath     = settings.WellmedResultPdfDownloadPath;
            _destinationSftpFolderPdfPath = settings.WellmedSftpResultPdfDownloadPath;
            _cutOfDate = settings.PcpDownloadCutOfDate;

            _sftpHost               = settings.WellmedSftpHost;
            _sftpUserName           = settings.WellmedSftpUserName;
            _sftpPassword           = settings.WellmedSftpPassword;
            _accountId              = settings.WellmedAccountId;
            _sendReportToSftp       = settings.SendReportToWellmedSftp;
            _resultPostedToPlanPath = settings.ResultPostedToPlanPath;

            _destinationSftpCatalystFolderPdfPath = settings.WellmedSftpResultPdfCatalystDownloadPath;
            _destinationCatalystFolderPdfPath     = settings.WellmedResultPdfCatalystDownloadPath;
            _wellmedCustomerGroupName             = settings.WellmedCustomerGroupName.Split(new char[] { ',' }).Select(t => t.ToLowerInvariant()).ToArray();
        }
        public OptumResultPdfDownloadPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, ISettings settings, ILogManager logManager,
                                                  IMediaRepository mediaRepository, ICustomSettingManager customSettingManager, ICorporateAccountRepository corporateAccountRepository,
                                                  IResultPdfDownloadPollingAgentHelper resultPdfDownloadHelper, IPgpFileEncryptionHelper pgpFileEncryptionHelper,
                                                  ICustomerRepository customerRepository, IResultPdfFileHelper resultPdfFileHelper, IXmlSerializer <ResultPdfPostedXml> resultPdfPostedSerializer, IEventRepository eventRepository,
                                                  IPrimaryCarePhysicianRepository primaryCarePhysicianRepository, IXmlSerializer <CustomerWithNoGmpiViewModel> customerWithNoMrn)
        {
            _eventCustomerResultRepository = eventCustomerResultRepository;
            _settings                   = settings;
            _mediaRepository            = mediaRepository;
            _customSettingManager       = customSettingManager;
            _corporateAccountRepository = corporateAccountRepository;

            _resultPdfDownloadHelper        = resultPdfDownloadHelper;
            _pgpFileEncryptionHelper        = pgpFileEncryptionHelper;
            _customerRepository             = customerRepository;
            _resultPdfFileHelper            = resultPdfFileHelper;
            _resultPdfPostedSerializer      = resultPdfPostedSerializer;
            _eventRepository                = eventRepository;
            _primaryCarePhysicianRepository = primaryCarePhysicianRepository;
            _customerWithNoMrn              = customerWithNoMrn;

            _logger = logManager.GetLogger("Optum Result Pdf");

            _customSettingFile           = settings.PcpResultPdfDownloadSettings;
            _destinationFolderPdfSetting = settings.OptumResultPdfDownloadPath;
            _customerWithNoMrnPath       = settings.CustomerWithNoMrnPath;
            _accountIds = settings.OptumResultPdfDownloadAccountIds;
            _cutOfDate  = settings.PcpDownloadCutOfDate;

            _monarchAccountIds      = settings.MonarchAccountIds;
            _customSettingFile      = settings.PcpResultPdfDownloadSettings;
            _resultPostedToPlanPath = settings.ResultPostedToPlanPath;

            _optumAccountIds = settings.OptumAccountIds;

            _stopSendingPdftoHealthPlanDate = settings.StopSendingPdftoHealthPlanDate;
        }