Leadtools.Medical.Storage.DataAccessLayer Namespace > IStorageDataAccessAgent Interface : QueryCompositeInstancesAsync Method |
bool QueryCompositeInstancesAsync( MatchingParameterCollection matchingEntitiesCollection, QueryPageInfo queryPageInfo )
'Declaration Function QueryCompositeInstancesAsync( _ ByVal matchingEntitiesCollection As MatchingParameterCollection, _ ByVal queryPageInfo As QueryPageInfo _ ) As Boolean
'Usage Dim instance As IStorageDataAccessAgent Dim matchingEntitiesCollection As MatchingParameterCollection Dim queryPageInfo As QueryPageInfo Dim value As Boolean value = instance.QueryCompositeInstancesAsync(matchingEntitiesCollection, queryPageInfo)
bool QueryCompositeInstancesAsync( MatchingParameterCollection^ matchingEntitiesCollection, QueryPageInfo^ queryPageInfo )
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.