XdsObjects Help file
XdsObjects Namespace / XdsAudit Class / RegistryStoredQuery Method
The XDS domain, including a list of the audit repositories to be used
The name of the source system
The repository address
ID of the patient
The query which has been sent
The response received from the repository
Indicate if the the Audit message is generated by Document Consumer



In This Topic
    RegistryStoredQuery Method (XdsAudit)
    In This Topic
    Log that an XDS-b RegistryStoredQuery transaction has been performed
    Syntax
    Public Shared Function RegistryStoredQuery( _
       ByVal Domain As XdsDomain, _
       ByVal Source As String, _
       ByVal DestinationURI As WebServiceEndpoint, _
       ByVal PatientID As String, _
       ByVal Query As XdsQueryRequest, _
       ByVal Response As XdsQueryResponse, _
       ByVal consumer As Boolean _
    ) As Integer
    Dim Domain As XdsDomain
    Dim Source As String
    Dim DestinationURI As WebServiceEndpoint
    Dim PatientID As String
    Dim Query As XdsQueryRequest
    Dim Response As XdsQueryResponse
    Dim consumer As Boolean
    Dim value As Integer
     
    value = XdsAudit.RegistryStoredQuery(Domain, Source, DestinationURI, PatientID, Query, Response, consumer)

    Parameters

    Domain
    The XDS domain, including a list of the audit repositories to be used
    Source
    The name of the source system
    DestinationURI
    The repository address
    PatientID
    ID of the patient
    Query
    The query which has been sent
    Response
    The response received from the repository
    consumer
    Indicate if the the Audit message is generated by Document Consumer

    Return Value

    The number of audit repositories to which the message was successfully sent
    Remarks

    For UDP repositories, there is no confirmation that the message was successfully received

    Ensure that the Domain is fully set up before making this call.

    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