public string[] getAnnotationOfAnnotationInfo(AIMQueryParameters queryParameters)
 {
     _queryParameters = queryParameters;
     string[] results = null;
     var result = getAnnotationOfAnnotationCQLInfo();
     if (result != null && result.Items != null && result.Items.Length > 0)
         results = processCQLObjectResult(result);
     return results;
 }
 protected AIMQueryParameters(AIMQueryParameters src)
 {
     _aeCodeValue              = src.AECodeValue;
     _aeCodeMeaning            = src.AECodeMeaning;
     _aeCodingSchemeDesignator = src.AECodingSchemeDesignator;
     _aeCodingSchemeVersion    = src.AECodingSchemeVersion;
     _aeConfidence             = src.AEConfidence;
     _imCodeValue              = src.IMCodeValue;
     _imCodeMeaning            = src.IMCodeMeaning;
     _imCodingSchemeDesignator = src.IMCodingSchemeDesignator;
     _imCodingSchemeVersion    = src.IMCodingSchemeVersion;
     _imConfidence             = src.IMConfidence;
     _imComment        = src.IMComment;
     _studyInstanceUID = src.StudyInstanceUID;
 }
 protected AIMQueryParameters(AIMQueryParameters src)
 {
     _aeCodeValue = src.AECodeValue;
     _aeCodeMeaning = src.AECodeMeaning;
     _aeCodingSchemeDesignator = src.AECodingSchemeDesignator;
     _aeCodingSchemeVersion = src.AECodingSchemeVersion;
     _aeConfidence = src.AEConfidence;
     _imCodeValue = src.IMCodeValue;
     _imCodeMeaning = src.IMCodeMeaning;
     _imCodingSchemeDesignator = src.IMCodingSchemeDesignator;
     _imCodingSchemeVersion = src.IMCodingSchemeVersion;
     _imConfidence = src.IMConfidence;
     _imComment = src.IMComment;
     _studyInstanceUID = src.StudyInstanceUID;
 }
 public List<aim_dotnet.Annotation> getAnnotationOfAnnotationInfoList(AIMQueryParameters queryParameters)
 {
     var annoStr = getAnnotationOfAnnotationInfo(queryParameters);
     if (annoStr == null)
         return null;
     var annotations = new List<aim_dotnet.Annotation>();
     var xmlModel = new aim_dotnet.XmlModel();
     foreach (var str in annoStr)
     {
         var annoAnnotation = xmlModel.ReadAnnotationFromXmlString(str) as aim_dotnet.AnnotationOfAnnotation;
         if (annoAnnotation != null)
             annotations.Add(annoAnnotation);
     }
     return annotations;
 }
        protected AIMQueryParameters(AIMQueryParameters queryParameters)
        {
            foreach (AimAnatomicEntityQueryData aeQueryData in queryParameters.AeQueryParameters)
            {
                AeQueryParameters.Add(new AimAnatomicEntityQueryData(aeQueryData));
            }

            foreach (AimImagingObservationQueryData imQueryData in queryParameters.ImQueryParameters)
            {
                ImQueryParameters.Add(new AimImagingObservationQueryData(imQueryData));
            }

            foreach (QueryData queryData in queryParameters.StudyInstanceUidParameters)
            {
                StudyInstanceUidParameters.Add(new QueryData(queryData));
            }

            foreach (QueryData queryData in queryParameters.UserParameters)
            {
                UserParameters.Add(new QueryData(queryData));
            }

            _annotationType = queryParameters._annotationType;
        }
        protected AIMQueryParameters(AIMQueryParameters queryParameters)
        {
            foreach (AimAnatomicEntityQueryData aeQueryData in queryParameters.AeQueryParameters)
                AeQueryParameters.Add(new AimAnatomicEntityQueryData(aeQueryData));

            foreach (AimImagingObservationQueryData imQueryData in queryParameters.ImQueryParameters)
                ImQueryParameters.Add(new AimImagingObservationQueryData(imQueryData));

            foreach (QueryData queryData in queryParameters.StudyInstanceUidParameters)
                StudyInstanceUidParameters.Add(new QueryData(queryData));

            foreach (QueryData queryData in queryParameters.UserParameters)
                UserParameters.Add(new QueryData(queryData));

            _annotationType = queryParameters._annotationType;
        }
 public AIMSearchCommand(AIMQueryParameters queryParameters)
 {
     _aimQueryParameters = queryParameters;
 }