Exemple #1
0
        /// <summary>
        /// Performs an IMAGE level query.
        /// </summary>
        /// <exception cref="FaultException{DataValidationFault}">Thrown when some part of the data in the request is poorly formatted.</exception>
        /// <exception cref="FaultException{QueryFailedFault}">Thrown when the query fails.</exception>
        public IList <ImageIdentifier> ImageQuery(ImageIdentifier queryCriteria)
        {
            IList <ImageIdentifier> results = _client.ImageQuery(queryCriteria);

            if (_imageComparer != null)
            {
                results = CollectionUtils.Sort(results, _imageComparer.Compare);
            }

            return(results);
        }
Exemple #2
0
        /// <summary>
        /// Performs an IMAGE query for the given Study and Series Instance Uid.
        /// </summary>
        public IList <ImageIdentifier> ImageQuery(string studyInstanceUid, string seriesInstanceUid)
        {
            Platform.CheckForEmptyString(studyInstanceUid, "studyInstanceUid");
            Platform.CheckForEmptyString(seriesInstanceUid, "seriesInstanceUid");

            ImageIdentifier criteria = new ImageIdentifier();

            criteria.StudyInstanceUid  = studyInstanceUid;
            criteria.SeriesInstanceUid = seriesInstanceUid;
            return(ImageQuery(criteria));
        }
 /// <summary>
 /// Performs an IMAGE level query.
 /// </summary>
 /// <exception cref="FaultException{DataValidationFault}">Thrown when some part of the data in the request is poorly formatted.</exception>
 /// <exception cref="FaultException{QueryFailedFault}">Thrown when the query fails.</exception>
 public IList <ImageIdentifier> ImageQuery(ImageIdentifier queryCriteria)
 {
     return(base.Channel.ImageQuery(queryCriteria));
 }
 public IList <ImageIdentifier> ImageQuery(ImageIdentifier queryCriteria)
 {
     return(Query <ImageIdentifier, StudyRootFindScu>(queryCriteria));
 }