private GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request) { using (var context = new DataAccessContext()) { var entries = context.GetStudyStoreQuery().GetImageEntries(request.Criteria); var criteria = (request.Criteria ?? new ImageEntry()).Image ?? new ImageIdentifier(); AuditHelper.LogQueryIssued(null, null, EventSource.CurrentUser, EventResult.Success, SopClass.StudyRootQueryRetrieveInformationModelFindUid, criteria.ToDicomAttributeCollection()); return new GetImageEntriesResult { ImageEntries = entries }; } }
private GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request) { using (var context = new DataAccessContext()) { var entries = context.GetStudyStoreQuery().GetImageEntries(request.Criteria); var criteria = (request.Criteria ?? new ImageEntry()).Image ?? new ImageIdentifier(); AuditHelper.LogQueryIssued(null, null, EventSource.CurrentUser, EventResult.Success, SopClass.StudyRootQueryRetrieveInformationModelFindUid, criteria.ToDicomAttributeCollection()); return(new GetImageEntriesResult { ImageEntries = entries }); } }
public GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request) { Platform.CheckForNullReference(request, "request"); if (request.Criteria == null) request.Criteria = new ImageEntry(); if (request.Criteria.Image == null) request.Criteria.Image = new ImageIdentifier(); return new GetImageEntriesResult { ImageEntries = _studyRootQuery.ImageQuery(request.Criteria.Image) .Select(identifier => new ImageEntry { Image = identifier }).ToList() }; }
public GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request) { throw new NotImplementedException(); }
public abstract GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request);
GetImageEntriesResult IStudyStoreQuery.GetImageEntries(GetImageEntriesRequest request) { return ServiceProxyHelper.Call(GetImageEntries, request); }
GetImageEntriesResult IStudyStoreQuery.GetImageEntries(GetImageEntriesRequest request) { return(ServiceProxyHelper.Call(GetImageEntries, request)); }