Пример #1
0
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IHtsClientTracingLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IHtsClientTracingSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(HtsClientTracing)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
 public ExtractHtsClientTracingHandler(IHtsClientTracingSourceExtractor patientSourceExtractor, IHtsExtractValidator extractValidator, IHtsClientTracingLoader patientLoader, IClearHtsExtracts clearDwhExtracts, ITempHtsClientTracingExtractRepository tempPatientExtractRepository, IExtractHistoryRepository extractHistoryRepository)
 {
     _patientSourceExtractor       = patientSourceExtractor;
     _extractValidator             = extractValidator;
     _patientLoader                = patientLoader;
     _clearDwhExtracts             = clearDwhExtracts;
     _tempPatientExtractRepository = tempPatientExtractRepository;
     _extractHistoryRepository     = extractHistoryRepository;
 }