Compare commits

..

No commits in common. "61780a3fe8a9ae45f9d07caeadc2f3417873d6f5" and "cec6174bb672105c35a39d413bfa3018338a6d05" have entirely different histories.

3 changed files with 4 additions and 9 deletions

View File

@ -365,8 +365,6 @@ namespace IRaCIS.Core.Application.Contracts.DTO
public Guid StudyId { get; set; } public Guid StudyId { get; set; }
public Guid SubjectVisitId { get; set; }
public int StudyStatus { get; set; } public int StudyStatus { get; set; }
public string StudyCode { get; set; } = string.Empty; public string StudyCode { get; set; } = string.Empty;

View File

@ -216,7 +216,7 @@ namespace IRaCIS.Application.Services
var query = _readingClinicalDataRepository.AsQueryable(); var query = _readingClinicalDataRepository.AsQueryable();
if (inDto.StudyId != null) if (inDto.StudyId != null)
{ {
query = query.Where(x => x.StudyId == inDto.StudyId.Value && x.ReadingId == inDto.SubjectVisitId); query = query.Where(x => x.StudyId == inDto.StudyId.Value && x.TrialId == inDto.TrialId && x.SubjectId == inDto.SubjectId);
} }
else else
{ {

View File

@ -172,14 +172,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
{ {
public Guid SubjectVisitId { get; set; } public Guid SubjectVisitId { get; set; }
public Guid TrialId { get; set; } public Guid TrialId { get; set; }
//public Guid TrialId { get; set; } public Guid SubjectId { get; set; }
public Guid SubjectId { get; set; } public bool IsBaseline { get; set; }
public bool IsBaseline { get; set; }
public Guid? StudyId { get; set; } public Guid? StudyId { get; set; }