AnalysisCompleted |
EVENT - AnalysisCompleted Parent Object - HL7FolderProcessor Name: AnalysisCompleted Parameters: 1. oFileAnalyzer (Object - HL7FileAnalyzer)
Description: Occurs when the processor object has finished successfully analyzing an HL7 data file in the MessageFolder. Use the oFileAnalyzer parameter to access all of the HL7 messages in the file.
Example Event Handling Code:
Dim oHL7 As EasyHL7MC40.EasyHL7Message Dim Idx As Long
With oFileAnalyzer For Idx = 1 To .FileMessageCount oHL7 = .GetHL7MessageObject(Idx) 'oHL7 is now an EasyHL7Message object 'Use it to do whatever you like, including SAVING the 'individual message to another folder. Msgbox("Message " & Idx & " contains " & oHL7.SegmentCount() & " segments") Next End With
See Also: HL7FileAnalyzer, EasyHL7Message
|