This COM interface is defined and implemented by HL7Connect for use by other applications.

Encapsulates a single logical HL7Message.

To read an existing message, create an HL7Message and then decode a source message.

To create a reply, create an HL7Message, and then use BuildAsReply.

To create a new message, create a message, set it's version, and then add the segments that you require and populate them with values. When finished, call Encode


Properties

Segment[ACode : String; i : Integer] : IHL7Segment
Element[sCode : String] : IHL7CommonDataCell (Default)
SegmentByIndex[AIndex : Integer] : IHL7Segment
Encoding : String
Version : String
Event : String
MessageType : String
StructName : String
MsgID : String
Structure : IHL7DictMessageStruct
SegmentCount : Integer
Source : String
FieldDelimiter : String
ComponentDelimiter : String
SubComponentDelimiter : String
RepeatDelimiter : String
EscapeDelimiter : String

Methods

AddMSHForBuild
AddSegment(ACode : String) : IHL7Segment
BuildAsReply(AMsg : IHL7Message, AUseSequenceNum : Boolean, ASequenceNum : Integer)
ChangeVersion(ANewVersion : String, ADeleteInvalidContent : Boolean)
Clear
Clone : IHL7Message
CloneSegment(ASegment : IHL7Segment)
CountSegment(ACode : String) : Integer
Decode(APacket : String, AVersionOverride : String, ASegmentLimit : Integer, sFormat : String, ASuppressErrors : Boolean)
DecodeOptions(APacket : String, options : String)
DeleteSegment(ASegment : IHL7Segment)
DropSegments(ACode : String)
Encode(sFormat : String, sOptions : String) : String
ForceElement(sCode : String)
InsertSegment(AIndex : Integer, ACode : String) : IHL7Segment
SegmentQuery(query : String) : List(IHL7Segment)
SetExceptionMessage(AMsg : String, AMakeReject : Boolean)
StripEmptyRepeats(ALeading : Boolean)
UpdateSource

© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: IHL7Message, THL7Message