OutboundFormat |
Top Previous Next |
Object: EHL7.EHL7Processor FileName: EHL7.dll
PROPERTY
Name: OutboundFormat DataType: Enumerator: EHL7OutputFormat Mode: Read/Write Description: Return/Set the format that the processor should translate HL7 messages into. The values are HL7 or XML.
*Note: the question has been frequently asked "Why would I translate from HL7 into HL7?". The answer is simple; when the HL7File object processes an inbound HL7 file it 'scrubs' it. So all HL7 messages exported are formatted exactly the same way, that is to say exactly according to HL7 guidelines. There are no vendor specific 'Start of message' or 'End of message' characters. The segments are all delimited by a single carriage return (ASCII Character 13 or HEX [0D]).
Example: Dim x As New EHL7.EHL7Processor x.IniFileName = "C:\EasyHL7\Profile1.ini" If Not x.OpenProfile() Then Msgbox x.LastError Set x = Nothing Exit Sub End If
x.OutboundFormat = OutputXML
See Also: PollingInterval, MessageIN event
|