TruncateEmptyFields

Top  Previous  Next

New in version 2.x of Commando

EasyHL7 Object

EHL7.EHL7Message

Property

TruncateEmptyFields

Access

Read/Write

Description

oMSG.TruncateEmptyFields = False

 

Returns or sets the value of the TruncateEmptyFields property (True or False).

 

If True (the default) the message will not place empty fields at the end of HL7 messages

 

Example of an IN2 segment:

 

oMSG.TruncateEmptyFields = False

 

IN2||234166342|0009999^UNKNOWN||I|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

 

oMSG.TruncateEmptyFields = True

 

IN2||234166342|0009999^UNKNOWN||I|

 

For further information, please see the EasyHL7 documentation http://www.hermetechnz.com/Documentation/EasyHL7/index.html.