IRC_NewDev
parent
4b92874ca6
commit
0cf5a88d63
|
@ -12,6 +12,7 @@ using IRaCIS.Core.Infra.EFCore.Common;
|
|||
using MassTransit;
|
||||
using IRaCIS.Core.Application.Service.Reading.Dto;
|
||||
using IRaCIS.Application.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace IRaCIS.Core.Application.Services
|
||||
{
|
||||
|
@ -23,7 +24,6 @@ namespace IRaCIS.Core.Application.Services
|
|||
private readonly IRepository<ReadingClinicalData> _readingClinicalDataRepository;
|
||||
private readonly IRepository<ReadModule> _readModuleRepository;
|
||||
private readonly IRepository<Trial> _trialRepository;
|
||||
private readonly IReadingImageTaskService _ireadingImageTaskService;
|
||||
private readonly IRepository<ReadingPeriodSet> _readingPeriodSetRepository;
|
||||
private readonly IRepository<NoneDicomStudy> _noneDicomStudyRepository;
|
||||
private readonly IRepository<DicomInstance> _dicomInstanceRepository;
|
||||
|
@ -32,8 +32,8 @@ namespace IRaCIS.Core.Application.Services
|
|||
private readonly IRepository<NoneDicomStudyFile> _noneDicomStudyFileRepository;
|
||||
private readonly IRepository<ReadingPeriodPlan> _readingPeriodPlanRepository;
|
||||
private readonly IRepository<Subject> _subjectRepository;
|
||||
|
||||
private readonly IRepository<ReadingQuestionCriterionTrial> _trialReadingCriterionRepository;
|
||||
private readonly IServiceProvider iServiceProvider;
|
||||
private readonly IRepository<ReadingQuestionCriterionTrial> _trialReadingCriterionRepository;
|
||||
private readonly IRepository<SubjectCriteriaEvaluationVisitStudyFilter> _subjectCriteriaEvaluationVisitStudyFilterRepository;
|
||||
|
||||
public SubjectVisitService(IRepository<SubjectVisit> subjectVisitRepository,
|
||||
|
@ -41,7 +41,7 @@ namespace IRaCIS.Core.Application.Services
|
|||
IRepository<ReadingClinicalData> readingClinicalDataRepository,
|
||||
IRepository<ReadModule> readModuleRepository,
|
||||
IRepository<Trial> trialRepository,
|
||||
IReadingImageTaskService ireadingImageTaskService,
|
||||
IServiceProvider IServiceProvider,
|
||||
IRepository<ReadingPeriodSet> readingPeriodSetRepository,
|
||||
IRepository<NoneDicomStudy> noneDicomStudyRepository,
|
||||
IRepository<DicomInstance> dicomInstanceRepository,
|
||||
|
@ -50,17 +50,18 @@ namespace IRaCIS.Core.Application.Services
|
|||
IRepository<NoneDicomStudyFile> noneDicomStudyFileRepository,
|
||||
IRepository<ReadingPeriodPlan> readingPeriodPlanRepository,
|
||||
IRepository<Subject> subjectRepository,
|
||||
IRepository<ReadingQuestionCriterionTrial> trialReadingCriterionRepository,
|
||||
|
||||
IRepository<ReadingQuestionCriterionTrial> trialReadingCriterionRepository,
|
||||
IRepository<SubjectCriteriaEvaluationVisitStudyFilter> subjectCriteriaEvaluationVisitStudyFilterRepository
|
||||
|
||||
)
|
||||
{
|
||||
_subjectVisitRepository = subjectVisitRepository;
|
||||
this.iServiceProvider = IServiceProvider;
|
||||
_subjectVisitRepository = subjectVisitRepository;
|
||||
this._clinicalDataTrialSetRepository = clinicalDataTrialSetRepository;
|
||||
this._readingClinicalDataRepository = readingClinicalDataRepository;
|
||||
this._readModuleRepository = readModuleRepository;
|
||||
this._trialRepository = trialRepository;
|
||||
this._ireadingImageTaskService = ireadingImageTaskService;
|
||||
this._readingPeriodSetRepository = readingPeriodSetRepository;
|
||||
this._noneDicomStudyRepository = noneDicomStudyRepository;
|
||||
this._dicomInstanceRepository = dicomInstanceRepository;
|
||||
|
@ -336,7 +337,7 @@ namespace IRaCIS.Core.Application.Services
|
|||
|
||||
|
||||
|
||||
var pastResultList= await this._ireadingImageTaskService.GetReadingPastResultList(new GetReadingPastResultListInDto()
|
||||
var pastResultList= await this.iServiceProvider.GetService<IReadingImageTaskService>().GetReadingPastResultList(new GetReadingPastResultListInDto()
|
||||
{
|
||||
VisitTaskId = inDto.VisitTaskId
|
||||
}) ;
|
||||
|
|
Loading…
Reference in New Issue