Esempio n. 1
0
        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 };
            }
        }
Esempio n. 2
0
        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
                });
            }
        }
Esempio n. 3
0
        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();
 }
Esempio n. 5
0
 public abstract GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request);
Esempio n. 6
0
 GetImageEntriesResult IStudyStoreQuery.GetImageEntries(GetImageEntriesRequest request)
 {
     return ServiceProxyHelper.Call(GetImageEntries, request);
 }
Esempio n. 7
0
 GetImageEntriesResult IStudyStoreQuery.GetImageEntries(GetImageEntriesRequest request)
 {
     return(ServiceProxyHelper.Call(GetImageEntries, request));
 }
 public GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request)
 {
     throw new NotImplementedException();
 }