Leadtools.Medical.Storage.DataAccessLayer Namespace > IStorageDataAccessAgent Interface : QueryPatients Method |
'Declaration Function QueryPatients( _ ByVal matchingEntitiesCollection As MatchingParameterCollection _ ) As CompositeInstanceDataSet
'Usage Dim instance As IStorageDataAccessAgent Dim matchingEntitiesCollection As MatchingParameterCollection Dim value As CompositeInstanceDataSet value = instance.QueryPatients(matchingEntitiesCollection)
The matchingEntitiesCollection can be from any level and they are not limited to the patient level.
Which means you can query for patients using the Study Instance UID in the study level or modalities in the series level.
The following tables in the CompositeInstanceDataSet will contain the patient's information: CompositeInstanceDataSet.Patient, CompositeInstanceDataSet.OtherPatientIDs, CompositeInstanceDataSet.OtherPatientNames and CompositeInstanceDataSet.ReferencedPatientSequence.