Example #1
0
        public SearchRemoteStudiesResult SearchRemoteStudies([System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] SearchRemoteStudiesRequest request)
        {
            object[] results = this.Invoke("SearchRemoteStudies", new object[] {
                request
            });

            return((SearchRemoteStudiesResult)(results[0]));
        }
Example #2
0
 /// <remarks/>
 public void SearchRemoteStudiesAsync(SearchRemoteStudiesRequest request, object userState)
 {
     if ((this.SearchRemoteStudiesOperationCompleted == null))
     {
         this.SearchRemoteStudiesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchRemoteStudiesOperationCompleted);
     }
     this.InvokeAsync("SearchRemoteStudies", new object[] {
         request
     }, this.SearchRemoteStudiesOperationCompleted, userState);
 }
Example #3
0
 /// <remarks/>
 public void SearchRemoteStudiesAsync(SearchRemoteStudiesRequest request, object userState) {
     if ((this.SearchRemoteStudiesOperationCompleted == null)) {
         this.SearchRemoteStudiesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchRemoteStudiesOperationCompleted);
     }
     this.InvokeAsync("SearchRemoteStudies", new object[] {
                 request}, this.SearchRemoteStudiesOperationCompleted, userState);
 }
Example #4
0
 /// <remarks/>
 public void SearchRemoteStudiesAsync(SearchRemoteStudiesRequest request) {
     this.SearchRemoteStudiesAsync(request, null);
 }
Example #5
0
 /// <remarks/>
 public void SearchRemoteStudiesAsync(SearchRemoteStudiesRequest request)
 {
     this.SearchRemoteStudiesAsync(request, null);
 }
Example #6
0
		private void OnDicomExplorerExecuteQuery(object sender, EventArgs e)
		{
			using (DicomExplorerAutomationClient client = new DicomExplorerAutomationClient())
			{
				try
				{
					if (_dicomExplorerQueryLocal.Checked)
					{
						SearchLocalStudiesRequest request = new SearchLocalStudiesRequest();
						request.SearchCriteria = new DicomExplorerSearchCriteria();
						request.SearchCriteria.PatientId = _patientId.Text;
						request.SearchCriteria.AccessionNumber = _accession.Text;
						client.SearchLocalStudies(request);
					}
					else
					{
						SearchRemoteStudiesRequest request = new SearchRemoteStudiesRequest();
						request.SearchCriteria = new DicomExplorerSearchCriteria();
						request.SearchCriteria.PatientId = _patientId.Text;
						request.SearchCriteria.AccessionNumber = _accession.Text;
						request.AETitle = _dicomExplorerRemoteAE.Text;
						client.SearchRemoteStudies(request);
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show(ex.Message);
				}
			}
		}