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
- Response
- The response received from the repository
- SourceAudit
- False if this message is being sent by the document consumer (True if it is being logged by the repository)
Return Value
The number of audit repositories to which the message was successfully sent