コード例 #1
0
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IDepressionScreeningLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IDepressionScreeningSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(DepressionScreeningExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
コード例 #2
0
 public ExtractDepressionScreeningHandler(IDepressionScreeningSourceExtractor DepressionScreeningSourceExtractor, IExtractValidator extractValidator, IDepressionScreeningLoader DepressionScreeningLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository)
 {
     _DepressionScreeningSourceExtractor = DepressionScreeningSourceExtractor;
     _extractValidator          = extractValidator;
     _DepressionScreeningLoader = DepressionScreeningLoader;
     _clearDwhExtracts          = clearDwhExtracts;
     _extractHistoryRepository  = extractHistoryRepository;
 }