←Select platform

FindStudies Method

Summary

Queries for the DICOM studies information using matching parameters.

Syntax

C#
VB
C++
public DataSet FindStudies( 
   string patientName, 
   string patientID, 
   string studyID, 
   string[] modalitiesInStudy, 
   string accessionNumber, 
   string referDrName, 
   string studyDateStart, 
   string studyDateEnd, 
   string studyTimeStart, 
   string studyTimeEnd, 
   string studyInstanceUID, 
   string sortField, 
   bool ascending, 
   int maxRows, 
   string extraData 
) 
  
Public Function FindStudies( _ 
   ByVal patientName As String, _ 
   ByVal patientID As String, _ 
   ByVal studyID As String, _ 
   ByVal modalitiesInStudy() As String, _ 
   ByVal accessionNumber As String, _ 
   ByVal referDrName As String, _ 
   ByVal studyDateStart As String, _ 
   ByVal studyDateEnd As String, _ 
   ByVal studyTimeStart As String, _ 
   ByVal studyTimeEnd As String, _ 
   ByVal studyInstanceUID As String, _ 
   ByVal sortField As String, _ 
   ByVal ascending As Boolean, _ 
   ByVal maxRows As Integer, _ 
   ByVal extraData As String _ 
) As DataSet 
public: 
DataSet^ FindStudies(  
   String^ patientName, 
   String^ patientID, 
   String^ studyID, 
   array<String^>^ modalitiesInStudy, 
   String^ accessionNumber, 
   String^ referDrName, 
   String^ studyDateStart, 
   String^ studyDateEnd, 
   String^ studyTimeStart, 
   String^ studyTimeEnd, 
   String^ studyInstanceUID, 
   String^ sortField, 
   bool ascending, 
   int maxRows, 
   String^ extraData 
)  

Parameters

patientName
A System.String representing the patient name to match for. This parameter can be null.

patientID
A System.String representing the patient ID to match for. This parameter can be null.

studyID
A System.String representing the study ID to match for. This parameter can be null.

modalitiesInStudy
An array of strings that specify the modalities to match for. This parameter can be null.

accessionNumber
A System.String representing the accession number to match for. This parameter can be null.

referDrName
A System.String representing the Reference DR. Name to match for. This parameter can be null.

studyDateStart
A System.String representing the start date of the study to match. This parameter can be null.

studyDateEnd
A System.String representing the end date of the study to match. This parameter can be null.

studyTimeStart
A System.String representing the start time of the study to match. This parameter can be null.

studyTimeEnd
A System.String representing the end time of the study to math. This parameter can be null.

studyInstanceUID
A System.String representing the Study Instance UID of the study to match. This parameter can be null.

sortField
A System.String representing the field to perform sorting based on its values. This parameter can be null.

ascending
true to sort the returned results ascending, false to sort descending. This parameter can be null.

maxRows
An System.Int32 value specifying the number of rows returned. Pass -1 or null to return all results.

extraData
user custom data.

Return Value

An ADO.NET System.Data.DataSet which contains the studies information.

Remarks

The default plug-in implementation will return a System.Data.DataSet with one ADO.NET System.Data.DataTable table and the following System.Data.DataColumn :

Column Name

Data Type

Required for Medical Web Viewer Demo

PatientID nvarchar (64) True
PatientName nvarchar (64) False
PatientBirthDate datetime False
PatientSex nvarchar (16) False
StudyInstanceUID nvarchar (64) True
StudyDate datetime False
StudyDesc nvarchar (64) False
AccessionNumber nvarchar (16) False
ReferDrName nvarchar (64) False
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.WCF Assembly