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; }
public ExtractPatientStatusHandler(IPatientStatusSourceExtractor patientStatusSourceExtractor, IExtractValidator extractValidator, IPatientStatusLoader patientStatusLoader, IClearDwhExtracts clearDwhExtracts) { _patientStatusSourceExtractor = patientStatusSourceExtractor; _extractValidator = extractValidator; _patientStatusLoader = patientStatusLoader; _clearDwhExtracts = clearDwhExtracts; }
public ExtractPatientStatusHandler(IPatientStatusSourceExtractor patientStatusSourceExtractor, IExtractValidator extractValidator, IPatientStatusLoader patientStatusLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository) { _patientStatusSourceExtractor = patientStatusSourceExtractor; _extractValidator = extractValidator; _patientStatusLoader = patientStatusLoader; _clearDwhExtracts = clearDwhExtracts; _extractHistoryRepository = extractHistoryRepository; }
public void SetUp() { _extractor = TestInitializer.ServiceProvider.GetService <IPatientStatusSourceExtractor>(); }