Example #1
0
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IPatientBaselinesLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IPatientBaselinesSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs("PatientBaselineExtract"));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
 public ExtractPatientBaselinesHandler(IPatientBaselinesSourceExtractor patientBaselinesSourceExtractor, IExtractValidator extractValidator, IPatientBaselinesLoader patientBaselinesLoader, IClearDwhExtracts clearDwhExtracts)
 {
     _patientBaselinesSourceExtractor = patientBaselinesSourceExtractor;
     _extractValidator       = extractValidator;
     _patientBaselinesLoader = patientBaselinesLoader;
     _clearDwhExtracts       = clearDwhExtracts;
 }
Example #3
0
 public ExtractPatientBaselinesHandler(IPatientBaselinesSourceExtractor patientBaselinesSourceExtractor, IExtractValidator extractValidator, IPatientBaselinesLoader patientBaselinesLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository)
 {
     _patientBaselinesSourceExtractor = patientBaselinesSourceExtractor;
     _extractValidator         = extractValidator;
     _patientBaselinesLoader   = patientBaselinesLoader;
     _clearDwhExtracts         = clearDwhExtracts;
     _extractHistoryRepository = extractHistoryRepository;
 }
 public void SetUp()
 {
     _extractor = TestInitializer.ServiceProvider.GetService <IPatientBaselinesSourceExtractor>();
 }