Example #1
0
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IHtsClientTestsLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IHtsClientTestsSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(HtsClientTests)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
 public ExtractHtsClientTestsHandler(IHtsClientTestsSourceExtractor patientSourceExtractor, IHtsExtractValidator extractValidator, IHtsClientTestsLoader patientLoader, IClearHtsExtracts clearDwhExtracts, ITempHtsClientTestsExtractRepository tempPatientExtractRepository, IExtractHistoryRepository extractHistoryRepository)
 {
     _patientSourceExtractor       = patientSourceExtractor;
     _extractValidator             = extractValidator;
     _patientLoader                = patientLoader;
     _clearDwhExtracts             = clearDwhExtracts;
     _tempPatientExtractRepository = tempPatientExtractRepository;
     _extractHistoryRepository     = extractHistoryRepository;
 }