AnalyzeHL7File()

Top  Previous  Next

Object: EHL7.HL7FileAnalyzer

FileName: EHL7.dll

 

METHOD

 

Name: AnalyzeHL7File()

Parameters: strFileName (String) the full path/file name of the HL7 file to analyze.

Returns: EHFA_ErrorType

Description: When called it will analyze the contents of an HL7 data file and map the locations of all HL7 messages within the file. On return, the messages can be accessed via the GetHL7Message() and GetMessagePointer() methods. Also, see the FileMessageCount, HL7FileSize and MaxMessages property for further info.

 

Programming Note: The HL7 data file is held OPEN with a Write Lock until either the CloseHL7File() method is called or the object is destroyed.