LEADTOOLS Medical (Leadtools.Medical.Storage.DataAccessLayer assembly)

QueryCompositeInstancesAsync Method (StorageDbDataAccessAgent)

Show in webframe





A Leadtools.Medical.DataAccessLayer.MatchingParameterCollection which includes the matching parameters for the query.
Type: Leadtools.Medical.DataAccessLayer.QueryPageInfo Specifies the page number and page size that will result from the executing the query.
Asychronously performs a query to find the composite instance information with the specified matching parameters.
Syntax
public virtual bool QueryCompositeInstancesAsync( 
   MatchingParameterCollection matchingEntitiesCollection,
   QueryPageInfo queryPageInfo
)
'Declaration
 
Public Overridable Function QueryCompositeInstancesAsync( _
   ByVal matchingEntitiesCollection As MatchingParameterCollection, _
   ByVal queryPageInfo As QueryPageInfo _
) As Boolean
'Usage
 
Dim instance As StorageDbDataAccessAgent
Dim matchingEntitiesCollection As MatchingParameterCollection
Dim queryPageInfo As QueryPageInfo
Dim value As Boolean
 
value = instance.QueryCompositeInstancesAsync(matchingEntitiesCollection, queryPageInfo)

            

            
public:
virtual bool QueryCompositeInstancesAsync( 
   MatchingParameterCollection^ matchingEntitiesCollection,
   QueryPageInfo^ queryPageInfo
) 

Parameters

matchingEntitiesCollection
A Leadtools.Medical.DataAccessLayer.MatchingParameterCollection which includes the matching parameters for the query.
queryPageInfo
Type: Leadtools.Medical.DataAccessLayer.QueryPageInfo Specifies the page number and page size that will result from the executing the query.

Return Value

true if query is successfully being peformed, false if the query was already being executed
Remarks

This is an asynchronous version of QueryCompositeInstances that can optionally paginate the results (via Leadtools.Medical.DataAccessLayer.QueryPageInfo. The QueryCompositeInstancesStarting event will be fired immediately upon a successful call to QueryCompositeInstancesAsync. When completed, the QueryCompositeInstancesCompletedis fired. To cancel execution, call the CancelQueryCompositeInstancesAsync method.

The matchingEntitiesCollection can be from any level and they are not limited to the Composite instance level. Which means you can query for Composite instance using the Patient ID in the patient level or study Instance UID in the study level.

This method will include all the information for the patient, study and series and Composite instance levels.

For more information about the tables returned for the patient level see the QueryPatients method.

For more information about the tables returned for the study level see the QueryStudies method.

For more information about the tables returned for the series level see the QuerySeries method.

The following tables in the CompositeInstanceDataSet will contain the Composite instance information: CompositeInstanceDataSet.Instance, CompositeInstanceDataSet.ImageInstance and CompositeInstanceDataSet.ReferencedImages.

Requirements

Target Platforms

See Also

Reference

StorageDbDataAccessAgent Class
StorageDbDataAccessAgent Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Medical.Storage.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features