XdsObjects Help file
XdsObjects Namespace / PixQuery Class / GetID Method / GetID(XdsDomain,String,XdsPatient) Method
The XdsDomain object holding configuration information
The Root ID being requested
The "known" patient



GetID(XdsDomain,String,XdsPatient) Method
Get the ID for a patient in a different domain by doing a PIX query if necessary
Syntax
Public Overloads Shared Function GetID( _
   ByVal Domain As XdsDomain, _
   ByVal WantedRoot As String, _
   ByVal CurrentInfo As XdsPatient _
) As String
Dim Domain As XdsDomain
Dim WantedRoot As String
Dim CurrentInfo As XdsPatient
Dim value As String
 
value = PixQuery.GetID(Domain, WantedRoot, CurrentInfo)

Parameters

Domain
The XdsDomain object holding configuration information
WantedRoot
The Root ID being requested
CurrentInfo
The "known" patient

Return Value

The new ID (in full form)
Remarks

If the current root is the same as the Wanted root, the method returns immediately returning the current ID, withoug doing an external PIX query

If the current and wanted roots are not the same, then the cache is checked to see if the required data is already available, and if so, then the result is returned immediately from the cache

If neither of the above applies, then a PIX query is performed, the result of which is cached and returned

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also