TruncateEmptyFields |
Top Previous Next |
Object: EHL7.HL7File FileName: EHL7.dll
PROPERTY
Name: TruncateEmptyFields DataType: Boolean (Default False) Mode: Read/Write Description: Set/Returns the boolean property TruncateEmptyFields. If True then HL7Segments will be 'truncated' when created down to the last pertinent field. I.E. Trailing empty fields in each segment will be removed). This property only affects 'native' HL7 and does not alter the EasyHL7 XML format in any way. It will be effected when retrieving the HL7 property OR calling the HL7XMLToString() method of the EHL7Message object.
By default when EasyHL7 objects create HL7 message data each segment is created with ALL of the fields defined in the vendor definition OR (when reading HL7 data) with ALL of the fields in the SOURCE HL7 whichever is GREATER.
See Also: TruncateEmptyFields property of the EHL7Message object.
Example HL7 Segment:
With TruncateEmptyFields = False:
MSH|^~\&|RRM|RRM|LOGICIAN|LOGICIAN|20060727082642||ORU|AE32E486D1FF5742BFC6C9F9A71E19A9||2.3|1|||||||
With TruncateEmptyFields = True:
MSH|^~\&|RRM|RRM|LOGICIAN|LOGICIAN|20060727082642||ORU|AE32E486D1FF5742BFC6C9F9A71E19A9||2.3|1|
|