public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IPatientStatusLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IPatientStatusSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(PatientStatusExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
Exemple #2
0
 public ExtractPatientStatusHandler(IPatientStatusSourceExtractor patientStatusSourceExtractor, IExtractValidator extractValidator, IPatientStatusLoader patientStatusLoader, IClearDwhExtracts clearDwhExtracts)
 {
     _patientStatusSourceExtractor = patientStatusSourceExtractor;
     _extractValidator             = extractValidator;
     _patientStatusLoader          = patientStatusLoader;
     _clearDwhExtracts             = clearDwhExtracts;
 }
Exemple #3
0
 public ExtractPatientStatusHandler(IPatientStatusSourceExtractor patientStatusSourceExtractor, IExtractValidator extractValidator, IPatientStatusLoader patientStatusLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository)
 {
     _patientStatusSourceExtractor = patientStatusSourceExtractor;
     _extractValidator             = extractValidator;
     _patientStatusLoader          = patientStatusLoader;
     _clearDwhExtracts             = clearDwhExtracts;
     _extractHistoryRepository     = extractHistoryRepository;
 }
Exemple #4
0
 public void SetUp()
 {
     _extractor = TestInitializer.ServiceProvider.GetService <IPatientStatusSourceExtractor>();
 }