public PcpResultExportService(ILogManager logManager, ISettings settings, ICorporateAccountRepository corporateAccountRepository, ICustomSettingManager customSettingManager,
                                      IPgpFileEncryptionHelper pgpFileEncryptionHelper, ISftpCridentialManager sftpCridentialManager, ICsvReader csvReader)
        {
            _logger   = logManager.GetLogger("PcpResultExport");
            _settings = settings;
            _corporateAccountRepository = corporateAccountRepository;
            _customSettingManager       = customSettingManager;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;
            _sftpCridentialManager      = sftpCridentialManager;

            _resultExportSettings = settings.PcpResultReportDownloadSettings;
            _physicianPartnerResultExportDownloadPath = settings.PcpResultReportDownloadPath;
            _accountIds = settings.PcpResultReportDownloadAccountIds;
            _cutOfDate  = settings.PcpDownloadCutOfDate;

            _pcpResultExportServiceHelper = new PcpResultExportServiceHelper(_logger, settings, csvReader);

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

            _bcbsMnAccountId = settings.BcbsMnAccountId;
            //_bcbsMnSftpHost = settings.BcbsMnSftpHost;
            //_bcbsMnSftpUserName = settings.BcbsMnSftpUserName;
            //_bcbsMnSftpPassword = settings.BcbsMnSftpPassword;
            //_sendReportToBcbsMn = settings.SendReportToBcbsMn;
            _bcbsSftpFolderPath = settings.BcbsMnSftpResultReportDownloadPath;
        }
Example #2
0
        public WellmedResultExportService(ILogManager logManager, ISettings settings, IUniqueItemRepository <CorporateAccount> corporateAccountRepository,
                                          ICustomSettingManager customSettingManager, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICsvReader csvReader)
        {
            _logger   = logManager.GetLogger("WellmedResultExport");
            _settings = settings;
            _corporateAccountRepository = corporateAccountRepository;
            _customSettingManager       = customSettingManager;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;

            _resultExportSettings                  = settings.WellmedResultReportDownloadSettings;
            _wellmedResultExportDownloadPath       = settings.WellmedResultReportDownloadPath;
            _destinationSftpFolderResultExportPath = settings.WellmedSftpResultReportDownloadPath;

            _cutOfDate = settings.PcpDownloadCutOfDate;
            //_pcpResultExportFactory = new WellmedResultExportFactory(_logger);

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

            _pcpResultExportServiceHelper = new PcpResultExportServiceHelper(_logger, settings, csvReader);

            _accountIds = settings.WellmedReportAccountIds;
        }
Example #3
0
        public OptumResultExportService(ILogManager logManager, ISettings settings, ICorporateAccountRepository corporateAccountRepository,
                                        ICustomSettingManager customSettingManager, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICsvReader csvReader)
        {
            _logger = logManager.GetLogger("Optum Result Export");
            _corporateAccountRepository = corporateAccountRepository;
            _customSettingManager       = customSettingManager;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;

            _resultExportSettings = settings.PcpResultReportDownloadSettings;

            _optumeResultExportDownloadPath = settings.OptumResultReportDownloadPath;

            _accountIds      = settings.OptumResultReportDownloadAccountIds;
            _cutOfDate       = settings.PcpDownloadCutOfDate;
            _optumAccountIds = settings.OptumAccountIds;

            _optumNVSettingAccountIds = settings.OptumNVSettingAccountIds;

            _pcpResultExportServiceHelper = new PcpResultExportServiceHelper(_logger, settings, csvReader);

            _accumulativeResultExportsPath = settings.CumulativeResultExportsPath;
            _incrementalResultExportsPath  = settings.IncrementalResultExportsPath;
            _optumnvAccountId = settings.OptumNvAccountId;

            _stopSendingPdftoHealthPlanDate = settings.StopSendingPdftoHealthPlanDate;
        }
        public AnthemResultExportService(ILogManager logManager, ISettings settings, IUniqueItemRepository <CorporateAccount> corporateAccountRepository,
                                         ICustomSettingManager customSettingManager, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICorporateTagRepository corporateTagRepository, ICsvReader csvReader)
        {
            _logger   = logManager.GetLogger("AnthemResultExportService");
            _settings = settings;
            _corporateAccountRepository = corporateAccountRepository;
            _customSettingManager       = customSettingManager;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;
            _corporateTagRepository     = corporateTagRepository;
            _resultExportSettings       = settings.PcpResultReportDownloadSettings;

            _customTags = settings.AnthemCustomTags;

            _pcpResultExportServiceHelper = new PcpResultExportServiceHelper(_logger, settings, csvReader);

            _accumulativeResultExportsPath = settings.CumulativeResultExportsPath;
            _incrementalResultExportsPath  = settings.IncrementalResultExportsPath;
            _anthemAccountId = _settings.AnthemAccountId;
        }
        public MolinaResultExportService(ILogManager logManager, ISettings settings, IUniqueItemRepository <CorporateAccount> corporateAccountRepository,
                                         ICustomSettingManager customSettingManager, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICsvReader csvReader)
        {
            _logger = logManager.GetLogger("MolinaResultExport");
            _corporateAccountRepository = corporateAccountRepository;
            _customSettingManager       = customSettingManager;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;


            _resultExportSettings           = settings.MolinaResultReportDownloadSettings;
            _molinaResultExportDownloadPath = settings.MolinaResultReportDownloadPath;

            _cutOfDate = settings.PcpDownloadCutOfDate;

            _accountId = settings.MolinaAccountId;

            _pcpResultExportServiceHelper = new PcpResultExportServiceHelper(_logger, settings, csvReader);

            _stopSendingPdftoHealthPlanDate = settings.StopSendingPdftoHealthPlanDate;
        }
        public BcbsMiResultExportService(ILogManager logManager, ISettings settings, IUniqueItemRepository <CorporateAccount> corporateAccountRepository,
                                         ICustomSettingManager customSettingManager, IPgpFileEncryptionHelper pgpFileEncryptionHelper, ICsvReader csvReader)
        {
            _logger = logManager.GetLogger("BcbsMiResultExport");
            _corporateAccountRepository = corporateAccountRepository;
            _customSettingManager       = customSettingManager;
            _pgpFileEncryptionHelper    = pgpFileEncryptionHelper;
            _csvReader = csvReader;

            _resultExportSettings = settings.PcpResultReportDownloadSettings;

            _bcbsmiResultExportDownloadPath = settings.BcbsMiResultReportDownloadPath;
            _accountId = settings.BcbsMiAccountId;

            _bcbsMiGapPatinetTags             = settings.BcbsMiGapPatinetTags;
            _bcbsMiGapResultExportIntervalDay = settings.BcbsMiGapResultExportIntervalDay;

            _pcpResultExportServiceHelper = new PcpResultExportServiceHelper(_logger, settings, csvReader);

            _accumulativeResultExportsPath = settings.CumulativeResultExportsPath;
            _incrementalResultExportsPath  = settings.IncrementalResultExportsPath;

            _stopSendingPdftoHealthPlanDate = settings.StopSendingPdftoHealthPlanDate;
        }